0

Avoiding unsafe sets when training with Langevin Dynamics

Training a model with noisy gradient descent can be idealized as overdamped Langevin dynamics on the loss landscape, and a natural safety question is to bound the probability $ν_t(\mathcal{A}_H) = \mathbb{P}(Q_t \in \mathcal{A}_H)$ that the trajectory lies in a designated…

Preview
Year
2026
Hosting
Abstract onlyARXIV-DEFAULT

Cite

Notes

Only stored in your browser.

Attribution

Abstract & full text
arxiv.org/abs/2607.07538ARXIV-DEFAULT
TL;DR
Semantic Scholar
Attribution policy →

Abstract

Training a model with noisy gradient descent can be idealized as overdamped Langevin dynamics on the loss landscape, and a natural safety question is to bound the probability ν_t(A_H) = \mathbb{P}(Q_t \in A_H) that the trajectory lies in a designated failure region A_H. We study this for a smooth, strongly convex loss in d dimensions and a failure region separated from the minimizer by an energy gap. Three bounds emerge. At the end of training, the equilibrium mass π(A_H) is exponentially small in d, with a complementary energy-barrier rate when the noise is small. Along the trajectory, a shape-free bound ν_t(A_H) \le π(A_H)(1 + \sqrt{χ_0^2/π(A_H)},e^{-mt}) shows that the in-set probability relaxes to (twice) the static value after a burn-in time of order d, using only the global spectral gap m of the loss. A worked Ornstein-Uhlenbeck example shows this burn-in is necessary: an angular slice of the equilibrium shell can transiently swell by a factor exponential in d, even though its equilibrium mass is tiny. To rule such swelling out we introduce a local relaxation rate attached to the failure region, defined through the spectral measure of its centered indicator rather than a Dirichlet-form Rayleigh quotient. For geometrically isolated regions this rate exceeds the global one, shrinking the burn-in proportionally, and combined with a maximum-principle ceiling it caps the trajectory probability uniformly in time. The picture is that strong convexity sets how fast training relaxes, but the shape of the unsafe set decides whether the trajectory bulges through it on the way home.