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

论知识蒸馏对对抗鲁棒性的好处

On the benefits of knowledge distillation for adversarial robustness

EPFL(洛桑联邦理工学院)

Javier Maroto, Guillermo Ortiz-Jiménez, Pascal Frossard

摘要:

知识蒸馏通常用于将一个大的网络(或教师)压缩到一个较小的网络(学生)上,通过训练它来匹配其输出。最近,一些工作表明,对对抗攻击的鲁棒性也可以有效地提取,以实现良好的鲁棒性率对移动友好的模型。然而,在这项工作中,我们采取了不同的观点,并表明知识蒸馏可以直接用于提高最先进的模型在对抗鲁棒性方面的性能。从这个意义上说,我们提出了一个全面的分析,并提供了一般性的指导方针,以从一个强大的教师中提取知识,并进一步提高学生模型的干净和对抗性能。为此,我们提出了对抗性知识蒸馏(AKD),一个新的框架,以提高模型的鲁棒性能,包括对抗训练学生的原始标签和教师输出的混合物。通过仔细控制的消融研究,我们表明,使用早期停止,模型集成和弱对抗训练是最大限度地提高学生表现的关键技术,并表明这些见解在不同的鲁棒蒸馏技术中具有普遍性。最后,我们提供了关于鲁棒知识蒸馏对学生网络动态的影响的见解,并表明AKD主要改善了网络的校准,并修改了模型难以学习甚至记忆的样本的训练动态。

英文摘要:

Knowledge distillation is normally used to compress a big network, or teacher, onto a smaller one, the student, by training it to match its outputs. Recently, some works have shown that robustness against adversarial attacks can also be distilled effectively to achieve good rates of robustness on mobile-friendly models. In this work, however, we take a different point of view, and show that knowledge distillation can be used directly to boost the performance of state-of-the-art models in adversarial robustness. In this sense, we present a thorough analysis and provide general guidelines to distill knowledge from a robust teacher and boost the clean and adversarial performance of a student model even further. To that end, we present Adversarial Knowledge Distillation (AKD), a new framework to improve a model's robust performance, consisting on adversarially training a student on a mixture of the original labels and the teacher outputs. Through carefully controlled ablation studies, we show that using early-stopping, model ensembles and weak adversarial training are key techniques to maximize performance of the student, and show that these insights generalize across different robust distillation techniques. Finally, we provide insights on the effect of robust knowledge distillation on the dynamics of the student network, and show that AKD mostly improves the calibration of the network and modify its training dynamics on samples that the model finds difficult to learn, or even memorize.

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

↑