Beyond In-Domain Scenarios: Robust Density-Aware Calibration
Not on the map. Why?
Abstract (arXiv)
Calibrating deep learning models to yield uncertainty-aware predictions is crucial as deep neural networks get increasingly deployed in safety-critical applications. While existing post-hoc calibration methods achieve impressive results on in-domain test datasets, they are limited by their inability to yield reliable uncertainty estimates in domain-shift and out-of-domain (OOD) scenarios. We aim to bridge this gap by proposing DAC, an accuracy-preserving as well as Density-Aware Calibration method based on k-nearest-neighbors (KNN). In contrast to existing post-hoc methods, we utilize hidden layers of classifiers as a source for uncertainty-related information and study their importance. We show that DAC is a generic method that can readily be combined with state-of-the-art post-hoc methods. DAC boosts the robustness of calibration performance in domain-shift and OOD, while maintaining excellent in-domain predictive uncertainty estimates. We demonstrate that DAC leads to consistently better calibration across a large number of model architectures, datasets, and metrics. Additionally, we show that DAC improves calibration substantially on recent large-scale neural networks pre-trained on vast amounts of data.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 43 of its 58 references that are in the map. First posted on arXiv 10 Feb 2023.
Builds on
43 of 58 references.
References · 43
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
- 2017Billion-scale similarity search with GPUscited by 2,477
31 more
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
- 2016Xception: Deep Learning with Depthwise Separable Convolutionscited by 2,320
- 2016Identity Mappings in Deep Residual Networkscited by 1,960
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
- 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,274
- 2019When Does Label Smoothing Help?cited by 985
- 2019Big Transfer (BiT): General Visual Representation Learningcited by 766
- 2018Evidential Deep Learning to Quantify Classification Uncertaintycited by 728
- 2018Exploring the Limits of Weakly Supervised Pretrainingcited by 604
- 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
- 2019A Simple Baseline for Bayesian Uncertainty in Deep Learningcited by 555
- 2019Using Self-Supervised Learning Can Improve Model Robustness and Uncertaintycited by 511
- 2021Revisiting the Calibration of Modern Neural Networkscited by 387
- 2019Beyond temperature scaling: Obtaining well-calibrated multiclass probabilities with Dirichlet calibrationcited by 359
- 2019On Mixup Training: Improved Calibration and Predictive Uncertainty for Deep Neural Networkscited by 304
- 2017Photographic Image Synthesis with Cascaded Refinement Networkscited by 223
- 2020Pitfalls of In-Domain Uncertainty Estimation and Ensembling in Deep Learningcited by 208
- 2020Mix-n-Match: Ensemble and Compositional Methods for Uncertainty Calibration in Deep Learningcited by 190
- 2021On Calibration and Out-of-domain Generalizationcited by 134
- 2018Flipout: Efficient Pseudo-Independent Weight Perturbations on Mini-Batchescited by 133
- 2020Calibration of Neural Networks using Splinescited by 97
- 2020Intra Order-preserving Functions for Calibration of Multi-Class Neural Networkscited by 65
- 2020Post-hoc Uncertainty Calibration for Domain Drift Scenarioscited by 61
- 2019Non-Parametric Calibration for Classificationcited by 57
- 2018Dirichlet-based Gaussian Processes for Large-scale Calibrated Classificationcited by 50
- 2021Parameterized Temperature Scaling for Boosting the Expressive Power in Post-Hoc Uncertainty Calibrationcited by 48
- 2020Transferable Calibration with Lower Bias and Variance in Domain Adaptationcited by 41
- 2022Robust Calibration with Multi-domain Temperature Scalingcited by 39
- 2020Towards Trustworthy Predictions from Deep Neural Networks with Fast Adversarial Calibrationcited by 34
- 2021Confidence Calibration for Domain Generalization under Covariate Shiftcited by 27
Built on by
Citing papers per year: 2023: 1; 2024: 4; 2025: 5; 2026: 4.
14 papers.
Sort:
By area:
- 2023Calibration in Deep Learning: A Survey of the State-of-the-Artcited by 72
- 2024An Empirical Study Into What Matters for Calibrating Vision-Language Modelscited by 20
- 2024Optimizing Calibration by Gaining Aware of Prediction Correctnesscited by 4
- 2024Uncertainty Calibration with Energy Based Instance-wise Scaling in the Wild Datasetcited by 4
- 2025Where are we with calibration under dataset shift in image classification?cited by 4
- 2025h-calibration: Rethinking Classifier Recalibration with Probabilistic Error-Bounded Objectivecited by 2
- 2024Efficient Nearest Neighbor based Uncertainty Estimation for Natural Language Processing Taskscited by 1
- 2025Target-Agnostic Calibration under Distribution Shift with Frequency-Aware Gradient Rectificationcited by 1
- 2026Query2Uncertainty: Robust Uncertainty Quantification and Calibration for 3D Object Detection under Distribution Shiftcited by 1
- 2025Grasp-HGN: Grasping the Unexpectedcited by 0
- 2025DATS: Distance-Aware Temperature Scaling for Calibrated Class-Incremental Learningcited by 0
- 2026Recovering Stranded Discrimination in Knowledge Tracing: Per-Item Bias Correction via Empirical-Bayes Shrinkagecited by 0
- 2026Dynamic Distribution-Aware Uncertainty Tracking in Vision-Language Representation Learning10 Aug 2026
- 2026Counterfactual Fragility Certificates: Exposing High-Confidence Brittleness under Structured Evidence Failure29 Jun 2026
- 2026Recovering Stranded Discrimination in Knowledge Tracing: Per-Item Bias Correction via Empirical-Bayes Shrinkage12 Jun 2026
- 2026Query2Uncertainty: Robust Uncertainty Quantification and Calibration for 3D Object Detection under Distribution Shift6 May 2026
- 2025DATS: Distance-Aware Temperature Scaling for Calibrated Class-Incremental Learning25 Sep 2025
- 2025Target-Agnostic Calibration under Distribution Shift with Frequency-Aware Gradient Rectification27 Aug 2025
- 2025Grasp-HGN: Grasping the Unexpected11 Aug 2025
- 2025Where are we with calibration under dataset shift in image classification?10 Jul 2025
- 2025h-calibration: Rethinking Classifier Recalibration with Probabilistic Error-Bounded Objective22 Jun 2025
- 2024Uncertainty Calibration with Energy Based Instance-wise Scaling in the Wild Dataset17 Jul 2024
- 2024Efficient Nearest Neighbor based Uncertainty Estimation for Natural Language Processing Tasks2 Jul 2024
- 2024Optimizing Calibration by Gaining Aware of Prediction Correctness19 Apr 2024
2 more
- 2023Calibration in Deep Learning: A Survey of the State-of-the-Artcited by 72
- 2024Optimizing Calibration by Gaining Aware of Prediction Correctnesscited by 4
- 2024Uncertainty Calibration with Energy Based Instance-wise Scaling in the Wild Datasetcited by 4
- 2025Where are we with calibration under dataset shift in image classification?cited by 4
- 2025h-calibration: Rethinking Classifier Recalibration with Probabilistic Error-Bounded Objectivecited by 2
- 2024Efficient Nearest Neighbor based Uncertainty Estimation for Natural Language Processing Taskscited by 1
- 2025Target-Agnostic Calibration under Distribution Shift with Frequency-Aware Gradient Rectificationcited by 1
- 2026Query2Uncertainty: Robust Uncertainty Quantification and Calibration for 3D Object Detection under Distribution Shiftcited by 1
- 2025Grasp-HGN: Grasping the Unexpectedcited by 0
- 2025DATS: Distance-Aware Temperature Scaling for Calibrated Class-Incremental Learningcited by 0
- 2026Recovering Stranded Discrimination in Knowledge Tracing: Per-Item Bias Correction via Empirical-Bayes Shrinkagecited by 0
- 2026Counterfactual Fragility Certificates: Exposing High-Confidence Brittleness under Structured Evidence Failurecited by 0
- 2026Counterfactual Fragility Certificates: Exposing High-Confidence Brittleness under Structured Evidence Failure29 Jun 2026
- 2026Recovering Stranded Discrimination in Knowledge Tracing: Per-Item Bias Correction via Empirical-Bayes Shrinkage12 Jun 2026
- 2026Query2Uncertainty: Robust Uncertainty Quantification and Calibration for 3D Object Detection under Distribution Shift6 May 2026
- 2025DATS: Distance-Aware Temperature Scaling for Calibrated Class-Incremental Learning25 Sep 2025
- 2025Target-Agnostic Calibration under Distribution Shift with Frequency-Aware Gradient Rectification27 Aug 2025
- 2025Grasp-HGN: Grasping the Unexpected11 Aug 2025
- 2025Where are we with calibration under dataset shift in image classification?10 Jul 2025
- 2025h-calibration: Rethinking Classifier Recalibration with Probabilistic Error-Bounded Objective22 Jun 2025
- 2024Uncertainty Calibration with Energy Based Instance-wise Scaling in the Wild Dataset17 Jul 2024
- 2024Efficient Nearest Neighbor based Uncertainty Estimation for Natural Language Processing Tasks2 Jul 2024
- 2024Optimizing Calibration by Gaining Aware of Prediction Correctness19 Apr 2024
- 2023Calibration in Deep Learning: A Survey of the State-of-the-Art2 Aug 2023