Uncertainty Weighted Gradients for Model Calibration
Not on the map. Why?
Abstract (arXiv)
Model calibration is essential for ensuring that the predictions of deep neural networks accurately reflect true probabilities in real-world classification tasks. However, deep networks often produce over-confident or under-confident predictions, leading to miscalibration. Various methods have been proposed to address this issue by designing effective loss functions for calibration, such as focal loss. In this paper, we analyze its effectiveness and provide a unified loss framework of focal loss and its variants, where we mainly attribute their superiority in model calibration to the loss weighting factor that estimates sample-wise uncertainty. Based on our analysis, existing loss functions fail to achieve optimal calibration performance due to two main issues: including misalignment during optimization and insufficient precision in uncertainty estimation. Specifically, focal loss cannot align sample uncertainty with gradient scaling and the single logit cannot indicate the uncertainty. To address these issues, we reformulate the optimization from the perspective of gradients, which focuses on uncertain samples. Meanwhile, we propose using the Brier Score as the loss weight factor, which provides a more accurate uncertainty estimation via all the logits. Extensive experiments on various models and datasets demonstrate that our method achieves state-of-the-art (SOTA) performance.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 23 of its 37 references that are in the map. First posted on arXiv 26 Mar 2025.
Builds on
23 of 37 references.
References · 23
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2016Densely Connected Convolutional Networkscited by 6,720
- 2017On Calibration of Modern Neural Networkscited by 4,960
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
- 2016Wide Residual Networkscited by 3,070
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,849
- 2019When Does Label Smoothing Help?cited by 988
- 2019Beyond temperature scaling: Obtaining well-calibrated multiclass probabilities with Dirichlet calibrationcited by 364
- 2020Calibrating Deep Neural Networks using Focal Losscited by 357
- 2019On Mixup Training: Improved Calibration and Predictive Uncertainty for Deep Neural Networkscited by 305
- 2019Human uncertainty makes classification more robustcited by 235
- 2020Mix-n-Match: Ensemble and Compositional Methods for Uncertainty Calibration in Deep Learningcited by 190
11 more
- 2020Uncertainty Quantification and Deep Ensemblescited by 139
- 2020Evaluation of Neural Architectures Trained with Square Loss vs Cross-Entropy in Classification Taskscited by 138
- 2020Improving model calibration with accuracy versus uncertainty optimizationcited by 123
- 2021Soft Calibration Objectives for Neural Networkscited by 92
- 2015Posterior calibration and exploratory analysis for natural language processing modelscited by 76
- 2023Dual Focal Loss for Calibrationcited by 33
- 2021Meta-Calibration: Learning of Model Calibration Using Differentiable Expected Calibration Errorcited by 29
- 2023A Benchmark Study on Calibrationcited by 11
- 2023Calibrating a Deep Neural Network with Its Predecessorscited by 9
- 2024Feature Clipping for Uncertainty Calibrationcited by 8
- 2024Consistency Calibration: Improving Uncertainty Calibration via Consistency among Perturbed Neighborscited by 3
Built on by
Citing papers per year: 2025: 2; 2026: 3.
5 papers.
- 2025Sample Margin-Aware Recalibration of Temperature Scalingcited by 3
- 2025Target-Agnostic Calibration under Distribution Shift with Frequency-Aware Gradient Rectificationcited by 1
- 2026DeferredSeg:A Multi-Expert Deferral Framework for Medical Image Segmentationcited by 1
- 2026PriorNet: Prior-Guided Engagement Estimation from Face Videocited by 1
- 2026Toward Calibrated Mixture-of-Experts Under Distribution Shiftcited by 1
- 2026Toward Calibrated Mixture-of-Experts Under Distribution Shift18 Jun 2026
- 2026PriorNet: Prior-Guided Engagement Estimation from Face Video5 May 2026
- 2026DeferredSeg:A Multi-Expert Deferral Framework for Medical Image Segmentation14 Apr 2026
- 2025Target-Agnostic Calibration under Distribution Shift with Frequency-Aware Gradient Rectification27 Aug 2025
- 2025Sample Margin-Aware Recalibration of Temperature Scaling30 Jun 2025