MaxEnt Loss: Constrained Maximum Entropy for Calibration under Out-of-Distribution Shift
About
We present a new loss function that addresses the out-of-distribution (OOD) calibration problem. While many objective functions have been proposed to effectively calibrate models in-distribution, our findings show that they do not always fare well OOD. Based on the Principle of Maximum Entropy, we incorporate helpful statistical constraints observed during training, delivering better model calibration without sacrificing accuracy. We provide theoretical analysis and show empirically that our method works well in practice, achieving state-of-the-art calibration on both synthetic and real-world benchmarks.
Dexter Neo, Stefan Winkler, Tsuhan Chen• 2023
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Classification Calibration | fMoW | Accuracy53.04 | 9 | |
| Image Classification Calibration | iWILDCam | Accuracy75.11 | 9 | |
| Image Classification Calibration | CIFAR-10-C | Accuracy71.98 | 9 | |
| Image Classification Calibration | Tiny-ImageNet-C | Accuracy21.14 | 9 | |
| Image Classification Calibration | CAMELYON 17 | Accuracy85.67 | 9 | |
| Image Classification Calibration | CIFAR-100-C | Accuracy48.34 | 9 |
Showing 6 of 6 rows