atlas

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

Mysteries of the Deep: Role of Intermediate Representations in Out of Distribution Detection

NeurIPS 2025 · Label-efficient and robust learning › OOD and anomaly detection · approach: Spurious-aware OOD detection · 1 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.

Shows intermediate layers of pretrained vision models carry complementary OOD signals and proposes a training-free, entropy-selected multi-layer fusion extension of MCM for zero-shot OOD detection.

Problem

Zero-shot OOD detection with pretrained vision-language and vision models typically relies only on final-layer representations, leaving intermediate-layer information unused.

Approach

Project intermediate-layer features of CLIP-style encoders into the shared text space, score each layer with MCM, and fuse layer subsets chosen by the lowest entropy of the fused-score histogram computed on unlabeled ID data, requiring no OOD data or training.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Fuse entropy-selected intermediate layers rather than using the final layer aloneCLIP ViT-B/16 with MCM · ImageNet-1K ID, average across OOD datasetsFPR@95: 42.27 -> 30.70Helped
Fuse entropy-selected intermediate layers rather than using the final layer aloneCLIP ViT-B/16 with MCM · Pascal-VOC ID, average across OOD datasetsFPR@95: 40.20 -> 26.97Helped
Use intermediate-layer fusion instead of the final layerCLIP ViT-B/16 with SeTAR + GL-MCM · Pascal-VOC ID, average across OOD datasetsFPR@95: 26.74 -> 26.97Hurt
Fuse intermediate layersCLIP ViT-B/16 · Near-OOD averageAUROC: 68.12 -> 75.71Helped
Fuse intermediate layersMCM with CLIP RN50x4 · ImageNet-1K ID, average across OOD datasetsFPR@95: 45.16 -> 41.61Helped
Fuse intermediate layersMCM with CLIP ViT-L/14 · ImageNet-1K ID, average across OOD datasetsFPR@95: 37.16 -> 37.09No clear effect
Add intermediate-layer fusionNegLabel with CLIP ViT-B/16 · ImageNet-1K ID, average across OOD datasetsFPR@95: 25.40 -> 23.79Mixed
Add intermediate-layer fusionCSP with CLIP ViT-B/16 · ImageNet-1K ID, average across OOD datasetsFPR@95: 17.51 -> 15.52Helped
Select layers by entropy instead of kurtosis, standard deviation, Gini, JSD, averaging all layers, or random selection (ablation)CLIP ViT-B/16 intermediate-layer fusion · ImageNet-1K and Pascal-VOCFPR@95Helped
Use random layer selection instead of entropy-based selection (ablation)CLIP ViT-B/16 intermediate-layer fusion · ImageNet-1K and Pascal-VOCFPR@95Mixed
Fuse 3 to 6 layers rather than shorter or longer combinations (ablation)CLIP ViT-B/16 · ImageNet-1K and Pascal-VOC OOD benchmarksFPR@95Helped
Use histogram bin counts between 16 and 128 (ablation)Entropy-based layer selection · ImageNet-1K and Pascal-VOC OOD benchmarksAUROCNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K Pascal-VOC iNaturalist SUN Places Textures ImageNet-22K MS-COCO NINCO SSB-Hard

Benchmarks: ImageNet-1K vs iNaturalist/SUN/Places/Textures Pascal-VOC vs ImageNet-22K/COCO NINCO SSB-Hard

Metrics: FPR@95 AUROC

Baselines: MCM GL-MCM SeTAR LoCoOp SeTAR+FT NegLabel CSP MaxLogit Energy

Builds on: Maximum Concept Matching CLIP SeTAR GL-MCM SVCCA

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