CUR matrix approximation explained

A CUR matrix approximation is a set of three matrices that, when multiplied together, closely approximate a given matrix.[1] [2] [3] A CUR approximation can be used in the same way as the low-rank approximation of the singular value decomposition (SVD). CUR approximations are less accurate than the SVD, but they offer two key advantages, both stemming from the fact that the rows and columns come from the original matrix (rather than left and right singular vectors):

Formally, a CUR matrix approximation of a matrix A is three matrices C, U, and R such that C is made from columns of A, R is made from rows of A, and that the product CUR closely approximates A. Usually the CUR is selected to be a rank-k approximation, which means that C contains k columns of A, R contains k rows of A, and U is a k-by-k matrix. There are many possible CUR matrix approximations, and many CUR matrix approximations for a given rank.

The CUR matrix approximation is often used in place of the low-rank approximation of the SVD in principal component analysis. The CUR is less accurate, but the columns of the matrix C are taken from A and the rows of R are taken from A. In PCA, each column of A contains a data sample; thus, the matrix C is made of a subset of data samples. This is much easier to interpret than the SVD's left singular vectors, which represent the data in a rotated space. Similarly, the matrix R is made of a subset of variables measured for each data sample. This is easier to comprehend than the SVD's right singular vectors, which are another rotations of the data in space.

Mathematical definition

Hamm and Huang[4] gives the following theorem describing the basics of a CUR decomposition of a matrix

L

with rank

r

:

Theorem: Consider row and column indices

I,J\subseteq[n]

with

|I|,|J|\ger

.Denote submatrices

C=L:,J,

U=LI,J

and

R=LI,:

.If rank(

U

) = rank(

L

), then

L=CU+R

, where

()+

denotes the Moore–Penrose pseudoinverse.

In other words, if

L

has low rank, we can take a sub-matrix

U=LI,J

of the same rank, together with some rows

R

and columns

C

of

L

and use them to reconstruct

L

.

Algorithms

The CUR matrix approximation is not unique and there are multiple algorithms for computing one. One is ALGORITHMCUR.

The "Linear Time CUR" algorithm [5] simply picks J by sampling columns randomly (with replacement) with probability proportional to the squared column norms,

\|L:,j

2
\|
2
; and similarly sampling I proportional to the squared row norms,

\|Li

2
\|
2
.The authors show thattaking

|J|k/\varepsilon4

and

|I|k/\varepsilon2

where

0\le\varepsilon

, the algorithm achieves Frobenius error bound

\|A-CUR\|F\le\|A-Ak\|F+\varepsilon\|A\|F

, where

Ak

is the optimal rank k approximation.

Tensor

Tensor-CURT decomposition[6] is a generalization of matrix-CUR decomposition. Formally, a CURT tensor approximation of a tensor A is three matrices and a (core-)tensor C, R, T and U such that C is made from columns of A, R is made from rows of A, T is made from tubes of A and that the product U(C,R,T) (where the

i,j,l

-th entry of it is

\sumi',j',l'Ui',j',l'Ci,i'Rj,j'Tl,l'

) closely approximates A. Usually the CURT is selected to be a rank-k approximation, which means that C contains k columns of A, R contains k rows of A, T contains tubes of A and U is a k-by-k-by-k (core-)tensor.

See also

References

  1. Web site: CUR matrix decompositions for improved data analysis. 26 June 2012. Michael W. Mahoney. Petros Drineas.
  2. Optimal CUR matrix decompositions. STOC '14 Proceedings of the forty-sixth annual ACM symposium on Theory of Computing. Boutsidis . Christos . Woodruff. David P.. 2014.
  3. Low Rank Approximation with Entrywise L1-Norm Error. STOC '17 Proceedings of the forty-ninth annual ACM symposium on Theory of Computing. Song. Zhao. Woodruff. David P.. Zhong. Peilin. 2017. 1611.00898.
  4. Keaton Hamm and Longxiu Huang. Perspectives on CUR decompositions. Applied and Computational Harmonic Analysis, 48(3):1088–1099, 2020.
  5. Drineas . Petros . Kannan . Ravi . Mahoney . Michael W. . 2006-01-01 . Fast Monte Carlo Algorithms for Matrices I: Approximating Matrix Multiplication . SIAM Journal on Computing . 36 . 1 . 132–157 . 10.1137/S0097539704442684 . 0097-5397.
  6. Relative Error Tensor Low Rank Approximation. 1704.08246. Song. Zhao. Woodruff. David P.. Zhong. Peilin. cs.DS. 2017.