Calibrated Prediction-Mixed Distillation
Implementation & benchmark of arXiv:2607.15450 — Prediction-Only Distillation in Linear and Logistic Regression
Source paper: Prediction-Only Distillation in Linear and Logistic Regression arXiv:2607.15450 ⓘ · analyzed Aug 30, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Use fresh unlabeled covariates to train a frozen-teacher student against pseudo-labels, then form an affine combination of teacher and student predictions. Estimate the combination weight on a small independent labeled calibration set, requiring no access to the teacher training data and no additional teacher or student fitting.
Formulas
Mathematical statement
The paper defines the teacher ridge predictor as f_{lambda_t}(x) = x^T argmin_beta { ||y - X beta||_2^2 / n_t + lambda_t ||beta||_2^2 }, where X is the unavailable teacher design matrix, y is its unavailable label vector, n_t is the teacher sample count, p is the feature dimension, and lambda_t > 0 is the teacher regularization. Let Z in R^{m x p} be fresh unlabeled covariates, t_i = f_{lambda_t}(z_i) be queried teacher predictions, and fit a student beta_s by minimizing m^{-1} ||t - Z beta||_2^2 + lambda_s ||beta||_2^2, where lambda_s >= 0. The student prediction is s(x) = x^T beta_s. The mixed predictor is g_alpha(x) = (1 - alpha) f_{lambda_t}(x) + alpha s(x) = f_{lambda_t}(x) + alpha (s(x) - f_{lambda_t}(x)). On an independent labeled calibration set, the least-squares scalar mixture coefficient is alpha_hat = clip_[0,1](sum_j (s_j - t_j)(y_j - t_j) / (sum_j (s_j - t_j)^2 + epsilon)), where epsilon > 0 prevents division by zero. The numerator estimates covariance between teacher residuals and the student correction, and the denominator estimates correction variance.
Implementation notes
Integrate this as a post-training adaptation module around a frozen regression model or regression head. The teacher may be a neural network whose parameters are inaccessible; only a prediction API is required. First, sample a fresh unlabeled adaptation matrix Z from the deployment or target covariate distribution, query the teacher in batches to obtain t = f_T(Z), and train a small student model on the pairs (Z, t). For the first MVP, use a linear ridge student with beta_s = (Z^T Z / m + lambda_s I)^{-1} Z^T t / m, where m is the number of adaptation covariates, lambda_s is a tunable nonnegative regularization coefficient, and I is the p by p identity matrix. If the teacher exposes frozen embeddings, use those embeddings as Z and fit only a ridge output head. Next, reserve a separate labeled calibration set (X_c, y_c) that was not used for student fitting. Compute teacher predictions t_c = f_T(X_c), student predictions s_c = X_c beta_s, correction d_c = s_c - t_c, and teacher residual r_c = y_c - t_c. Set alpha_hat = clip_[0,1](d_c^T r_c / (d_c^T d_c + epsilon)). At inference, return f_T(x) + alpha_hat (s(x) - f_T(x)); alpha = 0 reproduces the teacher and alpha = 1 gives the pure student. The mathematical quantities computed exactly are the ridge solution and closed-form mixture coefficient; the target covariate distribution, residual covariance, and test risk are estimated empirically. Begin with California Housing or a synthetic anisotropic linear-regression task, deliberately use an over-regularized or distribution-shifted teacher, and compare the teacher, pure student, mixed predictor, and supervised fine-tuning using the same calibration-label budget. The primary success signal is lower target-domain MSE than both teacher and pure student, particularly when the unlabeled adaptation set is large and the labeled calibration set is small, with no teacher retraining and only one additional student evaluation at inference.
Verification
This idea has not been verified yet.
Verification happens in two stages: Stage 1 — a mechanism check on a toy system confirms the claimed mathematical phenomenon reproduces; Stage 2 — a benchmark implements the idea on a real (small) neural network task and compares it against a tuned baseline over 8 paired seeds with a permutation test.
Artifacts
Artifacts unavailable.