Stochastic Gradient Discrete Langevin Dynamics

Haoran Sun, Bethany Yixin Wang, Katayoon Goshvadi, Yuan Xue, Dale Schuurmans, Hanjun DaiOpenReview 2024 · Submission to ICLR 2024 · Rejected

Abstract

Sampling via Markov chain Monte Carlo can be inefficient when each evaluation of the gradient of energy function depends on a large dataset. In continuous spaces, this challenge has been addressed by extending Langevin samplers with stochastic gradient estimators. However, such an approach cannot be directly applied to discrete spaces, as a naive migration leads to biased estimation with large variance. To fill this gap, we propose a new sampling strategy, \emph{Stochastic Gradient Discrete Langevin Dynamics}, to provide the first practical method for stochastic distribution sampling in discrete spaces. Our approach mitigates the bias of naive ``gradient'' estimators via a novel caching scheme, and reduces the estimation variance by introducing a modified Polyak step size control for simulation time adaptation. We demonstrate significant efficiency improvements across various sampling problems in discrete spaces, including Bayesian learning, stochastic integer programming, and prompt tuning for text-image models.
BibTeX
@misc{sun2024stochastic,
  author = {Haoran Sun and Bethany Yixin Wang and Katayoon Goshvadi and Yuan Xue and Dale Schuurmans and Hanjun Dai},
  title = {{Stochastic Gradient Discrete Langevin Dynamics}},
  year = {2024},
  url = {https://openreview.net/forum?id=0gDQgwjoX0},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2024},
}

Loading related content...

Figure