NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Strengthen Out-of-Distribution Detection via Adaptive Mahalanobis Gap

Kunpeng Sui, Rundong He, Jie Su

NeurIPS page · Open on the map

Category: Graphs, OOD Detection & Medical Imaging › Out-Distribution Detection Methods · Type: new method · Keywords: out-of-distribution detection, feature geometry adaptation, class-specific variance, Mahalanobis gap, uncertainty estimation

Areas: Safety & Security › Adversarial Security › Out-of-Distribution Detection; Continual Learning & Adaptation › Domain Shift Adaptation › Out-of-Distribution Detection

Summary

Adaptive Mahalanobis Gap (AMG) strengthens OOD detection by adaptively adjusting feature geometry to reduce both ID→OOD and OOD→ID misclassifications.

Explained to a 5-year-old

Computers sometimes think they know something even when the thing is different from what they learned. This can cause them to make mistakes when they see new or weird things. The paper helps computers tell the difference between what they know and what they don't know better. It does this by making the computer's understanding stronger and using more information about each type of thing. As a result, the computer is less likely to be wrong about familiar or unfamiliar items.

Explained to a 5-year-old, longer

When we teach a computer to recognize cats, it learns what a cat looks like based on many pictures. Later, if we show it a picture of a car, it should say that it doesn't know what a car is. Sometimes, though, the computer says it knows a car is a cat, which is a mistake. This mistake can be dangerous because the computer might trust wrong answers. The goal of the paper is to make the computer better at telling what it has seen before from what it hasn't seen. To do this, the computer first makes its idea of what a cat looks like stronger and more clear. Then it looks at how much the pictures of cats vary, so it knows each cat is not exactly the same. It also uses several examples of cats instead of just one to compare the new picture against. By using these extra details, the computer can see if a new picture fits the known group or not. If the picture fits well, the computer says it is familiar; if not, it says it is unfamiliar. This way, the computer makes fewer mistakes when it sees something new or something it already knows. Overall, the method helps computers be more trustworthy when they have to decide if they understand something.

For a technical reader

The paper addresses the problem of unreliable confidence estimates when deep models encounter data that differs from their training distribution. It observes that static distance-based OOD detectors suffer from geometry distortion and class-agnostic bias, leading to both false positives and false negatives. The proposed solution adaptively reshapes the principal feature subspace using real-time statistics, incorporates class-specific variance and prototype norms to correct deviation bias, and aggregates multiple prototypes via a Mahalanobis gap score for uncertainty. Evaluations on CIFAR-10/100 and ImageNet-1k demonstrate consistent improvements in FPR@95 and AUROC over existing methods. The approach can be integrated into any pipeline that relies on distance-based OOD detection without requiring additional training data.

Problem

Deep neural networks often produce overconfident predictions on out-of-distribution samples, leading to unreliable inference. Existing distance-based OOD detection methods rely on static feature geometry and class-agnostic deviation, causing misclassification of both ID and OOD samples.

Method

The approach first strengthens the principal feature space along real-time feature directions to reduce ID→OOD errors. It then incorporates class-wise variance and prototype norms to correct bias in deviation features. Finally, it introduces a Mahalanobis gap scoring that aggregates multiple prototypes for uncertainty estimation.

Results

The approach achieves higher FPR@95 and AUROC scores than existing methods on CIFAR-10, CIFAR-100 and ImageNet-1k.

Contributions

It introduces an adaptive feature geometry strengthening technique that reduces ID→OOD misclassification, incorporates class-specific variance to correct deviation bias, and proposes a multi-prototype Mahalanobis gap scoring for more reliable uncertainty estimation.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction