arXiv:2609.31155cs.LGSep 2026

Manuscript Offprint

arXiv:2609.31155

Teacher-Anchored Selection of Post-Training Quantized Models under Domain Shift

Alejandro Rodriguez Dominguez, Muhammad Shahzad, Xia Hong

Abstract

Compressing a trained model yields a family of deployment candidates, and under domain shift the most compressed one need not be the one to deploy. We study selection over such a family, with candidates and teacher fixed and target labels absent or scarce. Two findings organize the label-free case. Minimum teacher distortion behaves almost as a constant rule, selecting the same eight-bit, per-channel, unclipped configuration in every run, which does not minimize empirical target cross-entropy. Established estimators divide sharply: in the overconfident-collapse regime of the CNN families, confidence-based estimators order the family close to backwards, and the diagnostics that identify it need the labels the setting denies, while output-distribution estimators match the teacher-relative anchor and on one architecture beat it. Distortion is nonetheless stable, so a supervised term can move selection away from it. Combining the two, we give exact quadratic identities for a canonical quadratic analogue of the family. We also show that under symmetric corruption the label-dependent part of a criterion linear in the label indicator is multiplied by one common factor whenever its coefficient sums are candidate-invariant, a class holding teacher contrasts and accuracy but not cross-entropy. These characterize the score's components without bounding selection regret. Across one hundred and thirty-four candidate families, one per independently trained convolutional or Vision Transformer teacher, anchoring reduces mean regret at the smallest label budget in every setting, an advantage that fades beyond twenty-five labels.

1 Introduction

Model compression usually produces several plausible deployment candidates rather than one preferable model (Cheng et al. 2018). Post-training quantization is a clear example (Jacob et al. 2018), where bit widths, clipping thresholds, granularity and layer configurations generate a family derived from one full-precision teacher (Gou et al. 2021; Hinton, Vinyals, and Dean 2015), and recent methods keep enlarging it by tuning parameters per layer (Ranjan and Savakis 2026; Arai and Ichikawa 2025). Under domain shift, candidates that behave alike on source or calibration data can have very different target risks (Ovadia et al. 2019; Minderer et al. 2021), so the construction criterion need not identify the best model to deploy.

This is a deployment-time problem distinct from candidate construction: given an already built family sharing a teacher, which candidate should be used on the target domain? Candidates are neither retrained nor adapted during selection, and the held-out target test set is used only for evaluation. The objective is the candidate with lowest target cross-entropy. Operational constraints such as memory, latency or energy are assumed to have restricted the family beforehand, so we study selection within an admissible family, not the broader problem of trading risk against cost.

Two signals are available and neither suffices alone. Distance to the shared teacher needs no labels and is stable across resamples (Liu et al. 2023), but on standard grids the candidate closest to its teacher is almost always the least-compressed one, so its ranking is nearly fixed in advance. A small labeled target sample measures the objective directly but at the budgets a practitioner will spend is dominated by variance (Okanovic et al. 2025), and corrupted labels degrade its ordering further (Chen et al. 2021). The failures are complementary, one biased but stable and the other unbiased but noisy, which is where shrinkage should help.

Anchored selection makes that shrinkage explicit: the label-free distortion is the base score, the supervised loss enters as a weighted correction, and the weight is chosen by cross-validation inside the labeled sample, so the labels move the choice away from the teacher only as far as they support. The construction admits exact analysis. Quadratic identities relate the members of a canonical quadratic analogue of the family and make explicit what each supervised term adds beyond the teacher distance; the selector we evaluate replaces the squared distortion with KL and tunes its coefficient, so the identities characterize components without governing regret. Under symmetric corruption the label-dependent part of a criterion linear in the label indicator attenuates by a single common factor whenever its coefficient sums do not vary across candidates. That covers validation accuracy as well as the Brier score (Gneiting and Raftery 2007), so the result describes a class rather than favouring any member of it.

Our contributions are to formulate deployment-time selection over a fixed family sharing a teacher and to characterize its label-free baselines, showing that the teacher-relative rule is close to degenerate, that confidence-based estimators can fail catastrophically under overconfident quantization collapse in a way that depends on a regime not identifiable without target labels, and that output-distribution estimators remain competitive with the anchor and on one architec-ture outperform it; to develop the anchored family, together with quadratic identities for its canonical quadratic analogue; to prove the attenuation result; and to show that anchoring improves on direct validation at the smallest label budgets, an advantage that fades as the supervised estimate becomes reliable alone.

References (28)