EGC: Image Generation and Classification via a Diffusion Energy-Based Model
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
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2020Denoising Diffusion Implicit Modelscited by 9,655
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
- 2022Classifier-Free Diffusion Guidancecited by 5,717
- 2022Generative Adversarial Networkscited by 5,603
- 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,067
38 more
- 2021Improved Denoising Diffusion Probabilistic Modelscited by 3,736
- 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,580
- 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,229
- 2016Wide Residual Networkscited by 3,057
- 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,967
- 2016Improved Techniques for Training GANscited by 2,938
- 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,609
- 2018Spectral Normalization for Generative Adversarial Networkscited by 1,618
- 2018Glow: Generative Flow with Invertible 1x1 Convolutionscited by 1,539
- 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Modelscited by 1,419
- 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,350
- 2020Energy-based Out-of-distribution Detectioncited by 1,296
- 2020Training Generative Adversarial Networks with Limited Datacited by 1,184
- 2020Improved Techniques for Training Score-Based Generative Modelscited by 1,036
- 2020NVAE: A Deep Hierarchical Variational Autoencodercited by 635
- 2019Your Classifier is Secretly an Energy Based Model and You Should Treat it Like Onecited by 402
- 2019Residual Flows for Invertible Generative Modelingcited by 256
- 2016A Theory of Generative ConvNetcited by 174
- 2022EGSDE: Unpaired Image-to-Image Translation via Energy-Guided Stochastic Differential Equationscited by 172
- 2016A Connection between Generative Adversarial Networks, Inverse Reinforcement Learning, and Energy-Based Modelscited by 167
- 2020Improved Contrastive Divergence Training of Energy Based Modelscited by 127
- 2020Learning Energy-Based Models by Diffusion Recovery Likelihoodcited by 122
- 2016Energy-based Generative Adversarial Networkcited by 119
- 2021Regularizing Generative Adversarial Networks under Limited Datacited by 105
- 2020VAEBM: A Symbiosis between Variational Autoencoders and Energy-based Modelscited by 103
- 2019Flow Contrastive Estimation of Energy-Based Modelscited by 75
- 2016Cooperative Training of Descriptor and Generator Networkscited by 60
- 2019Maximum Entropy Generators for Energy-Based Modelscited by 55
- 2022A Tale of Two Flows: Cooperative Learning of Langevin Flow and Normalizing Flow Toward Energy-Based Modelcited by 44
- 2020Learning Energy-Based Model with Variational Auto-Encoder as Amortized Samplercited by 43
- 2016Deep Directed Generative Models with Energy-Based Probability Estimationcited by 34
- 2017Learning Energy-Based Models as Generative ConvNets via Multi-grid Modeling and Samplingcited by 32
- 2017Variational Walkback: Learning a Transition Operator as a Stochastic Recurrent Netcited by 30
- 2020Feature Quantization Improves GAN Trainingcited by 23
- 2017Wasserstein Introspective Neural Networkscited by 18
- 2022Adaptive Multi-stage Density Ratio Estimation for Learning Latent Space Energy-based Modelcited by 18
- 2023Guiding Energy-based Models via Contrastive Latent Variablescited by 17
- 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
Citing papers per year: 2023: 1; 2024: 4; 2025: 6; 2026: 5.
16 papers.
Sort:
By area:
- 2025Energy Matching: Unifying Flow Matching and Energy-Based Models for Generative Modelingcited by 25
- 2023Learning Energy-Based Models by Cooperative Diffusion Recovery Likelihoodcited by 19
- 2024EQ-CBM: A Probabilistic Concept Bottleneck with Energy-based Models and Quantized Vectorscited by 6
- 2024CycleHOI: Improving Human-Object Interaction Detection with Cycle Consistency of Detection and Generationcited by 5
- 2024Classification-Denoising Networkscited by 1
- 2025Scalable Energy-Based Models via Adversarial Training: Unifying Discrimination and Generationcited by 1
- 2025Advancing Image Classification with Discrete Diffusion Classification Modelingcited by 1
- 2024GuideGen: A Text-Guided Framework for Paired Full-torso Anatomy and CT Volume Generationcited by 0
- 2025Contrastive Residual Energy Test-time Adaptationcited by 0
- 2025TANGO: Graph Neural Dynamics via Learned Energy and Tangential Flowscited by 0
- 2025ERIS: An Energy-Guided Feature Disentanglement Framework for Out-of-Distribution Time Series Classificationcited by 0
- 2026Annealed Langevin Posterior Sampling (ALPS): A Rapid Algorithm for Image Restoration with Multiscale Energy Modelscited by 0
4 more
- 2026Revisiting Autoregressive Models for Generative Image Classificationcited by 0
- 2026ERAlign: Energy-based Representation Alignment of GNNs and LLMs on Text-attributed Graphscited by 0
- 2026Repurposing a Speech Classifier for Guided Diffusion-Based Speech Generationcited by 0
- 2026Comparing SGLD and a fixed-noise Predictor-Corrector adaptation in canonical Joint Energy-Based Models on CIFAR-10cited by 0
- 2026Comparing SGLD and a fixed-noise Predictor-Corrector adaptation in canonical Joint Energy-Based Models on CIFAR-105 Aug 2026
- 2026Repurposing a Speech Classifier for Guided Diffusion-Based Speech Generation18 Jun 2026
- 2026ERAlign: Energy-based Representation Alignment of GNNs and LLMs on Text-attributed Graphs9 Jun 2026
- 2026Revisiting Autoregressive Models for Generative Image Classification19 Mar 2026
- 2026Annealed Langevin Posterior Sampling (ALPS): A Rapid Algorithm for Image Restoration with Multiscale Energy Models5 Jan 2026
- 2025Advancing Image Classification with Discrete Diffusion Classification Modeling25 Nov 2025
- 2025Scalable Energy-Based Models via Adversarial Training: Unifying Discrimination and Generation13 Oct 2025
- 2025ERIS: An Energy-Guided Feature Disentanglement Framework for Out-of-Distribution Time Series Classification19 Aug 2025
- 2025TANGO: Graph Neural Dynamics via Learned Energy and Tangential Flows7 Aug 2025
- 2025Contrastive Residual Energy Test-time Adaptation26 May 2025
- 2025Energy Matching: Unifying Flow Matching and Energy-Based Models for Generative Modeling14 Apr 2025
- 2024Classification-Denoising Networks4 Oct 2024
4 more
- 2024EQ-CBM: A Probabilistic Concept Bottleneck with Energy-based Models and Quantized Vectors22 Sep 2024
- 2024CycleHOI: Improving Human-Object Interaction Detection with Cycle Consistency of Detection and Generation16 Jul 2024
- 2024GuideGen: A Text-Guided Framework for Paired Full-torso Anatomy and CT Volume Generation12 Mar 2024
- 2023Learning Energy-Based Models by Cooperative Diffusion Recovery Likelihood10 Sep 2023
- 2025Energy Matching: Unifying Flow Matching and Energy-Based Models for Generative Modelingcited by 25
- 2023Learning Energy-Based Models by Cooperative Diffusion Recovery Likelihoodcited by 19
- 2024CycleHOI: Improving Human-Object Interaction Detection with Cycle Consistency of Detection and Generationcited by 5
- 2025Advancing Image Classification with Discrete Diffusion Classification Modelingcited by 1
- 2024GuideGen: A Text-Guided Framework for Paired Full-torso Anatomy and CT Volume Generationcited by 0
- 2026Annealed Langevin Posterior Sampling (ALPS): A Rapid Algorithm for Image Restoration with Multiscale Energy Modelscited by 0
- 2026Revisiting Autoregressive Models for Generative Image Classificationcited by 0
- 2026Repurposing a Speech Classifier for Guided Diffusion-Based Speech Generationcited by 0
- 2026Repurposing a Speech Classifier for Guided Diffusion-Based Speech Generation18 Jun 2026
- 2026Revisiting Autoregressive Models for Generative Image Classification19 Mar 2026
- 2026Annealed Langevin Posterior Sampling (ALPS): A Rapid Algorithm for Image Restoration with Multiscale Energy Models5 Jan 2026
- 2025Advancing Image Classification with Discrete Diffusion Classification Modeling25 Nov 2025
- 2025Energy Matching: Unifying Flow Matching and Energy-Based Models for Generative Modeling14 Apr 2025
- 2024CycleHOI: Improving Human-Object Interaction Detection with Cycle Consistency of Detection and Generation16 Jul 2024
- 2024GuideGen: A Text-Guided Framework for Paired Full-torso Anatomy and CT Volume Generation12 Mar 2024
- 2023Learning Energy-Based Models by Cooperative Diffusion Recovery Likelihood10 Sep 2023
- 2024EQ-CBM: A Probabilistic Concept Bottleneck with Energy-based Models and Quantized Vectorscited by 6
- 2024Classification-Denoising Networkscited by 1
- 2025Scalable Energy-Based Models via Adversarial Training: Unifying Discrimination and Generationcited by 1
- 2025Contrastive Residual Energy Test-time Adaptationcited by 0
- 2025TANGO: Graph Neural Dynamics via Learned Energy and Tangential Flowscited by 0
- 2025ERIS: An Energy-Guided Feature Disentanglement Framework for Out-of-Distribution Time Series Classificationcited by 0
- 2026ERAlign: Energy-based Representation Alignment of GNNs and LLMs on Text-attributed Graphscited by 0
- 2026Comparing SGLD and a fixed-noise Predictor-Corrector adaptation in canonical Joint Energy-Based Models on CIFAR-10cited by 0
- 2026Comparing SGLD and a fixed-noise Predictor-Corrector adaptation in canonical Joint Energy-Based Models on CIFAR-105 Aug 2026
- 2026ERAlign: Energy-based Representation Alignment of GNNs and LLMs on Text-attributed Graphs9 Jun 2026
- 2025Scalable Energy-Based Models via Adversarial Training: Unifying Discrimination and Generation13 Oct 2025
- 2025ERIS: An Energy-Guided Feature Disentanglement Framework for Out-of-Distribution Time Series Classification19 Aug 2025
- 2025TANGO: Graph Neural Dynamics via Learned Energy and Tangential Flows7 Aug 2025
- 2025Contrastive Residual Energy Test-time Adaptation26 May 2025
- 2024Classification-Denoising Networks4 Oct 2024
- 2024EQ-CBM: A Probabilistic Concept Bottleneck with Energy-based Models and Quantized Vectors22 Sep 2024