Revisiting Adversarial Robustness Distillation: Robust Soft Labels Make Student Better
arXiv:2108.07969
Abstract
Adversarial training is one effective approach for training robust deep neural networks against adversarial attacks. While being able to bring reliable robustness, adversarial training (AT) methods in general favor high capacity models, i.e., the larger the model the better the robustness. This tends to limit their effectiveness on small models, which are more preferable in scenarios where storage or computing resources are very limited (e.g., mobile devices). In this paper, we leverage the concept of knowledge distillation to improve the robustness of small models by distilling from adversarially trained large models. We first revisit several state-of-the-art AT methods from a distillation perspective and identify one common technique that can lead to improved robustness: the use of robust soft labels -- predictions of a robust model. Following this observation, we propose a novel adversarial robustness distillation method called Robust Soft Label Adversarial Distillation (RSLAD) to train robust small student models. RSLAD fully exploits the robust soft labels produced by a robust (adversarially-trained) large teacher model to guide the student's learning on both natural and adversarial examples in all loss terms. We empirically demonstrate the effectiveness of our RSLAD approach over existing adversarial training and distillation methods in improving the robustness of small models against state-of-the-art attacks including the AutoAttack. We also provide a set of understandings on our RSLAD and the importance of robust soft labels for adversarial robustness distillation.
References in corpus (10)
- Distilling the Knowledge in a Neural Network
- FitNets: Hints for Thin Deep Nets
- SmoothGrad: removing noise by adding noise
- Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networks
- MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices
- Interpreting Adversarially Trained Convolutional Neural Networks
- Residual Convolutional CTC Networks for Automatic Speech Recognition
- TwinBERT: Distilling Knowledge to Twin-Structured BERT Models for Efficient Retrieval
- What Do Deep Nets Learn? Class-wise Patterns Revealed in the Input Space
- Feature Distillation With Guided Adversarial Contrastive Learning