The Non-convex Geometry of Low-rank Matrix Optimization
Qiuwei Li, Zhihui Zhu, Gongguo Tang
Introduction
Nonconvex reformulations of convex optimization problems have received a surge of renewed interest for efficiency and scalability reasons . Compared with the convex formulations, the non-convex ones typically involve many fewer variables, allowing them to scale to scenarios with millions of variables. Besides, simple algorithms applied to the non-convex formulations have surprisingly good performance in practice. However, a complete understanding of this phenomenon, particularly the geometrical structures of these non-convex optimization problems, is still an active research area. Unlike the simple geometry of convex optimization problems where local minimizers are also global ones, the landscapes of general non-convex functions can become extremely complicated. Fortunately, for a range of convex optimization problems, particularly for matrix completion and sensing problems, the corresponding non-convex reformulations have nice geometric structures that allow local-search algorithms to converge to global optimality .
We extend this line of investigation by working with a general convex function and considering the following two popular optimization problems:
For these two problems, even fast first-order methods, such as the projected gradient descent algorithm , require performing an expensive eigenvalue decomposition or singular value decomposition in each iteration. These expensive operations form the major computational bottleneck and prevent them from scaling to scenarios with millions of variables, a typical situation in a diverse range of applications, including quantum state tomography , user preferences prediction , and pairwise distances estimation in sensor localization .
As we have seen, the extremely large dimension of the optimization variable and the accordingly expensive eigenvalue or singular value decompositions on X form the major computational bottleneck of the convex optimization algorithms. An immediate question might be “Is there a way to directly reduce the dimension of the optimization variable and meanwhile avoid performing the expensive eigenvalue or singular value decompositions?”
Since , the resulting factored problems ()-() involve many fewer variables. Moreover, because the positive semi-definite constraint is removed from () and the nuclear norm in () is replaced by , there is no need to perform an eigenvalue (or a singular value) decomposition in solving the factored problems.
The past two years have seen renewed interest in the Burer-Monteiro factorization for solving low-rank matrix optimization problems . With technical innovations in analyzing the non-convex landscape of the factored objective function, several recent works have shown that with an exact parameterization (i.e., ) the resulting factored reformulation has no spurious local minima or degenerate saddle points . An important implication is that local-search algorithms such as gradient descent and its variants can converge to the global optima with even random initialization .
We generalize this line of work by assuming a general objective function in ()-(), not necessarily coming from a matrix inverse problem. This generality allows us to view the resulting factored problems ()-() as a way to solve the original convex optimization problems to the global optimum, rather than a new modeling method. This perspective, also taken by Burer and Monteiro in their original work , frees us from rederiving the statistical performances of the resulting factored optimization problems. Instead, the statistical performances of the resulting factored optimization problems inherit from that of the original convex optimization problems, whose statistical performance can be analyzed using a suite of powerful convex analysis techniques, which have accumulated from several decades of research. For example, the original convex optimization problems ()-() have information-theoretically optimal sampling complexity , achieve minimax denoising rate and satisfy tight oracle inequalities . Therefore, the statistical performances of the factored optimization problems ()-() share the same theoretical bounds as those of the original convex optimization problems ()-(), as long as we can show that the two problems are equivalent.
In spite of their optimal statistical performance , the original convex optimization problems cannot be scaled to solve the practical problems that originally motivate their development even with specialized first-order algorithms. This was realized since the advent of this field where the low-rank factorization method was proposed as an alternative to convex solvers . When coupled with stochastic gradient descent, low-rank factorization leads to state-of-the-art performance in practical matrix recovery problems . Therefore, our general analysis technique also sheds light on the connection between the geometries of the original convex programs and their non-convex reformulations.
Although the Burer-Monteiro parameterization tremendously reduces the number of optimization variables from to (or to ) when is very small, the intrinsic bi-linearity makes the factored objective functions non-convex and introduces additional critical points that are not global optima of the factored optimization problems. One of our main purposes is to show that these additional critical points will not introduce spurious local minima. More precisely, we want to figure out what properties of the convex function are required for the factored objective functions to have no spurious local minima.
2 Enlightening Examples
To gain some intuition about the properties of such that the factored objective function has no spurious local minima (which is one of the main goals considered in this paper), let us consider the following two examples: Weighted principal component analysis (weighted PCA) and the matrix sensing problem.
Consider the symmetric weighted PCA problem in which the lifted objective function is
where is the Hadamard product, is the global optimum we want to recover and is the known weighting matrix (which is assumed to have no zero entries for simplicity). After applying the Burer-Monteiro parameterization to , we obtain the factored objective function
To investigate the conditions under which the bi-linearity will (not) introduce additional local minima to the factored optimization problems, consider a simple (but enlightening) two-dimensional example where and for unknowns . Then the factored objective function becomes
In this particular setting, we will see that the value of in the weighting matrix is the deciding factor for the occurrence of spurious local minima.
The factored objective function in (1.1) has no spurious local minima when ; while for , spurious local minima will appear.
First of all, we compute the gradient and Hessian :
Now we collect all the critical points by solving and list the Hessian of at these points as followsNote that if is a critical point, so is , since . Hence we only list one part of these critical points.
,
,
,
,
Note that the critical point exists only for . By checking the signs of the two eigenvalues (denoted by and ) of these Hessians, we can further classify these critical points as a local minimum, a local maximum, or a saddle pointThis classification of the critical points using the Hessian information is known as the second derivative test, which says a critical point is a local maximum if the Hessian is negative definite, a local minimum is the Hessian is positive definite, and a saddle point if the Hessian matrix has both positive and negative eigenvalues.:
. So, is a local maximum for and a strict saddle for (see Definition 3).
So, is a local minimum (also a global minimum as ).
. So, is
From the determinant, we have for . So, is a saddle point for .
In this example, the value of controls the dynamic range of the weights as . Therefore, Claim 1 can be interpreted as a relationship between the spurious local minima and the dynamic range: if the dynamic range is smaller than 3, there will be no spurious local minima; while if the dynamic range is larger than 3, spurious local minima will appear. We also plot the landscapes of the factored objective function in (1.1) with different dynamic ranges in Figure 1.
As we have seen, the dynamic range of the weighting matrix serves as a determinant factor for the appearance of the spurious local minima for in (1.1). To extend the above observations to general objective functions, we now interpret this condition (on the dynamic range of the weighting matrix) by relating it with the condition number of the Hessian matrix . This can be seen from the following directional-curvature form for
where is the directional curvature of along the matrix of the same dimension as , defined by This implies that the condition number is upper-bounded by this dynamic range:
Therefore, we conjecture that the condition number of the general convex function would be a deciding factor of the behavior of the landscape of the factored objective function and a large condition number is very likely to introduce spurious local minima to the factored problem.
holds for all matrices with .
Note that the required condition (1.3) essentially says that the condition number of Hessian matrix should be small at least in the directions of the low-rank matrices , since the directional curvature form of is computed as .
From these two examples, we see that as long as the Hessian matrix of the original convex function has a small (restricted) condition number, the resulting factored objective function has a landscape such that all local minima correspond to the globally optimal solution. Therefore, we believe that such a restricted well-conditionedness property might be the key factor bring us a benign factored landscape, i.e.,
which says that the landscape of in the lifted space is bowl-shaped, at least in the directions of low-rank matrices.
3 Our Results
Before presenting the main results, we list a few necessary definitions.
For a twice differentiable function , a critical point is a strict saddle if the Hessian matrix has at least one strictly negative eigenvalue.
A twice differentiable function satisfies strict saddle property if each critical point either corresponds to the local minima or is a strict saddle.
Heuristically, the strict saddle property describes a geometric structure of the landscape: if a critical point is not a local minimum, then it is a strict saddle, which implies that the Hessian matrix at this point has a strictly negative eigenvalue. Hence, we can continue to decrease the function value at this point along the negative-curvature direction. This nice geometric structure ensures that many local-search algorithms, such as noisy gradient descent , vanilla gradient descent with random initialization and the trust region method , can escape from all the saddle points along the directions associated with the Hessian’s negative eigenvalues, and hence converge to a local minimum.
The strict saddle propertyTo be precise, Lee et al. showed that for any function that has a Lipschitz continuous gradient and obeys the strict saddle property, first-order methods with a random initialization almost always escape all the saddle points and converge to a local minimum. The Lipschitz-gradient assumption is commonly adopted for analyzing the convergence of local-search algorithms, and we will discuss this issue after Theorem 3. To obtain explicit convergence rate, other properties (like the gradient at the points that are away from the critical points is not small) about the objective functions may be required . In this paper, similar to , we mostly focus on the properties of the critical points, and we omit the details about the convergence rate. However, we should note that, by utilizing the similar approach in , it is possible to extend the strict saddle property so that we can obtain explicit convergence rate for certain algorithms when applied for solving the factored low-rank problems. allows many local-search algorithms to escape all the saddle points and converge to a local minimum.
Our primary interest is to understand how the original convex landscapes are transformed by the factored parameterization or , particularly how the original global optimum is mapped to the factored space, how other types of critical points are introduced, and what are their properties. To answer these questions and conclude from the previous two examples, we require that the function in ()-() be restricted well-conditionedNote that the constant for the dynamic range in () is not optimized and it is possible to slightly relax this constraint with more sophisticated analysis. However, the example of the weighted PCA in (1.1) implies that the room for improving this constant is rather limited. In particular, Claim 1 and (1.2) indicate that when , the spurious local minima will occur for the weighted PCA in (1.1). Thus, as a sufficient condition for any general objective function to have no spurious local minima, a universal bound on the condition number should be at least no larger than 3, i.e., . Also aside from the lack of spurious local minima, as stated in Theorem 2, the strict saddle property is the other one that needs to be guaranteed.:
We show that as long as the function in the original convex programs satisfies the restricted well-conditioned assumption (), each critical point of the factored programs either corresponds to the low-rank globally optimal solution of the original convex programs or is a strict saddle point where the Hessian matrix has a strictly negative eigenvalue. This nice geometric structure coupled with the powerful algorithmic tools provided in Theorem 1 thus allows simple iterative algorithms to solve the factored programs to a global optimum.
Suppose the objective function satisfies the restricted well-conditioned assumption (). Assume is an optimal solution of () or () with . Set for the factored variables and . Then any critical point (or ) of the factored objective function in ()-() either corresponds to the global optimum such that for () (or for ()) or is a strict saddle point (which includes a local maximum) of .
First note that our result covers both over-parameterization where and exact parameterization where , while most existing results in low-rank matrix optimization problems mainly consider the exact-parameterization case, i.e., , due to the hardness of fulfilling the gap between the metric in the factored space and the one in the lifted space for the over-parameterization case. The geometric property established in the theorem ensures that many iterative algorithms converge to a square-root factor (or a factorization) of , even with random initialization. Therefore, we can recover the rank- global minimizer of ()-() by running local-search algorithms on the factored function (or ) if we know an upper bound on the rank . For problems with additional linear constraints, such as those studied in , one can combine the original objective function with a least-squares term that penalizes the deviation from the linear constraints. As long as the penalization parameter is large enough, the solution is equivalent to that of the constrained minimization problems and hence is also covered by our result.
4 Stylized Applications
Our main result only relies on the restricted well-conditionedness of . Therefore, in addition to low-rank matrix recovery problems , it is also applicable to many other low-rank matrix optimization problems with non-quadratic objective functions, including -bit matrix recovery, robust PCA , and low-rank matrix recovery with non-Gaussian noise . For ease of exposition, we list the following stylized applications regarding the PSD matrices. But we note that the results listed below also hold for the cases where are general nonsymmetric matrices.
Since is a restricted condition number (conditioning on directions of low-rank matrices), which must be no larger than the standard condition number . Thus, together with (1.2), we have
Now we apply Theorem 2 to characterize the geometry of the factored problem of (1.4).
Suppose the weighting matrix has a small dynamic range . Then the objective function of (1.4) with satisfies the strict saddle property and has no spurious local minima.
4.2 Matrix Sensing
We now consider the matrix sensing problem which is presented before in Section 1.2. To apply Theorem 2, we first compare the RIP (1.3) with our restricted well-conditionedness (), which is copied below
Clearly, the restricted well-conditionedness () would hold if the linear measurement operator satisfies the -RIP with a constant such that
Now we can apply Theorem 2 to characterize the geometry of the following matrix sensing problem after the factored parameterization:
Suppose the linear map satisfies the -RIP (1.3) with . Then the objective function of (1.5) with satisfies the strict saddle property and has no spurious local minima.
4.3 1-bit Matrix Completion
1-bit matrix completion, as its name indicates, is the inverse problem of completing a low-rank matrix from a set of 1-bit quantized measurements
One typical choice for is the sigmoid function . To recover , the authors of propose to minimizing the negative log-likelihood function
and show that if , for some small constant , and follows certain random binomial model, solving the minimization of the negative log-likelihood function with some nuclear-norm constraint would be very likely to produce a satisfying approximation to [17, Theorem 1].
However, when is extremely high-dimensional (which is the typical case in practice), it is not efficient to deal with the nuclear norm constraint and hence we propose to minimize the factored formulation of (1.6)
In order to utilize Theorem 2 to understand the landscape of the factored objective function (1.7), we then check the following directional Hessian quadratic from of
For simplicity, consider the case where , i.e., observe full quantized measurements. This will not increase the acquisition cost too much, since each measurement is of 1 bit. Under this assumption, we have
Let Assume is bounded by . Then the negative log-likelihood function (1.6) satisfies the restricted well-conditioned property.
First of all, we claim is an even, positive function and decreasing when . This is because the sigmoid function is odd, by , and for . Therefore, for any we have ∎
Set in (1.7). Then the objective function (1.7) satisfies the strict saddle property and has no spurious local minima in
We remark that such a constraint on is also required in the seminal work , while by using the Burer-Monteiro parameterization, our result removes the time-consuming nuclear norm constraint.
4.4 Robust PCA
4.5 Low-rank Matrix Recovery with Non-Gaussian Noise
Consider the PCA problem where the underlying noise is non-Gaussian:
5 Prior Arts and Inspirations
The past few years have seen a surge of interest in non-convex reformulations of convex optimization problems for efficiency and scalability reasons. However, fully understanding this phenomenon, mainly the landscapes of these non-convex reformulations could be hard. Even certifying the local optimality of a point might be an NP-hard problem . The existence of spurious local minima that are not global optima is a common issue . Also, degenerate saddle points or those surrounded by plateaus of small curvature could also prevent local-search algorithms from converging quickly to local optima . Fortunately, for a range of convex optimization problems, particularly those involving low-rank matrices, the corresponding non-convex reformulations have nice geometric structures that allow local-search algorithms to converge to global optimality. Examples include low-rank matrix factorization, completion and sensing , tensor decomposition and completion , dictionary learning , phase retrieval , and many more. Based on whether smart initializations are needed, these previous works can be roughly classified into two categories. In one case, the algorithms require a problem-dependent initialization plus local refinement. A good initialization can lead to global convergence if the initial iterate lies in the attraction basin of the global optima . For low-rank matrix recovery problems, such initializations can be obtained using spectral methods ; for other problems, it is more difficult to find an initial point located in the attraction basin . The second category of works attempt to understand the empirical success of simple algorithms such as gradient descent , which converge to global optimality even with random initialization . This is achieved by analyzing the objective function’s landscape and showing that they have no spurious local minima and no degenerate saddle points. Most of the works in the second category are for specific matrix sensing problems with quadratic objective functions. Our work expands this line of geometry-based convergence analysis by considering low-rank matrix optimization problems with general objective functions.
In , the authors also considered low-rank and PSD matrix optimization problems with general objective functions. They characterized the local landscape around the global optima, and hence their algorithms require proper initializations for global convergence. We instead characterize the global landscape by categorizing all critical points into global optima and strict saddles. This guarantees that several local-search algorithms with random initialization will converge to the global optima. Another closely related work is low-rank and PSD matrix recovery from linear observations by minimizing the factored quadratic objective function . Low-rank matrix recovery from linear measurements is a particular case of our general objective function framework. Furthermore, by relating the first order optimality condition of the factored problem with the global optimality of the original convex program, our work provides a more transparent relationship between geometries of these two problems and dramatically simplifies the theoretical argument. More recently, the authors of showed that for general SDPs with linear objective functions and linear constraints, the factored problems have no spurious local minimizers. In addition to showing non-existence of spurious local minimizers for general objective functions, we also quantify the curvature around the saddle points, and our result covers both over and exact parameterizations.
The most related work is nonsymmetric matrix sensing from linear observations, which minimizes the factored quadratic objective function . The ambiguity in the factored parameterization
tends to make the factored quadratic objective function badly-conditioned, especially when the matrix or its inverse is close to being singular. To overcome this problem, the regularizer
is proposed to ensure that and have almost equal energy . In particular, with the regularizer in (1.8), it was shown in that with a properly chosen has similar geometric result as the one provided in Theorem 1 for (), i.e., also obeys the strict saddle property. Compared with , our result shows that it is not necessary to introduce the extra regularization (1.8) if we solve () with the factorization approach. Indeed, the optimization form of the nuclear norm implicitly requires and to have equal energy. On the other hand, we stress that our interest is to analyze the non-convex geometry of the convex problem () which as we explained before, has a very nice statistical performance such as it achieves minimax denoising rate . Our geometrical result implies that instead of using convex solvers to solve (), one can turn to apply local-search algorithms to solve its factored problem () efficiently. In this sense, as a reformulation of the convex program (), the non-convex optimization problem () inherits all the statistical performance bounds for (). Cabral et al. worked on a similar problem and showed all global optima of () corresponds to the solution of the convex program (). The work applied the factorization approach to a more broad class of problems. When specialized to matrix inverse problems, their results show that any local minimizer and with zero columns is a global minimum for the over-parameterization case, i.e., . However, there are no results discussing the existence of spurious local minima or the degenerate saddles in these previous works. We extend these works and further prove that as long as the loss function is restricted well-conditioned, all local minima are global minima and there are no degenerate saddles with no requirement on the dimension of the variables. We finally note that compared with , our result (Theorem 2) does not depend on the existence of zero columns at the critical points and hence can provide guarantees for many local-search algorithms.
6 Notations
Problem Formulation
This work considers two problems: (i) the minimization of a general convex function with the domain being positive semi-definite matrices; (ii) the minimization of a general convex function regularized by the matrix nuclear norm with the domain being general matrices. Let be an optimal solution of () or () of rank . To develop faster and scalable algorithms, we apply Burer-Monteiro style parameterization to the low-rank optimization variable in ()-():
Inspired by the lifting technique in constructing SDP relaxations, we refer to the variable as the lifted variable, and the variables as the factored variables. Similar naming conventions apply to the optimization problems, their domains, and objective functions.
First the restricted well-conditionedness assumption reduces to (1.3) when the objective function is quadratic. Moreover, the restricted well-conditioned assumption () shares a similar spirit with (1.3) in that the operator preserves geometric structure for low-rank matrices:
Let satisfy the restricted well-conditionedness assumption (). Then
for any matrices of rank at most .
We extend the argument in to a general function . If either or is zero, (2.1) holds since both sides are . For nonzero and , we can assume without loss of generalityOtherwise, we can divide both sides of the equation (2.1) by and use the homogeneity to get an equivalent version of Proposition 1 with and , i.e., .. Then the assumption () implies
We complete the proof by dividing both sides by :
where in the last inequality we use the assumption that ∎
Another immediate consequence of this assumption is that if the original convex program () has an optimal solution with , then there is no other optimum of () of rank less than or equal to :
Suppose the function satisfies the restricted well-conditionedness (). Let be an optimum of () with . Then is the unique global optimum of () of rank at most .
For the sake of a contradiction, suppose there exists another optimum of () with and . We begin with the second order Taylor expansion, which reads
for some . The KKT conditions for the convex optimization problem () states that and , implying that the second term in the above Taylor expansion
since is feasible and hence PSD. Further, since and similarly , then from the restricted well-conditionedness assumption () we have
Combining all, we obtain a contradiction when :
where the second inequality follows from the optimality of and the third inequality holds for any . ∎
At a high-level, the proof essentially depends on the restricted strongly convexity of the objective function of the convex program (), which is guaranteed by the restricted well-conditionedness assumption () on . The similar argument holds for () by noting that the sum of a (restricted) strongly convex function and a standard convex function is still (restricted) strongly convex. However, showing this requires a slightly more complicated argument due to the non-smoothness of around those nonsingular matrices. Mainly, we need to use the concept of subgradient.
Suppose the function satisfies the restricted well-conditionedness (). Let be a global optimum of () with . Then is the unique global optimum of () of rank at most .
For the sake of contradiction, suppose that there exists another optimum of () with and . We begin with the second order Taylor expansion of , which reads
for some . From the convexity of , for any , we also have
where ① holds for any . For ②, we use fact that for any convex functions to obtain that , which includes since is a global optimum of (). Therefore, ② follows by choosing such that . ③ uses the restricted well-conditionedness assumption () as and . ④ comes from the assumption that both and are global optimal solutions of (). ⑤ uses the assumption that ∎
Understanding the Factored Landscapes for PSD Matrices
In the convex program (), we minimize a convex function over the PSD cone. Let be an optimal solution of () of rank . We re-parameterize the low-rank PSD variable as
Our primary interest is to understand how the landscape of the lifted objective function is transformed by the factored parameterization , particularly how its global optimum is mapped to the factored space, how other types of critical points are introduced, and what their properties are.
We show that if the function is restricted well-conditioned, then each critical point of the factored objective function in () either corresponds to the low-rank global solution of the original convex program () or is a strict saddle where the Hessian has a strictly negative eigenvalue. This implies that the factored objective function satisfies the strict saddle property.
Suppose the function in () is twice continuously differentiable and is restricted well-conditioned (). Assume is an optimal solution of () with . Set in (). Let be any critical point of satisfying . Then either corresponds to a square-root factor of , i.e.,
with denoting the smallest nonzero singular value of its argument. This further implies
Several remarks follow. First, the matrix is the direction from the saddle point to its closest globally optimal factor of the same dimension as . Second, our result covers both over-parameterization where and exact parameterization where . Third, we can recover the rank- global minimizer of () by running local-search algorithms on the factored function if we know an upper bound on the rank . In particular, to apply the results in where the first-order algorithms are proved to escape all the strict saddles, aside from the strict saddle property, one needs to have a Lipschitz continuous gradient, i.e., or for some positive constant (also known as the Lipschitz constant). As indicated by the expression of in (3.5), it is possible that one can not find such a constant for the whole space. Similar to which considers the low-rank matrix factorization problem, suppose the local-search algorithm starts at and sequentially decreases the objective value (which is true as long as the algorithm obeys certain sufficient decrease property ). Then it is adequate to focus on the sublevel set of
and show that has a Lipschitz gradient on . This is formally established in Proposition 4, whose proof is given in Appendix A.
Under the same setting as in Theorem 3, for any initial point , on defined in (3.1) has a Lipschitz continuous gradient with the Lipschitz constant
where denotes the smallest nonzero singular value of its argument.
2 Metrics in the Lifted and Factored Spaces
Before continuing this geometry-based argument, it is essential to have a good understanding of the domain of the factored problem and establish a metric for this domain. Since for any , where , the domain of the factored objective function is stratified into equivalence classes and can be viewed as a quotient manifold . The matrices in each of these equivalence classes differ by an orthogonal transformation (not necessarily unique when the rank of is less than ). One implication is that, when working in the factored space, we should consider all factorizations of
A second implication is that when considering the distance between two points and , one should use the distance between their corresponding equivalence classes:
An optimal solution for the orthogonal Procrustes problem:
In particular, when one matrix is of full rank, we have a similar but tighter result to relate these two distances.
3 Proof Idea: Connecting the Optimality Conditions
The proof is inspired by connecting the optimality conditions for the two programs () and (). First of all, as the critical points of the convex optimization problem (), they are global optima and are characterized by the necessary and sufficient KKT condition
The factored optimization problem () is unconstrained, with the critical points being specified by the zero gradient condition
To classify the critical points of (), we compute the Hessian quadratic form as
Roughly speaking, the Hessian quadratic form has two terms – the first term involves the gradient of and the Hessian of , while the second term involves the Hessian of and the gradient of . Since , the gradient of is the linear operator and the Hessian bilinear operator applies as . Note in (3.5) the second quadratic form is always nonnegative since due to the convexity of .
For any critical point of , the corresponding lifted variable is PSD and satisfies . On one hand, if further satisfies , then in view of the KKT conditions (3.3) and noting , we must have , the global optimum of (). On the other hand, if , implying due to the necessity of (3.3), then additional critical points can be introduced into the factored space. Fortunately, also implies that the first quadratic form in (3.5) might be negative for a properly chosen direction . To sum up, the critical points of can be classified into two categories: the global optima in the optimal factor set with and those with . For the latter case, by choosing a proper direction , we will argue that the Hessian quadratic form (3.5) has a strictly negative eigenvalue, and hence moving in the direction of in a short distance will decrease the value of , implying that they are strict saddles and are not local minima.
Plugging this choice of into the first term of (3.5), we simplify it as
where both the second line and last line follow from the critical point property . To gain some intuition on why (3.3) is negative while the second term in (3.5) remains small, we consider a simple example: the matrix PCA problem.
Consider the PCA problem for symmetric PSD matrices
where is a symmetric PSD matrix of rank . Trivially, the optimal solution is . Now consider the factored problem
Since , by (3.3), the first term of in (3.5) becomes
which is strictly negative when .
This means forms an eigenvalue-eigenvector pair of for each . Consequently,
Hence is simply determined by its first term
where the second line follows from Lemma 3 and the last line follows from the fact that all the eigenvalues of come from those of . Finally, we obtain the desired strict saddle property of :
This simple example is ideal in several ways, particularly the gradient , which directly establishes the negativity of the first term in (3.5); and by choosing and using , the second term vanishes. Neither of these simplifications hold for general objective functions . However, the example does suggest that the direction is a good choice to show . For a formal proof, we will also use the direction to show that those critical points not corresponding to have a negative directional curvature for the general factored objective function
4 A Formal Proof of Theorem 3
We present a formal proof of Theorem 3 in this section. The main argument involves showing each critical point of either corresponds to the optimal solution or its Hessian matrix has at least one strictly negative eigenvalue. Inspired by the discussions in Section 3.3, we will use the direction and show that the Hessian has a strictly negative directional curvature in the direction of , i.e.,
We first list two lemmas. The first lemma separates into two terms: and with being the projection matrix onto . It is crucial for the first term to have a small coefficient. In the second lemma, we will further control the second term as a consequence of being a critical point. The proof of Lemma 5 is given in Section C.
Next, we control the distance between and the global solution when is a critical point of the factored objective function , i.e., . The proof, given in Section D, relies on writing and applying Proposition 1.
Suppose the objective function in () is twice continuously differentiable and satisfies the restricted well-conditionedness assumption (). Further, let be any critical point of () and be the orthonormal basis spanning . Then
In the following, we will bound and , respectively.
where ① follows from the Taylor’s Theorem for vector-valued functions [39, Eq. (2.5) in Theorem 2.1], and ② follows from the restricted strong convexity assumption () since the PSD matrix has rank of at most and
Then, we relate the lifted distance with the factored distance using Lemma 3 when , and Lemma 4 when , respectively:
For the special case where , we have
and the last line follows from when Here denotes the -th largest singular value of its argument. ∎
Understanding the Factored Landscapes for General Non-square Matrices
In this section, we will study the second convex program (): the minimization of a general convex function regularized by the matrix nuclear norm with the domain being general matrices. Since the matrix nuclear norm appears in the objective function, the standard convex solvers or even faster tailored ones require performing singular value decomposition in each iteration, which severely limits the efficiency and scalability of the convex program. Motivated by this, we will instead solve its Burer-Monteiro re-parameterized counterpart.
Recall the second problem is the nuclear norm regularization ():
This convex program has an equivalent SDP formulation [43, page 8]:
When the PSD constraint is implicitly enforced as the following equality constraint
we obtain the Burer-Monteiro factored reformulation ():
The factored formulation () can potentially solve the computational issue of () in two major respects: (i) avoiding expensive SVDs by replacing the nuclear norm with the squared term ; (ii) a substantial reduction in the number of the optimization variables from to .
2 Transforming the Landscape for General Non-square Matrices
Our primary interest is to understand how the landscape of the lifted objective function is transformed by the factored parameterization . The main contribution of this part is establishing that under the restricted well-conditionedness of the convex loss function , the factored formulation () has no spurious local minima and satisfies the strict saddle property.
Suppose the function satisfies the restricted well-conditioned property (). Assume that of rank is an optimal solution of () where . Set in the factored program (). Let be any critical point of satisfying . Then either corresponds to a factorization of , i.e.,
or is a strict saddle of the factored problem:
where and is the smallest nonzero singular value of .
Theorem 4 ensures that many local-search algorithmsThe Lipschitz gradient of at any its sublevel set can be obtained with similar approach for Proposition 4. when applied for solving the factored program (), can escape from all the saddle points and converge to a global solution that corresponds to . Several remarks follow.
Although the generalization from the PSD case might not seem technically challenging at first sight, we must overcome several technical difficulties to prove this main theorem. We make a few other technical contributions in the process. In fact, the non-triviality of extending to the nonsymmetric case is also highlighted in . The major technique difficulty to complete such an extension is the ambiguity issue existed in the nonsymmetric case: for any nonzero . This tends to make the factored quadratic objective function badly-conditioned, especially when is very large or small. To prevent this from happening, a popular strategy utilized to adapt the result for the symmetric case to the non-symmetric case is to introduce an additional balancing regularization to ensure that and have equal energy . Sometimes these additional regularizations are quite complicated (see Eq. (13)-(15) in ). Instead, we find for nuclear norm regularized problems, the critical points are automatically balanced even without these additional complex balancing regularizations (see Section 4.4 for details). In addition, by connecting the optimality conditions of the convex program () and the factored program (), we dramatically simplify the proof argument, making the relationship between the original convex problem and the factored program more transparent.
We try to understand how the parameterization transforms the geometric structures of the convex objective function by categorizing the critical points of the non-convex factored function . In particular, we will illustrate how the globally optimal solution of the convex program is transformed in the domain of . Furthermore, we will explore the properties of the additional critical points introduced by the parameterization and find a way of utilizing these properties to prove the strict saddle property. For those purposes, the optimality conditions for the two programs () and () will be compared.
3 Optimality Condition for the Convex Program
As an unconstrained convex optimization, all critical points of () are global optima and are characterized by the necessary and sufficient KKT condition :
where denotes the subdifferential (the set of subgradient) of the nuclear norm evaluated at . The subdifferential of the matrix nuclear norm is defined by
Combining this representation of the subdifferential and the KKT condition (4.3) yields an equivalent expression for the optimality condition
where we assume the compact SVD of is given by
Consequently, with the optimal factors defined in (4.5), we can rewrite the optimal condition (4.4) as
Stacking as and defining
yields a more concise form of the optimality condition:
4 Characterizing the Critical Points of the Factored Program
To begin with, the gradient of can be computed and rearranged as
where the last equality follows from the definition (4.7) of . Therefore, all critical points of can be characterized by the following set
We will see that any critical point forms an balanced pair, which is defined as follows:
We call is a balanced pair if the Gram matrices of and are the same: All the balanced pairs form the balanced set, denoted by
By Definition 5, to show that each critical point forms an balanced pair, we rely on the following fact:
Now we are ready to relate the critical points and balanced pairs, the proof of which is given in Appendix E.
Any critical point forms a balanced pair in
In this part, we introduce some important properties of the balanced set . These properties basically compare the on-diagonal-block energy and the off-diagonal-block energy for a certain block matrix. Hence, it is necessary to introduce two operators defined on block matrices:
According to the definitions of and in (4.11), when and are acting on the product of two block matrices ,
Now, we are ready to present the properties regarding the set in Lemma 7 and Lemma 8, whose proofs are given in Appendix F and Appendix G, respectively.
Let with . Then for every of proper dimension, we have
Let , with . Then
5 Proof Idea: Connecting the Optimality Conditions
First observe that each in (4.5) is a global optimum for the factored program (we prove this in Appendix H):
Any in (4.5) is a global optimum of the factored program ():
However, due to non-convexity, only characterizing the global optima is not enough for the factored program to achieve the global convergence by many local-search algorithms. One should also eliminate the possibility of the existence of spurious local minima or degenerate saddles. For this purpose, we focus on the critical point set and observe that any critical point of the factored problem satisfies the first part of the optimality condition (4.8):
Therefore, it remains to study the additional critical points (which are introduced by the parameterization ) that violate . In fact, we intend to show the following: for any critical point , if , we can find a direction , in which the Hessian has a strictly negative curvature for some . Hence, every critical point either corresponds to the global optimum , or is a strict saddle point.
where the second term is always nonnegative by the convexity of . The sign of the first term depends on the positive semi-definiteness of , which is related to the boundedness condition through the Schur complement theorem [8, A.5.5]:
Equivalently, whenever , we have . Therefore, for those non-globally optimal critical points , it is possible to find a direction such that the first term is strictly negative. Inspired by the weighted PCA example, we choose as the direction from the critical point to the nearest globally optimal factor with , i.e.,
6 A Formal Proof of Theorem 4
Suppose the function in () is restricted well-conditioned (). Let with , correspond to the global optimum of () and be the orthogonal projector onto . Then
where ① follows from and (4.9). For ②, we note that since in (4.8) and by the optimality condition. For ③, we first use for convenience and then it follows from the Taylor’s Theorem for vector-valued functions [39, Eq. (2.5) in Theorem 2.1]:
where ④ uses the restricted well-conditionedness () since , and ⑤ comes from Lemma 8 and the fact . ⑥ follows from Lemma 7. ⑦ first uses Lemma 5 to bound since and then uses Lemma 9 to further bound . ⑧ holds when . ⑨ uses the similar argument as in the proof of Theorem 3 to relate the lifted distance and factored distance. Particularly, three possible cases are considered: (i) ; (ii) ; (iii) . We apply Lemma 3 to Case (i) and Lemma 4 to Case (ii). For the third case that , we obtain from ⑧ that
where the last equality follows from because
The final result follows from the the definition of in (4.5):
Conclusion
In this work, we considered two popular minimization problems: the minimization of a general convex function with the domain being positive semi-definite matrices; the minimization of a general convex function regularized by the matrix nuclear norm with the domain being general matrices. To improve the computational efficiency, we applied the Burer-Monteiro re-parameterization and showed that, as long as the convex function is (restricted) well-conditioned, the resulting factored problems have the following properties: each critical point either corresponds to a global optimum of the original convex programs, or is a strict saddle where the Hessian matrix has a strictly negative eigenvalue. Such a benign landscape then allows many iterative optimization methods to escape from all the saddle points and converge to a global optimum with even random initializations.
Appendix A Proof of Proposition 4
To that end, we first show that for any , is upper-bounded. Let and consider the following second-order Taylor expansion of
with the second inequality following from the assumption . Thus, we have
Now we are ready to show the Lipschitz gradient for at :
Here, the last second line follows from (A.1) and (A.2). This concludes the proof of Proposition 4.
Appendix B Proof of Lemma 3
Let , and their full eigenvalue decompositions be
where and are the eigenvalues in decreasing order. Since and , we have for and for . We compute as follows
where ① uses the fact with being an orthonormal basis and similarly . ② is by firstly an exchange of the summations, secondly the fact that for and for , and thirdly completing squares. ③ is because and are sorted in decreasing order. ④ follows from ② and that and are eigenvalues of and , the matrix square root of and , respectively.
Finally, we can conclude the proof as long as we can show the following inequality:
By expanding in (B.1) and noting that and , (B.1) reduces to
This proves (B.2) and hence completes the proof of Lemma 3.
Appendix C Proof of Lemma 5
so is the orthogonal projector onto and is the orthogonal projector onto the orthogonal complement of . Then
where ① is by expressing as the sum of two orthogonal factors and . ② is because . ③ uses Lemma 10 by noting that satisfying the assumptions of Lemma 10. ④ uses the fact that . ⑤ uses the following basic inequality that
where and
The remaining steps involve showing the following bounds:
This is because when plugging these bounds (C.2)-(C.4) into (C.1), we can obtain the desired result:
where ① follows from the idempotence property that ② follows from . ③ follows from the nonexpansiveness of projection operator: .
The argument here is pretty similar to that for (C.2):
where ① is by . ② uses the nonexpansiveness of projection operator and
First by expanding using inner products, (C.4) is equivalent to the following inequality
where we use the idempotence and nonexpansiveness property of the projection matrix in the second line. Plugging these to (C.5), we find (C.5) reduces to
where ① is by (C.7) and ② uses the assumption that In ③, we define . ⑤ is because due to the rotational invariance of ④ is because
where the second line follows from the symmetric property of since and . ∎
Appendix D Proof of Lemma 6
Let and We start with the critical point condition which implies
where ① uses the Taylor’s Theorem for vector-valued functions [39, Eq. (2.5) in Theorem 2.1]. ② uses Proposition 1 by noting that the PSD matrix has rank at most for all and . ③ is by choosing ④ follows from since
where (i) follows from since is the orthogonal projector onto . (ii) uses the fact that
and (iii) is because .
Appendix E Proof of Proposition 5
For any critical point , we have
where . Further denote . Then
where ① follows from and ② follows from . ③ follows by plugging the definitions of and into the second line. ④ follows from direct computations. ⑤ holds since
Appendix F Proof of Lemma 7
By performing the following change of variables
since from (4.10).
Appendix G Proof of Lemma 8
To begin with, we define , . Then
where ① is due to the linearity of and . ② follows from (4.12). ③ is by expanding . ④ comes from (4.10) that
Appendix H Proof of Proposition 6
where ① uses the definitions of and in (4.5). ② uses the rotational invariance of ③ is because
where ① comes from the optimality of for (). ② is by choosing ③ is because by the optimization formulation of the matrix nuclear norm [43, Lemma 5.1] that
Appendix I Proof of Lemma 9
where the fifth line follows from the Taylor’s Theorem for vector-valued functions [39, Eq. (2.5) in Theorem 2.1] and for convenience in the fifth and sixth lines. Then, from Proposition 1 and Eq. (4.12), we have
The remaining steps are choosing and showing the following
Then plugging (I.2)-(I.4) into (I.1) yields the desired result:
Choosing and noting that , we have . Then
where the second equality holds since and by (4.8). The inequality is due to .
First recognize that Then
where the first equality uses (4.10) and the inequality is because
Plugging gives
which is obviously no larger than by the definition of the operation .