Complete Dictionary Recovery over the Sphere II: Recovery by Riemannian Trust-region Method
Ju Sun, Qing Qu, John Wright
I Introduction
Recently, there is a surge of research studying nonconvex formulations and provable algorithms for a number of central problems in signal processing and machine learning, including, e.g., low-rank matrix completion/recovery , phase retreival , tensor recovery , mixed regression , structured element pursuit , blind deconvolution , noisy phase synchronization and community detection , deep learning , numerical linear algebra and optimization . The research efforts are fruitful in producing more practical and scalable algorithms and even significantly better performance guarantees than known convex methods.
where is a proxy of (i.e., after appropriate processing), is the -th column of , and is a (convex) smooth approximation to the absolute-value function. The spherical constraint renders the problem nonconvex.
Despite the apparent nonconvexity, our prior analysis in has showed that all local minimizers of (I.1) are qualitatively equally good, because each of them produces a close approximation to certain row of (Corollary II.4 in ). So the central issue is how to escape from saddle points. Fortunately, our previous results (Theorem II.3 in ) imply that all saddle points under consideration are ridable, i.e., the associated Hessians have both strictly positive and strictly negative values (see the recapitulation in Section II-B). Particularly, eigenvectors of the negative eigenvalues are direction of negative curvature, which intuitively serve as directions of local descent.
Second-order methods can naturally exploit the curvature information to escape from ridable saddle points. To gain some intuition, consider an unconstrained optimization problem
The second-order Taylor expansion of at a saddle point is
Thus, minimizing returns a direction that tends to decrease the objective , provided local approximation of to is reasonably accurate. Based on this intuition, we derive a (second-order) Riemannian trust-region algorithm that exploits the second-order information to escape from saddle points and provably returns a local minimizer to (I.1), from arbitrary initializations. We provide rigorous guarantees for recovering a local minimizer in Section II.
Obtaining a local minimizer only helps approximate one row of . To recover the row, we derive a simple linear programming rounding procedure that provably works. To recover all rows of , one repeats the above process based on a carefully designed deflation process. The whole algorithmic pipeline and the related recovery guarantees are provided in Section III. Particularly, we show that when is reasonably large, with high probability (w.h.p.), our pipeline efficiently recovers and , even when each column of contains nonzeros.
In Section II.E of the companion paper , we provide detailed comparisons of our results with prior theoretical results on DR; we conclude that this is the first algorithmic framework that guarantees efficient recovery of complete dictionaries when the coefficients have up to constant fraction of nonzeros. We also draw methodological connections to work on understanding nonconvex heuristics, and other nonconvex problems with similar geometric structures. Here we focus on drawing detailed connections to the optimization literature.
Trust-region method (TRM) has a rich history dating back to 40’s; see the monograph for accounts of the history and developments. The main motivation for early developments was to address limitations of the classic Newton’s method (see, e.g., Section 3 of ). The limitations include the technical subtleties to establish local and global convergence results. Moreover, when the Hessian is singular or indefinite, the movement direction is either not well-defined, or does not improve the objective function. initialized the line of work that addresses the limitations. Particularly, proposed using local second-order Taylor approximation as model function in the trust-region framework for unconstrained optimization. They showed that under mild conditions, the trust-region iterate sequence has a limit point that is critical and has positive semidefinite Hessian; see also Section 6.5-6.6 of . Upon inspecting the relevant proofs, it seems not hard to strengthen the results to sequence convergence to local minimizers, under a ridable saddle condition as ours, for unconstrained optimization.
Research activities to port theories and algorithms of optimization in Euclidean space to Riemannian manifolds are best summarized by three monographs: . developed Newton and conjugate-gradient methods for the Stiefel manifolds, of which the sphere is a special case; presents a complete set of first- and second-order Riemannian algorithms and convergence analyses; see also the excellent associated optimization software toolbox . Among these, trust-region method was first ported to the Riemannian setting in , with emphasis on efficient implementation which only approximately solves the trust-region subproblem according to the Cauchy point scheme. The Cauchy point definition adopted there was the usual form based on the gradient, not strong enough to ensure the algorithm escape from ridable saddle points even if the true Hessian is in use in local approximation. In comparison, in this work we assume that the trust-region subproblem is exactly solved, such that ridable saddles (the only possible saddles for our problem) are properly skipped. By this, we obtain the strong guarantee that the iterate sequence converges to a local minimizer, in contrast to the weak global convergence (gradient sequence converging to zero) or local convergence (sequence converging to a local minimizer within a small radius) established in . To the best of our knowledge, our convergence result is first of its kind for a specific problem on sphere. After our initial submission, has recently established worst-case iteration complexity of Riemannian TRM to converge to second-order critical points (i.e., critical points with positive semidefinite Hessians), echoing the results in the Euclidean case . Their results are under mild Lipschitz-type assumptions and allow inexact subproblem solvers, and hence are very practical and general. However, on our particular problem, their result is considerably pessimistic, compared to our convergence result obtained from a specialized analysis.
Solving the trust-region subproblem exactly is expensive. Practically, often a reasonable approximate solution with controlled quality is adequate to guarantee convergence. In this regard, the truncated conjugate gradient (tCG) solver with a good initial search direction is commonly employed in practice (see, e.g., Section 7.5 in ). To ensure ridable saddle points be properly escaped from, the eigenpoint idea (see, e.g., Section 6.6 of ) is particularly relevant; see also Algorithm 3 and Lemma 10 in .
The benign function landscape we characterized in the first paper allows any reasonable iterative method that is capable of escaping from ridable saddles to find a local minimizer, with possibly different performance guarantees. The trust-region method we focus on here, and the curviliear search method are second-order methods that guarantee global optimization from arbitrary initializations. Typical first-order methods such as the vanilla gradient descent can only guarantee convergence to a critical point. Nonetheless, for our particular function, noisy/stochastic gradient method guarantees to find a local minimizer from an arbitrary initialization with high probability .
I-B Notations, and Reproducible Research
The codes to reproduce all the figures and experimental results are available online:
II Finding One Local Minimizer via the Riemannian Trust-Region Method
We are interested to seek a local minimizer of (I.1). The presence of saddle points have motivated us to develop a second-order Riemannian trust-region algorithm over the sphere; the existence of descent directions at nonoptimal points drives the trust-region iteration sequence towards one of the minimizers asymptotically. We will prove that under our modeling assumptions, this algorithm with an arbitrary initialization efficiently produces an accurate approximationBy “accurate” we mean one can achieve an arbitrary numerical accuracy with a reasonable amount of time. Here the running time of the algorithm is on the order of in the target accuracy , and polynomial in other problem parameters. to one of the minimizers. Throughout the exposition, basic knowledge of Riemannian geometry is assumed. We will try to keep the technical requirement minimal possible; the reader can consult the excellent monograph for relevant background and details.
defines a smooth curve on the sphere that satisfies and . Geometrically, is a segment of the great circle that passes and has as its tangent vector at . The exponential map for is defined as
It is a canonical way of pulling to the sphere.
Thus, the above quadratic approximation can be rewritten compactly as
If is positive semidefinite and has “full rank” (hence “nondegenerate”Note that the matrix has rank at most , as the nonzero obviously is in its null space. When has rank , it has no null direction in the tangent space. Thus, in this case it acts on the tangent space like a full-rank matrix. ), the unique solution is
II-B The Geometric Results from [3]
Geometrically, this corresponds to projection of the function above the equatorial section onto (see Fig. 2 (right) for illustration). In particular, we focus our attention to the smaller set of the ball:
Suppose and hence . There exist positive constants and , such that for any and , whenever
the following hold simultaneously with probability at least :
and the function has exactly one local minimizer over the open set , which satisfies
Here through are all positive constants.
Recall that the reason we just need to characterize the geometry for the case is that for other orthogonal , the function landscape is simply a rotated version of that of .
Suppose is complete with its condition number . There exist positive constants (particularly, the same constant as in Theorem II.1) and , such that for any and , when
and , , the following hold simultaneously with probability at least :
and the function has exactly one local minimizer over the open set , which satisfies
Here are both positive constants.
It is very easy to verify the following fact (see proof of Lemma II.13 on page VI-G):
II-C The Riemannian Trust-Region Algorithm over the Sphere
Solution to (II.21) can then be recovered as .
The problem (II.23) is an instance of the classic trust region subproblem, i.e., minimizing a quadratic function subject to a single quadratic constraint. Albeit potentially nonconvex, this notable subproblem can be solved in polynomial time by several numerical methods . Approximate solution of the subproblem suffices to guarantee convergence in theory, and lessens the storage and computational burden in practice. We will deploy the approximate version in simulations. For simplicity, however, our subsequent analysis assumes the subproblem is solved exactly. We next briefly describe how one can deploy the semidefinite programming (SDP) approach to solve the subproblem exactly. This choice is due to the well-known effectiveness and robustness of the SDP approach on this problem. We introduce
where and . The resulting SDP to solve is
where . Once the problem (II.27) is solved to its optimum , one can provably recover the minimizer of (II.23) by computing the SVD of , and extract as a subvector the first coordinates of the principal eigenvector (see Appendix B of ).
II-D Main Convergence Results
Using general convergence results on Riemannian TRM (see, e.g., Chapter 7 of ), it is not difficult to prove that the gradient sequence produced by TRM converges to zero (i.e., global convergence), or the sequence converges (at quadratic rate) to a local minimizer if the initialization is already close a local minimizer (i.e., local convergence). In this section, we show that under our probabilistic assumptions, these results can be substantially strengthened. In particular, the algorithm is guaranteed to produce an accurate approximation to a local minimizer of the objective function, in a number of iterations that is polynomial in the problem size, from arbitrary initializations. The arguments in the companion paper showed that w.h.p. every local minimizer of produces a close approximation to a row of . Taken together, this implies that the algorithm efficiently produces a close approximation to one row of .
Thorough the analysis, we assume the trust-region subproblem is exactly solved and the step size parameter is fixed. Our next two theorems summarize the convergence results for orthogonal and complete dictionaries, respectively.
Suppose the dictionary is orthogonal. There exists a positive constant , such that for all and , whenever
with probability at least the Riemannian trust-region algorithm with input data matrix , any initialization on the sphere, and a step size satisfying
iterations. Here is as defined in Theorem II.1, and through are all positive constants.
Suppose the dictionary is complete with condition number . There exists a positive constant , such that for all , and , whenever
with probability at least the Riemannian trust-region algorithm with input data matrix where , any initialization on the sphere and a step size satisfying
iterations. Here is as in Theorem II.1, and through are all positive constants.
Our convergence result shows that for any target accuracy the algorithm terminates within polynomially many steps. Specifically, the first summand in (II.29) or (II.31) is the number of steps the sequence takes to enter the strongly convex region and be “reasonably” close to a local minimizer. All subsequent trust-region subproblems are then unconstrained (proved below) – the constraint is inactive at optimal point, and hence the steps behave like Newton steps. The second summand reflects the typical quadratic local convergence of the Newton steps.
Our estimate of the number of steps is pessimistic: the running time is a relatively high-degree polynomial in and . We will discuss practical implementation details that help speed up in Section IV. Our goal in stating the above results is not to provide a tight analysis, but to prove that the Riemannian TRM algorithm finds a local minimizer in polynomial time. For nonconvex problems, this is not entirely trivial – results of show that in general it is NP-hard to find a local minimizer of a nonconvex function.
II-E Sketch of Proof for Orthogonal Dictionaries
Note that for any orthogonal , . In words, this is the established fact that the function landscape of is a rotated version of that of . Thus, any local minimizer of is rotated to , a local minimizer of . Also if our algorithm generates iteration sequence for upon initialization , it will generate the iteration sequence for . So w.l.o.g. it is adequate that we prove the convergence results for the case . So in this section (Section II-E), we write to mean .
We partition the sphere into three regions, for which we label as , , , corresponding to the strongly convex, nonzero gradient, and negative curvature regions, respectively (see Theorem II.1). That is, consists of a union of spherical caps of radius , each centered around a signed standard basis vector . consist of the set difference of a union of spherical caps of radius , centered around the standard basis vectors , and . Finally, covers the rest of the sphere. We say a trust-region step takes an step if the current iterate is in ; similarly for and steps. Since we use the geometric structures derived in Theorem II.1 and Corollary II.2 in , the conditions
At step of the algorithm, suppose is the minimizer of the trust-region subproblem (II.21). We call the step “constrained” if (the minimizer lies on the boundary and hence the constraint is active), and call it “unconstrained” if (the minimizer lies in the relative interior and hence the constraint is not in force). Thus, in the unconstrained case the optimality condition is (II.6).
The next lemma provides some estimates about and that are useful in various contexts.
We have the following estimates about and :
Our next lemma says if the trust-region step size is small enough, one Riemannian trust-region step reduces the objective value by a certain amount when there is any descent direction.
where and , , , are the quantities defined in Lemma II.5.
To show decrease in objective value for and , now it is enough to exhibit a descent direction for each point in these regions. The next two lemmas help us almost accomplish the goal. For convenience again we choose to state the results for the “canonical” section that is in the vicinity of and the projection map , with the idea that similar statements hold for other symmetric sections.
One can take as shown in Theorem II.1, and take the Lipschitz results in Proposition B.4 and Proposition B.3 (note that w.h.p. by Lemma B.6), repeat the argument for other symmetric regions, and conclude that w.h.p. the objective value decreases by at least a constant amount. The next proposition summarizes the results.
Assume (II.32). In regions and , each trust-region step reduces the objective value by at least
where to are positive constants, and is as defined in Theorem II.1.
We only consider the symmetric section in the vicinity of and the claims carry on to others by symmetry. If the current iterate is in the region , by Theorem II.1, w.h.p., we have for the constant . By Proposition B.4 and Lemma B.6, w.h.p., is -Lipschitz. Therefore, By Lemma II.6 and Lemma II.7, a trust-region step decreases the objective value by at least
Similarly, if is in the region , by Proposition B.3, Theorem II.1 and Lemma B.6, w.h.p., is -Lipschitz and upper bounded by . By Lemma II.6 and Lemma II.8, a trust-region step decreases the objective value by at least
It can be easily verified that when obeys (II.33), (II.34) holds. ∎
The analysis for is slightly trickier. In this region, near each local minimizer, the objective function is strongly convex. So we still expect each trust-region step decreases the objective value. On the other hand, it is very unlikely that we can provide a universal lower bound for the amount of decrease - as the iteration sequence approaches a local minimizer, the movement is expected to be diminishing. Nevertheless, close to the minimizer the trust-region algorithm takes “unconstrained” steps. For constrained steps, we will again show reduction in objective value by at least a fixed amount; for unconstrained step, we will show the distance between the iterate and the nearest local minimizer drops down rapidly.
The next lemma concerns the function value reduction for constrained steps.
where is defined the same as Lemma II.6.
The next lemma provides an estimate of . Again we will only state the result for the “canonical” section with the “canonical” mapping.
There exists a positive constant , such that for all and , whenever , it holds with probability at least that for all with ,
Here is as in Theorem II.1 and Theorem II.2, and is another constant.
We know that w.h.p., and hence by the definition of Riemannian Hessian and Lemma II.5,
Combining this estimate and Lemma II.11 and Lemma II.6, we obtain a concrete lower bound for the reduction of objective value for each constrained step.
Assume (II.32). Each constrained trust-region step (i.e., ) reduces the objective value by at least
Here is as in Theorem II.1 and Theorem II.2, and are positive constants.
We only consider the symmetric section in the vicinity of and the claims carry on to others by symmetry. We have that w.h.p.
Combining these estimates with Lemma II.6 and Lemma II.10, one trust-region step will find next iterate that decreases the objective value by at least
Finally, by the condition on in (II.36) and the assumed conditions (II.32), we obtain
By the proof strategy for we sketched before Lemma II.10, we expect the iteration sequence ultimately always takes unconstrained steps when it moves very close to a local minimizer. We will show that the following is true: when is small enough, once the iteration sequence starts to take unconstrained step, it will take consecutive unconstrained steps afterwards. It takes two steps to show this: (1) upon an unconstrained step, the next iterate will stay in . It is obvious we can make to ensure the next iterate stays in . To strengthen the result, we use the gradient information. From Theorem II.1, we expect the magnitudes of the gradients in to be lower bounded; on the other hand, in where points are near local minimizers, continuity argument implies that the magnitudes of gradients should be upper bounded. We will show that when is small enough, there is a gap between these two bounds, implying the next iterate stays in ; (2) when is small enough, the step is in fact unconstrained. Again we will only state the result for the “canonical” section with the “canonical” mapping. The next lemma exhibits an absolute lower bound for magnitudes of gradients in .
For all satisfying , it holds that
Assuming (II.32), Theorem II.1 gives that w.h.p. . Thus, w.h.p, for all . The next lemma compares the magnitudes of gradients before and after taking one unconstrained step. This is crucial to providing upper bound for magnitude of gradient for the next iterate, and also to establishing the ultimate (quadratic) sequence convergence.
where .
We can now bound the Riemannian gradient of the next iterate as
Obviously, one can make the upper bound small by tuning down . Combining the above lower bound for for , one can conclude that when is small, the next iterate stays in . Another application of the optimality condition (II.6) gives conditions on that guarantees the next trust-region step is also unconstrained. Detailed argument can be found in proof of the following proposition.
Assume (II.32). W.h.p, once the trust-region algorithm takes an unconstrained step (i.e., ), it always takes unconstrained steps, provided that
Here is as in Theorem II.1 and Theorem II.2, and is another constant.
We only consider the symmetric section in the vicinity of and the claims carry on to others by symmetry. Suppose that step is an unconstrained step. Then
Thus, if , will be in . Next, we show that if is sufficiently small, will be indeed in . By Lemma II.14,
as the step is unconstrained. On the other hand, by Theorem II.1 and Lemma II.13, w.h.p.
we have .
We next show that when is small enough, the next step is also unconstrained. Straight forward calculations give
in words, the minimizer to the trust-region subproblem for the next step lies in the relative interior of the trust region - the constraint is inactive. By Lemma II.14 and Lemma B.6, we have
w.h.p.. Combining this and our previous estimates of , , we conclude whenever
w.h.p., our next trust-region step is also an unconstrained step. Simplifying the above bound completes the proof. ∎
Finally, we want to show that ultimate unconstrained iterates actually converges to one nearby local minimizer rapidly. Lemma II.14 has established the gradient is diminishing. The next lemma shows the magnitude of gradient serves as a good proxy for distance to the local minimizer.
To see this relates the magnitude of gradient to the distance away from the nearby local minimizer, w.l.o.g., one can assume and consider the point . Then
where at the last inequality above we have used Lemma II.16. Hence, combining this observation with Lemma II.14, we can derive the asymptotic sequence convergence rate as follows.
Assume (II.32) and the conditions in Lemma II.15. Let and the -th step the first unconstrained step and be the unique local minimizer of over one connected component of that contains . Then w.h.p., for any positive integer ,
Here is as in Theorem II.1 and Theorem II.2, and , are both positive constants.
By the geometric characterization in Theorem II.1 and corollary II.2 in , has separated local minimizers, each located in and within distance of one of the signed basis vectors . Moreover, it is obvious when , consists of disjoint connected components. We only consider the symmetric component in the vicinity of and the claims carry on to others by symmetry.
Suppose that is the index of the first unconstrained iterate in region , i.e., . By Lemma II.14, for any integer , we have
where is as defined in Lemma II.14, as the strong convexity parameter for defined above.
Now suppose is the unique local minimizer of , lies in the same component that is located. Let to be the unique geodesic that connects and with and . We have
where at the second line we have repeatedly applied Lemma II.16.
By the optimality condition (II.6) and the fact that , we have
we can combine the above results and obtain
Based on the previous estimates for , and , we obtain that w.h.p.,
Moreover, by (II.46), w.h.p., it is sufficient to have the trust region size
Now we are ready to piece together the above technical proposition to prove Theorem II.3.
(of Theorem II.3) Assuming (II.32) and in addition that
it can be verified that the conditions of all the above propositions are satisfied.
By the preceding four propositions, a step will either be , , or constrained step that decreases the objective value by at least a certain fixed amount (we call this Type A), or be an unconstrained step (Type B), such that all future steps are unconstrained and the sequence converges to a local minimizer quadratically. Hence, regardless the initialization, the whole iteration sequence consists of consecutive Type A steps, followed by consecutive Type B steps. Depending on the initialization, either the Type A phase or the Type B phase can be absent. In any case, from it takes at most (note always holds)
steps for the iterate sequence to start take consecutive unconstrained steps, or to already terminate. In case the iterate sequence continues to take consecutive unconstrained steps, Proposition II.17 implies that it takes at most
steps to obtain an -near solution to the that is contained in the connected subset of that the sequence entered.
Thus, the number of iterations to obtain an -near solution to can be grossly bounded by
Finally, the claimed failure probability comes from a simple union bound with careful bookkeeping. ∎
II-F Extending to Convergence for Complete Dictionaries
Recall that in this case we consider the preconditioned input
Note that for any complete with condition number , from Lemma B.7 we know when is large enough, w.h.p. one can write the preconditioned as
for a certain with small magnitude, and . Particularly, when is chosen by Theorem II.2, the perturbation is bounded as
for a certain constant which can be made arbitrarily small by making the constant in large. Since is orthogonal,
In words, the function landscape of is a rotated version of that of . Thus, any local minimizer of is rotated to , one minimizer of . Also if our algorithm generates iteration sequence for upon initialization , it will generate the iteration sequence , , for . So w.l.o.g. it is adequate that we prove the convergence results for the case , corresponding to with perturbation . So in this section (Section II-F), we write to mean .
the geometric structure of the landscape is qualitatively unchanged from the orthogonal case, and the parameter constant can be replaced with . Particularly, for this choice of , Lemma B.7 implies
for a constant that can be made arbitrarily small by setting the constant in sufficiently large. The whole proof is quite similar to that of orthogonal case in the last section. We will only sketch the major changes below. To distinguish with the corresponding quantities in the last section, we use to denote the corresponding perturbed quantities here.
where by (II.52) we have used to simplify the above result. So we obtain
Lemma II.7 and Lemma II.8 are generic and nothing changes.
Proposition II.9: We have now by Theorem II.2, w.h.p. is -Lipschitz by Proposition B.4, and as shown above. Similarly, by Theorem II.2, and is -Lipschitz. Moreover, as shown above. Since there are only multiplicative constant changes to the various quantities, we conclude
Lemma II.10: is changed to with as shown above.
where is the Lipschitz constant for the function and we have used the fact that . Similarly, by II.2,
where is the Lipschitz constant for the function . Since and , and w.h.p. (Lemma B.6). By (II.52), w.h.p. we have
provided the constant in (II.51) for is large enough. Thus, by (II.5) and the above estimates we have
Proposition II.12: From the estimate of above Proposition II.12 and the last point, we have
Also since in Lemma II.6 and Lemma II.10, there are only multiplicative constant change to the various quantities. We conclude that
Lemma II.13 is generic and nothing changes.
Lemma II.14: .
Proposition II.15: All the quantities involved in determining , , , and , are modified by at most constant multiplicative factors and changed to their respective tilde version, so we conclude that the TRM algorithm always takes unconstrained step after taking one, provided that
Lemma II.16:is generic and nothing changes.
Proposition II.17: Again , , are changed to , , and , respectively, differing by at most constant multiplicative factors. So we conclude for any integer ,
The final proof to Theorem II.2 is almost identical to that of Theorem II.1, except that , , and are changed to , , and as defined above, respectively. The final iteration complexity to each an -near solution is hence
Hence overall the qualitative behavior of the algorithm is not changed, as compared to that for the orthogonal case.
III Complete Algorithm Pipeline and Main Results
Recovering one row of by rounding. To obtain the target solution and hence recover (up to scale) one row of , we solve the following linear program:
with . We show in Lemma III.2 (resp. Lemma III.4) that when is sufficiently large, implied by being sufficiently small, w.h.p. the minimizer of (III.1) is exactly , and hence one row of is recovered by .
Reconstructing the dictionary . By solving the linear system , one can obtain the dictionary .
Assume the dictionary is orthogonal and we take . Suppose , , and . The above algorithmic pipeline with parameter setting
recovers the dictionary and in polynomial time, with failure probability bounded by . Here is as defined in Theorem II.1, and through , and are all positive constants.
Towards a proof of the above theorem, it remains to be shown the correctness of the rounding and deflation procedures.
The following lemma shows w.h.p. the rounding will return the desired , provided the estimated is already near to it.
For any , whenever , with probability at least the rounding procedure (III.1) returns for any input vector that satisfies
Since , and , it is sufficient when is smaller than some small constant.
Proof sketch of deflation.
Thus, by Lemma III.2, one successfully recovers from w.h.p. when is smaller than a constant. The overall failure probability can be obtained via a simple union bound and simplification of the exponential tails with inverse polynomials in .
III-B Recovering Complete Dictionaries
By working with the preconditioned data samples ,In practice, the parameter might not be know beforehand. However, because it only scales the problem, it does not affect the overall qualitative aspect of results. we can use the same procedure as described above to recover complete dictionaries.
Assume the dictionary is complete with a condition number and we take . Suppose , , and . The algorithmic pipeline with parameter setting
recovers the dictionary and in polynomial time, with failure probability bounded by . Here is as defined in Theorem II.1, and are both positive constants.
Similar to the orthogonal case, we need to show the correctness of the rounding and deflation procedures so that the theorem above holds.
The result of the LP rounding is only slightly different from that of the orthogonal case in Lemma III.2, so is the proof.
For any , whenever
with probability at least the rounding procedure (III.1) returns for any input vector that satisfies
Proof sketch of deflation.
By Lemma B.7 and (II.50), we can write for some orthogonal matrix and small perturbation with for some large as usual. Similar to the orthogonal case, we have
where with is the exact solution. More specifically, Corollary II.4 in implies that
Next, we show that is also very near to the exact solution . Indeed, the identity (III.8) suggests
where denotes the pseudo inverse of a matrix with full column rank. Hence, by (III.9) we can bound the distance between and by
By Lemma B.1, when , w.h.p.,
Hence, combined with Lemma III.5, we obtain
which implies that . Thus, combining the results above, we obtain
Lemma B.7, and in particular (II.50), for our choice of as in Theorem II.2, , where can be made smaller by making the constant in larger. For sufficiently small, we conclude that
In words, the TRM algorithm returns a such that is very near to one of the unit vectors , such that for some . For smaller than a fixed constant, one will have
and hence by Lemma III.4, the LP rounding exactly returns the optimal solution upon the input .
The proof sketch above explains why the recursive TRM plus rounding works. The overall failure probability can be obtained via a simple union bound and simplifications of the exponential tails with inverse polynomials in .
IV Simulations
Fixing a small step size and solving the trust-region subproblem exactly eases the analysis, but also renders the TRM algorithm impractical. In practice, the trust-region subproblem is never exactly solved, and the trust-region step size is adjusted to the local geometry, say by backtracking. It is possible to modify our algorithmic analysis to account for inexact subproblem solvers and adaptive step size; for sake of brevity, we do not pursue it here. Recent theoretical results on the practical version include .
Here we describe a practical implementation based on the Manopt toolbox Available online: http://www.manopt.org. . Manopt is a user-friendly Matlab toolbox that implements several sophisticated solvers for tackling optimization problems over Riemannian manifolds. The most developed solver is based on the TRM. This solver uses the truncated conjugate gradient (tCG; see, e.g., Section 7.5.4 of ) method to (approximately) solve the trust-region subproblem (vs. the exact solver in our analysis). It also dynamically adjusts the step size using backtracking. However, the original implementation (Manopt 2.0) is not adequate for our purposes. Their tCG solver uses the gradient as the initial search direction, which does not ensure that the TRM solver can escape from saddle points . We modify the tCG solver, such that when the current gradient is small and there is a negative curvature direction (i.e., the current point is near a saddle point or a local maximizer of ), the tCG solver explicitly uses the negative curvature direction…adjusted in sign to ensure positive correlation with the gradient – if it does not vanish. as the initial search direction. This modification ensures the TRM solver always escape from saddle points/local maximizers with negative directional curvature. Hence, the modified TRM algorithm based on Manopt is expected to have the same qualitative behavior as the idealized version we analyzed above, with better scalability. We will perform our numerical simulations using the modified TRM algorithm whenever necessary. Algorithm 3 together with Lemmas 9 and 10 and the surrounding discussion in the very recent work provides a detailed description of this practical version.
IV-B Simulated Data
To corroborate our theory, we experiment with dictionary recovery on simulated data.The code is available online: https://github.com/sunju/dl_focm For simplicity, we focus on recovering orthogonal dictionaries and we declare success once a single row of the coefficient matrix is recovered.
One trial is determined to be a success once , with the idea that this indicates is already very near the target and the target can likely be recovered via the LP rounding we described (which we do not implement here).
We consider two settings: (1) fix and vary the dimension and sparsity ; (2) fix the sparsity level as and vary the dimension and number of samples . For each pair of for (1), and each pair of for (2), we repeat the simulations independently for times.
Fig. 3 shows the phase transition for the two settings. It seems that our TRM algorithm can work well into the linear region whenever (Fig. 3-Left), but should have order greater than (Fig. 3-Right). The sample complexity from our theory is significantly suboptimal compared to this.
IV-C Image Data Again
Our algorithmic framework has been derived based on the BG model on the coefficients. Real data may not admit sparse representations w.r.t. complete dictionaries, or even so, the coefficients may not obey the BG model. In this experiment, we explore how our algorithm performs in learning complete dictionaries for image patches, emulating our motivational experiment in the companion paper (Section I.B). Thanks to research on image compression, we know patches of natural images tend to admit sparse representation, even w.r.t. simple orthogonal bases, such as Fourier basis or wavelets.
We take the three images that we used in the motivational experiment. For each image, we divide it into non-overlapping patches, vectorize the patches, and then stack the vectorized patches into a data matrix . is preconditioned as
and the resulting is fed to the dictionary learning pipeline described in Section III. The smoothing parameter is fixed to . Fig. 4 contains the learned dictionaries: the dictionaries generally contain localized, directional features that resemble subset of wavelets and generalizations. These are very reasonable representing elements for natural images. Thus, the BG coefficient model may be a sensible, simple model for natural images.
Another piece of strong evidence in support of the above claim is as follows. For each image, we repeat the learning pipeline for one hundred times, with independent initializations across the runs. Let be the final learned dictionary for each run, we plot the value of across the one hundred independent runs. Strikingly, the values are virtually the same, with a relative difference of ! This is predicted by our theory, under the BG model. If the model is unreasonable for natural images, the preconditioning, benign function landscape, LP rounding, and the deflation process that hinge on this model would have completely fallen down.
For this image experiment, and . A single run of the learning pipeline, including solving instances of the optimization over the sphere (with varying dimensions) and solving instances of the LP rounding (using CVX), lasts about minutes on a mid-range modern laptop. So with careful implementation we discussed above, the learning pipeline is actually not far from practical.
V Discussion
Our experiments seem to suggest the necessary complexity level lies between and even for the orthogonal case. While it is interesting to determine the true complexity requirement for the TRM, there could be other efficient algorithms that demand less. For example, simulations in seem to suggest samples suffice to guarantee efficient recovery. The simulations run an alternating direction algorithm fed with problem-specific initializations, nevertheless.
Our analysis is based on exact trust-region subproblem solver and fixed step size. The convergence result for the practical version from , based on approximate solver and adaptive step size, is general, but pessimistic. It seems not difficult to adapt their analysis according to our objective geometry, and obtain a tight, practical convergence result.
Our motivating experiment on real images in introduction of our companion paper remains mysterious. If we were to believe that real image data are “nice” and our objective there does not have spurious local minima either, it is surprising ADM would escape all other critical points – this is not predicted by classic or modern theories. One reasonable place to start is to look at how gradient descent algorithms with generic initializations can escape from ridable saddle points (at least with high probability). The recent work has showed that randomly perturbing each iterate can help gradient algorithm to achieve this with high probability.
VI Proof of Convergence for the Trust-Region Algorithm
Using the fact and are bounded by one in magnitude, by (II.2) and (II.3) we have
where at the last line we have used the fact the mapping is Lipschitz, and is -Lipschitz, and the composition rule of Lipschitz functions (i.e., Lemma V.5 of ). Similar argument yields the final bound. ∎
VI-B Proof of Lemma II.6
as claimed. Next we establish the first result. Let , and . Consider the composite function
We next develop a bound on . Using the triangle inequality, we can casually bound this difference as
where in the final line we have used the fact and that for , and , , and are the quantities defined in Lemma II.5. By the integral form of Taylor’s theorem in Lemma A.7 and the result above, we have
with we obtain the desired result. ∎
VI-C Proof of Lemma II.7
By the integral form of Taylor’s theorem in Lemma A.7, for any , we have
Minimizing this function over , we obtain that there exists a such that
which means that . Because over , it implies that . Since , by summarizing all the results, we conclude that there exists a with , such that
VI-D Proof of Lemma II.8
Minimizing this function over , we obtain
and there exists a such that
VI-E Proof of Lemma II.10
For any , it holds that , and the quadratic approximation
Taking , we obtain
which means that . Substituting this into (VI.1), we obtain
By the key comparison result established in proof of Lemma II.6, we have
VI-F Proof of Lemma II.11
It takes certain delicate work to prove Lemma II.11. Basically to use discretization argument, the degree of continuity of the Hessian is needed. The tricky part is that for continuity, we need to compare the Hessian operators at different points, while these Hessian operators are only defined on the respective tangent planes. This is the place where parallel translation comes into play. The next two lemmas compute spectral bounds for the forward and inverse parallel translation operators.
For and , we have
where we have used the fact and . Moreover, is in the form of for some vectors and . By the Sherman-Morrison matrix inverse formula, i.e., (justified as as shown above), we have
The next lemma establishes the “local-Lipschitz” property of the Riemannian Hessian.
where .
First of all, by (II.5) and using the fact that the operator norm of a projection operator is unitary bounded, we have
By the estimates in Lemma II.5, we obtain
where at the last line we have used the following estimates:
By Lemma II.5 and substituting the estimate in (VI.5), we obtain the claimed result. ∎
Expectation of the operator. By definition of the Riemannian Hessian in (II.5), expressions of and in (II.2) and (II.3), and exchange of differential and expectation operators, we obtain
where we have used and to obtain the last lower bound. Combining the above with the fact that , we obtain
where we have simplified the expression using . To bound the second term,
where at the last inequality we have applied Gaussian tail upper bound of Type II in Lemma A.2. Since for and , we obtain
Collecting the above estimates, we obtain
where we have used the fact to obtain the final lower bound.
Concentration. Next we perform concentration analysis. For any , we can write
where we have used Lemma B.8 to obtain the last inequality. By Lemma A.4, we obtain
where at the first inequality we used the fact , at the second we invoked Lemma B.8, and at the third we invoked Lemma A.3. Taking , by Lemma A.5, we obtain
for any . Gathering (VI.9) and (VI.10), we obtain that for any ,
Uniformizing the bound. Now we are ready to pull above results together for a discretization argument. For any , there is an -net of size at most that covers the region . By Lemma VI.2, the function is locally Lipschitz within each normal ball of radius
with Lipschitz constant (as defined in Lemma VI.2). Note that for , so any choice of makes the Lipschitz constant valid within each -ball centered around one element of the -net. Let
Set , so
Let denote the event that
On ,
So on , we have
for any . We take for simplicity. Setting in (2), we obtain that for any fixed in this region,
It is enough to make to make the failure probability small, completing the proof.
VI-G Proof of Lemma II.13
where an explicit expression for can be found at the start of Section IV in . Thus,
where we have invoked our assumption that . Therefore we obtain
VI-H Proof of Lemma II.14
Proof of Lemma II.14 combines the local Lipschitz property of in Lemma VI.2, and the Taylor’s theorem (manifold version, Lemma 7.4.7 of ).
(of Lemma II.14) Let be the unique geodesic that satisfies , , and its directional derivative . Since the parallel translation defined by the Riemannian connection is an isometry, then . Moreover, since , the unconstrained optimality condition in (II.6) implies that . Thus, by using Taylor’s theorem in , we have
From the Lipschitz bound in Lemma VI.2 and the optimality condition in (II.6), we obtain
VI-I Proof of Lemma II.16
By invoking Taylor’s theorem in , we have
where we have used the fact that the parallel transport defined by the Riemannian connection is an isometry. On the other hand, we have
where again used the isometry property of the operator . Combining the two bounds above, we obtain
VII Proofs of Technical Results for Section III
We need one technical lemma to prove Lemma III.2 and the relevant lemma for complete dictionaries.
with probability at least Here are both positive constants.
namely as a sum of independent random variables. Since , we have
Moreover, by Lemma B.8 and Lemma A.3, for any and any integer ,
So invoking the moment-control Bernstein’s inequality in Lemma A.5, we obtain
Taking and simplifying, we obtain that
By Lemma B.6, with probability at least , . Thus,
Thus, by (VII.2), it is enough to take for sufficiently large to make the overall failure probability small enough so that the lower bound (VII.3) holds. ∎
The proof is similar to that of . First, let us assume the dictionary . W.l.o.g., suppose that the Riemannian TRM algorithm returns a solution , to which is the nearest signed basis vector. Thus, the rounding LP (III.1) takes the form:
The objective value of (VII.6) lower bounds that of (VII.5), and are equal when . So if is UOS of (VII.6), it is UOS of (VII.4). By Lemma VII.1, we know that
holds w.h.p. when . Let , thus we can further lower bound the objective value in (VII.6) by
By similar arguments, if is the UOS of (VII.7), it is also the UOS of (VII.4). For the optimal solution of (VII.7), notice that it is necessary to have and . Therefore, the problem (VII.7) is equivalent to
Notice that the problem (VII.8) is a linear program in with a compact feasible set, which indicates that the optimal solution only occurs at the boundary points and . Therefore, is the UOS of (VII.8) if and only if
Conditioned on , by using the Gaussian concentration bound, we have
Therefore, by (VII.9) and (VII.10), for to be the UOS of (VII.4) w.h.p., it is sufficient to have
The failure probability can be estimated via a simple union bound. Since the above argument holds uniformly for any fixed support set , we obtain the desired result.
VII-B Proof of Lemma III.4
Define . By Lemma B.7, and in particular (II.50), when
so that is invertible. Then the LP rounding can be written as
By Lemma III.2, to obtain from this LP, it is enough to have
and for some large enough . This implies that to obtain for the original LP, such that , it is enough that
VII-C Proof of Lemma III.5
where . Let , so that
Since the matrix is near orthogonal, it can be decomposed as , where is orthogonal, and is a small perturbation. Obviously, for some orthogonal matrix , so that spans the same subspace as that of . Next, we control the spectral norm of :
To bound the second term on the right, we have
where we have used perturbation bound for matrix inverse (see, e.g., Theorem 2.5 of Chapter III in ).
where to obtain the first line we used that for any full column rank matrix , is the orthogonal projector onto the its column span, and to obtain the fifth and six lines we invoked the matrix inverse perturbation bound again. Using and , we have
For , the upper bound is nontrivial. By Lemma B.2,
By using the results in (VII.13) and (VII.15), we get the desired result. ∎
Appendix A Technical Tools and Basic Facts Used in Proofs
In this section, we summarize some basic calculations that are useful throughout, and also record major technical tools we use in proofs.
Let and be CDF of . For any , we have the following estimates for :
See proof of Lemma A.5 in the technical report . ∎
If , then it holds for all integer that
If , then it holds for all integer that
Let be i.i.d. real-valued random variables. Suppose that there exist some positive numbers and such that
Let , then for all , it holds that
Let , then for all , it holds that
See proof of Lemma A.10 in the technical report . ∎
Appendix B Auxillary Results for Proofs
with probability at least .
Below are restatements of several technical results from that are important for proofs in this paper.
Fix any . Over the set , is -Lipschitz with
Fix any . Over the set , is -Lipschitz with
Fix any . Over the set , is -Lipschitz with
for a certain obeying , with probability at least . Here , and is a positive numerical constant.
Acknowledgment
We thank Dr. Boaz Barak for pointing out an inaccurate comment made on overcomplete dictionary learning using SOS. We thank Cun Mu and Henry Kuo of Columbia University for discussions related to this project. We also thank the anonymous reviewers for their careful reading of the paper, and for comments which have helped us to substantially improve the presentation. JS thanks the Wei Family Private Foundation for their generous support. This work was partially supported by grants ONR N00014-13-1-0492, NSF 1343282, NSF CCF 1527809, NSF IIS 1546411, and funding from the Moore and Sloan Foundations.