Don't Collapse Your Features: Why CenterLoss Hurts OOD Detection and Multi-Scale Mahalanobis Wins
Rahul D Ray

TL;DR
This paper introduces GOEN, a pipeline that improves out-of-distribution detection by combining multi-scale features and Mahalanobis distance, revealing that CenterLoss hampers OOD detection despite aiding classification.
Contribution
The paper demonstrates that CenterLoss degrades OOD detection and proposes GOEN with multi-scale features and Mahalanobis distance as a superior alternative.
Findings
CenterLoss reduces OOD AUROC from 0.9483 to 0.9366.
GOEN-NoCenterLoss achieves an OOD AUROC of 0.9483, outperforming baselines.
Overly tight feature clusters impair covariance structure for OOD detection.
Abstract
The ability to detect out-of-distribution (OOD) inputs is fundamental to safe deployment of machine learning systems. Yet, current methods often rely on feature representations that are optimised solely for classification accuracy, neglecting the distinct requirements of epistemic uncertainty. We introduce GOEN (Geometry-Optimised Epistemic Network), a simple pipeline that combines multi-scale features, L2 normalisation, Mahalanobis distance, and a calibration head trained with real hard OOD examples. Through systematic ablation we uncover a counter-intuitive finding: CenterLoss, a popular regulariser for feature compactness, significantly degrades OOD detection performance, reducing average OOD AUROC from 0.9483 to 0.9366 despite improving classification accuracy. The best variant, GOEN-NoCenterLoss, achieves an average OOD AUROC of 0.9483, surpassing all baselines including deep…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
