A Unifying Theory of Distance from Calibration
Jaroslaw Blasiok, Parikshit Gopalan, Lunjia Hu, Preetum Nakkiran
Abstract
We study the fundamental question of how to de ne and measure the distance from calibration for probabilistic predictors. While the notion of perfect calibration is well-understood, there is no consensus on how to quantify the distance from perfect calibration. Numerous calibration measures have been proposed in the literature, but it is unclear how they compare to each other, and many popular measures such as Expected Calibration Error (ECE) fail to satisfy basic properties like continuity. We present a rigorous framework for analyzing calibration measures, inspired by the literature on property testing. We propose a ground-truth notion of distance from calibration: the 1 distance to the nearest perfectly calibrated predictor. We de ne a consistent calibration measure as one that is polynomially related to this distance. Applying our framework, we identify three calibration measures that are consistent and can be estimated e ciently: smooth calibration, interval calibration, and Laplace kernel calibration. The former two give quadratic approximations to the ground truth distance, which we show is information-theoretically optimal in a natural model for measuring calibration which we term the prediction-only access model. Our work thus establishes fundamental lower and upper bounds on measuring the distance to calibration, and also provides theoretical justi cation for preferring certain metrics (like Laplace kernel calibration) in practice.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers28
- Smooth ECE: Principled Reliability Diagrams via Kernel SmoothingJaroslaw Blasiok, Preetum NakkiranICLR 2024 · 59 citations
- When Does Optimizing a Proper Loss Yield Calibration?Jaroslaw Blasiok, Parikshit Gopalan, Lunjia Hu, Preetum NakkiranNeurIPS 2023 · 48 citations
- Near-Optimal Algorithms for OmnipredictionPrincewill Okoroafor, Robert Kleinberg, Michael P. KimFOCS 2025 · 37 citations
- Trained on Tokens, Calibrated on Concepts: The Emergence of Semantic Calibration in LLMsPreetum Nakkiran, Arwen Bradley, Adam Golinski, Eugène Ndiaye et al.ICLR 2026 · 17 citations
- High-Dimensional Calibration from Swap RegretMaxwell Fishelson, Noah Golowich, Mehryar Mohri, Jon SchneiderNeurIPS 2025 · 16 citations
Builds on5
- Revisiting the Calibration of Modern Neural NetworksMatthias Minderer, Josip Djolonga, Rob Romijnders, Frances Hubis et al.NeurIPS 2021 · 633 citations
- Mix-n-Match : Ensemble and Compositional Methods for Uncertainty Calibration in Deep LearningJize Zhang, Bhavya Kailkhura, Thomas Yong-Jin HanICML 2020 · 276 citations
- Calibration of Neural Networks using SplinesKartik Gupta, Amir Rahimi, Thalaiyasingam Ajanthan, Thomas Mensink et al.ICLR 2021 · 128 citations
- Soft Calibration Objectives for Neural NetworksArchit Karandikar, Nicholas Cain, Dustin Tran, Balaji Lakshminarayanan et al.NeurIPS 2021 · 127 citations
- Outcome indistinguishabilityCynthia Dwork, Michael P. Kim, Omer Reingold, Guy N. Rothblum et al.STOC 2021 · 24 citations
Related papers
- How Flawed Is ECE? An Analysis via Logit SmoothingMuthu Chidambaram, Holden Lee, Colin McSwiggen, Semon RezchikovICML 2024 · 7 citations
- Calibration tests beyond classificationDavid Widmann, Fredrik Lindsten, Dave ZachariahICLR 2021 · 23 citations
- Testing Calibration in Nearly-Linear TimeLunjia Hu, Arun Jambulapati, Kevin Tian, Chutong YangNeurIPS 2024 · 11 citations
- An Elementary Predictor Obtaining Distance to CalibrationEshwar Ram Arunachaleswaran, Natalie Collina, Aaron Roth, Mirah ShiSODA 2025
- Predict to Minimize Swap Regret for All Payoff-Bounded TasksLunjia Hu, Yifan WuFOCS 2024 · 1 citation
