atlas

Research map / Label-efficient and robust learning / OOD and anomaly detection

Revisiting Logit Distributions for Reliable Out-of-Distribution Detection

NeurIPS 2025 · Label-efficient and robust learning › OOD and anomaly detection · approach: Spurious-aware OOD detection · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes LogitGap, a training-free post-hoc OOD score that uses the gap between the maximum logit and the mean of the remaining (top-N) logits, with an adaptive N chosen from synthetic OOD data.

Problem

Post-hoc out-of-distribution detection for classifiers, especially CLIP-based zero-shot and few-shot settings, where existing logit scores (MaxLogit, MCM) underuse non-maximum logits or lose magnitude information through softmax.

Approach

Score OOD by the average gap between the maximum logit and the remaining logits, restricted to the top-N logits, with N chosen by maximizing the mean-logit difference between ID data and synthetic OOD data (interpolated and noised ID features), requiring no OOD data or training.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the maximum-to-rest logit gap instead of MaxLogitCLIP ViT-B/16 zero-shot OOD detection · ImageNet-100 ID; NINCO, ImageNet-O, ImageNetOOD OOD (AVG)FPR95: 46.68 -> 44.16Helped
Adaptively select top-N logits using ID validation data and synthetic OOD samplesLogitGap on CLIP ViT-B/16 · ImageNet ID; NINCO, ImageNet-O, ImageNetOOD OOD (AVG)FPR95: 75.18 -> 74.92Helped
Add LogitGap* to CoOpCoOp, one-shot · ImageNet ID; NINCO, ImageNet-O, ImageNetOOD OOD (AVG)AUROC: 74.78 -> 77.02Helped
Add LogitGap* to ID-LikeID-Like, one-shot · ImageNet ID; NINCO, ImageNet-O, ImageNetOOD OOD (AVG)FPR95: 79.07 -> 71.68Helped
Add LogitGap* to ID-LikeID-Like, one-shot · ImageNet-100 ID; NINCO, ImageNet-O, ImageNetOOD OOD (AVG)FPR95: 65.12 -> 41.97Helped
Use adaptive top-N selection instead of fixed top-N (ablation)LogitGap on ImageNet-100 · ImageNet-100 ID; NINCO, ImageNet-O, ImageNetOOD OOD (AVG)FPR95: 44.16 -> 44.16No clear effect
Add LogitGap to OEOE on ResNet-50 · CIFAR-10 ID; standard OpenOOD OOD benchmarks (AVG)FPR95: 14.90 -> 14.52Helped
Add LogitGap to MixOEMixOE on ResNet-50 · CIFAR-10 ID; standard OpenOOD OOD benchmarks (AVG)FPR95: 39.52 -> 31.23Helped
Retain only top-N logits, selected adaptivelyLogitGap on CLIP ViT-B/16 · ImageNet-10 ID / ImageNet-20 OODFPR95: 3.80 -> 3.00Helped
Apply a square transformation to LogitGap (ablation)LogitGap on CLIP ViT-B/16 · ImageNet ID; NINCO, ImageNet-O, ImageNetOOD OOD (AVG)FPR95: 74.92 -> 74.08Helped
Apply an exponential transformation to LogitGap (ablation)LogitGap on CLIP ViT-B/16 · ImageNet ID; NINCO, ImageNet-O, ImageNetOOD OOD (AVG)FPR95: 74.92 -> 74.48Helped
Apply a square-root transformation to LogitGap (ablation)LogitGap on CLIP ViT-B/16 · ImageNet ID; NINCO, ImageNet-O, ImageNetOOD OOD (AVG)FPR95: 74.92 -> 74.70Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet ImageNet-100 ImageNet-10 ImageNet-20 CIFAR-10 CIFAR-100

Benchmarks: NINCO ImageNet-O ImageNetOOD ImageNet-10/ImageNet-20 semantic hard ImageNet-R ImageNet-A ImageNet-Sketch OpenOOD CIFAR-10 benchmark MNIST SVHN Textures Places365

Metrics: FPR95 AUROC AUPR

Baselines: MCM MaxLogit Energy GL-MCM TAG CoOp ID-Like MSP ODIN GEN Mahalanobis ReAct

Builds on: MaxLogit MCM CoOp ID-Like GL-MCM

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy