Skip to content
ML Academy

Neural networks, deep learning, NLP · insight-0474

Use label smoothing knowing it changes calibration and distillation

Evidence type
empirical finding
Difficulty
hard
Roles
ML engineer, Applied AI
Industries
cross-industry

Summary: situation, action, reason, boundary

  1. Situation

    You turn on label smoothing for a classifier that will later serve as the teacher for a smaller distilled model.

  2. Action

    Decide per use: enable smoothing for a model used directly, train the teacher without it when distillation is planned, and recheck calibration on validation data either way.

  3. Reason

    Müller et al. found label smoothing improves calibration but makes knowledge distillation from the smoothed teacher much less effective, because it tightens same-class representations.

  4. Boundary

    Multi-class classifiers and sequence models trained with cross-entropy.

Symptom or risk

Label smoothing can improve accuracy and calibration, but a smoothed teacher transfers much less to the student, so the distilled model disappoints.

Exceptions

Very noisy labels may favour smoothing even for teachers; measure.

Trade-offs

One more hyperparameter that interacts with temperature scaling.

Pitfalls

Comparing calibration of smoothed and unsmoothed models without post-hoc calibration on both.

Lessons and concepts

Claims and their sources