Accelerating SGD for Highly Ill-Conditioned Huge-Scale Online Matrix Completion

Gavin Zhang, Hong-Ming Chiu, Richard Y. Zhang
8/24/2022
cs.LGmath.OCstat.ML

Official code: Hong-Ming/ScaledSGD (1 star, MATLAB, MIT, last commit 2022-10-19).

Abstract

The matrix completion problem seeks to recover a $d\times d$ ground truth matrix of low rank $r\ll d$ from observations of its individual elements. Real-world matrix completion is often a huge-scale optimization problem, with $d$ so large that even the simplest full-dimension vector operations with $O(d)$ time complexity become prohibitively expensive.

Show full abstract

Stochastic gradient descent (SGD) is one of the few algorithms capable of solving matrix completion on a huge scale, and can also naturally handle streaming data over an evolving ground truth. Unfortunately, SGD experiences a dramatic slow-down when the underlying ground truth is ill-conditioned; it requires at least $O(κ\log(1/ε))$ iterations to get $ε$-close to ground truth matrix with condition number $κ$. In this paper, we propose a preconditioned version of SGD that preserves all the favorable practical qualities of SGD for huge-scale online optimization while also making it agnostic to $κ$. For a symmetric ground truth and the Root Mean Square Error (RMSE) loss, we prove that the preconditioned SGD converges to $ε$-accuracy in $O(\log(1/ε))$ iterations, with a rapid linear convergence rate as if the ground truth were perfectly conditioned with $κ=1$. In our experiments, we observe a similar acceleration for item-item collaborative filtering on the MovieLens25M dataset via a pair-wise ranking loss, with 100 million training pairs and 10 million testing pairs. [See supporting code at https://github.com/Hong-Ming/ScaledSGD.]

View on arXivView PDF

Code Implementations(1)

MIT

Official code for "Accelerating SGD for Highly Ill-Conditioned Huge-Scale Online Matrix Completion", NeurIPS 2022.

10MATLABMay 20, 20224 years agoMIT
collaborative-filteringeuclidean-distance-matrixmatrix-completionoptimizationsgd

Similar Papers

Cite this paper

@article{zhang2022accelerating,
  title  = {Accelerating SGD for Highly Ill-Conditioned Huge-Scale Online Matrix Completion},
  author = {Gavin Zhang and Hong-Ming Chiu and Richard Y. Zhang},
  year   = {2022},
  eprint = {2208.11246},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.11246}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2208.11246.svg)](https://codeofpaper.com/paper/2208.11246)

Discussion