Softmax probabilities, dashed = smoothed target
Confidence vs real accuracy over training

Label Smoothing: Probability Bars, Logit Gap and the Confidence Balance (2D)

Train one memorised example with hard labels and with a smoothed target, and watch the logit gap, the softmax pillars and the confidence evolve. Compare the model confidence with the real accuracy on noisy labels on a balance scale, tune smoothing strength, class count, label noise and training length, and find the epsilon that calibrates the model. Blender-built scene with numerical checks of the gradient, the optimal gap and the calibration formula.

Made with 🟠 Blender