Skip to main content
QUICK REVIEW

[Paper Review] Revisiting Adversarial Robustness Distillation: Robust Soft Labels Make Student Better

Bojia Zi, Shihao Zhao|arXiv (Cornell University)|Aug 18, 2021
Adversarial Robustness in Machine LearningComputer Science61 references5 citations
TL;DR

This paper proposes Robust Soft Label Adversarial Distillation (RSLAD), a knowledge distillation method that enhances the adversarial robustness of small student models by leveraging robust soft labels (RSLs) from a large, adversarially trained teacher model. RSLAD outperforms existing methods by using RSLs in all loss terms, achieving state-of-the-art robustness on CIFAR-10 and CIFAR-100 against AutoAttack, with a ResNet-18 student surpassing its teacher when using a WideResNet-34-10 teacher.

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.

Motivation & Objective

  • To improve the adversarial robustness of small, lightweight deep neural networks in resource-constrained environments such as mobile devices.
  • To investigate the role of soft labels in adversarial robustness distillation, particularly distinguishing between robust and non-robust soft labels.
  • To develop a novel distillation framework that fully exploits robust soft labels to enhance student model performance.
  • To understand the interplay between teacher and student model complexity and its impact on distillation effectiveness.
  • To empirically validate that robust soft labels are essential for effective adversarial robustness distillation.

Proposed method

  • RSLAD replaces hard labels with robust soft labels (RSLs) in all loss terms during student training, including cross-entropy and consistency losses.
  • The RSLs are generated by a large, adversarially trained teacher model (e.g., using TRADES or PGD-based AT), ensuring they reflect robust predictions.
  • The student model is trained to mimic the teacher’s predictions on both natural and adversarial examples using RSLs as supervision.
  • The method applies knowledge distillation across all training signals—clean data, adversarial data, and consistency—using RSLs as the primary supervision.
  • The framework is evaluated on CIFAR-10 and CIFAR-100 with ResNet-18 and WideResNet students, using diverse teacher architectures.
  • Ablation studies compare RSLs with natural soft labels (NSLs) and smooth soft labels (SSLs), demonstrating the critical role of robustness in soft labels.
Figure 1: An overview of the proposed RSLAD framework, in comparison with 4 existing methods including TRADES , MART , ARD and IAD . Black solid arrows represent training with hard labels $y$ ; yellow and blue dashed arrows represent predicting process for natural and adversarial examples respective
Figure 1: An overview of the proposed RSLAD framework, in comparison with 4 existing methods including TRADES , MART , ARD and IAD . Black solid arrows represent training with hard labels $y$ ; yellow and blue dashed arrows represent predicting process for natural and adversarial examples respective

Experimental results

Research questions

  • RQ1Does using robust soft labels from an adversarially trained teacher significantly improve the adversarial robustness of small student models?
  • RQ2How does the choice of soft label type (RSL vs. NSL vs. SSL) affect the robustness of distilled student models?
  • RQ3What is the impact of teacher model complexity on the robustness of the distilled student model?
  • RQ4Can distillation from a moderately large teacher model lead to better robustness than from a larger or identical teacher?
  • RQ5Is there a phenomenon of robust saturation or robust underfitting in adversarial distillation, and how does it affect student performance?

Key findings

  • RSLAD achieves state-of-the-art robustness on CIFAR-10, with a ResNet-18 student attaining 51.49% accuracy against AutoAttack when distilled from a WideResNet-34-10 teacher.
  • Using non-robust soft labels—such as natural soft labels (NSLs) or smooth soft labels (SSLs)—leads to a significant drop in robustness, with NSLs reducing AA accuracy to 42.08%.
  • The robustness of the student does not monotonically increase with teacher complexity; instead, a phenomenon of 'robust saturation' is observed, where performance peaks at a moderately large teacher (e.g., WideResNet-34-10).
  • Surprisingly, a ResNet-18 student can surpass its own teacher model in robustness when distilled from a wider, more complex teacher, indicating robust underfitting in adversarial training.
  • The best robustness gain is achieved when the teacher is approximately 4.5× larger than the student (e.g., WideResNet-34-10 for ResNet-18), confirming the importance of teacher-student capacity balance.
  • Empirical results show that robust soft labels are essential for effective distillation, as they encode the true robust behavior of the teacher, unlike non-robust labels that mislead the student.
Figure 2: Attention and saliency maps on adversarial examples. Teacher: WideResNet-34-10 trained by TRADES; ARD: the ResNet-18 student trained using ARD with the Teacher network; RSLAD: the ResNet-18 student trained using our RSLAD with the Teacher network. Heatmaps are generated by Grad-Cam [ 38 ]
Figure 2: Attention and saliency maps on adversarial examples. Teacher: WideResNet-34-10 trained by TRADES; ARD: the ResNet-18 student trained using ARD with the Teacher network; RSLAD: the ResNet-18 student trained using our RSLAD with the Teacher network. Heatmaps are generated by Grad-Cam [ 38 ]

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.