Computer Science > Machine Learning
[Submitted on 31 Jan 2022 (v1), last revised 7 Jun 2024 (this version, v8)]
Title:Deep Discriminative to Kernel Density Graph for In- and Out-of-distribution Calibrated Inference
View PDF HTML (experimental)Abstract:Deep discriminative approaches like random 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 confidence calibration for both in-distribution and out-of-distribution data points. Many popular methods for in-distribution (ID) calibration, such as isotonic and Platt's sigmoidal regression, exhibit excellent ID calibration performance. However, these methods are not calibrated for the entire feature space, leading to overconfidence in the case of out-of-distribution (OOD) samples. On the other end of the spectrum, existing out-of-distribution (OOD) calibration methods generally exhibit poor in-distribution (ID) calibration. In this paper, we address ID and OOD calibration problems jointly. We leveraged the fact that deep models, including both random forests and deep-nets, learn internal representations which are unions of polytopes with affine activation functions to conceptualize them both as partitioning rules of the feature space. We replace the affine function in each polytope populated by the training data with a Gaussian kernel. Our experiments on both tabular and vision benchmarks show that the proposed approaches obtain well-calibrated posteriors while mostly preserving or improving the classification accuracy of the original algorithm for ID region, and extrapolate beyond the training data to handle OOD inputs appropriately.
Submission history
From: Jayanta Dey [view email][v1] Mon, 31 Jan 2022 05:07:16 UTC (16,278 KB)
[v2] Sun, 6 Feb 2022 14:38:23 UTC (16,262 KB)
[v3] Mon, 14 Feb 2022 14:14:47 UTC (16,263 KB)
[v4] Fri, 25 Mar 2022 03:41:23 UTC (16,263 KB)
[v5] Fri, 19 May 2023 21:15:28 UTC (18,650 KB)
[v6] Thu, 19 Oct 2023 02:27:07 UTC (33,996 KB)
[v7] Tue, 12 Mar 2024 12:57:20 UTC (33,151 KB)
[v8] Fri, 7 Jun 2024 17:10:00 UTC (32,931 KB)
Current browse context:
q-bio
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
IArxiv Recommender
(What is IArxiv?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.