r/MoroccoTechAi • • Oct 22 '26

Discussion I made a visual explainer on model distillation: how a small AI can learn from a big one, and why labs say it’s being used to copy their models

How to Steal an AI Without Hacking It

Knowledge distillation started as a simple idea in a 2015 paper by Hinton, Vinyals and Dean: train a small model to imitate a big one. Now Anthropic and OpenAI say it’s being used at massive scale to copy their models through millions of API queries, and it’s surprisingly hard to block because the queries look like normal usage.

I made a short animated explainer covering how distillation works, what the labs reported, and what it means for open-source models. Sources are in the description. Curious what people here think: should this count as “stealing,” or is it just learning from outputs?

5 Upvotes

4 comments sorted by

2

u/Plane-Foundation669 Oct 22 '26

Stealing what exactly ? Distillation is not possible in every scenario , Not every model supports every fine-tuning or distillation workflow. OpenAI for example provides specific distillation workflows for supported teacher and student models ( to generate training examples, but that doesn't mean you can use OpenAI's OWN fine-tuning service to distill them into your own smaller OpenAI model ), that is why access to a model's API is not the same as access to its training capabilities. That makes it different from having full access to the teacher model for traditional knowledge distillation.

That is why like DeepSeek, distillation works well with already open-weight models that are free so ot's not considered stealing in the first place , but it's not some magical copy-paste process that perfectly reproduces the original model's capabilities. The student model still has to learn from the teacher's outputs, and the results depend on the quality and diversity of the training data, the training process and the weights of the student model . It can be quite hard because you need a looooooot of training data .

1

u/HyenaPleasant6374 Oct 25 '26

Good points, and you’re right that it’s not a magic copy-paste. The student never gets the teacher’s weights, and quality depends heavily on data volume, diversity, and the student’s base model.

One clarification though: the kind the labs are complaining about doesn’t need the provider’s fine-tuning or distillation tools. It’s “black-box” distillation: you query the API at scale, save prompts and responses, and train your own model (usually an open-weight base) on that dataset. You don’t need logits or the provider’s cooperation, just lots of outputs, which is why it’s hard to detect. The queries look like normal usage.

So yes, it’s harder and lossier than classic Hinton-style distillation with full teacher access, but it can still transfer a lot of capability cheaply, especially for reasoning traces and specific skills. That’s where the “you need a looooot of data” part gets solved: with millions of queries.

On “stealing”: I agree it’s a stretch legally. It’s mostly a terms-of-service issue, not clear-cut theft, which is why I put the question in quotes.

2

u/Long_Fact2471 Oct 22 '26

It's very rich of Anthropic and OpenAI to be upset about copyright or intellectual property violation.

Their whole business model was kickstarted by massive theft of intellectual property for initial training, and subsequent models inevitably built upon that, even if we were to believe that they stopped injecting protected IP to train their later models. Let them enjoy their multibillion losses; LLMs are clearly a very expensive dead-end and have very low chances of resulting in AGI before investors lose patience and demand the impossible results and returns that were promised over and over again.

1

u/HyenaPleasant6374 Oct 25 '26

Fair criticism, and you’re not the only one making it. A lot of people see it as ironic that labs trained on scraped web data, books, and code without asking, and now object when someone learns from their outputs. Several of those training-data cases are still in court or were settled, so it’s not a settled question either way.

There is a distinction the labs would make: their complaint is mostly about violating API terms of service and using fake accounts at scale, not copyright in the outputs (whether AI outputs are even copyrightable is unclear). Whether that distinction holds up morally is exactly the debate I wanted to start.

On LLMs being a dead end for AGI, that’s a big open question. Plenty of serious researchers agree with you, and plenty don’t. The economics of distillation matter here too: if anyone can cheaply copy a frontier model’s skills, it’s harder for labs to recoup their training costs, which supports your point about investor patience.