SketchySGD: Reliable Stochastic Optimization via Robust Curvature Estimates
Abstract
SketchySGD improves upon existing stochastic gradient methods in machine learning by using randomized low-rank approximations to the subsampled Hessian and by introducing an automated stepsize that works well across a wide range of convex machine learning problems. We show theoretically that SketchySGD with a fixed stepsize converges linearly to a small ball around the optimum. Further, in the ill-conditioned setting we show SketchySGD converges at a faster rate than SGD for least-squares problems. We validate this improvement empirically with ridge regression experiments on real data. Numerical experiments on both ridge and logistic regression problems with dense and sparse data, show that SketchySGD equipped with its default hyperparameters can achieve comparable or better results than popular stochastic gradient methods, even when they have been tuned to yield their best performance. In particular, SketchySGD is able to solve an ill-conditioned logistic regression problem with a data matrix that takes more than $840$GB RAM to store, while its competitors, even when tuned, are unable to make any progress. SketchySGD's ability to work out-of-the box with its default hyperparameters and excel on ill-conditioned problems is an advantage over other stochastic gradient methods, most of which require careful hyperparameter tuning (especially of the learning rate) to obtain good performance and degrade in the presence of ill-conditioning.
BibTeX
@article{frangella2024sketchysgd,
author = {Zachary Frangella and Pratik Rathore and Shipu Zhao and Madeleine Udell},
title = {{SketchySGD: Reliable Stochastic Optimization via Robust Curvature Estimates}},
journal = {SIAM J. Math. Data Sci.},
year = {2024},
doi = {10.1137/23m1575330},
}Ask Althea to put this paper to the test.
| PROMISE: Preconditioned Stochastic Optimization Methods by Incorporating Scalable Curvature Estimates | arXiv · 2023 |
| Faster SGD Using Sketched Conditioning | arXiv · 2015 |
| Fast Linear Convergence of Randomized BFGS | arXiv · 2020 |
| Stochastic Gradient Methods with Preconditioned Updates | arXiv · 2022 |
| An Overview of Stochastic Quasi-Newton Methods for Large-Scale Machine Learning | Journal of the Operations Research Society of China · 2023 |
| Newton Sketch: A Linear-time Optimization Algorithm with Linear-Quadratic Convergence | arXiv · 2015 |