# Is Complex Training Necessary for Long-Tailed OOD Detection? A Re-think from Feature Geometry

*Ningkang Peng, Xuanming Chen, Yanhui Gu*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/152780) · [OpenReview](https://openreview.net/forum?id=QOPXWKIOWU) · [alphaXiv](https://www.alphaxiv.org/abs/2605.17799) · [Open on the map](../papers.html#p152780)

Category: [Graphs, OOD Detection & Medical Imaging](../pcat/7.md) › [Out-Distribution Detection Methods](../pgroup/118.md) · Type: new method · Keywords: long-tailed OOD detection, post-hoc detector, feature normalization, pooled Mahalanobis, efficiency

## Summary
Hyperspherical Pooled Mahalanobis (HPM) is a post-hoc detector that normalizes features onto the unit sphere and uses a pooled, ridge-regularized metric to improve long-tailed OOD detection without complex training.

## Explained to a 5-year-old
We want computers to know when they see something they haven't learned about. The computer makes pictures of objects and groups them by how often they appear. Sometimes the groups are uneven, with many common things and few rare ones. The new idea is to put all pictures on a ball and measure how far they are from each other, which helps spot the rare or new things. This makes the computer better at saying "I don't know" without needing a lot of extra training.

## Explained to a 5-year-old, longer
Imagine a robot that looks at many pictures of animals and learns what each one is. It sees some animals a lot, like cats, and some animals only a few times, like rare birds. When the robot sees a new picture, it tries to guess if it is something it already knows or something completely new. The robot uses a simple rule: it measures how far the picture is from all the known pictures on a special ball. If the picture is far away, it probably is something the robot has never seen before. The old way of doing this needed a lot of extra training and complicated tricks. The new idea shows that the robot already has useful information in its memory, even without extra training. By putting all pictures on the ball, the robot can compare them more fairly, no matter how many times each picture appeared. This helps the robot say "I don't know" when it sees something unusual, which is safer. The robot can now work better on phones or small computers because it doesn't need to learn a lot of new stuff. In tests, the robot got much better at spotting new things on common image sets. This makes the robot more reliable for everyday uses like checking for errors or spotting unusual objects.

## For a technical reader
The paper addresses the challenge of detecting out-of-distribution inputs when the training data follows a long-tailed distribution. It shows that frozen representations already contain useful OOD cues, but standard Mahalanobis distance is biased by feature radius and sparse covariance. The proposed post-hoc method normalizes features onto the unit sphere and replaces class-specific covariances with a pooled, ridge-regularized metric, using class means as anchors. Experiments on CIFAR-LT and ImageNet-100-LT demonstrate large AUROC improvements and a high log efficiency score with substantially lower training cost.

## Problem
Detecting out-of-distribution samples in long-tailed scenarios is challenging because frozen long-tailed representations may already contain OOD evidence, but raw Mahalanobis distance is distorted by frequency-coupled feature radius and poorly supported tail covariance.

## Method
The approach normalizes features onto the unit sphere and replaces class-specific covariance with a pooled, ridge-regularized metric while retaining class means as semantic anchors, forming a post-hoc detector.

## Results
The approach raises AUROC from 46.49 to 85.67 on CIFAR-10-LT and from 50.40 to 78.35 on CIFAR-100-LT, and achieves a Log Efficiency Score of 3.08 on CIFAR-100-LT while retaining about 95% of the best AUROC at lower training cost.

## Contributions
The paper shows that frozen long-tailed representations already contain OOD evidence and proposes a post-hoc detector that normalizes features onto the unit sphere and uses a pooled, ridge-regularized metric, demonstrating significant gains in LT-OOD detection efficiency.

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](../feedback/?on=p/152780)
