arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.01276cs.CRcs.IRcs.LG
收藏

嵌入推理攻击

Embedding Inference Attack

Université du Québec à Montréal(魁北克大学蒙特利尔分校)

Cedric Fitiavana Raelijohn, Sébastien Gambs, Jean-Francois Rajotte

AI总结:

研究黑盒信息检索系统中,攻击者仅通过观察检索文档集合即可推断嵌入模型类型的方法,并验证其在含重排序器和RAG系统中的有效性。

摘要:

嵌入模型是现代信息检索(IR)系统的关键组成部分,但它们通常隐藏在API后面。最近的研究表明,密集IR系统可能导致安全漏洞,例如嵌入反转攻击。然而,此类攻击通常要求攻击者知道嵌入模型才能实施。在本文中,我们研究黑盒设置下的IR系统,其中攻击者仅观察到检索文档的无序集合,没有排名或相似度分数。我们证明,在这种背景下,精心设计的查询允许攻击者从一组已知模型候选中识别出正在使用的嵌入模型,我们将其称为嵌入推理攻击(EIA)。我们还表明,即使系统包含重排序器作为潜在的防御机制,某些查询仍然具有区分性。我们进一步在真实的检索增强生成(RAG)系统上验证了我们的方法,其中精心设计的查询绕过了LLM拒绝识别为格式良好的输入的倾向。最后,我们提出并评估了其他缓解策略,例如相似度阈值。

英文摘要:

Embedding models are essential components of modern Information Retrieval (IR) systems, yet they are typically hidden behind APIs. Recent works have shown that dense IR system can lead to security vulnerabilities such as embedding inversion attacks. However, such attacks usually require that the attacker knows the embedding model for the attack to be applicable. In this paper, we study IR systems under a black-box setting in which the adversary observes only the unordered set of retrieved documents, without ranking or similarity scores. We demonstrate that in such contexts, tailored queries allow an adversary to identify which embedding model is in use from a set of known model candidate, which we coin as an embedding inference attack (EIA). We also show that certain queries remain discriminative even when the system includes a reranker as a potential defense mechanism. We further validate our method on a real Retrieval-Augmented Generation (RAG) system, in which the tailored queries bypass the LLM's tendency to reject inputs it does not recognize as well-formed questions. Finally, we propose and evaluate other mitigation strategies such as similarity thresholds.

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

↑