Summary of: "When Does Scale-Invariant Optimization Become Unstable? An Exact Schedule Law with Weight Decay"
Summary (Overview)
-
Exact discrete-time law: The paper derives an exact recurrence for the effective directional stepsize in scale-invariant optimization blocks: , where is a single scalar capturing all schedule and weight-decay forcing, and the denominator represents geometric self-quenching from norm growth.
-
Sharp contraction/expansion boundary: When , the effective stepsize contracts unconditionally; when , contraction requires sufficient self-quenching (). This boundary is shown to be the same surface governing the fixed-point structure of a fully solved normalized-linear model.
-
Intrinsic instability: In an exactly solvable isotropic normalized-linear model, the dynamics reduce to a 2D map whose unique interior balance point is an unstable spiral source (eigenvalue modulus ), with an exact period-two orbit on the sphere. This proves that recurrent behavior under constant learning rate with weight decay is a structural consequence of discrete-time geometry, not stochasticity.
-
Unified optimizer framework: A homogeneous-optimizer classification reveals that SGD/SGDM have homogeneity degree (quadratic self-quenching), while Adam has (linear self-quenching), providing a first-principles explanation for why adaptive methods are systematically more expansion-prone under normalization.
-
Causal control demonstrated: Directly enforcing via synthesized learning-rate schedules produces a sharply peaked accuracy curve with optimal performance at ; a perturbation causes a >20 point accuracy drop on CIFAR-10.
Introduction and Theoretical Foundation
Normalization layers (BatchNorm, LayerNorm, etc.) induce positive scale invariance in neural network parameter blocks: the loss depends only on the direction , not the magnitude. This symmetry fundamentally alters optimization dynamics. Rather than directly controlling progress, the parameter norm interacts with the learning rate to determine an effective directional stepsize, typically scaling as .
The central feedback loop: gradient updates tend to increase the norm (suppressing effective stepsize), while weight decay and learning-rate schedules counteract this (shrinking norm or amplifying nominal step size). Prior work has offered:
- Equilibrium/mixing views: effective rate stabilizes [16, 22, 23, 30]
- Periodic destabilization: under constant schedules [24]
- Regime-based analyses: from convergence to chaos on the sphere [14]
The unresolved question: What is the exact, per-step law governing this feedback loop under arbitrary schedules?
Key Theoretical Setup
For a scale-invariant block with SGD + coupled weight decay:
Using polar decomposition , scale invariance implies the rescaled gradient is independent of and tangent to the sphere ().
Methodology
Theorem 2.1 (Exact Schedule Law)
Defining the effective directional stepsize and schedule factor:
The dynamics decompose into:
- Polar dynamics: and
- Exact recurrence:
- Contraction criterion: If , unconditionally; if , contraction iff
The identity is purely algebraic—no linearization, no continuous-time limit, no assumptions beyond scale invariance—and holds under arbitrary time-varying schedules and stochasticity.
Stochastic Extension (Theorem 2.3)
With , , :
- Exact conditional drift:
- Martingale decomposition: where is a martingale-difference sequence
- Concentration bound (under sub-Gaussian increments): with probability ,
Solved Model (Theorem 3.4)
For isotropic covariance () with constant schedule, the full high-dimensional dynamics collapse to a 2D map:
Fixed point: , —which lies exactly on the switching surface .
Period-two orbit: for any unit , satisfying .
Instability: The Jacobian has complex-conjugate eigenvalues with modulus , making the fixed point an unstable spiral source.
Homogeneous-Optimizer Framework (Theorem 4.1)
For updates where for homogeneity degree :
Defining and :
The denominator exponent quantifies self-quenching strength: larger = stronger suppression.
- SGD: (quadratic self-quenching)
- SGDM: with one extra vector (momentum), introducing a radial amplification channel
- Adam: (linear self-quenching), with preconditioning inducing nonzero radial components
Empirical Validation / Results
Exact-Map Validation
- Recurrence residual (float64 machine precision)
- Constant schedules () sustain recurrence; step decay produces single-step contraction shocks; cosine decay sweeps smoothly across the boundary
Neural Network Validation
- BN MLP (MNIST) and BN ConvNet (CIFAR-10): expansion fraction closely tracks across schedules
- Recurrence residual (float32 precision)
Target- Intervention (Causal Control)
Synthesizing schedules that enforce :
Key result: Performance peaks sharply at ; a perturbation causes >20 point accuracy drop on CIFAR-10.
Optimizer Mechanisms
| Mechanism | Finding |
|---|---|
| SGDM radial amplification | Expansion rate: 0.994 when vs. 0.56 when |
| Adam ε-continuity | Smooth convergence to exact law as |
| Denominator exponent | Clean separation: (SGD/SGDM) vs. (Adam) |
Architecture Stress Test (LayerNorm Transformers)
- GPT2-small (4-block, ) on WikiText and GPT2 (12-block, ) on OpenWebText
- Median ratio residual: for SGD/SGDM
- Constant/step schedules sustain expansion fractions of 0.999–1.000; cosine drives them to
- Adam shows intermediate expansion (0.44–0.49) under constant/step, suppressed under cosine (0.033 on WikiText, 0.095 on OpenWebText)
Theoretical and Practical Implications
Theoretical Implications
-
Unification of existing observations: Equilibrium, oscillation, and regime-based perspectives are unified under a single exact law; the switching surface reappears as both the local contraction boundary and the global fixed-point condition.
-
Discrete-time geometry is fundamental: The spiral-source instability shows that recurrent behavior under constant schedules is intrinsic to discrete-time scale-invariant optimization, not an artifact of stochasticity or continuous-time approximation.
-
Optimizer classification principle: The homogeneity degree provides a first-principles taxonomy of optimizers, explaining why adaptive methods (Adam, ) are systematically more expansion-prone than gradient methods (SGD/SGDM, ).
Practical Implications
-
as a control coordinate: Directly controlling enables precise schedule design; optimal performance occurs at the predicted boundary .
-
Operational diagnostics: The contraction condition can be evaluated after the backward pass and before the update, enabling real-time monitoring and intervention.
-
Schedule interpretation: Common schedules correspond to structured trajectories of :
- Constant LR + weight decay → sustained expansion pressure ()
- Step decay → transient contraction shocks
- Cosine decay → smooth sweep across the boundary
Conclusion
This paper establishes that scale-invariant optimization is governed by a single scalar quantity that captures all schedule and weight-decay forcing, balanced against geometric self-quenching. The exact recurrence holds to machine precision across dynamical systems, neural networks (MLP, CNN, GPT2), and optimizers (SGD, SGDM, Adam).
Key takeaways:
- The effective stepsize in normalized networks is endogenous—it evolves according to an exact discrete-time law that separates schedule forcing from geometric response
- The balance point between forcing and self-quenching is intrinsically unstable in discrete time, producing persistent recurrent behavior under constant schedules
- Optimizer stability under normalization is determined by a single homogeneity exponent : adaptive methods are structurally weaker in self-quenching
- serves as both a diagnostic and a causal control coordinate for training dynamics
Future directions: Extension to decoupled weight decay (which lacks explicit closed-form solutions), and deeper analysis of the interaction between stochastic noise accumulation and the near-critical band near the switching surface.
Related papers
- A Structural Proof of the Lower Bound 21 for $3\times3$ Matrix Multiplication over $\mathbb F_2$
The tensor rank of 3x3 matrix multiplication over the binary field is at least 21, proven via a novel saturation argument and fully verified in Lean.
- The Economics of Recursive Self-Improvement
A formal elasticity framework shows current AI feedback loops fall below the self-sustaining acceleration threshold, though trends suggest it may soon be crossed.
- Musec: MomentUm SpEctral Clipping for Stable Muon-type Training
Musec replaces Muon's spectral flattening with spectral clipping, achieving the first convergence guarantees for Muon-type optimizers in nonconvex nonsmooth settings with optimal complexity while stabilizing training across learning rates.