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 条
  • [21] Out-of-Distribution Detection Using Outlier Detection Methods
    Diers, Jan
    Pigorsch, Christian
    IMAGE ANALYSIS AND PROCESSING, ICIAP 2022, PT III, 2022, 13233 : 15 - 26
  • [22] On the Impact of Spurious Correlation for Out-of-Distribution Detection
    Ming, Yifei
    Yin, Hang
    Li, Yixuan
    THIRTY-SIXTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE / THIRTY-FOURTH CONFERENCE ON INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE / TWELVETH SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2022, : 10051 - 10059
  • [23] Provable Guarantees for Understanding Out-of-Distribution Detection
    Morteza, Peyman
    Li, Yixuan
    THIRTY-SIXTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE / THIRTY-FOURTH CONFERENCE ON INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE / TWELVETH SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2022, : 7831 - 7840
  • [24] Your Out-of-Distribution Detection Method is Not Robust!
    Azizmalayeri, Mohammad
    Moakhar, Arshia Soltani
    Zarei, Arman
    Zohrabi, Reihaneh
    Manzuri, Mohammad Taghi
    Rohban, Mohammad Hossein
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35 (NEURIPS 2022), 2022,
  • [25] Learning to Augment Distributions for Out-of-Distribution Detection
    Wang, Qizhou
    Fang, Zhen
    Zhang, Yonggang
    Liu, Feng
    Li, Yixuan
    Han, Bo
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 36 (NEURIPS 2023), 2023,
  • [26] 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
  • [27] CONTINUAL LEARNING FOR OUT-OF-DISTRIBUTION PEDESTRIAN DETECTION
    Molahasani, Mahdiyar
    Etemad, Ali
    Greenspan, Michael
    2023 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING, ICIP, 2023, : 2685 - 2689
  • [28] Boosting Out-of-distribution Detection with Typical Features
    Zhu, Yao
    Chen, Yuefeng
    Xie, Chuanlong
    Li, Xiaodan
    Zhang, Rong
    Xue, Hui
    Tian, Xiang
    Zheng, Bolun
    Chen, Yaowu
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35 (NEURIPS 2022), 2022,
  • [29] Out-of-distribution detection by regaining lost clues
    Zhao, Zhilin
    Cao, Longbing
    Yu, Philip S.
    ARTIFICIAL INTELLIGENCE, 2025, 339
  • [30] Ensemble-Based Out-of-Distribution Detection
    Yang, Donghun
    Mai Ngoc, Kien
    Shin, Iksoo
    Lee, Kyong-Ha
    Hwang, Myunggwon
    ELECTRONICS, 2021, 10 (05) : 1 - 12