mlsanityData to 14 Oct 2026

Generative Classifiers Avoid Shortcut Solutions

arXiv 2512.25034 ↗First posted 31 Dec 2025cs.LG cs.AI cs.CVcited by 8

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  4. 2020Language Models are Few-Shot Learnerscited by 32,419
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  6. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  7. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  8. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  9. 2020Denoising Diffusion Implicit Modelscited by 9,781
  10. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  11. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,058
  12. 2020Scaling Laws for Neural Language Modelscited by 6,586
38 more
  1. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
  2. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  3. 2014Deep Learning Face Attributes in the Wildcited by 3,693
  4. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  5. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
  6. 2020Shortcut Learning in Deep Neural Networkscited by 1,969
  7. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
  8. 2019Natural Adversarial Examplescited by 1,408
  9. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,375
  10. 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,247
  11. 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 876
  12. 2018Recognition in Terra Incognitacited by 658
  13. 2017The Implicit Bias of Gradient Descent on Separable Datacited by 655
  14. 2021Just Train Twice: Improving Group Robustness without Training Group Informationcited by 523
  15. 2020Measuring Robustness to Natural Distribution Shifts in Image Classificationcited by 454
  16. 2017Men Also Like Shopping: Reducing Gender Bias Amplification using Corpus-level Constraintscited by 420
  17. 2019Your Classifier is Secretly an Energy Based Model and You Should Treat it Like Onecited by 405
  18. 2022Last Layer Re-Training is Sufficient for Robustness to Spurious Correlationscited by 381
  19. 2020An Investigation of Why Overparameterization Exacerbates Spurious Correlationscited by 310
  20. 2023Your Diffusion Model is Secretly a Zero-Shot Classifiercited by 306
  21. 2020Gradient Starvation: A Learning Proclivity in Neural Networkscited by 267
  22. 2021Simple data balancing achieves competitive worst-group-accuracycited by 178
  23. 2019Quantifying the effects of data augmentation and stain color normalization in convolutional neural networks for computational pathologycited by 173
  24. 2019Towards Explaining the Regularization Effect of Initial Large Learning Rate in Training Neural Networkscited by 162
  25. 2020BREEDS: Benchmarks for Subpopulation Shiftcited by 155
  26. 2020Understanding the Failure Modes of Out-of-Distribution Generalizationcited by 146
  27. 2023Text-to-Image Diffusion Models are Zero-Shot Classifierscited by 143
  28. 2023Change is Hard: A Closer Look at Subpopulation Shiftcited by 120
  29. 2024Deconstructing Denoising Diffusion Models for Self-Supervised Learningcited by 91
  30. 2017Machine learning methods for histopathological image analysiscited by 79
  31. 2023Robust Classification via a Single Diffusion Modelcited by 79
  32. 2023Discover and Cure: Concept-aware Mitigation of Spurious Correlationcited by 71
  33. 2021Score-Based Generative Classifierscited by 53
  34. 2023Intriguing properties of generative classifierscited by 52
  35. 2023Don't blame Dataset Shift! Shortcut Learning due to Gradients and Cross Entropycited by 30
  36. 2023Revisiting Discriminative vs. Generative Classifiers: Theory and Implicationscited by 29
  37. 2023Diffusion-TTA: Test-time Adaptation of Discriminative Models via Generative Feedbackcited by 27
  38. 2023Bitrate-Constrained DRO: Beyond Worst Case Robustness To Unknown Group Shiftscited by 9

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 8.

8 papers.