Abstract
We study the convergence of the Riemannian steepest descent algorithm on the Grassmann manifold for minimizing the block version of the Rayleigh quotient of a symmetric matrix. Even though this problem is non-convex in the Euclidean sense and only very locally convex in the Riemannian sense, we discover a structure for this problem that is similar to geodesic strong convexity, namely, weak-strong convexity. This allows us to apply similar arguments from convex optimization when studying the convergence of the steepest descent algorithm but with initialization conditions that do not depend on the eigengap . When , we prove exponential convergence rates, while otherwise the convergence is algebraic. Additionally, we prove that this problem is geodesically convex in a neighbourhood of the global minimizer of radius .
Keywords: Block Rayleigh quotient, Grassmann manifold, Geodesic convexity, Riemannian optimization, Low-rank approximation
Introduction
We consider the problem of computing the top k eigenvectors of a symmetric matrix , which has many applications in numerical linear algebra (low rank approximation), statistics (principal component analysis) and signal processing. Without loss of generality, we assume that A is also positive semidefinite. This is because A can be shifted as for some constant c and this transformation does not change its eigenvectors.
We denote by the eigenvalues of A counted with multiplicity and by the eigengap for some k between 1 and . We also denote and .
A set of k leading eigenvectors of A can be found by minimizing the function
over the set of matrices with orthonormal columns. Indeed, from Fan’s trace minimization theorem (see, e.g., [18, Corollary 4.3.39]) we know that
| 1 |
Since A is symmetric, we can define the matrix such that and with a unit-norm eigenvector corresponding to . If the eigengap is strictly positive, then is unique; otherwise, we can choose any from a subspace with dimension equal to the multiplicity of . It is readily seen that . In fact, all minimizers of (1) are of the form with Q a orthogonal matrix. We also define that contains the eigenvectors corresponding to the eigenvalues . Its columns span the orthogonal complement of in and thus and .
Since , it is more natural to consider this problem as a minimization problem on the Grassmann manifold , the set of k-dimensional subspaces in . Let us therefore redefine the objective function as
| 2 |
This cost function can be seen as a block version of the standard Rayleigh quotient. An immediate benefit is that, if , the minimizer of (2) is isolated since it is the subspace .
To minimize f on , we shall use the Riemannian steepest descent method (RSD) along geodesics in . Quite remarkably, for these geodesics can be implemented efficiently in closed form.
For analyzing the convergence properties of steepest descent on , we extend results of the recent work [4], where it is shown that the Rayleigh quotient on the sphere enjoys favourable geodesic convexity-like properties, namely, weak-quasi-convexity and quadratic growth. In this work, we show that these convexity-like properties continue to hold in the more general case of the block Rayleigh quotient function . These results are of general interest, but also sufficient to prove a local convergence rate for steepest descent for minimizing f when started from an initial point outside the region of local convexity. For the latter, a crucial help is provided by the fact that the Grassmann manifold is non-negatively curved (see [33]).
In particular, assuming a strictly positive eigengap between and , we prove an exponential convergence rate to the subspace spanned by the k leading eigenvectors, similar to the convergence of power method and subspace iteration (Theorem 5.1). If we do not assume any knowledge regarding the eigengap, then we can still prove a sub-exponential (polynomial) convergence rate of the function values to the global minimum (Theorem 5.2), but we cannot directly study the convergence to a global minimizer. This is in line with previous work but our analysis does not use standard notions of geodesic convexity and allows for an initial guess further from the global minimizer. In Appendix B we present related convergence results for steepest descent with a more tractable step size but at the expense of needing a slightly better initialization.
Related Work
The symmetric eigenvalue problem has been popular for several decades in the numerical linear algebra and optimization communities. When only a few eigenvalues are targeted, the main solvers for this problem have been based on subspace iteration and Krylov subspace methods. Less but still considerable attention has been given to the steepest descent method and its accelerated versions. Most works on steepest descent focus only on computing the first leading eigenvector of a symmetric matrix (), using a Euclidean version of the algorithm. Asymptotic convergence rates are known for this setting since the 1950’s, see [15]. More recently, exact non-asymptotic estimates for the same Euclidean steepest descent with exact line search were proved in [20]. For a more comprehensive overview of this line of research, the reader can refer to [26] and the references therein. A recent result that takes a different route compared to the previous ones is [4]. There, a steepest descent algorithm on the sphere is analyzed using newly proved convexity-like properties of the spherical Rayleigh quotient.
Regarding the block version of the algorithm, where one targets multiple pairs of eigenvalues and eigenvectors, much less is known. We refer here to [27], which presents a steepest descent-like method for the multiple eigenvector problem using Ritz projections onto a 2k-dimensional subspace in each step. The convergence of this algorithm is proved to be linear, but computing the Ritz projections is quite expensive. Instead, in this work we consider a much cheaper version of steepest descent by directly choosing only one of the vectors in this 2k-dimensional subspace to update our algorithm. Some analysis for such a steepest descent (without Ritz projection) on the Grassmann manifold using a retraction and an Armijo step-size is provided in [2] (see Algorithm 3 and Theorem 4.9.1). Unfortunately this convergence rate is asymptotic, that is, a linear rate is achieved after an unknown number of iterations. The region in which the convergence happens cannot be quantified. Also, such a convergence rate does not yield an iteration complexity for the algorithm.
The optimization landscape provided by the block Rayleigh quotient on the Grassmann manifold has also received some attention lately. [32] provides many interesting properties of the critical points of this function and proves that all but the global optimum are strict saddles. This is later used to derive favourable convergence properties for a hybrid method consisting of Riemannian steepest descent in a first stage and a Riemannian Newton’s method in a final stage. [23] proves the so-called robust strict saddle property for this function, that is, the Hessian evaluated in each critical point except the global optimum has both positive and negative eigenvalues in a whole neighborhood. However, none of these papers talks about (generalized) convexity of any form, nor discusses any convergence rates for steepest descent.
Turning the discussion to the convexity properties of eigenvalue problems, there is a new line of research concerned by that. In [34], the authors prove (Theorem 4) that the Rayleigh quotient is geodesically gradient dominated in the sphere (), that is, it satisfies a spherical version of the Polyak–Łojasiewicz inequality. In [4], it is shown that this result of [34] can be strengthened to a geodesic weak-quasi-convexity and quadratic growth property, which imply gradient dominance when combined. Finally, the recent paper [3] examines (among other contributions) the convexity structure of the same block version of the symmetric eigenvalue problem on the Grassmann manifold that we introduced above. Unfortunately, the characterization of the geodesic convexity region independently of the eigengap (Corollary 5 in [3]) is wrong (see our Appendix A for a counterexample). As we will prove in Theorem A.1, the geodesic convexity region of f (and the one of the equivalent cost function used in [3]) needs to depend on the eigengap, as appears also in [19, Lemma 7] in the case of the sphere ().
To the best of our knowledge, the current work is the first that provides non-asymptotic convergence rates for the steepest descent algorithm for the multiple eigenvalue-eigenvector problem on the Grassmann manifold. We mainly rely on the work [4], which proves exponential convergence of steepest descent only in the case of , that is, for the leading eigenvector. In this paper, we take a reasonable but highly non-trivial step forward by extending the convexity-like characterization of the spherical Rayleigh quotient to general k, that is, for a block of k leading eigenvectors. Again, the paper [9] is of high value for our current work regarding weakly-strongly-convex functions.
As mentioned above, the standard algorithm for computing the leading eigenspace of dimension k is subspace iteration (or power method when ).1 However, there are reasons to believe that, in certain cases, Riemannian steepest descent (and its accelerated version with non-linear conjugate gradients) should be preferred, especially in noisy settings [4] or in electronic structure calculations where the leading eigenspace of many varying matrices A needs to be computed.2 In particular, [4] presents strong experimental evidence that steepest descent is more robust to perturbations of the matrix–vector products than subspace iteration close to the optimum. While subspace iteration still behaves better at the start of the iteration, it asymptotically fails to converge to an approximation of the leading subspace that is as good as the one estimated by Riemannian steepest descent. While [4] dealt with a noisy situation due to calculations in a distributed setting with limited communication, exactly the same effect can be observed when we inject the matrix–vector products with Gaussian noise. Thus, we expect steepest descent to perform better than subspace iteration close to the optimum in any stochastic regime [14].
Regarding worst-case theoretical guarantees, the strongest convergence result for subspace iteration in the presence of a strictly positive eigengap is in terms of the largest principal angle between the iterates and the optimum [13], that is, the -norm of the vector of principal angles. In contrast, our convergence result for steepest descent for (Theorem 5.1) is in terms of the -norm of the same vector of angles, which is in general stronger. When , it is known from [21, 28] that the largest eigenvalue () can still be efficiently estimated. We extend this result for and prove a convergence rate of steepest descent for the function values f (Theorem 5.2), relying only on weak-quasi-convexity (and thus using a different argument from [21, 28]).
Geometry of the Grassmann Manifold and Block Rayleigh Quotient
We present here a brief introduction into the geometry of the Grassmann manifold. The content is not new and for more details, we refer to [2, 7, 12].
The (n, k)-Grassmann manifold is defined as the set of all k-dimensional subspaces of :
Any element of can be represented by a matrix that satisfies . Such a representative is not unique since for some invertible matrix satisfies . Without loss of generality, we will therefore always take matrix representatives X of subspaces that have orthonormal columns throughout the paper. With some care, the non-uniqueness of the representatives is not a problem.3 For example, our objective function (2) is invariant to Q.
Riemannian structure. The set admits the structure of a differential manifold with tangent spaces
| 3 |
where . Since if and only if , for any invertible matrix , this description of the tangent space does not depend on the representative X. However, a specific tangent vector G will depend on the chosen X. With slight abuse of notation,4 the above definition should therefore be interpreted as: given a fixed X, we define tangent vectors of at .
This subtlety is important, for example, when defining an inner product on :
Here, and are tangent vectors of the same representative X. Observe that the inner product is invariant to the choice of orthonormal representative: If and with orthogonal Q, then we have
It is easy to see that the norm induced by this inner product in any tangent space is the Frobenius norm, which we will denote throughout the paper as .
Exponential map. Given the Riemannian structure of , we can compute the exponential map at a point as [1, Thm. 3.6]
| 4 |
where is the compact SVD of G such that and V are square matrices.
The exponential map is invertible in the domain [7, Prop. 5.1]
| 5 |
where is the spectral norm of G. The inverse of the exponential map restricted to this domain is the logarithmic map, denoted by . Given two subspaces , we have
| 6 |
where is again a compact SVD. This is well-defined if is invertible, which is guaranteed if all principal angles between and are strictly less than (see below). By taking , we see that .
Principal angles. The Riemannian structure of the Grassmann manifold can be conveniently described by the notion of the principal angles between subspaces. Given two subspaces , the principal angles between them are obtained from the SVD
| 7 |
where are orthogonal and the diagonal matrix . Notice that the definition of principal angles is indeed independent of the specific orthonormal representatives of the subspaces in question.
We can express the Riemannian logarithm using principal angles and the intrinsic distance induced by the Riemannian inner product discussed above is
| 8 |
where . For more details on these facts, the reader can refer to section 4.3 in [12] (arc length distance).
If is an arbitrary matrix with orthonormal columns, then, generically, these columns will not be exactly orthogonal to the k leading eigenvectors of A. Thus, we have with probability one that the principal angles between and the space of k leading eigenvectors satisfy .
Curvature. We can compute exactly the sectional curvatures in , but for our purposes we only need that they are everywhere non-negative [7, 33]. This means that the geodesics on the Grassmann manifold spread more slowly than in Euclidean space. This is consequence of the famous Toponogov’s theorem (see [11]) that we state here in the form of the following technical lemma, which will be important in our convergence analysis.
Lemma 3.1
Let , such that
Then
Lemma 3.2
(Law of cosines) Let as in Lemma 3.1. Then
Proof
Apply Lemma 3.1 and expand .
Block Rayleigh quotient. Our objective function for minimization is the block version of the Rayleigh quotient:
This function has as global minimizer. This minimizer is unique on if and only if .
Given any differentiable function , we can define its Riemannian gradient as the vector field that satisfies
For a given representative X of , the Riemannian gradient of the block Rayleigh quotient satisfies
Using the notions of the Riemannian gradient and Levi-Civita connection, we can define also a Riemannian notion of Hessian. For the block Rayleigh quotient f, the Riemannian Hessian evaluated as bilinear form satisfies
| 9 |
Convexity-like Properties of the Block Rayleigh quotient
We now prove the new analytic properties of the block Rayleigh quotient . These are important in their own right but will also be used later for the convergence of the Riemannian steepest descent method.
Smoothness
A function defined on the Grassmann manifold is called -smooth if the maximum eigenvalue of its Riemannian Hessian is everywhere upper bounded by a positive constant . This is true for the block Rayleigh quotient, as we show in the next proposition:
Proposition 1
(Smoothness) The eigenvalues of the Riemannian Hessian of f on are upper bounded by .
Proof
Let G be a tangent vector of at X. Then the Riemannian Hessian satisfies (see (9))
Since , and are all symmetric and positive semi-definite matrices, standard trace inequality (see, e.g, [18, Thm. 4.3.53]) gives
Since X has orthonormal columns, ; see, e.g., [18, Cor. 4.3.37]. The proof is now complete with the definition of and .
The result in Prop. 1 is tight: Choosing and , it is readily verified that the upper bound is attained. From now on, we refer to as the specific value . This value also features in a useful upper bound for the spectral norm of the gradient. This bound is independent of :
Lemma 4.1
For all and , the Riemannian gradient of f satisfies
Proof
Since X has orthonormal columns, we can complete it to the orthogonal matrix . Hence, . The result now follows directly from [22, Thm. 2] since A is real symmetric and the definition of .
By the second-order Taylor expansion of f (see, e.g., [8], Corollary 10.54) it is easy to see that Proposition 1 implies
| 10 |
for any such that is well-defined.
As in the introduction, denote the global minimum of f by which is attained at . Inequality (10) leads to the following lemma:
Lemma 4.2
For any and , we have
Proof
Since is a global minimum of f, we have from (10) that
for any such that is well-defined.
We set . By Lemma 4.1, we have that and by equation (5) we have that is well-defined and equal to . Then,
the right hand side of the initial inequality becomes
Rearranging the last inequality and substituting , we get the desired result.
Weak-Quasi-Convexity and Quadratic Growth
We now turn our interest in the convexity properties of the block Rayleigh quotient function. We start by proving a property which is known in the literature as quadratic growth.
Proposition 2
(Quadratic growth) Let be the principal angles between the subspaces and . The function f satisfies
where .
Proof
The spectral decomposition of implies
| 11 |
Since , we have
From the definition (7) of the principal angles between X and , we recall that
| 12 |
where is a diagonal matrix and are orthogonal matrices. Plugging this equality in, we get that the jth eigenvalue of the matrix is equal to . Thus, by standard trace inequality for symmetric and positive definite matrices (see, e.g., [18, Thm. 4.3.53]), the first summand above satisfies
The matrix has the same non-zero eigenvalues with the same multiplicity as the matrix
where we used and the SVD of . Thus the jth eigenvalue of is . By trace inequality again, the second summand therefore satisfies
Putting both bounds together, we get
and the proof is complete by the definition (8) of .
We say that f is geodesically convex if for all and in a suitable region it holds
This generalizes the classical convexity of differentiable functions on to manifolds by taking the logarithmic map instead of the difference .
In Appendix A, we prove that our objective function f is only geodesically convex in a small neighbourhood of size around the minimizer . Fortunately, our key result of this section shows that f satisfies a much weaker notion of geodesic convexity, known in the literature as weak-quasi-convexity, that does not depend on the eigengap .
We first need the following lemma which is the general version of the CS decomposition but applied to our setting of square blocks.
Lemma 4.3
Let be such that with . Choose such that and , . Then there exist such that
with and , and we have
orthogonal matrices of size k and of size ;
identity matrices of size q;
zero matrices of size ;
diagonal matrices and such that , and .
Proof
Since and are orthogonal, the result follows directly from the CS decomposition of the orthogonal matrix ; see the Theorem of §4 in [29].
Observe that the matrix in this lemma corresponds to the matrix in (7) with the vector of principal angles between and . However, the lemma explicitly splits off the angles that are zero and so that it can formulate the related decompositions for and with and .
We are now ready to state our weak quasi-convexity result. In the statement of the proposition below (and throughout this paper), we use the convention that .
Proposition 3
(Weak-quasi-convexity) Let be the principal angles between the subspaces and . Then, f satisfies
with .
Proof
Take X and matrices with orthonormal columns such that and . Since , we know that in Lemma 4.3 and thus with r the number of principal angles that are equal to zero. Choosing a matrix with orthonormal columns such that , we therefore get from Lemma 4.3 that there exist orthogonal matrices of size k and of size such that
| 13 |
Comparing with (7), we deduce that and since .
We recall from (6) that
| 14 |
where is a compact SVD (without the requirement that the diagonal of is non-increasing). Using from above, we can also write . Substituting (13) and using that and are orthogonal gives
where contains the last k columns of in order. Note that this reformulation of the SVD of M holds always, regardless of the relationship between m and r. If , the matrix has its first rows equal to 0, thus we can cut the first columns of , since they do not contribute to the product. This yields a matrix with rows and of the last columns of . If , then the first columns of are 0 and now we can add columns in the beginning of the matrix that keep the derived matrix orthonormal. This again yields a matrix with rows and columns. Since the matrix occurs by adding zero rows at the beginning of , the product does not change.
Since , we can therefore formulate the compact SVD of M using the vector of all principal angles as follows:
Hence from (14) we get directly that
| 15 |
where is a diagonal matrix.
We now claim that (15) also satisfies
| 16 |
where is a diagonal matrix for which . Indeed, recalling that and using the identities
where , we obtain
Next, we work out
Since and , respectively, give tangent vectors for the same representative X of , the inner product above is the trace of the corresponding matrix representations. Using (16) with , we therefore get
Since , we can simplify
| 17 |
Substituting in the expression above and using that , we get
with the convention .
Denote the symmetric matrix
| 18 |
We show below that all diagonal entries of S are nonnegative. Hence, by diagonality of the matrix , we obtain
since and are orthogonal matrices. We recover the desired result after substituting and .
It remains to show that for . Since , Lemma 4.3 gives us in addition to (13) also
| 19 |
where contains the last k columns of the orthogonal matrix in order. A short calculation using (11) then shows that (18) satisfies
with diagonal elements
Since and have orthonormal columns, we obtain
from which we get with Weyl’s inequality that
Hence, the matrix
| 20 |
is symmetric and positive semi-definite. Its diagonal entries, and thus also , are therefore nonnegative.
We now arrive at a useful property of f that will later allow us to analyze the convergence of Riemannian steepest descent. It is a weaker version of strong geodesic convexity and can be proved easily using quadratic growth and weak-quasi-convexity.
Theorem 4.1
(Weak-strong convexity) Let be the principal angles between the subspaces and . Then, f satisfies
with , , and .
Proof
Combining Propositions 2 and 3 leads to
At the same time, Proposition 3 also implies
Using the first inequality to bound the last term of the right hand side, we recover the desired result.
Remark 4.1
Theorem 4.1 is also valid when the eigengap . In that case, is any subspace spanned by k leading eigenvectors of A and the theorem (almost) reduces to Proposition 3 (up to a scalar 2).
While not needed for our convergence proof, the next result is of independent interest and shows that f is gradient dominated in the Riemannian sense when the eigengap is strictly positive. This property is the Riemannian version of the Polyak–Łojasiewicz inequality and generalizes a result by [34] for the Rayleigh quotient on the sphere.
Proposition 4
(Gradient dominance) The function f satisfies
for all subspaces that have a largest principal angle with .
Proof
We assume that since otherwise the statement is trivially true. By Theorem 4.1, we have
Since for all matrices and , we can write (for any ) that
Using that and choosing , we get the desired result.
Convergence of Riemannian Steepest Descent
We now have everything in place to prove the convergence of the Riemannian steepest descent (RSD) method on the Grassmann manifold for minimizing f. Starting from a subspace , we iterate
| 21 |
Here, is a step size that may depend on the iteration t and will be carefully chosen depending on the specific case, but always depending on , which equals .
We start by a general result which shows that the distance to the optimal subspace contracts after one step of steepest descent. The step size depends on the smoothness and weak-quasi-convexity constants of f from Propositions 1 and 3. This is crucial since the constant depends on the biggest principal angle between and and bounding the evolution of distances of the iterates to the minimizer will help us also bound this constant.5 An alternative contraction property with a more tractable step size is presented in Proposition 6 of Appendix B.
Lemma 5.1
(Contraction of RSD) Let and have principal angles . Then, iteration (21) with satisfies
Observe that implies and any subspace of dimension k will be an eigenspace of A with . We will therefore not explicitly prove this lemma and all forthcoming convergence results for since the statements will be trivially true.
Proof of Lemma 5.1
By the assumption on the principal angles, we get that . The hypothesis on and Lemma 4.1 then gives
By (5), this guarantees that the geodesic lies within the injectivity domain at for . Hence, is bijective along this geodesic and thus . We can thus apply Lemma 3.1 to obtain
| 22 |
with
Theorem 4.1 and Lemma 4.2 together with Proposition 1 give
Multiplying by and using , we get
Substituting into (22), we obtain the first statement of the lemma.
Remark 5.1
When , Lemma 5.1 still holds for any subspace spanned by k leading eigenvectors of A. In that case, the lemma only guarantees that the distance between the iterates of steepest descent and this does not increase.
dummy
Linear Convergence Rate Under Positive Eigengap
Lemma 5.1 features a contraction rate only for one step of the algorithm. In order to get a global convergence rate, one needs to bound the quantity from below and independently of t. To that end, we need a stricter bound in the distance of the initial guess to the optimum. Such a bound guarantees that remains always lower bounded by a positive number, or equivalently, that the iterates of the algorithm never get too close to a non-optimal critical point.
Theorem 5.1
If then the iterates of Riemannian steepest descent (21) with step size such that
satisfy
Proof
We first claim that for all . This would then also imply that for all since
For , we have by hypothesis on and thus
Since by construction , this implies that and Lemma 5.1 guarantees that . In particular, we also have .
Next, assume that
which implies . Then by a similar argument like above, we have
| 23 |
By hypothesis on , we observe
Applying Lemma 5.1 once again with the induction hypothesis proves the claim:
The main statement of the theorem now follows easily: Since and for all , Lemma 5.1 gives
Combining with (23) and shows the desired result by induction.
If the eigengap is strictly positive, then Theorem 5.1 gives an exponential convergence rate towards the optimum . If , then Theorem 5.1does not provide a convergence rate but rather implies that the intrinsic distances of the iterates to the optimum do not increase.
From Theorem 5.1 we get immediately the following iteration complexity.
Corollary 5.1
Let Riemannian steepest descent be started from a subspace that satisfies and with step-size satisfying the condition of Theorem 5.1. Then after at most
many iterations, will satisfy . With the maximal step size allowed in Theorem 5.1, we get
Proof
In order to guarantee , it suffices to have
Taking the logarithm of both sides, we get
which gives
since is negative. By considering that , we get
and the smallest integer that satisfies this inequality is exactly
The inequality part of the result follows by considering that
The final bound for T follows by a simple substitution of .
As expected, T depends inversely proportional on the eigengap and proportional to the spread of the eigenvalues. In addition, we also have an extra term that depends on the initial distance , which is due to the weak-quasi-convexity property of f. This is a conservative overestimation, since this quantity improves as the iterates get closer to the optimum.
Remark 5.2
If , the exponential convergence rate is in terms of the intrinsic distance on the Grassmann manifold, that is, the norm of the principal angles. Standard convergence results for subspace iteration are stated for the biggest principal angle, that is, the norm. This is weaker than the intrinsic distance. For subspace iteration with projection, the convergence result from [31, Thm. 5.2] shows that all principal angles converge to zero and eventually gives convergence of the norm of the principal angles. This is also weaker than the intrinsic distance.
Convergence of Function Values Without an Eigengap Assumption
When , Theorem 5.1 still holds, but does not provide a rate of convergence as discussed above. Instead, we can prove the following result:
Theorem 5.2
If the distance of the initial subspace to the minimizer satisfies for a subspace that is spanned by any k leading eigenvectors of A, then the iterates of Riemannian steepest descent (21) with fixed step size
satisfy
Proof
Since we satisfy all the hypotheses of Theorem 5.1, we know that for all it holds and thus also that is in the injectivity domain of at . In addition, its proof states in (23) that
which implies that the function f is weakly-quasi-convex at every with constant . Hence
| 24 |
where we defined
Similar to the proof of Theorem 5.1, by the hypothesis on the step size , Lemma 5.1 shows that is in the injectivity domain of at . Hence, by the definition of Riemannian steepest descent, we have
| 25 |
In addition, the smoothness property (10) of f gives
Substituting (25), we obtain
| 26 |
since with and .
Since has nonnegative sectional curvature, Lemma 3.2 implies
Substituting (25) into the above and rearranging terms gives
Combining with (24), we get
| 27 |
Now multiplying (26) by and summing with (27) gives
| 28 |
By assumption , where and . Since
Inequality (28) can be simplified to
Summing from 0 to gives
From the smoothness property (10) at the critical point of f, we get
Combining these two inequalities then leads to
Since (26) holds for all , it also implies for all . Substituting
into the inequality from above,
we obtain the desired result.
Remark 5.3
This type of result is standard for functions that are geodesically convex (see, e.g. [35]). Our objective function does not satisfy this property, but we can still have a similar upper bound on the iteration complexity for convergence in function value. We note that this does not imply convergence of the iterates to a specific k-dimensional subspace, but only convergence of a subsequence of the sequence of the iterates.
Sufficiently Small Step Sizes
The convergence results in Theorems 5.1 and 5.2 require that the initial subspace lies within a distance strictly less than from a global minimizer . While this condition is independent from the eigengap (unlike results that rely on standard convexity, see appendix), it is also not fully satisfactory: it is hard to verify in practice, and it is unnecessarily severe in numerical experiments. In fact, this condition is only used to obtain a uniform lower bound on the weak-quasi-convexity constant with the largest principal angle between and . Since the Riemannian distance is the norm of the principal angles, a contraction in this distance leads automatically to if . If one could guarantee by some other reasoning that does not increase after one step, the condition would not be needed.
We now show that for sufficiently small step sizes , the largest principal angle between and does indeed not increase after each iteration of Riemannian steepest descent regardless of the initial subspace . While it does not explain what we observe in numerical experiments where large steps can be taken, it is a first result in explaining why we can initialize the iteration at a random initial subspace .
Proposition 5
Riemannian steepest descent started from a subspace returns a subspace such that
for all step sizes where is sufficiently small.
For the proof of this proposition, we will need the derivatives of certain singular values. While this is well known for isolated singular values, it is possible to generalize to higher multiplicities as well by relaxing the ordering and sign of singular values [10]. For a concrete formula, we use the following result from Lemma A.5 in [24].
Lemma 5.2
Let be the singular values of S with and the associated left and right orthonormal singular vectors. Suppose that has multiplicity m, that is,
Then, the jth singular value of T satisfies
where is the jth largest eigenvalue of with
Proof of Proposition 5
For ease of notation, let and such that and . By definition of the exponential map on Grassmann, the next iterate of the Riemannian SD iteration (21) with step satisfies
where
Since V is orthogonal, we can write
where and . Taking Taylor expansions of and ,
we obtain
| 29 |
since .
Let now be the vector of k principal angles between and . As in (12) and (19), we therefore have the SVDs
| 30 |
where and have orthonormal columns. Next, we write (29) in terms of
Since , the identity (17) gives
After substituting (11) and (30), a short calculation using and the orthogonality of and then shows
Relating back to (29), we thus obtain
The singular values of are therefore the same as the singular values of the matrix .
By Weyl’s inequality (see, e.g., [18, Cor. 7.3.5]), each singular value of is close to some singular value of . Let . Denote the jth singular value of by to which we will apply Lemma 5.2. Let m be the multiplicity of . Hence, there exists such that . Since is a diagonal matrix with decreasing diagonal, its th singular value equals and its associated left/right singular vector is the th canonical vector . Denoting
observe that (here, is a diagonal matrix and is a scalar) and likewise for . We thus get
In the proof of Proposition 3, we showed that the matrix in brackets above is symmetric and positive semi-definite (see (20)). Since , the eigenvalues of are therefore all non-negative. Lemma 5.2 thus gives that for sufficiently small and positive . Since the singular values of are the cosines of the principal angles between and with step size , we conclude that there exists such that for all it holds
Since j was arbitrary, this finishes the proof.
Numerical Experiment
We report on a small numerical experiment to verify the convergence rates proven above. The steepest descent iteration with fixed step size was implemented in Matlab using the geodesic formula (4).
As first test matrix, we took the standard 3D Laplacian on a unit cube, discretized with finite differences and zero Dirichlet boundary conditions. The size of the matrix A is . We tested a few values for the block size k. They are depicted in the table below, together with other parameters that are relevant for Theorem 5.1.
| k | ||
|---|---|---|
| 1 | ||
| 6 | ||
| 10 |
In Fig. 1, the convergence of the Riemannian distance is visible in addition to the theoretical convergence rate of Theorem 5.1. We see that in all cases, these bounds on the convergence are valid (in particular, exponential) although they are rather conservative.
Fig. 1.

