Lune

NeurIPS2022Top-tier venue

Optimal Scaling for Locally Balanced Proposals in Discrete Spaces

Haoran Sun, Hanjun Dai, Dale Schuurmans

Abstract

Optimal scaling has been well studied for Metropolis-Hastings (M-H) algorithms in continuous spaces, but a similar understanding has been lacking in discrete spaces. Recently, a family of locally balanced proposals (LBP) for discrete spaces has been proved to be asymptotically optimal, but the question of optimal scaling has remained open. In this paper, we establish, for the first time, that the efficiency of M-H in discrete spaces can also be characterized by an asymptotic acceptance rate that is independent of the target distribution. Moreover, we verify, both theoretically and empirically, that the optimal acceptance rates for LBP and random walk Metropolis (RWM) are 0.5740.574 and 0.2340.234 respectively. These results also help establish that LBP is asymptotically O(N23)O(N^\frac{2}{3}) more efficient than RWM with respect to model dimension NN. Knowledge of the optimal acceptance rate allows one to automatically tune the neighborhood size of a proposal distribution in a discrete space, directly analogous to step-size control in continuous spaces. We demonstrate empirically that such adaptive M-H sampling can robustly improve sampling in a variety of target distributions in discrete spaces, including training deep energy based models.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Unlocking Guidance for Discrete State-Space Diffusion and Flow Models cites Revisiting Sampling for Combinatorial Optimization
  • Unlocking Guidance for Discrete State-Space Diffusion and Flow Models cites Oops I Took A Gradient: Scalable Sampling for Discrete Distributions
  • Revisiting Sampling for Combinatorial Optimization cites Path Auxiliary Proposal for MCMC in Discrete Space
  • Revisiting Sampling for Combinatorial Optimization cites Oops I Took A Gradient: Scalable Sampling for Discrete Distributions
  • Path Auxiliary Proposal for MCMC in Discrete Space cites Oops I Took A Gradient: Scalable Sampling for Discrete Distributions
  • Path Auxiliary Proposal for MCMC in Discrete Space cites Learning Discrete Energy-based Models via Auxiliary-variable Local Exploration
  • Principled Gradient-Based MCMC for Conditional Sampling of Text cites Oops I Took A Gradient: Scalable Sampling for Discrete Distributions
  • Energy-Based Modelling for Discrete and Mixed Data via Heat Equations on Structured Spaces cites Path Auxiliary Proposal for MCMC in Discrete Space
  • Energy-Based Modelling for Discrete and Mixed Data via Heat Equations on Structured Spaces cites Oops I Took A Gradient: Scalable Sampling for Discrete Distributions
  • Energy-Based Modelling for Discrete and Mixed Data via Heat Equations on Structured Spaces cites Learning Discrete Energy-based Models via Auxiliary-variable Local Exploration
  • Gradient-based Discrete Sampling with Automatic Cyclical Scheduling cites Path Auxiliary Proposal for MCMC in Discrete Space
  • Gradient-based Discrete Sampling with Automatic Cyclical Scheduling cites Oops I Took A Gradient: Scalable Sampling for Discrete Distributions
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Revisiting Sampling for Combinatorial OptimizationHaoran Sun, Katayoon Goshvadi, Azade Nova, Dale Schuurmans et al.ICML 2023 · 28 citations
  2. Gradient-based Discrete Sampling with Automatic Cyclical SchedulingPatrick Pynadath, Riddhiman Bhattacharya, Arun Hariharan, Ruqi ZhangNeurIPS 2024 · 10 citations
  3. Principled Gradient-Based MCMC for Conditional Sampling of TextLi Du, Afra Amini, Lucas Torroba Hennigen, Xinyan Velocity Yu et al.ICML 2024 · 6 citations
  4. Energy-Based Modelling for Discrete and Mixed Data via Heat Equations on Structured SpacesTobias Schröder, Zijing Ou, Yingzhen Li, Andrew B. DuncanNeurIPS 2024 · 5 citations
  5. Unlocking Guidance for Discrete State-Space Diffusion and Flow ModelsHunter Nisonoff, Junhao Xiong, Stephan Allenspach, Jennifer ListgartenICLR 2025

Builds on4

  1. Oops I Took A Gradient: Scalable Sampling for Discrete DistributionsWill Grathwohl, Kevin Swersky, Milad Hashemi, David Duvenaud et al.ICML 2021 · 113 citations
  2. Learning Discrete Energy-based Models via Auxiliary-variable Local ExplorationHanjun Dai, Rishabh Singh, Bo Dai, Charles Sutton et al.NeurIPS 2020 · 34 citations
  3. Path Auxiliary Proposal for MCMC in Discrete SpaceHaoran Sun, Hanjun Dai, Wei Xia, Arun RamamurthyICLR 2022 · 27 citations
  4. Entropy-based adaptive Hamiltonian Monte CarloMarcel Hirt, Michalis K. Titsias, Petros DellaportasNeurIPS 2021 · 11 citations

Related papers

  1. LSB: Local Self-Balancing MCMC in Discrete SpacesEmanuele SansoneICML 2022 · 10 citations
  2. A Langevin-like Sampler for Discrete DistributionsRuqi Zhang, Xingchao Liu, Qiang LiuICML 2022 · 51 citations
  3. Any-scale Balanced Samplers for Discrete SpaceHaoran Sun, Bo Dai, Charles Sutton, Dale Schuurmans et al.ICLR 2023
  4. Rapidly Mixing Multiple-try Metropolis Algorithms for Model Selection ProblemsHyunwoong Chang, Changwoo J. Lee, Zhao Tang Luo, Huiyan Sang et al.NeurIPS 2022 · 10 citations
  5. AutoStep: Locally adaptive involutive MCMCTiange Liu, Nikola Surjanovic, Miguel Biron-Lattes, Alexandre Bouchard-Côté et al.ICML 2025
Dusk over the sea between two cliffs drawn in fine vertical lines