[Paper Review] A Loss Curvature Perspective on Training Instability in Deep Learning
This paper investigates training instability in deep learning through the lens of loss curvature, showing that successful model architectures and training heuristics—such as weight initialization, normalization, gradient clipping, and learning rate warmup—stabilize training by keeping the largest eigenvalue of the loss Hessian ($\lambda_1$) below $2/\eta$, where $\eta$ is the learning rate. The key contribution is a unifying perspective: these diverse methods all mitigate the same underlying failure mode—poor conditioning of the loss landscape—by guiding optimization into flatter, more stable regions early in training.
In this work, we study the evolution of the loss Hessian across many classification tasks in order to understand the effect the curvature of the loss has on the training dynamics. Whereas prior work has focused on how different learning rates affect the loss Hessian observed during training, we also analyze the effects of model initialization, architectural choices, and common training heuristics such as gradient clipping and learning rate warmup. Our results demonstrate that successful model and hyperparameter choices allow the early optimization trajectory to either avoid -- or navigate out of -- regions of high curvature and into flatter regions that tolerate a higher learning rate. Our results suggest a unifying perspective on how disparate mitigation strategies for training instability ultimately address the same underlying failure mode of neural network optimization, namely poor conditioning. Inspired by the conditioning perspective, we show that learning rate warmup can improve training stability just as much as batch normalization, layer normalization, MetaInit, GradInit, and Fixup initialization.
Motivation & Objective
- To understand why training instability arises in deep neural networks despite architectural advances.
- To investigate how loss curvature, particularly the largest Hessian eigenvalue $\lambda_1$, affects optimization stability.
- To examine the role of model initialization, normalization, learning rate warmup, and gradient clipping in controlling $\lambda_1$ during training.
- To unify disparate training heuristics under a single mechanism: reducing early training curvature to improve stability.
Proposed method
- Empirically measure the evolution of the loss Hessian's largest eigenvalue ($\lambda_1$) across multiple classification tasks during training with SGD+momentum.
- Systematically vary learning rate, warmup duration, initialization schemes (e.g., MetaInit, Fixup, GradInit), and architectural choices (e.g., normalization layer placement).
- Use large-scale experiments on models like WideResNet and ResNet-50 to track $\lambda_1$ dynamics over time.
- Compare the impact of learning rate warmup against normalization, initialization, and gradient clipping in reducing $\lambda_1$.
- Analyze the relationship between $\lambda_1$ and the theoretical bound $2/\eta$ to validate stability conditions.
- Extend analysis to Adam-trained Transformers, showing similar $\lambda_1$-learning rate adaptation despite adaptive optimization.
Experimental results
Research questions
- RQ1How does the largest eigenvalue of the loss Hessian ($\lambda_1$) evolve during training, and does it remain below the theoretical stability threshold $2/\eta$?
- RQ2To what extent do different initialization strategies reduce $\lambda_1$ early in training, and how does this enable higher learning rates?
- RQ3Does learning rate warmup stabilize training by gradually reducing $\lambda_1$, and how does this compare to architectural normalization or better initialization?
- RQ4Can learning rate warmup alone achieve performance comparable to advanced initialization methods like MetaInit or Fixup?
- RQ5How does high loss curvature affect scaling with large batch sizes, and can curvature reduction improve data parallelism efficiency?
Key findings
- Training with SGD+momentum is stable only when $\lambda_1 \lesssim 2/\eta$; this condition is empirically confirmed across diverse models and tasks.
- Proper initialization strategies (e.g., MetaInit, GradInit, Fixup) reduce $\lambda_1$ early in training, enabling stable training at higher learning rates.
- Learning rate warmup reduces $\lambda_1$ gradually during early training, offering comparable benefits to normalization and advanced initialization.
- Learning rate warmup can match the performance of MetaInit, Fixup, and GradInit without requiring complex initialization schemes.
- High loss curvature degrades scaling with large batch sizes, and interventions that reduce curvature significantly improve data parallelism efficiency.
- The adaptation of $\lambda_1$ to the learning rate is consistent across models and optimizers, including Adam, suggesting a fundamental optimization dynamic that contradicts classical optimization wisdom.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.