RAG poisoning causes 'attention collapse', fooling confidence detectors

rohanpaul_ai · x · 2026-08-31

A paper reveals that retrieval poisoning in RAG systems can not only alter outputs but also increase model confidence in incorrect answers, rendering uncertainty-based detectors ineffective. This phenomenon is termed 'Attention Collapse': under attack, the model's attention concentrates heavily on poisoned documents rather than spreading across retrieved evidence.

Key Findings:

Defense Recommendation:

Relying solely on final answer checks or confidence scores is insufficient. Monitoring how attention is distributed across retrieved documents could expose poisoning before the output visibly fails.

Paper: When Context Bites: Detecting RAG Poisoning via Document-Level Attention Collapse (arXiv:2608.06947)

Original post →

More from Safety

Safety channel →