arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.10712cs.CVcs.LG
收藏

基于核密度估计的任务无关分布外检测

Task-agnostic Out-of-Distribution Detection Using Kernel Density Estimation

ETH Zurich(苏黎世联邦理工学院)

Ertunc Erdil, Krishna Chaitanya, Neerav Karani, Ender Konukoglu

摘要:

近年来,研究人员提出了许多成功的方法来执行在深度神经网络(DNN)的分布外(OOD)检测。到目前为止,高精度方法的范围仅限于图像级分类任务。然而,尝试普遍适用的方法超越分类没有达到类似的性能。在本文中,我们提出了一个简单而有效的任务不可知的面向对象的检测方法来解决这个限制。我们通过对训练数据集执行核密度估计(KDE)来估计预训练DNN的中间特征的概率密度函数(pdf)。由于KDE的直接应用程序的特征地图是阻碍了他们的高维,我们使用一组低维边缘化的KDE模型,而不是一个单一的高维。在测试时,我们评估测试样本上的PDF,并产生一个置信度分数,表明样本是OOD。KDE的使用消除了对底层功能PDF进行简化假设的需要,并使所提出的方法与任务无关。我们使用OOD检测的基准数据集对分类任务进行了广泛的实验。此外,我们使用脑MRI数据集进行医学图像分割任务的实验。结果表明,所提出的方法始终实现高OOD检测性能的分类和分割任务,并提高了国家的最先进的几乎所有情况下。代码可在\url{https://github.com/eerdil/task_agnostic_ood}上获得

英文摘要:

In the recent years, researchers proposed a number of successful methods to perform out-of-distribution (OOD) detection in deep neural networks (DNNs). So far the scope of the highly accurate methods has been limited to image level classification tasks. However, attempts for generally applicable methods beyond classification did not attain similar performance. In this paper, we address this limitation by proposing a simple yet effective task-agnostic OOD detection method. We estimate the probability density functions (pdfs) of intermediate features of a pre-trained DNN by performing kernel density estimation (KDE) on the training dataset. As direct application of KDE to feature maps is hindered by their high dimensionality, we use a set of lower-dimensional marginalized KDE models instead of a single high-dimensional one. At test time, we evaluate the pdfs on a test sample and produce a confidence score that indicates the sample is OOD. The use of KDE eliminates the need for making simplifying assumptions about the underlying feature pdfs and makes the proposed method task-agnostic. We perform extensive experiments on classification tasks using benchmark datasets for OOD detection. Additionally, we perform experiments on medical image segmentation tasks using brain MRI datasets. The results demonstrate that the proposed method consistently achieves high OOD detection performance in both classification and segmentation tasks and improves state-of-the-art in almost all cases. Code is available at \url{https://github.com/eerdil/task_agnostic_ood}

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

↑