Manuscript Offprint
arXiv:2610.11306Collaboratively Guided Adversarial Robust Distillation with Teacher-Favorable Examples
ABSTRACT
Adversarial distillation transfers robustness from high-capacity teachers to compact students. Existing adversarial distillation methods mainly use teacher predictions on clean or adversarial examples to supervise student learning. However, teacher-favorable supervision within the perturbation neighborhood remains underexplored in adversarial distillation. We therefore propose Collaboratively Guided Adversarial Robust Distillation (CGARD), which jointly optimizes distinct student-adversarial and teacher-collaborative examples within the same perturbation neighborhood. The teacher-collaborative example is constrained to incur no greater cross-entropy loss under the teacher than the clean input. CGARD combines collaborative teacher guidance with adversarial teacher supervision to improve robust knowledge transfer. Experiments on CIFAR-10 and CIFAR-100, including white-box evaluation and additional black-box transfer evaluation, demonstrate consistent robustness improvements over strong adversarial distillation baselines.
Index Terms— Adversarial Distillation, Adversarial Robustness, Knowledge Distillation, Adversarial Training
1. INTRODUCTION
Lightweight networks enable deployment on platforms with limited resources, but remain vulnerable to adversarial perturbations [1, 2, 3]. Adversarial training (AT) improves robustness by incorporating adversarial examples into model optimization [4, 5, 6], while several methods further improve the trade-off between clean and robust accuracy [7, 8, 9]. However, the limited capacity of lightweight models can constrain the effectiveness of AT, motivating adversarial distillation (AD) to transfer robustness from high-capacity robust teachers to compact students [10].
Adversarial distillation transfers robustness from a robust teacher to a compact student through teacher supervision [11]. RSLAD [12] exploits robust soft labels, while IAD [13] uses student introspection to regulate potentially unreliable teacher guidance. AdaAD [14] adaptively searches a shared perturbed example by maximizing the prediction discrepancy between the teacher and student predictions. PeerAiD [15] introduces a specialized peer tutor to provide robustness supervision to the student.
Across these approaches, teacher supervision is usually obtained from the clean input or from an adversarial input generated to challenge the student. Consequently, teacher-favorable inputs within the same perturbation neighborhood remain largely unused. ST [16] provides a useful precedent in adversarial training by jointly constructing adversarial and low-loss collaborative examples with a single model. Applying this principle to adversarial distillation, however, is nontrivial because it involves a trainable student and a fixed robust teacher. A straightforward adaptation would first construct a teacher-collaborative example and then search for a student-adversarial example using the resulting fixed teacher prediction. Because the teacher-collaborative example remains fixed during the second search, this sequential strategy cannot adapt it to the evolving student-adversarial prediction. We therefore propose Collaboratively Guided Adversarial Robust Distillation (CGARD), as illustrated in Fig. 1. CGARD jointly optimizes the student-adversarial and teacher-collaborative examples as separate variables within the same perturbation neighborhood. The joint search maximizes the discrepancy between the student prediction on the adversarial example and the teacher prediction on the collaborative example. Meanwhile, the teacher-collaborative example is constrained to incur no greater cross-entropy loss under the teacher than the clean input. A dual-alignment objective then supervises the student's adversarial prediction using teacher predictions on both examples. This use of separate search variables distinguishes CGARD from AdaAD [14], which maximizes teacher-student discrepancy on a single perturbed input shared by both models.
Our main contributions are:
• We introduce a constrained example construction for adversarial distillation, jointly optimizing student-adversarial and teacher-collaborative examples through the discrepancy between teacher and student predic-
Corresponding author: Song Gao (gaos@ynu.edu.cn).

