TL;DR
This paper presents the first large-scale investigation into neural network calibration properties by leveraging the Neural Architecture Search (NAS) search space. By evaluating over 117,000 unique architectures across 102 different calibration measurements, the authors debunk common myths about the relationship between accuracy, robustness, and calibration, providing a massive new dataset for the community.
What Problem Does This Paper Address?
Deep Neural Networks (DNNs) are notoriously "overconfident"—they might predict a class with 99% certainty even when they are wrong. This discrepancy between predicted probability and actual accuracy is known as miscalibration. While many researchers have proposed new loss functions or post-hoc fixes (like temperature scaling) to improve calibration, we still lack a fundamental understanding of how calibration relates to model architecture and dataset complexity.
Most existing studies are limited to a handful of popular architectures (like ResNet or ViT). This paper addresses this "limited diversity" problem by performing an exhaustive study across a massive search space of models to see if longstanding assumptions about calibration actually hold up under scrutiny.
Methods
The authors utilize the NATS-Bench search space, which provides a standardized set of architectures for research. They evaluate two distinct search spaces:
- Topology Search Space (TSS): 15,625 architectures where the connections (edges) between nodes vary.
- Size Search Space (SSS): 32,768 architectures where the number of channels (width) varies.
To compare these models, they use Kendall ranking correlation, a non-parametric statistic that measures how well the rankings of models stay consistent across different metrics or datasets. If a model that is well-calibrated on Dataset A is also well-calibrated on Dataset B, the Kendall coefficient would be close to +1.
Datasets
The study evaluates models on three primary image classification benchmarks: CIFAR-10, CIFAR-100, and ImageNet16-120 (a downsampled version of ImageNet). To test robustness and Out-of-Distribution (OoD) performance, they also use:
- CIFAR-10-C: CIFAR-10 with various corruptions (noise, blur, etc.).
- SVHN: Street View House Numbers.
The resulting dataset includes 102 different measurements per model, covering various binning strategies and post-hoc calibration methods.
Key Insights and Ideas
- Calibration is not a "universal" property: A model that is well-calibrated on CIFAR-10 is not necessarily well-calibrated on ImageNet. In fact, for high-accuracy models, the correlation between calibration on CIFAR-10 and ImageNet was nearly zero or even negative.
- The "Accuracy-Calibration Trade-off" is a myth (mostly): Previous literature suggested that as models get more accurate, they become more miscalibrated. This study finds the opposite: among high-performing architectures, higher accuracy actually correlates with better calibration.
- Temperature Scaling is a "Ranking Shuffler": Post-hoc calibration (like temperature scaling) is often seen as a silver bullet. However, the authors found that it doesn't affect all models equally. A model that looks "best" before scaling might not be the best after scaling.
- Skip connections are calibration heroes: When looking at architectural preferences, well-calibrated models showed a unanimous preference for skip connections in certain parts of the network topology.
Key Results
- Generalization: The ranking of models by Expected Calibration Error (ECE) varies wildly across datasets. The correlation between CIFAR-10 and ImageNet is a meager 0.024 for the entire model set, demonstrating that calibration performance does not easily generalize.
- Accuracy vs. Calibration: The authors found that for models with >90% accuracy, there is a clear positive trend: as accuracy increases, ECE decreases (indicating better calibration). This challenges the idea that we must sacrifice one for the other.
- Metric Reliability: The authors found that most calibration metrics (ECE, KSCE, MMCE) are fairly consistent with each other, except for classwise metrics (cwCE), which can be misleadingly uncorrelated or even negatively correlated with other standard measures.
Limitations and Future Work
The authors acknowledge that their study is primarily empirical and focused on image classification. While they provide a wealth of data, the theoretical "why" behind some of these architectural preferences remains an open question. Furthermore, they focused heavily on Temperature Scaling as the primary post-hoc method; future work could explore if other methods (like Dirichlet calibration) behave more uniformly across the NAS search space.
By releasing this massive dataset, the authors have paved the way for the community to develop "calibration-aware" Neural Architecture Search, potentially leading to models that are both highly accurate and reliably honest about their own uncertainty.
Summary updated