[Paper Review] Learning-Rate-Free Learning by D-Adaptation
This paper introduces D-Adaptation, a hyper-parameter-free optimization method that automatically adapts the learning rate for stochastic gradient descent (SGD) and Adam variants by maintaining a lower bound on the initial distance to the optimal solution. The method achieves the optimal O(1/√n) convergence rate for convex Lipschitz functions without line searches or additional gradient evaluations, matching hand-tuned learning rates across diverse ML tasks in vision, NLP, and recommendation systems.
D-Adaptation is an approach to automatically setting the learning rate which asymptotically achieves the optimal rate of convergence for minimizing convex Lipschitz functions, with no back-tracking or line searches, and no additional function value or gradient evaluations per step. Our approach is the first hyper-parameter free method for this class without additional multiplicative log factors in the convergence rate. We present extensive experiments for SGD and Adam variants of our method, where the method automatically matches hand-tuned learning rates across more than a dozen diverse machine learning problems, including large-scale vision and language problems. An open-source implementation is available.
Motivation & Objective
- To eliminate the need for manual learning rate tuning in stochastic optimization for convex Lipschitz functions.
- To develop a method that achieves the optimal O(1/√n) convergence rate without additional function evaluations or backtracking.
- To provide a hyper-parameter-free alternative to existing adaptive methods like AdaGrad-Norm, which require knowledge of the initial distance to the solution.
- To enable automatic, robust performance across diverse machine learning problems including large-scale vision and language models.
- To derive a theoretically grounded, adaptive learning rate strategy that dynamically bounds the distance to the optimal solution using empirical gradients.
Proposed method
- D-Adaptation uses weighted dual averaging with adaptive step sizes derived from a running estimate of the inverse of the gradient norm.
- It maintains a lower bound ˆdk on the initial distance D = ||x₀ − x*|| using a novel bound involving cumulative gradients and step sizes.
- The method updates the lower bound ˆdk+1 using the formula ˆdk+1 = (γk+1||sk+1||² − Σγi d²i ||gi||²)/(2||sk+1||), where sk+1 is the cumulative gradient.
- It dynamically increases the lower bound dk when a tighter estimate ˆdk+1 is found, ensuring asymptotic convergence to the optimal rate.
- For Adam variants, it adapts the exponential moving average (EMA) of gradients and uses a normalized step size based on the EMA of squared gradients.
- The method avoids line searches and additional gradient evaluations by relying solely on observed gradients and cumulative sums.
Experimental results
Research questions
- RQ1Can a hyper-parameter-free optimization method achieve the optimal O(1/√n) convergence rate for convex Lipschitz functions without line searches or additional function evaluations?
- RQ2How can a lower bound on the initial distance to the solution be estimated adaptively using only observed gradients and step sizes?
- RQ3Does D-Adaptation match the performance of hand-tuned learning rates across diverse machine learning tasks, including vision, NLP, and recommendation systems?
- RQ4What is the theoretical convergence guarantee of D-Adaptation, and how does it compare to existing adaptive methods like AdaGrad-Norm?
- RQ5Can the method be extended to Adam variants while preserving theoretical convergence and empirical performance?
Key findings
- D-Adaptation achieves the optimal O(DG/√n) convergence rate for convex Lipschitz functions without additional log factors, matching the worst-case lower bound.
- The method asymptotically converges at O(DG/√n + 1), with the bound on D improving over time via empirical gradient tracking.
- For non-asymptotic settings, the convergence rate is bounded by O(DG log₂⁺(D/d₀)/√n), which is significantly better than baseline subgradient methods with fixed d₀.
- In experiments, D-Adaptation matches or exceeds the performance of hand-tuned learning rates across more than a dozen diverse ML problems, including vision and language models.
- The Adam variant of D-Adaptation maintains strong performance without requiring manual learning rate tuning, demonstrating robustness across tasks.
- The theoretical analysis shows that the lower bound on D is asymptotically lower bounded by D/(1+√3), ensuring convergence to the optimal rate.
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.