Skip to content

Label smoothing aids calibration but weakens a teacher

2026-11-15

Label smoothing replaces each hard target with a mix of the true label and the uniform distribution over all the classes. With K classes and smoothing factor α, the target for class k is yₖ(1 − α) + α/K. A network trained on it is discouraged from becoming over-confident.

It also helps calibration. The paper measures expected calibration error, which compares a model's confidence with its accuracy. For ResNet-56 on CIFAR-100, a baseline with hard targets has an ECE of 0.150. Temperature scaling after training brings it to 0.021, and label smoothing with α = 0.05 gets 0.024 with no post-processing.

What does it cost? A teacher trained with label smoothing gives worse students. The paper's MNIST example: a teacher trained with dropout gets 0.67% test error and distils to a student with 0.74%. A teacher trained with label smoothing is better, at 0.59%, yet its student gets 0.91%.

The paper's explanation is that label smoothing pulls the examples of each class into tight clusters, which removes the information in the logits about which wrong classes resemble each other. That information is what distillation passes on.

If you plan to distil a model, train the teacher without label smoothing, or check the student first.

Muller, Kornblith and Hinton, NeurIPS 2019, §3 (Table 3) and §4