AI distillation (knowledge distillation) is the training of a student model to reproduce the behavior of another model or ensemble, called the teacher. In the classic form, the student mimics the teacher’s answer probabilities; in large language models, it often learns from generated texts and reasoning. The usual goal is to reduce cost, size or latency while preserving useful capabilities.
The term has two meanings that must not be conflated. Distillation is a standard compression and capability-transfer method permitted by a model’s owner. A distillation attack is covert, industrial-scale extraction of another party’s capabilities without authorization. The technique is similar, but the permissions and evidence differ: similar model behavior alone reveals neither the training source nor a violation.
History
- 20.08.2006Cristian Buciluǎ, Rich Caruana and Alexandru Niculescu-Mizil publish Model Compression: a large ensemble of classifiers is replaced by one small, fast model, usually without a significant performance loss.1 ¶ cuk9npbmh
- 21.12.2013Jimmy Ba and Rich Caruana show that a shallow network can mimic the function learned by a deep one: on the TIMIT phoneme-recognition task, a simple model approaches a complex convolutional architecture.2 ¶ cv5uwhpv8
- 09.03.2015Geoffrey Hinton, Oriol Vinyals and Jeff Dean develop Distilling the Knowledge in a Neural Network: a student learns from an ensemble and specialist models through softened output distributions.3 ¶ cdxaxwrhj
- 02.10.2019DistilBERT brings distillation to the pre-training of a general-purpose language model: the authors report a BERT model 40% smaller, 60% faster and retaining 97% of its language-understanding capabilities.4 ¶ cbbf7acni
- 22.01.2025DeepSeek releases R1 and six dense models fine-tuned on its outputs: Qwen at 1.5B–32B and Llama at 8B and 70B. The large model’s reasoning traces become open training material for smaller models.5 ¶ c964z8g3v
- 02.2026Anthropic alleges three covert Claude-distillation campaigns: by its estimate, DeepSeek, Moonshot and MiniMax generated more than 16 million exchanges through approximately 24,000 fraudulent accounts. Attribution relies on metadata, IP addresses, infrastructure and partner information; the allegations against the laboratories are not an independent judicial finding.6 ¶ cpbu4ptm9
- 12.10.2026Anthropic describes new defenses: preserved thinking restricts the transfer of reasoning context, a two-stage classifier blocks extraction, and repeated attempts lead to limits and bans. Its internal estimate says harvested reasoning tokens fell by a factor of 10 to 100.7 ¶ csneigdww
How it works
Soft answers. A classifier returns not only the winning class but also probabilities for the others. These shares encode similarity: an image of a cat may also slightly resemble a dog. Raising the softmax temperature softens the distribution, allowing the student to learn the teacher’s structure of distinctions rather than a single label. The loss can combine agreement with soft answers and the ordinary ground-truth label.3 ¶ cuxd32vv4
An answer as a training example. When an API does not expose logits, the teacher produces “task → solution” pairs. The student undergoes supervised fine-tuning on these sequences. For reasoning models, the trace is especially valuable: it shows not only what to answer but how to decompose the task, check the result and correct mistakes. Hiding or summarizing reasoning text therefore reduces the value of harvested data.57 ¶ c9zaix7e3
Distillation is not every kind of compression. Quantization reduces weight precision, pruning removes part of a model, and ordinary fine-tuning uses new examples without necessarily imitating a teacher. They can be combined with distillation, but they are different operations. Reinforcement learning does not have to be distillation either; a teacher may merely grade answers and provide reward for a separate RL cycle.356 ¶ c6n8ssq7e
Access and purpose define an attack. Authorized distillation of a company’s own model and covert collection of another party’s answers are technically similar. The difference lies in the license, API terms, account acquisition and large-scale coordination. DeepSeek’s open license explicitly permits distillation; OpenAI’s terms prohibit using Output to develop competing models.58 ¶ c6edv8mww
Data
| work or document | methodology and result | what cannot be inferred |
|---|---|---|
| DistilBERT, 20194 | distillation during pre-training with a triple loss: language modeling, distillation and cosine-distance; reported 40% smaller size, 60% faster, 97% of BERT’s capabilities | this is not a universal guarantee of retaining 97% quality for any task or model ¶ c9hp3gjcq |
| DeepSeek-R1-Distill, 20255 | 800,000 samples curated with R1 to fine-tune open Qwen and Llama models; Qwen-32B scored 72.6% on AIME 2024 and 94.3% on MATH-500, Llama-70B scored 70.0% and 94.5% | results are self-reported; they do not compare training cost or establish superiority under all conditions ¶ cvg7nit45 |
| Anthropic, value of reasoning traces, 20267 | a pretrained Claude was fine-tuned on Claude Opus 4.8 transcripts: full reasoning produced 80.4% on SWE-bench Verified, summarized reasoning 71.8% | the internal experiment shows trace value for one setup, not a general law of losing 8.6 points ¶ cinq9tkq5 |
| Anthropic, defenses, 20267 | preserved thinking, a two-stage classifier and penalties for repeated attempts; harvested reasoning tokens fell 10-to-100-fold, with a reported false-positive rate below 0.1% | the laboratory has not yet tested resilience against a new sophisticated campaign; blocked requests in this class are charged ¶ cexq3rufs |
| OpenAI, Terms of Use, 20268 | the version effective 01.01.2026 prohibits using Output to develop competing models while assigning Output ownership to the user to the extent permitted by law | ownership of Output does not remove the separate contractual restriction ¶ cgpjnd2k7 |
| DeepSeek-R1, license5 | MIT permits commercial use, modifications and derivative works, including distillation; derivatives based on Qwen and Llama retain their original licenses | DeepSeek’s permission does not override the base model’s terms or third-party data-source terms ¶ cfzgxr9n8 |
| Reference-Based Distillation Detection, 20269 | the preprint compares a student’s alignment with different teachers’ answers against an earlier checkpoint from its lineage; controlled single-teacher experiments report near-perfect accuracy | it needs a reference and suitable candidates; for real models, the authors offer evidence of relationships rather than conclusive proof ¶ cuvxemzwb |
[EDITORIAL CONCLUSION] Distillation percentages are not comparable without their methodology. Size and speed are measured differently from reasoning accuracy, and a reduction in harvested tokens does not equal a reduction in a potential student’s quality. Evaluation needs identical tasks, generation settings, base model, data volume and full-cycle cost: generation, filtering, training and testing. ¶ c6wadfc73
Incidents
Anthropic’s allegations: from behavioral pattern to attribution, 2026 ¶ crtpq32sf
In its February report, Anthropic allocated more than 16 million exchanges as follows: over 150,000 to DeepSeek, 3.4 million to Moonshot and 13 million to MiniMax. It says the campaigns targeted reasoning, tools and coding, used synchronized traffic and proxy networks; one such network managed more than 20,000 fraudulent accounts simultaneously.6
These are statements by the affected party, not an independently verified dataset. Anthropic discloses types of evidence—metadata, IP addresses, infrastructure and partner corroboration—but does not publish the entire set of requests and correlations. Exact totals and attribution should therefore be cited with their source. The methodology nevertheless matters: one suspicious prompt means little, while repetition, coordinated accounts and a focus on a specific capability form a stronger pattern.6
The open R1-Distill models do not prove the February allegations. The former are documented fine-tuning of open Qwen and Llama models on data from DeepSeek’s own R1 under a permissive license; the latter is an allegation of covert Claude use. One company’s name in both documents does not turn an authorized method into evidence of a violation.56
Criticism
A benchmark is not a transfer of the entire model. A high MATH-500 or SWE-bench score describes a narrow slice. A student may reproduce answers to similar tasks while losing rare knowledge, languages, robustness and behavior outside the training distribution. Comparison with the teacher must include errors and refusals, not just average score.45 ¶ c6qqqqikp
The teacher transfers mistakes too. Synthetic solutions do not become true because they sound confident. A hallucination, bias or incorrect reasoning step becomes a training target and can scale across thousands of examples. Independent verification, filtering and mixing with other data are needed; simply adding more reasoning text does not guarantee quality.57 ¶ cp8r2bh6i
Safety controls do not copy automatically. A student may acquire useful behavior without the teacher’s surrounding classifiers, monitoring and access controls. Anthropic specifically raises the risk of transferring dangerous capabilities without proportionate safeguards; this is a risk of the entire release system, not just a weights file.67 ¶ citc75pdp
Similarity is weak evidence of origin. Shared tasks, public texts and similar architectures naturally make models converge. The reference-based method strengthens analysis with an early checkpoint and statistical tests but states its own constraints: entangled training lineages, unknown prompts and an open set of possible teachers. A source watermark also needs testing for robustness against filtering and fine-tuning.9 ¶ cxhuhzqfs
Contracts and copyright are different barriers. The US Copyright Office concludes that generative-AI output is protected by copyright only with sufficient human creative contribution; prompts alone are insufficient. This is a position under US law, not a universal permission to distill. API terms can prohibit competitive training regardless of whether an individual answer is copyrightable, while an open license can permit it.5810 ¶ caghvvfgg
Development
Teacher protection is moving beyond legal prohibitions to controlling the information channel itself: less reasoning exposed, context bound to an organization, extraction classifiers and rapid account restrictions. At the same time, the inverse problem is developing—reference-based attribution and statistical source evidence. Anthropic explicitly expects a continuing cat-and-mouse game and does not promise that current measures will remain effective indefinitely.79 ¶ c6htbfw77
The open ecosystem takes another path: it permits reuse and records the provenance of teacher and base model in advance. This does not eliminate risks but changes the economics: instead of covertly collecting another party’s answers, a lawful market of teachers, datasets and small specialized students becomes possible.5 ¶ cu8hqjq7m
[EDITORIAL CONCLUSION] The right question in distillation is not “does the small model resemble the large one?” but “what data trained it, with what permission, and what exactly did it retain?” An engineer needs full cost and independent tests, a lawyer needs licenses and example provenance, and a safety team needs transferred controls. Distillation makes behavior cheaper to transfer, but does not automatically make it original, correct or safe. ¶ cvkjhn3pq
Scenarios
These are editorial scenarios: what could happen if trends continue. Not facts and not predictions — each lists its grounds.
A team fine-tunes a small model on millions of answers from a stronger teacher. Benchmark scores rise, but hallucinations and dangerous capabilities transfer alongside solutions, while the teacher’s filters and monitoring remain on its platform. Without a license, data checks and its own safeguards, the cheap model becomes a legal and operational risk.
See also
References
-
C. Buciluǎ, R. Caruana, A. Niculescu-Mizil. Model Compression — KDD, 20.08.2006. dl.acm.org ↩
-
J. Ba, R. Caruana. Do Deep Nets Really Need to Be Deep? — arXiv, first version 21.12.2013. arxiv.org ↩
-
G. Hinton, O. Vinyals, J. Dean. Distilling the Knowledge in a Neural Network — arXiv, 09.03.2015. arxiv.org ↩ ↩2 ↩3
-
V. Sanh et al. DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter — arXiv, 02.10.2019. arxiv.org ↩ ↩2 ↩3
-
DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning — DeepSeek-AI, model repository and license, 22.01.2025. github.com ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11
-
Detecting and preventing distillation attacks — Anthropic, February 2026. anthropic.com ↩ ↩2 ↩3 ↩4 ↩5 ↩6
-
Strengthening our defenses against distillation attacks — Anthropic, 12.10.2026. anthropic.com ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7
-
Terms of Use — OpenAI, effective 01.01.2026. openai.com ↩ ↩2 ↩3
-
R. Rawat et al. Reference-Based Distillation Detection in LLMs — arXiv, preprint 19.06.2026. arxiv.org ↩ ↩2 ↩3
-
Copyright Office Releases Report on Copyright and Artificial Intelligence, Part 2: Copyrightability — U.S. Copyright Office, 29.01.2025. copyright.gov ↩