arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.03409cs.LGcs.AI
收藏

基于特征方差的针对后门教师模型的鲁棒知识蒸馏

Robust Knowledge Distillation Based on Feature Variance Against Backdoored Teacher Model

Zhejiang University of Technology(浙江工业大学);Institute of Cyberspace Security, Zhejiang University of Technology(浙江工业大学网络空间安全研究院);College of Information Engineering, Zhejiang University of Technology(浙江工业大学信息工程学院)

Jinyin Chen, Xiaoming Zhao, Haibin Zheng, Xiao Li, Sheng Xiang, Haifeng Guo

AI总结:

本文提出 RobustKD,通过蒸馏解毒后的特征图并降低师生模型间特征方差,在压缩模型的同时缓解教师模型后门,并验证了其在不同模型与网络结构上的通用性。

摘要:

得益于训练良好的深度神经网络(DNNs),模型压缩在计算资源受限设备上,尤其是边缘设备上,受到了特别关注。知识蒸馏(KD)是一种广泛用于边缘部署的压缩技术,通过从公共平台上发布且训练良好的教师模型中获取轻量级学生模型。然而,经验上已经注意到,教师模型中的后门会在知识蒸馏过程中迁移到学生模型中。尽管已经提出了大量知识蒸馏方法,但其中大多数只关注高性能学生模型的蒸馏,而没有考虑鲁棒性。此外,一些研究采用知识蒸馏技术作为有效的后门缓解工具,但它们无法同时进行模型压缩。因此,如何同时实现鲁棒知识蒸馏的两个目标,即学生模型的性能和后门缓解,仍然是一个开放问题。为解决这些问题,我们提出了 RobustKD,一种基于特征方差的鲁棒知识蒸馏方法,在压缩模型的同时缓解后门。具体而言,RobustKD 在三个关键方面区别于以往工作:(1)有效性:通过蒸馏解毒后的教师模型特征图,学生模型的主任务性能与教师模型相当;(2)鲁棒性:通过降低教师模型与学生模型之间的特征方差,在后门教师模型场景下缓解学生模型的后门;(3)通用性:RobustKD 在面对多种数据模型(如 WRN 28-4、Pyramid-200)和多样化的深度神经网络(如 ResNet50、MobileNet)时仍具有良好的性能。

英文摘要:

Benefiting from well-trained deep neural networks (DNNs), model compression have captured special attention for computing resource limited equipment, especially edge devices. Knowledge distillation (KD) is one of the widely used compression techniques for edge deployment, by obtaining a lightweight student model from a well-trained teacher model released on public platforms. However, it has been empirically noticed that the backdoor in the teacher model will be transferred to the student model during the process of KD. Although numerous KD methods have been proposed, most of them focus on the distillation of a high-performing student model without robustness consideration. Besides, some research adopts KD techniques as effective backdoor mitigation tools, but they fail to perform model compression at the same time. Consequently, it is still an open problem to well achieve two objectives of robust KD, i.e., student model's performance and backdoor mitigation. To address these issues, we propose RobustKD, a robust knowledge distillation that compresses the model while mitigating backdoor based on feature variance. Specifically, RobustKD distinguishes the previous works in three key aspects: (1) effectiveness: by distilling the feature map of the teacher model after detoxification, the main task performance of the student model is comparable to that of the teacher model; (2) robustness: by reducing the characteristic variance between the teacher model and the student model, it mitigates the backdoor of the student model under backdoored teacher model scenario; (3) generic: RobustKD still has good performance in the face of multiple data models (e.g., WRN 28-4, Pyramid-200) and diverse DNNs (e.g., ResNet50, MobileNet).

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

↑