A Unified Contrastive Energy-based Model for Understanding the Generative Ability of Adversarial Training
Yifei Wang, Yisen Wang, Jiansheng Yang, Zhouchen Lin
Abstract
Adversarial Training (AT) is known as an effective approach to enhance the robustness of deep neural networks. Recently researchers notice that robust models with AT have good generative ability and can synthesize realistic images, while the reason behind it is yet under-explored. In this paper, we demystify this phenomenon by developing a unified probabilistic framework, called Contrastive Energy-based Models (CEM). On the one hand, we provide the first probabilistic characterization of AT through a unified understanding of robustness and generative ability. On the other hand, our unified framework can be extended to the unsupervised scenario, which interprets unsupervised contrastive learning as an important sampling of CEM. Based on these, we propose a principled method to develop adversarial learning and sampling methods. Experiments show that the sampling methods derived from our framework improve the sample quality in both supervised and unsupervised learning. Notably, our unsupervised adversarial sampling method achieves an Inception score of 9.61 on CIFAR-10, which is superior to previous energy-based models and comparable to state-of-the-art generative models.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext b02ad5dd-948c-479d-b267-781b8f0893cdCited by top-tier papers10
- Do Generated Data Always Help Contrastive Learning?Yifei Wang, Jizhe Zhang, Yisen WangICLR 2024 · 36 citations
- Balance, Imbalance, and Rebalance: Understanding Robust Overfitting from a Minimax Game PerspectiveYifei Wang, Liangchen Li, Jiansheng Yang, Zhouchen Lin et al.NeurIPS 2023 · 26 citations
- Energy-Based Contrastive Learning of Visual RepresentationsBeomsu Kim, Jong Chul YeNeurIPS 2022 · 23 citations
- EGC: Image Generation and Classification via a Diffusion Energy-Based ModelQiushan Guo, Chuofan Ma, Yi Jiang, Zehuan Yuan et al.ICCV 2023 · 16 citations
- Graph Structure Refinement with Energy-based Contrastive LearningXianlin Zeng, Yufeng Wang, Yuqi Sun, Guodong Guo et al.AAAI 2025 · 6 citations
Builds on14
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna et al.NeurIPS 2020 · 7,049 citations
- Training Generative Adversarial Networks with Limited DataTero Karras, Miika Aittala, Janne Hellsten, Samuli Laine et al.NeurIPS 2020 · 2,345 citations
- 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
- Towards Understanding the Generative Capability of Adversarially Robust ClassifiersYao Zhu, Jiacheng Ma, Jiacheng Sun, Zewei Chen et al.ICCV 2021 · 30 citations
- Guiding Energy-based Models via Contrastive Latent VariablesHankook Lee, Jongheon Jeong, Sejun Park, Jinwoo ShinICLR 2023 · 4 citations
- Scalable Energy-Based Models via Adversarial Training: Unifying Discrimination and GenerationXuwang Yin, Claire Zhang, Julie Steele, Nir Shavit et al.ICLR 2026 · 1 citation
- 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
- Effective Targeted Attacks for Adversarial Self-Supervised LearningMinseon Kim, Hyeonjeong Ha, Sooel Son, Sung Ju HwangNeurIPS 2023 · 6 citations
