CPA-RAG:Covert Poisoning Attacks on Retrieval-Augmented Generation in Large Language Models
CPA-RAG: Скрытые атаки отравления на генерацию с дополнением извлечением в больших языковых моделях
2025-05-26
SCID: 54.1/4hufnttm
Discuss with AI
CPA-RAGblack-box adversarial frameworkcovert poisoning attackscross-guided optimizationretrieval-augmented generation
Figures from the paper
Abstract (AI)
Retrieval-Augmented Generation (RAG) enhances large language models (LLMs) by incorporating external knowledge, but its openness introduces vulnerabilities that can be exploited by poisoning attacks. Existing poisoning methods for RAG systems have limitations, such as poor generalization and lack of fluency in adversarial texts. In this paper, we propose CPA-RAG, a black-box adversarial framework that generates query-relevant texts capable of manipulating the retrieval process to induce target answers. The proposed method integrates prompt-based text generation, cross-guided optimization through multiple LLMs, and retriever-based scoring to construct high-quality adversarial samples. We conduct extensive experiments across multiple datasets and LLMs to evaluate its effectiveness. Results show that the framework achieves over 90\% attack success when the top-k retrieval setting is 5, matching white-box performance, and maintains a consistent advantage of approximately 5 percentage points across different top-k values. It also outperforms existing black-box baselines by 14.5 percentage points under various defense strategies. Furthermore, our method successfully compromises a commercial RAG system deployed on Alibaba's BaiLian platform, demonstrating its practical threat in real-world applications. These findings underscore the need for more robust and secure RAG frameworks to defend against poisoning attacks.
Key Findings
1
Across multiple datasets and LLMs, CPA-RAG achieves over 90% attack success when top-k retrieval is 5, matching white-box performance.
2
CPA-RAG combines prompt-based text generation, cross-guided optimization across multiple LLMs, and retriever-based scoring to construct high-quality adversarial samples.
3
CPA-RAG is a black-box adversarial framework that generates query-relevant texts to manipulate RAG retrieval and induce target answers.
4
CPA-RAG maintains an approximate 5 percentage point advantage in attack success across different top-k retrieval values compared to alternatives.
5
CPA-RAG outperforms existing black-box baselines by 14.5 percentage points under various defense strategies.
6
CPA-RAG successfully compromises a commercial RAG system on Alibaba's BaiLian platform, demonstrating practical real-world threat.
7
The results indicate current RAG frameworks require stronger defenses to mitigate covert poisoning attacks like CPA-RAG.
Research Object
Retrieval-Augmented Generation (RAG) systems for large language models, including their retriever and external knowledge corpus
Research Subject
Covert poisoning attacks that generate query-relevant adversarial texts to manipulate retrieval and induce target answers, and the attack effectiveness against RAG under various top-k settings and defenses
Publication Details
Publication Date
2025-05-26
Journal
Publisher
ISSN
Cited by
0
Open access PDF
Access Type
Author Information
Download PDF
Subscribe to digest