mlsanityData to 7 Oct 2026

EGC: Image Generation and Classification via a Diffusion Energy-Based Model

arXiv 2304.02012 ↗First posted 4 Apr 2023cs.CV cs.AI cs.LGcited by 16

Not on the map. Why?

Abstract (arXiv)

Learning image classification and image generation using the same set of network parameters is a challenging problem. Recent advanced approaches perform well in one task often exhibit poor performance in the other. This work introduces an energy-based classifier and generator, namely EGC, which can achieve superior performance in both tasks using a single neural network. Unlike a conventional classifier that outputs a label given an image (i.e., a conditional distribution p(y|x)), the forward pass in EGC is a classifier that outputs a joint distribution p(x,y), enabling an image generator in its backward pass by marginalizing out the label y. This is done by estimating the energy and classification probability given a noisy image in the forward pass, while denoising it using the score function estimated in the backward pass. EGC achieves competitive generation results compared with state-of-the-art approaches on ImageNet-1k, CelebA-HQ and LSUN Church, while achieving superior classification accuracy and robustness against adversarial attacks on CIFAR-10. This work represents the first successful attempt to simultaneously excel in both tasks using a single set of network parameters. We believe that EGC bridges the gap between discriminative and generative learning.

Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 54 of its 73 references that are in the map. First posted on arXiv 4 Apr 2023.

Builds on

54 of 73 references.

References · 54

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  4. 2020Denoising Diffusion Implicit Modelscited by 9,655
  5. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  6. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  7. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  8. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  9. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
  10. 2022Classifier-Free Diffusion Guidancecited by 5,717
  11. 2022Generative Adversarial Networkscited by 5,603
  12. 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,067
38 more
  1. 2021Improved Denoising Diffusion Probabilistic Modelscited by 3,736
  2. 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,580
  3. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,229
  4. 2016Wide Residual Networkscited by 3,057
  5. 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,967
  6. 2016Improved Techniques for Training GANscited by 2,938
  7. 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,609
  8. 2018Spectral Normalization for Generative Adversarial Networkscited by 1,618
  9. 2018Glow: Generative Flow with Invertible 1x1 Convolutionscited by 1,539
  10. 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Modelscited by 1,419
  11. 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,350
  12. 2020Energy-based Out-of-distribution Detectioncited by 1,296
  13. 2020Training Generative Adversarial Networks with Limited Datacited by 1,184
  14. 2020Improved Techniques for Training Score-Based Generative Modelscited by 1,036
  15. 2020NVAE: A Deep Hierarchical Variational Autoencodercited by 635
  16. 2019Your Classifier is Secretly an Energy Based Model and You Should Treat it Like Onecited by 402
  17. 2019Residual Flows for Invertible Generative Modelingcited by 256
  18. 2016A Theory of Generative ConvNetcited by 174
  19. 2022EGSDE: Unpaired Image-to-Image Translation via Energy-Guided Stochastic Differential Equationscited by 172
  20. 2016A Connection between Generative Adversarial Networks, Inverse Reinforcement Learning, and Energy-Based Modelscited by 167
  21. 2020Improved Contrastive Divergence Training of Energy Based Modelscited by 127
  22. 2020Learning Energy-Based Models by Diffusion Recovery Likelihoodcited by 122
  23. 2016Energy-based Generative Adversarial Networkcited by 119
  24. 2021Regularizing Generative Adversarial Networks under Limited Datacited by 105
  25. 2020VAEBM: A Symbiosis between Variational Autoencoders and Energy-based Modelscited by 103
  26. 2019Flow Contrastive Estimation of Energy-Based Modelscited by 75
  27. 2016Cooperative Training of Descriptor and Generator Networkscited by 60
  28. 2019Maximum Entropy Generators for Energy-Based Modelscited by 55
  29. 2022A Tale of Two Flows: Cooperative Learning of Langevin Flow and Normalizing Flow Toward Energy-Based Modelcited by 44
  30. 2020Learning Energy-Based Model with Variational Auto-Encoder as Amortized Samplercited by 43
  31. 2016Deep Directed Generative Models with Energy-Based Probability Estimationcited by 34
  32. 2017Learning Energy-Based Models as Generative ConvNets via Multi-grid Modeling and Samplingcited by 32
  33. 2017Variational Walkback: Learning a Transition Operator as a Stochastic Recurrent Netcited by 30
  34. 2020Feature Quantization Improves GAN Trainingcited by 23
  35. 2017Wasserstein Introspective Neural Networkscited by 18
  36. 2022Adaptive Multi-stage Density Ratio Estimation for Learning Latent Space Energy-based Modelcited by 18
  37. 2023Guiding Energy-based Models via Contrastive Latent Variablescited by 17
  38. 2022A Unified Contrastive Energy-based Model for Understanding the Generative Ability of Adversarial Trainingcited by 13

50 most cited of 54 All 54 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 4; 2025: 6; 2026: 5.

16 papers.

Sort:

By area:

  1. 2025Energy Matching: Unifying Flow Matching and Energy-Based Models for Generative Modelingcited by 25
  2. 2023Learning Energy-Based Models by Cooperative Diffusion Recovery Likelihoodcited by 19
  3. 2024EQ-CBM: A Probabilistic Concept Bottleneck with Energy-based Models and Quantized Vectorscited by 6
  4. 2024CycleHOI: Improving Human-Object Interaction Detection with Cycle Consistency of Detection and Generationcited by 5
  5. 2024Classification-Denoising Networkscited by 1
  6. 2025Scalable Energy-Based Models via Adversarial Training: Unifying Discrimination and Generationcited by 1
  7. 2025Advancing Image Classification with Discrete Diffusion Classification Modelingcited by 1
  8. 2024GuideGen: A Text-Guided Framework for Paired Full-torso Anatomy and CT Volume Generationcited by 0
  9. 2025Contrastive Residual Energy Test-time Adaptationcited by 0
  10. 2025TANGO: Graph Neural Dynamics via Learned Energy and Tangential Flowscited by 0
  11. 2025ERIS: An Energy-Guided Feature Disentanglement Framework for Out-of-Distribution Time Series Classificationcited by 0
  12. 2026Annealed Langevin Posterior Sampling (ALPS): A Rapid Algorithm for Image Restoration with Multiscale Energy Modelscited by 0
4 more
  1. 2026Revisiting Autoregressive Models for Generative Image Classificationcited by 0
  2. 2026ERAlign: Energy-based Representation Alignment of GNNs and LLMs on Text-attributed Graphscited by 0
  3. 2026Repurposing a Speech Classifier for Guided Diffusion-Based Speech Generationcited by 0
  4. 2026Comparing SGLD and a fixed-noise Predictor-Corrector adaptation in canonical Joint Energy-Based Models on CIFAR-10cited by 0