Lune

Abstract

Calibrating neural networks is of utmost importance when employing them in safety-critical applications where the downstream decision making depends on the predicted probabilities. Measuring calibration error amounts to comparing two empirical distributions. In this work, we introduce a binning-free calibration measure inspired by the classical Kolmogorov-Smirnov (KS) statistical test in which the main idea is to compare the respective cumulative probability distributions. From this, by approximating the empirical cumulative distribution using a differentiable function via splines, we obtain a recalibration function, which maps the network outputs to actual (calibrated) class assignment probabilities. The spline-fitting is performed using a held-out calibration set and the obtained recalibration function is evaluated on an unseen test set. We tested our method against existing calibration approaches on various image classification datasets and our spline-based recalibration approach consistently outperforms existing methods on KS error as well as other commonly used calibration measures.

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.

47 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

  • Better Uncertainty Calibration via Proper Scores for Classification and Beyond cites Revisiting the Calibration of Modern Neural Networks
  • Better Uncertainty Calibration via Proper Scores for Classification and Beyond cites Mix-n-Match : Ensemble and Compositional Methods for Uncertainty Calibration in Deep Learning
  • Soft Calibration Objectives for Neural Networks cites Calibrating Deep Neural Networks using Focal Loss
  • Uncertainty Quantification over Graph with Conformalized Graph Neural Networks cites Mix-n-Match : Ensemble and Compositional Methods for Uncertainty Calibration in Deep Learning
  • Rethinking Calibration of Deep Neural Networks: Do Not Be Afraid of Overconfidence cites Calibrating Deep Neural Networks using Focal Loss
  • Rethinking Calibration of Deep Neural Networks: Do Not Be Afraid of Overconfidence cites Mix-n-Match : Ensemble and Compositional Methods for Uncertainty Calibration in Deep Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers47

  1. Revisiting the Calibration of Modern Neural NetworksMatthias Minderer, Josip Djolonga, Rob Romijnders, Frances Hubis et al.NeurIPS 2021 · 633 citations
  2. Rethinking Calibration of Deep Neural Networks: Do Not Be Afraid of OverconfidenceDeng-Bao Wang, Lei Feng, Min-Ling ZhangNeurIPS 2021 · 177 citations
  3. Soft Calibration Objectives for Neural NetworksArchit Karandikar, Nicholas Cain, Dustin Tran, Balaji Lakshminarayanan et al.NeurIPS 2021 · 127 citations
  4. Uncertainty Quantification over Graph with Conformalized Graph Neural NetworksKexin Huang, Ying Jin, Emmanuel J. Candès, Jure LeskovecNeurIPS 2023 · 124 citations
  5. Better Uncertainty Calibration via Proper Scores for Classification and BeyondSebastian G. Gruber, Florian BuettnerNeurIPS 2022 · 88 citations

Builds on3

  1. CutMix: Regularization Strategy to Train Strong Classifiers With Localizable FeaturesSangdoo Yun, Dongyoon Han, Sanghyuk Chun, Seong Joon Oh et al.ICCV 2019 · 5,843 citations
  2. Calibrating Deep Neural Networks using Focal LossJishnu Mukhoti, Viveka Kulharia, Amartya Sanyal, Stuart Golodetz et al.NeurIPS 2020 · 674 citations
  3. Mix-n-Match : Ensemble and Compositional Methods for Uncertainty Calibration in Deep LearningJize Zhang, Bhavya Kailkhura, Thomas Yong-Jin HanICML 2020 · 276 citations

Related papers

  1. KSP: Kolmogorov-Smirnov metric-based Post-Hoc Calibration for Survival AnalysisJeongho Park, Daheen Kim, Cheoljun Kim, Hyungbin Park et al.NeurIPS 2025 · 2 citations
  2. Distribution-free binary classification: prediction sets, confidence intervals and calibrationChirag Gupta, Aleksandr Podkopaev, Aaditya RamdasNeurIPS 2020 · 105 citations
  3. Confidence Calibration of Classifiers with Many ClassesAdrien Le-Coz, Stéphane Herbin, Faouzi AdjedNeurIPS 2024 · 21 citations
  4. A Large-Scale Study of Probabilistic Calibration in Neural Network RegressionVictor Dheur, Souhaib Ben TaiebICML 2023 · 29 citations
  5. How Flawed Is ECE? An Analysis via Logit SmoothingMuthu Chidambaram, Holden Lee, Colin McSwiggen, Semon RezchikovICML 2024 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines