[Paper Review] Even your Teacher Needs Guidance: Ground-Truth Targets Dampen Regularization Imposed by Self-Distillation
This paper provides the first theoretical analysis of self-distillation in kernel regression, showing that incorporating ground-truth targets at each distillation step effectively amplifies regularization. It derives a closed-form solution for optimal weighting parameters and proves that infinite distillation steps converge to a kernel ridge regression problem with increased regularization, explaining why self-distillation improves generalization beyond mere knowledge transfer.
Knowledge distillation is classically a procedure where a neural network is trained on the output of another network along with the original targets in order to transfer knowledge between the architectures. The special case of self-distillation, where the network architectures are identical, has been observed to improve generalization accuracy. In this paper, we consider an iterative variant of self-distillation in a kernel regression setting, in which successive steps incorporate both model outputs and the ground-truth targets. This allows us to provide the first theoretical results on the importance of using the weighted ground-truth targets in self-distillation. Our focus is on fitting nonlinear functions to training data with a weighted mean square error objective function suitable for distillation, subject to $\ell_2$ regularization of the model parameters. We show that any such function obtained with self-distillation can be calculated directly as a function of the initial fit, and that infinite distillation steps yields the same optimization problem as the original with amplified regularization. Furthermore, we provide a closed form solution for the optimal choice of weighting parameter at each step, and show how to efficiently estimate this weighting parameter for deep learning and significantly reduce the computational requirements compared to a grid search.
Motivation & Objective
- To theoretically explain why self-distillation improves generalization despite no new data.
- To analyze the role of ground-truth targets in iterative self-distillation under $μat$-regularization.
- To derive a closed-form solution for the optimal weighting parameter $α$ at each distillation step.
- To characterize the limiting behavior of infinite distillation steps in a kernel regression framework.
- To show that self-distillation is equivalent to solving a kernel ridge regression problem with amplified regularization.
Proposed method
- Formulates self-distillation as an iterative optimization problem with a weighted mean square error objective combining ground-truth and model-predicted targets.
- Uses kernel ridge regression with $μat$-regularization to model deep learning generalization in the over-parameterized regime.
- Applies Karush-Kuhn-Tucker (KKT) conditions to derive the optimal solution for each distillation step.
- Derives a closed-form expression for the optimal weighting parameter $α$ using Green’s functions and spectral decomposition of the kernel matrix.
- Establishes that the solution at step $τ$ depends only on the initial fit and the sequence of weighting parameters.
- Proves that the limit of infinite distillation steps is equivalent to solving the original problem with increased regularization.
Experimental results
Research questions
- RQ1How does the inclusion of ground-truth targets affect the regularization strength in iterative self-distillation?
- RQ2What is the optimal weighting between ground-truth and model-predicted targets at each distillation step?
- RQ3Does infinite self-distillation converge to a well-defined optimization problem?
- RQ4Can the iterative self-distillation process be reduced to a closed-form solution?
- RQ5How does self-distillation relate to kernel ridge regression with amplified regularization?
Key findings
- Any model obtained via self-distillation can be computed directly from the initial model fit, without iterative retraining.
- Infinite distillation steps converge to the same solution as kernel ridge regression with a regularization parameter scaled by $\frac{1}{1-\alpha}$.
- The optimal weighting parameter $\alpha$ at each step has a closed-form expression derived from the kernel matrix and target norms.
- The method enables efficient estimation of $\alpha$ without grid search, significantly reducing computational cost.
- The theoretical framework explains why self-distillation improves generalization: it effectively increases regularization, reducing overfitting in over-parameterized models.
- The solution at each step $\tau$ is expressed as $\mathbf{y}^{(\tau)} = \mathbf{g}(\mathbf{x})^\top (\mathbf{G} + \lambda_\tau \mathbf{I})^{-1} (\alpha \mathbf{y} + (1-\alpha)\mathbf{y}^{(\tau-1)})$, linking distillation to kernel methods.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.