A Singular Value Thresholding Algorithm for Matrix Completion 3: Convergence to the Minimum Nuclear Norm SolutionResearch Paper
Motivation
Nuclear norm minimization is the standard convex surrogate for rank minimization: to recover a low-rank matrix from a few linear measurements, or from a subset of its entries, one minimizes the sum of the singular values subject to the data constraints. For matrix completion, Candès and Recht (Found. Comput. Math. 2009) showed that this convex program recovers a low-rank matrix exactly from sufficiently many random entries. Solving it at scale is another matter: interior-point methods for the equivalent semidefinite program become impractical beyond matrices of a few hundred rows and columns.
Cai, Candès and Shen (SIAM J. Optim. 2010) proposed the singular value thresholding (SVT) algorithm, whose iterates are cheap and typically of low rank. SVT does not solve the nuclear norm problem itself. It solves a proximal problem, in which the nuclear norm is replaced by for a fixed parameter . Section 3.4 of the paper justifies this substitution: as , the solutions of the proximal problem converge to a specific solution of the nuclear norm problem, the one of least Frobenius norm. This mission formalizes that result, Theorem 3.1 of the paper, under general convex constraints.
Setting
Let be natural numbers and the space of real matrices, with the inner product . Three functions of a matrix are used:
- the Frobenius norm ;
- the nuclear norm , the sum of the singular values of ;
- for a parameter , the proximal objective .
Let be constraint functions and the feasible set. The nuclear norm problem is
and, for , the proximal problem is
When the are convex and is nonempty, (3.4) has exactly one solution, written , because is strongly convex. Problem (1.6) may have many solutions. Among them, the paper singles out the minimum Frobenius norm solution
Linear equality constraints, and in particular the matrix completion constraints for sampled entries , are covered by taking pairs of affine functionals.
Formalization targets
Goal: Theorem 3.1
Assume that the are convex and lower semicontinuous. Then
Milestones
In the order in which the paper's proof uses them (all on p. 1967):
- Eq. (3.16), for every :
- Eq. (3.17), for every : .
- Convergence of the nuclear norms: .
- Uniqueness of : two minimum Frobenius norm solutions of (1.6) coincide when the are convex.
- Cluster points: if and , then .
Significance
The result itself. Theorem 3.1 is the link between the problem SVT actually solves and the problem one wants solved. The companion missions of this series prove that the SVT iteration, and its variant for general convex constraints, converges to . Theorem 3.1 says what is worth: for large it is close to a nuclear norm minimizer, and the minimizer it approaches is identified exactly, namely the one of least Frobenius norm. The statement is not specific to matrix completion. It covers every finite family of convex, lower semicontinuous constraints, and hence noisy variants such as the inequality-constrained problems of §3.3 of the paper.
Formalizing it. The theorem is proved in the paper, in about half a page. It has not, to our knowledge, been machine-checked. A formal proof pins down the hypotheses: the argument needs the minimizers to exist, and it uses continuity and convexity of the nuclear norm, closedness of the feasible set, and uniqueness of . It also produces a reusable fact about the nuclear norm in Lean, namely that the sum of singular values is a continuous convex function of the matrix.
Difficulty
The first steps are elementary consequences of the definitions of and : (3.16) compares objective values, and (3.17) and the convergence of the nuclear norms follow by algebra and a squeeze. The difficulty lies elsewhere.
- Identifying the limit. Boundedness gives cluster points of , not convergence. Each cluster point must be shown to be feasible, to be optimal for (1.6), and to have the least Frobenius norm among the optimal points. Feasibility uses lower semicontinuity of the constraints. Optimality uses continuity of the nuclear norm. Minimality uses (3.17) passed to the limit.
- Uniqueness of . The last step concludes from , which needs uniqueness of the minimum Frobenius norm solution. That in turn needs convexity of the solution set of (1.6), hence convexity of the nuclear norm, together with strict convexity of .
- Nuclear norm in Lean. The nuclear norm is defined from singular values, and its convexity (the triangle inequality for the sum of singular values) and continuity are not currently available as ready-made statements. They are the main groundwork.
A tempting shortcut, reading the family as a sequence indexed by integers, proves a weaker statement: the limit in (3.15) is over real .
Formalization scope
- Matrices. Matrices are
Matrix (Fin n₁) (Fin n₂) ℝ, abbreviatedMat n₁ n₂, over the reals as in the paper. and . - Nuclear norm. is the sum of Mathlib's
LinearMap.singularValuesofMatrix.toEuclideanLin X. It is the genuine sum of singular values, not an abstract norm or the Frobenius norm. - Constraints. The constraints are a family
f : Fin m → Mat n₁ n₂ → ℝof real-valued functions. (no constraints) is allowed. - Hypotheses of Theorem 3.1. The hypotheses are
ConvexOn ℝ Set.univ (f i)andLowerSemicontinuous (f i)for every . Lower semicontinuity is redundant for real-valued convex functions on a finite-dimensional space, but it is kept because the theorem states it. - and . is a family
Xτ : ℝ → Mat n₁ n₂assumed to solve (3.4) for every , and its values at play no role. is a matrix assumed to satisfy the defining property (3.14): it solves (1.6) and has the least among its solutions. Uniqueness of is a milestone to prove, not an assumption. - Vacuous case. These hypotheses presuppose, as the paper does, that (1.6) has a solution. They can be met exactly when the feasible set is nonempty. When it is empty the statement is vacuous, which matches the paper, where is then undefined.
- Limits and topology. Limits in are along
Filter.atTopon . Convergence of matrices uses Mathlib's entrywise topology, which is the topology of . The goal states (3.15) literally, with the Frobenius norm of the difference tending to . - Excluded shortcuts. A formalization that replaces the nuclear norm by the Frobenius norm or by an arbitrary norm, indexes by , or assumes uniqueness or convergence as a hypothesis would not be Theorem 3.1. It is ruled out.
Infrastructure. The needed facts, all reusable beyond this mission:
- nonnegativity, convexity and continuity of the nuclear norm on real matrices;
- closedness and convexity of sublevel sets of convex lower semicontinuous functions;
- uniqueness of the minimizer of a strictly convex function over a convex set;
- a cluster-point argument for bounded families in finite-dimensional spaces.
Contributions of these general lemmas as separate theorems are welcome.
Selected references
- J.-F. Cai, E. J. Candès, Z. Shen, A Singular Value Thresholding Algorithm for Matrix Completion, SIAM J. Optim. 20(4):1956–1982, 2010. https://doi.org/10.1137/080738970
- E. J. Candès, B. Recht, Exact Matrix Completion via Convex Optimization, Found. Comput. Math. 9:717–772, 2009. https://doi.org/10.1007/s10208-009-9045-5
- B. Recht, M. Fazel, P. A. Parrilo, Guaranteed Minimum-Rank Solutions of Linear Matrix Equations via Nuclear Norm Minimization, SIAM Rev. 52(3):471–501, 2010. https://doi.org/10.1137/070697835