MCP
arXivarXiv
Preprint
Published: May 25, 2025
cs.LG
v2
NeurIPS 2025 · Spotlight

Temperature is All You Need for Generalization in Langevin Dynamics and other Markov Processes

Abstract
We analyze the generalization gap (gap between the training and test errors) when training a potentially over-parametrized model using a Markovian stochastic training algorithm, initialized from some distribution I^¸0imp0θ_0 im p_0. We focus on Langevin dynamics with a positive temperature β^{-1}, i.e. gradient descent on a training loss LL with infinitesimal step size, perturbed with β^{-1}-variances Gaussian noise, and lightly regularized or bounded. There, we bound the generalization gap, at any time during training, by qrt(I^2EL(I^¸0)+log⁡(1/I^´))/N qrt{(β\mathbb{E} L (θ_0) + \log(1/δ))/N} with probability 1−I^´1-δ over the dataset, where NN is the sample size, and EL(I^¸0)=O(1)\mathbb{E} L (θ_0) =O(1) with standard initialization scaling. In contrast to previous guarantees, we have no dependence on either training time or reliance on mixing, nor a dependence on dimensionality, gradient norms, or any other properties of the loss or model. This guarantee follows from a general analysis of any Markov process-based training that has a Gibbs-style stationary distribution. The proof is surprisingly simple, once we observe that the marginal distribution divergence from initialization remains bounded, as implied by a generalized second law of thermodynamics.
0
AI overview
Reviews
Citation graph
Structured
This paper does not have an AI preview yet
Links
arXiv
arXiv
↗
PDF
↗
OpenReview
OpenReview version on PaperPulse
›
Rating
No ratings yet
Rate
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first