Knowledge Distillation in LLMs: Limits, Risks, and How to Evaluate Model Progress
This article examines knowledge distillation as a practical engineering technique while separating it from broader claims about model progress. It covers three common distillation forms, the risks and defenses around using API outputs as training data, and a more rigorous evaluation approach based on capability dimensions, private holdout sets, paired version comparisons, bootstrap confidence intervals, and fixed evaluation conditions. It also provides judgment principles and an engineering checklist for teams assessing LLM improvements.
1. Background: Why Distillation Becomes a Flashpoint
Knowledge distillation refers to training a smaller or weaker student model to learn from the output behavior of a stronger teacher model. In large language model settings, it commonly appears in two ways: using high-quality text generated by a strong model to train a smaller model, or aligning the two models’ probability distributions over the vocabulary. Distillation itself is a mature engineering method, often used to reduce inference costs and improve deployment efficiency on edge devices.
When a model improves significantly in a short period, observers often attribute the gain to distillation. When a model’s progress slows, some also attribute the cause to “losing a distillable source.” This explanation is intuitive, but it carries an implicit premise: that model capability can only be obtained through imitation. In practice, data construction, training recipes, compute investment, post-training, and evaluation are equally critical.
2. Three Common Forms of Distillation
- White-box distillation: The student model can access the teacher model’s full output probability distribution. This requires access to model weights or logits and usually occurs only within the same organization or between owned models.
- Black-box data distillation: Text responses are collected from a teacher model in batches through an API, and these samples are then used for supervised fine-tuning. The barrier to entry is lower, but the results depend on sampling strategy and cleaning pipelines.
- Preference signal distillation: The teacher model’s rankings or scores over multiple candidate responses are used to train a reward model or perform preference optimization.
These three approaches differ in data sources, compliance boundaries, and performance ceilings. When discussing a specific capability change, the first step should be to confirm which category it belongs to.
3. Risks and Protections When API Data Is Used for Training
When a model is offered through an API, large numbers of calls may be used to collect training data. Service providers typically implement protections at several layers:
- Terms of service: Explicitly prohibit using outputs to train competing models.
- Account and risk controls: Identify abnormal bulk registration, similar request patterns, and high-frequency calls.
- Rate limits: Set quotas per account, IP address, or organization.
- Output governance: Reduce or summarize intermediate reasoning content to lower the amount of directly copyable information.
- Provenance marking: Embed statistical watermarks in outputs to support later detection.
Each measure involves tradeoffs. Compressing reasoning content reduces downstream users’ interpretability and can also affect auditing and debugging. Protection strategies therefore need to balance security, compliance, and product experience rather than focusing only on preventing external access to data.
4. How to Objectively Judge Whether a Model Has Really Improved
Personal experience or a small number of examples is rarely enough to determine a model’s true level. More reliable practices include the following four points.
1. Break Down by Capability Dimension
Split evaluation into dimensions such as knowledge QA, mathematical reasoning, code generation, long-text understanding, instruction following, and safety, and record scores separately. A change in one dimension should not be extrapolated into an overall conclusion.
2. Build Private Holdout Sets
Public benchmarks may already be present in training data, inflating scores. Teams should maintain a set of non-public samples and update them regularly to avoid test-set contamination.
3. Run Paired Comparisons Across Versions
Compare two versions on the same set of questions, calculate the correctness difference for each question, and then use bootstrap to estimate confidence intervals. If the difference falls within the error range, it should not be claimed as a breakthrough.
4. Record Evaluation Conditions
Sampling temperature, system prompts, context length, and answer parsing rules all affect scores. These conditions should be fixed and recorded for every evaluation.
Below is a general evaluation example:
import randomfrom statistics import meandef evaluate(model_fn, dataset, scorer):"""Evaluate each dataset item and return a list of per-item scores."""return [scorer(model_fn(item["prompt"]), item["answer"]) for item in dataset]def bootstrap_diff(scores_a, scores_b, n_iter=2000, seed=0):"""Estimate a 95% confidence interval for the per-item score difference between two sets."""rng = random.Random(seed)n = len(scores_a)diffs = []for _ in range(n_iter):idx = [rng.randrange(n) for _ in range(n)]diffs.append(mean(scores_b[i] - scores_a[i] for i in idx))diffs.sort()return diffs[int(0.025 * n_iter)], diffs[int(0.975 * n_iter)]
If the confidence interval contains 0, the difference between the two versions is not yet sufficient to support a conclusion.
5. Judgment Principles Drawn from the Debate
In public discussion, evaluations of the same model often change with release cadence, expectation gaps, and narrative framing. Immediately after release, people tend to amplify highlights; months later, they tend to amplify shortcomings. To avoid being pulled along by this rhythm, three principles can help:
- Tie evaluations to a specific version, specific task, and specific metric.
- State sample size and uncertainty in conclusions.
- Distinguish data, compute, training methods, evaluation conditions, and other factors in attribution rather than treating a single factor as the complete explanation.
6. Engineering Practice Checklist
- Establish a baseline for each capability dimension and record version numbers.
- Update the private holdout set quarterly and remove samples that have become public or are suspected of leakage.
- Combine manual spot checks with automated checks, focusing on factuality and safety.
- Teams that expose APIs should also build risk controls, quotas, and audit logs.
- When reporting to management, provide metric changes, confidence intervals, and scope of applicability rather than only an overall impression.
7. Conclusion
Distillation is a real technical method, but it cannot by itself explain all changes in model capability. Judging whether a model has improved requires breaking down dimensions, fixing evaluation conditions, using private data, and calculating uncertainty. Applying this methodology in team workflows makes evaluation more stable and less affected by short-term narratives.
