TL;DR
This paper identifies class overlap as a fundamental bottleneck for temperature scaling, the most popular post-hoc method for calibrating deep learning models. The authors prove that while temperature scaling fails to provide reliable uncertainty estimates as class distributions overlap, training-time techniques like Mixup remain robust, suggesting that fixing overconfidence often requires changing the training objective rather than just post-processing the outputs.
What Problem Does This Paper Address?
Modern deep neural networks are notoriously overconfident; they often predict a class with 99% certainty even when they are wrong. Model calibration aims to ensure that a model’s predicted confidence reflects its actual probability of being correct.
The "gold standard" for simplicity is Temperature Scaling (TS), a post-processing step that divides a model's output logits by a single learned parameter $T$ to "dampen" overconfidence. However, empirical evidence shows that training-time modifications (like data augmentation) often outperform TS. This paper investigates why this happens, specifically focusing on the role of class overlap—regions in the feature space where multiple classes are likely to occur (e.g., due to label noise or inherently ambiguous data).
Methods
The authors approach the problem through both theoretical analysis and empirical validation:
- Theoretical Framework: They define a class of models called ERM Interpolators—models trained via Empirical Risk Minimization that fit the training data perfectly with high confidence and satisfy a "regularity" condition (local smoothness of logits).
- The Failure Proof: They prove that for these regular interpolators, even an "oracle" version of temperature scaling (with access to the true data distribution) fails as class overlap increases. In high-dimensional settings with many classes, TS-calibrated models eventually become no better than random guessing in overlapping regions.
- $d$-Mixup: To provide a theoretical counter-example, the authors analyze Mixup, a technique that trains on convex combinations of data points. They introduce $d$-Mixup, a variant that mixes $d+1$ points, to rigorously prove that training-time interpolation forces the model to represent uncertainty correctly in regions between training samples.
- Metrics: Beyond standard accuracy, they evaluate calibration using Negative Log-Likelihood (NLL), Expected Calibration Error (ECE), and Adaptive Calibration Error (ACE).
Datasets
The study uses a mix of synthetic and standard benchmarks:
- Synthetic Gaussian Data: A 300-dimensional binary classification task where the overlap is controlled by the distance ($\mu$) between two Gaussian distributions.
- Image Classification Benchmarks: CIFAR-10, CIFAR-100, and SVHN.
- Label Noise Injection: To simulate class overlap in real-world data, the authors introduced varying levels of label noise (0%, 25%, 50%) to the image datasets, effectively forcing the supports of different classes to overlap.
Key Insights and Ideas
- The Regularity Trap: Standard ERM training encourages models to be "flat" and confident in the neighborhood of training points. If the data has overlaps (like Figure 1 shows for 1-D intervals), this regularity prevents the model from naturally expressing the 50/50 uncertainty required in those regions.
- TS is a Blunt Instrument: Temperature scaling applies a global dampening factor. It cannot selectively fix overconfidence in overlapping regions without hurting the calibration of well-separated regions.
- Mixup as a Structural Constraint: Unlike TS, Mixup acts during training to constrain the model's behavior away from the training points. By forcing linear interpolation of probabilities, it naturally produces the "uncertain" intermediate values that TS struggles to recover post-hoc.
Key Results
The experiments confirm the theoretical predictions: as overlap increases, the performance of ERM + TS collapses while Mixup variants remain stable.
- Synthetic Data: In the high-overlap setting ($\mu=0.01$), ERM + TS reached a disastrous NLL of 4.2977, whereas 4-Mixup maintained a much healthier 0.7444 (see Figure 5/Table 2).
- Reliability Diagrams: As shown in Figure 2 (below), the ERM + TS model remains stubbornly bimodal—predicting either 0 or 1 confidence—even when it should be uncertain. In contrast, the 4-Mixup model correctly concentrates its confidence around 0.5 for overlapping classes.
- Image Benchmarks: On CIFAR-10 with 50% label noise, Mixup achieved an NLL of 1.77, vastly outperforming ERM + TS at 5.95. Similar trends were observed across ECE and ACE metrics.
Limitations and Future Work
- Computational Cost: The proposed $d$-Mixup requires computing convex combinations of $d+1$ points per batch, which is significantly more expensive than standard Mixup or TS.
- Linearity Assumption: The benefits of Mixup are tied to its linear interpolation. The authors suggest that exploring non-linear neighborhood constraints during training could be a promising future direction.
- Model Scope: The theory specifically targets "regular" interpolators. While this fits the profile of many modern deep networks, it may not apply to all architectures or training regimes (e.g., those with heavy weight decay or dropout).
Summary updated