Energy-Based Modelling for Discrete and Mixed Data via Heat Equations on Structured Spaces

Tobias Schröder, Zijing Ou, Yingzhen Li, Andrew B. Duncan
2/3/2026

No official code found. Best implementation: J-zin/discrete-energy-discrepancy (6 stars, last commit 2024-11-23).

Abstract

Energy-based models (EBMs) offer a flexible framework for probabilistic modelling across various data domains. However, training EBMs on data in discrete or mixed state spaces poses significant challenges due to the lack of robust and fast sampling methods. In this work, we propose to train discrete EBMs with Energy Discrepancy, a loss function which only requires the evaluation of the energy function at data points and their perturbed counterparts, thus eliminating the need for Markov chain Monte Carlo. We introduce perturbations of the data distribution by simulating a diffusion process on the discrete state space endowed with a graph structure. This allows us to inform the choice of perturbation from the structure of the modelled discrete variable, while the continuous time parameter enables fine-grained control of the perturbation. Empirically, we demonstrate the efficacy of the proposed approaches in a wide range of applications, including the estimation of discrete densities with non-binary vocabulary and binary image modelling. Finally, we train EBMs on tabular data sets with applications in synthetic data generation and calibrated classification.

View on arXivView PDF

Code Implementations(1)

NeurIPS'24: Energy-Based Modelling for Discrete and Mixed Data via Heat Equations on Structured Spaces

60Jul 12, 20231 years ago

Similar Papers

Cite this paper

@article{schrder2026energybased,
  title  = {Energy-Based Modelling for Discrete and Mixed Data via Heat Equations on Structured Spaces},
  author = {Tobias Schröder and Zijing Ou and Yingzhen Li and Andrew B. Duncan},
  year   = {2026},
  eprint = {2412.01019},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2412.01019},
  url    = {https://arxiv.org/abs/2412.01019},
  journal = {NEURIPS 2024 2024}
}

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/2412.01019.svg)](https://codeofpaper.com/paper/2412.01019)

Discussion