Don't Replace, Complement: A Detector-Agnostic Subspace Signal for Near-OOD Detection
Not on the map. Why?
Abstract (arXiv)
Post-hoc out-of-distribution (OOD) detection is mature on far-OOD yet remains weak on near-OOD. These two settings differ in their use of class-characteristic feature directions: far-OOD inputs largely fail to activate those of their predicted class, whereas near-OOD inputs activate them much as in-distribution samples do. Because the axis separating far-OOD leaves near-OOD almost indistinguishable from ID, a score optimized for one setting is misaligned with the other; where a detector already saturates far-OOD, added near-OOD sensitivity is bought partly against it. This divergence motivates a targeted near-OOD signal designed to complement existing scores. We propose PLUS (Per-class Low-dimensional sUbspace Signal). For each class, PLUS selects the m most class-active neurons from a sparse autoencoder, orthonormalizes the corresponding decoder directions to form a low-dimensional subspace, and scores an input by its per-class whitened squared Mahalanobis distance z within the subspace of its predicted class. Designed as a dedicated complement rather than a standalone detector, the signal z is fused additively with any calibrated base score at a single, fixed weight. This weight is a single global constant: no value is adjusted per backbone, per OOD dataset, or per deployment, and all calibration statistics are estimated from ID validation data alone. When applied to 18 existing detectors spanning diverse method families, z consistently improves near-OOD AUROC in all 126 detector--backbone combinations. Far-OOD performance is broadly maintained or improved, with only marginal declines where the base score is near-optimal, making z a robust, detector-agnostic complement across backbones.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 35 of its 43 references that are in the map. Submitted 4 Nov 2026.
Builds on
35 of 43 references.
References · 35
- 2015Deep Residual Learning for Image Recognitioncited by 53,116
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 31,279
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,366
- 2022A ConvNet for the 2020scited by 3,746
- 2016Wide Residual Networkscited by 3,135
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,494
- 2013Describing Textures in the Wildcited by 2,183
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,607
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,538
- 2020Energy-based Out-of-distribution Detectioncited by 1,346
- 2024Scaling and evaluating sparse autoencoderscited by 661
- 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 629
23 more
- 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 498
- 2022MaxViT: Multi-Axis Vision Transformercited by 486
- 2019Scaling Out-of-Distribution Detection for Real-World Settingscited by 485
- 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 420
- 2021Open-Set Recognition: a Good Closed-Set Classifier is All You Need?cited by 366
- 2024Jumping Ahead: Improving Reconstruction Fidelity with JumpReLU Sparse Autoencoderscited by 360
- 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 344
- 2026Scaling Monosemanticity: Extracting Interpretable Features from Claude 3 Sonnetcited by 248
- 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 223
- 2022Extremely Simple Activation Shaping for Out-of-Distribution Detectioncited by 222
- 2023OpenOOD v1.5: Enhanced Benchmark for Out-of-Distribution Detectioncited by 193
- 2021DICE: Leveraging Sparsification for Out-of-Distribution Detectioncited by 173
- 2023In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluationcited by 143
- 2025Sparse Autoencoders Trained on the Same Data Learn Different Featurescited by 113
- 2024Towards Principled Evaluations of Sparse Autoencoders for Interpretability and Controlcited by 98
- 2023Nearest Neighbor Guidance for Out-of-Distribution Detectioncited by 69
- 2023Fast Decision Boundary based Out-of-Distribution Detectorcited by 52
- 2023NECO: NEural Collapse Based Out-of-distribution detectioncited by 45
- 2025Mahalanobis++: Improving OOD Detection via Feature Normalizationcited by 41
- 2024Kernel PCA for Out-of-Distribution Detectioncited by 28
- 2020Outlier Detection through Null Space Analysis of Neural Networkscited by 20
- 2026MahaVar: OOD Detection via Class-wise Mahalanobis Distance Variance under Neural Collapsecited by 3
- 2026Sparsity as a Key: Unlocking New Insights from Latent Structures for Out-of-Distribution Detectioncited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Prompt Optimization Meets Subspace Representation Learning for Few-shot Out-of-Distribution Detection
- 2026Sparse Autoencoders for Interpretable Out-of-Distribution Detection
- 2022On Out-of-Distribution Detection for Audio with Deep Nearest Neighbors
- 2026DUO: Dual Readouts of Diffusion Models for OOD Detection
- 2026Geometry over Density: Few-Shot Cross-Domain OOD Detection
- 2024NODI: Out-Of-Distribution Detection with Noise from Diffusion
- 2025Synthesizing Near-Boundary OOD Samples for Out-of-Distribution Detection
- 2024CLIP-driven Outliers Synthesis for few-shot OOD detection