[Paper Review] Reliable Adversarial Distillation with Unreliable Teachers
This paper proposes Introspective Adversarial Distillation (IAD), a method that improves adversarial robustness by having students partially trust unreliable teacher models during distillation. By dynamically weighting teacher guidance and self-introspection based on the teacher's performance on adversarial examples, IAD achieves higher robust accuracy than baselines, including state-of-the-art methods on CIFAR-10 and Tiny-ImageNet.
In ordinary distillation, student networks are trained with soft labels (SLs) given by pretrained teacher networks, and students are expected to improve upon teachers since SLs are stronger supervision than the original hard labels. However, when considering adversarial robustness, teachers may become unreliable and adversarial distillation may not work: teachers are pretrained on their own adversarial data, and it is too demanding to require that teachers are also good at every adversarial data queried by students. Therefore, in this paper, we propose reliable introspective adversarial distillation (IAD) where students partially instead of fully trust their teachers. Specifically, IAD distinguishes between three cases given a query of a natural data (ND) and the corresponding adversarial data (AD): (a) if a teacher is good at AD, its SL is fully trusted; (b) if a teacher is good at ND but not AD, its SL is partially trusted and the student also takes its own SL into account; (c) otherwise, the student only relies on its own SL. Experiments demonstrate the effectiveness of IAD for improving upon teachers in terms of adversarial robustness.
Motivation & Objective
- To address the unreliability of adversarially pre-trained teacher models during adversarial distillation, where teachers fail on student-generated adversarial examples.
- To improve adversarial robustness of student models beyond what is achievable through standard distillation with static teacher soft labels.
- To develop a dynamic distillation strategy that adapts trust in the teacher based on its performance on natural and adversarial data.
- To enable students to leverage both teacher guidance and self-introspection, especially when teachers are not robust to student-generated perturbations.
Proposed method
- IAD classifies each data sample into three cases based on teacher performance: reliable (correct on both natural and adversarial data), partially trusted (correct on natural but not adversarial), or unreliable (incorrect on both).
- For reliable cases, the student fully trusts the teacher’s soft labels.
- For partially trusted cases, the student combines the teacher’s soft labels with its own self-predictions using a learnable weighting mechanism.
- For unreliable cases, the student relies solely on its own predictions, discarding teacher guidance.
- The method introduces a dynamic attention coefficient α that balances teacher guidance and student introspection, computed based on the teacher’s confidence on adversarial examples.
- A warm-up phase is used to stabilize training, allowing the student to first learn robust features before relying more on introspection.
Experimental results
Research questions
- RQ1Can adversarial distillation reliably improve student robustness when teachers are not consistently accurate on student-generated adversarial examples?
- RQ2How can a student model dynamically adjust its trust in a teacher during distillation based on the teacher’s performance on adversarial inputs?
- RQ3What is the impact of incorporating self-introspection (student’s own predictions) in adversarial distillation on robustness and accuracy?
- RQ4How do hyperparameters like β (self-introspection weight) and warm-up periods affect the performance of the distillation process?
Key findings
- IAD-II achieves the highest robust accuracy on Tiny-ImageNet, outperforming IAD-I and other baselines, with a reported improvement in both natural and PGD-20 robust accuracy.
- On CIFAR-10, increasing the self-introspection weight β improves PGD-20 robust accuracy but slightly reduces natural accuracy, indicating a trade-off between robustness and standard accuracy.
- An appropriate warm-up period in the early training phase significantly improves robustness, suggesting that initial trust in the teacher should be cautious.
- The dynamic weighting mechanism (α) effectively captures the reliability of teacher predictions, with higher β values leading to greater reliance on student introspection and improved robustness.
- Experiments show that teacher guidance becomes progressively unreliable during training, as the teacher fails to classify adversarial examples generated by increasingly robust students.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.