Your Classifier Can Do More: Towards Balancing the Gaps in Classification, Robustness, and Generation
Not on the map. Why?
Abstract (arXiv)
Joint Energy-based Models (JEMs) are well known for their ability to unify classification and generation within a single framework. Despite their promising generative and discriminative performance, their robustness remains far inferior to adversarial training (AT), which, conversely, achieves strong robustness but sacrifices clean accuracy and lacks generative ability. This inherent trilemma-balancing classification accuracy, robustness, and generative capability-raises a fundamental question: Can a single model achieve all three simultaneously? To answer this, we conduct a systematic energy landscape analysis of clean, adversarial, and generated samples across various JEM and AT variants. We observe that AT reduces the energy gap between clean and adversarial samples, while JEMs narrow the gap between clean and synthetic ones. This observation suggests a key insight: if the energy distributions of all three data types can be aligned, we might bridge their performance disparities. Building on this idea, we propose Energy-based Joint Distribution Adversarial Training (EB-JDAT), a unified generative-discriminative-robust framework that maximizes the joint probability of clean and adversarial distribution. EB-JDAT introduces a novel min-max energy optimization to explicitly aligning energies across clean, adversarial, and generated samples. Extensive experiments on CIFAR-10, CIFAR-100, and ImageNet subsets demonstrate that EB-JDAT achieves state-of-the-art robustness while maintaining near-original accuracy and competitive generation quality of JEMs, effectively achieving a new trade-off frontier between accuracy, robustness, and generation. The code is released at https://github.com/yujkc/EB-JDAT.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 34 of its 55 references that are in the map. First posted on arXiv 26 May 2025.
Builds on
34 of 55 references.
References · 34
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2016Wide Residual Networkscited by 3,070
- 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,517
- 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,451
- 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,268
- 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 953
- 2019Square Attack: a query-efficient black-box adversarial attack via random searchcited by 685
- 2019Your Classifier is Secretly an Energy Based Model and You Should Treat it Like Onecited by 405
- 2019Minimally distorted Adversarial Examples with a Fast Adaptive Boundary Attackcited by 334
- 2018Feature Denoising for Improving Adversarial Robustnesscited by 314
- 2020Very Deep VAEs Generalize Autoregressive Models and Can Outperform Them on Imagescited by 264
22 more
- 2021Improving Robustness using Generated Datacited by 234
- 2023Better Diffusion Models Further Improve Adversarial Trainingcited by 208
- 2022Robustness and Accuracy Could Be Reconcilable by (Proper) Definitioncited by 111
- 2019On the Anatomy of MCMC-Based Maximum Likelihood Learning of Energy-Based Modelscited by 105
- 2022LAS-AT: Adversarial Training with Learnable Attack Strategycited by 95
- 2020Learnable Boundary Guided Adversarial Trainingcited by 93
- 2022Prior-Guided Adversarial Initialization for Fast Adversarial Trainingcited by 35
- 2021JEM++: Improved Techniques for Training JEMcited by 28
- 2021Towards Understanding the Generative Capability of Adversarially Robust Classifierscited by 26
- 2022The Enemy of My Enemy is My Friend: Exploring Inverse Adversaries for Improving Adversarial Trainingcited by 23
- 2022Towards Bridging the Performance Gaps of Joint Energy-based Modelscited by 15
- 2022A Unified Contrastive Energy-based Model for Understanding the Generative Ability of Adversarial Trainingcited by 13
- 2022On the Robustness of Bayesian Neural Networks to Adversarial Attackscited by 12
- 2020Learning Energy-Based Models With Adversarial Trainingcited by 9
- 2024Soften to Defend: Towards Adversarial Robustness via Self-Guided Label Refinementcited by 9
- 2024Shedding More Light on Robust Classifiers under the lens of Energy-based Modelscited by 9
- 2023M-EBM: Towards Understanding the Manifolds of Energy-Based Modelscited by 6
- 2025MixBridge: Heterogeneous Image-to-Image Backdoor Attack through Mixture of Schr"odinger Bridgescited by 6
- 2023Provable Robustness Against a Union of ℓ0 Adversarial Attackscited by 5
- 2024Towards Adversarial Robustness via Debiased High-Confidence Logit Alignmentcited by 5
- 2022Jacobian Ensembles Improve Robustness Trade-offs to Adversarial Attackscited by 4
- 2022Adversarial Training Improves Joint Energy-Based Generative Modellingcited by 3
Built on by
Citing papers per year: 2026: 1.
1 paper.