Ask what should change under a concrete input, then trace that expectation through the equation.
Foundation Lab
Calibration & Temperature Scaling
Modern deep networks are often overconfident—90% confidence doesn't mean 90% accuracy
Selected Foundation Object
Keep the equation fixed; move through the evidence.
Neural nets maximize log-likelihood, not calibration—these are different objectives
Use the key equation and canonical papers as the available witnesses, without implying that a runnable panel exists.
The useful learning product is the reusable mechanism you can carry into another model, paper, or engineering tradeoff.
Use prerequisites, dependents, and semantic links to repair the next gap without leaving the object behind.
Why It Matters for Modern Models
- Modern deep networks are often overconfident—90% confidence doesn't mean 90% accuracy
- Critical for downstream decisions: medical diagnosis, autonomous driving need honest uncertainty
- LLM "hallucination confidence" is a calibration failure—model is certain about wrong things
What Tutorials Skip
What is still poorly explained in textbooks and papers:
- Neural nets maximize log-likelihood, not calibration—these are different objectives
- Temperature scaling is surprisingly effective: one scalar fixes most miscalibration
- Bigger models are often LESS calibrated—scale doesn't solve everything
Visualization Status
Core Math (Optional Deep Dive)
If you want intuition first, start with the key equation and cited sources. Come back here for the full walkthrough.
A model is calibrated if confidence matches accuracy:
Expected Calibration Error (ECE):
Temperature scaling: Learn a single scalar on validation set:
softens predictions (reduces overconfidence).