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

基于热力图的分布外检测

Heatmap-based Out-of-Distribution Detection

Ulm University(乌尔姆大学);Friedrich-Alexander-University Erlangen-Nürnberg(埃尔朗根-纽伦堡弗里德里希-亚历山大大学)

Julia Hornauer, Vasileios Belagiannis

AI总结:

本文提出基于热力图的分布外检测方法,通过训练解码器生成区分分布内外的热力图,在多个数据集上优于先前工作。

摘要:

我们的工作将分布外(OOD)检测作为神经网络输出解释问题进行研究。我们学习一种热力图表示,用于检测OOD图像,同时可视化分布内和分布外的图像区域。给定一个已训练且固定的分类器,我们训练一个解码器神经网络,基于分类器特征和类别预测,为分布内样本生成零响应的热力图,为OOD样本生成高响应的热力图。我们的主要创新在于OOD样本的热力图定义,即与最近分布内样本的归一化差异。该热力图作为区分分布内和分布外样本的边界。我们的方法不仅为OOD检测生成热力图,还用于指示输入图像中的分布内和分布外区域。在我们的评估中,我们的方法在CIFAR-10、CIFAR-100和Tiny ImageNet上训练的固定分类器上,大多优于先前的工作。代码公开可在以下地址获取:https://github.com/jhornauer/heatmap_ood。

英文摘要:

Our work investigates out-of-distribution (OOD) detection as a neural network output explanation problem. We learn a heatmap representation for detecting OOD images while visualizing in- and out-of-distribution image regions at the same time. Given a trained and fixed classifier, we train a decoder neural network to produce heatmaps with zero response for in-distribution samples and high response heatmaps for OOD samples, based on the classifier features and the class prediction. Our main innovation lies in the heatmap definition for an OOD sample, as the normalized difference from the closest in-distribution sample. The heatmap serves as a margin to distinguish between in- and out-of-distribution samples. Our approach generates the heatmaps not only for OOD detection, but also to indicate in- and out-of-distribution regions of the input image. In our evaluations, our approach mostly outperforms the prior work on fixed classifiers, trained on CIFAR-10, CIFAR-100 and Tiny ImageNet. The code is publicly available at: https://github.com/jhornauer/heatmap_ood.

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

↑