Joint Learning of Energy-based Models and their Partition Function
Not on the map. Why?
Abstract (arXiv)
Energy-based models (EBMs) offer a flexible framework for parameterizing probability distributions using neural networks. However, learning EBMs by exact maximum likelihood estimation (MLE) is generally intractable, due to the need to compute the partition function (normalization constant). In this paper, we propose a novel formulation for approximately learning probabilistic EBMs in combinatorially-large discrete spaces, such as sets or permutations. Our key idea is to jointly learn both an energy model and its log-partition, both parameterized as a neural network. Our approach not only provides a novel tractable objective criterion to learn EBMs by stochastic gradient descent (without relying on MCMC), but also a novel means to estimate the log-partition function on unseen data points. On the theoretical side, we show that our approach recovers the optimal MLE solution when optimizing in the space of continuous functions. Furthermore, we show that our approach naturally extends to the broader family of Fenchel-Young losses, allowing us to obtain the first tractable method for optimizing the sparsemax loss in combinatorially-large spaces. We demonstrate our approach on multilabel classification and label ranking.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 21 of its 44 references that are in the map. First posted on arXiv 30 Jan 2025.
Builds on
21 of 44 references.
References · 21
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2021Convex optimizationcited by 2,479
- 2016Generative Adversarial Imitation Learningcited by 1,576
- 2016Input Convex Neural Networkscited by 407
- 2016From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classificationcited by 337
- 2021How to Train Your Energy-Based Modelscited by 271
- 2020Fast Differentiable Sorting and Rankingcited by 196
- 2023Handbook of Convergence Theorems for (Stochastic) Gradient Methodscited by 158
- 2022Concrete Score Matching: Generalized Score Matching for Discrete Datacited by 144
- 2017Large-Scale Optimal Transport and Mapping Estimationcited by 120
- 2019Learning with Fenchel-Young Lossescited by 117
9 more
- 2021Do Neural Optimal Transport Solvers Work? A Continuous Wasserstein-2 Benchmarkcited by 95
- 2020Generalized Energy Based Modelscited by 73
- 2024The Elements of Differentiable Programmingcited by 41
- 2023Fast, Differentiable and Sparse Top-k: a Convex Analysis Perspectivecited by 26
- 2021Sparse Continuous Distributions and Fenchel-Young Lossescited by 13
- 2020Efficient Computation of Expectations under Spanning Tree Distributionscited by 11
- 2019A Smoother Way to Train Structured Prediction Modelscited by 9
- 2022Learning Energy Networks with Generalized Fenchel-Young Lossescited by 8
- 2019Geometric Losses for Distributional Learningcited by 7
Built on by
Citing papers per year: 2025: 3.
3 papers.
- 2025Complexity Analysis of Normalizing Constant Estimation: from Jarzynski Equality to Annealed Importance Sampling and beyondcited by 11
- 2025Autoregressive Language Models are Secretly Energy-Based Models: Insights into the Lookahead Capabilities of Next-Token Predictioncited by 7
- 2025Learning Energy-Based Models by Self-normalising the Likelihoodcited by 0
- 2025Autoregressive Language Models are Secretly Energy-Based Models: Insights into the Lookahead Capabilities of Next-Token Prediction17 Dec 2025
- 2025Learning Energy-Based Models by Self-normalising the Likelihood10 Mar 2025
- 2025Complexity Analysis of Normalizing Constant Estimation: from Jarzynski Equality to Annealed Importance Sampling and beyond7 Feb 2025