← All tools
EDTOOLKITS GUIDES

Compare hard labels with a teacher's soft targets

By Team Edtoolkits · AI learning

Measure agreement on the same map when a small student learns different kinds of teacher output.

Explore the lesson

Watch a teacher pass probabilities to a student.

Train two students with few examples.

Change the temperature and the number of examples.

A comparison to try

Keep the training points fixed and train a student with hard targets. Repeat with soft targets and compare agreement on the shared grid. Change temperature only after making that first controlled comparison.

Read the result

A hard label keeps only the winning class. Soft targets retain relationships among alternatives, so the student receives a different learning signal even though both runs use the same examples and teacher.

A mistake to avoid

Agreement means matching this teacher, not independently discovering truth. The student is a small linear model and may not reproduce a more complex boundary; soft labels are not a guarantee that every compressed model will improve.

Teaching model and privacy

A teaching toy: the teacher and students are tiny three-class models on two features, with invented data. Real distillation compresses large neural networks, often with extra tricks. Nothing leaves your browser.

Explore a related workflow

All practical guides →

Found unclear instructions or an unexpected result? Contact Team Edtoolkits.

YOUR BROWSER, YOUR CHOICE