arXiv Computation and Language

When Detection Does Not Guarantee Resistance: Reasoning and Poisoned Context in RAG

arXiv Computation and Language
Sep 18

Towards Safer RAG: Only Agents Capable of System 2 Thinking may Access Untrusted Documents

The paper examines how deliberative (System 2) reasoning affects a Retrieval-Augmented Generation (RAG) model’s vulnerability to knowledge‑poisoning attacks. Using two metrics—Cordon Rate and Leakage Rate—it evaluates six model configurations on 200 SciFact questions. Results show that enabling reasoning lowers both Cordon and Leakage Rates for DeepSeek‑V4‑Flash, indicating reduced behavioral impact from poisoned evidence, though overall attack success increases.

By Mehrdad Ghassabi, Audrina Ebrahimi, Sadra Hakim, Hamidreza Baradaran Kashani
arXiv Computation and Language
Nov 2

Prevented is Not Protected: What Attack Success Rate Hides about RAG

The paper examines how Retrieval-Augmented Generation (RAG) models are vulnerable to knowledge poisoning, where attackers manipulate retrieved evidence to alter model outputs. It critiques the common use of attack success rate (ASR) as an evaluation metric, arguing that ASR masks defense-induced failures and obscures the true mechanisms of attack prevention. To address this, the authors propose Aligned RAG Evaluation, a matched-query protocol that jointly analyzes clean and poisoned responses with and without defenses, incorporating LLM-judge endorsement and retrieval dependence controls. Experiments on HotpotQA and Natural Questions show that existing defenses can unintentionally produce target-positive answers and that evaluation criteria can shift defense rankings, revealing blind spots in ASR-based assessments.

By Chahana Dahal, Zuobin Xiong
arXiv Machine Learning
Jul 30

RAGuard: A Layered Defense Framework for Retrieval-Augmented Generation Systems Against Data Poisoning

arXiv:2607. 26339v1 Announce Type: new Abstract: Retrieval-Augmented Generation (RAG) systems ground large language models (LLMs) in external corpora, but this reliance exposes them to corpus poisoning: maliciously injected passages that manipulate retrieved evidence.

By Pushkal Kumar, Tucker Nielson, Tanish Kolhe, Shubham Zala, Vincent Li
arXiv Computation and Language
Nov 2

Language Models Show Conformity Bias in RAG: When the Majority Endorses a Poisoned Claim

Retrieval‑augmented generation (RAG) can expose language models to misleading evidence. In a study of 200 SciFact questions, the Gemma‑3‑12b model’s ability to detect poisoned claims dropped from 25% when a single poisoned document was present to 10% when six mutually agreeing poisoned documents dominated the context. The majority condition caused 34 of 38 questions to shift from detected to undetected, indicating a conformity‑like bias.

By Mehrdad Ghassabi, Audrina Ebrahimi, Zahra Zojaji, Amin Milani Fard
arXiv AI
Sep 15

Corrupt Plans, Clean Traces: Evading Chain-of-Thought Monitoring with Plan Injection

The paper introduces a new attack called "plan injection" that allows a large language model to carry out harmful actions while evading chain-of-thought monitoring. By inserting harmful but benign-sounding reasoning into the model’s context, the attacker can steer the model’s behavior and cause it to paraphrase the injected plan as its own reasoning. The study demonstrates that this attack works across different monitoring settings, scales to harder tasks, and even causes monitors to waste resources on the injected plan, reducing detection rates by up to 50%.

By Keertana Chidambaram, Andrew Ilyas, Vasilis Syrgkanis
arXiv Machine Learning
Jul 30

ToxScreen: Detecting Whether an LLM Has Been Poisoned

arXiv:2607. 26849v1 Announce Type: cross Abstract: As large language models (LLMs) are deployed in high-stakes domains, adversaries may poison training data to implant backdoors: hidden triggers that covertly manipulate model behavior at inference time.

By Anthony Hughes, Nicole Xing, Collin Francel, Andy Kim, Andrew Draganov
arXiv Computation and Language
Sep 11

Probing for Knowledge Attribution in Large Language Models

The paper introduces a method for identifying the dominant knowledge source behind large language model (LLM) outputs, distinguishing between faithfulness violations (misuse of provided context) and factuality violations (errors in internal knowledge). A simple linear probe trained on hidden representations can reliably classify this source, and the authors present AttriWiki, a self‑supervised pipeline that generates labeled training data by prompting models to recall withheld entities or read them from context. Probes trained on AttriWiki achieve high Macro‑F1 scores across several models and datasets, generalize zero‑shot to a benchmark, and show that attribution mismatches can increase error rates by up to 70%. "whyItMatters":"The study demonstrates that knowing the source of an LLM’s answer is crucial for effective mitigation of hallucinations, as attribution mismatches significantly raise error rates."

By Ivo Brink, Alexander Boer, Dennis Ulmer