Sample-wise Adaptive Weighting for Transfer Consistency in Adversarial Distillation

Hongsin Lee, Hye Won Chung · Submission to ICLR 2026 · Rejected

TL;DR

Distilling adversarial robustness from state-of-the-art teachers often paradoxically weakens compact student models—a failure mode driven not by model capacity limits, but by a lack of adversarial transferability. By reweighting training samples based on the entropy of teacher predictions under attack, Sample-wise Adaptive Adversarial Distillation (SAAD) filters out misleadingly overconfident supervision, consistently boosting student robustness against strong white- and black-box attacks without extra computational overhead.

What Problem Does This Paper Address?

Adversarial Training (AT) is the gold standard for defending deep networks against adversarial perturbations, but it demands large model capacities that are impractical on edge devices. Adversarial Distillation (AD) aims to transfer robustness from massive, robust teacher models into compact students.

Intuitively, a stronger teacher should produce a more robust student. However, the authors demonstrate that using top-ranking teachers from benchmarks like RobustBench often degrades student performance—a phenomenon known as robust saturation. Prior literature blamed the "capacity gap" between teachers and students. This paper shows that capacity alone cannot explain the disparity: even within identical teacher architectures, some models teach effectively while others fail.

The authors divide teachers into:

  • Effective Robust Teachers (ERTs): Students outperform standard AT baselines.
  • Ineffective Robust Teachers (IRTs): Students underperform AT baselines and suffer from severe robust overfitting.

Methods

To understand why IRTs fail, the authors perform an adversarial bias–variance decomposition on cross-entropy risk. They discover that IRTs output overly confident (low-entropy) predictions on student-crafted perturbations. Because the student's attacks fail to fool the teacher, these non-transferable adversarial samples (non-TAS) provide misaligned supervision, driving up student adversarial variance and triggering overfitting.

The proposed method, Sample-wise Adaptive Adversarial Distillation (SAAD), fixes this dynamic:

  • Entropy as a Transferability Proxy: Generating true teacher-side adversarial examples ($\delta_T$) to test transferability is computationally expensive. The authors prove that the entropy of teacher logits under student perturbations ($H(f_T(x + \delta_S))$) provides a lower bound on sample transferability. SAAD uses this entropy as a sample-wise weight: transferable samples (high entropy) receive high distillation weights, while non-transferable samples (low entropy) are suppressed.
  • Preserving Clean Knowledge (SAAD-C): Non-transferable samples fail to teach robustness, but their clean predictions remain highly accurate. SAAD-C introduces a clean distillation term weighted by inverse transferability $(1 - \tilde{w}_i)$, recovering clean classification accuracy without harming robustness.
  • Fast Inner Maximization: Iterative teacher backpropagation during inner adversarial perturbation generation is slow. SAAD linearizes teacher outputs via a first-order Taylor expansion around the input, reducing multiple backward passes to a single step and achieving an approximate 4× training speedup over iterative baselines like AdaAD.
                    ┌── Transferable (High Entropy) ──> Weighted Adversarial Distillation (L_SAAD)
Student Attack ────>│
                    └── Non-Transferable (Low Entropy) ─> Clean Distillation (L_SAAD-C)

Datasets

The authors evaluate models on standard vision benchmarks:

  • CIFAR-10 and CIFAR-100
  • Tiny-ImageNet
  • OODRobustBench: Used to evaluate out-of-distribution robustness against naturally shifted data (blur, noise) and unseen attack threat models.

Key Insights and Ideas

  • Stronger Teachers Are Not Always Better Tutors: A teacher with 73.7% AutoAttack accuracy resulted in a student with only ~44% accuracy under standard AD, whereas a weaker 56.9% teacher yielded a 52.2% robust student.
  • The Root Cause Is Behavioral Alignment: Successful distillation requires student attacks to perturb the teacher's representations similarly to the teacher's own worst-case perturbations. When attacks do not transfer, the teacher’s rigid, low-entropy soft labels act like noisy hard labels.
  • Overconfidence Drives Robust Overfitting: Just as in clean classification, overconfident soft labels collapse uncertainty and inflate variance under perturbation, destroying generalization after learning rate decay.
  • Non-Transferable Samples Are Not Garbage: Completely dropping non-transferable samples starves the student of data. Routing non-transferable samples exclusively to clean distillation captures their utility while insulating the model from adversarial noise.

Key Results

Experiments evaluated ResNet-18, MobileNetV2, and PreActResNet-18 across multiple attack suites (FGSM, PGD-20, C&W, and AutoAttack [AA]):

  • Fixing IRT Distillation on CIFAR-10: With a ResNet-18 student distilled from Bartoldson2024Adversarial (WRN-94-16, IRT), baseline methods reached at best 44.94% AA. SAAD achieved 50.34% AA, while SAAD-C hit 50.14% AA with 85.54% clean accuracy (a +1.27% gain over standard PGD-AT).
  • Cross-Dataset Gains:
  • CIFAR-100: SAAD reached 27.58% AA (vs. 24.81% for previous state-of-the-art IGDM and 22.32% for TRADES).
  • Tiny-ImageNet: SAAD reached 23.42% AA (vs. 22.52% for IGDM and 13.33% for TRADES).
  • Robust Default: When paired with an ERT teacher, SAAD matched or slightly exceeded top baselines (52.69% AA vs. 52.55% for IGDM), demonstrating no downside in favorable settings.
  • Training Efficiency: On CIFAR-10 (NVIDIA A6000), SAAD ran at 4.83 epochs/hour, compared to 1.17 epochs/hour for IGDM, while using comparable peak GPU memory.

Limitations and Future Work

  • Diagnostic vs. Causal: The paper identifies teacher overconfidence and low transferability as the mechanisms of failure, but does not explain why certain training regimes produce IRTs in the first place.
  • Scale of Datasets: Evaluations were restricted to small-image benchmarks (CIFAR, Tiny-ImageNet); ImageNet-scale validation remains open.
  • Beyond Vision: Adversarial distillation in NLP (e.g., safeguarding LLMs against jailbreaks or prompt injections) involves discrete tokens and sequence perturbations where continuous entropy-based weighting cannot be directly applied.

Summary updated

BibTeX
@misc{lee2025sample,
  author = {Hongsin Lee and Hye Won Chung},
  title = {{Sample-wise Adaptive Weighting for Transfer Consistency in Adversarial Distillation}},
  year = {2025},
  eprint = {2512.10275},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.10275},
}
Figure