Optimal Unconstrained Self-Distillation in Ridge Regression: Strict Improvements, Precise Asymptotics, and One-Shot Tuning
Organizations: Department of Statistics and Data Sciences, University of Texas, Austin, TX 78712, USA.
Abstract
Self-distillation (SD) is the process of retraining a student on a mixture of ground-truth labels and the teacher's own predictions using the same architecture and training data. Although SD has been empirically shown to often improve generalization, its formal guarantees remain limited. We study SD for ridge regression in unconstrained setting in which the mixing weight may be outside the unit interval. Conditioned on the training data and without any distributional assumptions, we prove that for any squared prediction risk (including out-of-distribution), the optimally mixed student strictly improves upon the ridge teacher for every regularization level at which the teacher ridge risk is nonstationary (i.e., ). We obtain a closed-form expression for the optimal mixing weight for any value of and show that it obeys the sign rule: . In particular, can be negative, which is the case in over-regularized regimes. To quantify the risk improvement due to SD, we derive exact deterministic equivalents for the optimal SD risk in the proportional asymptotics regime (where the sample and feature sizes and both diverge but their aspect ratio converges) under general anisotropic covariance and deterministic signals. Our asymptotic analysis extends standard second-order ridge deterministic equivalents to their fourth-order analogs using block linearization, which may be of independent interest. From a practical standpoint, we propose a consistent one-shot tuning method to estimate without grid search, sample splitting, or refitting. Experiments on real-world datasets and pretrained neural network features support our theory and the one-shot tuning method.
Figures & tables
| Paper | Focus | Nonasymptotic setting | Proportional asymptotics | Weights | Multi-rounds | ||||||
| Type | Family | Design | Response | Risk | Features | Signal | Model | Range | Tuning | ||
| 14 | SD | Ridge | Fixed | Linear | Estimation | ||||||
| 43 | SD | Ridge | Fixed | Linear | Fixed-X prediction | Split CV (three refits) | Yes | ||||
| 21 | PD | Ridgeless | Random | Linear | In-distribution prediction | ||||||
| 42 | PD | Ridge (generalized) | Isotropic | Isotropic | Linear | ||||||
| 23 | SD | Ridge (infinite rounds) | Anisotropic | Deterministic | Linear | Infinite rounds only | |||||
| Dataset | Illustration | ( 10 ) holds? | Global gain? |
| BlogFeedback | Figure 2(a) | ✓ | ✓ |
| Communities and Crime | Figure 2(b) | ✗ | ✗ |
| CIFAR10 | Figure 2(c) | ✗ | ✗ |
| Air Quality | Figure 3 | ✓ | ✓ |
Appendix figures & tables16 assets
Supplementary material from the paper’s appendix.
Appendix
| Section | Subsection | Purpose |
| Proofs in Section 2 | ||
| Appendix A | Section A.1 | Preliminaries |
| Section A.2 | Proof of Equation 4 | |
| Section A.3 | Proof of Proposition 2.1 | |
| Section A.4 | Proof of Theorem 2.2 | |
| Section A.5 | Proof of Proposition 2.3 | |
| Notation | Description |
| Typography | |
| Lowercase (e.g., ) | Scalars or vectors |
| Uppercase (e.g., ) | Matrices or linear operators |
| Calligraphic (e.g., , ) | Sets, -fields, events or certain limiting functions |
| Blackboard bold (e.g., , ) | Standard number systems |
| Analysis |
Self-Distillation
Self-distillation trains a model from its own predictions, representations, or experience to improve capability, efficiency, and robustness.
See all 131 papers