本文提出 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; [...]
CoT-MoTE: Exploring ConTextual Masked Auto-Encoder Pre-training with Mixture-of-Textual-Experts for Passage Retrieval
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);Kuaishou Technology(快手科技)
Exploring Classic and Neural Lexical Translation Models for Information Retrieval: Interpretability, Effectiveness, and Efficiency Benefits
Bosch Center for Artificial Intelligence(博世人工智能中心);Carnegie Mellon University(卡内基梅隆大学)
我们研究了词汇翻译模型(IBM Model 1)在英语文本检索中的实用性,特别是其端到端训练的神经变体。我们使用神经模型1作为聚合器层,应用于上下文无关或上下文化的查询/文档嵌入。这种设计神经排序系统的新方法在有效性、效率和可解释性方面都有好处。具体来说,我们表明,在基于BERT的上下文嵌入之上添加可解释的神经模型1层(1)不会降低准确性和/或效率;(2)可以克服现有BERT模型的最大序列长度限制。与上下文无关的神经模型1不如基于BERT的排名模型有效,但它可以在CPU上高效运行(无需对大型张量进行昂贵的索引时预计算或查询时操作)。使用模型1,我们在2020年底的MS MARCO文档排序排行榜上产生了最佳神经和非神经运行。
RAG Safety: Exploring Knowledge Poisoning Attacks to Retrieval-Augmented Generation
School of Computer Science and Technology,Xi'an Jiaotong University(西安交通大学计算机科学与技术学院);Department of Computer Science, The University of Manchester(曼彻斯特大学计算机科学系);School of Computer Science and Engineering, Southeast University(东南大学计算机科学与工程学院);National University of Singapore(新加坡国立大学)
The Other Side of the Coin: Exploring Fairness in Retrieval-Augmented Generation
State Key Laboratory of Cognitive Intelligence, University of Science and Technology of China(认知智能国家重点实验室,中国科学技术大学);Nanyang Technological University(南洋理工大学)
Adaptive Contrastive Decoding in Retrieval-Augmented Generation for Handling Noisy Contexts
Seoul National University(首尔大学);Ewha Womans University(梨花女子大学);NAVER Cloud(NAVER云);KAIST AI(韩国科学技术院AI学院);NAVER AI LAB(NAVER AI实验室);Hanyang University(汉阳大学)
Exploring Structural Complexity in Normative RAG with Graph-based approaches: A case study on the ETSI Standards
Department of Electrical, Computer and Biomedical Engineering, University of Pavia(帕维亚大学电气、计算机与生物医学工程系);Comitato Elettrotecnico Italiano (CEI)(意大利电工委员会(CEI))
"Glue pizza and eat rocks" -- Exploiting Vulnerabilities in Retrieval-Augmented Generative Models
Arizona State University(亚利桑那州立大学);Michigan State University(密歇根州立大学);University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校);University of Virginia(弗吉尼亚大学)
Exploring the Vulnerabilities of Federated Learning: A Deep Dive into Gradient Inversion Attacks
School of Computing and Data Science, The University of Hong Kong(计算与数据科学学院,香港大学);Department of Mathematics, The University of Hong Kong(数学系,香港大学);Thrust of Artificial Intelligence, The Hong Kong University of Science and Technology (Guangzhou)(人工智能推动学院,香港科学与技术大学(广州));Department of Electronic and Electrical Engineering, Southern University of Science and Technology(电子与电气工程系,南方科技大学);Department of Biomedical Data Science, Stanford University(生物医学数据科学系,斯坦福大学);Department of Computer Science and Engineering, University of California, Santa Cruz(计算机科学与工程系,加州大学圣克鲁兹分校);Department of Electrical and Electronic Engineering, The University of Hong Kong(电子与电气工程系,香港大学);Materials Innovation Institute for Life Sciences and Energy (MILES), HKU-SIRI(生命科学与能源材料创新研究所(MILES),HKU-SIRI)