Your Classifier Can Do More: Towards Balancing the Gaps in Classification, Robustness, and Generation
Kaichao Jiang, He Wang, Xiaoshuai Hao, Xiulong Yang, Ajian Liu, Qi Chu, Yunfeng Diao, Richang Hong

TL;DR
This paper introduces EB-JDAT, a novel energy-based training framework that balances classification accuracy, robustness, and generative ability by aligning energy distributions across different data types, achieving state-of-the-art results.
Contribution
It proposes a new min-max energy optimization method to unify robustness, classification, and generation in a single model, addressing the existing trilemma.
Findings
EB-JDAT achieves state-of-the-art robustness on multiple datasets.
It maintains near-original classification accuracy.
It produces competitive generative quality.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
