Hostname: page-component-76d6cb85b7-dqfph Total loading time: 0 Render date: 2026-07-10T08:49:27.290Z Has data issue: false hasContentIssue false

No free lunch for stochastic gradient Langevin dynamics

Published online by Cambridge University Press:  15 June 2026

Natesh Pillai*
Affiliation:
Harvard University
Aaron Smith*
Affiliation:
University of Ottawa
Azeem Zaman*
Affiliation:
Harvard University
*
*Postal address: Department of Statistics, Harvard University, 33 Oxford Street, Cambridge, MA, USA.
***Postal address: Department of Mathematics and Statistics, University of Ottawa, 150 Louis Pasteur, Ottawa, ON, Canada. Email address: asmi28@uottaw.aca
*Postal address: Department of Statistics, Harvard University, 33 Oxford Street, Cambridge, MA, USA.
Rights & Permissions [Opens in a new window]

Abstract

As sample sizes grow, scalability has become a central concern in the development of Markov chain Monte Carlo (MCMC) methods. One general approach to this problem, exemplified by the popular stochastic gradient Langevin dynamics (SGLD) algorithm, is to use a small random subsample of the data at every time step. This paper shows that this approach often fails: while decreasing the sample size increases the speed of each MCMC step, for typical datasets this is balanced by a matching decrease in accuracy. This result complements recent work on lower bounds for subsampling MCMC by focusing on actual errors for SGLD, including non-reversible algorithms, and by giving assumptions that are comparatively easy to verify.

Information

Type
Original Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2026. Published by Cambridge University Press on behalf of Applied Probability Trust
Figure 0

Algorithm 1: Sampling with explicit randomness.