RAG悖论:一种利用检索增强生成系统中无意漏洞的黑盒攻击
The RAG Paradox: A Black-Box Attack Exploiting Unintentional Vulnerabilities in Retrieval-Augmented Generation Systems
AI总结:
针对现有RAG攻击多依赖内部访问权限的问题,提出基于RAG悖论的黑盒攻击,利用系统的来源透明度制作兼具可检索性与可信度的投毒文档,实验证明其无需内部权限即可显著降低系统性能。
摘要:
随着检索增强生成(RAG)系统的应用日益广泛,已有多种攻击方法被提出以降低其性能。然而,现有大多数方法都基于不切实际的假设,即外部攻击者能够访问检索器等内部组件。为解决这一问题,我们提出了一种基于RAG悖论的真实黑盒攻击,RAG悖论是一种结构性漏洞,源于系统为提升可信度而向用户同时展示检索到的文档及其来源的设计。这种透明度使攻击者能够观察到哪些来源被使用、信息是如何表述的,从而让他们能够制作更有可能被检索到的投毒文档,并将其上传到已识别的来源中。此外,由于RAG系统会直接向用户提供检索到的内容,这些文档不仅要能被检索到,还必须看起来自然可信,以维持用户对搜索结果的信任。与以往仅专注于提升文档可检索性的研究不同,我们的攻击方法同时明确考虑了可检索性和用户对检索内容的信任度。离线和在线实验均表明,我们的方法在无需内部访问权限的情况下,能够显著降低系统性能,同时生成看起来自然的投毒文档。
英文摘要:
With the growing adoption of retrieval-augmented generation (RAG) systems, various attack methods have been proposed to degrade their performance. However, most existing approaches rely on unrealistic assumptions in which external attackers have access to internal components such as the retriever. To address this issue, we introduce a realistic black-box attack based on the RAG paradox, a structural vulnerability arising from the system's effort to enhance trust by revealing both the retrieved documents and their sources to users. This transparency enables attackers to observe which sources are used and how information is phrased, allowing them to craft poisoned documents that are more likely to be retrieved and upload them to the identified sources. Moreover, as RAG systems directly provide retrieved content to users, these documents must not only be retrievable but also appear natural and credible to maintain user confidence in the search results. Unlike prior work that focuses solely on improving document retrievability, our attack method explicitly considers both retrievability and user trust in the retrieved content. Both offline and online experiments demonstrate that our method significantly degrades system performance without internal access, while generating natural-looking poisoned documents.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。