Introduction
Selecting an optimal learning rate (LR) is a fundamental challenge in training neural networks. A high learning rate causes the model to oscillate around a local minimum without converging, while a low rate results in prohibitively slow training. While adaptive optimizers like Adam offer automation, they often lack the generalization performance of carefully tuned Stochastic Gradient Descent (SGD). Traditional "step-decay" schedules require manual intervention and extensive hyperparameter tuning for each specific task.
The SplitSGD Framework
To address these issues, the authors propose SplitSGD, a dynamic learning rate schedule that automatically detects the transition from a "transient phase" (moving toward a minimum) to a "stationary phase" (bouncing around a minimum). The core of this approach is the Splitting Diagnostic.
The algorithm operates by periodically splitting the current model state into two parallel threads. Each thread performs independent updates using separate data batches. By analyzing the coherence between the gradients of these two threads, SplitSGD determines exactly when to decay the learning rate.
The Splitting Diagnostic
The diagnostic relies on the inner product (dot product) of the average gradients from the two parallel threads.
- Transient Phase: Gradients are aligned as they move toward the minimum, resulting in a positive dot product.
- Stationary Phase: Gradient noise dominates, and the directions become uncorrelated, leading to dot products near zero or negative.
When a predefined proportion ($q$) of these dot products falls below zero, the algorithm declares stationarity, reduces the learning rate by a factor $\gamma$, and increases the training window for the next phase to ensure thorough exploration.
Empirical Performance and Robustness
SplitSGD was evaluated across diverse tasks, including convex optimization (Linear/Logistic Regression), computer vision (Fashion-MNIST, CIFAR-10/100 with ResNet and VGG), and NLP (LSTM on Penn Treebank).
Key findings include:
- Tuning-Insensitivity: A single set of default parameters ($w=4, q=0.25$) proved effective across various deep learning architectures, significantly reducing the need for manual tuning.
- Superior Generalization: In LSTM tasks, SplitSGD outperformed Adam in test perplexity. On ResNet-18, it matched the performance of expert-tuned manual schedules.
- Initial LR Robustness: The diagnostic effectively corrects sub-optimal initial learning rates, making the training process more resilient to initial hyperparameter choices.
Conclusion
SplitSGD provides a robust, automated alternative to manual learning rate scheduling. By leveraging the signal-to-noise ratio of stochastic gradients through parallel threads, it combines the ease of use of adaptive methods with the high-quality generalization of SGD. Future work may explore layer-specific decay rates and further theoretical convergence proofs for non-convex landscapes.
Summary updated