Home▸AI & Machine Learning▸Label Smoothing: Probability Bars, Logit Gap and the Confidence Balance (2D)

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

Softmax bars against the smoothed target, a live logit-gap curve and a balance scale that weighs model confidence against real accuracy. Same shared model as the 3D scene.

AI & Machine Learning2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Label Smoothing: Probability Bars, Logit Gap and the Confidence Balance (2D) ↗ Open standalone

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.

⚙ Under the hood

Softmax bars against the smoothed target, a live logit-gap curve and a balance scale that weighs model confidence against real accuracy. Same shared model as the 3D scene.

Label SmoothingCalibrationCross-EntropySoftmaxOverconfidence

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)