The True Cost of Stochastic Gradient Langevin Dynamics
Not on the map. Why?
Abstract (arXiv)
The problem of posterior inference is central to Bayesian statistics and a wealth of Markov Chain Monte Carlo (MCMC) methods have been proposed to obtain asymptotically correct samples from the posterior. As datasets in applications grow larger and larger, scalability has emerged as a central problem for MCMC methods. Stochastic Gradient Langevin Dynamics (SGLD) and related stochastic gradient Markov Chain Monte Carlo methods offer scalability by using stochastic gradients in each step of the simulated dynamics. While these methods are asymptotically unbiased if the stepsizes are reduced in an appropriate fashion, in practice constant stepsizes are used. This introduces a bias that is often ignored. In this paper we study the mean squared error of Lipschitz functionals in strongly log- concave models with i.i.d. data of growing data set size and show that, given a batchsize, to control the bias of SGLD the stepsize has to be chosen so small that the computational cost of reaching a target accuracy is roughly the same for all batchsizes. Using a control variate approach, the cost can be reduced dramatically. The analysis is performed by considering the algorithms as noisy discretisations of the Langevin SDE which correspond to the Euler method if the full data set is used. An important observation is that the 1scale of the step size is determined by the stability criterion if the accuracy is required for consistent credible intervals. Experimental results confirm our theoretical findings.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). First posted on arXiv 8 Jun 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 3; 2023: 3; 2024: 2; 2025: 1; 2026: 1.
11 papers.
- 2022Bayesian inference via sparse Hamiltonian flowscited by 12
- 2022Fast Bayesian Coresets via Subsampling and Quasi-Newton Refinementcited by 9
- 2022Tuning Stochastic Gradient Algorithms for Statistical Inference via Large-Sample Asymptoticscited by 4
- 2023Bayesian Pseudo-Coresets via Contrastive Divergencecited by 4
- 2023Machine Learning and the Future of Bayesian Computationcited by 4
- 2024General bounds on the quality of Bayesian coresetscited by 2
- 2025Random Reshuffling for Stochastic Gradient Langevin Dynamicscited by 2
- 2026Improved Guarantees for Langevin Monte Carlo with Average Smoothnesscited by 2
- 2021Quantifying the mini-batching error in Bayesian inference for Adaptive Langevin dynamicscited by 1
- 2023Piecewise Deterministic Markov Processes for Bayesian Neural Networkscited by 0
- 2024Scalable Monte Carlo for Bayesian Learningcited by 0
- 2026Improved Guarantees for Langevin Monte Carlo with Average Smoothness29 May 2026
- 2025Random Reshuffling for Stochastic Gradient Langevin Dynamics27 Jan 2025
- 2024Scalable Monte Carlo for Bayesian Learning17 Jul 2024
- 2024General bounds on the quality of Bayesian coresets20 May 2024
- 2023Machine Learning and the Future of Bayesian Computation21 Apr 2023
- 2023Bayesian Pseudo-Coresets via Contrastive Divergence20 Mar 2023
- 2023Piecewise Deterministic Markov Processes for Bayesian Neural Networks17 Feb 2023
- 2022Tuning Stochastic Gradient Algorithms for Statistical Inference via Large-Sample Asymptotics25 Jul 2022
- 2022Fast Bayesian Coresets via Subsampling and Quasi-Newton Refinement18 Mar 2022
- 2022Bayesian inference via sparse Hamiltonian flows11 Mar 2022
- 2021Quantifying the mini-batching error in Bayesian inference for Adaptive Langevin dynamics21 May 2021