Simple Calibration via Geodesic Kernels
Not on the map. Why?
Abstract (arXiv)
Deep discriminative approaches, such as decision forests and deep neural networks, have recently found applications in many important real-world scenarios. However, deploying these learning algorithms in safety-critical applications raises concerns, particularly when it comes to ensuring calibration for both in-distribution and out-of-distribution regions. Many popular methods for in-distribution (ID) calibration, such as isotonic and Platt's sigmoidal regression, exhibit adequate ID calibration performance. However, these methods are not calibrated for the entire feature space, leading to overconfidence in the out-of-distribution (OOD) region. Existing OOD calibration methods generally exhibit poor ID calibration. In this paper, we jointly address the ID and OOD problems. We leveraged the fact that deep models learn to partition feature space into a union of polytopes, that is, flat-sided geometric objects. We introduce a geodesic distance to measure the distance between these polytopes and further distinguish samples within the same polytope using a Gaussian kernel. Our experiments on both tabular and vision benchmarks show that the proposed approaches, namely Kernel Density Forest (KDF) and Kernel Density Network (KDN), obtain well-calibrated posteriors for both ID and OOD samples, while mostly preserving the classification accuracy and extrapolating beyond the training data to handle OOD inputs appropriately.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 21 of its 43 references that are in the map. First posted on arXiv 31 Jan 2022.
Builds on
21 of 43 references.
References · 21
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
- 2019An Introduction to Variational Autoencoderscited by 997
- 2018Deep Anomaly Detection with Outlier Exposurecited by 939
- 2021Deep Neural Networks and Tabular Data: A Surveycited by 489
- 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 451
- 2018Do Deep Generative Models Know What They Don't Know?cited by 443
- 2015Deep Kernel Learningcited by 440
- 2019A Survey of Autonomous Driving: Common Practices and Emerging Technologiescited by 373
- 2019Beyond temperature scaling: Obtaining well-calibrated multiclass probabilities with Dirichlet calibrationcited by 359
- 2018Why ReLU networks yield high-confidence predictions far away from the training data and how to mitigate the problemcited by 323
9 more
- 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
- 2018Learning Confidence for Out-of-Distribution Detection in Neural Networkscited by 245
- 2017OpenML Benchmarking Suitescited by 169
- 2020Trust Issues: Uncertainty Estimation Does Not Enable Reliable OOD Detection On Medical Tabular Datacited by 52
- 2020Towards Maximizing the Representation Gap between In-Domain & Out-of-Distribution Examplescited by 40
- 2018Rethinking Feature Distribution for Loss Functions in Image Classificationcited by 39
- 2021No True State-of-the-Art? OOD Detection Methods are Inconsistent across Datasetscited by 31
- 2014The Random Forest Kernel and other kernels for big data from random partitionscited by 18
- 2021When are Deep Networks really better than Decision Forests at small sample sizes, and how?cited by 6
Built on by
Not cited yet.