Prediction-Only Distillation in Linear and Logistic Regression

Hien Dang, Pratik Patil, Alessandro Rinaldo

Abstract

Self-distillation (SD) is typically studied when the student is retrained on the teacher’s original training inputs. In many practical deployments, however, the labeled training data are no longer available, and one has access only to the trained predictor and fresh unlabeled covariates. We study SD in this prediction-only regime through a fresh-X prediction-mixed scheme: a pure-distilled student is trained only on fresh covariates pseudo-labeled by the teacher, and the final predictor is an affine combination of the teacher and student predictions. For ridge regression under proportional asymptotics, we derive deterministic equivalents for the optimally mixed prediction risk. This risk is strictly smaller than the teacher risk for almost every pair of teacher and student regularization levels, including when the fresh covariates are out-of-distribution and even when their covariance is isotropic. Increasing the amount of fresh unlabeled data can worsen the optimally mixed risk at fixed student regularization, whereas optimal re-tuning guarantees non-increasing risk. Furthermore, we show that the optimal mixing weight is not identifiable in general from unlabeled covariates and teacher predictions alone, but can be consistently estimated in a single post-training step using a small independent labeled calibration set, without additional model fitting. Finally, as an extension, for binary logistic regression, we demonstrate that prediction mixing can outperform both the teacher and the pure-distilled classifier.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Caltech-101Optimal PMSD studentTest classification accuracy72.7%split: test · linear-probe · backbone=ResNet-34
Source quote
L3595: Optimal PMSD student (%) │ 63.1 │ 65.6 │ 66.8 │ 68.3 │ 69.6 │ 68.9 │ 69.2 │ 72.7 │ 63.0
Caltech-101TeacherTest classification accuracy67.4%split: test · linear-probe · backbone=ResNet-34
Source quote
L3593: Teacher (%) │ 62.5 │ 62.6 │ 62.6 │ 62.9 │ 63.5 │ 65.3 │ 69.3 │ 67.4 │ 45.6
Caltech-101PD studentTest classification accuracy41.3%split: test · linear-probe · backbone=ResNet-34
Source quote
L3594: PD student (%) │ 62.7 │ 63.3 │ 65.2 │ 67.7 │ 69.4 │ 68.4 │ 61.6 │ 41.3 │ 26.2
CIFAR-100 · random corruptionOptimal PMSD studentTest classification accuracy49.5%split: test · linear-probe · backbone=ResNet-34
Source quote
L3690: Optimal PMSD student (%) │ 50.5 │ 50.6 │ 51.5 │ 53.3 │ 54.0 │ 53.5 │ 56.1 │ 49.5 │ 40.3
CIFAR-100 · random corruptionTeacherTest classification accuracy45.4%split: test · linear-probe · backbone=ResNet-34
Source quote
L3688: Teacher (%) │ 47.8 │ 47.9 │ 48.0 │ 48.5 │ 49.8 │ 52.7 │ 54.2 │ 45.4 │ 31.7
CIFAR-100 · random corruptionPD studentTest classification accuracy16.0%split: test · linear-probe · backbone=ResNet-34
Source quote
L3689: PD student (%) │ 48.3 │ 49.3 │ 50.6 │ 52.3 │ 54.0 │ 52.6 │ 39.9 │ 16.0 │ 2.3
BibTeX
@inproceedings{dang2026prediction,
  author = {Hien Dang and Pratik Patil and Alessandro Rinaldo},
  title = {{Prediction-Only Distillation in Linear and Logistic Regression}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=nzmFTRyjKB},
}
Figure