Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Who Taught the Lie? Responsibility Attribution for Poisoned Knowledge in Retrieval-Augmented Generation

About

Retrieval-Augmented Generation (RAG) integrates external knowledge into large language models to improve response quality. However, recent work has shown that RAG systems are highly vulnerable to poisoning attacks, where malicious texts are inserted into the knowledge database to influence model outputs. While several defenses have been proposed, they are often circumvented by more adaptive or sophisticated attacks. This paper presents RAGOrigin, a black-box responsibility attribution framework designed to identify which texts in the knowledge database are responsible for misleading or incorrect generations. Our method constructs a focused attribution scope tailored to each misgeneration event and assigns a responsibility score to each candidate text by evaluating its retrieval ranking, semantic relevance, and influence on the generated response. The system then isolates poisoned texts using an unsupervised clustering method. We evaluate RAGOrigin across seven datasets and fifteen poisoning attacks, including newly developed adaptive poisoning strategies and multi-attacker scenarios. Our approach outperforms existing baselines in identifying poisoned content and remains robust under dynamic and noisy conditions. These results suggest that RAGOrigin provides a practical and effective solution for tracing the origins of corrupted knowledge in RAG systems. Our code is available at: https://github.com/zhangbl6618/RAG-Responsibility-Attribution

Baolei Zhang, Haoran Xin, Yuxi Chen, Zhuqing Liu, Biao Yi, Tong Li, Lihai Nie, Zheli Liu, Minghong Fang• 2025

Related benchmarks

TaskDatasetResultRank
Knowledge corruption tracebackNQ
Precision99
30
Knowledge corruption tracebackMS Marco
Precision97
26
Traceback (Prompt Injection Attacks)MuSiQue
Precision (MuSiQue Traceback)99
23
Knowledge corruption tracebackHotpotQA
Precision97
16
Traceback (Prompt Injection Attacks)NarrativeQA
Precision98
13
Traceback (Prompt Injection Attacks)QMSum
Precision99
13
Payload-splitting attack detectionMuSiQue
Precision33
6
Payload-splitting attack detectionNarrativeQA
Precision32
6
Payload-splitting attack detectionQMSum
Precision (QMSum)33
6
Showing 9 of 9 rows

Other info

Follow for update