mlsanityData to 14 Oct 2026

Understanding the Feature Norm for Out-of-Distribution Detection

arXiv 2310.05316 ↗First posted 9 Oct 2023cs.CVcited by 27

Not on the map. Why?

Abstract (arXiv)

A neural network trained on a classification dataset often exhibits a higher vector norm of hidden layer features for in-distribution (ID) samples, while producing relatively lower norm values on unseen instances from out-of-distribution (OOD). Despite this intriguing phenomenon being utilized in many applications, the underlying cause has not been thoroughly investigated. In this study, we demystify this very phenomenon by scrutinizing the discriminative structures concealed in the intermediate layers of a neural network. Our analysis leads to the following discoveries: (1) The feature norm is a confidence value of a classifier hidden in the network layer, specifically its maximum logit. Hence, the feature norm distinguishes OOD from ID in the same manner that a classifier confidence does. (2) The feature norm is class-agnostic, thus it can detect OOD samples across diverse discriminative models. (3) The conventional feature norm fails to capture the deactivation tendency of hidden layer neurons, which may lead to misidentification of ID samples as OOD instances. To resolve this drawback, we propose a novel negative-aware norm (NAN) that can capture both the activation and deactivation tendencies of hidden layer neurons. We conduct extensive experiments on NAN, demonstrating its efficacy and compatibility with existing OOD detectors, as well as its capability in label-free environments.

Key facts. Cited by 27 papers in the map (data through 14 Oct 2026). Builds on 42 of its 55 references that are in the map. First posted on arXiv 9 Oct 2023.

Builds on

42 of 55 references.

References · 42

  1. 2016Gaussian Error Linear Units (GELUs)cited by 3,502
  2. 2020Supervised Contrastive Learningcited by 2,829
  3. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
  4. 2020Improved Baselines with Momentum Contrastive Learningcited by 2,287
  5. 2013Describing Textures in the Wildcited by 2,125
  6. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
  7. 2019Natural Adversarial Examplescited by 1,408
  8. 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,355
  9. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
  10. 2020Energy-based Out-of-distribution Detectioncited by 1,299
  11. 2021Generalized Out-of-Distribution Detection: A Surveycited by 802
  12. 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 776
30 more
  1. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 600
  2. 2017Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discoverycited by 566
  3. 2015Empirical Evaluation of Rectified Activations in Convolutional Networkcited by 519
  4. 2019Using Self-Supervised Learning Can Improve Model Robustness and Uncertaintycited by 514
  5. 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
  6. 2019Scaling Out-of-Distribution Detection for Real-World Settingscited by 465
  7. 2018Do Deep Generative Models Know What They Don't Know?cited by 443
  8. 2020CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instancescited by 441
  9. 2020Generalized ODIN: Detecting Out-of-distribution Image without Learning from Out-of-distribution Datacited by 408
  10. 2019Your Classifier is Secretly an Energy Based Model and You Should Treat it Like Onecited by 405
  11. 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 405
  12. 2021Open-Set Recognition: a Good Closed-Set Classifier is All You Need?cited by 353
  13. 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 339
  14. 2021MagFace: A Universal Representation for Face Recognition and Quality Assessmentcited by 334
  15. 2018Deep Anomaly Detection Using Geometric Transformationscited by 269
  16. 2022OpenOOD: Benchmarking Generalized Out-of-Distribution Detectioncited by 268
  17. 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
  18. 2021MOS: Towards Scaling Out-of-distribution Detection for Large Semantic Spacecited by 233
  19. 2020Classification-Based Anomaly Detection for General Datacited by 211
  20. 2019OCGAN: One-class Novelty Detection Using GANs with Constrained Latent Representationscited by 199
  21. 2015TurkerGaze: Crowdsourcing Saliency with Webcam based Eye Trackingcited by 165
  22. 2018Reducing Network Agnostophobiacited by 165
  23. 2019Deep ReLU Networks Have Surprisingly Few Activation Patternscited by 161
  24. 2022How to Exploit Hyperspherical Embeddings for Out-of-Distribution Detection?cited by 128
  25. 2022Is Out-of-Distribution Detection Learnable?cited by 109
  26. 2021Provable Guarantees for Understanding Out-of-distribution Detectioncited by 78
  27. 2021On the Impact of Spurious Correlation for Out-of-distribution Detectioncited by 68
  28. 2022The Familiarity Hypothesis: Explaining the Behavior of Deep Open Set Methodscited by 28
  29. 2021Learning Bounds for Open-Set Learningcited by 27
  30. 2017Feature Incay for Representation Regularizationcited by 9

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 3; 2024: 2; 2025: 9; 2026: 13.

