English

Stochastic Gradient Descent, Weighted Sampling, and the Randomized Kaczmarz algorithm

Numerical Analysis 2015-01-19 v5 Computer Vision and Pattern Recognition Machine Learning Optimization and Control Machine Learning

Abstract

We obtain an improved finite-sample guarantee on the linear convergence of stochastic gradient descent for smooth and strongly convex objectives, improving from a quadratic dependence on the conditioning (L/μ)2(L/\mu)^2 (where LL is a bound on the smoothness and μ\mu on the strong convexity) to a linear dependence on L/μL/\mu. Furthermore, we show how reweighting the sampling distribution (i.e. importance sampling) is necessary in order to further improve convergence, and obtain a linear dependence in the average smoothness, dominating previous results. We also discuss importance sampling for SGD more broadly and show how it can improve convergence also in other scenarios. Our results are based on a connection we make between SGD and the randomized Kaczmarz algorithm, which allows us to transfer ideas between the separate bodies of literature studying each of the two methods. In particular, we recast the randomized Kaczmarz algorithm as an instance of SGD, and apply our results to prove its exponential convergence, but to the solution of a weighted least squares problem rather than the original least squares problem. We then present a modified Kaczmarz algorithm with partially biased sampling which does converge to the original least squares solution with the same exponential convergence rate.

Keywords

Cite

@article{arxiv.1310.5715,
  title  = {Stochastic Gradient Descent, Weighted Sampling, and the Randomized Kaczmarz algorithm},
  author = {Deanna Needell and Nathan Srebro and Rachel Ward},
  journal= {arXiv preprint arXiv:1310.5715},
  year   = {2015}
}

Comments

22 pages, 6 figures

R2 v1 2026-06-22T01:51:19.181Z