Efficient randomized algorithms for adaptive low-rank factorizations of large matrices

In this paper, randomized techniques for computing low-rank factorizations are presented. The proposed methods take in a tolerance $\varepsilon$ and an $m \times n$ matrix $\boldsymbol{A}$, and output an approximate low-rank factorization of $\boldsymbol{A}$, whose error measured in the Frobenius norm is within $\varepsilon$. The techniques are based on the blocked randQB scheme proposed by P.-G. Martinsson and S. Voronin, producing a QB factorization. By employing an economic error indicator and moving $\boldsymbol{A}$ out of the loop, the techniques result in two algorithms called randQB_EI and randQB_FP. They are mathematically equivalent to the existing blocked scheme, but are more computationally efficient. The randQB_FP algorithm also owns the merit of pass-efficiency. Numerical experiments on a multi-core parallel computing server show that the proposed algorithms have the similar accuracy as the blocked randQB scheme, but cost a small fraction of runtime and memory. The benefits are even larger (up to 20X) for handling large sparse matrices. Compared with the adaptive range finder algorithm, the proposed methods output much smaller and close to optimal rank while satisfying the preset accuracy tolerance.

[1]  V. Rokhlin,et al.  A randomized algorithm for the approximation of matrices , 2006 .

[2]  Jed A. Duersch,et al.  Randomized QR with Column Pivoting , 2015, SIAM J. Sci. Comput..

[3]  Ming Gu,et al.  Efficient Algorithms for Computing a Strong Rank-Revealing QR Factorization , 1996, SIAM J. Sci. Comput..

[4]  Zhihua Zhang,et al.  Frequent Direction Algorithms for Approximate Matrix Multiplication with Applications in CCA , 2016, IJCAI.

[5]  Chao Yang,et al.  ARPACK users' guide - solution of large-scale eigenvalue problems with implicitly restarted Arnoldi methods , 1998, Software, environments, tools.

[6]  Mark Tygert,et al.  A Randomized Algorithm for Principal Component Analysis , 2008, SIAM J. Matrix Anal. Appl..

[7]  Yaohang Li,et al.  GPU Accelerated Randomized Singular Value Decomposition and Its Application in Image Compression , 2015 .

[8]  C. Eckart,et al.  The approximation of one matrix by another of lower rank , 1936 .

[9]  Yousef Saad,et al.  Iterative methods for sparse linear systems , 2003 .

[10]  Per-Gunnar Martinsson,et al.  RSVDPACK: Subroutines for computing partial singular value decompositions via randomized sampling on single core, multi core, and GPU architectures , 2015, ArXiv.

[11]  Michael W. Mahoney Randomized Algorithms for Matrices and Data , 2011, Found. Trends Mach. Learn..

[12]  Per-Gunnar Martinsson,et al.  A Randomized Blocked Algorithm for Efficiently Computing Rank-revealing Factorizations of Matrices , 2015, SIAM J. Sci. Comput..

[13]  Daniela Calvetti,et al.  Matrix methods in data mining and pattern recognition , 2009, Math. Comput..

[14]  Jack J. Dongarra,et al.  Performance of random sampling for computing low-rank approximations of a dense matrix on GPUs , 2015, SC15: International Conference for High Performance Computing, Networking, Storage and Analysis.

[15]  Nathan Halko,et al.  Finding Structure with Randomness: Probabilistic Algorithms for Constructing Approximate Matrix Decompositions , 2009, SIAM Rev..

[16]  Robert H. Halstead,et al.  Matrix Computations , 2011, Encyclopedia of Parallel Computing.

[17]  C. Chui,et al.  Article in Press Applied and Computational Harmonic Analysis a Randomized Algorithm for the Decomposition of Matrices , 2022 .

[18]  Ming Gu,et al.  Subspace Iteration Randomization and Singular Value Problems , 2014, SIAM J. Sci. Comput..

[19]  Mark Tygert,et al.  Algorithm 971 , 2017, ACM transactions on mathematical software. Association for Computing Machinery.

[20]  Petros Drineas,et al.  FAST MONTE CARLO ALGORITHMS FOR MATRICES II: COMPUTING A LOW-RANK APPROXIMATION TO A MATRIX∗ , 2004 .

[21]  Ilse C. F. Ipsen,et al.  Importance Sampling for a Monte Carlo Matrix Multiplication Algorithm, with Application to Information Retrieval , 2011, SIAM J. Sci. Comput..