27 papers.

Sort:

By area:

  1. 2023Detecting Out-of-Distribution Through the Lens of Neural Collapsecited by 34
  2. 2025Mahalanobis++: Improving OOD Detection via Feature Normalizationcited by 32
  3. 2025Test-Time Discovery via Hashing Memorycited by 3
  4. 2025Enhancing Out-of-Distribution Detection with Extended Logit Normalizationcited by 3
  5. 2023Hidden Conflicts in Neural Networks and Their Implications for Explainabilitycited by 2
  6. 2025One-Point Contraction: Erasing Representational Separability toward Irreversible Deep Forgettingcited by 2
  7. 2023RankFeat&RankWeight: Rank-1 Feature/Weight Removal for Out-of-distribution Detectioncited by 1
  8. 2024Representation Norm Amplification for Out-of-Distribution Detection in Long-Tail Learningcited by 1
  9. 2025SphOR: A Representation Learning Perspective on Open-set Recognition for Identifying Unknown Classes in Deep Learning Modelscited by 1
  10. 2025SEQR: Secure and Efficient QR-based LoRA Routingcited by 1
  11. 2025BootOOD: Self-Supervised Out-of-Distribution Detection via Synthetic Sample Exposure under Neural Collapsecited by 1
  12. 2026Mitigating the ID-OOD Tradeoff in Open-Set Test-Time Adaptationcited by 1
15 more
  1. 2026HyCal: A Training-Free Prototype Calibration Method for Cross-Discipline Few-Shot Class-Incremental Learningcited by 1
  2. 2026Direct Product Flow Matching: Decoupling Radial and Angular Dynamics for Few-Shot Adaptationcited by 1
  3. 2026FedLAS: Feature-Modulated Bidirectional Label Smoothing for Neural Network Calibrationcited by 1
  4. 2024The Over-Certainty Phenomenon in Modern Test-Time Adaptation Algorithmscited by 0
  5. 2025Prompt Optimization Meets Subspace Representation Learning for Few-shot Out-of-Distribution Detectioncited by 0
  6. 2025General OOD Detection via Model-aware and Subspace-aware Variable Prioritycited by 0
  7. 2026The Invisible Gorilla Effect in Out-of-distribution Detectioncited by 0
  8. 2026HEART-PFL: Stable Personalized Federated Learning under Heterogeneity with Hierarchical Directional Alignment and Adversarial Knowledge Transfercited by 0
  9. 2026Knowledge-Guided Failure Prediction: Detecting When Object Detectors Miss Safety-Critical Objectscited by 0
  10. 2026Beyond Known Objects: A Novel Framework for Open-Set Object Detection using Negative-Aware Normcited by 0
  11. 2026PoLAR: Factorizing Extent and Mode in Latent Actions for Robot Policy Learningcited by 0
  12. 2026Exploiting Local Flatness for Efficient Out-of-Distribution Detectioncited by 0
  13. 2026Suppress and Diversify: Refining Robust Pathways for Corruption Robustnesscited by 0
  14. 2026Energy Ring: Stabilizing Feature Energy for Reliable Test-Time Discoverycited by 0
  15. 2026Relational Semantic Grounding for Test-Time Discoverycited by 0