LHAct: Rectifying Extremely Low and High Activations for Out-of-Distribution Detection

被引:1
|
作者
Yuan, Yue [1 ]
He, Rundong [1 ]
Han, Zhongyi [2 ]
Yin, Yilong [1 ]
机构
[1] Shandong Univ, Sch Software, Jinan, Shandong, Peoples R China
[2] MBZUAI, Machine Learning Dept, Abu Dhabi, U Arab Emirates
来源
PROCEEDINGS OF THE 31ST ACM INTERNATIONAL CONFERENCE ON MULTIMEDIA, MM 2023 | 2023年
基金
中国国家自然科学基金;
关键词
out-of-distribution detection; abnormal activation;
D O I
10.1145/3581783.3611720
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
In recent years, out-of-distribution (OOD) detection has emerged as a crucial research area, especially when deploying AI products in real-world scenarios. OOD detection researchers have made significant efforts to mitigate the adverse effects of abnormal activation values (abbr. activations) that refer to the outputs of the activation function acted on feature maps. Since abnormal activations would cause difficulty in separating ID and OOD data, the previous unified solution is to rectify the extremely high abnormal activations by clipping them with a pre-defined threshold or filtering them with a low-pass filter. However, it ignores the extremely low abnormal activations, and the proposed rectification strategy is always suboptimal because the used rectification function is non-convergence or high-intensity convergence, leading to under-rectification or over-rectification. In this paper, we propose an approach called Rectifying Extremely Low and High Activations (LHAct). LHAct includes a newly-designed function to rectify the extremely low and high activations at the same time. Specifically, LHAct increases the difference of means between ID and OOD activation distributions while decreasing their variances after processing the original activations. Our theoretical analyses demonstrate that LHAct significantly enhances the separability of ID and OOD data. By conducting extensive experiments, we demonstrate that LHAct surpasses previous activation-based methods significantly and generalizes well to other architectures and OOD scores. Code is available at: https://github.com/ystyuan/LHAct.git.
引用
收藏
页码:8105 / 8113
页数:9
相关论文
共 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] 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
  • [48] 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
  • [49] Decomposing texture and semantic for out-of-distribution detection
    Moon, Jeong-Hyeon
    Ahn, Namhyuk
    Sohn, Kyung-Ah
    EXPERT SYSTEMS WITH APPLICATIONS, 2024, 238
  • [50] Out-Of-Distribution Detection Is Not All You Need
    Guerin, Joris
    Delmas, Kevin
    Ferreira, Raul
    Guiochet, Jeremie
    THIRTY-SEVENTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 37 NO 12, 2023, : 14829 - 14837