When a large language model teaches a small one through knowledge distillation (training the small "student" to copy the large "teacher's" full probability distribution over the next token), every soft target mixes two kinds of information. The first is what this particular input actually implies. The second is a background preference for frequent tokens that the teacher would express almost regardless of input, such as function words, small digits, generic nouns, and favored label words. Work on prompting has shown that this second part, called common token bias, can be measured by feeding the model a content-free input and seeing what it predicts anyway. Work on distillation has separately found that students gain little from "easy" tokens and that very large teachers can make students worse. This note proposes that these are the same phenomenon viewed from two sides. A small student can absorb the cheap, input-independent prior almost for free. What it struggles to absorb across the capacity gap is how the teacher's prediction shifts away from that prior because of the context.
The proposal is to measure that shift directly during distillation. Alongside every training example, we run the teacher once more with the instruction replaced by content-free filler from the same domain. We then supervise the student on the difference between the two teacher predictions, the contextual information gain, rather than only on the raw distribution. If the idea is right, it should explain which tokens are really "easy," it should reduce the label bias that instruction-tuned teachers pass to students, and it should soften the large-teacher paradox. It also gives a concrete test of whether the teacher's "dark knowledge" (the relative probabilities of non-target tokens) is worth preserving as is, or whether that tail is partly frequency noise.
Core Claim
Let $x$ be the instruction, $y_{<t}$ the response prefix, and $\tilde{x}$ a content-free replacement for the instruction. The replacement consists of words sampled at random from the unlabeled task data, matched in length and wrapped in the same template. For a model $M$ and vocabulary item $v$, define the contextual gain as
$$g_M(v) = \log p_M(v \mid x, y_{<t}) - \log p_M(v \mid \tilde{x}, y_{<t}),$$
which measures how much the actual instruction moves the model toward or away from $v$ at this position. Our claim has two parts.
The first part is a diagnostic claim. The tokens that token-adaptive distillation methods call "easy" are mostly tokens with near-zero teacher gain, where the teacher is confident because of the prior and not because of the input. The student-teacher mismatch that grows with teacher size lives mainly in the gain component, not the prior component.
The second part is a method claim. A student trained to match the teacher's gain on the teacher's top-$k$ candidate tokens, with standard distillation weighted toward high-gain positions, will beat divergence-based token selection and temperature-based teacher calibration. It will also inherit less label bias. The objective is
$$\mathcal{L} = \sum_t w_t \,\mathrm{KL}\big(p_T(\cdot \mid x, y_{<t}) \,\|\, p_S(\cdot \mid x, y_{<t})\big) + \lambda \sum_t \sum_{v \in \mathrm{top}_k(T)} \big(g_T(v) - g_S(v)\big)^2,$$
where $w_t$ increases with the teacher's total gain at position $t$ (its KL from the content-free prediction), and $\lambda$ trades off the two terms.
This objective deliberately does not replace the teacher's target with a debiased distribution such as $p_T(v \mid x)/p_T(v \mid \tilde{x})$. The student still needs the prior to write fluent text. The goal is for the student to learn the prior and the context effect as separate things, rather than learning a blend in which the prior dominates.
Relation to Prior Work
The prompting literature supplies the measurement technique. Calibrate Before Use named common token bias as a source of few-shot instability and removed it at inference by dividing out the prediction on inputs like "N/A." Mitigating Label Biases for In-context Learning showed that generic null strings fail when tasks carry strong domain vocabulary. It replaced them with random in-domain words of matched length, which is the construction we reuse for $\tilde{x}$. Beyond Performance showed that instruction-tuned models react unpredictably to artificial null strings, which constrains our design. It also showed that instruction tuning raises probabilistic label bias, measured as BiasScore (how far the model's average predicted distribution sits from uniform), even as accuracy rises. That finding motivates the worry that instruction-tuned teachers pass bias to students. All three papers correct frozen models at test time. None asks what a student learns when trained on biased targets.
Two distillation papers motivate the diagnostic claim. Revisiting Knowledge Distillation for Autoregressive Language Models found that large teachers become peaky and that distilling easy tokens produces shallow mimicry. Its method, ATKD, sorts tokens by teacher uncertainty. LLM-Oriented Token-Adaptive Knowledge Distillation described an "easy token trap," where gradients on mastered tokens become nearly orthogonal to the task. Its method, AdaKD, selects tokens by student-teacher Hellinger distance (a measure of how different two distributions are) and sets per-token temperatures. Both define difficulty from the observed distributions alone. Neither separates confidence caused by the input from confidence caused by frequency. That separation is our contribution, and a large overlap between their token sets and ours would falsify it.
Two further papers constrain the method. The Role of Teacher Calibration in Knowledge Distillation found that teacher calibration error predicts student accuracy far better than teacher accuracy does, with $R^2$ of 0.90 to 0.92 versus 0.55 to 0.67. Its intervention, however, is a single global temperature, which cannot change the ranking of prior-favored tokens. LoCa corrects the teacher's target logit while keeping non-target ratios exactly fixed, on the assumption that those ratios are pure dark knowledge. Evidence that tails lean toward generic, frequent tokens, from Can Language Models Be Specific? How? and Benford's Curse, directly challenges that assumption. Our gain term tests it: if preserving raw tail ratios is correct, the gain term should add nothing. Finally, Covert Trait Propagation Is Representation Alignment warns that ratio metrics can manufacture spurious frequency effects. For that reason, every bias-transfer result we report will be checked against a frequency-matched control.
Research Program
The work has three stages.
The first stage is purely diagnostic and costs only teacher and student forward passes. For teacher-student pairs of increasing size gap, we compute on held-out instruction data the per-position teacher gain. We also split the student-teacher KL into a prior part (student and teacher disagreeing on the content-free prediction) and a gain part (disagreeing on the shift). We then measure how much ATKD's uncertainty-based easy/hard split and AdaKD's Hellinger-based split overlap with a gain-based split at matched token budgets.
If the overlap is very high, the gain view adds nothing operationally, and we stop at a descriptive paper. If it is moderate, we examine the disagreements. These are high-confidence, high-gain tokens, where the context is decisive and the prediction happens to be easy, and uncertain, low-gain tokens, which are ambiguous no matter the input. These two groups are where the methods will differ.
The second stage trains students with the objective above. We also run two cheaper variants of the prior. One uses a single global prior vector, the teacher's average predicted distribution over the training corpus. The other uses raw corpus unigram frequencies. These variants tell us whether the context-specific content-free pass is actually needed.
The third stage measures what the student inherited. We compute BiasScore and class-wise accuracy spread on classification tasks, and the distribution of digits and the rate of generic nouns in open generation. In each case we compare the student with its teacher and with a student trained without the gain term.
The extra cost is one teacher forward pass per example, plus one student pass on $\tilde{x}$ for the gain term, restricted to the teacher's top-$k$ tokens. To stay compute-fair, we cache teacher outputs and match total training FLOPs against baselines by giving the baselines additional steps.
Baselines
The naive reference points are supervised fine-tuning on the reference responses and vanilla token-level distillation with full forward KL. Both are run on the same data, for the same number of steps, with the same learning-rate sweep.
The strongest existing competitor for token selection is AdaKD from LLM-Oriented Token-Adaptive Knowledge Distillation, because it targets exactly the easy-token problem we reinterpret. On Qwen2-7B to Qwen2-1.5B trained on Dolly, it reports ROUGE-L gains of 1.27 to 1.60 points over its base distillation methods across Dolly-eval, Vicuna-eval, S-NI and UnNI. The file gives these as gains rather than absolute scores, so we will reproduce AdaKD in our own pipeline and compare against the reproduced absolute numbers. ATKD from Revisiting Knowledge Distillation for Autoregressive Language Models is the strongest competitor on the large-teacher paradox. It reports average score gains of up to +3.04% on OPT, Pythia and LLaMA while scaling teachers from 1.3B to 6.7B. We rerun it on the same teacher ladder.
For calibration baselines, we use global teacher temperature tuned on validation data, following The Role of Teacher Calibration in Knowledge Distillation, and LoCa's ratio-preserving correction from LoCa. Every baseline gets the same hyperparameter search budget as our method.
Three ablations isolate the key ingredient. The first uses the gain-based weighting $w_t$ without the gain-matching term. The second uses the gain-matching term with uniform weights. The third replaces the context-specific content-free pass with a global prior or with corpus unigram frequencies.
Beating the baselines means two things. The full method must exceed reproduced AdaKD and ATKD beyond seed variance, which we estimate from three seeds. It must also show a student-teacher gap that no longer widens, or widens less, as the teacher grows. Separately, it must lower student BiasScore relative to vanilla distillation without hurting accuracy.
Why not just…?
Why not just soften the teacher with a global temperature? A single temperature rescales every logit by the same factor. It therefore cannot change which tokens the teacher's prior favors, and it cannot separate a confident, context-driven prediction from a confident, frequency-driven one. The global-temperature baseline, tuned on validation data, is in the comparison. AdaKD already reports that one temperature for all tokens is inferior to per-token temperatures, so we expect this baseline to trail. We will report it regardless.
Why not just reweight tokens by inverse corpus frequency? This is the most serious threat. If the teacher's content-free prediction mostly tracks how often each token appears in the corpus, then counting frequencies gives the same signal with no extra forward pass. The corpus-unigram ablation tests exactly this. Our reason to expect a gap is that the content-free prediction depends on the template, the domain and the response prefix, all of which unigram counts ignore. Mitigating Label Biases for In-context Learning found that domain-specific priors beat generic ones for this reason. If unigram reweighting matches our method, we will say so and recommend it as the cheaper method. The diagnostic contribution would stand even then.
Why not just distill normally and calibrate the student at test time? Test-time calibration works only where there is a fixed label set. It does not address open-ended generation, which is most of the evaluation suite. It also cannot undo what the student failed to learn during training. We include it anyway: on the S-NI classification tasks, we apply leave-one-out calibration, the LOOC method from Beyond Performance, to the vanilla-distilled student. If that closes the BiasScore gap, the bias-transfer part of our claim is moot for classification.
Why not just use an intermediate teaching-assistant model? Progressive distillation, as in PROD, requires training extra models. Moreover, intermediate-size models carry the same frequency and label biases as large ones (Mitigating Label Biases for In-context Learning). We treat this as complementary rather than competing and do not test it in the main study.
Proposed Experiments
The primary setting reproduces AdaKD's: Qwen2-7B to Qwen2-1.5B and OpenLLaMA2-7B to 3B, trained on databricks-dolly-15k, evaluated by ROUGE-L on Dolly-eval, Vicuna-eval, Self-Instruct, S-NI and UnNI. The capacity-gap setting reproduces ATKD's: OPT and Pythia teachers from 1.3B to 6.7B distilled into the smallest family member, trained on Alpaca-GPT4, evaluated on MMLU, DROP and BBH as well as the generation sets.
Bias transfer is measured with BiasScore and class-wise accuracy spread on the S-NI classification tasks used in Beyond Performance. Generation-side bias is measured by the distribution of leading digits in DROP numerical answers, compared against the reference answers. No reported result was found on Lacuna for student BiasScore after distillation, so the vanilla-distillation student serves as our reference.
Four checks decide the outcome.
The first is overlap. If gain-based token sets and AdaKD's Hellinger-based sets overlap above roughly 90% at matched budgets, the reinterpretation is empty.
The second is where the gap grows. Along the teacher-size ladder, the gain part of the student-teacher KL should grow faster than the prior part. If the two grow at the same rate, capacity limits are not specific to the context effect.
The third concerns bias transfer. Student BiasScore under vanilla distillation should rise with teacher BiasScore, and the gain term should cut that link. We check this against a control that matches token frequencies, to avoid the ratio artifact flagged by Covert Trait Propagation Is Representation Alignment.
The fourth is the prior ablation. The context-specific content-free pass must beat the corpus-unigram and global-prior variants. If it does not, the practical recommendation becomes frequency reweighting, and we will report it that way.
References
- Calibrate Before Use: Improving Few-shot Performance of Language Models
- Mitigating Label Biases for In-context Learning
- Beyond Performance: Quantifying and Mitigating Label Bias in LLMs
- Revisiting Knowledge Distillation for Autoregressive Language Models
- LLM-Oriented Token-Adaptive Knowledge Distillation
- The Role of Teacher Calibration in Knowledge Distillation
- LoCa: Logit Calibration for Knowledge Distillation
- Can Language Models Be Specific? How?
- Benford’s Curse: Tracing Digit Bias to Numerical Hallucination in LLMs
- Covert Trait Propagation Is Representation Alignment: Mechanistic Evidence from Hidden-Channel Distillation
- PROD: Progressive Distillation for Dense Retrieval