Guiding Energy-based Models via Contrastive Latent Variables
Hankook Lee, Jongheon Jeong, Sejun Park, Jinwoo Shin
Abstract
An energy-based model (EBM) is a popular generative framework that offers both explicit density and architectural flexibility, but training them is difficult since it is often unstable and time-consuming. In recent years, various training techniques have been developed, e.g., better divergence measures or stabilization in MCMC sampling, but there often exists a large gap between EBMs and other generative frameworks like GANs in terms of generation quality. In this paper, we propose a novel and effective framework for improving EBMs via contrastive representation learning (CRL). To be specific, we consider representations learned by contrastive methods as the true underlying latent variable. This contrastive latent variable could guide EBMs to understand the data structure better, so it can improve and accelerate EBM training significantly. To enable the joint training of EBM and CRL, we also design a new class of latent-variable EBMs for learning the joint density of data and the contrastive latent variable. Our experimental results demonstrate that our scheme achieves lower FID scores, compared to prior-art EBM methods (e.g., additionally using variational autoencoders or diffusion techniques), even with significantly faster and more memory-efficient training. We also show conditional and compositional generation abilities of our latent-variable EBMs as their additional benefits, even without explicit conditional training. The code is available at https://github.com/hankook/CLEL .
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.
12 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Energy-Based Models for Anomaly Detection: A Manifold Diffusion Recovery Approach cites A Simple Framework for Contrastive Learning of Visual Representations
- Energy-Based Models for Anomaly Detection: A Manifold Diffusion Recovery Approach cites Denoising Diffusion Probabilistic Models
- Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere cites A Simple Framework for Contrastive Learning of Visual Representations
- Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
- Learning Energy-Based Models by Cooperative Diffusion Recovery Likelihood cites Energy-Based Models for Anomaly Detection: A Manifold Diffusion Recovery Approach
- Learning Energy-Based Models by Cooperative Diffusion Recovery Likelihood cites Denoising Diffusion Probabilistic Models
- Learning Energy-Based Models by Cooperative Diffusion Recovery Likelihood cites Training Generative Adversarial Networks with Limited Data
- Learning Energy-Based Models by Cooperative Diffusion Recovery Likelihood cites EGC: Image Generation and Classification via a Diffusion Energy-Based Model
- Denoising Diffusion Probabilistic Models cites Training Generative Adversarial Networks with Limited Data
- Energy Matching: Unifying Flow Matching and Energy-Based Models for Generative Modeling cites Learning Energy-Based Models by Cooperative Diffusion Recovery Likelihood
- Energy Matching: Unifying Flow Matching and Energy-Based Models for Generative Modeling cites Denoising Diffusion Probabilistic Models
- Energy Matching: Unifying Flow Matching and Energy-Based Models for Generative Modeling cites EGC: Image Generation and Classification via a Diffusion Energy-Based Model
- Efficient Training of Energy-Based Models Using Jarzynski Equality cites Denoising Diffusion Probabilistic Models
- EGC: Image Generation and Classification via a Diffusion Energy-Based Model cites Denoising Diffusion Probabilistic Models
- EGC: Image Generation and Classification via a Diffusion Energy-Based Model cites Training Generative Adversarial Networks with Limited Data
Cited by top-tier papers12
- Energy Matching: Unifying Flow Matching and Energy-Based Models for Generative ModelingMichal Balcerak, Tamaz Amiranashvili, Antonio Terpin, Suprosanna Shit et al.NeurIPS 2025 · 33 citations
- Energy-Based Models for Anomaly Detection: A Manifold Diffusion Recovery ApproachSangwoong Yoon, Young-Uk Jin, Yung-Kyun Noh, Frank C. ParkNeurIPS 2023 · 28 citations
- Efficient Training of Energy-Based Models Using Jarzynski EqualityDavide Carbone, Mengjian Hua, Simon Coste, Eric Vanden-EijndenNeurIPS 2023 · 21 citations
- Learning Energy-Based Models by Cooperative Diffusion Recovery LikelihoodYaxuan Zhu, Jianwen Xie, Ying Nian Wu, Ruiqi GaoICLR 2024 · 18 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
Builds on35
- 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
- Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
- Understanding Contrastive Representation Learning through Alignment and Uniformity on the HypersphereTongzhou Wang, Phillip IsolaICML 2020 · 2,360 citations
- Training Generative Adversarial Networks with Limited DataTero Karras, Miika Aittala, Janne Hellsten, Samuli Laine et al.NeurIPS 2020 · 2,345 citations
Related papers
- Training Deep Energy-Based Models with f-Divergence MinimizationLantao Yu, Yang Song, Jiaming Song, Stefano ErmonICML 2020 · 50 citations
- A Unified Contrastive Energy-based Model for Understanding the Generative Ability of Adversarial TrainingYifei Wang, Yisen Wang, Jiansheng Yang, Zhouchen LinICLR 2022 · 19 citations
- Energy-Based Contrastive Learning of Visual RepresentationsBeomsu Kim, Jong Chul YeNeurIPS 2022 · 23 citations
- Adaptive Multi-stage Density Ratio Estimation for Learning Latent Space Energy-based ModelZhisheng Xiao, Tian HanNeurIPS 2022 · 24 citations
- Training GANs with Stronger Augmentations via Contrastive DiscriminatorJongheon Jeong, Jinwoo ShinICLR 2021 · 68 citations
