arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2302.05118cs.LGcs.AI
收藏

超越域内场景:鲁棒的密度感知校准

Beyond In-Domain Scenarios: Robust Density-Aware Calibration

Technical University of Munich(慕尼黑工业大学);Munich Center for Machine Learning(慕尼黑机器学习中心);The University of Tokyo(东京大学)

Christian Tomani, Futa Waseda, Yuesong Shen, Daniel Cremers

AI总结:

本文提出基于k近邻的密度感知校准方法DAC,利用分类器隐藏层信息提升模型在域偏移和域外场景下的校准鲁棒性,同时保持域内精度,并可兼容现有后处理校准方法。

摘要:

随着深度神经网络越来越多地部署在安全关键型应用中,校准深度学习模型以产生不确定性感知的预测至关重要。尽管现有的后处理校准方法在域内测试数据集上取得了令人印象深刻的结果,但它们在域偏移和域外(OOD)场景中无法产生可靠的不确定性估计,因而受到限制。我们旨在通过提出DAC来弥合这一差距,DAC是一种基于k近邻(KNN)的保持精度且密度感知的校准方法。与现有的后处理方法相比,我们利用分类器的隐藏层作为不确定性相关信息的来源,并研究其重要性。我们表明DAC是一种通用方法,可以很容易地与最先进的后处理方法结合。DAC提升了域偏移和OOD场景下校准性能的鲁棒性,同时保持了出色的域内预测不确定性估计。我们证明DAC在大量模型架构、数据集和指标上带来了一致更好的校准。此外,我们表明DAC显著改善了近期在大规模数据上预训练的大型神经网络的校准效果。

英文摘要:

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.

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

↑