Mechanic: A Learning Rate Tuner
Abstract
We introduce a technique for tuning the learning rate scale factor of any base optimization algorithm and schedule automatically, which we call mechanic. Our method provides a practical realization of recent theoretical reductions for accomplishing a similar goal in online convex optimization. We rigorously evaluate mechanic on a range of large scale deep learning tasks with varying batch sizes, schedules, and base optimization algorithms. These experiments demonstrate that depending on the problem, mechanic either comes very close to, matches or even improves upon manual tuning of learning rates.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- State-free Reinforcement Learning cites Learning-Rate-Free Learning by D-Adaptation
- State-free Reinforcement Learning cites DoG is SGD's Best Friend: A Parameter-Free Dynamic Step Size Schedule
- State-free Reinforcement Learning cites Tuning-Free Stochastic Optimization
- Symbolic Discovery of Optimization Algorithms cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Learning-Rate-Free Learning by D-Adaptation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Learning-Rate-Free Learning by D-Adaptation cites Gradient Descent: The Ultimate Optimizer
- Learning-Rate-Free Learning by D-Adaptation cites DoG is SGD's Best Friend: A Parameter-Free Dynamic Step Size Schedule
- DoG is SGD's Best Friend: A Parameter-Free Dynamic Step Size Schedule cites Learning-Rate-Free Learning by D-Adaptation
- Stepping on the Edge: Curvature Aware Learning Rate Tuners cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Stepping on the Edge: Curvature Aware Learning Rate Tuners cites Learning-Rate-Free Learning by D-Adaptation
- Stepping on the Edge: Curvature Aware Learning Rate Tuners cites DoG is SGD's Best Friend: A Parameter-Free Dynamic Step Size Schedule
- DoG is SGD's Best Friend: A Parameter-Free Dynamic Step Size Schedule cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- DoG is SGD's Best Friend: A Parameter-Free Dynamic Step Size Schedule cites Gradient Descent: The Ultimate Optimizer
- Fully Unconstrained Online Learning cites Learning-Rate-Free Learning by D-Adaptation
- Fully Unconstrained Online Learning cites DoG is SGD's Best Friend: A Parameter-Free Dynamic Step Size Schedule
- Tuning-Free Stochastic Optimization cites Learning-Rate-Free Learning by D-Adaptation
- Tuning-Free Stochastic Optimization cites DoG is SGD's Best Friend: A Parameter-Free Dynamic Step Size Schedule
Cited by top-tier papers6
- Fast TRAC: A Parameter-Free Optimizer for Lifelong Reinforcement LearningAneesh Muppidi, Zhiyu Zhang, Heng YangNeurIPS 2024 · 19 citations
- Fully Unconstrained Online LearningAshok Cutkosky, Zakaria MhammediNeurIPS 2024 · 13 citations
- Tuning-Free Stochastic OptimizationAhmed Khaled, Chi JinICML 2024 · 13 citations
- Stepping on the Edge: Curvature Aware Learning Rate TunersVincent Roulet, Atish Agarwala, Jean-Bastien Grill, Grzegorz Swirszcz et al.NeurIPS 2024 · 9 citations
- State-free Reinforcement LearningMingyu Chen, Aldo Pacchiano, Xuezhou ZhangNeurIPS 2024
Builds on6
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Symbolic Discovery of Optimization AlgorithmsXiangning Chen, Chen Liang, Da Huang, Esteban Real et al.NeurIPS 2023 · 734 citations
- Learning-Rate-Free Learning by D-AdaptationAaron Defazio, Konstantin MishchenkoICML 2023 · 117 citations
- DoG is SGD's Best Friend: A Parameter-Free Dynamic Step Size ScheduleMaor Ivgi, Oliver Hinder, Yair CarmonICML 2023 · 98 citations
- Gradient Descent: The Ultimate OptimizerKartik Chandra, Audrey Xie, Jonathan Ragan-Kelley, Erik MeijerNeurIPS 2022 · 66 citations
Related papers
- Convex Dominance in Deep Learning I: A Scaling Law of Loss and Learning RateZhiqi Bu, Shiyun Xu, Jialin MaoICLR 2026 · 4 citations
- The Road Less ScheduledAaron Defazio, Xingyu Yang, Ahmed Khaled, Konstantin Mishchenko et al.NeurIPS 2024 · 208 citations
- AdaScale SGD: A User-Friendly Algorithm for Distributed TrainingTyler B. Johnson, Pulkit Agrawal, Haijie Gu, Carlos GuestrinICML 2020 · 41 citations
- The Surprising Agreement Between Convex Optimization Theory and Learning-Rate Scheduling for Large Model TrainingFabian Schaipp, Alexander Hägele, Adrien B. Taylor, Umut Simsekli et al.ICML 2025
- QLABGrad: A Hyperparameter-Free and Convergence-Guaranteed Scheme for Deep LearningMinghan Fu, Fang-Xiang WuAAAI 2024 · 12 citations