Steepest descent along geodesics for the block Rayleigh quotient of size k applied to a discretized 3D Laplacian matrix. The full lines correspond to the experimental values and the dashed lines to the theoretical upper bounds
For completeness, we implemented steepest descent starting from a subspace far away from the optimum. In that case, Theorem 5.1 does not apply since, if , the step-size is or will become eventually negative. However, a meaningful choice for is given by Proposition 7 of Appendix B, where we prove a local linear convergence rate for the function values of the iterates for step size .
We see in Fig. 2 that despite the seemingly bad initial guess, steepest descent converges globally with a linear rate. This reveals that the restriction of the initial guess in our theoretical results is probably unnecessary and constitutes a topic for future work.
Fig. 2.

Same matrix from Fig. 1 but such that and with fixed step size
In the second test, we investigate the convergence when the eigengap is small or zero. In particular, we take with V a random orthogonal matrix and D contains the eigenvalues
The other eigenvalues are equidistantly distributed between 0.1 and 0.2. The block size and other relevant parameters for the test are described below. Since the convergence for small slows down considerably after the first 5 iterations, we apply the bounds of Theorem 5.2 at iteration (and treat this as the start with ).
| k | |||
|---|---|---|---|
| 2 | |||
| 3 | |||
| 4 | |||
| 5 | 0 |
The convergence in function value is visible in Fig. 3. Observe that we have displayed a logarithmic scale for both axes whereas before the figure had a logarithmic scale only for y-axis. Algebraic convergence like 1/t is therefore visible as a straight line. We see in the figure that the convergence is not easily described, and that there is no clear difference between zero or small gap. However, the upper bounds of Theorem 5.2 are again valid. In addition, when the gap is not small, the convergence is clearly faster.
Fig. 3.

