atlas

Research map / Label-efficient and robust learning / Recognition and long-tail

Generative Classifiers Avoid Shortcut Solutions

ICLR 2025 · Label-efficient and robust learning › Recognition and long-tail · approach: Learning from unlabeled and positive-unlabeled data · 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 generative classifiers (diffusion-based for images, autoregressive for text) trained from scratch avoid shortcut learning and outperform discriminative baselines on five distribution shift benchmarks, with a Gaussian LDA analysis explaining the inductive bias.

Problem

Discriminative classifiers learn spurious shortcut features that work in-distribution but fail under distribution shift, and existing mitigations need extra hyperparameters, stages, or knowledge of the spurious correlations.

Approach

Use class-conditional generative models (latent diffusion for images, Llama-style autoregressive models with class tokens for text) as classifiers via Bayes' rule, so the objective must model all features, core and spurious, which yields consistent learning signal and an inductive bias toward consistently predictive features.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use generative classification instead of discriminative baselinesWaterbirds · Waterbirds WGaccuracy: 32.9 -> 79.4Helped
Use generative classification instead of discriminative baselinesCelebA · CelebA WGaccuracy: 68.9 -> 69.4Helped
Use generative classification instead of discriminative baselinesCamelyon · Camelyon OODaccuracy: 78.3 -> 90.8Helped
Use generative classification instead of discriminative baselinesFMoW · FMoW OOD WGaccuracy: 31.8 -> 35.8Helped
Use generative classification instead of discriminative baselinesCivilComments · CivilComments WGaccuracy: 58.1 -> 61.4Helped
Use generative classification instead of discriminative baselinesCelebA · CelebA IDaccuracy: 94.1 -> 91.2Hurt
Use generative classification instead of discriminative baselinesCivilComments · CivilComments IDaccuracy: 90.6 -> 79.8Hurt
Replace the pre-trained VAE embedding with PCA patch embeddings (ablation)Generative classifier · WaterbirdsWG accuracy: 79.4 -> 61.7Hurt
Replace the pre-trained VAE embedding with PCA patch embeddings (ablation)Generative classifier · CelebAWG accuracy: 69.4 -> 71.1Helped
Replace the pre-trained VAE embedding with PCA patch embeddings (ablation)Generative classifier · CamelyonOOD accuracy: 90.8 -> 93.8Helped
Add an unconditional text modeling objective p(x) (ablation)CivilComments generative classifier · CivilCommentsclassification performanceNo clear effect
Increase generative model size (ablation)Generative classifier · FMoW and CivilCommentsaccuracyHelped

Surprising findings

Limitations

Experimental setup

Datasets: Waterbirds CelebA Camelyon17-WILDS FMoW CivilComments BREEDS Living-17 BREEDS Entity-30 ImageNet-1k

Benchmarks: Waterbirds CelebA Camelyon17-WILDS FMoW CivilComments BREEDS Living-17 BREEDS Entity-30

Metrics: worst-group accuracy out-of-distribution accuracy in-distribution accuracy class-balanced accuracy

Baselines: ERM LfF JTT DFR/RWY

Builds on: Diffusion Classifier latent diffusion models Learning from Failure Just Train Twice Deep Feature Reweighting

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