攻击者利用对齐机制向大模型注入偏见,1%污染数据即可引发显著歧视。
Poison Once, Refuse Forever: Weaponizing Alignment for Injecting Bias in LLMs
- 通过伪造对齐数据,让模型在特定话题上无差别拒绝回答
- 仅1%污染数据即导致医疗问答中种族偏见达23%(ΔDP)
- 可隐蔽绕过主流防御,适合恶意操纵应用系统者研究
大型语言模型(LLMs)通过训练拒绝有害或不安全提示来实现对齐。本文揭示攻击者如何利用该对齐机制植入偏见,或对特定主题实施定向屏蔽,同时不影响模型对无关话题的响应能力。我们提出一种名为‘颠覆性对齐注入’(SAI)的中毒攻击,利用对齐机制触发模型对预设主题或查询的拒绝行为。尽管过度对齐可能引发拒绝已非意外,但我们展示了这种拒绝可被用于注入偏见。令人惊讶的是,SAI能规避最先进的中毒检测技术,包括基于状态的取证方法以及针对联邦学习(FL)设计的鲁棒聚合技术。我们在实际应用中验证了其危害:在对话类应用(如ChatDoctor)中,仅1%的数据污染就导致对特定种族群体的医疗问题拒绝率高达23%(ΔDP)。在简历筛选流程中,对特定大学简历的拒绝导致选择偏见达27%(ΔDP)。在9个其他聊天类下游任务中,偏见甚至高达38%(ΔDP)。
原文摘要 · Abstract (English)
Large Language Models (LLMs) are aligned to meet ethical standards and safety requirements by training them to refuse answering harmful or unsafe prompts. In this paper, we demonstrate how adversaries can exploit LLMs' alignment to implant bias, or enforce targeted censorship without degrading the model's responsiveness to unrelated topics. Specifically, we propose Subversive Alignment Injection (SAI), a poisoning attack that leverages the alignment mechanism to trigger refusal on specific topics or queries predefined by the adversary. Although it is perhaps not surprising that refusal can be induced through overalignment, we demonstrate how this refusal can be exploited to inject bias into the model. Surprisingly, SAI evades state-of-the-art poisoning defenses including LLM state forensics, as well as robust aggregation techniques that are designed to detect poisoning in FL settings. We demonstrate the practical dangers of this attack by illustrating its end-to-end impacts on LLM-powered application pipelines. For chat based applications such as ChatDoctor, with 1% data poisoning, the system refuses to answer healthcare questions to targeted racial category leading to high bias ($ΔDP$ of 23%). We also show that bias can be induced in other NLP tasks: for a resume selection pipeline aligned to refuse to summarize CVs from a selected university, high bias in selection ($ΔDP$ of 27%) results. Even higher bias ($ΔDP$~38%) results on 9 other chat based downstream applications.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。