arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2601.04093cs.CL
收藏

SearchAttack: 对知识到行动威胁下对LLM进行红队攻击

SearchAttack: Red-Teaming LLMs against Knowledge-to-Action Threats under Online Web Search

Institute of Computing Technology, CAS(计算技术研究所,中国科学院);University of Chinese Academy of Sciences(中国科学院大学);People's Public Security University of China(中国人民公安大学);University of Science and Technology of China(中国科学技术大学);Guangdong Laboratory of Artificial Intelligence and Digital Economy(广东人工智能与数字经济实验室);Tsinghua University(清华大学)

Yu Yan, Sheng Sun, Mingfeng Li, Zheming Yang, Chiwei Zhu, Fei Ma, Benfeng Xu, Min Liu, Qi Li

AI总结:

SearchAttack通过重新表述有害语义和测试奖励追逐偏差,揭示LLM在搜索增强任务中的安全漏洞。

摘要:

最近,人们遭受了LLM幻觉,并逐渐意识到LLM在开放和知识密集型任务中的可靠性差距。因此,人们越来越多地转向搜索增强型LLM来缓解这一问题。然而,LLM驱动的搜索也成为了滥用的吸引目标。一旦返回的内容直接包含针对性的、可以直接使用的有害指令或结论,就很难撤回或撤销这种暴露。为了调查LLM不安全的搜索行为问题,我们首先提出了SearchAttack用于红队攻击,这包括(1)通过密集和无害的知识重新表述有害语义,以逃避直接上下文解码,从而引发不安全的信息检索;(2)通过引导LLM合成不安全检索内容来测试LLM的奖励追逐偏差。我们还整理了一个新兴的、领域特定的非法活动基准,用于基于搜索的威胁评估,并引入了一个事实核查框架,以在离线和在线攻击设置中确定和量化危害。进行了大量的实验来对搜索增强型LLM进行红队攻击,以负责任地评估漏洞。实证上,SearchAttack在攻击这些系统上显示出很强的效果。我们还发现,没有网络搜索的LLM仍然可能因为其信息寻求的刻板行为而被引导产生有害内容。

英文摘要:

Recently, people have suffered from LLM hallucination and have become increasingly aware of the reliability gap of LLMs in open and knowledge-intensive tasks. As a result, they have increasingly turned to search-augmented LLMs to mitigate this issue. However, LLM-driven search also becomes an attractive target for misuse. Once the returned content directly contains targeted, ready-to-use harmful instructions or takeaways for users, it becomes difficult to withdraw or undo such exposure. To investigate LLMs' unsafe search behavior issues, we first propose \textbf{\textit{SearchAttack}} for red-teaming, which (1) rephrases harmful semantics via dense and benign knowledge to evade direct in-context decoding, thus eliciting unsafe information retrieval, (2) stress-tests LLMs' reward-chasing bias by steering them to synthesize unsafe retrieved content. We also curate an emergent, domain-specific illicit activity benchmark for search-based threat assessment, and introduce a fact-checking framework to ground and quantify harm in both offline and online attack settings. Extensive experiments are conducted to red-team the search-augmented LLMs for responsible vulnerability assessment. Empirically, SearchAttack demonstrates strong effectiveness in attacking these systems. We also find that LLMs without web search can still be steered into harmful content output due to their information-seeking stereotypical behaviors.

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

↑