Smooth ECE: Principled Reliability Diagrams via Kernel Smoothing
Jaroslaw Blasiok, Preetum Nakkiran
摘要
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 .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 17 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Trained on Tokens, Calibrated on Concepts: The Emergence of Semantic Calibration in LLMs 引用了 Revisiting the Calibration of Modern Neural Networks
- Trained on Tokens, Calibrated on Concepts: The Emergence of Semantic Calibration in LLMs 引用了 A Unifying Theory of Distance from Calibration
- Trained on Tokens, Calibrated on Concepts: The Emergence of Semantic Calibration in LLMs 引用了 When Does Optimizing a Proper Loss Yield Calibration?
- Revisiting the Calibration of Modern Neural Networks 引用了 Calibration of Neural Networks using Splines
- A Unifying Theory of Distance from Calibration 引用了 Revisiting the Calibration of Modern Neural Networks
- A Unifying Theory of Distance from Calibration 引用了 Calibration of Neural Networks using Splines
- When Does Optimizing a Proper Loss Yield Calibration? 引用了 Revisiting the Calibration of Modern Neural Networks
- When Does Optimizing a Proper Loss Yield Calibration? 引用了 A Unifying Theory of Distance from Calibration
- When is Multicalibration Post-Processing Necessary? 引用了 Revisiting the Calibration of Modern Neural Networks
- When is Multicalibration Post-Processing Necessary? 引用了 When Does Optimizing a Proper Loss Yield Calibration?
引用它的顶会 Paper17
- When Does Optimizing a Proper Loss Yield Calibration?Jaroslaw Blasiok, Parikshit Gopalan, Lunjia Hu, Preetum NakkiranNeurIPS 2023 · 48 次引用
- EXP-Bench: Can AI Conduct AI Research Experiments?Patrick Tser Jern Kon, Qiuyi Ding, Jiachen Liu, Xinyi Zhu 等ICLR 2026 · 35 次引用
- LLM-Rubric: A Multidimensional, Calibrated Approach to Automated Evaluation of Natural Language TextsHelia Hashemi, Jason Eisner, Corby Rosset, Benjamin Van Durme 等ACL 2024 · 27 次引用
- When is Multicalibration Post-Processing Necessary?Dutch Hansen, Siddartha Devic, Preetum Nakkiran, Vatsal SharanNeurIPS 2024 · 21 次引用
- Trained on Tokens, Calibrated on Concepts: The Emergence of Semantic Calibration in LLMsPreetum Nakkiran, Arwen Bradley, Adam Golinski, Eugène Ndiaye 等ICLR 2026 · 17 次引用
它引用的 Paper5
- Revisiting the Calibration of Modern Neural NetworksMatthias Minderer, Josip Djolonga, Rob Romijnders, Frances Hubis 等NeurIPS 2021 · 633 次引用
- Calibration of Neural Networks using SplinesKartik Gupta, Amir Rahimi, Thalaiyasingam Ajanthan, Thomas Mensink 等ICLR 2021 · 128 次引用
- When Does Optimizing a Proper Loss Yield Calibration?Jaroslaw Blasiok, Parikshit Gopalan, Lunjia Hu, Preetum NakkiranNeurIPS 2023 · 48 次引用
- Calibration tests beyond classificationDavid Widmann, Fredrik Lindsten, Dave ZachariahICLR 2021 · 23 次引用
- A Unifying Theory of Distance from CalibrationJaroslaw Blasiok, Parikshit Gopalan, Lunjia Hu, Preetum NakkiranSTOC 2023 · 7 次引用
相关 Paper
- How Flawed Is ECE? An Analysis via Logit SmoothingMuthu Chidambaram, Holden Lee, Colin McSwiggen, Semon RezchikovICML 2024 · 7 次引用
- Reassessing How to Compare and Improve the Calibration of Machine Learning ModelsMuthu Chidambaram, Rong GeICLR 2025
- Calibrate: Interactive Analysis of Probabilistic Model OutputPeter Xenopoulos, João Rulff, Luis Gustavo Nonato, Brian Barr 等IEEE VIS 2022 · 19 次引用
- Smooth Calibration Error: Uniform Convergence and Functional Gradient AnalysisFutoshi Futami, Atsushi NitandaICLR 2026
- Combining Priors with Experience: Confidence Calibration Based on Binomial Process ModelingJinzong Dong, Zhaohui Jiang, Dong Pan, Haoyang YuAAAI 2025 · 4 次引用
