Block Selection Method for Using Feature Norm in Out-of-Distribution Detection

被引:15
作者
Yu, Yeonguk [1 ]
Shin, Sungho [1 ]
Lee, Seongju [1 ]
Jun, Changhyun [1 ]
Lee, Kyoobin [1 ]
机构
[1] Gwangju Inst Sci & Technol, Gwangju, South Korea
来源
2023 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR) | 2023年
关键词
D O I
10.1109/CVPR52729.2023.01507
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Detecting out-of-distribution (OOD) inputs during the inference stage is crucial for deploying neural networks in the real world. Previous methods typically relied on the highly activated feature map outputted by the network. In this study, we revealed that the norm of the feature map obtained from a block other than the last block can serve as a better indicator for OOD detection. To leverage this insight, we propose a simple framework that comprises two metrics: FeatureNorm, which computes the norm of the feature map, and NormRatio, which calculates the ratio of FeatureNorm for ID and OOD samples to evaluate the OOD detection performance of each block. To identify the block that provides the largest difference between FeatureNorm of ID and FeatureNorm of OOD, we create jigsaw puzzles as pseudo OOD from ID training samples and compute NormRatio, selecting the block with the highest value. After identifying the suitable block, OOD detection using FeatureNorm outperforms other methods by reducing FPR95 by up to 52.77% on CIFAR10 benchmark and up to 48.53% on ImageNet benchmark. We demonstrate that our framework can generalize to various architectures and highlight the significance of block selection, which can also improve previous OOD detection methods. Our code is available at https://github.com/gistailab/block-selection-for-OOD-detection.
引用
收藏
页码:15701 / 15711
页数:11
相关论文
共 55 条
[21]  
Huang Rui, 2021, P IEEE CVF C COMP VI
[22]   Computer Vision for Autonomous Vehicles [J].
Janai, Joel ;
Guney, Fatma ;
Behl, Aseem ;
Geiger, Andreas .
FOUNDATIONS AND TRENDS IN COMPUTER GRAPHICS AND VISION, 2020, 12 (1-3) :1-308
[23]  
Karandikar A, 2021, ADV NEUR IN
[24]  
Komodakis N., 2007, PROC IEEE C COMPUTER, P1
[25]  
Krizhevsky A., 2009, LEARNING MULTIPLE LA
[26]   ImageNet Classification with Deep Convolutional Neural Networks [J].
Krizhevsky, Alex ;
Sutskever, Ilya ;
Hinton, Geoffrey E. .
COMMUNICATIONS OF THE ACM, 2017, 60 (06) :84-90
[27]  
Kumar A, 2018, PR MACH LEARN RES, V80
[28]   Exploration in deep reinforcement learning: A survey [J].
Ladosz, Pawel ;
Weng, Lilian ;
Kim, Minwoo ;
Oh, Hyondong .
INFORMATION FUSION, 2022, 85 :1-22
[29]  
Lee K, 2018, ADV NEUR IN, V31
[30]   Preparation Of Carbon cloth/MnO2 Doped with Different Metal Ions for Supercapacitor Electrode [J].
Li, Xiaoyan ;
Yang, Na ;
Yao, Jiming ;
Xu, Jianlin .
2022 INTERNATIONAL CONGRESS ON ADVANCED MATERIALS SCIENCES AND ENGINEERING, AMSE, 2022, :5-8