Problemadvanced
Low-rank matrix completion
Also called matrix completion.
Recover a low-rank matrix from a small random subset of its entries, the model problem behind rating prediction.
Low-rank matrix completion asks for the missing entries of a matrix when only some entries are known and the whole matrix is known, or assumed, to have low rank. A table of ratings with one row per user and one column per item is the standard example: most entries are missing, and the hope is that a few hidden factors explain the ratings, so that the table is close to low rank. Without a rank bound the problem has no answer, since any values fit the missing entries. With a rank bound and an arbitrary pattern of known entries it is NP-hard. With random known entries and a spread-out matrix, the exact matrix completion theorem says that a convex program recovers the matrix exactly from about entries.
In plain words
You have a big table with most cells empty. You believe the table is simple: every row is a mix of a few basic rows. Fill in the empty cells so that the table stays that simple. If the cells you see are scattered at random, and the table does not hide its content in a few rows or columns, a small fraction of the cells is enough to fill in the rest exactly. For real rating data the table is only close to simple and the cells you see are not random, so the filled-in values are estimates, and how good they are is measured, not proved.
Definition
Input. Dimensions , a set of observed positions, and the values for of an unknown matrix .
Exact version. Given a rank bound , find a matrix of rank at most with for all , or the matrix of least rank with that property:
The recovery question is whether the answer is unique and equal to .
Noisy version. The observed values are . Find of rank at most that minimizes , or a penalized form of it.
Sampling model. Most results assume that is a uniformly random set of positions, or that each position is observed independently with probability (the Bernoulli model). Candès and Tao (2010, Section 1) note that results for one model carry over to the other with minor changes.
Incoherence. Write for its singular value decomposition. The coherence of the column space is , between 1 and , and the same for the row space (Recht 2011, Definition 1). Recovery from random entries needs low coherence, because a matrix such as is zero almost everywhere and cannot be found unless its one nonzero entry is observed.
Variants
- Noisy completion. The observations have noise, and the aim is a small error rather than exact recovery.
- Weighted low-rank approximation. Each entry has a weight and the aim is a rank- matrix that minimizes the weighted squared error. Missing entries are entries of weight 0. This is the problem that Gillis and Glineur (2011) show NP-hard.
- Completion from general linear measurements. The known values are for given matrices , not single entries. Entries are the case . Gross (2011) treats measurements in any orthonormal basis of matrices.
- One-class completion. Only positive entries are observed, as with clicks and purchases, and the missing entries are a mix of unknown and negative. See implicit feedback.
- Completion with side information. Features of the rows and columns are also known; factorization machines are one model for this.
Examples
A matrix of rank 1 with entries , , known and missing. Rank 1 means the rows are proportional. The first row is , so the second row is and . Here three entries fix the fourth, and the rank bound is what makes the answer unique.
Remove instead and , so that the whole second column is missing. Then and have rank 1 for every , and no method can recover the column. This is why random sampling needs about entries at least: with fewer, some row or column is likely to have no observed entry at all (Candès and Tao 2010 call this a coupon collector effect).
Known algorithms
- Nuclear norm minimization. Replace the rank by the nuclear norm , its convex relaxation (the best convex lower bound of the rank on matrices with all singular values at most 1, Recht 2011, Section 1), and solve the resulting semidefinite program (Recht 2011, Section 1). Under incoherence and uniform sampling this recovers exactly with high probability; see the exact matrix completion theorem. General interior-point methods are too slow for large matrices, so first-order methods such as singular value thresholding and soft-impute, which apply a shrinkage step to the singular values, are used instead.
- Factored nonconvex methods. Write with of size and of size , and minimize the squared error on plus a penalty, by alternating least squares or by stochastic gradient descent. This is matrix factorization for recommendation, and probabilistic matrix factorization gives it a Bayesian reading. The objective is not convex, so these methods may stop at a local minimum.
- Spectral methods. Take the top singular vectors of the rescaled matrix of observed entries, with zeros elsewhere, and refine them. Keshavan, Montanari and Oh (2010) analyze an algorithm of this kind.
Bounds
- Upper bound for nuclear norm minimization. Recht (2011, Theorem 2): under coherence bounds and , uniformly random entries suffice for exact recovery with probability at least . Earlier bounds were of order , or when , for most matrices (Candès and Recht 2009) and under a stronger incoherence condition (Candès and Tao 2010, Theorem 1.2).
- Lower bound for any method. Candès and Tao (2010, Theorem 1.7 and Equation 1.21): in the Bernoulli model, recovering every rank- matrix of coherence with probability at least needs about entries. So when the coherences are bounded by constants, the upper bound is tight up to a constant and one factor of .
- Counting. A rank- matrix of size has degrees of freedom, so fewer entries than that cannot determine it.
- Hardness. With an arbitrary pattern of known entries, finding the lowest rank completion is NP-hard (Recht 2011, Section 1), and low-rank approximation with missing data is NP-hard already for rank one (Gillis and Glineur 2011). The positive results above depend on the random sampling.
Reductions
- Rank minimization to a semidefinite program. The nuclear norm bound holds exactly when there are symmetric and with and . So nuclear norm minimization under linear constraints is a semidefinite program.
- From compressed sensing. A diagonal matrix has rank equal to its number of nonzero diagonal entries and nuclear norm equal to the norm of its diagonal. So rank minimization contains sparse recovery, and nuclear norm minimization contains basis pursuit. The analogy guides the theory of compressed sensing for matrices, but entry sampling does not have the restricted isometry property, and incoherence takes its place.
Applications
- Rating prediction. The rating matrix of a recommender is treated as a noisy, partly observed low-rank matrix, and its completion gives predicted ratings. This is the reading behind collaborative filtering by matrix factorization. Rating data are not missing at random, since users choose what to rate, so the recovery theorems describe an ideal case; the quality of predicted ratings is measured on held-out data, never proved.
- Other areas. Candès and Tao (2010, Section 1.1) list structure from motion in computer vision, system identification in control, multi-class learning, sensor positions from partial distances, and covariance estimation from partial correlations. Recht (2011, Section 1) adds dimensionality reduction and embedding problems, and his proof comes from quantum state tomography (Gross et al. 2010).
References
- Emmanuel J. Candès and Benjamin Recht, Exact matrix completion via convex optimization, Foundations of Computational Mathematics 9(6), 717-772, 2009, Abstract and Section 1 (the problem, the nuclear norm program, the assumptions A0 and A1, and the first bounds, of order n^(5/4) r log n for most matrices and n^(6/5) r log n when r <= n^(1/5))
- Benjamin Recht, A simpler approach to matrix completion, Journal of Machine Learning Research 12, 3413-3430, 2011, Section 1 (the problem, lowest rank completion is NP-hard, the nuclear norm as a semidefinite program) and Theorem 2 (the bound of order r (n1 + n2) log^2 n2)
- Emmanuel J. Candès and Terence Tao, The power of convex relaxation, near-optimal matrix completion, IEEE Transactions on Information Theory 56(5), 2053-2080, 2010, Section 1.1 (applications), Theorem 1.7 and Equation 1.21 (the lower bound of order mu0 n r log n for any method, in the Bernoulli model)
- Nicolas Gillis and François Glineur, Low-rank matrix approximation with weights or missing data is NP-hard, SIAM Journal on Matrix Analysis and Applications 32(4), 1149-1165, 2011, Abstract and main result (the approximation problem with missing data is NP-hard, already for rank one)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag N0B0GB Edit this page History Report an error Markdown