Energy Discrepancies: A Score-Independent Loss for Energy-Based Models

Tobias Schröder, Zijing Ou, Jen Ning Lim, Yingzhen Li, Sebastian J. Vollmer +1 more
7/12/2023
stat.MLcs.LG

Official code: J-zin/energy-discrepancy (18 stars, last commit 2024-10-22).

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 ED approaches the explicit score matching and negative log-likelihood loss under different limits, effectively interpolating between both. Consequently, minimum ED 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.

View on arXivView PDF

Code Implementations(1)

NeurIPS'23: Energy Discrepancies: A Score-Independent Loss for Energy-Based Models

181Jupyter NotebookJul 12, 20231 years ago

Similar Papers

Cite this paper

@article{schrder2023energy,
  title  = {Energy Discrepancies: A Score-Independent Loss for Energy-Based Models},
  author = {Tobias Schröder and Zijing Ou and Jen Ning Lim and Yingzhen Li and Sebastian J. Vollmer and Andrew B. Duncan},
  year   = {2023},
  eprint = {2307.06431},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.06431v2},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.06431.svg)](https://codeofpaper.com/paper/2307.06431)

Discussion