DICE: Leveraging Sparsification for Out-of-Distribution Detection

被引:42
|
作者
Sun, Yiyou [1 ]
Li, Yixuan [1 ]
机构
[1] Comp Scof Wisconsin Madison, Madison, WI 53706 USA
来源
COMPUTER VISION, ECCV 2022, PT XXIV | 2022年 / 13684卷
关键词
Out-of-distribution detection; Sparsification; NETWORKS;
D O I
10.1007/978-3-031-20053-3_40
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Detecting out-of-distribution (OOD) inputs is a central challenge for safely deploying machine learning models in the real world. Previous methods commonly rely on an OOD score derived from the overparameterized weight space, while largely overlooking the role of sparsification. In this paper, we reveal important insights that reliance on unimportant weights and units can directly attribute to the brittleness of OOD detection. To mitigate the issue, we propose a sparsification-based OOD detection framework termed DICE. Our key idea is to rank weights based on a measure of contribution, and selectively use the most salient weights to derive the output for OOD detection. We provide both empirical and theoretical insights, characterizing and explaining the mechanism by which DICE improves OOD detection. By pruning away noisy signals, DICE provably reduces the output variance for OOD data, resulting in a sharper output distribution and stronger separability from ID data. We demonstrate the effectiveness of sparsification-based OOD detection on several benchmarks and establish competitive performance. Code is available at: https://github.com/deeplearning- wisc/dice.git.
引用
收藏
页码:691 / 708
页数:18
相关论文
共 50 条
  • [41] Calibrated Out-of-Distribution Detection with a Generic Representation
    Vojir, Tomas
    Sochman, Jan
    Aljundi, Rahaf
    Matas, Jiri
    2023 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION WORKSHOPS, ICCVW, 2023, : 4509 - 4518
  • [42] Deep Hybrid Models for Out-of-Distribution Detection
    Cao, Senqi
    Zhang, Zhongfei
    2022 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2022), 2022, : 4723 - 4733
  • [43] POEM: Out-of-Distribution Detection with Posterior Sampling
    Ming, Yifei
    Fan, Ying
    Li, Yixuan
    INTERNATIONAL CONFERENCE ON MACHINE LEARNING, VOL 162, 2022,
  • [44] Out-of-Distribution Detection for Reliable Face Recognition
    Yu, Chang
    Zhu, Xiangyu
    Lei, Zhen
    Li, Stan Z.
    IEEE SIGNAL PROCESSING LETTERS, 2020, 27 : 710 - 714
  • [45] Characterizing Submanifold Region for Out-of-Distribution Detection
    Li, Xuhui
    Fang, Zhen
    Zhang, Yonggang
    Ma, Ning
    Bu, Jiajun
    Han, Bo
    Wang, Haishuai
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2025, 37 (01) : 130 - 147
  • [46] Out-of-Distribution Detection for Monocular Depth Estimation
    Hornauer, Julia
    Holzbock, Adrian
    Belagiannis, Vasileios
    2023 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION, ICCV, 2023, : 1911 - 1921
  • [47] ReAct: Out-of-distribution Detection With Rectified Activations
    Sun, Yiyou
    Guo, Chuan
    Li, Yixuan
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 34 (NEURIPS 2021), 2021, 34
  • [48] Boosting Out-of-Distribution Detection with Sample Weighting
    Ke, Ao
    Chen, Wenlong
    Feng, Chuanwen
    Xie, Xike
    PATTERN RECOGNITION AND COMPUTER VISION, PRCV 2023, PT III, 2024, 14427 : 213 - 223
  • [49] Nearest Neighbor Guidance for Out-of-Distribution Detection
    Park, Jaewoo
    Jung, Yoon Gyo
    Teoh, Andrew Beng Jin
    2023 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION, ICCV, 2023, : 1686 - 1695
  • [50] Decomposing texture and semantic for out-of-distribution detection
    Moon, Jeong-Hyeon
    Ahn, Namhyuk
    Sohn, Kyung-Ah
    EXPERT SYSTEMS WITH APPLICATIONS, 2024, 238