English

A Langevin-like Sampler for Discrete Distributions

Machine Learning 2022-06-22 v1 Machine Learning

Abstract

We propose discrete Langevin proposal (DLP), a simple and scalable gradient-based proposal for sampling complex high-dimensional discrete distributions. In contrast to Gibbs sampling-based methods, DLP is able to update all coordinates in parallel in a single step and the magnitude of changes is controlled by a stepsize. This allows a cheap and efficient exploration in the space of high-dimensional and strongly correlated variables. We prove the efficiency of DLP by showing that the asymptotic bias of its stationary distribution is zero for log-quadratic distributions, and is small for distributions that are close to being log-quadratic. With DLP, we develop several variants of sampling algorithms, including unadjusted, Metropolis-adjusted, stochastic and preconditioned versions. DLP outperforms many popular alternatives on a wide variety of tasks, including Ising models, restricted Boltzmann machines, deep energy-based models, binary neural networks and language generation.

Keywords

Cite

@article{arxiv.2206.09914,
  title  = {A Langevin-like Sampler for Discrete Distributions},
  author = {Ruqi Zhang and Xingchao Liu and Qiang Liu},
  journal= {arXiv preprint arXiv:2206.09914},
  year   = {2022}
}

Comments

Published at ICML 2022

R2 v1 2026-06-24T11:57:33.109Z