Leveraging Visual Attention for out-of-distribution Detection

被引:3
|
作者
Cultrera, Luca [1 ]
Seidenari, Lorenzo [1 ]
Del Bimbo, Alberto [1 ]
机构
[1] Univ Florence, MICC, Florence, Italy
来源
2023 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION WORKSHOPS, ICCVW | 2023年
基金
欧盟地平线“2020”;
关键词
D O I
10.1109/ICCVW60793.2023.00479
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Out-of-Distribution (OOD) detection is a crucial challenge in computer vision, especially when deploying machine learning models in the real world. In this paper, we propose a novel OOD detection method leveraging Visual Attention Heatmaps from a Vision Transformer (ViT) classifier. Our approach involves training a Convolutional Autoencoder to reconstruct attention heatmaps produced by a ViT classifier, enabling accurate image reconstruction and effective OOD detection. Moreover, our method does not require additional labels during training, ensuring efficiency and ease of implementation. We validate our approach on a standard OOD benchmark using CIFAR10 and CIFAR100. To test OOD in a real-world setting we also collected a novel dataset: WildCapture. Our new dataset comprises more than 60k wild animal shots, from 15 different wildlife species, taken via phototraps in varying lighting conditions. The dataset is fully annotated with animal bounding boxes and species.
引用
收藏
页码:4449 / 4458
页数:10
相关论文
共 50 条
  • [1] DICE: Leveraging Sparsification for Out-of-Distribution Detection
    Sun, Yiyou
    Li, Yixuan
    COMPUTER VISION, ECCV 2022, PT XXIV, 2022, 13684 : 691 - 708
  • [2] LINe: Out-of-Distribution Detection by Leveraging Important Neurons
    Ahn, Yong Hyun
    Park, Gyeong-Moon
    Kim, Seong Tae
    2023 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2023, : 19852 - 19862
  • [3] Out-of-Distribution Detection with Uncertainty Enhanced Attention Maps
    Gao, Yue
    Su, Qinliang
    2021 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2021,
  • [4] Out-of-distribution Detection Learning with Unreliable Out-of-distribution Sources
    Zheng, Haotian
    Wang, Qizhou
    Fang, Zhen
    Xia, Xiaobo
    Liu, Feng
    Liu, Tongliang
    Han, Bo
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 36 (NEURIPS 2023), 2023,
  • [5] Leveraging diffusion models for unsupervised out-of-distribution detection on image manifold
    Liu, Zhenzhen
    Zhou, Jin Peng
    Weinberger, Kilian Q.
    FRONTIERS IN ARTIFICIAL INTELLIGENCE, 2024, 7
  • [6] Attention Masking for Improved Near Out-of-Distribution Image Detection
    Sim, Minho
    Lee, Jongwhoa
    Choi, Ho-Jin
    2023 IEEE INTERNATIONAL CONFERENCE ON BIG DATA AND SMART COMPUTING, BIGCOMP, 2023, : 195 - 202
  • [7] On the Learnability of Out-of-distribution Detection
    Fang, Zhen
    Li, Yixuan
    Liu, Feng
    Han, Bo
    Lu, Jie
    Journal of Machine Learning Research, 2024, 25
  • [8] Entropic Out-of-Distribution Detection
    Macedo, David
    Ren, Tsang Ing
    Zanchettin, Cleber
    Oliveira, Adriano L., I
    Ludermir, Teresa
    2021 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2021,
  • [9] Watermarking for Out-of-distribution Detection
    Wang, Qizhou
    Liu, Feng
    Zhang, Yonggang
    Zhang, Jing
    Gong, Chen
    Liu, Tongliang
    Han, Bo
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35 (NEURIPS 2022), 2022,
  • [10] Is Out-of-Distribution Detection Learnable?
    Fang, Zhen
    Li, Yixuan
    Lu, Jie
    Dong, Jiahua
    Han, Bo
    Liu, Feng
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35 (NEURIPS 2022), 2022,