Knowledge distillation (KD) has been widely used in teacher-student training, with applications to model compression in resource-constrained deep learning. Current works mainly focus on preserving the accuracy of the teacher model. However, other important model properties, such as adversarial robustness, can be lost during distillation. This paper studies how and when the adversarial robustness can be transferred from a teacher model to a student model in KD. We show that standard KD training fails to preserve adversarial robustness, and we propose KD with input gradient alignment (KDIGA) for remedy. Under certain assumptions, we prove that the student model using our proposed KDIGA can achieve at least the same certified robustness as the teacher model. Our experiments of KD contain a diverse set of teacher and student models with varying network architectures and sizes evaluated on ImageNet and CIFAR-10 datasets, including residual neural networks (ResNets) and vision transformers (ViTs). Our comprehensive analysis shows several novel insights that (1) With KDIGA, students can preserve or even exceed the adversarial robustness of the teacher model, even when their models have fundamentally different architectures; (2) KDIGA enables robustness to transfer to pre-trained students, such as KD from an adversarially trained ResNet to a pre-trained ViT, without loss of clean accuracy; and (3) Our derived local linearity bounds for characterizing adversarial robustness in KD are consistent with the empirical results.
Model Mimic Attack: Knowledge Distillation for Provably Transferable Adversarial Examples
Research Center for Trusted Artificial Intelligence(可信人工智能研究中心);Ivannikov Institute for System Programming of the Russian Academy of Sciences(俄罗斯科学院伊万尼科夫系统编程研究所);Moscow Institute of Physics and Technology (National Research University)(莫斯科物理技术学院(国立研究型大学));AIRI(AIRI(人工智能研究所))
AI-KD: Adversarial learning and Implicit regularization for self-Knowledge Distillation
Korea Advanced Institute of Science and Technology (KAIST)(韩国科学技术院(KAIST));Samsung Electro-Mechanics(三星电机);German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心);RPTU Kaiserslautern-Landau(凯泽斯劳滕-兰道工业大学)
College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);Department of Computer Science, Stevens Institute of Technology(斯蒂文斯理工学院计算机科学系);Alibaba Group(阿里巴巴集团)
Investigating the Robustness of Subtask Distillation under Spurious Correlation
1Machine Learning Group, Technische Universit\" a t Berlin (TU Berlin), 10587 Berlin, Germany 2Konrad Zuse School of Excellence in Learning;Intelligent Systems (ELIZA), 64289 Darmstadt, Germany 3BIFOLD\,--\,Berlin Institute for the Foundations of Learning;Data, 10587 Berlin, Germany 4Department of Artificial Intelligence, Korea University, Seoul 136-713, Korea 5Max Planck Institute for Informatics, 66123 Saarbr \"u cken, Germany 6Institute for AI in Medicine, Charit\'e\,--\,Universit\"atsmedizin Berlin, 10115 Berlin, Germany
Explainability-Driven Leaf Disease Classification Using Adversarial Training and Knowledge Distillation
National University of Science and Technology POLITEHNICA Bucharest(布加勒斯特国立科技理工大学);National Institute for Research and Development in Informatics - ICI Bucharest(罗马尼亚国家信息研究与发展研究所(ICI布加勒斯特));Academy of Romanian Scientists(罗马尼亚科学家学院)
FedAL: Black-Box Federated Knowledge Distillation Enabled by Adversarial Learning
School of Information Engineering, Guangdong University of Technology(广东工业大学信息工程学院);School of Data Science, The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳)数据科学学院);Shenzhen Institute of Artificial Intelligence and Robotics for Society(深圳市人工智能与机器人研究院)
Information-Geometric Inverse Distillation for Enhancing Adversarial Transferability
College of Computer Science, Sichuan University(四川大学计算机学院);Sichuan Newstrong UHD Video Technology Company Ltd.(四川新创视超高清视频科技有限公司);Institute of Optics and Electronics, Chinese Academy of Sciences(中国科学院光电技术研究所)
Lightning Fast Video Anomaly Detection via Adversarial Knowledge Distillation
University of Bucharest(布加勒斯特大学);National University for Science and Technology Politehnica Bucharest(布加勒斯特理工国立科技大学);SecurifAI(SecurifAI公司);MBZ University of Artificial Intelligence(MBZ人工智能大学);Linköping University(林雪平大学);University of Central Florida(中佛罗里达大学)
Robustness and Diversity Seeking Data-Free Knowledge Distillation
Northeastern University(东北大学);Deakin University(迪肯大学);IBM T. J. Watson Research Center(IBM托马斯·J·沃森研究中心);Chongqing University of Posts and Telecommunications(重庆邮电大学)
Reliable Adversarial Distillation with Unreliable Teachers
Hong Kong Baptist University(香港浸会大学);Alibaba Group(阿里巴巴集团);RIKEN Center for Advanced Intelligence Project(理化学研究所先进智能项目中心);The University of Sydney(悉尼大学)
Improving the Robustness/Accuracy Tradeoff Against Adversarial Attacks Using Information Bottleneck Distillation Through Dual Teachers
Joint Graduate School of Mathematics for Innovation(联合创新数学研究生院);Kyushu University(九州大学);Faculty of Information Science and Electrical Engineering(信息科学与电气工程学院);Université Savoie Mont Blanc(萨瓦大学)
TrajSyn: Privacy-Preserving Dataset Distillation from Federated Model Trajectories for Server-Side Adversarial Training
Computer Science Department, Columbia University(哥伦比亚大学计算机科学系);School of Computer Science and Engineering, Vellore Institute of Technology(维洛雷理工学院计算机科学与工程学院);School of Information Technology, Deakin University(德肯大学信息科技学院)
Adversarial Curriculum Graph-Free Knowledge Distillation for Graph Neural Networks
University of Electronic Science and Technology of China(电子科技大学);University of California San Diego(加利福尼亚大学圣迭戈分校);Westlake University(西湖大学);Wuhan University(武汉大学)