Introduction
Deep neural networks (DNNs) are highly susceptible to adversarial attacks—small, intentional perturbations that can cause a model to misclassify inputs. While training robust models is possible, it is often computationally prohibitive. Adversarial Knowledge Distillation (AKD) offers a more efficient alternative by training a "student" model to mimic a robust "teacher." However, traditional AKD typically uses a single teacher or multiple teachers with similar (homogeneous) architectures. This often leads to the student inheriting the specific vulnerabilities of the teacher architecture due to adversarial transferability.
The DARHT Framework
The authors propose DARHT (Distilling Adversarial Robustness using Heterogeneous Teachers) to address these limitations. DARHT leverages a diverse committee of teachers with different architectural biases (e.g., CNNs and Vision Transformers) to provide a more comprehensive robustness signal.
Core Components
- Teacher Heterogeneity: By combining architectures like ResNets (CNNs) and Vision Transformers (ViTs), DARHT ensures that the student learns from models with non-overlapping "blind spots." An attack that exploits a CNN's texture bias might be correctly handled by a ViT's global attention mechanism.
- Logit-Feature Map Distillation: The student model incorporates a specialized internal feature map that explicitly represents the teachers' logits, allowing for a more precise transfer of decision boundaries.
- Inverse Cross-Entropy Weighting: DARHT employs a dynamic weighting scheme where the student prioritizes the advice of the most "confident" and "correct" teacher for any given input sample.
- Monte Carlo (MC) Dropout: The student uses MC dropout during training to average multiple internal predictions, enhancing its ability to handle uncertainty and resist perturbations.
Key Insights: Diversity Over Accuracy
A central finding of the paper is that architectural diversity is often more valuable than individual teacher accuracy. A set of diverse teachers with moderate individual performance can produce a more robust student than a set of highly accurate but architecturally identical teachers. This is because diverse teachers provide a more holistic view of the data manifold, effectively reducing the transferability of adversarial examples.
Experimental Results
DARHT was evaluated on CIFAR-10, CIFAR-100, and Tiny ImageNet. It consistently outperformed state-of-the-art methods such as RSLAD and MTARD.
- Robustness Gains: On CIFAR-100, DARHT improved weighted robust accuracy by 3.66% against Auto-PGD and 4.76% against Square Attack. On Tiny ImageNet, the improvement reached 25.75% for Auto-PGD.
- Clean Accuracy: Unlike many robust training methods that significantly degrade performance on unperturbed data, DARHT maintains high clean accuracy (e.g., 66.98% on CIFAR-100).
Conclusion and Future Work
DARHT demonstrates that distilling from a heterogeneous committee is a powerful strategy for building robust neural networks. By breaking the architectural homogeneity of traditional distillation, students can achieve state-of-the-art resilience. Future work includes scaling DARHT to larger datasets like ImageNet-1k and developing more formal criteria for optimal teacher selection.
Summary updated