The Road Less Scheduled
Aaron Defazio, Xingyu Alice Yang, Harsh Mehta, Konstantin Mishchenko, Ahmed Khaled, Ashok Cutkosky
TL;DR
The paper tackles the dependence on predefined learning-rate schedules by introducing Schedule-Free SGD and Schedule-Free AdamW, a method that eliminates the need to specify a stopping time T yet matches or surpasses schedule-based performance across convex and large-scale deep learning problems. It builds a unifying online-to-batch framework that interpolates between Polyak-Ruppert averaging and primal averaging via a momentum parameter, delivering strong theoretical guarantees and practical stability. Extensive experiments across 28 problems and benchmarks, including MLCommons AlgoPerf, demonstrate robust gains over tuned schedules with no extra hyperparameters beyond momentum, though some tasks require careful hyperparameter sweeps and BN adjustments. The approach offers a scalable, open-source alternative to scheduling in optimization for deep learning and large-scale convex problems, with broad implications for training efficiency and reliability.
Abstract
Existing learning rate schedules that do not require specification of the optimization stopping step T are greatly out-performed by learning rate schedules that depend on T. We propose an approach that avoids the need for this stopping time by eschewing the use of schedules entirely, while exhibiting state-of-the-art performance compared to schedules across a wide family of problems ranging from convex problems to large-scale deep learning problems. Our Schedule-Free approach introduces no additional hyper-parameters over standard optimizers with momentum. Our method is a direct consequence of a new theory we develop that unifies scheduling and iterate averaging. An open source implementation of our method is available at https://github.com/facebookresearch/schedule_free. Schedule-Free AdamW is the core algorithm behind our winning entry to the MLCommons 2024 AlgoPerf Algorithmic Efficiency Challenge Self-Tuning track.
