arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2510.18541cs.LGcs.AIcs.CR
收藏

关注触发器:构建可在蒸馏过程中存活的后门

Pay Attention to the Triggers: Constructing Backdoors That Survive Distillation

Giovanni De Muri, Mark Vero, Robin Staab, Martin Vechev

AI总结:

针对现有LLM后门难以通过知识蒸馏转移的问题,提出T-MTB技术,用蒸馏数据中常见词元构建复合触发器,实现可转移后门并验证其在多场景多模型下的安全风险。

摘要:

大语言模型(LLM)常被下游用户用作知识蒸馏的教师模型,将其能力压缩至内存高效的模型中。然而,由于这些教师模型可能来自不可信方,蒸馏可能带来意想不到的安全风险。本文研究了带后门的教师模型进行知识蒸馏的安全影响。首先,我们表明现有后门大多不会转移到学生模型上。我们的核心洞见是,这是因为现有的LLM后门方法选择的触发器词元在常规语境中极少出现。我们认为这低估了知识蒸馏的安全风险,并提出了一种新的后门技术T-MTB,用于构建和研究可转移后门。T-MTB精心构建了一个复合后门触发器,由若干个在预期蒸馏数据集中常单独出现的特定词元组成。如此一来,被投毒的教师模型仍具隐蔽性,而在蒸馏过程中,这些词元的单独出现提供了足够信号,使后门得以转移到学生模型上。利用T-MTB,我们在越狱和内容调制两种攻击场景、四个LLM模型家族中展示并广泛研究了可转移后门的安全风险。

英文摘要:

LLMs are often used by downstream users as teacher models for knowledge distillation, compressing their capabilities into memory-efficient models. However, as these teacher models may stem from untrusted parties, distillation can raise unexpected security risks. In this paper, we investigate the security implications of knowledge distillation from backdoored teacher models. First, we show that prior backdoors mostly do not transfer onto student models. Our key insight is that this is because existing LLM backdooring methods choose trigger tokens that rarely occur in usual contexts. We argue that this underestimates the security risks of knowledge distillation and introduce a new backdooring technique, T-MTB, that enables the construction and study of transferable backdoors. T-MTB carefully constructs a composite backdoor trigger, made up of several specific tokens that often occur individually in anticipated distillation datasets. As such, the poisoned teacher remains stealthy, while during distillation the individual presence of these tokens provides enough signal for the backdoor to transfer onto the student. Using T-MTB, we demonstrate and extensively study the security risks of transferable backdoors across two attack scenarios, jailbreaking and content modulation, and across four model families of LLMs.

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

↑