CRIRLGApr 30, 2025

Traceback of Poisoning Attacks to Retrieval-Augmented Generation

arXiv:2504.21668v224 citationsh-index: 6Has CodeWWW
Originality Highly original
AI Analysis

This addresses security vulnerabilities in RAG systems for users relying on LLMs with external knowledge, though it is incremental as it builds on existing defense efforts.

The paper tackles the problem of poisoning attacks in retrieval-augmented generation (RAG) systems by introducing RAGForensics, a traceback system that identifies poisoned texts in the knowledge database, demonstrating effectiveness against state-of-the-art attacks in empirical evaluations.

Large language models (LLMs) integrated with retrieval-augmented generation (RAG) systems improve accuracy by leveraging external knowledge sources. However, recent research has revealed RAG's susceptibility to poisoning attacks, where the attacker injects poisoned texts into the knowledge database, leading to attacker-desired responses. Existing defenses, which predominantly focus on inference-time mitigation, have proven insufficient against sophisticated attacks. In this paper, we introduce RAGForensics, the first traceback system for RAG, designed to identify poisoned texts within the knowledge database that are responsible for the attacks. RAGForensics operates iteratively, first retrieving a subset of texts from the database and then utilizing a specially crafted prompt to guide an LLM in detecting potential poisoning texts. Empirical evaluations across multiple datasets demonstrate the effectiveness of RAGForensics against state-of-the-art poisoning attacks. This work pioneers the traceback of poisoned texts in RAG systems, providing a practical and promising defense mechanism to enhance their security. Our code is available at: https://github.com/zhangbl6618/RAG-Responsibility-Attribution

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes