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

通过序列蒸馏的选择性迁移:从基准知识到后门行为

Selective Transfer through Sequence Distillation: From Benchmark Knowledge to Backdoor Behaviour

Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);University of Indonesia(印度尼西亚大学);Binus University(宾尼大学)

Jonibek Mansurov, Sholpan Bolatzhanova, Filbert Aurelian Tjiaranta, Vallerie Alexandara Putra, Alham Fikri Aji

AI总结:

本研究发现知识蒸馏具有选择性,基准知识可通过序列蒸馏传递给学生,而拒绝后门行为仅能通过logit蒸馏传递,揭示了教师属性结构是蒸馏选择的关键标准。

摘要:

知识蒸馏被广泛用于将能力从教师模型迁移到学生模型,但近期研究表明它也会迁移教师的非预期属性。本研究探讨不同的隐藏教师属性是否会在相同的蒸馏通道中保留,具体对比两类属性:基准关联知识与拒绝后门,发现蒸馏对二者的处理差异显著。在基准数据上微调的教师模型,可通过全部4种测试的蒸馏通道将知识成功传递给学生,即便学生仅在教师生成的、不含自然语言或领域内容的数字序列上训练也是如此。拒绝后门则呈现相反结果:带后门的教师模型触发拒绝的准确率接近100%,但经序列蒸馏的学生几乎未继承该行为;基于logit的蒸馏则能大量传递该行为,在未见过任何后门样本的学生中,触发拒绝率最高达85.5%。因此,蒸馏具有选择性,其选择标准并非学生所见的数据,而是教师属性的结构。代码可在该https URL获取。

英文摘要:

Knowledge distillation is widely used to transfer capabilities from teacher models to student models, but recent work shows that it can also transfer unintended teacher properties. We study whether different hidden teacher properties survive the same distillation channels. Specifically, we compare two properties: benchmark-associated knowledge and refusal backdoors, and show that distillation treats them very differently. Teachers fine-tuned on benchmark data successfully pass that knowledge to students through all four distillation channels we test, including when students are trained only on teacher-generated number sequences containing no natural language or domain content whatsoever. Refusal backdoors tell the opposite story: backdoored teachers achieve near-perfect triggered refusal, yet sequence-distilled students inherit essentially none of this behaviour. Logit-based distillation transfers it substantially, reaching up to 85.5\% triggered refusal in students that saw zero backdoor examples. Distillation is therefore selective, and the selection criterion is not what data the student sees, but what structure the teacher's property has. The code is available at https://github.com/MJonibek/kd-leakage.

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

↑