Traditional Classification Neural Networks are Good Generators: They are Competitive with DDPMs and GANs
On the map: Diffusion models → Diffusion foundations and sampling
Abstract (arXiv)
Classifiers and generators have long been separated. We break down this separation and showcase that conventional neural network classifiers can generate high-quality images of a large number of categories, being comparable to the state-of-the-art generative models (e.g., DDPMs and GANs). We achieve this by computing the partial derivative of the classification loss function with respect to the input to optimize the input to produce an image. Since it is widely known that directly optimizing the inputs is similar to targeted adversarial attacks incapable of generating human-meaningful images, we propose a mask-based stochastic reconstruction module to make the gradients semantic-aware to synthesize plausible images. We further propose a progressive-resolution technique to guarantee fidelity, which produces photorealistic images. Furthermore, we introduce a distance metric loss and a non-trivial distribution loss to ensure classification neural networks can synthesize diverse and high-fidelity images. Using traditional neural network classifiers, we can generate good-quality images of 256×256 resolution on ImageNet. Intriguingly, our method is also applicable to text-to-image generation by regarding image-text foundation models as generalized classifiers. Proving that classifiers have learned the data distribution and are ready for image generation has far-reaching implications, for classifiers are much easier to train than generative models like DDPMs and GANs. We don't even need to train classification models because tons of public ones are available for download. Also, this holds great potential for the interpretability and robustness of classifiers. Project page is at urlhttps://classifier-as-generator.github.io/.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 43 of its 57 references that are in the map. First posted on arXiv 27 Nov 2022.
Builds on
43 of 57 references.
Closest ancestors · 6
Same direction, newest first
- 2021High-Resolution Image Synthesis with Latent Diffusion Models20 Dec
- 2021Diffusion Models Beat GANs on Image Synthesis11 May
- 2021Improved Denoising Diffusion Probabilistic Models18 Feb
- 2020Score-Based Generative Modeling through Stochastic Differential Equations26 Nov
- 2020Denoising Diffusion Implicit Models6 Oct
- 2020Denoising Diffusion Probabilistic Models19 Jun
Other references · 37
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
- 2022Generative Adversarial Networkscited by 5,603
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
25 more
- 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,067
- 2016Improved Techniques for Training GANscited by 2,938
- 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,609
- 2022Make-A-Video: Text-to-Video Generation without Text-Video Datacited by 1,725
- 2016WaveNet: A Generative Model for Raw Audiocited by 1,710
- 2021Image Super-Resolution via Iterative Refinementcited by 1,506
- 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,376
- 2021Efficient Geometry-aware 3D Generative Adversarial Networkscited by 1,204
- 2021StyleCLIP: Text-Driven Manipulation of StyleGAN Imagerycited by 990
- 2018Robustness May Be at Odds with Accuracycited by 873
- 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 774
- 2020pi-GAN: Periodic Implicit Generative Adversarial Networks for 3D-Aware Image Synthesiscited by 708
- 2017Dynamic Routing Between Capsulescited by 689
- 2020Jukebox: A Generative Model for Musiccited by 535
- 2022Phenaki: Variable Length Video Generation From Open Domain Textual Descriptioncited by 475
- 2019Your Classifier is Secretly an Energy Based Model and You Should Treat it Like Onecited by 402
- 2014Understanding Deep Image Representations by Inverting Themcited by 399
- 2015Understanding Neural Networks Through Deep Visualizationcited by 332
- 2021Generating Images with Sparse Representationscited by 262
- 2016Synthesizing the preferred inputs for neurons in neural networks via deep generator networkscited by 181
- 2020Adversarial score matching and improved sampling for image generationcited by 95
- 2022StyleLight: HDR Panorama Generation for Lighting Estimation and Editingcited by 59
- 2021Generating images from caption and vice versa via CLIP-Guided Generative Latent Space Searchcited by 57
- 2017Variational Walkback: Learning a Transition Operator as a Stochastic Recurrent Netcited by 30
- 2022Fast-Vid2Vid: Spatial-Temporal Compression for Video-to-Video Synthesiscited by 12
Built on by
Citing papers per year: 2023: 3; 2024: 3; 2025: 2; 2026: 1.
9 papers.
- 2023SparseNeRF: Distilling Depth Ranking for Few-shot Novel View Synthesiscited by 247
- 2023Unlocking Feature Visualization for Deeper Networks with MAgnitude Constrained Optimizationcited by 26
- 2024FrugalNeRF: Fast Convergence for Extreme Few-shot Novel View Synthesis without Learned Priorscited by 18
- 2024Referee Can Play: An Alternative Approach to Conditional Generation via Model Inversioncited by 4
- 2024DNA Family: Boosting Weight-Sharing NAS with Block-Wise Supervisionscited by 4
- 2025VITAL: More Understandable Feature Visualization through Distribution Alignment and Relevant Information Flowcited by 3
- 2023TR0N: Translator Networks for 0-Shot Plug-and-Play Conditional Generationcited by 2
- 2025In-Situ Tweedie Discrete Diffusion Modelscited by 2
- 2026Bridging the Discrete-Continuous Gap: Unified Multimodal Generation via Coupled Manifold Discrete Absorbing Diffusioncited by 1
- 2026Bridging the Discrete-Continuous Gap: Unified Multimodal Generation via Coupled Manifold Discrete Absorbing Diffusion7 Jan 2026
- 2025In-Situ Tweedie Discrete Diffusion Models1 Oct 2025
- 2025VITAL: More Understandable Feature Visualization through Distribution Alignment and Relevant Information Flow28 Mar 2025
- 2024FrugalNeRF: Fast Convergence for Extreme Few-shot Novel View Synthesis without Learned Priors21 Oct 2024
- 2024DNA Family: Boosting Weight-Sharing NAS with Block-Wise Supervisions2 Mar 2024
- 2024Referee Can Play: An Alternative Approach to Conditional Generation via Model Inversion26 Feb 2024
- 2023Unlocking Feature Visualization for Deeper Networks with MAgnitude Constrained Optimization11 Jun 2023
- 2023TR0N: Translator Networks for 0-Shot Plug-and-Play Conditional Generation26 Apr 2023
- 2023SparseNeRF: Distilling Depth Ranking for Few-shot Novel View Synthesis28 Mar 2023
Similar, not cited
Close in wording, no citation either way
- 2024Enhancing Consistency-Based Image Generation via Adversarialy-Trained Classification and Energy-Based Discrimination
- 2023Towards Universal Fake Image Detectors that Generalize Across Generative Models
- 2022Enhancing Diffusion-Based Image Synthesis with Robust Classifier Guidance
- 2025Generative Adversarial Networks Bridging Art and Machine Intelligence
- 2023FIANCEE: Faster Inference of Adversarial Networks via Conditional Early Exits
- 2021Diffusion Autoencoders: Toward a Meaningful and Decodable Representation
- 2023Synthetic Data from Diffusion Models Improves ImageNet Classification
- 2020Improved Techniques for Training Score-Based Generative Models