Evidence Hub

In RAG We Trust? Measuring Robustness of Retrieval-Augmented Generation Under Post-Retrieval Context Tampering

Fasolino I

2026

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

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.

Open this study Sign up free