JA EN
LearnDistillation & Compression
·★ MEMBER·PAPER·9 min read

Evaluating Distilled Models — Is "Close to the Teacher" a Good Metric?

Score a distilled student by how often it agrees with its teacher and the students that faithfully reproduce the teacher's mistakes come out on top. What agreement actually guarantees, what breaks outside the training distribution, and how to test for contamination that arrives paraphrased through synthetic data.

ModalitytextTaskevaluation

The False Promise of Imitating Proprietary LLMs


Grading the student on how often they matched the teacher

Distillation copies the behaviour of a large teacher model into a smaller student. Since the training objective is "match the teacher," it feels natural to reach for the same yardstick at evaluation time: push a test set through both models and count how often the outputs agree. The number is cheap to produce and needs no gold labels at all.

But that is grading a student on how many answers matched the teacher's paper, not on the exam itself. If the teacher were perfect, agreement and ability would coincide. Real teacher models are not perfect. When the teacher gets a question wrong and the student gets it wrong the same way, agreement goes up. The metric is biased, by construction, in favour of students that faithfully reproduce the teacher's errors.

Worse, high-agreement models look like drop-in replacements. Surface properties — tone, phrasing, formatting, the habit of answering with confidence — transfer from very few samples, so the student reads like the teacher almost immediately. Factual accuracy and multi-step reasoning do not transfer nearly so cheaply. Everything hard about evaluating distilled models lives in that gap between looking close and being close.

What agreement does and does not tell you

Let's be precise. For a test set, write Agr\mathrm{Agr} for the fraction of items where teacher and student produce the same output, aTa_T for the teacher's accuracy, and aSa_S for the student's. The following always holds.

aSaT1Agr|a_S - a_T| \le 1 - \mathrm{Agr}
(1)

In words: high agreement bounds the gap in scores between teacher and student. It says nothing whatsoever about the level of either score.

The derivation is two lines. Whenever the student is right and the teacher is wrong, the two necessarily disagree, so aSaTP(disagree)=1Agra_S - a_T \le P(\text{disagree}) = 1 - \mathrm{Agr}. Swap their roles for the other direction.

As a practical guarantee this is weaker than it sounds. At 90% agreement, all you may conclude is that the student's accuracy lies within ±10\pm 10 points of the teacher's. If the teacher scores 80, the student could be at 70 or at 90 — a band far too wide to decide a model swap on.

Decomposing the agreement makes the bias explicit.

Agr=P(both correct)C+P(both wrong, identically)M\mathrm{Agr} = \underbrace{P(\text{both correct})}_{C} + \underbrace{P(\text{both wrong, identically})}_{M}
(2)

CC is capability that transferred; MM is quirks and errors that transferred. A single agreement number adds them together, so it cannot distinguish a student that inherited the teacher's blind spots wholesale from one that reaches the same score with a different profile of strengths.

Put numbers on it. Teacher at 80, agreement at 90%. CC means "both correct," so it cannot exceed the teacher's 80 — which forces MM to be at least 10 points. If MM is exactly 10, then CC is 80 and the student lands somewhere between 80 and 90. If MM swells to 20, CC drops to 70 and so does the student. The same "90% agreement" describes both the strong student and the degraded one.

There is also a floor from chance agreement. On four-way multiple choice, two models answering at random still match a bit more than a fifth of the time, and on a task whose answers are dominated by one common label the floor is far higher than that. Raw agreement therefore starts from a number that has nothing to do with distillation having worked. If you use agreement diagnostically, subtract that baseline: κ=(AgrAgr0)/(1Agr0)\kappa = (\mathrm{Agr} - \mathrm{Agr}_0) / (1 - \mathrm{Agr}_0) is the honest version of the quantity.

FIG 1Raise the degree slider and training error keeps falling while test error turns around and climbs. Distillation is also a fitting procedure — fitting the teacher's answers — so pushing the fit harder produces the same shape of divergence outside the distilled data

What breaks the moment you leave the distribution

Gudibande et al., in "The False Promise of Imitating Proprietary LLMs," measured this divergence. Models trained to imitate the outputs of a strong proprietary system came close to the target under human preference comparisons, while gaps remained on standard benchmarks probing factual accuracy and reasoning. Imitation buys the voice cheaply; it does not buy the capability. When a person picks between two outputs, the choice is pulled hard by register and confident phrasing, so copying the style raises the win rate on its own.

The fix is to stop reporting one average and stratify.

What's behind this

§

Members-only from here

371 walkthroughs, 26 textbook chapters, 48 student units and 6 close readings — all included for $4.99/mo, with three new explainers every day. Cancel any time; access runs to the end of the period.

Already a member? Sign in to keep reading

References

  1. The False Promise of Imitating Proprietary LLMs. arXiv:2305.15717Paper page·PDF
  2. Distilling the Knowledge in a Neural Network. arXiv:1503.02531Paper page·PDF
  3. On Calibration of Modern Neural Networks. arXiv:1706.04599Paper page·PDF
  4. Evaluating Large Language Models Trained on Code. arXiv:2107.03374Paper page·PDF
  5. Proving Test Set Contamination in Black Box Language Models. arXiv:2310.17623Paper page·PDF
  6. Measuring Massive Multitask Language Understanding. arXiv:2009.03300Paper page·PDF

This article is written from the source paper above. Where they differ, the original is authoritative.

Comments

Sign in to comment