the.ai

Optimization / Objectives

verified

Cross-Entropy Loss

For a model that outputs a probability distribution, cross-entropy asks a simple question: how much probability did you put on the right answer? Put a lot and the loss is small; put almost none and it is enormous. It punishes confident mistakes far harder than uncertain ones.

Viz primitive · update-spectrumuncertainty = 0.3

8 values. The left group decays steeply; the right group is 51% of the way to flat, and reads flatter than the left.

The predicted distribution against the target it is scored on. Drag the uncertainty up to watch probability spread off the right answer, and the loss climb with it.

0.3

Reviewed by opendroid · 2026-08-04

  • arXiv:1312.3005 — One Billion Word Benchmark for Measuring Progress in Statistical Language Modeling