On Calibration of Modern Neural Networks

Chuan Guo, Geoff Pleiss, Yu Sun, Kilian Q. Weinberger
6/14/2017
cs.LG

Official code: gpleiss/temperature_scaling (1,180 stars, MIT, last commit 2025-07-26).

Abstract

Confidence calibration -- the problem of predicting probability estimates representative of the true correctness likelihood -- is important for classification models in many applications. We discover that modern neural networks, unlike those from a decade ago, are poorly calibrated. Through extensive experiments, we observe that depth, width, weight decay, and Batch Normalization are important factors influencing calibration. We evaluate the performance of various post-processing calibration methods on state-of-the-art architectures with image and document classification datasets. Our analysis and experiments not only offer insights into neural network learning, but also provide a simple and straightforward recipe for practical settings: on most datasets, temperature scaling -- a single-parameter variant of Platt Scaling -- is surprisingly effective at calibrating predictions.

View on arXivView PDF

Code Implementations(1)

MIT

A simple way to calibrate your neural network.

1,180165PythonAug 3, 20171 years agoMIT
calibrationdeep-learning

Cite this paper

@article{guo2017calibration,
  title  = {On Calibration of Modern Neural Networks},
  author = {Chuan Guo and Geoff Pleiss and Yu Sun and Kilian Q. Weinberger},
  year   = {2017},
  eprint = {1706.04599},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1706.04599}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1706.04599.svg)](https://codeofpaper.com/paper/1706.04599)

Discussion