Pursuing Feature Separation based on Neural Collapse for Out-of-Distribution Detection
Not on the map. Why?
Abstract (arXiv)
In the open world, detecting out-of-distribution (OOD) data, whose labels are disjoint with those of in-distribution (ID) samples, is important for reliable deep neural networks (DNNs). To achieve better detection performance, one type of approach proposes to fine-tune the model with auxiliary OOD datasets to amplify the difference between ID and OOD data through a separation loss defined on model outputs. However, none of these studies consider enlarging the feature disparity, which should be more effective compared to outputs. The main difficulty lies in the diversity of OOD samples, which makes it hard to describe their feature distribution, let alone design losses to separate them from ID features. In this paper, we neatly fence off the problem based on an aggregation property of ID features named Neural Collapse (NC). NC means that the penultimate features of ID samples within a class are nearly identical to the last layer weight of the corresponding class. Based on this property, we propose a simple but effective loss called Separation Loss, which binds the features of OOD data in a subspace orthogonal to the principal subspace of ID features formed by NC. In this way, the features of ID and OOD samples are separated by different dimensions. By optimizing the feature separation loss rather than purely enlarging output differences, our detection achieves SOTA performance on CIFAR10, CIFAR100 and ImageNet benchmarks without any additional data augmentation or sampling, demonstrating the importance of feature separation in OOD detection. Code is available at https://github.com/Wuyingwen/Pursuing-Feature-Separation-for-OOD-Detection.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 54 of its 70 references that are in the map. First posted on arXiv 28 May 2024.
Builds on
54 of 70 references.
References · 54
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2016Wide Residual Networkscited by 3,057
- 2020Supervised Contrastive Learningcited by 2,803
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
- 2013Describing Textures in the Wildcited by 2,110
- 2020Knowledge Distillation: A Surveycited by 1,578
- 2018Glow: Generative Flow with Invertible 1x1 Convolutionscited by 1,539
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
- 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
- 2020Energy-based Out-of-distribution Detectioncited by 1,296
38 more
- 2019Learning Imbalanced Datasets with Label-Distribution-Aware Margin Losscited by 987
- 2018Deep Anomaly Detection with Outlier Exposurecited by 939
- 2020Prevalence of Neural Collapse during the terminal phase of deep learning trainingcited by 713
- 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
- 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
- 2022Efficient Test-Time Model Adaptation without Forgettingcited by 467
- 2020CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instancescited by 441
- 2021Towards Out-Of-Distribution Generalization: A Surveycited by 431
- 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 404
- 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 353
- 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 338
- 2020Keystroke Dynamics as Part of Lifeloggingcited by 334
- 2022Contrastive Test-Time Adaptationcited by 258
- 2021MOS: Towards Scaling Out-of-distribution Detection for Large Semantic Spacecited by 233
- 2015TurkerGaze: Crowdsourcing Saliency with Webcam based Eye Trackingcited by 165
- 2022Balanced Contrastive Learning for Long-Tailed Visual Recognitioncited by 143
- 2022How to Exploit Hyperspherical Embeddings for Out-of-Distribution Detection?cited by 128
- 2020ATOM: Robustifying Out-of-distribution Detection Using Outlier Miningcited by 116
- 2022POEM: Out-of-Distribution Detection with Posterior Samplingcited by 108
- 2022Neural Collapse: A Review on Modelling Principles and Generalizationcited by 95
- 2022Limitations of Neural Collapse for Understanding Generalization in Deep Learningcited by 63
- 2023Feed Two Birds with One Scone: Exploiting Wild Data for Both Out-of-Distribution Generalization and Detectioncited by 57
- 2022Boosting Out-of-distribution Detection with Typical Featurescited by 48
- 2023Out-of-distribution Detection with Implicit Outlier Transformationcited by 42
- 2023NECO: NEural Collapse Based Out-of-distribution detectioncited by 41
- 2020A Benchmark of Medical Out of Distribution Detectioncited by 40
- 2023Neural Collapse in Deep Linear Networks: From Balanced to Imbalanced Datacited by 40
- 2023Learning to Augment Distributions for Out-of-Distribution Detectioncited by 38
- 2023Detecting Out-of-Distribution Through the Lens of Neural Collapsecited by 33
- 2023Out-of-distribution Detection Learning with Unreliable Out-of-distribution Sourcescited by 31
- 2022Linking Neural Collapse and L2 Normalization with Improved Out-of-Distribution Detection in Deep Neural Networkscited by 23
- 2020Out-Of-Distribution Detection With Subspace Techniques And Probabilistic Modeling Of Featurescited by 20
- 2022How Useful are Gradients for OOD Detection Really?cited by 20
- 2023Neural Collapse in the Intermediate Hidden Layers of Classification Neural Networkscited by 20
- 2020Outlier Detection through Null Space Analysis of Neural Networkscited by 19
- 2020GraN: An Efficient Gradient-Norm Based Detector for Adversarial and Misclassified Examplescited by 18
- 2023DOS: Diverse Outlier Sampling for Out-of-Distribution Detectioncited by 16
- 2024Unifying Low Dimensional Spectra in Deep Learningcited by 11
50 most cited of 54 All 54 (JSON)
Built on by
Citing papers per year: 2024: 1; 2025: 6; 2026: 5.
12 papers.
- 2024The Persistence of Neural Collapse Despite Low-Rank Biascited by 12
- 2025Controlling Neural Collapse Enhances Out-of-Distribution Detection and Transfer Learningcited by 11
- 2025Neural Collapse is Globally Optimal in Deep Regularized ResNets and Transformerscited by 9
- 2025Flatness is Necessary, Neural Collapse is Not: Rethinking Generalization via Grokkingcited by 8
- 2025GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution Detectioncited by 2
- 2025Diagonalizing the Softmax: Hadamard Initialization for Tractable Cross-Entropy Dynamicscited by 2
- 2025BootOOD: Self-Supervised Out-of-Distribution Detection via Synthetic Sample Exposure under Neural Collapsecited by 1
- 2026Prototype Fusion: A Training-Free Multi-Layer Approach to OOD Detectioncited by 0
- 2026Disentangled Graph Prompting for Out-Of-Distribution Detectioncited by 0
- 2026GEODE: Angle-Adaptive OOD Detection with Universal Scorer Compatibilitycited by 0
- 2026The Implicit Bias of Depth: From Neural Collapse to Softmax Codescited by 0
- 2026Learning Hyperspherical Time-Frequency Representations for Time-Series Out-of-Distribution Detectioncited by 0
- 2026Learning Hyperspherical Time-Frequency Representations for Time-Series Out-of-Distribution Detection29 May 2026
- 2026The Implicit Bias of Depth: From Neural Collapse to Softmax Codes21 May 2026
- 2026GEODE: Angle-Adaptive OOD Detection with Universal Scorer Compatibility1 May 2026
- 2026Disentangled Graph Prompting for Out-Of-Distribution Detection31 Mar 2026
- 2026Prototype Fusion: A Training-Free Multi-Layer Approach to OOD Detection24 Mar 2026
- 2025Diagonalizing the Softmax: Hadamard Initialization for Tractable Cross-Entropy Dynamics3 Dec 2025
- 2025BootOOD: Self-Supervised Out-of-Distribution Detection via Synthetic Sample Exposure under Neural Collapse17 Nov 2025
- 2025Flatness is Necessary, Neural Collapse is Not: Rethinking Generalization via Grokking22 Sep 2025
- 2025GradPCA: Leveraging NTK Alignment for Reliable Out-of-Distribution Detection21 May 2025
- 2025Neural Collapse is Globally Optimal in Deep Regularized ResNets and Transformers21 May 2025
- 2025Controlling Neural Collapse Enhances Out-of-Distribution Detection and Transfer Learning15 Feb 2025
- 2024The Persistence of Neural Collapse Despite Low-Rank Bias30 Oct 2024