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 条
  • [1] Ensemble-Based Out-of-Distribution Detection
    Yang, Donghun
    Mai Ngoc, Kien
    Shin, Iksoo
    Lee, Kyong-Ha
    Hwang, Myunggwon
    ELECTRONICS, 2021, 10 (05) : 1 - 12
  • [2] 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
  • [3] Out-of-Distribution Detection with Deep Nearest Neighbors
    Sun, Yiyou
    Ming, Yifei
    Zhu, Xiaojin
    Li, Yixuan
    INTERNATIONAL CONFERENCE ON MACHINE LEARNING, VOL 162, 2022,
  • [4] Out-of-distribution Detection by Quantifying the Uncertainty with the Stochastic Weight Ensemble
    Cao, Zongjing
    Li, Yan
    Shin, Byeong-Seok
    HUMAN-CENTRIC COMPUTING AND INFORMATION SCIENCES, 2025, 15
  • [5] kFolden: k-Fold Ensemble for Out-Of-Distribution Detection
    Li, Xiaoya
    Li, Jiwei
    Sun, Xiaofei
    Fan, Chun
    Zhang, Tianwei
    Wu, Fei
    Meng, Yuxian
    Zhang, Jun
    2021 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING (EMNLP 2021), 2021, : 3102 - 3115
  • [6] Balanced Energy Regularization Loss for Out-of-distribution Detection
    Choi, Hyunjun
    Jeong, Hawook
    Choi, Jin Young
    2023 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2023, : 15691 - 15700
  • [7] Out-of-distribution Detection Learning with Unreliable Out-of-distribution Sources
    Zheng, Haotian
    Wang, Qizhou
    Fang, Zhen
    Xia, Xiaobo
    Liu, Feng
    Liu, Tongliang
    Han, Bo
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 36 (NEURIPS 2023), 2023,
  • [8] Continual Evidential Deep Learning for Out-of-Distribution Detection
    Aguilar, Eduardo
    Raducanu, Bogdan
    Radeva, Petia
    De Weijer, Joost Van
    2023 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION WORKSHOPS, ICCVW, 2023, : 3436 - 3446
  • [9] Out-of-Distribution Detection Using an Ensemble of Self Supervised Leave-Out Classifiers
    Vyas, Apoorv
    Jammalamadaka, Nataraj
    Zhu, Xia
    Das, Dipankar
    Kaul, Bharat
    Willke, Theodore L.
    COMPUTER VISION - ECCV 2018, PT VIII, 2018, 11212 : 560 - 574
  • [10] Unified Out-Of-Distribution Detection: A Model-Specific Perspective
    Averly, Reza
    Chao, Wei-Lun
    2023 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION, ICCV, 2023, : 1453 - 1463