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

通过归一化流进行特征密度估计以实现分布外检测

Feature Density Estimation for Out-of-Distribution Detection via Normalizing Flows

Evan D. Cook, Marc-Antoine Lavoie, Steven L. Waslander

AI总结:

本文提出一种基于归一化流特征密度估计的无监督OOD检测方法,无需接触OOD数据,仅需单轮训练即可在ImageNet-1k与Textures上取得98.2% AUROC,超越现有最优水平7.8%。

摘要:

分布外(OOD)检测是学习系统在开放世界环境中安全部署的一项关键任务。在本工作中,我们研究了通过归一化流进行特征密度估计以用于OOD检测,并提出了一种完全无监督的方法,该方法无需接触任何OOD数据,从而避免了研究者在OOD样本选择中的偏差。这是一种事后(post-hoc)方法,可应用于任何预训练模型,其做法是训练一个轻量级的辅助归一化流模型,通过密度阈值化来执行分布外检测。在图像分类中的OOD检测实验表明,仅需一个轮次的流训练即可在远距离OOD数据检测上取得显著结果,其中ImageNet-1k与Textures之间的AUROC达到98.2%,超过现有最优水平7.8%。此外,我们还探索了预训练模型的特征空间分布与我们方法性能之间的联系。最后,我们针对长期以来困扰归一化流在OOD检测中应用的训练陷阱提供了深入见解。

英文摘要:

Out-of-distribution (OOD) detection is a critical task for safe deployment of learning systems in the open world setting. In this work, we investigate the use of feature density estimation via normalizing flows for OOD detection and present a fully unsupervised approach which requires no exposure to OOD data, avoiding researcher bias in OOD sample selection. This is a post-hoc method which can be applied to any pretrained model, and involves training a lightweight auxiliary normalizing flow model to perform the out-of-distribution detection via density thresholding. Experiments on OOD detection in image classification show strong results for far-OOD data detection with only a single epoch of flow training, including 98.2% AUROC for ImageNet-1k vs. Textures, which exceeds the state of the art by 7.8%. We additionally explore the connection between the feature space distribution of the pretrained model and the performance of our method. Finally, we provide insights into training pitfalls that have plagued normalizing flows for use in OOD detection.

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

↑