TL;DR
The paper introduces MVN-Grad (Momentum on Variance-Normalized Gradients), a new Adam-style optimizer that fixes two fundamental design flaws in standard adaptive optimizers: temporal coupling and sign collapse. By tracking gradient variance instead of the second moment and applying momentum after normalization, MVN-Grad delivers smoother training, robust handling of gradient spikes, and superior generalization across vision and language tasks at the cost of just one extra state tensor.
What Problem Does This Paper Address?
Most deep learning practitioners default to Adam because of its empirical robustness. However, Adam suffers from two subtle structural limitations that can destabilize training or slow down convergence:
- Temporal Coupling ("Momentum-then-Normalize"): Adam divides its momentum buffer (which acts as a heavy memory of past gradients) by the current gradient's normalizer. If the normalizer suddenly dips during a quiet mini-batch while the momentum buffer still holds a large value from a past outlier, the update step can explode. This "cross-time" instability amplifies stale gradients and distorts the update direction.
- Sign Collapse ("Suboptimal Scaling"): Adam normalizes gradients using the uncentered second moment, which mixes the true signal with noise. In low-variance regimes (common late in training), the normalizer simply tracks the squared gradient magnitude. This causes the update to collapse into a basic coordinate-wise sign operation ($\pm 1$), discarding valuable gradient magnitude information and severely slowing down convergence.
While prior variants have tried to fix these issues individually (e.g., LaProp fixes the ordering; AdaBelief fixes the normalizer), they often trade one flaw for another.
Methods
MVN-Grad cleanly resolves both issues by completing a $2 \times 2$ design space across two orthogonal axes: normalizer choice and update ordering.
Momentum-then-Normalize Normalize-then-Momentum
+---------------------------+---------------------------+
Second Moment | Adam | LaProp |
+---------------------------+---------------------------+
Variance | AdaBelief | MVN-Grad |
+---------------------------+---------------------------+
Specifically, MVN-Grad implements two key changes:
- Variance-Based Normalization: It tracks the centered second moment ($s_t \approx \text{Var}(g_t)$) rather than the uncentered second moment ($v_t \approx \mathbb{E}[g_t^2]$). This isolates the noise level from the signal.
- Normalize-then-Momentum Ordering: It scales the current stochastic gradient by the variance proxy before passing it into the momentum buffer.
Mathematically, the core update step transforms from Adam's $\frac{\text{EMA}(g_t)}{\sqrt{\text{EMA}(g_t^2)}}$ to MVN-Grad's $\text{EMA}\left(\frac{g_t}{\sqrt{\text{Var}(g_t)}}\right)$.
Datasets
The authors evaluated MVN-Grad against Adam, AdaBelief, and LaProp using several standard benchmarks:
- MNIST: Used for toy-model verification and conditional variance diagnostics.
- CIFAR-100: Paired with a ResNet-18 architecture to test performance in different batch-size (noise) regimes.
- WikiText-103: A 30M-parameter GPT-2 style language model to evaluate performance under coupled weight decay.
- OpenWebText: A larger-scale 124M-parameter GPT-2 model to test scalability and decoupled weight decay.
Key Insights and Ideas
- Clipping Spikes at the Source: By normalizing the gradient before it enters the momentum buffer, isolated gradient spikes are clipped immediately. In Adam, a massive spike pollutes the momentum buffer and continues to disrupt updates for many steps.
- Preserving Magnitude Information: In high-signal (low-noise) regimes, variance normalization prevents the optimizer from degenerating into a conservative sign-based update. Instead, it scales deviations around the mean, preserving informative gradient magnitudes and avoiding dimension-dependent slowdowns.
- Lower Conditional Variance: The authors mathematically prove that applying momentum after normalization yields a strictly smaller one-step conditional update variance, leading to inherently smoother optimization paths.
Key Results
- Spike Robustness: Theoretical and empirical stress tests show that MVN-Grad maintains a uniformly bounded response to massive gradient spikes, whereas Adam exhibits spike-dependent growth.
- Vision (CIFAR-100): At a large batch size of 1024 (low-variance regime), MVN-Grad achieved the highest mean test accuracy of 79.63% (+0.29% over AdaBelief, and ~1.3% over Adam/LaProp), demonstrating excellent hyperparameter robustness.
- Language Modeling: On WikiText-103, MVN-Grad achieved the best validation perplexity (62.62 vs Adam's 64.50). On OpenWebText, it achieved the lowest validation loss (2.973), outperforming AdamW and LaPropW while showing significantly less sensitivity to the $\beta_1, \beta_2$ momentum hyperparameters.
Limitations and Future Work
- Memory Overhead: MVN-Grad requires tracking three full-size state tensors ($m_t, s_t, u_t$) per parameter, compared to Adam's two. This increases total parameter-sized storage from roughly $4\times$ to $5\times$ the model size. However, the authors note that wall-clock training time remains virtually identical to Adam.
- Theoretical Worst-Case Bound: The general nonconvex convergence proof carries an $\epsilon^{-1}$ penalty due to worst-case variance normalization behavior when the variance proxy shrinks close to zero.
- Future Directions: The authors suggest extending the theoretical analysis to heavy-tailed noise distributions and evaluating MVN-Grad on massive, multi-billion parameter pretraining runs.
Summary updated