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

能否通过编辑LLM注入危害?

Can Editing LLMs Inject Harm?

Northwestern University(西北大学)
Canyu Chen, Baixiang Huang, Zekun Li, Zhaorun Chen, Shiyang Lai, Xiongxiao Xu, Jia-Chen Gu, Jindong Gu, Huaxiu Yao, Chaowei Xiao, Xifeng Yan, William Yang Wang,… 展开作者

Canyu Chen, Baixiang Huang, Zekun Li, Zhaorun Chen, Shiyang Lai, Xiongxiao Xu, Jia-Chen Gu, Jindong Gu, Huaxiu Yao, Chaowei Xiao, Xifeng Yan, William Yang Wang, Philip Torr, Dawn Song, Kai Shu

AI总结:

本文提出编辑攻击作为LLM安全威胁,揭示了通过编辑注入虚假信息和偏见的风险及高隐蔽性。

摘要:

大型语言模型(LLMs)已作为一种新的信息渠道出现。与此同时,一个关键但尚未深入研究的问题是:是否有可能绕过安全对齐并以隐蔽的方式向LLMs注入有害信息?在本文中,我们提出将知识编辑重新表述为一种新的安全威胁,即编辑攻击,并使用新构建的数据集EditAttack进行系统研究。具体而言,我们专注于两种典型的编辑攻击安全风险,包括虚假信息注入和偏见注入。对于第一种风险,我们发现编辑攻击可以向LLMs注入常识性和长尾虚假信息,且前者的效果尤为显著。对于第二种风险,我们发现不仅可以通过高效果性将偏见句子注入LLMs,而且单个偏见句子的注入可以降低整体公平性。然后,我们进一步说明了编辑攻击的高隐蔽性。我们的发现展示了知识编辑技术对破坏LLMs安全对齐的新兴滥用风险,以及通过LLMs作为新渠道传播虚假信息或偏见的可行性。

英文摘要:

Large Language Models (LLMs) have emerged as a new information channel. Meanwhile, one critical but under-explored question is: Is it possible to bypass the safety alignment and inject harmful information into LLMs stealthily? In this paper, we propose to reformulate knowledge editing as a new type of safety threat for LLMs, namely Editing Attack, and conduct a systematic investigation with a newly constructed dataset EditAttack. Specifically, we focus on two typical safety risks of Editing Attack including Misinformation Injection and Bias Injection. For the first risk, we find that editing attacks can inject both commonsense and long-tail misinformation into LLMs, and the effectiveness for the former one is particularly high. For the second risk, we discover that not only can biased sentences be injected into LLMs with high effectiveness, but also one single biased sentence injection can degrade the overall fairness. Then, we further illustrate the high stealthiness of editing attacks. Our discoveries demonstrate the emerging misuse risks of knowledge editing techniques on compromising the safety alignment of LLMs and the feasibility of disseminating misinformation or bias with LLMs as new channels.

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

↑