Learning Energy-Based Models by Self-normalising the Likelihood

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Senetaire, Hugo, Jeha, Paul, Mattei, Pierre-Alexandre, Frellsen, Jes
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866929751368663040
author Senetaire, Hugo
Jeha, Paul
Mattei, Pierre-Alexandre
Frellsen, Jes
author_facet Senetaire, Hugo
Jeha, Paul
Mattei, Pierre-Alexandre
Frellsen, Jes
contents Training an energy-based model (EBM) with maximum likelihood is challenging due to the intractable normalisation constant. Traditional methods rely on expensive Markov chain Monte Carlo (MCMC) sampling to estimate the gradient of logartihm of the normalisation constant. We propose a novel objective called self-normalised log-likelihood (SNL) that introduces a single additional learnable parameter representing the normalisation constant compared to the regular log-likelihood. SNL is a lower bound of the log-likelihood, and its optimum corresponds to both the maximum likelihood estimate of the model parameters and the normalisation constant. We show that the SNL objective is concave in the model parameters for exponential family distributions. Unlike the regular log-likelihood, the SNL can be directly optimised using stochastic gradient techniques by sampling from a crude proposal distribution. We validate the effectiveness of our proposed method on various density estimation tasks as well as EBMs for regression. Our results show that the proposed method, while simpler to implement and tune, outperforms existing techniques.
format Preprint
id arxiv_https___arxiv_org_abs_2503_07021
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Learning Energy-Based Models by Self-normalising the Likelihood
Senetaire, Hugo
Jeha, Paul
Mattei, Pierre-Alexandre
Frellsen, Jes
Machine Learning
Training an energy-based model (EBM) with maximum likelihood is challenging due to the intractable normalisation constant. Traditional methods rely on expensive Markov chain Monte Carlo (MCMC) sampling to estimate the gradient of logartihm of the normalisation constant. We propose a novel objective called self-normalised log-likelihood (SNL) that introduces a single additional learnable parameter representing the normalisation constant compared to the regular log-likelihood. SNL is a lower bound of the log-likelihood, and its optimum corresponds to both the maximum likelihood estimate of the model parameters and the normalisation constant. We show that the SNL objective is concave in the model parameters for exponential family distributions. Unlike the regular log-likelihood, the SNL can be directly optimised using stochastic gradient techniques by sampling from a crude proposal distribution. We validate the effectiveness of our proposed method on various density estimation tasks as well as EBMs for regression. Our results show that the proposed method, while simpler to implement and tune, outperforms existing techniques.
title Learning Energy-Based Models by Self-normalising the Likelihood
topic Machine Learning
url https://arxiv.org/abs/2503.07021