Meta-Calibration: Learning of Model Calibration Using Differentiable Expected Calibration Error
About
Calibration of neural networks is a topical problem that is becoming more and more important as neural networks increasingly underpin real-world applications. The problem is especially noticeable when using modern neural networks, for which there is a significant difference between the confidence of the model and the probability of correct prediction. Various strategies have been proposed to improve calibration, yet accurate calibration remains challenging. We propose a novel framework with two contributions: introducing a new differentiable surrogate for expected calibration error (DECE) that allows calibration quality to be directly optimised, and a meta-learning framework that uses DECE to optimise for validation set calibration with respect to model hyper-parameters. The results show that we achieve competitive performance with existing calibration approaches. Our framework opens up a new avenue and toolset for tackling calibration, which we believe will inspire further work on this important challenge.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Classification | CIFAR-100 (test) | Accuracy74.55 | 63 | |
| Calibration | USPS | ECE9.05 | 57 | |
| Top-label Confidence Calibration | MNIST | ECE5.07 | 42 | |
| Image Classification Calibration | PACS Photo | ECE9.54 | 39 | |
| Top-label Confidence Calibration | SVHN | ECE60.8 | 30 | |
| Class-wise Calibration | MNIST | CwECE3.13 | 30 | |
| Image Classification Calibration | PACS Cartoon | ECE17.8 | 30 | |
| Image Classification Calibration | PACS Sketch | ECE18.8 | 30 | |
| Image Classification Calibration | PACS Art | ECE23.6 | 30 | |
| Image Classification | SVHN (test) | Accuracy35.06 | 26 |