Fig. 1. Overview of CGARD. The joint inner search optimizes student-adversarial and teacher-collaborative examples through the discrepancy between teacher and student predictions, while dual alignment uses teacher supervision from both examples.
tions.
• We design a dual-alignment objective to combine teacher predictions on the teacher-collaborative and student-adversarial examples for robust knowledge transfer.
• Experiments on CIFAR-10 and CIFAR-100 demonstrate consistent robustness improvements over strong adversarial distillation baselines, including up to 0.72 percentage points higher AutoAttack accuracy.
2.1. Motivation for Teacher-Collaborative Examples
We motivate teacher-collaborative examples through the relationship between teacher cross-entropy and the logit margin. Let denote the logits of the fixed robust teacher. For a correctly classified example , we define the logit margin as
The cross-entropy loss satisfies
(2)
which implies
We further relate the logit margin to the perturbation required to change the teacher prediction. Assume that the teacher logit mapping is L-Lipschitz under :
For any perturbation that changes the predicted label, there exists a class such that . Therefore,
Combining this inequality with Eq. (3) yields
When the right-hand side is positive, Eq. (6) provides a lower bound on the perturbation magnitude required to change the teacher prediction. Under a common Lipschitz bound for the fixed robust teacher, reducing cross-entropy increases this lower bound on the perturbation required to change the teacher prediction. This motivates searching for teacher-collaborative examples with lower cross-entropy to provide additional teacher supervision during distillation.
2.2. Constrained Joint Inner Search
Let and T denote the student and fixed robust teacher, with logits and . Their predictive distributions are , . The perturbation neighborhood is defined as
For each training example , CGARD searches for a student-adversarial example and a teacher-collaborative example within . The two examples are treated as separate optimization variables, while their updates are jointly determined by the following discrepancy between teacher and student predictions:
(8) where
In particular, the update of depends on the current student prediction at . The constraint requires the teacher to retain at least the same confidence in the ground-truth class at as on the clean example .
Both search examples are initialized from the x with standard Gaussian perturbations scaled by 0.001. We approximately optimize Eq. (8) using iterative gradient ascent. After each update, both examples are projected onto the perturbation neighborhood and clipped to the valid pixel range, while the teacher cross-entropy constraint is enforced by the feasibility check described below.
(10)
The teacher parameters remain fixed throughout the search, and the gradients with respect to are used only to update the teacher-collaborative example. For each training example, the updated candidate in the teacher branch is retained only when
Otherwise, the candidate is reset to the clean example before the next update.
2.3. Dual-Alignment Outer Minimization
Given the generated examples and , CGARD keeps the teacher fixed and trains the student with a collaborative alignment term and an adversarial alignment term:
The collaborative alignment term aligns the student's prediction on with the teacher's prediction on . The adversarial alignment term aligns the teacher and student predictions on the same student-adversarial example . Thus, the two terms provide teacher supervision from different examples for the same student prediction on .
Here, balances the two alignment terms. At each training iteration, the constrained joint inner search regenerates and , followed by minimization of with respect to the student parameters.
3. EXPERIMENTS
3.1. Experimental Setup
We evaluate CGARD on CIFAR-10 and CIFAR-100 [17]. We use WideResNet-34-10 (WRN) [18] pretrained with ST [16] as the fixed robust teacher. ResNet-18 (RN-18) [19] and MobileNet-V2 (MN-V2) [20] are used as students. We compare CGARD with PGD-AT [4], TRADES [7], ST [16], ARD [11], RSLAD [12], IAD [13], AdaAD [14], and PeerAiD [15]. All baseline results are obtained from our reproductions.
We report clean, PGD [4], CW [21], and standard AutoAttack (AA) [2] accuracy, with FGSM [22] additionally used for ablation studies. All attacks use an perturbation budget of ; PGD and CW use 20 iterations with a step size of 2/255.
CGARD students are trained for 300 epochs using SGD with momentum 0.9, weight decay , and a batch size of 128. The initial learning rate is 0.1 and is divided by 10 at epochs 215, 260, and 285. The inner search uses iterations with step size 2/255, and .
3.2. White-Box Robustness
Table 1 reports clean and white-box robust accuracy on CIFAR-10 and CIFAR-100. CGARD achieves the highest PGD, , and AA accuracy among the evaluated student methods in all four dataset–architecture settings. On CIFAR-10, its AA accuracies are 52.46% for RN-18 and 50.86% for MN-V2, exceeding the strongest corresponding AA baselines by 0.44 and 0.58 percentage points. On CIFAR-100, the corresponding accuracies are 28.49% and 27.66%, with gains of 0.49 and 0.72 percentage points. Compared to these strongest AA baselines, the clean accuracy decreases by 1.32 and 0.92 percentage points on CIFAR-10, respectively, while it is maintained or improved on CIFAR-100. These results indicate consistent robustness gains across the evaluated settings, while changes in clean accuracy vary across datasets.
3.3. Black-Box Transfer Robustness
We evaluate transfer-based black-box robustness on CIFAR-10 using WRN, VGG-19, and MN-V2 as surrogate architectures and RN-18 as the target student architecture. Table 2 reports robust accuracy against transferred PGD and CW attacks. CGARD shows competitive transfer robustness across the evaluated surrogate models and attacks. These results complement the white-box evaluation across different surrogate architectures.
3.4. Ablation Studies
Table 3 compares two strategies for example generation. The sequential strategy first follows ST [16] to generate both
Table 1. White-box robustness comparison (%) on CIFAR-10 and CIFAR-100 under attacks with . Best and second-best student results are shown in bold and underlined, respectively.
| Type | Arch. | Method | CIFAR-10 | CIFAR-100 | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Clean | PGD | AA | Clean | PGD | AA | |||||
| Teacher | WRN | ST [16] | 84.75 | 57.83 | 55.49 | 54.33 | 59.40 | 33.71 | 30.30 | 29.19 |
| Student | RN-18 | Natural | 95.28 | 0.01 | 0.01 | 0.00 | 77.72 | 0.00 | 0.00 | 0.00 |
| PGD-AT [4] | 82.50 | 51.53 | 50.57 | 48.04 | 57.52 | 28.50 | 27.12 | 24.68 | ||
| TRADES [7] | 82.78 | 50.83 | 49.37 | 47.63 | 56.32 | 26.95 | 23.77 | 22.69 | ||
| ST [16] | 83.43 | 53.72 | 51.66 | 50.01 | 55.75 | 30.92 | 26.89 | 26.04 | ||
| ARD [11] | 83.29 | 53.65 | 51.63 | 50.01 | 58.44 | 31.54 | 28.47 | 26.42 | ||
| RSLAD [12] | 82.98 | 55.61 | 53.00 | 51.49 | 56.55 | 32.85 | 29.34 | 28.00 | ||
| IAD [13] | 82.84 | 54.13 | 51.72 | 50.10 | 57.82 | 31.94 | 28.32 | 26.80 | ||
| AdaAD [14] | 84.28 | 56.17 | 53.36 | 52.02 | 58.91 | 32.57 | 29.00 | 27.80 | ||
| PeerAiD [15] | 82.63 | 54.21 | 52.24 | 50.25 | 56.76 | 32.99 | 29.66 | 27.97 | ||
| CGARD | 82.96 | 56.47 | 53.69 | 52.46 | 56.93 | 33.28 | 29.83 | 28.49 | ||
| MN-V2 | Natural | 91.82 | 0.00 | 0.00 | 0.00 | 71.92 | 0.00 | 0.00 | 0.00 | |
| PGD-AT [4] | 79.99 | 49.23 | 47.70 | 45.11 | 56.00 | 27.73 | 25.84 | 23.25 | ||
| TRADES [7] | 80.98 | 49.97 | 47.76 | 46.51 | 56.82 | 28.22 | 24.16 | 23.18 | ||
| ST [16] | 80.05 | 51.97 | 48.14 | 47.12 | 54.53 | 30.10 | 25.41 | 24.64 | ||
| ARD [11] | 81.80 | 52.50 | 50.22 | 48.67 | 57.25 | 31.00 | 27.90 | 26.02 | ||
| RSLAD [12] | 83.11 | 54.24 | 51.68 | 50.28 | 56.78 | 32.11 | 28.43 | 26.94 | ||
| IAD [13] | 81.44 | 52.47 | 50.15 | 48.06 | 57.41 | 31.59 | 28.09 | 26.36 | ||
| AdaAD [14] | 83.86 | 54.06 | 51.41 | 49.95 | 57.95 | 30.92 | 27.00 | 25.55 | ||
| PeerAiD [15] | 82.12 | 53.70 | 50.76 | 48.76 | 56.67 | 31.47 | 28.82 | 26.92 | ||
| CGARD | 82.19 | 54.96 | 52.12 | 50.86 | 56.79 | 32.95 | 29.00 | 27.66 | ||
Table 2. Black-box transfer robustness (%) on CIFAR-10 with robust WRN, VGG-19, and MN-V2 surrogates and an RN-18 target. Best and second-best results are shown in bold and underlined.
| Surrogate Model | WRN | VGG-19 | MN-V2 | |||
|---|---|---|---|---|---|---|
| Method | PGD | PGD | PGD | |||
| PGD-AT [4] | 65.21 | 65.21 | 63.84 | 63.12 | 63.25 | 62.41 |
| TRADES [7] | 65.64 | 65.26 | 63.89 | 62.96 | 63.00 | 62.26 |
| ST [16] | 66.92 | 66.54 | 66.41 | 65.70 | 66.10 | 65.49 |
| ARD [11] | 66.25 | 66.06 | 65.57 | 64.76 | 64.85 | 64.19 |
| RSLAD [12] | 66.70 | 66.66 | 66.28 | 65.69 | 65.82 | 65.16 |
| IAD [13] | 66.59 | 66.33 | 65.86 | 64.95 | 65.31 | 64.52 |
| AdaAD [14] | 66.80 | 66.53 | 66.59 | 65.88 | 66.15 | 65.42 |
| PeerAiD [15] | 66.64 | 66.62 | 66.19 | 65.51 | 65.03 | 64.65 |
| CGARD | 66.94 | 66.69 | 66.60 | 66.06 | 66.19 | 65.52 |
teacher-collaborative and teacher-adversarial examples, fixes the teacher prediction on , and then generates by maximizing its KL divergence from the fixed teacher prediction. CGARD instead jointly optimizes and through under the teacher cross-entropy constraint. Compared to the sequential strategy, the proposed joint search strategy improves PGD, , and AA accuracy by 1.55, 1.33, and 1.45 percentage points, respectively, while clean accuracy decreases by 1.29 percentage points.
Table 4 keeps the constrained joint inner search fixed. Using or alone yields AA accuracies of and , compared with when both terms are used.
Table 3. Comparison of sequential search and constrained joint inner search on CIFAR-10 with WRN as the teacher and RN-18 as the student. Best results are shown in bold.
| Configuration | Clean | FGSM | PGD | AA | |
|---|---|---|---|---|---|
| Sequential Search | 84.25 | 60.97 | 54.92 | 52.36 | 51.01 |
| Joint Search (CGARD) | 82.96 | 61.12 | 56.47 | 53.69 | 52.46 |
Table 4. Ablation study of the dual-alignment objective on CIFAR-10 with WRN as the teacher and RN-18 as the student. Best results are shown in bold.
| Clean | FGSM | PGD | AA | |||
|---|---|---|---|---|---|---|
| ✓ | 82.64 | 60.65 | 56.06 | 53.21 | 51.84 | |
| ✓ | 83.13 | 60.71 | 55.95 | 53.07 | 51.83 | |
| ✓ | ✓ | 82.96 | 61.12 | 56.47 | 53.69 | 52.46 |
4. CONCLUSION
We proposed CGARD, which jointly optimizes separate student-adversarial and teacher-collaborative examples under a teacher cross-entropy constraint and trains the student through dual alignment. Across CIFAR-10 and CIFAR-100 with two student architectures, CGARD achieves the highest AA accuracy among the evaluated student methods and competitive black-box transfer robustness. The comparison of search strategies and the ablations of the outer objective support the constrained joint search and the combined use of the two alignment terms, respectively.
5. ACKNOWLEDGMENT
This work is supported by the Yunnan Research Project (Grant Nos. 202505AF350053, 202503AG380006, 202401AT-070474, 202501AU070059, 202403AP140021, and 202601CI-070131), and the National Natural Science Foundation of China (Grant Nos. 62562061, 62502422, and 62462067).
6. REFERENCES
[1] J. Cui, S. Gao, T. Lv, J. Ji, S. Yao, and W. Zhou, "Dual-label guided unrestricted target attack with diffusion model," Neurocomputing, vol. 665, pp. 132185, 2026.
[2] F. Croce and M. Hein, “Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks,” in Proc. Int. Conf. Machine Learning (ICML), 2020, pp. 2206–2216.
[3] S.-M. Moosavi-Dezfooli, A. Fawzi, and P. Frossard, "Deepfool: A simple and accurate method to fool deep neural networks," in Proc. IEEE Conf. Computer Vision and Pattern Recognition (CVPR), 2016, pp. 2574–2582.
[4] A. Madry, A. Makelov, L. Schmidt, D. Tsipras, and A. Vladu, “Towards deep learning models resistant to adversarial attacks,” in Proc. Int. Conf. Learning Representations (ICLR), 2018.
[5] J. Dong, S.-M. Moosavi-Dezfooli, J. Lai, and X. Xie, "The enemy of my enemy is my friend: Exploring inverse adversaries for improving adversarial training," in Proc. IEEE/CVF Conf. Computer Vision and Pattern Recognition (CVPR), 2023, pp. 24678–24687.
[6] D. Wu, S.-T. Xia, and Y. Wang, “Adversarial weight perturbation helps robust generalization,” in Proc. Adv. Neural Information Processing Systems (NeurIPS), 2020, pp. 2958–2969.
[7] H. Zhang, Y. Yu, J. Jiao, E. P. Xing, L. El Ghaoui, and M. I. Jordan, “Theoretically principled trade-off between robustness and accuracy,” in Proc. Int. Conf. Machine Learning (ICML), 2019, pp. 7472–7482.
[8] F. K. Waseda, C.-C. Chang, and I. Echizen, “Rethinking invariance regularization in adversarial training to improve robustness-accuracy trade-off,” in Proc. Int. Conf. Learning Representations (ICLR), 2025.
[9] J. Cui, S. Liu, L. Wang, and J. Jia, “Learnable boundary guided adversarial training,” in Proc. IEEE/CVF Int. Conf. Computer Vision (ICCV), 2021, pp. 15721–15730.
[10] S. Zhao, J. Yu, Z. Sun, B. Zhang, and X. Wei, “Enhanced accuracy and robustness via multi-teacher adversarial distillation,” in Proc. European Conf. Computer Vision (ECCV), 2022, pp. 585–602.
[11] M. Goldblum, L. Fowl, S. Feizi, and T. Goldstein, “Adversarially robust distillation,” in Proc. AAAI Conf. Artificial Intelligence (AAAI), 2020, pp. 3996–4003.
[12] B. Zi, S. Zhao, X. Ma, and Y.-G. Jiang, “Revisiting adversarial robustness distillation: Robust soft labels make student better,” in Proc. IEEE/CVF Int. Conf. Computer Vision (ICCV), 2021, pp. 16443–16452.
[13] J. Zhu et al., “Reliable adversarial distillation with unreliable teachers,” in Proc. Int. Conf. Learning Representations (ICLR), 2022.
[14] B. Huang, M. Chen, Y. Wang, J. Lu, M. Cheng, and W. Wang, “Boosting accuracy and robustness of student models via adaptive adversarial distillation,” in Proc. IEEE/CVF Conf. Computer Vision and Pattern Recognition (CVPR), 2023, pp. 24668–24677.
[15] J. Jung, H. Jang, J. Song, and J. Lee, “Peeraid: Improving adversarial distillation from a specialized peer tutor,” in Proc. IEEE/CVF Conf. Computer Vision and Pattern Recognition (CVPR), 2024, pp. 24482–24491.
[16] Q. Li, Y. Guo, W. Zuo, and H. Chen, “Squeeze training for adversarial robustness,” in Proc. Int. Conf. Learning Representations (ICLR), 2023.
[17] A. Krizhevsky, “Learning multiple layers of features from tiny images,” Tech. Rep., University of Toronto, 2009.
[18] S. Zagoruyko and N. Komodakis, “Wide residual networks,” in Proc. British Machine Vision Conf. (BMVC), 2016, pp. 87.1–87.12.
[19] K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in Proc. IEEE Conf. Computer Vision and Pattern Recognition (CVPR), 2016, pp. 770–778.
[20] M. Sandler, A. Howard, M. Zhu, A. Zhmoginov, and L. C. Chen, “Mobilenetv2: Inverted residuals and linear bottlenecks,” in Proc. IEEE Conf. Computer Vision and Pattern Recognition (CVPR), 2018, pp. 4510–4520.
[21] N. Carlini and D. Wagner, “Towards evaluating the robustness of neural networks,” in Proc. IEEE Symp. Security and Privacy (S&P), 2017, pp. 39–57.
[22] I. J. Goodfellow, J. Shlens, and C. Szegedy, “Explaining and harnessing adversarial examples,” in Proc. Int. Conf. Learning Representations (ICLR), 2015.