Lune

CVPR2023Top-tier venue

Towards Bridging the Performance Gaps of Joint Energy-Based Models

Xiulong Yang, Qing Su, Shihao Ji

Abstract

Can we train a hybrid discriminative-generative model with a single network? This question has recently been answered in the affirmative, introducing the field of Joint Energy-based Model (JEM) [17, 48] , which achieves high classification accuracy and image generation quality simultaneously. Despite recent advances, there remain two performance gaps: the accuracy gap to the standard softmax classifier, and the generation quality gap to state-ofthe-art generative models. In this paper, we introduce a variety of training techniques to bridge the accuracy gap and the generation quality gap of JEM. 1) We incorporate a recently proposed sharpness-aware minimization (SAM) framework to train JEM, which promotes the energy landscape smoothness and the generalization of JEM. 2) We exclude data augmentation from the maximum likelihood estimate pipeline of JEM, and mitigate the negative impact of data augmentation to image generation quality. Extensive experiments on multiple datasets demonstrate our SADA-JEM achieves state-of-the-art performances and outperforms JEM in image classification, image generation, calibration, out-of-distribution detection and adversarial robustness by a notable margin. Our code is available at https://github.com/sndnyang/SADAJEM .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Scalable Energy-Based Models via Adversarial Training: Unifying Discrimination and Generation cites Training Generative Adversarial Networks with Limited Data
  • A Provable Energy-Guided Test-Time Defense Boosting Adversarial Robustness of Large Vision-Language Models cites Scalable Energy-Based Models via Adversarial Training: Unifying Discrimination and Generation
  • A Provable Energy-Guided Test-Time Defense Boosting Adversarial Robustness of Large Vision-Language Models cites Energy-based Out-of-distribution Detection
  • A Provable Energy-Guided Test-Time Defense Boosting Adversarial Robustness of Large Vision-Language Models cites Your Classifier Can Do More: Towards Balancing the Gaps in Classification, Robustness, and Generation
  • Geometry-Aware Collaborative Multi-Solutions Optimizer for Model Fine-Tuning with Parameter Efficiency cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • Score-Based Generative Modeling through Stochastic Differential Equations cites Training Generative Adversarial Networks with Limited Data
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. A Provable Energy-Guided Test-Time Defense Boosting Adversarial Robustness of Large Vision-Language ModelsMujtaba Hussain Mirza, Antonio D’Orazio, Odelia Melamed, Iacopo MasiCVPR 2026 · 2 citations
  2. Scalable Energy-Based Models via Adversarial Training: Unifying Discrimination and GenerationXuwang Yin, Claire Zhang, Julie Steele, Nir Shavit et al.ICLR 2026 · 1 citation
  3. Your Classifier Can Do More: Towards Balancing the Gaps in Classification, Robustness, and GenerationKaichao Jiang, He Wang, Xiaoshuai Hao, Xiulong Yang et al.CVPR 2026 · 1 citation
  4. A Bayesian Approach to Quantify the Uncertainty of Human Ratings in a Single-Instance Multimodal FrameworkZijian Chen, Archana VenkataramanICML 2026
  5. Geometry-Aware Collaborative Multi-Solutions Optimizer for Model Fine-Tuning with Parameter EfficiencyVan-Anh Nguyen, Trung Le, Mehrtash Harandi, Ehsan Abbasnejad et al.NeurIPS 2025

Builds on18

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Training Generative Adversarial Networks with Limited DataTero Karras, Miika Aittala, Janne Hellsten, Samuli Laine et al.NeurIPS 2020 · 2,345 citations
  3. Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
  4. Sharpness-aware Minimization for Efficiently Improving GeneralizationPierre Foret, Ariel Kleiner, Hossein Mobahi, Behnam NeyshaburICLR 2021 · 1,861 citations
  5. Score-Based Generative Modeling through Stochastic Differential EquationsYang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar et al.ICLR 2021 · 1,270 citations

Related papers

  1. Your classifier is secretly an energy based model and you should treat it like oneWill Grathwohl, Kuan-Chieh Wang, Jörn-Henrik Jacobsen, David Duvenaud et al.ICLR 2020 · 643 citations
  2. JEM++: Improved Techniques for Training JEMXiulong Yang, Shihao JiICCV 2021 · 36 citations
  3. Towards Understanding the Generative Capability of Adversarially Robust ClassifiersYao Zhu, Jiacheng Ma, Jiacheng Sun, Zewei Chen et al.ICCV 2021 · 30 citations
  4. EGC: Image Generation and Classification via a Diffusion Energy-Based ModelQiushan Guo, Chuofan Ma, Yi Jiang, Zehuan Yuan et al.ICCV 2023 · 16 citations
  5. On the Duality Between Sharpness-Aware Minimization and Adversarial TrainingYihao Zhang, Hangzhou He, Jingyu Zhu, Huanran Chen et al.ICML 2024 · 29 citations
Dusk over the sea between two cliffs drawn in fine vertical lines