Skip to content

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

Sep 2026 · Zenodo (CERN European Organization for Nuclear Research) · 0 citations · 10 references
Computer Science

TL;DR

This study studies how much a small quantized model, Llama 3.1 8B, degrades when a fraction of its retrieved context is poisoned, and treats the strategy contrasts as suggestive until decoding is controlled and stronger adjudication is in place.

Abstract

Retrieval-augmented generation (RAG) grounds a language model in retrieved documents, which reduces hallucination but creates a new attack surface: if retrieved text is tampered with, the model may repeat the falsehood. We study how much a small quantized model, Llama 3.1 8B, degrades when a fraction of its retrieved context is poisoned. Three corruption strategies are tested, entity swap, number swap, and negation, each applied to zero, one, two, or three of the three retrieved passages, over a factorial sweep of 588 runs on a fact-checking task built from FEVER. Accuracy falls from 77.9% on clean context to 43.5% when all three passages are corrupted. Entity swap flips the largest share of answers that were correct on clean context. Number-based corruption stays flat while poisoned passages are a minority and jumps once they form a majority, a pattern we re-check with query-level bootstrap intervals. The model rarely invents new falsehoods; its dominant reaction is to abstain, and a lexical overlap proxy of unsupported generation falls under attack rather than rising. The study is a small-scale measurement with coarse automated labels; we treat the strategy contrasts as suggestive until decoding is controlled and stronger adjudication is in place.

View source

Similar papers

#natural language process... Preprint Aug 2026

TRIS: A Tri-Layer Retrieval Integrity Sieve Against Knowledge Poisoning

The Tri-Layer Sieve is presented, a middleware defense that sanitizes retrieved evidence through cross-embedding-space clustering with an independent judge model, structural filtering of trigger-payload artifacts, and LLM consistency verification, and exploits a key weakness of retrieval-stage poisoning.

Muhaimin Bin Munir, Akib Jawad Ononto, Nazia Shehnaz Joynab et al. · 0 citations
Open access Sep 2026

Cross-Lingual Indirect Prompt Injection Across Retrieval, Reranking, And Generation In Multilingual RAG

The results indicate that multilingual RAG security depends on several linked stages rather than generation alone, and indicates that multilingual RAG security depends on several linked stages rather than generation alone.

Fauzi Bondan Prihananto, Erlangga Bayu Yudho Prakoso, Aprilisa Arum Sari et al. · 0 citations

Related blog posts

GPT-Lab Nov 26, 2026

How Much Electricity Does AI Use? It Depends Mostly on What You Ask

An ordinary text question to an AI uses less electricity than many people guess, but video and thinking modes multiply consumption many times over. We put the numbers next to everyday things, from boiling water to a Finnish sauna evening, and share three tips for using AI with a smaller footprint. The post How Much Electricity Does AI Use? It Depends Mostly on What You Ask appeared first on GPT-Lab.

MIT News · Artificial Intelligence Nov 23, 2026

Many languages, one common neural code

Analyzing speakers of 21 languages, an MIT study using multilingual AI finds the human brain may represent meaning in much the same way.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.