Lune

ICLR2024Top-tier venue

Smooth ECE: Principled Reliability Diagrams via Kernel Smoothing

Jaroslaw Blasiok, Preetum Nakkiran

Abstract

Calibration measures and reliability diagrams are two fundamental tools for measuring and interpreting the calibration of probabilistic predictors. Calibration measures quantify the degree of miscalibration, and reliability diagrams visualize the structure of this miscalibration. However, the most common constructions of reliability diagrams and calibration measures -binning and ECE -both suffer from well-known flaws (e.g. discontinuity). We show that a simple modification fixes both constructions: first smooth the observations using an RBF kernel, then compute the Expected Calibration Error (ECE) of this smoothed function. We prove that with a careful choice of bandwidth, this method yields a calibration measure that is well-behaved in the sense of Błasiok, Gopalan, Hu, and Nakkiran (2023) -a consistent calibration measure. We call this measure the SmoothECE. Moreover, the reliability diagram obtained from this smoothed function visually encodes the SmoothECE, just as binned reliability diagrams encode the BinnedECE. We also provide a Python package with simple, hyperparameter-free methods for measuring and plotting calibration: pip install relplot. Code at: https://github.com/apple/ml-calibration .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

17 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Trained on Tokens, Calibrated on Concepts: The Emergence of Semantic Calibration in LLMs cites Revisiting the Calibration of Modern Neural Networks
  • Trained on Tokens, Calibrated on Concepts: The Emergence of Semantic Calibration in LLMs cites A Unifying Theory of Distance from Calibration
  • Trained on Tokens, Calibrated on Concepts: The Emergence of Semantic Calibration in LLMs cites When Does Optimizing a Proper Loss Yield Calibration?
  • Revisiting the Calibration of Modern Neural Networks cites Calibration of Neural Networks using Splines
  • A Unifying Theory of Distance from Calibration cites Revisiting the Calibration of Modern Neural Networks
  • A Unifying Theory of Distance from Calibration cites Calibration of Neural Networks using Splines
  • When Does Optimizing a Proper Loss Yield Calibration? cites Revisiting the Calibration of Modern Neural Networks
  • When Does Optimizing a Proper Loss Yield Calibration? cites A Unifying Theory of Distance from Calibration
  • When is Multicalibration Post-Processing Necessary? cites Revisiting the Calibration of Modern Neural Networks
  • When is Multicalibration Post-Processing Necessary? cites When Does Optimizing a Proper Loss Yield Calibration?
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers17

  1. When Does Optimizing a Proper Loss Yield Calibration?Jaroslaw Blasiok, Parikshit Gopalan, Lunjia Hu, Preetum NakkiranNeurIPS 2023 · 48 citations
  2. EXP-Bench: Can AI Conduct AI Research Experiments?Patrick Tser Jern Kon, Qiuyi Ding, Jiachen Liu, Xinyi Zhu et al.ICLR 2026 · 35 citations
  3. LLM-Rubric: A Multidimensional, Calibrated Approach to Automated Evaluation of Natural Language TextsHelia Hashemi, Jason Eisner, Corby Rosset, Benjamin Van Durme et al.ACL 2024 · 27 citations
  4. When is Multicalibration Post-Processing Necessary?Dutch Hansen, Siddartha Devic, Preetum Nakkiran, Vatsal SharanNeurIPS 2024 · 21 citations
  5. 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

Builds on5

  1. Revisiting the Calibration of Modern Neural NetworksMatthias Minderer, Josip Djolonga, Rob Romijnders, Frances Hubis et al.NeurIPS 2021 · 633 citations
  2. Calibration of Neural Networks using SplinesKartik Gupta, Amir Rahimi, Thalaiyasingam Ajanthan, Thomas Mensink et al.ICLR 2021 · 128 citations
  3. When Does Optimizing a Proper Loss Yield Calibration?Jaroslaw Blasiok, Parikshit Gopalan, Lunjia Hu, Preetum NakkiranNeurIPS 2023 · 48 citations
  4. Calibration tests beyond classificationDavid Widmann, Fredrik Lindsten, Dave ZachariahICLR 2021 · 23 citations
  5. A Unifying Theory of Distance from CalibrationJaroslaw Blasiok, Parikshit Gopalan, Lunjia Hu, Preetum NakkiranSTOC 2023 · 7 citations

Related papers

  1. How Flawed Is ECE? An Analysis via Logit SmoothingMuthu Chidambaram, Holden Lee, Colin McSwiggen, Semon RezchikovICML 2024 · 7 citations
  2. Reassessing How to Compare and Improve the Calibration of Machine Learning ModelsMuthu Chidambaram, Rong GeICLR 2025
  3. Calibrate: Interactive Analysis of Probabilistic Model OutputPeter Xenopoulos, João Rulff, Luis Gustavo Nonato, Brian Barr et al.IEEE VIS 2022 · 19 citations
  4. Smooth Calibration Error: Uniform Convergence and Functional Gradient AnalysisFutoshi Futami, Atsushi NitandaICLR 2026
  5. Combining Priors with Experience: Confidence Calibration Based on Binomial Process ModelingJinzong Dong, Zhaohui Jiang, Dong Pan, Haoyang YuAAAI 2025 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines