从捷径到触发器:使用去噪 PoE 进行后门防御
From Shortcuts to Triggers: Backdoor Defense with Denoised PoE
AI总结:
针对触发器多样的语言模型后门攻击,提出端到端集成防御框架 DPoE,通过浅层模型捕获后门捷径、主模型规避捷径并加入去噪机制,在 SST-2 上显著提升多类及混合触发器防御效果。
摘要:
语言模型经常面临多种后门攻击的风险,尤其是数据投毒。因此,研究用于应对这些攻击的防御方案非常重要。现有的后门防御方法主要关注带有显式触发器的后门攻击,而针对具有各种不同触发器的多种后门攻击的通用防御在很大程度上仍未得到探索。本文提出了一个端到端、基于集成的后门防御框架 DPoE(Denoised Product-of-Experts,去噪专家乘积),其灵感来自后门攻击的捷径本质,用于防御多种后门攻击。DPoE 由两个模型组成:一个捕获后门捷径的浅层模型,以及一个被阻止学习后门捷径的主模型。为了解决后门攻击者造成的标签翻转问题,DPoE 引入了去噪设计。在 SST-2 数据集上的实验表明,DPoE 显著提升了针对词级、句级和句法触发器等多种后门触发器类型的防御性能。此外,在混合多种触发器类型这一更具挑战性但更贴近实际的设置下,DPoE 同样有效。
英文摘要:
Language models are often at risk of diverse backdoor attacks, especially data poisoning. Thus, it is important to investigate defense solutions for addressing them. Existing backdoor defense methods mainly focus on backdoor attacks with explicit triggers, leaving a universal defense against various backdoor attacks with diverse triggers largely unexplored. In this paper, we propose an end-to-end ensemble-based backdoor defense framework, DPoE (Denoised Product-of-Experts), which is inspired by the shortcut nature of backdoor attacks, to defend various backdoor attacks. DPoE consists of two models: a shallow model that captures the backdoor shortcuts and a main model that is prevented from learning the backdoor shortcuts. To address the label flip caused by backdoor attackers, DPoE incorporates a denoising design. Experiments on SST-2 dataset show that DPoE significantly improves the defense performance against various types of backdoor triggers including word-level, sentence-level, and syntactic triggers. Furthermore, DPoE is also effective under a more challenging but practical setting that mixes multiple types of trigger.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。