Abstract
We propose a method that achieves near-optimal rates for smooth stochastic convex optimization and requires essentially no prior knowledge of problem parameters. This improves on prior work which requires knowing at least the initial distance to optimality $d_0$. Our method, U-DoG, combines UniXGrad (Kavis et al., 2019) and DoG (Ivgi et al., 2023) with novel iterate stabilization techniques. It requires only loose bounds on $d_0$ and the noise magnitude, provides high probability guarantees under sub-Gaussian noise, and is also near-optimal in the non-smooth case. Our experiments show consistent, strong performance on convex problems and mixed results on neural network training.
Introduction
Optimization is the core engine of modern machine learning. While Nesterov Acceleration has long been the gold standard for speed in convex optimization, it is notoriously "brittle." To achieve its theoretical performance, it requires precise knowledge of problem parameters: the smoothness of the function ($\beta$), the gradient noise level ($\sigma$), and the initial distance to the optimal solution ($d_0$).
Incorrectly estimating these parameters can lead to slow convergence or outright failure. While adaptive methods like AdaGrad have mitigated the need to know smoothness and noise, they typically still require the distance to the optimum. This paper introduces U-DoG, the first parameter-free algorithm to achieve accelerated convergence rates for smooth convex problems without requiring $d_0$.
The U-DoG Framework
U-DoG (UniXGrad-Distance over Gradient) merges two powerful frameworks:
- UniXGrad: A universal extra-gradient method capable of handling both smooth and non-smooth objectives.
- DoG (Distance over Gradient): A technique that uses the maximum distance the algorithm has traveled from its starting point as a proxy for the unknown distance to the optimum ($d_0$).
Key Innovations
- Dynamic Step Sizes: U-DoG sets the step size numerator based on the maximum distance moved so far, rather than a fixed domain diameter.
- Automatic Momentum: The algorithm uses this same distance metric to automatically tune the momentum parameter, accelerating as it gains confidence in the optimization direction.
- Iterate Stabilization: To prevent the algorithm from "over-accelerating" in unconstrained spaces—a common issue for parameter-free methods—the authors introduced novel stabilization techniques to keep iterates bounded.
The authors also propose A-DOG, a heuristic version based on AcceleGrad that avoids the computationally expensive extra-gradient step required by U-DoG.
Theoretical Guarantees
U-DoG stands out by providing high-probability guarantees and near-optimal rates while remaining insensitive to problem parameters across both bounded and unbounded domains.
As shown in the table above, U-DoG achieves a convergence rate of $\tilde{O}(\frac{\beta d_0^2}{T^2} + \frac{\sigma d_0}{\sqrt{T}})$ for smooth stochastic problems. This matches the optimal rates for both the smooth noiseless case ($1/T^2$) and the non-smooth stochastic case ($1/\sqrt{T}$) without requiring prior knowledge of $\beta, \sigma,$ or $d_0$.
Experimental Evaluation
The researchers evaluated U-DoG and A-DOG across several benchmarks:
- Convex Optimization: On logistic and linear regression tasks (VTAB and LIBSVM datasets), U-DoG often outperformed standard SGD and matched the performance of expertly hand-tuned accelerated SGD.
- Batch Size Scaling: The methods demonstrated the classic benefit of acceleration: as batch sizes increased (reducing gradient noise), U-DoG significantly outperformed non-accelerated methods.
- Deep Learning: Results on non-convex neural network training (ResNet-50, WideResNet, CLIP) were more nuanced. While A-DOG remained competitive, U-DoG's performance was mixed, sometimes struggling with complex non-convex landscapes.
Limitations and Conclusion
While U-DoG solves a long-standing theoretical problem, it has practical trade-offs. The "extra-gradient" step makes it twice as expensive per iteration as standard SGD. Furthermore, the transition from convex theory to non-convex deep learning practice remains a challenge. Future work will focus on refining these accelerated, parameter-free logic-gates to work reliably in the complex landscapes of deep neural networks.
Summary updated