Generative Classifiers Avoid Shortcut Solutions
Not on the map. Why?
Abstract (arXiv)
Discriminative approaches to classification often learn shortcuts that hold in-distribution but fail even under minor distribution shift. This failure mode stems from an overreliance on features that are spuriously correlated with the label. We show that generative classifiers, which use class-conditional generative models, can avoid this issue by modeling all features, both core and spurious, instead of mainly spurious ones. These generative classifiers are simple to train, avoiding the need for specialized augmentations, strong regularization, extra hyperparameters, or knowledge of the specific spurious correlations to avoid. We find that diffusion-based and autoregressive generative classifiers achieve state-of-the-art performance on five standard image and text distribution shift benchmarks and reduce the impact of spurious correlations in realistic applications, such as medical or satellite datasets. Finally, we carefully analyze a Gaussian toy setting to understand the inductive biases of generative classifiers, as well as the data properties that determine when generative classifiers outperform discriminative ones.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 50 of its 63 references that are in the map. First posted on arXiv 31 Dec 2025.
Builds on
50 of 63 references.
References · 50
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2020Denoising Diffusion Implicit Modelscited by 9,781
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,058
- 2020Scaling Laws for Neural Language Modelscited by 6,586
38 more
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2014Deep Learning Face Attributes in the Wildcited by 3,693
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
- 2020Shortcut Learning in Deep Neural Networkscited by 1,969
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
- 2019Natural Adversarial Examplescited by 1,408
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,375
- 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,247
- 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 876
- 2018Recognition in Terra Incognitacited by 658
- 2017The Implicit Bias of Gradient Descent on Separable Datacited by 655
- 2021Just Train Twice: Improving Group Robustness without Training Group Informationcited by 523
- 2020Measuring Robustness to Natural Distribution Shifts in Image Classificationcited by 454
- 2017Men Also Like Shopping: Reducing Gender Bias Amplification using Corpus-level Constraintscited by 420
- 2019Your Classifier is Secretly an Energy Based Model and You Should Treat it Like Onecited by 405
- 2022Last Layer Re-Training is Sufficient for Robustness to Spurious Correlationscited by 381
- 2020An Investigation of Why Overparameterization Exacerbates Spurious Correlationscited by 310
- 2023Your Diffusion Model is Secretly a Zero-Shot Classifiercited by 306
- 2020Gradient Starvation: A Learning Proclivity in Neural Networkscited by 267
- 2021Simple data balancing achieves competitive worst-group-accuracycited by 178
- 2019Quantifying the effects of data augmentation and stain color normalization in convolutional neural networks for computational pathologycited by 173
- 2019Towards Explaining the Regularization Effect of Initial Large Learning Rate in Training Neural Networkscited by 162
- 2020BREEDS: Benchmarks for Subpopulation Shiftcited by 155
- 2020Understanding the Failure Modes of Out-of-Distribution Generalizationcited by 146
- 2023Text-to-Image Diffusion Models are Zero-Shot Classifierscited by 143
- 2023Change is Hard: A Closer Look at Subpopulation Shiftcited by 120
- 2024Deconstructing Denoising Diffusion Models for Self-Supervised Learningcited by 91
- 2017Machine learning methods for histopathological image analysiscited by 79
- 2023Robust Classification via a Single Diffusion Modelcited by 79
- 2023Discover and Cure: Concept-aware Mitigation of Spurious Correlationcited by 71
- 2021Score-Based Generative Classifierscited by 53
- 2023Intriguing properties of generative classifierscited by 52
- 2023Don't blame Dataset Shift! Shortcut Learning due to Gradients and Cross Entropycited by 30
- 2023Revisiting Discriminative vs. Generative Classifiers: Theory and Implicationscited by 29
- 2023Diffusion-TTA: Test-time Adaptation of Discriminative Models via Generative Feedbackcited by 27
- 2023Bitrate-Constrained DRO: Beyond Worst Case Robustness To Unknown Group Shiftscited by 9
Built on by
Citing papers per year: 2026: 8.
8 papers.
- 2026Cog-DRIFT: Exploration on Adaptively Reformulated Instances Enables Learning from Hard Reasoning Problemscited by 4
- 2026Expanding the Role of Diffusion Models for Robust Classifier Trainingcited by 0
- 2026Revisiting Autoregressive Models for Generative Image Classificationcited by 0
- 2026Emotion Diffusion Classifier with Adaptive Margin Discrepancy Training for Facial Expression Recognitioncited by 0
- 2026Reasoning Before Diagnosis: Physician-Inspired Structured Thinking for ECG Classificationcited by 0
- 2026Self-Improving Diffusion Classifiers with Minority Preference Optimizationcited by 0
- 2026Safety Reconstructed: Generative Modeling via Masked Diffusion Builds Strong Safety Guardrailscited by 0
- 2026Who's Behind the Text? Robust Model Authorship Attributioncited by 0
- 2026Who's Behind the Text? Robust Model Authorship Attribution14 Oct 2026
- 2026Safety Reconstructed: Generative Modeling via Masked Diffusion Builds Strong Safety Guardrails27 Sep 2026
- 2026Self-Improving Diffusion Classifiers with Minority Preference Optimization4 Jul 2026
- 2026Reasoning Before Diagnosis: Physician-Inspired Structured Thinking for ECG Classification17 May 2026
- 2026Cog-DRIFT: Exploration on Adaptively Reformulated Instances Enables Learning from Hard Reasoning Problems6 Apr 2026
- 2026Emotion Diffusion Classifier with Adaptive Margin Discrepancy Training for Facial Expression Recognition31 Mar 2026
- 2026Revisiting Autoregressive Models for Generative Image Classification19 Mar 2026
- 2026Expanding the Role of Diffusion Models for Robust Classifier Training23 Feb 2026