arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.01175cs.LGcs.AIcs.CV
收藏

面向分布外检测的Logit Scaling方法

Logit Scaling for Out-of-Distribution Detection

ML Collective;Google DeepMind(谷歌DeepMind)

Andrija Djurisic, Rosanne Liu, Mladen Nikolic

AI总结:

提出一种无需训练数据分布、保持网络不变的事后方法Logit Scaling(LTS),通过缩放logits有效区分ID和OOD样本,在多个基准和架构上实现最先进性能。

摘要:

在开放世界环境中安全部署机器学习和AI模型,关键取决于能否准确检测出分布外(OOD)数据,即与模型训练数据差异巨大的数据样本。当前的OOD检测方法通常需要进一步训练模型,和/或需要可能不再可用的训练数据统计信息。此外,许多现有的OOD检测方法在跨不同架构迁移时难以保持性能。我们的研究通过提出一种简单的、事后(post-hoc)方法来解决这些问题,该方法不需要访问训练数据分布,保持已训练网络不变,并在各种架构上保持强劲性能。我们的方法,即Logit Scaling(LTS),顾名思义,以一种能有效区分分布内(ID)和OOD样本的方式简单地对logits进行缩放。我们在各种规模的基准上测试了我们的方法,包括CIFAR-10、CIFAR-100、ImageNet和OpenOOD。实验覆盖了3个ID数据集和14个OOD数据集,以及9种模型架构。总体而言,我们展示了最先进的性能、鲁棒性和跨不同架构的适应性,为先进的OOD检测铺平了通往通用解决方案的道路。

英文摘要:

The safe deployment of machine learning and AI models in open-world settings hinges critically on the ability to detect out-of-distribution (OOD) data accurately, data samples that contrast vastly from what the model was trained with. Current approaches to OOD detection often require further training the model, and/or statistics about the training data which may no longer be accessible. Additionally, many existing OOD detection methods struggle to maintain performance when transferred across different architectures. Our research tackles these issues by proposing a simple, post-hoc method that does not require access to the training data distribution, keeps a trained network intact, and holds strong performance across a variety of architectures. Our method, Logit Scaling (LTS), as the name suggests, simply scales the logits in a manner that effectively distinguishes between in-distribution (ID) and OOD samples. We tested our method on benchmarks across various scales, including CIFAR-10, CIFAR-100, ImageNet and OpenOOD. The experiments cover 3 ID and 14 OOD datasets, as well as 9 model architectures. Overall, we demonstrate state-of-the-art performance, robustness and adaptability across different architectures, paving the way towards a universally applicable solution for advanced OOD detection.

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

↑