Understanding why Mahalanobis distance works for OOD detection and the role of representation geometry
Determine why Mahalanobis distance-based out-of-distribution detection— which models in-distribution features by fitting class-conditional Gaussian distributions and scores test inputs by the minimum Mahalanobis distance to class centroids—often performs well in practice, and ascertain how the geometry of high-dimensional feature representations influences this performance in deep vision models, to guide the design of more reliable detectors.
References
While effective, it is not fully understood why this simple metric works so well or how the complex geometry of high-dimensional representations contributes to its success.
— Dissecting Mahalanobis: How Feature Geometry and Normalization Shape OOD Detection
(2510.15202 - Janiak et al., 17 Oct 2025) in Section 1, Introduction