Energy Discrepancies: A Score-Independent Loss for Energy-Based Models
Tobias Schröder, Zijing Ou, Jen Lim, Yingzhen Li, Sebastian J. Vollmer, Andrew B. Duncan
Abstract
Energy-based models are a simple yet powerful class of probabilistic models, but their widespread adoption has been limited by the computational burden of training them. We propose a novel loss function called Energy Discrepancy (ED) which does not rely on the computation of scores or expensive Markov chain Monte Carlo. We show that energy discrepancy approaches the explicit score matching and negative log-likelihood loss under different limits, effectively interpolating between both. Consequently, minimum energy discrepancy estimation overcomes the problem of nearsightedness encountered in score-based estimation methods, while also enjoying theoretical guarantees. Through numerical experiments, we demonstrate that ED learns low-dimensional data distributions faster and more accurately than explicit score matching or contrastive divergence. For high-dimensional image data, we describe how the manifold hypothesis puts limitations on our approach and demonstrate the effectiveness of energy discrepancy by training the energy-based model as a prior of a variational decoder model.
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.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- A Diffusive Classification Loss for Learning Energy-based Generative Models cites Your classifier is secretly an energy based model and you should treat it like one
- A Diffusive Classification Loss for Learning Energy-based Generative Models cites Score-Based Generative Modeling through Stochastic Differential Equations
- Discrete Neural Flow Samplers with Locally Equivariant Transformer cites Energy-Based Modelling for Discrete and Mixed Data via Heat Equations on Structured Spaces
- Follow the Energy, Find the Path: Riemannian Metrics from Energy-Based Models cites From Variational to Deterministic Autoencoders
- Generalized Energy Based Models cites Your classifier is secretly an energy based model and you should treat it like one
- Maximum Likelihood Training of Score-Based Diffusion Models cites Score-Based Generative Modeling through Stochastic Differential Equations
- Energy-Based Modelling for Discrete and Mixed Data via Heat Equations on Structured Spaces cites Your classifier is secretly an energy based model and you should treat it like one
Cited by top-tier papers6
- Discrete Neural Flow Samplers with Locally Equivariant TransformerZijing Ou, Ruixiang Zhang, Yingzhen LiNeurIPS 2025 · 14 citations
- Follow the Energy, Find the Path: Riemannian Metrics from Energy-Based ModelsLouis Béthune, David Vigouroux, Yilun Du, Rufin VanRullen et al.NeurIPS 2025 · 8 citations
- A Diffusive Classification Loss for Learning Energy-based Generative ModelsRuiKang OuYang, Louis Grenioux, Jose Miguel Hernandez-LobatoICML 2026 · 5 citations
- Energy-Based Modelling for Discrete and Mixed Data via Heat Equations on Structured SpacesTobias Schröder, Zijing Ou, Yingzhen Li, Andrew B. DuncanNeurIPS 2024 · 5 citations
- Inverse Entropic Optimal Transport Solves Semi-supervised Learning via Data Likelihood MaximizationMikhail Persiianov, Arip Asadulaev, Nikita Andreev, Nikita Starodubcev et al.ICML 2026 · 2 citations
Builds on17
- Score-Based Generative Modeling through Stochastic Differential EquationsYang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar et al.ICLR 2021 · 1,270 citations
- Maximum Likelihood Training of Score-Based Diffusion ModelsYang Song, Conor Durkan, Iain Murray, Stefano ErmonNeurIPS 2021 · 958 citations
- 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
- From Variational to Deterministic AutoencodersPartha Ghosh, Mehdi S. M. Sajjadi, Antonio Vergari, Michael J. Black et al.ICLR 2020 · 298 citations
- Generalized Energy Based ModelsMichael Arbel, Liang Zhou, Arthur GrettonICLR 2021 · 254 citations
Related papers
- Pseudo-Spherical Contrastive DivergenceLantao Yu, Jiaming Song, Yang Song, Stefano ErmonNeurIPS 2021 · 9 citations
- Variational (Gradient) Estimate of the Score Function in Energy-based Latent Variable ModelsFan Bao, Kun Xu, Chongxuan Li, Lanqing Hong et al.ICML 2021 · 10 citations
- Training Deep Energy-Based Models with f-Divergence MinimizationLantao Yu, Yang Song, Jiaming Song, Stefano ErmonICML 2020 · 50 citations
- 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
- Bi-level Doubly Variational Learning for Energy-based Latent Variable ModelsGe Kan, Jinhu Lü, Tian Wang, Baochang Zhang et al.CVPR 2022 · 4 citations
