← Lab /Security & privacy

GuardRAG cuts poisoning attack success while preserving answer quality in RAG

Security & privacy Defense · Simulation · arXiv

The claim

GuardRAG substantially reduces attack success rates without harming clean answer utility

Linghui Jiao, Kang Wei, Fushuo Huo, Ruijie Zhao, Yiyang Ni, Jingcai Guo, Yipeng Zhou, Jun Li · arXiv Paper PDF

Published as: “GuardRAG: A Post-Retrieval Defense against Poisoning Attacks in Retrieval-Augmented Generation”

So what

GuardRAG can be added to existing RAG pipelines to markedly improve resistance to coordinated poisoning without extra model training or inference cost.

The five-minute version

GuardRAG dramatically cuts attack success rates of coordinated corpus poisoning in Retrieval-Augmented Generation, achieving average ASR as low as 4% on HotpotQA, 0.8% on Natural Questions, and 8% on MS MARCO, while keeping answer accuracy above 85%. It works by expanding the retrieved candidate set, deduplicating, then clustering documents with a query-adaptive HAC threshold and pruning suspicious clusters based on relevance, size, and semantic compactness. The evidence comes from experiments on three public QA benchmarks, three dense retrievers, six LLM generators, and three poisoning attacks, compared against four prior defenses, showing consistent low ASR (<10%) and high PDFR (≥95%). However, a white-box adaptive attack still leaves 23% ASR, indicating the defense can be weakened when attackers disperse poisoned content.

What they found 3

What undercuts it the paper’s own results

Stated limits 2

What’s new here 4

Artifacts & methods 6

Topics

Retrieval-Augmented Generationcorpus poisoning attackssemantic clusteringpost-retrieval defensehierarchical agglomerative clusteringdocument filteringadversarial robustness of LLMs
← Previous Adding a few malicious Skills raises policy violations from 35% to 58% in LLM agents