Revisiting Deep Ensemble for Out-of-Distribution Detection: A Loss Landscape Perspective
Not on the map. Why?
Abstract (arXiv)
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 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.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 46 of its 60 references that are in the map. First posted on arXiv 22 Oct 2023.
Builds on
46 of 60 references.
References · 46
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2022Scalable Diffusion Models with Transformerscited by 5,931
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
- 2016Wide Residual Networkscited by 3,057
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
- 2013Describing Textures in the Wildcited by 2,110
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
- 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,350
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
34 more
- 2020Energy-based Out-of-distribution Detectioncited by 1,296
- 2017Visualizing the Loss Landscape of Neural Netscited by 1,126
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
- 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
- 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 774
- 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
- 2018Loss Surfaces, Mode Connectivity, and Fast Ensembling of DNNscited by 585
- 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
- 2019Deep Ensembles: A Loss Landscape Perspectivecited by 438
- 2021Towards Out-Of-Distribution Generalization: A Surveycited by 431
- 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
- 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 404
- 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 338
- 2018Essentially No Barriers in Neural Network Energy Landscapecited by 328
- 2021Accuracy on the Line: On the Strong Correlation Between Out-of-Distribution and In-Distribution Generalizationcited by 248
- 2014Qualitatively characterizing neural network optimization problemscited by 186
- 2015TurkerGaze: Crowdsourcing Saliency with Webcam based Eye Trackingcited by 165
- 2022Diverse Weight Averaging for Out-of-Distribution Generalizationcited by 148
- 2020Bridging Mode Connectivity in Loss Landscapes and Adversarial Robustnesscited by 130
- 2018Out-of-Distribution Detection Using an Ensemble of Self Supervised Leave-out Classifierscited by 126
- 2022Is Out-of-Distribution Detection Learnable?cited by 109
- 2021Towards a Theoretical Framework of Out-of-Distribution Generalizationcited by 94
- 2021Learning Neural Network Subspacescited by 82
- 2022Full-Spectrum Out-of-Distribution Detectioncited by 63
- 2020Gradients as a Measure of Uncertainty in Neural Networkscited by 55
- 2022RankFeat: Rank-1 Feature Removal for Out-of-distribution Detectioncited by 52
- 2022Boosting Out-of-distribution Detection with Typical Featurescited by 48
- 2021Boosting Randomized Smoothing with Variance Reduced Classifierscited by 47
- 2022Block Selection Method for Using Feature Norm in Out-of-distribution Detectioncited by 30
- 2021Unsupervised Energy-based Out-of-distribution Detection using Stiefel-Restricted Kernel Machinecited by 11
- 2022Rethinking Out-of-Distribution Detection From a Human-Centric Perspectivecited by 7
- 2022Boosting Out-of-Distribution Detection with Multiple Pre-trained Modelscited by 7
- 2020Towards Robust Neural Networks via Orthogonal Diversitycited by 5
- 2022Multi-head Ensemble of Smoothed Classifiers for Certified Robustnesscited by 2
Built on by
Citing papers per year: 2024: 3; 2025: 7.
10 papers.
- 2024Kernel PCA for Out-of-Distribution Detectioncited by 24
- 2025Ensembles of Low-Rank Expert Adapterscited by 9
- 2024Enhancing Reconstruction-Based Out-of-Distribution Detection in Brain MRI with Model and Metric Ensemblescited by 4
- 2025GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution Detectioncited by 2
- 2025Kernel PCA for Out-of-Distribution Detection: Non-Linear Kernel Selection and Approximationcited by 1
- 2025Prior Distribution and Model Confidencecited by 1
- 2025Domain Feature Collapse: Implications for Out-of-Distribution Detection and Solutionscited by 1
- 2024Beyond Perceptual Distance: Discrepancy Assessment on Deep Representation for Out-of-Distribution Detection with Diffusion Modelcited by 0
- 2025Empirical Evidences for the Effects of Feature Diversity in Open Set Recognition and Continual Learningcited by 0
- 2025AmPLe: Supporting Vision-Language Models via Adaptive-Debiased Ensemble Multi-Prompt Learningcited by 0
- 2025AmPLe: Supporting Vision-Language Models via Adaptive-Debiased Ensemble Multi-Prompt Learning20 Dec 2025
- 2025Domain Feature Collapse: Implications for Out-of-Distribution Detection and Solutions3 Dec 2025
- 2025Prior Distribution and Model Confidence5 Sep 2025
- 2025Empirical Evidences for the Effects of Feature Diversity in Open Set Recognition and Continual Learning18 Aug 2025
- 2025GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution Detection21 May 2025
- 2025Kernel PCA for Out-of-Distribution Detection: Non-Linear Kernel Selection and Approximation21 May 2025
- 2025Ensembles of Low-Rank Expert Adapters31 Jan 2025
- 2024Enhancing Reconstruction-Based Out-of-Distribution Detection in Brain MRI with Model and Metric Ensembles23 Dec 2024
- 2024Beyond Perceptual Distance: Discrepancy Assessment on Deep Representation for Out-of-Distribution Detection with Diffusion Model16 Sep 2024
- 2024Kernel PCA for Out-of-Distribution Detection5 Feb 2024