Akashic Computer
Memory budgetNot set

Or a total budget

A total budget does not describe device topology or confirm runtime fit.

All Docs

Weights · 8 min read · Updated 2026-07-24

Knowledge distillation

What a student model learns from a teacher, what is actually transferred, and why a distilled model is a new checkpoint.

Key idea

Distillation transfers behavior through training; it does not simply compress the teacher's weight file.

Distillation is a training process

Knowledge distillation trains a student model using signals produced by a teacher model. The teacher may provide probability distributions, generated answers, reasoning traces, rankings, or other supervision. The student updates its own parameters to reproduce useful aspects of that behavior.

The resulting student is a new checkpoint. It may be smaller than the teacher, use a different architecture, or begin from another pretrained model. The teacher's weights are not numerically converted into the student.

Transfer behavior from a teacher into a different student model.

What changes
The student is trained and receives a new set of learned weights.
Requires training
Yes. It requires a teacher signal and a student training process.
Resulting identity
Creates a distinct model checkpoint, often with a different architecture or size.
Main tradeoff
Can preserve useful behavior at lower cost, but does not reproduce the teacher exactly.

What can be transferred

Classic distillation uses softened output probabilities because they contain relationships that one-hot labels discard. Modern language-model distillation often uses generated sequences, preference signals, tool traces, or synthetic tasks because full teacher logits may not be available.

The supervision source affects what the student learns. Distilling final answers can improve task behavior without transferring the teacher's internal process. Distilling long reasoning traces may teach a visible style without reproducing the same latent computation.

A distilled model is not always tiny

Distillation is commonly associated with a small student, but size reduction is a design choice rather than the definition. A large student can be distilled to improve a capability, align behavior, or inherit a teacher's response distribution.

Repository names that include Distill should therefore be read as lineage claims. You still need the student's own parameter count, architecture, license, tokenizer, and runtime support.

Distillation versus quantization and fine-tuning

Quantization changes how an existing checkpoint's numerical values are represented. Fine-tuning updates a model using task or instruction data. Distillation is a kind of training distinguished by the teacher-generated signal.

These techniques can be composed. A student can be distilled, fine-tuned, and then quantized for deployment. The final artifact should preserve that lineage so users can tell which model was trained and which representation was produced later.

Evaluate the student as its own model

A distilled model should not inherit the teacher's benchmark results. It needs its own evaluation because capacity, data selection, training objective, tokenizer, and decoding behavior can all change the outcome.

The meaningful comparison is task-specific: student versus teacher under compatible settings, and student versus other models with similar deployment cost. A single average score can hide capabilities that transferred well and capabilities that did not.

Primary sources

Continue reading