atlas

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

Intermediate Layer Classifiers for OOD generalization

ICLR 2025 · Label-efficient and robust learning › OOD and anomaly detection · approach: Out-of-distribution generalization theory · 0 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 that frozen intermediate-layer representations, probed with linear Intermediate Layer Classifiers (ILCs), generalize better OOD than penultimate-layer last-layer retraining, in both few-shot and zero-shot settings.

Problem

Last-layer retraining on penultimate features is commonly used for OOD generalization under distribution shift, but it is unclear whether the penultimate layer holds the most useful features for OOD transfer.

Approach

Train linear probes (Intermediate Layer Classifiers) on frozen intermediate layers of pretrained networks instead of only the last layer, selecting the best layer on an OOD validation set; intermediate representations are found to be less sensitive to distribution shift than penultimate features, enabling zero-shot OOD gains using only ID training data.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the best intermediate-layer classifier instead of last-layer retrainingResNet OOD classifiers · CMNIST, CIFAR-10, CIFAR-100C, MultiCelebAaccuracy: (+16.8, +6.3, +1.6, +6.3) percentage pointsHelped
Use the best intermediate-layer classifier instead of last-layer retrainingViT OOD classifiers · CMNIST, CIFAR-10C, CIFAR-100Caccuracy: (+1.1, +1.3,-0.2) percentage pointsMixed
Use ILCs rather than last-layer retraining with a small OOD probe set ($\pi \leq 0.03$)OOD classifiers on subpopulation shifts · Waterbirds, CelebA, MultiCelebAaccuracy: (+5.7, +3.4, +27.0) percentage pointsHelped
Use ILCs rather than last-layer retraining at $\pi=0.25$OOD classifiers on input shifts · CMNIST, CIFAR-10C, CIFAR-100Caccuracy: (+12, +3.6, +1.0) percentage pointsHelped
Train an intermediate-layer classifier on ID data instead of retraining the last layer on ID dataZero-shot OOD classifier · WaterbirdsWGA: 79.4%→87.1%Helped
Train an intermediate-layer classifier on ID data instead of retraining the last layer on ID dataZero-shot OOD classifier · CelebAWGA: 56.0%→82.0%Helped
Train an intermediate-layer classifier on ID data instead of retraining the last layer on ID dataZero-shot OOD classifier · MultiCelebAWGA: 20.8%→46.0%Helped
Use ILCs instead of last-layer retrainingZero-shot OOD classifier · CIFAR-10Cmean accuracy: +2\%p to +5\%pHelped
Use ILCs instead of last-layer retrainingViT zero-shot classifier · CIFAR-10Caverage accuracy: 71%Helped
Use ILCs instead of last-layer retrainingOOD classifiers · CIFAR-100Caccuracy: +3%p for ResNet-18 and +1%p for the ViT modelHelped
Use ILCs instead of last-layer retrainingZero-shot classifier · ImageNet-Cue-Conflict and ImageNet-Silhouetteaverage accuracy: +2 percentage pointsHelped
Use ILCs instead of last-layer retrainingZero-shot classifier · ImageNet-A and ImageNet-Raverage relative accuracy: +0.91 and +0.34 percentage pointsHelped

Surprising findings

Limitations

Experimental setup

Datasets: CMNIST CelebA Waterbirds MultiCelebA CIFAR-10 CIFAR-100 CIFAR-10C CIFAR-100C ImageNet-1K ImageNet-A ImageNet-R ImageNet-Cue-Conflict

Benchmarks: CMNIST CelebA Waterbirds MultiCelebA CIFAR-10C CIFAR-100C ImageNet-A ImageNet-R ImageNet-Cue-Conflict ImageNet-Silhouette

Metrics: accuracy worst-group accuracy

Baselines: Last-layer retraining (DFR) JTT Correct-N-Contrast MOO Base ERM model

Builds on: last-layer retraining (DFR) linear probing

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