arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2201.13001cs.LGcs.AIcs.DSq-bio.NCstat.ML
收藏

基于测地核的简单校准方法

Simple Calibration via Geodesic Kernels

Johns Hopkins University(约翰霍普金斯大学)

Jayanta Dey, Haoyin Xu, Ashwin De Silva, Joshua T. Vogelstein

AI总结:

针对现有方法难以同时兼顾分布内与分布外校准的问题,本文基于深度模型的特征空间多胞体划分特性,结合测地距离与高斯核提出KDF和KDN方法,实现两类样本的良好校准且基本保留分类精度。

摘要:

深度判别式方法(如决策森林和深度神经网络)近年来已在诸多重要的现实场景中得到应用。然而,将这些学习算法部署在安全关键型应用中会引发诸多担忧,尤其是在确保分布内(ID)和分布外(OOD)区域的校准性方面。许多流行的分布内校准方法(如等渗回归和Platt的S型回归)虽能实现不错的分布内校准效果,但并未针对整个特征空间进行校准,会导致在分布外区域出现过度自信的问题。现有的分布外校准方法通常存在分布内校准效果不佳的问题。本文联合解决分布内和分布外校准问题。我们利用深度模型会将特征空间划分为多个多胞体(即平面几何对象)并集的特性,引入测地距离来衡量这些多胞体之间的距离,再通过高斯核区分同一多胞体内的样本。我们在表格数据基准和视觉基准上开展的实验表明,所提出的方法——即核密度森林(KDF)和核密度网络(KDN)——能够为分布内和分布外样本生成校准良好的后验概率,同时基本保留分类准确率,且能外推至训练数据范围之外,妥善处理分布外输入。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