In RAG We Trust? Measuring Robustness of Retrieval-Augmented Generation Under Post-Retrieval Context Tampering
Abstract
Retrieval-augmented generation grounds a language model in retrieved documents, and that grounding is also an attack surface: an adversary who edits retrieved text, without touching the model or the retriever, can feed the model fluent falsehoods. We measure this on a 4-bit Llama 3.1 8B system with a MiniLM retriever over FEVER evidence. This version replaces the measurement rather than reinterpreting it. The earlier sweep contained an off-by-one that made a zero-corruption cell impossible, so the row published as a clean baseline carried one corrupted passage; a seeded re-run of 1,911 generations supplies a real control, logs how many passages each corruption rule actually modified, and adds closed-book and irrelevant-context arms. Three results follow. Scored on corruption actually applied, the fooled rate runs 0.4%, 35.7%, 54.0% and 72.0% for zero through three corrupted passages, the zero cell being an internal control with no adoption at all. The rules do not deliver the corruption they request: asked for three passages, numeric substitution achieves it in 6% of cells, so the three rules were never comparable and we withdraw the ranking we previously published. Controls reframe the rest, since the generator is more accurate with no context (83.7%) than with clean retrieved context (77.6%), and with irrelevant context it abstains on every question rather than using knowledge it demonstrably has.
Read the paper
Related studies
- Animal models of schizophrenia
- Retrieval Augmented Visual Question Answering with Outside Knowledge
- Fine-grained Late-interaction Multi-modal Retrieval for Retrieval Augmented Visual Question Answering
- Understand What LLM Needs: Dual Preference Alignment for Retrieval-Augmented Generation
- Retrieval-Augmented Embodied Agents
- Retrieving, Rethinking and Revising: The Chain-of-Verification Can Improve Retrieval Augmented Generation
Go deeper in Evidence Hub
Evidence Hub adds a study data sheet (design, sample size, evidence level, key numbers), an AI summary and a chat grounded in the paper's text.