arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.20953cs.CRcs.CL
收藏

GASLITE 攻击检索系统:探索基于稠密嵌入的搜索中的漏洞

GASLITEing the Retrieval: Exploring Vulnerabilities in Dense Embedding-based Search

Tel Aviv University(特拉维夫大学)

Matan Ben-Tov, Mahmood Sharif

AI总结:

本文提出 GASLITE 攻击方法,在不修改模型或依赖语料库内容的情况下生成高排名对抗性段落,系统评估了稠密嵌入检索对概念特定 SEO 攻击的脆弱性,并揭示现有防御可被绕过。

摘要:

基于稠密嵌入的文本检索——通过深度学习编码从语料库中检索相关段落——已成为一种强大的方法,取得了最先进的搜索结果,并推动了检索增强生成(RAG)的普及。然而,与其他搜索方法一样,基于嵌入的检索可能容易受到搜索引擎优化(SEO)攻击,攻击者通过向语料库中引入对抗性段落来推广恶意内容。先前的工作已经表明此类 SEO 是可行的,但大多针对检索集成系统(如 RAG)展示攻击。然而,这些工作考虑了弱化的 SEO 威胁模型(例如,针对单个查询),使用基线攻击方法,并仅提供小规模检索评估,从而掩盖了我们对检索器最坏情况下行为的全面理解。本研究旨在忠实且彻底地评估检索器的鲁棒性,为揭示其易受 SEO 影响的相关因素铺平道路。为此,我们首先提出了 GASLITE 攻击方法,用于生成对抗性段落,该方法——不依赖语料库内容,也不修改模型——能够携带攻击者选择的信息,同时获得较高的检索排名,并持续优于先前的方法。其次,利用 GASLITE,我们广泛评估了检索器的鲁棒性,在多种威胁模型下测试了九个先进模型,重点关注针对特定概念(例如,一位公众人物)查询的相关攻击者。我们的发现包括:检索器在面对针对概念特定查询的 SEO 攻击时高度脆弱,即使在极低的投毒率下(例如,语料库的 ≥0.0001%)也是如此,并且能够跨不同语料库和查询分布进行泛化;单查询 SEO 已被 GASLITE 完全解决;自适应攻击表明可以绕过常见防御;[...]

英文摘要:

Dense embedding-based text retrieval$\unicode{x2013}$retrieval of relevant passages from corpora via deep learning encodings$\unicode{x2013}$has emerged as a powerful method attaining state-of-the-art search results and popularizing Retrieval Augmented Generation (RAG). Still, like other search methods, embedding-based retrieval may be susceptible to search-engine optimization (SEO) attacks, where adversaries promote malicious content by introducing adversarial passages to corpora. Prior work has shown such SEO is feasible, mostly demonstrating attacks against retrieval-integrated systems (e.g., RAG). Yet, these consider relaxed SEO threat models (e.g., targeting single queries), use baseline attack methods, and provide small-scale retrieval evaluation, thus obscuring our comprehensive understanding of retrievers' worst-case behavior. This work aims to faithfully and thoroughly assess retrievers' robustness, paving a path to uncover factors related to their susceptibility to SEO. To this end, we, first, propose the GASLITE attack for generating adversarial passages, that$\unicode{x2013}$without relying on the corpus content or modifying the model$\unicode{x2013}$carry adversary-chosen information while achieving high retrieval ranking, consistently outperforming prior approaches. Second, using GASLITE, we extensively evaluate retrievers' robustness, testing nine advanced models under varied threat models, while focusing on pertinent adversaries targeting queries on a specific concept (e.g., a public figure). Amongst our findings: retrievers are highly vulnerable to SEO against concept-specific queries, even under negligible poisoning rates (e.g., $\geq$0.0001% of the corpus), while generalizing across different corpora and query distributions; single-query SEO is completely solved by GASLITE; adaptive attacks demonstrate bypassing common defenses; [...]

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

↑