arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2404.17196cs.CRcs.AI
收藏

基于LLM的应用中人类不可感知的检索投毒攻击

Human-Imperceptible Retrieval Poisoning Attacks in LLM-Powered Applications

Tsinghua University(清华大学);Central South University(中南大学)

Quan Zhang, Binqi Zeng, Chijin Zhou, Gwihwan Go, Heyuan Shi, Yu Jiang

AI总结:

本文提出针对基于LLM应用的检索投毒攻击,攻击者通过构造视觉上不可感知的恶意文档,在RAG过程中误导应用生成错误响应,实验证明其成功率最高达88.33%。

摘要:

目前,借助先进的LLM应用开发框架,越来越多的基于LLM的应用能够利用检索增强生成(RAG)技术,通过外部内容轻松扩充LLM的知识。然而,这些框架的设计对外部内容的风险缺乏充分考虑,从而使攻击者能够破坏基于这些框架开发的应用。本文揭示了对基于LLM的应用的一种新威胁,称为检索投毒(retrieval poisoning),攻击者可以在RAG过程中引导应用产生恶意响应。具体而言,通过对LLM应用框架的分析,攻击者能够构造出在视觉上与良性文档无法区分的文档。尽管这些文档提供了正确的信息,但一旦它们被用作RAG的参考来源,应用就会被误导,从而生成错误的响应。我们的初步实验表明,攻击者能够以88.33%的成功率误导LLM,并在实际应用中达到66.67%的成功率,证明了检索投毒的潜在影响。

英文摘要:

Presently, with the assistance of advanced LLM application development frameworks, more and more LLM-powered applications can effortlessly augment the LLMs' knowledge with external content using the retrieval augmented generation (RAG) technique. However, these frameworks' designs do not have sufficient consideration of the risk of external content, thereby allowing attackers to undermine the applications developed with these frameworks. In this paper, we reveal a new threat to LLM-powered applications, termed retrieval poisoning, where attackers can guide the application to yield malicious responses during the RAG process. Specifically, through the analysis of LLM application frameworks, attackers can craft documents visually indistinguishable from benign ones. Despite the documents providing correct information, once they are used as reference sources for RAG, the application is misled into generating incorrect responses. Our preliminary experiments indicate that attackers can mislead LLMs with an 88.33\% success rate, and achieve a 66.67\% success rate in the real-world application, demonstrating the potential impact of retrieval poisoning.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