Scale invariant optimization shows sharp stability boundary with weight decay
When Does Scale-Invariant Optimization Become Unstable? An Exact Schedule Law with Weight Decay
Machine Learning
Summary
Training certain parts of neural networks becomes tricky because their behavior doesn’t change when you scale the weights, but the combination of learning rates and weight decay affects how stable the training is. The authors discovered a precise mathematical rule that predicts when this training is stable or unstable. They found that at a critical point, the system becomes unstable, causing the training behavior to keep repeating instead of settling down. This rule works across different types of networks and optimization methods, helping engineers better control training by adjusting a single key value.
What this means in practice
- •For machine learning engineers: Control neural network training stability by adjusting learning rates and weight decay using the discovered scalar rule to avoid unstable training regions.
- •For deep learning framework developers: Implement training routines that monitor and adjust optimization parameters in real time following the exact schedule law to enhance optimizer stability under normalization.
Authors
Hasan Amin, Wei-Kai Chang, Rajiv Khanna
Abstract
Normalization renders large parts of neural networks effectively scale invariant, inducing a hidden feedback loop in which learning-rate schedules and weight decay interact through the parameter norm to control the effective step taken by the optimizer. We show that this interaction is governed by an exact discrete-time law: a single scalar quantity captures all schedule and decay forcing, while norm growth induces an opposing geometric self-quenching effect. This yields a sharp boundary that cleanly separates contraction- and expansion-dominated effective learning rate regimes. To understand the underlying mechanism, we provide exact analysis of a fully solved normalized regression model where the dynamics reduce to two dimensions and show that the balance point is intrinsically unstable, implying that constant learning rate with weight decay cannot stably maintain an interior equilibrium and instead produces recurrent behavior driven by discrete-time Jacobian structure. We further extend this perspective across optimizers through unified homogeneous-optimizer framework that reveals a structural dichotomy in self-quenching strength, providing a first-principles explanation for why adaptive methods exhibit systematically weaker stabilization under normalization. Across dynamical systems and neural networks (MLP, CNN, GPT2 / MNIST, CIFAR, wikiText, OpenWebText), the predicted law holds with high precision and enables direct control of training via the identified scalar, with performance peaking sharply at the predicted boundary. Together, these results isolate a single governing quantity for scale-invariant optimization, providing a precise and actionable lens on training dynamics, optimizer behavior, and schedule design in modern deep learning. Code is available in https://github.com/shasanamin/normalized-optimization-dynamics.