Research
Academic papers, new techniques, benchmarks, and theoretical findings in AI/LLM security.
Academic papers, new techniques, benchmarks, and theoretical findings in AI/LLM security.
832 items
CoRTeC releases synthetic tabular data under differential privacy by spending the privacy budget once on a small file of noisy counts, which anyone can decode into synthetic rows at no further privacy cost. A maximum-entropy decoder works without a language model, and at epsilon = 2 it trains classifiers to within 0.02 AUC of a real sample of the same size on the Adult dataset. The strongest membership attack stays far below the bound the budget allows.
Researchers built CASE-Bench, a benchmark of 145 repository-level tasks drawn from real CVEs across 51 projects, to test how repository context affects the security of LLM-generated code. Across 13 context construction methods and six LLMs, functionality-oriented context raised the functional pass rate by up to 8.2 pp but the secure pass rate by at most 3.7 pp. Withholding a safeguard lowered the secure pass rate by up to 8.1 pp, and coding agents observed the relevant safeguard in only 27-36% of trajectories.
This study evaluates twelve configurations of local open-weight language models on ten CyberGym vulnerability-reproduction tasks, three runs each under one harness. Every configuration, down to the 4B model, solves most of the six easier tasks, while the remaining four separate the configurations and the 27B model is required for the harder ones. Quantization left the solved set unchanged in every matched pair but changed speed, and the mixture-of-experts model reached the same scores in less wall-clock time.
This research shows that serving methods which run fewer experts per token in Mixture-of-Experts language models can weaken refusal of harmful requests. Under a jailbreak, harmful compliance rose by 18.4 points on Qwen1.5-MoE, 9.5 on OLMoE and 6.6 on DeepSeek-V2-Lite. The authors introduce SafeStart, which runs all experts for the prompt and the first eight generated tokens, and keeps at least 85% of the offline decode speedup at batch sizes 8 and 32.
Fix: SafeStart runs all experts for the prompt and the first eight generated tokens, and the reduced set of experts afterwards, through a fused kernel in vLLM.
Arxiv (cs.CR + cs.CL + cs.LG)KVGuard is a memory-safety checker for the KV cache in LLM serving systems, which use PagedAttention to map requests onto fixed-size physical blocks through a CPU-built block table. It performs five safety checks across the PagedAttention workflow, using compact per-block shadow metadata, and catches the boundary where a violation is introduced. A prototype on vLLM and SGLang covers all 29 historical KV cache safety bugs from the two systems' patch histories, finds 8 previously unknown violations with no false positives, adds 3.0% and 7.4% geomean TPOT overhead on Qwen 2.5 14B, and uses at most 0.11% of KV cache memory.
Baya is a web agent that compiles a user's request into a Python program calling a Trusted Website API before touching the live site, so the planning model never sees untrusted page content. Untrusted data can set values or pick among branches fixed at compile time, but cannot redefine the task or add new operations. On 581 valid WebArena Verified tasks it reaches 77.8% aggregate utility, versus 55.1% for browser-only ReAct and 66.7% for API-enabled ReAct, and it achieves 0% attack success rate on WASP compared with 16.2% and 25.5% for the ReAct baselines.
CORDE is a system for confidential virtual machines that confines user-derived data by default and allows it to leave only after it is declared. A declaration records the exact contents, recipient and stated reason in a tamper-evident log that users can access. The authors combine per-user information-flow control in Rust with a TEE-based ledger and remote attestation. On an NVIDIA H100 GPU, declaring before disclosure adds about 0.5% task latency on the AppWorld agent benchmark.
Researchers measured how widely used text extractors for LLM applications read Office Open XML (OOXML) parts differently from what Office applications display. They identified 19 channels where extractors read content hidden from humans and 12 where they drop visible content, then built five attacks that mislead four chat assistants and four coding agents without injected instructions. They also propose Prism, a defense that reconstructs the human view from the OOXML specification before the text reaches the model.
Fix: Prism, a lightweight defense that reconstructs the human view from the OOXML specification before passing the text to the model. The source states that Prism also generalizes to unseen attack payloads.
Arxiv (cs.CR + cs.CL + cs.LG)Researchers present the first systematic study of temporal privacy risk in continually updated deep learning models. They introduce TMIA, a black-box temporal membership inference attack that uses bidirectional LSTMs over model outputs from successive updates to infer whether and when individual samples were used in training. TMIA significantly outperforms existing baselines across three language models and three image classification models.
This paper studies how to suppress misaligned behaviors in language models and how durable that suppression is. The authors build two model organisms, one with a narrow trigger and one with a broad trigger, and compare SFT, GRPO and gradient-ascent unlearning on immediate suppression, durability under further training, and general capability. They introduce PEARL, a GRPO variant that augments rollouts with continuations from intermediate states along cached organism trajectories, which achieves strong suppression while preserving task accuracy across Qwen3-4B and GPT-OSS-20B.
Foundation-model visual place recognition models such as SuperVLAD and BoQ fall to under 0.2% top-1 recall under a white-box ranking attack at a 1/255 budget. The authors propose anchored rank-adversarial fine-tuning (ARAFT), which tunes a released model with a listwise rank loss and an anchor to the frozen model's clean descriptors. ARAFT raises robust R@1 to 47.3 on SuperVLAD and 55.3 on BoQ within a fixed clean-accuracy budget, where plain adversarial training yields no admissible checkpoint.
Fix: ARAFT: fine-tune a released VPR model with a listwise rank loss on each adversarial query's hardest positive, plus an anchor to the clean descriptor of the frozen pretrained model, selecting checkpoints under a…
Arxiv (cs.RO + cs.CV security)Foundation-model visual place recognition models such as SuperVLAD and BoQ keep at most 0.2% top-1 recall under a white-box ranking attack at a 1/255 budget. The proposed anchored rank-adversarial fine-tuning (ARAFT) raises robust R@1 from zero to 47.3 on SuperVLAD and 55.3 on BoQ within five clean R@1 points, where plain adversarial training yields no admissible checkpoint. ARAFT also transfers from SuperVLAD to BoQ without re-tuning and holds against stronger optimisers.
This paper examines privacy evaluation of de-identified text, where a language model adversary guesses a protected attribute. The authors propose a prior-normalised clipped leakage score and show that rankings of text editors depend on the evaluation interface, including the queried person, answer options, prior, adversary model and scoring rule. In a stress test, an opposite-sex-writing editor misleads the adversary about most people yet ranks first under this score, while a relabelling-invariant AUC reading ranks it sixth of eight.
TraceRouter++ is a safety intervention framework for large foundation models that traces causal routing pathways activated by harmful inputs and realigns their unsafe activations. It locates a sensitive onset layer via attention divergence, maps sparse autoencoder features to downstream circuits through feature influence scores, and applies a constrained optimal transport soft realignment. The authors report improved adversarial robustness across LLMs, MLLMs and diffusion models with a favorable safety-utility trade-off over evaluated baselines.
TraceRouter++ is a routing-level safety framework for large foundation models that traces causal routing pathways activated by harmful inputs and realigns their unsafe activation states. It uses sparse autoencoders, feature influence scores, and a constrained optimal transport soft realignment instead of rigid neuron suppression. The authors report improved adversarial robustness and a favorable safety-utility trade-off across LLMs, MLLMs, and diffusion models.
Existing prompt extraction attacks degrade on recent LLM services, whose system prompts are longer and more structured and whose raw outputs are often hidden behind post-processing. The authors propose ExtraHerO, which decomposes extraction into a hierarchical reconstruction guided by a structural prompt template and iteratively updates adversarial queries, with early stopping based on information gain. Across chatbots and agents, it reports average improvements of 12.5% (fidelity), 2.3% (functionality), and 6.0% (adversarial utility) on chatbots, and 12.2%, 34.3%, and 30.5% on agents.
This paper studies parameter poisoning in LLM agents, where an indirect prompt injection keeps the intended action but manipulates a tool argument such as a recipient. The authors propose AuthorityFlow, a three-stage defense that builds a task-specific trust hierarchy from the user query, traces each argument to its supporting information field, and flags low-trust influence. On their FactAuthBench evaluation, attack success falls from 93.06% to 9.03%, with 82.64% benign task utility retained versus 90.28% without defense.
Fix: AuthorityFlow: a three-stage parameter-level defense that constructs a task-specific trust hierarchy over information fields, traces each tool argument to its supporting field, and accepts a value only when that field…
Arxiv (cs.CR + cs.CL + cs.LG)Researchers present a taxonomy of nine dimensions along which prompt injection attacks differ, covering the injected instruction, its relation to the user's task, and how it appears in the target system. Applied to six real-world vulnerabilities and nine benchmarks, the taxonomy shows most benchmarks cover only a small region of the space, and 13% of pairwise category combinations remain untested. The authors also show it can support automated benchmark annotation and targeted test generation.
VeriSpoof is an audio language model that unifies five forensic tasks with shared weights: deepfake detection, generator attribution, recording-condition analysis, synthesized-span localisation, and source verification. On 14 Speech-DF-Arena test sets, VeriSpoof-Plus reaches 2.14% pooled EER, ranking third of 28 systems and first among open-weight systems, while VeriSpoof-Base reaches 4.43% EER. The authors release both models, inference code, a demo, and the VeriSpoof-Bench evaluation suite.
Perseus is a free, open-source Python library for encrypted model inference using Fully Homomorphic Encryption, covering the cryptographic backend, data packing, encrypted nonlinearities and end-to-end model execution. It adds optimizations at each level, including in-kernel regeneration of key-switching keys, a variant of Cachemir packing, and a bootstrap placer. It stays within 3% of plaintext accuracy and perplexity and is 3.96x faster at single-token decoding on Llama-3-8B than any other implementation.