A framework for benchmarking Class-out-of-distribution detection and its application to ImageNet
Ido Galil, Mohammed Dabbah, Ran El-Yaniv
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluation 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluation 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Out-of-Distribution Detection with Relative Angles 引用了 In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluation
- Out-of-Distribution Detection with Relative Angles 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Out-of-Distribution Detection with Relative Angles 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Out-of-Distribution Detection with Relative Angles 引用了 Training data-efficient image transformers & distillation through attention
- ImageNet-OOD: Deciphering Modern Out-of-Distribution Detection Algorithms 引用了 In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluation
- Twins: Revisiting the Design of Spatial Attention in Vision Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Twins: Revisiting the Design of Spatial Attention in Vision Transformers 引用了 Training data-efficient image transformers & distillation through attention
- Learning Transferable Visual Models From Natural Language Supervision 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Dream the Impossible: Outlier Imagination with Diffusion Models 引用了 In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluation
- Dream the Impossible: Outlier Imagination with Diffusion Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Training data-efficient image transformers & distillation through attention 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
引用它的顶会 Paper8
- In or Out? Fixing ImageNet Out-of-Distribution Detection EvaluationJulian Bitterwolf, Maximilian Müller, Matthias HeinICML 2023 · 154 次引用
- Dream the Impossible: Outlier Imagination with Diffusion ModelsXuefeng Du, Yiyou Sun, Jerry Zhu, Yixuan LiNeurIPS 2023 · 114 次引用
- ImageNet-OOD: Deciphering Modern Out-of-Distribution Detection AlgorithmsWilliam Yang, Byron Zhang, Olga RussakovskyICLR 2024 · 23 次引用
- Revisiting Score Propagation in Graph Out-of-Distribution DetectionLongfei Ma, Yiyou Sun, Kaize Ding, Zemin Liu 等NeurIPS 2024 · 14 次引用
- Out-of-Distribution Detection with Relative AnglesBerker Demirel, Marco Fumero, Francesco LocatelloNeurIPS 2025 · 3 次引用
它引用的 Paper11
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Searching for MobileNetV3Andrew Howard, Ruoming Pang, Hartwig Adam, Quoc V. Le 等ICCV 2019 · 9,163 次引用
- Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa 等ICML 2021 · 8,974 次引用
- Twins: Revisiting the Design of Spatial Attention in Vision TransformersXiangxiang Chu, Zhi Tian, Yuqing Wang, Bo Zhang 等NeurIPS 2021 · 1,388 次引用
相关 Paper
- What Can we Learn From The Selective Prediction And Uncertainty Estimation Performance Of 523 Imagenet Classifiers?Ido Galil, Mohammed Dabbah, Ran El-YanivICLR 2023 · 2 次引用
- Zero-Shot Out-of-Distribution Detection Based on the Pre-trained Model CLIPSepideh Esmaeilpour, Bing Liu, Eric Robertson, Lei ShuAAAI 2022 · 219 次引用
- Exploring the Limits of Out-of-Distribution DetectionStanislav Fort, Jie Ren, Balaji LakshminarayananNeurIPS 2021 · 443 次引用
- CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say NoHualiang Wang, Yi Li, Huifeng Yao, Xiaomeng LiICCV 2023 · 171 次引用
- FodFoM: Fake Outlier Data by Foundation Models Creates Stronger Visual Out-of-Distribution DetectorJiankang Chen, Ling Deng, Zhiyong Gan, Wei-Shi Zheng 等ACM MM 2024 · 3 次引用
