Investigating the confidence calibratability of deep neural networks Investigating the confidence calibratability of deep neural networks

Deng-Bao Wang, Min-Ling ZhangScientia 2025

Abstract: Deep neural networks (DNNs) often suffer from poor confidence calibration, leading to overconfident predictions that can be problematic in safety-critical applications. While existing research focuses on train-time and post-hoc calibration methods, this study introduces the concept of "calibratability"—the inherent capacity of a trained model to be further improved by post-hoc techniques like Temperature Scaling. The authors demonstrate that common train-time strategies can inadvertently damage a model's calibratability due to feature over-compression in the final layers. To address this, they propose Progressively Layer-Peeled (PLP) training, which preserves essential information for uncertainty estimation, resulting in models that are significantly easier to calibrate without sacrificing predictive accuracy.

Introduction

The reliability of AI systems hinges not just on their accuracy, but on their ability to accurately estimate the uncertainty of their predictions. A well-calibrated model should provide a confidence score that reflects the true probability of correctness. However, modern DNNs are notoriously overconfident. This paper, published in Scientia Sinica Informationis (2025), shifts the focus from immediate calibration performance to "calibratability," investigating why some models respond better to post-hoc adjustments than others.

The Calibratability Paradox

The researchers identify a "calibratability paradox": many popular training techniques designed to improve initial calibration—such as label smoothing, Mixup, or heavy weight decay—actually make the model harder to refine later. By analyzing the internal features of networks, they found a "U-shaped trend" in feature calibratability. While features generally become more useful for calibration as they move deeper into the network, there is a sharp decline in the final layers. This is attributed to "feature over-compression," where the model discards subtle nuances in favor of extreme class separation, stripping away the information needed for nuanced uncertainty estimation.

Methods: Probing the Depths of Calibration

To understand why calibratability varies, the researchers employed a "hidden layer probing" technique. They attached small, linear classifiers to various internal layers of the network to measure the quality of features at different depths. This allowed them to track how the potential for calibration evolves as data passes through the model.

They discovered that while features initially become more informative for calibration as they progress through the network, the final layers often act as a bottleneck. Aggressive regularization techniques, while beneficial for accuracy, tend to strip away the variance in the feature space that post-hoc methods like Temperature Scaling need to function effectively.

Progressively Layer-Peeled (PLP) Training

To combat over-compression, the authors introduce Progressively Layer-Peeled (PLP) training. This strategy involves gradually "freezing" or "peeling away" the top layers of the network during the training process. By preventing these final layers from becoming overly specialized or complex, the model retains a richer representation of the data distribution, which is crucial for effective post-hoc calibration.

Key Results and Analysis

The PLP method was validated across diverse benchmarks, including CIFAR-10/100, SVHN, and Tiny-ImageNet for vision, and 20 Newsgroups for NLP. The results consistently showed that PLP-trained models achieved the lowest Expected Calibration Error (ECE) after Temperature Scaling compared to other train-time methods.

Confidence distribution analysis for ResNet18 and ResNet50 architectures across different training configurations.

As illustrated in the experimental analysis (Figure 6), the confidence profiles of standard architectures like ResNet18 and ResNet50 are significantly influenced by the training strategy. PLP-trained models maintain high classification accuracy while ensuring that their confidence scores remain informative and easily adjustable by post-hoc methods. This robustness was observed across both convolutional neural networks (CNNs) and modern Transformer architectures.

Conclusion

This research provides a new perspective on training reliable neural networks. By prioritizing calibratability over immediate calibration metrics, researchers can develop models that are better suited for real-world deployment where post-hoc adjustments are standard practice. The PLP training strategy offers a practical and effective way to ensure that deep learning models remain "calibratable," paving the way for more trustworthy AI systems in high-stakes domains.

Summary updated

BibTeX
@inproceedings{wang2025investigating,
  author = {Deng-Bao Wang and Min-Ling Zhang},
  title = {{Investigating the confidence calibratability of deep neural networks Investigating the confidence calibratability of deep neural networks}},
  booktitle = {Scientia},
  year = {2025},
  doi = {10.1360/ssi-2024-0305},
}
Figure