LINe: Out-of-Distribution Detection by Leveraging Important Neurons

被引:7
作者
Ahn, Yong Hyun [1 ]
Park, Gyeong-Moon [2 ]
Kim, Seong Tae [2 ]
机构
[1] Kyung Hee Univ, Dept Artificial Intelligence, Seoul, South Korea
[2] Kyung Hee Univ, Dept Comp Sci & Engn, Seoul, South Korea
来源
2023 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR) | 2023年
基金
新加坡国家研究基金会;
关键词
D O I
10.1109/CVPR52729.2023.01901
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
It is important to quantify the uncertainty of input samples, especially in mission-critical domains such as autonomous driving and healthcare, where failure predictions on out-of-distribution (OOD) data are likely to cause big problems. OOD detection problem fundamentally begins in that the model cannot express what it is not aware of Post-hoc OOD detection approaches are widely explored because they do not require an additional re-training process which might degrade the model's performance and increase the training cost. In this study, from the perspective of neurons in the deep layer of the model representing high-level features, we introduce a new aspect for analyzing the difference in model outputs between in-distribution data and OOD data. We propose a novel method, Leveraging Important Neurons (LINe), for post-hoc Out of distribution detection. Shapley value-based pruning reduces the effects of noisy outputs by selecting only high-contribution neurons for predicting specific classes of input data and masking the rest. Activation clipping fixes all values above a certain threshold into the same value, allowing LINe to treat all the class-specificfeatures equally and just consider the difference between the number of activated feature differences between in-distribution and OOD data. Comprehensive experiments verify the effectiveness of the proposed method by outperforming state-of-the-art post-hoc OOD detection methods on CIFAR-10, CIFAR-100, and imageNet datasets. Code is available on https://github.com/LINe-OOD
引用
收藏
页码:19852 / 19862
页数:11
相关论文
共 63 条
  • [1] Latent Space Autoregression for Novelty Detection
    Abati, Davide
    Porrello, Angelo
    Calderara, Simone
    Cucchiara, Rita
    [J]. 2019 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2019), 2019, : 481 - 490
  • [2] Ancona M., 2019, P 36 INT C MACH LEAR, P272
  • [3] [Anonymous], ADV NEURAL INFORM PR
  • [4] [Anonymous], 2015, arXiv
  • [5] [Anonymous], 2014, arXiv
  • [6] Bargal Sarah Adel, 2019, BRIT MACH VIS C BMVC
  • [7] Understanding the role of individual units in a deep neural network
    Bau, David
    Zhu, Jun-Yan
    Strobelt, Hendrik
    Lapedriza, Agata
    Zhou, Bolei
    Torralba, Antonio
    [J]. PROCEEDINGS OF THE NATIONAL ACADEMY OF SCIENCES OF THE UNITED STATES OF AMERICA, 2020, 117 (48) : 30071 - 30078
  • [8] Network Dissection: Quantifying Interpretability of Deep Visual Representations
    Bau, David
    Zhou, Bolei
    Khosla, Aditya
    Oliva, Aude
    Torralba, Antonio
    [J]. 30TH IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2017), 2017, : 3319 - 3327
  • [9] Bau David, 2019, INT C LEARN REPR
  • [10] Towards Open Set Deep Networks
    Bendale, Abhijit
    Boult, Terrance E.
    [J]. 2016 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2016, : 1563 - 1572