English

Weighted SGD for $\ell_p$ Regression with Randomized Preconditioning

Optimization and Control 2017-07-11 v5 Machine Learning

Abstract

In recent years, stochastic gradient descent (SGD) methods and randomized linear algebra (RLA) algorithms have been applied to many large-scale problems in machine learning and data analysis. We aim to bridge the gap between these two methods in solving constrained overdetermined linear regression problems---e.g., 2\ell_2 and 1\ell_1 regression problems. We propose a hybrid algorithm named pwSGD that uses RLA techniques for preconditioning and constructing an importance sampling distribution, and then performs an SGD-like iterative process with weighted sampling on the preconditioned system. We prove that pwSGD inherits faster convergence rates that only depend on the lower dimension of the linear system, while maintaining low computation complexity. Particularly, when solving 1\ell_1 regression with size nn by dd, pwSGD returns an approximate solution with ϵ\epsilon relative error in the objective value in O(lognnnz(A)+poly(d)/ϵ2)\mathcal{O}(\log n \cdot \text{nnz}(A) + \text{poly}(d)/\epsilon^2) time. This complexity is uniformly better than that of RLA methods in terms of both ϵ\epsilon and dd when the problem is unconstrained. For 2\ell_2 regression, pwSGD returns an approximate solution with ϵ\epsilon relative error in the objective value and the solution vector measured in prediction norm in O(lognnnz(A)+poly(d)log(1/ϵ)/ϵ)\mathcal{O}(\log n \cdot \text{nnz}(A) + \text{poly}(d) \log(1/\epsilon) /\epsilon) time. We also provide lower bounds on the coreset complexity for more general regression problems, indicating that still new ideas will be needed to extend similar RLA preconditioning ideas to weighted SGD algorithms for more general regression problems. Finally, the effectiveness of such algorithms is illustrated numerically on both synthetic and real datasets.

Keywords

Cite

@article{arxiv.1502.03571,
  title  = {Weighted SGD for $\ell_p$ Regression with Randomized Preconditioning},
  author = {Jiyan Yang and Yin-Lam Chow and Christopher Ré and Michael W. Mahoney},
  journal= {arXiv preprint arXiv:1502.03571},
  year   = {2017}
}

Comments

A conference version of this paper appears under the same title in Proceedings of ACM-SIAM Symposium on Discrete Algorithms, Arlington, VA, 2016

R2 v1 2026-06-22T08:28:14.057Z