Joint Learning of Energy-based Models and their Partition Function

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Sander, Michael E., Roulet, Vincent, Liu, Tianlin, Blondel, Mathieu
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866916907017306112
author Sander, Michael E.
Roulet, Vincent
Liu, Tianlin
Blondel, Mathieu
author_facet Sander, Michael E.
Roulet, Vincent
Liu, Tianlin
Blondel, Mathieu
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2501_18528
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Joint Learning of Energy-based Models and their Partition Function
Sander, Michael E.
Roulet, Vincent
Liu, Tianlin
Blondel, Mathieu
Machine Learning
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.
title Joint Learning of Energy-based Models and their Partition Function
topic Machine Learning
url https://arxiv.org/abs/2501.18528