Knowledge Distillation typically involves a large "teacher" model transferring "dark knowledge" to a smaller "student." Self-distillation (SD) presents a fascinating puzzle: the teacher and student share the exact same architecture. If their capacity is identical, why does the student frequently outperform its teacher? This paper tackles this question by examining SD in the presence of label noise—scenarios where a significant portion of training labels are corrupted.
The Mechanics of Self-Distillation
The authors analyze the standard SD loss function, which balances the teacher's predictions and the ground-truth labels:
$$ \text{Loss} = \xi \cdot \ell(\text{teacher's predictions}) + (1-\xi) \cdot \ell(\text{given labels}) $$
Standard practice restricts the imitation parameter $\xi$ to the range $[0, 1]$. However, the authors break this convention to explore what happens when $\xi > 1$. They analyze SD through two mathematical frameworks:
- Regularized Linear Regression: Using Singular Value Decomposition (SVD), they decompose estimation error into bias and variance, proving that SD acts as a powerful variance-reduction mechanism.
- Logistic Regression: To tackle the more difficult cross-entropy loss, they use Maclaurin series expansions to approximate the non-linear sigmoid function. This allows them to quantify exactly when a student will outperform its teacher in accuracy.
The "Anti-Learning" Breakthrough
The most striking theoretical and empirical finding is the concept of "anti-learning." In high-noise regimes (e.g., 30% or 50% corrupted labels), the optimal $\xi$ is often strictly greater than 1. This means the student assigns a negative weight to the original noisy labels, effectively going against them to follow the teacher's more stable predictions.
SD helps because the teacher's predictions, while biased, have lower variance than the noisy raw labels. The student inherits this lower variance, leading to better generalization and more "homogeneous" predictions (greater consistency across samples of the same class). Furthermore, the authors prove that SD is not merely a substitute for $\ell_2$ regularization—under specific conditions related to the alignment of data features and ground truth, optimal SD strictly outperforms the best possible weight decay.
Empirical Evidence
The theory is validated using linear probing on frozen pre-trained ResNet-34 and VGG-16 backbones across datasets like CIFAR-100, Caltech-256, Food-101, StanfordCars, and Flowers-102. Testing against random, hierarchical, and adversarial label corruption, the results are compelling:
- Theoretical Limits: For binary classification, the authors proved that under certain conditions, a student can achieve 100% population accuracy even when the teacher is stuck at $(1-p)\%$ accuracy (where $p$ is the noise fraction).
- Accuracy Boosts: In experiments with 50% label noise on Caltech-256, setting $\xi = 1.5$ yielded a 10.04% accuracy boost over the teacher.
- Extreme Imitation: Across all datasets and noise types, the best-performing imitation parameter $\xi$ was consistently $> 1$ in high-noise scenarios. On Flowers-102 with 30% noise, the optimal $\xi$ reached a staggering 5.0.
Limitations and Future Directions
While groundbreaking, the theoretical proofs rely on convex models (linear and logistic regression) and assume certain levels of feature orthonormality. Deep learning is inherently non-convex, and extending these proofs to full-network training remains complex. Preliminary results for training a full ResNet-34 from scratch show $\xi = 1.2$ is still optimal, but more extensive experimentation is needed. Additionally, finding the optimal $\xi > 1$ currently requires a clean validation set, which may not always be available in real-world noisy-label scenarios.
Summary updated