Lune

ICML2022Top-tier venue

A Langevin-like Sampler for Discrete Distributions

Ruqi Zhang, Xingchao Liu, Qiang Liu

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.

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.

26 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

  • Revisiting Sampling for Combinatorial Optimization cites Oops I Took A Gradient: Scalable Sampling for Discrete Distributions
  • Oops I Took A Gradient: Scalable Sampling for Discrete Distributions cites Your classifier is secretly an energy based model and you should treat it like one
  • BayesDAG: Gradient-Based Posterior Inference for Causal Discovery cites Oops I Took A Gradient: Scalable Sampling for Discrete Distributions
  • Generative Flow Networks for Discrete Probabilistic Modeling cites Oops I Took A Gradient: Scalable Sampling for Discrete Distributions
  • Automatically Auditing Large Language Models via Discrete Optimization 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 papers26

  1. Automatically Auditing Large Language Models via Discrete OptimizationErik Jones, Anca D. Dragan, Aditi Raghunathan, Jacob SteinhardtICML 2023 · 232 citations
  2. Generative Flow Networks for Discrete Probabilistic ModelingDinghuai Zhang, Nikolay Malkin, Zhen Liu, Alexandra Volokhova et al.ICML 2022 · 131 citations
  3. BayesDAG: Gradient-Based Posterior Inference for Causal DiscoveryYashas Annadani, Nick Pawlowski, Joel Jennings, Stefan Bauer et al.NeurIPS 2023 · 54 citations
  4. Revisiting Sampling for Combinatorial OptimizationHaoran Sun, Katayoon Goshvadi, Azade Nova, Dale Schuurmans et al.ICML 2023 · 28 citations
  5. Alleviating Adversarial Attacks on Variational Autoencoders with MCMCAnna Kuzina, Max Welling, Jakub M. TomczakNeurIPS 2022 · 16 citations

Builds on9

  1. Your classifier is secretly an energy based model and you should treat it like oneWill Grathwohl, Kuan-Chieh Wang, Jörn-Henrik Jacobsen, David Duvenaud et al.ICLR 2020 · 643 citations
  2. Cyclical Stochastic Gradient MCMC for Bayesian Deep LearningRuqi Zhang, Chunyuan Li, Jianyi Zhang, Changyou Chen et al.ICLR 2020 · 292 citations
  3. Understanding Knowledge Distillation in Non-autoregressive Machine TranslationChunting Zhou, Jiatao Gu, Graham NeubigICLR 2020 · 235 citations
  4. Generative Flow Networks for Discrete Probabilistic ModelingDinghuai Zhang, Nikolay Malkin, Zhen Liu, Alexandra Volokhova et al.ICML 2022 · 131 citations
  5. Oops I Took A Gradient: Scalable Sampling for Discrete DistributionsWill Grathwohl, Kevin Swersky, Milad Hashemi, David Duvenaud et al.ICML 2021 · 113 citations

Related papers

  1. Optimal Scaling for Locally Balanced Proposals in Discrete SpacesHaoran Sun, Hanjun Dai, Dale SchuurmansNeurIPS 2022 · 14 citations
  2. Exploring Non-Convex Discrete Energy Landscapes: An Efficient Langevin-Like Sampler with Replica ExchangeHaoyang Zheng, Hengrong Du, Ruqi Zhang, Guang LinAAAI 2026
  3. Optimal Underdamped Langevin MCMC MethodZhengmian Hu, Feihu Huang, Heng HuangNeurIPS 2021 · 5 citations
  4. LSB: Local Self-Balancing MCMC in Discrete SpacesEmanuele SansoneICML 2022 · 10 citations
  5. Gradient-based Discrete Sampling with Automatic Cyclical SchedulingPatrick Pynadath, Riddhiman Bhattacharya, Arun Hariharan, Ruqi ZhangNeurIPS 2024 · 10 citations
Dusk over the sea between two cliffs drawn in fine vertical lines