A Geometry-Based View of Mahalanobis OOD Detection
Not on the map. Why?
Abstract (arXiv)
Out-of-distribution (OOD) detection is critical for reliable deployment of vision models. Mahalanobis-based detectors remain strong baselines, yet their performance varies widely across modern pretrained representations, and it is unclear which properties of a feature space cause these methods to succeed or fail. We conduct a large-scale study across diverse foundation-model backbones and Mahalanobis variants. First, we show that Mahalanobis-style OOD detection is not universally reliable: performance is highly representation-dependent and can shift substantially with pretraining data and fine-tuning regimes. Second, we link this variability to in-distribution geometry and identify a two-term ID summary that consistently tracks Mahalanobis OOD behavior across detectors: within-class spectral structure and local intrinsic dimensionality. Finally, we treat normalization as a geometric control mechanism and introduce radially scaled ℓ2 normalization, φβ(z)=z/|z|β, which preserves directions while contracting or expanding feature radii. Varying β changes the radii while preserving directions, so the same quadratic detector sees a different ID geometry. We choose β from ID-only geometry signals and typically outperform fixed normalization baselines.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 17 of its 22 references that are in the map. First posted on arXiv 17 Oct 2025.
Builds on
17 of 22 references.
References · 17
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2013Describing Textures in the Wildcited by 2,125
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
- 2021Generalized Out-of-Distribution Detection: A Surveycited by 802
- 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
- 2018Characterizing Adversarial Subspaces Using Local Intrinsic Dimensionalitycited by 282
- 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 207
- 2023In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluationcited by 134
- 2023Scaling for Training Time and Post-hoc Out-of-distribution Detection Enhancementcited by 77
- 2023How Does Fine-Tuning Impact Out-of-Distribution Detection for Vision-Language Models?cited by 38
- 2025Mahalanobis++: Improving OOD Detection via Feature Normalizationcited by 32
5 more
- 2023On the Importance of Feature Separability in Predicting Out-Of-Distribution Errorcited by 15
- 2024Towards Optimal Feature-Shaping Methods for Out-of-Distribution Detectioncited by 13
- 2025Exploiting Layer Normalization Fine-tuning in Visual Transformer Foundation Models for Classificationcited by 3
- 2023Understanding normalization in contrastive representation learning and out-of-distribution detectioncited by 2
- 2024How to train your ViT for OOD Detectioncited by 2
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Scaling Pretrained Representations Enables Label-Free Out-of-Distribution Detection Without Fine-Tuningcited by 1
- 2026Useful Features, Backward Scores: OOD in Language-Model Trajectoriescited by 0
- 2026MM++: Post-Hoc Scale-Invariant Multilayer OOD Detection via Top-K Gated Feature Fusioncited by 0
- 2026Verdict Instability of OOD Scores under Reference Resamplingcited by 0
- 2026Verdict Instability of OOD Scores under Reference Resampling1 Sep 2026
- 2026MM++: Post-Hoc Scale-Invariant Multilayer OOD Detection via Top-K Gated Feature Fusion15 Jun 2026
- 2026Scaling Pretrained Representations Enables Label-Free Out-of-Distribution Detection Without Fine-Tuning7 May 2026
- 2026Useful Features, Backward Scores: OOD in Language-Model Trajectories30 Apr 2026