arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.08644cs.CLcs.AI
收藏

利用指令遵循检索器进行恶意信息检索

Exploiting Instruction-Following Retrievers for Malicious Information Retrieval

McGill University(麦吉尔大学);Mila – Quebec AI Institute(米拉-魁北克人工智能研究所);CIFAR AI Chair(加拿大高级研究所人工智能主席职位)

Parishad BehnamGhader, Nicholas Meade, Siva Reddy

AI总结:

本文实证研究指令遵循检索器的安全风险,发现多数检索器能为超过50%的恶意查询选出有害段落,且即使安全对齐的LLM在获得有害检索内容后也会满足恶意请求,揭示了检索能力增强带来的滥用风险。

摘要:

指令遵循检索器已在现实应用中与大型语言模型(LLM)一起被广泛采用,但很少有工作研究其日益增强的搜索能力所带来的安全风险。我们实证研究了检索器在直接使用以及在基于检索增强生成(retrieval augmented generation)的设置中使用时满足恶意查询的能力。具体而言,我们调查了六种领先的检索器,包括 NV-Embed 和 LLM2Vec,并发现面对恶意请求时,大多数检索器能够(对于超过 50% 的查询)选择相关的有害段落。例如,LLM2Vec 为我们 61.35% 的恶意查询正确选择了段落。我们进一步揭示了指令遵循检索器的一个新兴风险,即通过利用其指令遵循能力,可以浮现出高度相关的有害信息。最后,我们表明即使是经过安全对齐的大型语言模型(如 Llama3),在上下文中提供有害的检索段落时,也会满足恶意请求。总之,我们的发现强调了检索器能力增强所带来的恶意滥用风险。

英文摘要:

Instruction-following retrievers have been widely adopted alongside LLMs in real-world applications, but little work has investigated the safety risks surrounding their increasing search capabilities. We empirically study the ability of retrievers to satisfy malicious queries, both when used directly and when used in a retrieval augmented generation-based setup. Concretely, we investigate six leading retrievers, including NV-Embed and LLM2Vec, and find that given malicious requests, most retrievers can (for >50% of queries) select relevant harmful passages. For example, LLM2Vec correctly selects passages for 61.35% of our malicious queries. We further uncover an emerging risk with instruction-following retrievers, where highly relevant harmful information can be surfaced by exploiting their instruction-following capabilities. Finally, we show that even safety-aligned LLMs, such as Llama3, can satisfy malicious requests when provided with harmful retrieved passages in-context. In summary, our findings underscore the malicious misuse risks associated with increasing retriever capability.

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

↑