Reproduce “A Langevin-like Sampler for Discrete Distributions” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Ruqi Zhang, Xingchao Liu, Qiang Liu

The authors introduce discrete Langevin proposals that use log-probability gradients to construct coordinatewise categorical updates sampled in parallel. A stepsize controls proposed changes; DMALA adds a Metropolis–Hastings correction. In a 5-by-5 Ising test, DMALA changed six coordinates on average with 52% acceptance, versus 43% for GWG-6, at six times DMALA’s per-step cost. These findings are specific to that setting.

Key insights

  • Defining the proposal's normalizing constant over the discrete domain leads to a coordinate-wise factorized proposal, enabling parallel updates with linear computational cost.
  • The inclusion of a 'stepsize term' in the proposal is crucial for controlling the closeness of proposed states and ensuring desirable Metropolis-Hastings acceptance probabilities.
  • DLP's theoretical analysis shows asymptotic convergence for log-quadratic and near log-quadratic distributions, with an exponentially decreasing bias as the stepsize approaches zero.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.