CUR matrix approximation

From testwiki
Jump to navigation Jump to search

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):

  • There are methods to calculate it with lower asymptotic time complexity versus the SVD.
  • The matrices are more interpretable; The meanings of rows and columns in the decomposed matrix are essentially the same as their meanings in the original matrix.

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 Template:Citation needed 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.

Matrix CUR

Hamm[4] and Aldroubi et al.[5] describe the following theorem, which outlines a CUR decomposition of a matrix L with rank r:

Theorem: Consider row and column indices I,J[n] with |I|,|J|r. 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.

Tensor CUR

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 i,j,lUi,j,lCi,iRj,jTl,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.

Algorithms

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

The "Linear Time CUR" algorithm [7] simply picks J by sampling columns randomly (with replacement) with probability proportional to the squared column norms, L:,j22; and similarly sampling I proportional to the squared row norms, Li22. The authors show that taking |J|k/ε4 and |I|k/ε2 where 0ε, the algorithm achieves Frobenius error bound ACURFAAkF+εAF, where Ak is the optimal rank k approximation.


See also

References

  1. 1.0 1.1 Template:Cite journal
  2. Template:Cite conference
  3. Template:Cite conference
  4. Keaton Hamm and Longxiu Huang. Perspectives on CUR decompositions. Applied and Computational Harmonic Analysis, 48(3):1088–1099, 2020.
  5. Aldroubi, Akram and Hamm, Keaton and Koku, Ahmet Bugra and Sekmen, Ali. CUR decompositions, similarity matrices, and subspace clustering. Frontiers in Applied Mathematics and Statistics, 2019, Frontiers Media SA
  6. Template:Cite arXiv
  7. Template:Cite journal