Abstract
Self-distillation (SD) is the process of first training a "teacher" model and then using its predictions to train a "student" model with the same architecture. Specifically, the student's objective function is $(\xi * \ell(\text{teacher's predictions}, \text{ student's predictions}) + (1-\xi) * \ell(\text{given labels}, \text{ student's predictions}))$, where $\ell$ is a loss function and $\xi \in [0,1]$. Empirically, SD has been observed to provide performance gains in several settings. This paper theoretically characterizes the effect of SD in two supervised learning problems with noisy labels. We analyze SD for regularized linear regression and show that in high label noise regimes, the optimal value of $\xi$ is surprisingly greater than 1. We further quantify when optimal SD outperforms optimal regularization and analyze SD in logistic regression for binary classification, providing the first result of its kind for cross-entropy loss.
Introduction
Deep learning models are notoriously sensitive to the quality of training data. In real-world scenarios, datasets often contain label noise—samples incorrectly categorized due to human error or automated labeling flaws. While Knowledge Distillation (KD) was originally intended for model compression, Self-Distillation (SD)—where the teacher and student share the same architecture—has emerged as a robust defense against such noise. This research investigates why a student model, trained on the same data as its teacher, can achieve superior accuracy, particularly when labels are corrupted.
Methodology
The study analyzes SD through two mathematical frameworks: regularized linear regression (squared loss) and logistic regression (cross-entropy loss). The core of the approach is the student's objective function, which balances the teacher's "dark knowledge" against the original noisy labels using an imitation parameter $\xi$.
While standard practice restricts $\xi$ to $[0, 1]$, this paper explores the regime where $\xi > 1$. To handle the non-linearity of cross-entropy loss in logistic regression, the authors utilized a novel proof technique involving the first-order Maclaurin series expansion of the sigmoid function.
Key Insights: Bias-Variance and "Anti-Learning"
The primary mechanism behind SD's success is its role as a variance reducer. By prioritizing the teacher's smoothed predictions, the student filters out high-frequency noise present in the original labels. Although this introduces a slight bias (inheriting systematic teacher errors), the significant reduction in variance improves overall accuracy.
In high-noise environments, the optimal strategy is often "anti-learning" ($\xi > 1$). In this regime, the student effectively subtracts the influence of the original noisy labels to favor the teacher's cleaner internal representation. This leads to more homogeneous predictions, where the student's confidence scores vary less within a class than the teacher's, indicating successful noise filtration.
SD vs. Regularization
A critical finding is that SD is not merely a variant of $\ell_2$ regularization (weight decay). The theoretical analysis demonstrates that optimal SD can achieve a lower estimation error than even the most finely-tuned $\ell_2$ regularization alone.
As shown in the figures above, the estimation error for self-distillation ($e_{sd}$) consistently reaches lower minima than the error for standard regularization ($e_{reg}$), particularly as the noise characteristics change. This visual evidence supports the claim that SD provides a unique advantage in parameter estimation that cannot be replicated by standard regularization techniques.
Empirical Results
The researchers validated these theories using benchmarks like CIFAR-100, Caltech-256, and Food-101 under various corruption types (random, hierarchical, and adversarial).
- Theoretical Guarantee: For binary classification, Theorem 5 proves a range of label corruption where the student achieves 100% population accuracy while the teacher remains limited by the noise level.
- Performance Gains: On Caltech-256 with 50% random noise, a ResNet-34 student outperformed its teacher by over 10% in test accuracy using $\xi = 1.5$.
- Consistency: The benefits of the $\xi > 1$ regime held across all tested noise types, confirming "anti-learning" as a general property of SD in noisy settings.
Conclusion and Future Work
This work provides a theoretical foundation for the empirical success of self-distillation. While the results for linear probing and specific data geometries are robust, future research is needed to determine if these $\xi > 1$ dynamics persist during full-network fine-tuning. Additionally, extending the formal proof for the $\xi > 1$ regime specifically to cross-entropy loss remains a primary objective for future theoretical exploration.
Summary updated