SGLD
From the book
Chapter 18: Langevin Dynamics and Sampling. In the chapter mind map this icon labels SGLD: Mini-Batch Langevin, Bayesian Neural Networks. The discussion below is excerpted and lightly edited from § Stochastic Gradient Langevin Dynamics (SGLD) in Mathematics for AI and Machine Learning.
Langevin dynamics needs the gradient of the log-density at every iteration. When the target is a posterior over parameters given a large dataset, this gradient is a sum over all data points, expensive to compute in full and unavailable for streaming data. Stochastic Gradient Langevin Dynamics (SGLD) replaces it with a mini-batch estimate, the gradient on a random mini-batch rescaled to estimate the full sum; the mini-batch noise adds to the injected Langevin noise.
What this drawing shows
What you see. Mini-batch gradient (green) drives a noisy Langevin chain (purple); animation extends the sample path with drift (blue) plus noise (red) steps.
In the mind map. Chapter 18 — SGLD: Mini-Batch Langevin, Bayesian Neural Networks. See From the book above for definitions, figures, and worked examples.
Where to read next
Read the full definitions, figures, and worked examples in Chapter 18: Langevin Dynamics and Sampling — see the mind-map node SGLD: Mini-Batch Langevin, Bayesian Neural Networks.