Revisiting Deep Ensemble for Out-of-Distribution Detection: A Loss Landscape Perspective

被引:0
|
作者
Fang, Kun [1 ]
Tao, Qinghua [2 ]
Huang, Xiaolin [1 ]
Yang, Jie [1 ]
机构
[1] Shanghai Jiao Tong Univ, Dept Automat, Shanghai, Peoples R China
[2] Katholieke Univ Leuven, ESAT STADIUS, Heverlee, Belgium
基金
中国国家自然科学基金;
关键词
Out-of-distribution detection; Loss landscape; Mode; Ensemble;
D O I
10.1007/s11263-024-02156-x
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Existing Out-of-Distribution (OoD) detection methods address to detect OoD samples from In-Distribution (InD) data mainly by exploring differences in features, logits and gradients in Deep Neural Networks (DNNs). We in this work propose a new perspective upon loss landscape and mode ensemble to investigate OoD detection. In the optimization of DNNs, there exist many local optima in the parameter space, or namely modes. Interestingly, we observe that these independent modes, which all reach low-loss regions with InD data (training and test data), yet yield significantly different loss landscapes with OoD data. Such an observation provides a novel view to investigate the OoD detection from the loss landscape, and further suggests significantly fluctuating OoD detection performance across these modes. For instance, FPR values of the RankFeat (Song et al. in Advances in Neural Information Processing Systems 35:17885-17898, 2022) method can range from 46.58% to 84.70% among 5 modes, showing uncertain detection performance evaluations across independent modes. Motivated by such diversities on OoD loss landscape across modes, we revisit the deep ensemble method for OoD detection through mode ensemble, leading to improved performance and benefiting the OoD detector with reduced variances. Extensive experiments covering varied OoD detectors and network structures illustrate high variances across modes and validate the superiority of mode ensemble in boosting OoD detection. We hope this work could attract attention in the view of independent modes in the loss landscape of OoD data and more reliable evaluations on OoD detectors.
引用
收藏
页码:6107 / 6126
页数:20
相关论文
共 50 条
  • [41] In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluation
    Bitterwolf, Julian
    Mueller, Maximilian
    Hein, Matthias
    INTERNATIONAL CONFERENCE ON MACHINE LEARNING, VOL 202, 2023, 202
  • [42] Towards Boosting Out-of-Distribution Detection from a Spatial Feature Importance Perspective
    Zhu, Yao
    Yan, Xiu
    Xie, Chuanlong
    INTERNATIONAL JOURNAL OF COMPUTER VISION, 2025,
  • [43] Deep Stable Learning for Out-Of-Distribution Generalization
    Zhang, Xingxuan
    Cui, Peng
    Xu, Renzhe
    Zhou, Linjun
    He, Yue
    Shen, Zheyan
    2021 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, CVPR 2021, 2021, : 5368 - 5378
  • [44] Out-of-Distribution Robustness with Deep Recursive Filters
    Katyal, Kapil D.
    Wang, I-Jeng
    Hager, Gregory D.
    2021 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND AUTOMATION (ICRA 2021), 2021, : 14134 - 14140
  • [45] Improving Calibration and Out-of-Distribution Detection in Deep Models for Medical Image Segmentation
    Karimi D.
    Gholipour A.
    IEEE Transactions on Artificial Intelligence, 2023, 4 (02): : 383 - 397
  • [46] Response score of deep learning for out-of-distribution sample detection of medical images
    Gao, Long
    Wu, Shandong
    JOURNAL OF BIOMEDICAL INFORMATICS, 2020, 107
  • [47] Towards In-Distribution Compatible Out-of-Distribution Detection
    Wu, Boxi
    Jiang, Jie
    Ren, Haidong
    Du, Zifan
    Wang, Wenxiao
    Li, Zhifeng
    Cai, Deng
    He, Xiaofei
    Lin, Binbin
    Liu, Wei
    THIRTY-SEVENTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 37 NO 9, 2023, : 10333 - 10341
  • [48] Out-of-Distribution Detection Using Outlier Detection Methods
    Diers, Jan
    Pigorsch, Christian
    IMAGE ANALYSIS AND PROCESSING, ICIAP 2022, PT III, 2022, 13233 : 15 - 26
  • [49] 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
  • [50] 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