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

一种基准类分布外检测框架及其在ImageNet中的应用

A framework for benchmarking class-out-of-distribution detection and its application to ImageNet

Technion(以色列理工学院);Amazon(亚马逊)

Ido Galil, Mohammed Dabbah, Ran El-Yaniv

摘要:

当部署用于风险敏感型任务时,深度神经网络必须能够检测到带有标签的实例,这些标签来自它们所训练的分布之外。在本文中,我们提出了一个新的框架,以基准的图像分类器的能力,以检测类的分布实例(即,其真实标签不出现在训练分布中的实例)。我们将这种技术应用于ImageNet,并对525个预训练的、公开可用的ImageNet-1 k分类器进行了基准测试。为任何ImageNet-1 k分类器生成基准的代码,以及为上述525个模型准备的基准,可在https://github.com/mdabbah/COOD_benchmarking上获得。通过分析这些模型的测试结果,证明了该框架的有效性及其相对于现有基准测试的优势,这些结果揭示了许多新的观察结果,包括:(1)知识蒸馏一致地提高了分布外类(C-OOD)检测性能;(3)语言-视觉CLIP模型实现了良好的zero-shot检测性能,其最佳实例优于所有其他评估模型的96%;(4)准确度和分布内排名与C-OOD检测呈正相关;(5)我们比较了C-OOD检测的各种置信函数。我们的配套论文也发表在ICLR 2023(我们可以从523个Imagenet分类器的选择性预测和不确定性估计性能中学到什么),研究了这些分类器在分布环境中的不确定性估计性能(排名,校准和选择性预测性能)。

英文摘要:

When deployed for risk-sensitive tasks, deep neural networks must be able to detect instances with labels from outside the distribution for which they were trained. In this paper we present a novel framework to benchmark the ability of image classifiers to detect class-out-of-distribution instances (i.e., instances whose true labels do not appear in the training distribution) at various levels of detection difficulty. We apply this technique to ImageNet, and benchmark 525 pretrained, publicly available, ImageNet-1k classifiers. The code for generating a benchmark for any ImageNet-1k classifier, along with the benchmarks prepared for the above-mentioned 525 models is available at https://github.com/mdabbah/COOD_benchmarking. The usefulness of the proposed framework and its advantage over alternative existing benchmarks is demonstrated by analyzing the results obtained for these models, which reveals numerous novel observations including: (1) knowledge distillation consistently improves class-out-of-distribution (C-OOD) detection performance; (2) a subset of ViTs performs better C-OOD detection than any other model; (3) the language--vision CLIP model achieves good zero-shot detection performance, with its best instance outperforming 96% of all other models evaluated; (4) accuracy and in-distribution ranking are positively correlated to C-OOD detection; and (5) we compare various confidence functions for C-OOD detection. Our companion paper, also published in ICLR 2023 (What Can We Learn From The Selective Prediction And Uncertainty Estimation Performance Of 523 Imagenet Classifiers), examines the uncertainty estimation performance (ranking, calibration, and selective prediction performance) of these classifiers in an in-distribution setting.

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

↑