Diffusion Processes
Continuous Markov paths with drift plus noise. Their generators, time scales and stationary laws decide how fast samplers mix and how diffusion models noise data.
Why Does This Exist?
Langevin sampling, diffusion noising and stochastic optimisation all run diffusions with potential shaping the landscape. Practitioners set step counts, noise scales and temperatures by feel. Without mixing theory those choices are blind: too few steps leave bias, too many waste compute, wrong temperature targets the wrong law.
Diffusion process theory gives the dials. The generator encodes local motion, the stationary density is proportional to , and curvature (convexity of ) sets exponential contraction rates. Coupling arguments turn curvature into wall-clock mixing times. Stochastic differential equations define the paths; Fokker-Planck tracks their densities; here the focus is long-run behaviour samplers live on.
Prerequisite in one paragraph. You need the Markov property (future depends only on now) and the stationary density . Strong convexity means curves upward at least quadratically. Background is in Markov chains and Brownian motion.
Think of It Like This
Two leaves in a funnel with shaking
Drop two leaves on opposite rims of a funnel and shake the table. Both slide down, jitter sideways, and soon swirl together at the neck. After merging they move jointly: same region, same spread, past starts forgotten. Steeper funnels merge faster; flat trays never merge.
Diffusions couple the same way. Drift funnels paths together, noise shakes them, and curvature is steepness. The merged law is stationarity; the merge time is mixing.
Where the analogy stops: leaves collide physically while couplings are mathematical joint constructions. Multimodal potentials are multi-funnel trays where crossings take exponential time, which one funnel hides.
How It Actually Works
Langevin diffusion has stationary and generator giving expected local change. If is -strongly convex, two coupled paths with shared noise contract as . Distance halves every units.
Worked example
Take so (standard Gaussian target). Starts at and sit apart. Contraction gives RMS gap : at , ; at , , inside the stationary standard deviation . Halving time units, diagram . By the starts are forgotten and both paths wander in jointly. Discretised Langevin with step needs about steps to mirror this, the sampler budget the theory predicts.
A double-well with barrier instead mixes in about units: same SDE form, exponentially slower from multimodality.
Watch Out For
Assuming convexity mixing on multimodal targets
The rate needs global strong convexity. Mixture targets with separated modes mix by rare barrier crossings, not contraction. Quoting halving on a two-moon posterior promises -step mixing while true runs need millions.
Fix: check modality first. Multimodal targets need tempering, mode-hopping or exponential-time honesty.
Confusing stationary with converged at finite time
Stationary is the infinite-time limit. At with gap the law is still far from and sampler averages carry transient bias. Reporting them as stationary samples understates error.
Fix: burn past several halving times (here units) before collecting. Diagnose with coupled gaps, not eyeballed traces.
The Quick Version
- Langevin diffusions target with generator tracking local expected change.
- Strong convexity halves coupled distances every units; opposite starts merge by units.
- Discretised runs need about 200 steps of to mirror that mixing.
- Multimodal barriers replace contraction with exponential crossing times near units at barrier .
- Burn past several halving times before treating draws as stationary.