Exploiting classifier inter-level features for efficient out-of-distribution detection

被引:1
|
作者
Fayyad, Jamil [1 ]
Gupta, Kashish [2 ]
Mahdian, Navid [2 ]
Gruyer, Dominique [3 ]
Najjaran, Homayoun [2 ]
机构
[1] Univ British Columbia, Sch Engn, 3333 Univ Way, Kelowna, BC V1V 1V7, Canada
[2] Univ Victoria, Fac Engn & Comp Sci, 3800 Finnerty Rd, Victoria, BC V8P 5C2, Canada
[3] Univ Gustave Eiffel, PICS L COSYS, IFSTTAR, 25 Marronniers, F-78000 Champs Sur Marne, France
关键词
Out -of -distribution detection; Deep learning -based classification; Machine learning; Feature exploitation; Intermediate feature extraction;
D O I
10.1016/j.imavis.2023.104897
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Deep learning approaches have achieved state-of-the-art performance in a wide range of applications. Most often, however, it is falsely assumed that samples at inference follow a similar distribution as the training data. This assumption impairs models' ability to handle Out-of-Distribution (OOD) data during deployment. While several OOD detection approaches mostly focus on outputs of the last layer, we propose a novel mechanism that exploits features extracted from intermediate layers of a deep classifier. Specifically, we train an off-the-shelf auxiliary network using features of early layers to learn distinctive representations that improve OOD detection. The proposed network can be appended to any classification model without imposing any modification to its original architecture. Additionally, the mechanism does not require access to OOD data during training. We evaluate the performance of the mechanism on a variety of backbone architectures and datasets for near-OOD and far-OOD scenarios. The results demonstrate improvements in OOD detection compared to other state-of-the-art approaches. In particular, our proposed mechanism improves AUROC by 14.2% and 8.3% in comparison to the strong OOD baseline method, and by 3.2% and 3.9% in comparison to the second-best performing approach, on CIFAR-10 and CIFAR-100 datasets respectively.
引用
收藏
页数:7
相关论文
共 50 条
  • [21] Out-of-distribution detection for SAR imagery using ATR systems
    Hill, Charles
    ALGORITHMS FOR SYNTHETIC APERTURE RADAR IMAGERY XXXI, 2024, 13032
  • [22] Out-of-distribution detection by regaining lost clues
    Zhao, Zhilin
    Cao, Longbing
    Yu, Philip S.
    ARTIFICIAL INTELLIGENCE, 2025, 339
  • [23] Ensemble-Based Out-of-Distribution Detection
    Yang, Donghun
    Mai Ngoc, Kien
    Shin, Iksoo
    Lee, Kyong-Ha
    Hwang, Myunggwon
    ELECTRONICS, 2021, 10 (05) : 1 - 12
  • [24] Latent Transformer Models for out-of-distribution detection
    Graham, Mark S.
    Tudosiu, Petru-Daniel
    Wright, Paul
    Pinaya, Walter Hugo Lopez
    Teikari, Petteri
    Patel, Ashay
    U-King-Im, Jean-Marie
    Mah, Yee H.
    Teo, James T.
    Jager, Hans Rolf
    Werring, David
    Rees, Geraint
    Nachev, Parashkev
    Ourselin, Sebastien
    Cardoso, M. Jorge
    MEDICAL IMAGE ANALYSIS, 2023, 90
  • [25] DEEPLENS: Interactive Out-of-distribution Data Detection in NLP Models
    Song, Da
    Wang, Zhijie
    Huang, Yuheng
    Ma, Lei
    Zhang, Tianyi
    PROCEEDINGS OF THE 2023 CHI CONFERENCE ON HUMAN FACTORS IN COMPUTING SYSTEMS, CHI 2023, 2023,
  • [26] Out-of-Distribution Detection with Memory-Augmented Variational Autoencoder
    Ataeiasad, Faezeh
    Elizondo, David
    Ramirez, Saul Calderon
    Greenfield, Sarah
    Deka, Lipika
    MATHEMATICS, 2024, 12 (19)
  • [27] MixOOD: Improving Out-of-distribution Detection with Enhanced Data Mixup
    Yang, Taocun
    Huang, Yaping
    Xie, Yanlin
    Liu, Junbo
    Wang, Shengchun
    ACM TRANSACTIONS ON MULTIMEDIA COMPUTING COMMUNICATIONS AND APPLICATIONS, 2023, 19 (05)
  • [28] A Simple Framework for Robust Out-of-Distribution Detection
    Hur, Youngbum
    Yang, Eunho
    Hwang, Sung Ju
    IEEE ACCESS, 2022, 10 : 23086 - 23097
  • [29] Language Models as Reasoners for Out-of-Distribution Detection
    Kirchheim, Konstantin
    Ortmeier, Frank
    COMPUTER SAFETY, RELIABILITY, AND SECURITY. SAFECOMP 2024 WORKSHOPS, 2024, 14989 : 379 - 390
  • [30] Weighted Mutual Information for Out-Of-Distribution Detection
    De Bernardi, Giacomo
    Narteni, Sara
    Cambiaso, Enrico
    Muselli, Marco
    Mongelli, Maurizio
    EXPLAINABLE ARTIFICIAL INTELLIGENCE, XAI 2023, PT III, 2023, 1903 : 318 - 331