Adaptive Momentum and Nonlinear Damping for Neural Network Training
Aikaterini Karoni, Rajit Rajpal, Benedict Leimkuhler, Gabriel Stoltz
TL;DR
This work reframes momentum-based optimization as a coordinate-wise dissipative process by introducing per-parameter adaptive friction and cubic damping. The authors propose iKFAD, Cubically Damped mSGD (CD), and CADAM, with iKFAD incorporating an adaptive friction state $\xi$ that tracks kinetic energy and induces a cubically damped momentum regime when near equilibrium. They prove exponential convergence for the continuous-time dynamics of iKFAD and CD and show discrete-time convergence for small step sizes, then validate the methods on Vision and language models, demonstrating robustness to learning-rate choices and achieving performance competitive with or surpassing Adam while bridging the Adam–mSGD gap. The results suggest a practical, memory-light approach to stabilize and speed training of transformers and related architectures, with opportunities to extend theory for CADAM and scale to larger models.
Abstract
We propose a continuous-time scheme for large-scale optimization that introduces individual, adaptive momentum coefficients regulated by the kinetic energy of each model parameter. This approach automatically adjusts to local landscape curvature to maintain stability without sacrificing convergence speed. We demonstrate that our adaptive friction can be related to cubic damping, a suppression mechanism from structural dynamics. Furthermore, we introduce two specific optimization schemes by augmenting the continuous dynamics of mSGD and Adam with a cubic damping term. Empirically, our methods demonstrate robustness and match or outperform Adam on training ViT, BERT, and GPT2 tasks where mSGD typically struggles. We further provide theoretical results establishing the exponential convergence of the proposed schemes.
