paper-with-me

홈 › Papers

A Bayesian Nonparametric Perspective on Mahalanobis Distance for Out of Distribution Detection

2025-02-12 · Randolph W. Linderman, Yiran Chen, Scott W. Linderman

Bayesian nonparametric methods are naturally suited to the problem of out-of-distribution (OOD) detection. However, these techniques have largely been eschewed in favor of simpler methods based on distances between pre-trained or learned embeddings of data points. Here we show a formal relationship between Bayesian nonparametric models and the relative Mahalanobis distance score (RMDS), a commonly used method for OOD detection. Building on this connection, we propose Bayesian nonparametric mixture models with hierarchical priors that generalize the RMDS. We evaluate these models on the OpenOOD detection benchmark and show that Bayesian nonparametric methods can improve upon existing OOD methods, especially in regimes where training classes differ in their covariance structure and where there are relatively few data points per class.

📄 PDF Abstract BibTeX arXiv:2502.08695

Code (1)

rwl93/bnp4ood 공식 구현 jax

Tasks

Out-of-Distribution DetectionOut of Distribution (OOD) Detection

Similar Papers 제목 키워드 기반

Classification Using Global and Local Mahalanobis Distances

2024-02-13 · Annesha Ghosh, Anil K. Ghosh, Rita SahaRay, Soham Sarkar

We propose a novel semiparametric classifier based on Mahalanobis distances of an observation from the competing classes. Our tool is a generalized additive model with the logistic link function that uses these distances…

Classification

Why Out-of-distribution Detection in CNNs Does Not Like Mahalanobis -- and What to Use Instead

2021-10-13 · Kamil Szyc, Tomasz Walkowiak, Henryk Maciejewski

Convolutional neural networks applied for real-world classification tasks need to recognize inputs that are far or out-of-distribution (OoD) with respect to the known or training data. To achieve this, many methods estim…

Out-of-Distribution DetectionPlaying the Game of 2048

Saliency Detection with Spaces of Background-based Distribution

2016-03-17 · Tong Zhao, Lin Li, Xinghao Ding, Yue Huang 외

In this letter, an effective image saliency detection method is proposed by constructing some novel spaces to model the background and redefine the distance of the salient patches away from the background. Concretely, gi…

Saliency Detection

Why is the Mahalanobis Distance Effective for Anomaly Detection?

2020-03-01 · Ryo Kamoi, Kei Kobayashi

The Mahalanobis distance-based confidence score, a recently proposed anomaly detection method for pre-trained neural classifiers, achieves state-of-the-art performance on both out-of-distribution (OoD) and adversarial ex…

Anomaly DetectionGeneral ClassificationMetric LearningOut of Distribution (OOD) Detection

A Bayesian nonparametric test for conditional independence

2019-10-24 · Onur Teymur, Sarah Filippi

This article introduces a Bayesian nonparametric method for quantifying the relative evidence in a dataset in favour of the dependence or independence of two variables conditional on a third. The approach uses Polya tree…

Causal Discovery