From the same logits, a teacher LLM gives these next-token probabilities after "I want to ___ my subscription" (restricted to five candidate tokens): cancel 85.0%, end 11.5%, pause 2.6%, upgrade 0.9%, eat 0.03% at temperature 1, and 40.3%, 24.4%, 16.8%, 12.9%, 5.5% at temperature 4. Why does logit (soft-label) distillation at T = 4 usually give the student more signal per example than sequence-level distillation on the teacher's generated text, and what does it normally require?
Show the answer and explanation
Correct answer: B, Each position carries the teacher's full distribution (end is plausible, eat is not), and T > 1 lifts those small probabilities into the loss; it needs teacher logits and a shared vocabulary.
Explanation Fine-Tuning
In logit distillation (Hinton et al., 2015) the student matches the teacher's full distribution at every position, via a KL loss on the softened distributions softmax(z / T), often plus the usual hard-label loss.
Why soft targets carry more information: generated text gives only a hard label ("the next token was cancel"). The teacher's distribution also says that end and pause are reasonable and eat is nonsense. This "dark knowledge" is extra supervision at every token, so a small student learns more per example, with lower-variance gradients.
Temperature: at T = 1 the small alternatives barely register (upgrade 0.9%, eat 0.03%); at T = 4 they become 12.9% and 5.5%, since each probability is raised to the power 1/T and renormalised. Soft-target gradients scale roughly as 1/T², so the soft loss is multiplied by T². Nothing is sampled: T only softens the distributions inside the loss.
Requirements: the teacher's full logits (in practice a self-hosted teacher; most APIs return at most a few top log-probabilities) and the same tokenizer and vocabulary, so the distributions align token by token. Cross-tokenizer methods exist but need extra alignment.
Sequence-level distillation (Kim and Rush, 2016) fine-tunes the student on teacher-generated text with plain cross-entropy: it works with API-only teachers, but every token is a hard label.
Why the other options fail: sampling end or pause more often still yields hard labels; a one-hot label has zero entropy, so soft targets have higher entropy, not lower; and logit distillation, not the sequence-level kind, needs logits and a shared vocabulary.
Interview tip: use sequence-level distillation for API teachers, and add a KL term on logits when you host an open-weight teacher with the same tokenizer.