analiza aiqbench
This research introduces a continuous-time effective model that accurately tracks weight oscillations and loss spikes during gradient descent in the Edge of Stability regime. By deriving a novel kinetic equation interpreted as a Wasserstein-2 gradient flow, the study provides a rigorous mathematical framework to monitor training dynamics where oscillation timescales match those of averaged weights. The approach offers a predictive tool for understanding non-vanishing oscillations in wide two-layer networks, validated through numerical experiments on matrix factorization and CIFAR-10.
Gradient descent at the Edge of Stability: free energy model and kinetic description of the two-layer network
arXiv:2606.05326v1 Announce Type: cross Abstract: We study the dynamics of gradient descent in the Edge of Stability regime, where the learning rate is large enough to induce persistent oscillations in the loss and the sharpness. We propose a continuous-time effective model that tracks the evolution of the average trajectory coupled with the time-averaged covariance of its fast oscillations. Our analysis reveals that the natural quantity to monitor in such unstable regimes is an effective free energy, which combines the original risk functional with a curvature-related "entropic" term. Our model allows us to track the envelope of the oscillations even in situations where its dynamics evolve on similar timescales as the averaged weights. Otherwise stated, we can track the spikes that occur during the training of some neural network architectures. For wide two-layer neural networks optimized under stable non-vanishing oscillations, we derive a mean-field limit that results in a novel kinetic equation describing the joint distribution of weights and their fluctuations. We show that this equation can be interpreted as a Wasserstein-2 gradient flow of a macroscopic free energy. Finally, we provide numerical evidence on matrix factorization and deep learning tasks (CIFAR-10) to demonstrate the model's accuracy in capturing the envelope of the oscillations and the predictive power of the effective free energy.
Abstract:We study the dynamics of gradient descent in the Edge of Stability regime, where the learning rate is large enough to induce persistent oscillations in the loss and the sharpness. We propose a continuous-time effective model that tracks the evolution of the average trajectory coupled with the time-averaged covariance of its fast oscillations. Our analysis reveals that the natural quantity to monitor in such unstable regimes is an effective free energy, which combines the original risk functional with a curvature-related "entropic" term. Our model allows us to track the envelope of the oscillations even in situations where its dynamics evolve on similar timescales as the averaged weights. Otherwise stated, we can track the spikes that occur during the training of some neural network architectures. For wide two-layer neural networks optimized under stable non-vanishing oscillations, we derive a mean-field limit that results in a novel kinetic equation describing the joint distribution of weights and their fluctuations. We show that this equation can be interpreted as a Wasserstein-2 gradient flow of a macroscopic free energy. Finally, we provide numerical evidence on matrix factorization and deep learning tasks (CIFAR-10) to demonstrate the model's accuracy in capturing the envelope of the oscillations and the predictive power of the effective free energy.
Comments are welcome!
Optimization and Control (math.OC); Artificial Intelligence (cs.AI); Machine Learning (cs.LG); Mathematical Physics (math-ph); Analysis of PDEs (math.AP)
arXiv:2606.05326 [math.OC]
(or arXiv:2606.05326v1 [math.OC] for this version)
https://doi.org/10.48550/arXiv.2606.05326 arXiv-issued DOI via DataCite (pending registration)
Text integral sub licența deschisă a publicației · 242 cuvinte
Subiecte conexe

News
Quantum Computing Report · 7 iun. 2026
The Multiple Timescales of Gradient Descent on the Edge of Stability: A Perturbative Derivation of the Central Flow
arXiv · 2 sept. 2026
Running Variational Quantum Eigensolver with Qiskit Aer on AMD Instinct
AMD · 29 mai 2026

Thermodynamics and Objects
LessWrong · 23 sept. 2026