Indexed metadata

On the computational cost of Stochastic Gradient Langevin Dynamics

Mateusz B. Majka, Tigran Nagapetyan, Łukasz Szpruch, Yue Wu, Danqi Zhuang

Source record

Source: arXiv

Published: Sep 15, 2026

arXiv: 2609.17750

Open original source ↗

Source abstract

Stochastic Gradient Langevin Dynamics (SGLD) reduces the cost of Langevin-based sampling by replacing full-dataset drift evaluations with mini-batch approximations, but the resulting subsampling error may offset this computational saving. We study this trade-off for stochastic differential equations with finite-sum drifts and compare the computational cost of SGLD with that of the Euler-Maruyama (EM) method. For a prescribed mean-square accuracy ε2\varepsilon^2, we derive complexity estimates that explicitly track the dependence on the dataset size mm, mini-batch size ss, and accuracy parameter ε\varepsilon. The resulting comparison reveals distinct parameter regimes in which either method is preferable. In particular, EM can have lower leading-order cost only in a small-data, aggressive-subsampling regime, whereas SGLD is favoured over most of the remaining parameter space. In the practically relevant regime s≪ms \ll m, the transition between the two methods occurs at the scale m≍ε−1m \asymp \varepsilon^{-1}. We complement the theoretical analysis with numerical experiments based on a Gaussian Bayesian inference model, which examine the predicted cost regimes together with the underlying discretisation error and variance estimates.

Evidence graph

No public relationships recorded yet.

Integrity note: This page is a factual metadata record created by deterministic ingestion. It is not a claim that the work moves a mathematical frontier or has been independently verified.

On the computational cost of Stochastic Gradient Langevin Dynamics — Mathematical Frontier Network