On Calibration of Modern Neural Networks
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Classification | CIFAR-100 | -- | 691 | |
| Image Classification | Food-101 | Accuracy86.6 | 542 | |
| Image Classification | ImageNet LT | Top-1 Accuracy37.9 | 264 | |
| Long-Tailed Image Classification | ImageNet-LT (test) | -- | 220 | |
| Out-of-Distribution Detection | iNaturalist | AUROC90.5 | 219 | |
| Commonsense Reasoning | ARC Challenge | Accuracy64.9 | 190 | |
| Node Classification | Computers | -- | 169 | |
| Out-of-Distribution Detection | Textures | AUROC0.8539 | 168 | |
| Image Classification | ImageNet-LT (test) | -- | 159 | |
| Out-of-Distribution Detection | OpenImage-O | AUROC87.22 | 107 |