Mahalanobis Distance
Overview
Mahalanobis distance weights differences by feature covariance, making it useful when dimensions vary in scale or are correlated. Researchers use class-conditional statistics, covariance correction and whitening for out-of-distribution and anomaly detection, including in images, industrial inspection and few-shot intent detection; others learn adaptive metrics for fairness or visual reinforcement learning. Recent work also combines these scores with other signals and adapts them to new domains using pretrained embeddings. A central tension is that results depend strongly on representation quality, covariance estimation and evaluation protocols, while non-Gaussian embeddings can make distance-based confidence scores poorly calibrated.
Latest papers
13 papers1 paper in the last four weeks, against 2 the four weeks before. 0.0% of all new papers.
Whitening Inverts the Hierarchy: What the Norm of a Whitened Embedding Measures
Few-Shot Out of Domain Intent Detection with Covariance Corrected Mahalanobis Distance
unknown' or out of domain'. This problem is known as out of domain (OOD) intent detection. Podolskiy et al. (2021), showed that Mahalanobis distance can be used effectively for identifying OOD intents, outperforming competing approaches. However, their method fails to outperform the baselines in the practically important few-shot setting. In this paper we analyze the reason for low performance and propose a covariance corrected Mahalanobis distance for detecting out-of-domain intents.