Steepest descent along geodesics for the block Rayleigh quotient of size k applied to a random matrix with small eigengaps. The full lines correspond to the experimental values and the dashed lines to the theoretical upper bounds of Theorem 5.2. Each color corresponds to a certain eigengap
As before, we test the behaviour of steepest descent starting from an initial guess far away from the optimum. We use again step size ; see Theorem B.2. In Fig. 4 we show the convergence of steepest descent for the problem defined by matrix A with this step size.
Fig. 4.

Same matrices with small eigengap from Fig. 3 but such that and with fixed step size
We observe again that the local nature of our theoretical results is quite pessimistic: the algorithm converges with an algebraic rate even with a bad initial guess but it shows eventually linear convergence.
Conclusion and Future Work
We provided the first non-asymptotic convergence rates for Riemannian steepest descent on the Grassmann manifold for computing a subspace spanned by k leading eigenvectors of a symmetric matrix A.
Our main idea was to exploit a convexity-like structure of the block Rayleigh quotient, which can be of much more general interest than for only analyzing steepest descent. One example is line search methods, which have usually favourable properties compared to vanilla steepest descent. Also, weakly-quasi-convex functions have been proven to admit accelerated algorithms [25], while accelerated or almost accelerated Riemannian algorithms have been developed in [5, 6, 36]. It would naturally be interesting to examine whether a provable accelerated method can be developed for the block Rayleigh quotient on the Grassmann manifold. This would hopefully reduce the dependence of the iteration complexity on the eigengap from to .
Another interesting direction is to extend the analysis of [4] from the computation of just one leading eigenvector to computation of a whole subspace, using the generalized machinery developed in this work, or develop a noisy version of steepest descent and compare with noisy power method [14].
Acknowledgements
This work was supported by the SNSF under research project 192363.
Appendix A: Geodesic convexity
Let and thus is the unique minimizer of f. Define the following neighbourhood of in :
| 31 |
Here, denotes the largest principal angle between and . Since is a metric on (see [30]), any two subspaces will satisfy by triangle inequality. They thus have a unique connecting geodesic. It is shown in [?, Lemma 2] that for any fixed this geodesic remains in . Each set is thus an open totally geodesically convex set as defined in, e.g., [8, Def. 11.16].
One of the main results in [3], namely Cor. 4, states that f is geodesically convex on . This is unfortunately wrong and we present a small counterexample.
Counterexample for Cor. 4 in [3].
Here we use the notation of [3]. The reader is encouraged to take a look there for notational purposes.
Take and . Define the matrices
These matrices satisfy the conditions posed in [3]:
Principal alignment: .
Principal angles between and are in .
since .
Now consider the following tangent vector of unit Frobenius norm:
It is clearly a tangent vector of since . The Hessian of at in the direction of satisfies (see equation (4.2) in [3])
Simple calculation shows that
Hence for , we have and the is non-convex which is in contrast with Corollary 4.
Instead, our Theorem A.1 guarantees convexity when depends on the spectral gap. Since f is smooth, the function is geodesically convex on if and only if its Riemannian Hessian is positive definite on ; see, e.g., [8, Thm. 11.23]. We will therefore compute the eigenvalues of based on its matrix representation. This requires us to first vectorize the tangent space.
From (3), a matrix G is a tangent vector if and only if . Hence, taking orthonormal such that , we have the equivalent definition
The matrix M above can be seen as the coordinates of in the basis . More specifically, by using the linear isomorphism that stacks all columns of a matrix under each other, we can define the tangent vectors of as standard (column) vectors in the following way:
Here, the Kronecker product appears due to [17, Lemma 4.3.1]. By well-known properties of (see, e.g., [17, Chap. 4.2]), the matrix has orthonormal columns. We have thus obtained an orthonormal basis for the (vectorized) tangent space. With this setup, we can now construct the Hessian.
Lemma A.1
Let be the orthonormal basis for the vectorization of . Then the Riemannian Hessian of f at in that basis has the symmetric matrix representation
| 32 |
Furthermore, with and its eigenvalues satisfy
Proof
Since is a linear isomorphism, the symmetric matrix satisfies
where is the Euclidean inner product. Define . Plugging in the formula (9) for , we calculate
Here, we used typical calculus rules for the Kronecker product (see, e.g., [17, Chap. 4.2]). We recognize the matrix directly.
The eigenvalues of (32) can be directly obtained using [17, Thm. 4.4.5].
Taking and , Lemma A.1 shows immediately that the minimal eigenvalue of is equal to . Since , will remain strictly positive definite in a neighbourhood of by continuity. To quantify this neighbourhood, we will connect to an arbitrary using a geodesic and see how this influences the bounds of Lemma A.1. This also requires connecting to . The next lemma shows that both geodesics are closely related. Recall that and denote diagonal matrices of size . For convenience, we will denote by O a zero matrix whose dimensions are clear from the context and is not always square.
Lemma A.2
Let be such that with . Denote the principal angles between and by and assume that . Choose such that and , . Define the curves
where the orthogonal matrices are the same as in Lemma 4.3. Then is the connecting geodesic on from to . Likewise, is a connecting geodesic on from to . Furthermore, and are orthonormal matrices for all t.
Proof
Assume , where means that . Like in the proof of Prop. 3, the CS decomposition of X and Y from Lemma 4.3 can be written in terms of their principal angles . Since and , this gives after dividing certain block matrices the relations
where and are orthogonal matrices of size and , resp.
Denote and . By definition, the connecting geodesic is determined by the tangent vector , which can be computed from (6). To this end, we first need the compact SVD of . Substituting the results from above, we get (cfr. (15))
Observe that this is a compact SVD. Applying (6), we therefore get
and from (4), the connecting geodesic satisfies
We have proven the stated formula for . Verifying that follows from a simple calculation that uses .
Denote and . To prove , we proceed similarly by computing , which requires now the SVD of . Again substituting the results from the CS decomposition, we get
Since (6) requires a compact SVD with a square , we rewrite this as
where contains columns that are orthonormal to X (the final result will not depend on ). Let denote the principal angles between and . Up to zero angles, they are the same as those between and . Since , we thus have
Applying (6) with these principal angles, we obtain
From (4), the corresponding geodesic satisfies
Rewriting the block matrix, we have proven . Its orthonormality is again a straightforward verification.
With the previous lemma, we can now investigate the Riemannian Hessian of f near when it is given in the matrix form of Lemma A.1. Let with orthonormal X. Its principal angles with are . Use the substitutions and in Lemma A.2 to define the geodesics and that connect to , and to , resp. Denoting
we get the following expressions for the geodesics:
Recall that is defined using and . Since and for some orthogonal matrices , we can write with that
| 33 |
Here we used simplifications like .
A simple bounding of the eigenvalues of the difference of these matrices results in the main result.
Theorem A.1
Let . Define the neighbourhood
then f is geodesically convex on .
Proof
Our aim is to show that remains positive given the bound on . From Lemma A.1, we see that
| 34 |
Since are orthogonal in (33), it suffices to find a lower and upper bound of, resp.,
Standard eigenvalue inequalities for symmetric matrices (see, e.g., [18, Cor. 4.3.15]) give
Recall that are the eigenvalues of A. Since is a tall rectangular matrix, we apply the generalized version of Ostrowski’s theorem from [16, Thm. 3.2] to each term above6 and obtain
since the matrices are orthogonal and . Adding this gives the lower bound
| 35 |
Likewise, using the block structure of , we get
and thus
| 36 |
The condition (34) is thus satisfied when
which reduces to the bound on in the statement of the theorem.
It remains to show that is an open totally geodesically convex set. Since , we get
Hence, with since .
If , the proof above can be simplified.
Corollary A.1
Let and define the neighbourhood
Then f is geodesically convex on .
Proof
Since , there is no need to simplify the bounds (35) and (36) as was done above. This gives that f is convex as long as
Rewriting leads directly to the stated condition on .
Remark that optimizing f on is equivalent to
| 37 |
which is the minimization of the Rayleigh quotient problem on the unit sphere . Cor. A.1 can therefore also be phrased in terms of a geodesically convex region for this problem. Denoting a unit norm top eigenvector of A by and using that , we get that (37) is geodesically convex on
This result can now be directly compared to [19, Lemma 7] where the corresponding region is defined as . This is a stricter condition and our result is therefore a small improvement.
Appendix B: Convergence of Steepest Descent with step
We now prove convergence of steepest descent with a more tractable choice of step-size compared to the analysis of the main paper. However, this requires a slightly better initialization at most away from the minimizer.
Maximum extent of the Iterates
We first prove that steepest descent with step-size at most does not guarantee contraction on distances from step to step, but we can still bound the distance at step t with the initial distance up to a scalar:
Proposition 6
Consider steepest descent applied to f with step-size . If the iterates satisfy , then they also satisfy
Proof
Consider the discrete Lyapunov function
Then
By -smoothness of f, we have
We also know by Proposition 3 that
for any with . By the fact that the sectional curvatures of the Grassmann manifold are non-negative, we have
Thus
because . Since does not increase, we have
and the desired result follows.
Convergence Under Positive Eigengap
When , we can use gradient dominance to prove convergence of steepest descent to the (unique) minimizer in terms of function values:
Proposition 7
Steepest descent with step-size initialized at such that
satisfies
Proof
By the previous result and an induction argument to guarantee that the biggest angle between and stays strictly less than , we can bound the quantities uniformly from below:
Since , we have
By -smoothness of f, we have
and applying gradient dominance (Proposition 4), we get the bound
thus
By induction the desired result follows.
We now state the iteration complexity of steepest descent algorithm:
Theorem B.1
Steepest descent with step-size starting from a subspace with distance at most from computes an estimate of such that in at most
Proof
For , it suffices to have
by quadratic growth of f in Proposition 2. Using for all and , the previous result gives that it suffices to choose T as the smallest integer such that
Solving for T and substituting , we get the required statement.
Gap-Less Result
We also prove a convergence result for the function values when is assumed to be 0:
Theorem B.2
Steepest descent with step-size initialized at such that
satisfies
Proof
By Proposition 6, we have that and f satisfies the weak-quasi-convexity inequality at any iterate of steepest descent with constant .
Consider the discrete Lyapunov function
We have that
Now we have to estimate a bound for . By -smoothness of f and denoting we have
By -weak–strong-convexity of f and the fact that the Grassmann manifold is of positive curvature, we have
Summing this to the previous inequality, we get
Thus
Thus and the result follows.
Funding
Open access funding provided by University of Geneva.
Footnotes
Krylov methods are arguably the most popular algorithms but they do not iterate on a subspace directly and are typically started from a single vector. In particular, they cannot easily improve a given approximation of a subspace for large .
Personal communication by Yousef Saad.
This can be made very precise by describing as the quotient of the Stiefel manifold with the orthogonal group. The elegant theory of this quotient manifold is worked out in [2].
Using the quotient manifold theory, one would use horizontal lifts.
Observe that the cited theorem orders the eigenvalues inversely to the convention used in this paper.
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
References
- 1.Absil, P.-A., Mahony, R., Sepulchre, R.: Riemannian geometry of Grassmann manifolds with a view on algorithmic computation. Acta Appl. Math. 80(2), 199–220 (2004). 10.1023/b:acap.0000013855.14971.91 [Google Scholar]
- 2.Absil, P.-A., Mahony, R., Sepulchre, R.: Optimization Algorithms on Matrix Manifolds. Princeton University Press, Princeton (2008) [Google Scholar]
- 3.Ahn, K.,Suarez, F.: Riemannian perspective on matrix factorization. arXiv preprint arXiv:2102.00937 (2021)
- 4.Alimisis, F., Davies, P., Vandereycken, B., Alistarh, D.: Distributed principal component analysis with limited communication. Adv. Neural Inf. Process. Syst. 34, 2823–2834 (2021) [Google Scholar]
- 5.Alimisis, F., Orvieto, A., Bécigneul, G., and Lucchi, A.: A continuous-time perspective for modeling acceleration in Riemannian optimization. In International Conference on Artificial Intelligence and Statistics (2020), PMLR, pp 1297–1307
- 6.Alimisis, F., Orvieto, A., Becigneul, G., and Lucchi, A.: Momentum improves optimization on Riemannian manifolds. In International Conference on Artificial Intelligence and Statistics (2021), PMLR, pp 1351–1359
- 7.Bendokat, T., Zimmermann, R., Absil, P.-A.: A Grassmann manifold handbook: basic geometry and computational aspects. Adv. Comput. Math. 50(1), 6 (2024). 10.1007/s10444-023-10090-8 [Google Scholar]
- 8.Boumal, N.: An Introduction to Optimization on Smooth Manifolds. Cambridge University Press, Cambridge (2023). 10.1017/97810091661 [Google Scholar]
- 9.Bu, J.,Mesbahi, M.: A note on Nesterov’s accelerated method in nonconvex optimization: a weak estimate sequence approach. arXiv preprint arXiv:2006.08548 (2020)
- 10.Bunse-Gerstner, A., Byers, R., Mehrmann, V., Nichols, N.K.: Numerical computation of an analytic singular value decomposition of a matrix valued function. Numer. Math. 60(1), 1–39 (1991). 10.1007/BF01385712 [Google Scholar]
- 11.Cheeger, J., Ebin, D.G.: Comparison Theorems in Riemannian Geometry. American Mathematical Society (1975). 10.1090/chel/365
- 12.Edelman, A., Arias, T.A., Smith, S.T.: The geometry of algorithms with orthogonality constraints. SIAM J. Matrix Anal. Appl. 20(2), 303–353 (1999). 10.1137/S0895479895290954 [Google Scholar]
- 13.Golub, G.H., Van Loan, C.F.: Matrix Computations. JHU press, Baltimore (2013) [Google Scholar]
- 14.Hardt, M., Price, E.: The noisy power method: a meta algorithm with applications. Adv. Neural Inf. Process. Syst. 167, 1–27 (2014) [Google Scholar]
- 15.Hestenes, M., Karush, W.: A method of gradients for the calculation of the characteristic roots and vectors of a real symmetric matrix. J. Res. Natl. Bureau Stand. 47(1), 45–61 (1951). 10.6028/jres.047.008 [Google Scholar]
- 16.Higham, N.J., Cheng, S.: Modifying the inertia of matrices arising in optimization. Lin. Alg. Appl. 275–276, 261–279 (1998). 10.1016/s0024-3795(97)10015-5 [Google Scholar]
- 17.Horn, R., Johnson, C.R.: Topics in Matrix Analysis. Cambridge University Press, Cambridge (1991). 10.1017/cbo9780511840371 [Google Scholar]
- 18.Horn, R.A., Johnson, C.R.: Matrix Analysis, ed Cambridge University Press, Cambridge (2012) [Google Scholar]
- 19.Huang, L.-K., and Pan, S.: Communication-efficient distributed PCA by Riemannian optimization. In Proceedings of the 37th International Conference on Machine Learning (13–18 Jul 2020), H. D. III and A. Singh, Eds., vol. 119 of Proceedings of Machine Learning Research, PMLR, pp 4465–4474
- 20.Knyazev, A., Shorokhodov, A.: On exact estimates of the convergence rate of the steepest ascent method in the symmetric eigenvalue problem. Linear Algebra Appl. 154–156, 245–257 (1991). 10.1016/0024-3795(91)90379-B [Google Scholar]
- 21.Kuczynski, J., Wozniakowski, H.: Estimating the largest eigenvalue by the power and Lanczos algorithms with a random start. SIAM J. Matrix Anal. Appl. (1992). 10.1137/0613066 [Google Scholar]
- 22.Li, C.-K., Mathias, R.: Inequalities on the singular values of an off-diagonal block of a Hermitian matrix. J. Inequal. Appl. 3(2), 137–142 (1999). 10.1155/S1025583499000090 [Google Scholar]
- 23.Li, S., Tang, G., Wakin, M.B.: Landscape correspondence of empirical and population risks in the eigendecomposition problem. IEEE Trans. Signal Process. 70, 2985–2999 (2022). 10.1109/tsp.2022.3181333 [Google Scholar]
- 24.Lippert, R.A.: Fixing two eigenvalues by a minimal perturbation. Linear Algebra Appl. 406, 177–200 (2005). 10.1016/j.laa.2005.04.004 [Google Scholar]
- 25.Nesterov, Y., Gasnikov, A., Guminov, S., Dvurechensky, P.: Primal-dual accelerated gradient methods with small-dimensional relaxation oracle. Optim. Methods Softw. 36(4), 773–810 (2020). 10.1080/10556788.2020.1731747 [Google Scholar]
- 26.Neymeyr, K., Ovtchinnikov, E., Zhou, M.: Convergence analysis of gradient iterations for the symmetric eigenvalue problem. SIAM J. Matrix Anal. Appl. 32(04), 443–456 (2011). 10.1137/100784928 [Google Scholar]
- 27.Neymeyr, K., Zhou, M.: Iterative minimization of the Rayleigh quotient by block steepest descent iterations. Numer. Linear Algebra Appl. 21(5), 604–617 (2014). 10.1002/nla.1915 [Google Scholar]
- 28.O’Leary, D.P., Stewart, G., Vandergraft, J.S.: Estimating the largest eigenvalue of a positive definite matrix. Math. Comput. 33(148), 1289–1292 (1979). 10.2307/2006463
- 29.Paige, C.C., Saunders, M.A.: Towards a generalized singular value decomposition. SIAM J. Numer. Anal. 18(3), 398–405 (1981). 10.1137/0718026 [Google Scholar]
- 30.Qiu, L., Zhang, Y., Li, C.-K.: Unitarily invariant metrics on the Grassmann space. SIAM J. Matrix Anal. Appl. 27(2), 507–531 (2005). 10.1137/040607605 [Google Scholar]
- 31.Saad, Y.: Numerical Methods for Large Eigenvalue Problems, 2nd edition ed. SIAM, 2011. 10.1137/1.9781611970739
- 32.Sato, H., Iwai, T.: Optimization algorithms on the Grassmann manifold with application to matrix eigenvalue problems. Jpn. J. Ind. Appl. Math. 31, 355–400 (2014). 10.1007/s13160-014-0141-9 [Google Scholar]
- 33.Wong, Y.-C.: Sectional curvatures of Grassmann manifolds. Proc. Natl. Acad. Sci. 60(1), 75–79 (1968). 10.1073/pnas.60.1.75 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Zhang, H., Reddi, S.J., Sra, S.: Riemannian svrg: fast stochastic optimization on Riemannian manifolds. In: Advances in Neural Information Processing Systems (2016)
- 35.Zhang, H., Sra, S.: First-order methods for geodesically convex optimization. arXiv preprint arXiv:1602.06053 (2016)
- 36.Zhang, H., Sra, S.: Towards Riemannian accelerated gradient methods. arXiv preprint arXiv:1806.02812 (2018)
