English

Online Learning-guided Learning Rate Adaptation via Gradient Alignment

Machine Learning 2025-06-11 v1 Optimization and Control Machine Learning

Abstract

The performance of an optimizer on large-scale deep learning models depends critically on fine-tuning the learning rate, often requiring an extensive grid search over base learning rates, schedules, and other hyperparameters. In this paper, we propose a principled framework called GALA (Gradient Alignment-based Learning rate Adaptation), which dynamically adjusts the learning rate by tracking the alignment between consecutive gradients and using a local curvature estimate. Guided by the convergence analysis, we formulate the problem of selecting the learning rate as a one-dimensional online learning problem. When paired with an online learning algorithm such as Follow-the-Regularized-Leader, our method produces a flexible, adaptive learning rate schedule that tends to increase when consecutive gradients are aligned and decrease otherwise. We establish a data-adaptive convergence rate for normalized SGD equipped with GALA in the smooth, nonconvex setting. Empirically, common optimizers such as SGD and Adam, when augmented with GALA, demonstrate robust performance across a wide range of initial learning rates and perform competitively without the need for tuning.

Keywords

Cite

@article{arxiv.2506.08419,
  title  = {Online Learning-guided Learning Rate Adaptation via Gradient Alignment},
  author = {Ruichen Jiang and Ali Kavis and Aryan Mokhtari},
  journal= {arXiv preprint arXiv:2506.08419},
  year   = {2025}
}

Comments

24 pages, 5 figures

R2 v1 2026-07-01T03:08:21.462Z