Ryz Labs/Glossary/Model distillation
Glossary

What is model distillation?

Model distillation trains a compact student model to reproduce the behavior of a larger teacher model, keeping much of its quality on a target task while cutting inference cost and latency.

Definition: Model distillation trains a compact student model to reproduce the behavior of a larger teacher model, keeping much of its quality on a target task while cutting inference cost and latency.

How distillation works

The teacher model generates outputs, or probability distributions, for a large set of task examples. The student is trained on those outputs instead of, or alongside, human labels. For language models this often means generating many high-quality responses from a frontier model and fine-tuning a more compact model on them.

When it helps

Distillation fits high-volume, narrow tasks such as classification, extraction or routing, where paying frontier-model prices for every request is hard to justify. It is less suited to open-ended work that needs broad knowledge.

Watch-outs

Check the teacher provider's terms of service, since some restrict using outputs to train competing models. The student inherits the teacher's mistakes, so teams evaluate it on held-out data and monitor it for model drift after launch.

How Ryz helps

Ryz fine-tuning engineers build distillation and evaluation pipelines in your cloud, working on your team.

Related

Thanks — your message has been sent. We’ll get back to you soon.

Something went wrong while sending your message. Please try again or email info@ryzlabs.com.

Ryz Labs

Senior engineers on your team. AI pod teams that ship.

Tell us what you're building. You get a scoped plan, a price and the names of the people who would do the work.

  • Only the top 1% of tens of thousands interviewed make it
  • On US business hours, including New York hours
  • Trusted by Fortune 500 engineering teams

Tell us who you need

A Ryz partner replies with a scoped team plan.

Start a conversation →

Prefer to talk? Book a 15-min call →