Stein Variational Gradient Descent (SVGD) for SWMM5
SVGD SWMM5 Calibration Explorer
Stein Variational Gradient Descent over a 2-parameter posterior: Manning’s n vs. subcatchment width. Particles transport toward the target; a kernel repulsion term preserves diversity — the equifinality story made visible.
0 = median heuristic. Higher = stronger spread / more repulsion.
Higher σ → broader, flatter posterior → more uncertainty.
Couples n and width so many (n, width) pairs fit equally well — the classic non-identifiability in rainfall-runoff calibration.
Parameter space — posterior + particle cloud
The update being applied each iteration
First term is an attraction toward high posterior density (the calibration gradient); the second is a repulsion from the RBF kernel that stops the cloud collapsing to one mode. Together they minimize KL divergence to the target. Here log p is a synthetic SWMM5-style calibration surface — in practice you’d swap in a surrogate-accelerated SWMM5 likelihood.