Introduction
Modern neural networks achieve impressive accuracy but suffer from a significant "confidence" problem: they are often overconfident in their incorrect predictions. In a well-calibrated system, a model's predicted probability should match its actual accuracy. However, architectures like ResNets tend to produce high-probability estimates even for out-of-distribution (OOD) data.
While "implicit" regularization from Stochastic Gradient Descent (SGD) helps accuracy, it fails to ensure reliable predictive probabilities. This paper argues that "explicit" regularization—directly penalizing the complexity of the model's output—is essential for closing the calibration gap, often outperforming complex Bayesian methods and ensembles without the extra computational cost.
Methods for Explicit Regularization
The authors propose moving beyond standard weight decay to regularize the function complexity via model logits ($f^W$). They explore four main techniques:
- Strong Weight Decay: Pushing standard weight decay further, though this can lead to "weight collapse."
- Logit Norm Regularization ($L^1$ and $L^2$): Directly penalizing logit magnitudes to prevent extreme, overconfident values.
- Sliced Wasserstein Distance ($SW_1$): Minimizing the distance between logit distributions and a standard Gaussian to encourage decorrelated, reasonable outputs.
- Projected Error Function Regularization (PER): An efficient version of the Wasserstein approach using robust norms in randomly projected spaces.
Key Insights and Results
A central finding is the link between log-likelihood and calibration: the authors demonstrate that improving the generalization of log-likelihood through regularization naturally improves calibration performance.
As shown in Figure 4, while standard weight decay is often too weak to affect calibration, increasing the weight decay ratio can significantly reduce the Expected Calibration Error (ECE). However, the authors note that logit-based regularization (like PER) is more stable and avoids model collapse. On CIFAR-100, PER reduced ECE from 13.95% to 4.67% while simultaneously boosting top-1 accuracy from 74.64% to 76.28%. Furthermore, these methods outperformed expensive techniques like Deep Ensembles in OOD detection tasks without additional computational overhead during inference.
Conclusion
Explicit regularization offers a computationally efficient path to well-calibrated deep learning models. By shaping the model's "ignorance" on difficult samples, these techniques provide more reliable uncertainty estimates than post-hoc fixes like temperature scaling or complex Bayesian methods. Future work may combine these deterministic approaches with more expressive layers to capture both aleatoric and epistemic uncertainty while maintaining efficiency.
Summary updated