Optimization Techniques on Riemannian Manifolds
Steven Thomas Smith
Introduction
The preponderance of optimization techniques address problems posed on Euclidean spaces. Indeed, several fundamental algorithms have arisen from the desire to compute the minimum of quadratic forms on Euclidean space. However, many optimization problems are posed on non-Euclidean spaces. For example, finding the largest eigenvalue of a symmetric matrix may be posed as the maximization of Rayleigh’s quotient defined on the sphere. Optimization problems subject to nonlinear differentiable equality constraints on Euclidean space also lie within this category. Many optimization problems share with these examples the structure of a differentiable manifold endowed with a Riemannian metric. This is the subject of this paper: the extremization of functions defined on Riemannian manifolds.
The minimization of functions on a Riemannian manifold is, at least locally, equivalent to the smoothly constrained optimization problem on a Euclidean space, because every Riemannian manifold can be isometrically imbedded in some Euclidean space [47, Vol. V]. However, the dimension of the Euclidean space may be larger than the dimension of the manifold; practical and aesthetic considerations suggest that one try to exploit the intrinsic structure of the manifold. Elements of this spirit may be found throughout the field of numerical methods, such as the emphasis on unitary (norm preserving) transformations in numerical linear algebra , or the use of feasible direction methods .
An intrinsic approach leads one from the extrinsic idea of vector addition to the exponential map and parallel translation, from minimization along lines to minimization along geodesics, and from partial differentiation to covariant differentiation. The computation of geodesics, parallel translation, and covariant derivatives can be quite expensive. For an -dimensional manifold, the computation of geodesics and parallel translation requires the solution of a system of nonlinear and linear ordinary differential equations. Nevertheless, many optimization problems are posed on manifolds that have an underlying algebraic structure that may be exploited to greatly reduce the complexity of these computations. For example, on a real compact semisimple Lie group endowed with its natural Riemannian metric, geodesics and parallel translation may be computed via matrix exponentiation . Several algorithms are available to perform this computation . This algebraic structure may be found in the problems posed by Brockett , Bloch et al. , Smith , Faybusovich , Lagarias , Chu et al. , Perkins et al. , and Helmke . This approach is also applicable if the manifold can be identified with a symmetric space or, excepting parallel translation, a reductive homogeneous space . Perhaps the simplest nontrivial example is the sphere, where geodesics and parallel translation can be computed at low cost with trigonometric functions and vector addition. Furthermore, Brown and Bartholomew-Biggs show that in some cases function minimization by following the solution of a system of ordinary differential equations can be implemented such that it is competitive with conventional techniques.
The outline of the paper is as follows. In Section 2, the optimization problem is posed and conventions to be held throughout the paper are established. The method of steepest descent on a Riemannian manifold is described in Section 3. To fix ideas, a proof of linear convergence is given. The examples of Rayleigh’s quotient on the sphere and the function on the special orthogonal group are presented. In Section 4, Newton’s method on a Riemannian manifold is derived. As in Euclidean space, this algorithm may be used to compute the extrema of differentiable functions. It is proved that this method converges quadratically. The example of Rayleigh’s quotient is continued, and it is shown that Newton’s method applied to this function converges cubically, and is approximated by the Rayleigh quotient iteration. The example considering is continued. In a related example, it is shown that Newton’s method applied to the sum of the squares of the off-diagonal elements of a symmetric matrix converges cubically. This provides an example of a cubically convergent Jacobi-like method. The conjugate gradient method is presented in Section 5 with a proof of superlinear convergence. This technique is shown to provide an effective algorithm for computing the extreme eigenvalues of a symmetric matrix. The conjugate gradient method is applied to the function .
Preliminaries
This paper is concerned with the following problem.
Let be a complete Riemannian manifold, and a function on . Compute
There are many well-known algorithms for solving this problem in the case where is a Euclidean space. This paper generalizes several of these algorithms to the case of complete Riemannian manifolds by replacing the Euclidean notions of straight lines and ordinary differentiation with geodesics and covariant differentiation. These concepts are reviewed in the following paragraphs. We follow Helgason’s and Spivak’s treatments of covariant differentiation, the exponential map, and parallel translation. Details may be found in these references.
Let be a complete -dimensional Riemannian manifold with Riemannian structure and corresponding Levi-Civita connection . Denote the tangent plane at in by or . For every in , the Riemannian structure provides an inner product on given by the nondegenerate symmetric bilinear form . The notation and , where , , is often used. The distance between two points and in is denoted by . The gradient of a real-valued function on at , denoted by , is the unique vector in such that for all in .
Denote the set of functions on by and the set of vector fields on by . An affine connection on is a function which assigns to each vector field an -linear map which satisfies
for all , , , . The map may be applied to tensors of arbitrary type. Let be an affine connection on and . Then there exists a unique -linear map of tensor fields into tensor fields which satisfies
where , , and , are tensor fields. If is of type , then , called the covariant derivative of along , is of type , and , called the covariant differential of , is of type .
Let be a differentiable manifold with affine connection . Let be a smooth curve with tangent vectors , where is an open interval. The curve is called a geodesic if for all . Let () be a smooth family of tangent vectors defined along . The family is said to be parallel along if for all .
For every in and in , there exists a unique geodesic t\mapsto\gamma_{\lower 1.0pt\hbox{\scriptstyle X}}(t) such that \gamma_{\lower 1.0pt\hbox{\scriptstyle X}}(0)=p and \dot{\gamma}_{\lower 1.0pt\hbox{\scriptstyle X}}(0)=X. We define the exponential map by \exp_{p}(X)=\gamma_{\lower 1.0pt\hbox{\scriptstyle X}}(1) for all such that is in the domain of \gamma_{\lower 1.0pt\hbox{\scriptstyle X}}. Oftentimes the map will be denoted by “” when the choice of tangent plane is clear, and \gamma_{\lower 1.0pt\hbox{\scriptstyle X}}(t) will be denoted by . A neighborhood of in is a normal neighborhood if , where is a star-shaped neighborhood of the origin in and maps diffeomorphically onto . Normal neighborhoods always exist.
Given a curve such that , for each there exists a unique family () of tangent vectors parallel along such that . If joins the points and , the parallelism along induces an isomorphism defined by .
Given a Riemannian structure on , there exists a unique affine connection on , called the Levi-Civita connection, which for all , satisfies
Length minimizing curves on are geodesics of the Levi-Civita connection. We shall use this connection throughout the paper.
Unless otherwise specified, all manifolds, vector fields, and functions are assumed to be smooth. When considering a function to be minimized, the assumption that is differentiable of class can be relaxed throughout the paper, but must be continuously differentiable at least beyond the derivatives that appear. As the results of this paper are local ones, the assumption that be complete may also be relaxed in certain instances.
We will use the the following definitions to compare the convergence rates of various algorithms.
Let be a Cauchy sequence in that converges to . (i) The sequence is said to converge (at least) linearly if there exists an integer and a constant such that for all . (ii) The sequence is said to converge (at least) quadratically if there exists an integer and a constant such that for all . (iii) The sequence is said to converge (at least) cubically if there exists an integer and a constant such that for all . (iv) The sequence is said to converge superlinearly if it converges faster than any sequence that converges linearly.
Steepest descent on Riemannian manifolds
The method of steepest descent on a Riemannian manifold is conceptually identical to the method of steepest descent on Euclidean space. Each iteration involves a gradient computation and minimization along the geodesic determined by the gradient. Fletcher , Botsaris , and Luenberger describe this algorithm in Euclidean space. Gill and Murray and Sargent apply this technique in the presence of constraints. In this section we restate the method of steepest descent described in the literature and provide an alternative formalism that will be useful in the development of Newton’s method and the conjugate gradient method on Riemannian manifolds.
Let be a complete Riemannian manifold with Riemannian structure and Levi-Civita connection , and let .
Select , compute , and set .
It is easy to verify that , for , where is the parallelism with respect to the geodesic from to . By assumption, the function is minimized at . Therefore, we have . Thus the method of steepest descent on a Riemannian manifold has the same deficiency as its counterpart on a Euclidean space, i.e., it makes a ninety degree turn at every step.
The convergence of Algorithm 3.1 is linear. To prove this fact, we will make use of a standard theorem of the calculus, expressed in differential geometric language. The covariant derivative of along is defined to be . For , , …, define ( times), and let .
The following special cases of Remark 3.2 will be particularly useful. When , Eq. (1) yields
The convergence proofs require a characterization of the second order terms of near a critical point. Consider the second covariant differential of a smooth function . If is a coordinate chart on , then at this tensor takes the form
Let be a complete Riemannian manifold with Riemannian structure and Levi-Civita connection . Let have a nondegenerate critical point at such that the Hessian is positive definite. Let be a sequence of points in converging to and a sequence of tangent vectors such that
where is chosen such that for all . Then there exists a constant and a such that for all , , …,
Proof.The proof is a generalization of the one given in Polak [37, p. 242ff] for the method of steepest descent on Euclidean space.
The existence of a convergent sequence is guaranteed by the smoothness of . If for some integer , the assertion becomes trivial; assume otherwise. By the smoothness of , there exists an open neighborhood of such that is positive definite for all . Therefore, there exist constants and such that for all and all ,
Define by the relations , , , … By assumption, and from Eq. (2), we have
Combining this equality with the inequalities of (5) yields
Next, use (6) with Schwarz’s inequality and the first inequality of (7) to obtain
Define the function by the equation . By Eq. (2), the second order Taylor formula, we have
Using assumption (ii) of the theorem along with (5) we establish for
We may now compute an upper bound for the rate of linear convergence . By assumption (i) of the theorem, must be chosen to minimize the right hand side of (9). This corresponds to choosing \lambda=c\|(\mathop{\rm grad}\nolimits{\!f})_{p_{i}}\|\big{/}K\|H_{i}\|. A computation reveals that
Applying (7) and (8) to this inequality and rearranging terms yields
where \theta=\bigl{(}1-(ck/K)^{2}\bigr{)}. By assumption, and , therefore . (Note that Schwarz’s inequality bounds below unity.) From (10) it is seen that \bigl{(}f(p_{i})-f({\hat{p}})\bigr{)}\leq E\theta^{i} where E=\bigl{(}f(p_{0})-f({\hat{p}})\bigr{)}. From (7) we conclude that for , , …,
If Algorithm 3.1 converges to a local minimum, it converges linearly.
The choice yields in the second assumption the Theorem 3.3, which establishes the corollary.
Let be the imbedded sphere in , i.e., , where denotes the standard inner product on , which induces a metric on . Geodesics on the sphere are great circles and parallel translation along geodesics is equivalent to rotating the tangent plane along the great circle. Let and have unit length, and be any tangent vector. Then
where is the parallelism along the geodesic . Let be an -by- positive definite symmetric matrix with distinct eigenvalues and define by . A computation shows that
The function has a unique minimum and maximum point at the eigenvectors corresponding to the smallest and largest eigenvalues of , respectively. Because is geodesically complete, the method of steepest descent in the opposite direction of the gradient converges to the eigenvector corresponding to the smallest eigenvalue of ; likewise for the eigenvector corresponding to the largest eigenvalue. Chu considers the continuous limit of this problem. A computation shows that is maximized along the geodesic () when , where and . Thus and may be computed with simple algebraic functions of and (which appear below in Algorithm 5.5). The results of a numerical experiment demonstrating the convergence of the method of steepest descent applied to maximizing Rayleigh’s quotient on are shown in Figure 1 on page 1.
Consider the function on the special orthogonal group , where is a real symmetric matrix with distinct eigenvalues and is a real diagonal matrix with distinct diagonal elements. It will be convenient to identify tangent vectors in with tangent vectors in , the tangent plane at the identity, via left translation. The gradient of (with respect to the negative Killing form of , scaled by ) at is , where . The group acts on the set of symmetric matrices by conjugation; the orbit of under the action of is an isospectral submanifold of the symmetric matrices. We seek a such that is maximized. This point corresponds to a diagonal matrix whose diagonal entries are ordered similarly to those of . A related example is found in Smith , who considers the homogeneous space of matrices with fixed singular values, and in Chu .
The Levi-Civita connection on is bi-invariant and invariant with respect to inversion; therefore, geodesics and parallel translation may be computed via matrix exponentiation of elements in and left (or right) translation [25, Ch. II, Ex. 6]. The geodesic emanating from the identity in in direction is given by the formula , where the right hand side denotes regular matrix exponentiation. The expense of geodesic minimization may be avoided if instead one uses Brockett’s estimate for the step size. Given , we wish to find such that is minimized. Differentiating twice shows that and , where . Hence, and, by Schwarz’s inequality and the fact that is an isometry, . We conclude that if , then is nonnegative on the interval
which provides an estimate for the step size of Step 1 in Algorithm 3.1. The results of a numerical experiment demonstrating the convergence of the method of steepest descent (ascent) in using this estimate are shown in Figure 2.
Newton’s method on Riemannian manifolds
As in the optimization of functions on Euclidean space, quadratic convergence can be obtained if the second order terms of the Taylor expansion are used appropriately. In this section we present Newton’s algorithm on Riemannian manifolds, prove that its convergence is quadratic, and provide examples. Whereas the convergence proof for the method of steepest descent relies upon the Taylor expansion of the function , the convergence proof for Newton’s method will rely upon the Taylor expansion of the one-form . Note that Newton’s method has a counterpart in the theory of constrained optimization, as described by, e.g., Fletcher , Bertsekas , or Dunn . The Newton method presented in this section has only local convergence properties. There is a theory of global Newton methods on Euclidean space and computational complexity; see the work of Hirsch and Smale , Smale , and Shub and Smale .
Let be an -dimensional Riemannian manifold with Riemannian structure and Levi-Civita connection , let be a one-form on , and let in be such that the bilinear form is nondegenerate. Then, by abuse of notation, we have the pair of isomorphisms
with the forward map defined by , which is nonsingular. The notation will henceforth be used for both the bilinear form defined by the covariant differential of evaluated at and the homomorphism from to induced by this bilinear form. In case of an isomorphism, the inverse can be used to compute a point in where vanishes, if such a point exists. The case will be of particular interest, in which case . Before expounding on these ideas, we make the following remarks.
This remark can be generalized in the following way.
The remark follows by applying Remark 4.1 and the Taylor’s theorem of real analysis to the function for any in .
Remarks 4.1 and 4.2 can be generalized to tensor fields, but we will only require Remark 4.2 for case to make the following observation.
Let be a one-form on such that for some in , . Given any in a normal neighborhood of , we wish to find in such that . Consider the Taylor expansion of about , and let be the parallel translation along the unique geodesic joining to . We have by our assumption that vanishes at , and from Eq. (14) for ,
If the bilinear form is nondegenerate, the tangent vector may be approximated by discarding the higher order terms and solving the resulting linear equation
This approximation is the basis of the following algorithm.
Let be a complete Riemannian manifold with Riemannian structure and Levi-Civita connection , and let be a one-form on .
Select such that is nondegenerate, and set .
(assume that is nondegenerate), increment , and repeat.
It can be shown that if is chosen suitably close (within the so-called domain of attraction) to a point in such that and is nondegenerate, then Algorithm 4.3 converges quadratically to . The following theorem holds for general one-forms; we will consider the case where is exact.
Let have a nondegenerate critical point at . Then there exists a neighborhood of such that for any , the iterates of Algorithm 4.3 for are well defined and converge quadratically to .
The proof of this theorem is a generalization of the corresponding proof for Euclidean spaces, with an extra term containing the Riemannian curvature tensor (which of course vanishes in the latter case).
Proof.If for some integer , the assertion becomes trivial; assume otherwise. Define by the relations , , , …, so that (n.b. this convention is opposite that used in the proof of Theorem 3.3). Consider the geodesic triangle with vertices , , and , and sides from to , from to , and from to , for . Let be the parallelism with respect to the side between and . There exists a unique tangent vector in defined by the equation
( may be interpreted as the amount by which vector addition fails). If we use the definition of Algorithm 4.3, apply the isomorphism to both sides of Eq. (15), we obtain the equation
By Taylor’s theorem, there exists an such that
By the smoothness of and , there exists an and constants , , , all greater than zero, such that whenever is in the convex normal ball ,
where the induced norm on is used in all three cases. Taking the norm of both sides of Eq. (18), applying the triangle inequality to the right hand side, and using the fact that parallel translation is an isometry, we obtain the inequality
The length of can be bounded by a cubic expression in by considering the distance between the points and . Given , small enough, let , be such that , and let be the parallel translation with respect to the geodesic from to . Karcher [29, App. C2.2] shows that
where is the sectional curvature of along any section in the tangent plane at any point near .
If is positive (negative) definite and Algorithm 4.3 converges to , then Algorithm 4.3 converges quadratically to a local minimum (maximum) of .
Let and be as in Example 3.5. It will be convenient to work with the coordinates , …, of the ambient space , treat the tangent plane as a vector subspace of , and make the identification via the metric. In this coordinate system, geodesics on the sphere obey the second order differential equation , , …, . Thus the Christoffel symbols are given by , where is the Kronecker delta. The th component of the second covariant differential of at in is given by (cf. Eq. (4))
Let be a tangent vector in . A linear operator defines a linear operator on the tangent plane for each in such that
If is invertible as an endomorphism of the ambient space , the solution to the linear equation for , in is
For Newton’s method, the direction in is the solution of the equation
Combining Eqs. (12), (21), and (22), we obtain
where \alpha_{i}=1\big{/}x_{i}^{\scriptscriptstyle\rm T}(Q-\rho(x_{i})I)^{-1}x_{i}. This gives rise to the following algorithm for computing eigenvectors of the symmetric matrix .
Let be a real symmetric -by- matrix.
Select in such that , and set .
and set \alpha_{i}=1\big{/}x_{i}^{\scriptscriptstyle\rm T}y_{i}.
The quadratic convergence guaranteed by Theorem 4.4 is in fact too conservative for Algorithm 4.7. As evidenced by Figure 1, Algorithm 4.7 converges cubically.
If is a distinct eigenvalue of the symmetric matrix , and Algorithm 4.7 converges to the corresponding eigenvector , then it converges cubically.
Proof 1.In the coordinates , …, of the ambient space , the th component of the third covariant differential of at is . Let . Then and the second order terms on the right hand side of Eq. (18) vanish at the critical point. The proposition follows from the smoothness of .
Proof 2.The proof follows Parlett’s [35, p. 72ff] proof of cubic convergence for the Rayleigh quotient iteration. Assume that for all , , and denote by . For all , there is an angle and a unit length vector defined by the equation , such that . By Algorithm 4.7
where . Therefore,
The following equalities and low order approximations in terms of the small quantities , , and are straightforward to establish: , , , and Thus, the denominator of the large fraction in Eq. (23) is of order unity and the numerator is of order . Therefore, we have
If Algorithm 4.7 is simplified by replacing Step 2 with
then we obtain the Rayleigh quotient iteration. These two algorithms differ by the method in which they use the vector to compute the next iterate on the sphere. Algorithm 4.7 computes the point in where intersects this tangent plane, then computes via the exponential map of this vector (which “rolls” the tangent vector onto the sphere). The Rayleigh quotient iteration computes the intersection of with the sphere itself and takes this intersection to be . The latter approach approximates Algorithm 4.7 up to quadratic terms when is close to an eigenvector. Algorithm 4.7 is more expensive to compute than—though of the same order as—the Rayleigh quotient iteration; thus, the RQI is seen to be an efficient approximation of Newton’s method.
If the exponential map is replaced by the chart , Shub shows that a corresponding version of Newton’s method is equivalent to the RQI.
Let , , , and be as in Example 3.6. The second covariant differential of may be computed either by polarization of the second order term of , or by covariant differentiation of the differential :
where , . To compute the direction , , for Newton’s method, we must solve the equation , which yields the linear equation
The linear operator is self-adjoint for all and, in a neighborhood of the maximum, negative definite. Therefore, standard iterative techniques in the vector space , such as the classical conjugate gradient method, may be used to solve this equation near the maximum. The results of a numerical experiment demonstrating the convergence of Newton’s method in are shown in Figure 2. As can be seen, Newton’s method converged within round-off error in two iterations.
If Newton’s method applied to the function converges to the point such that , , then it converges cubically.
Proof.By covariant differentiation of , the third covariant differential of at evaluated at the tangent vectors , , , , , , is
If , , then . Therefore, the second order terms on the right hand side of Eq. (18) vanish at the critical point. The remark follows from the smoothness of .
This remark illuminates how rapid convergence of Newton’s method applied to the function can be achieved in some instances. If is a matrix with entry at element , at element , and zero elsewhere, , , and , then
If the are close to , , for all , then may be small, yielding a fast rate of quadratic convergence.
Let be the projection of a square matrix onto its diagonal, and let be as above. Consider the maximization of the function , , on the special orthogonal group. This is equivalent to minimizing the sum of the squares of the off-diagonal elements of (Golub and Van Loan derive the classical Jacobi method). The gradient of this function at is . By repeated covariant differentiation of , we find
where is the identity matrix and , , . It is easily shown that if , i.e., if is diagonal, then (n.b. ). Therefore, by the same argument as the proof of Remark 4.11, Newton’s method applied to the function converges cubically.
Conjugate gradient on Riemannian manifolds
The method of steepest descent provides an optimization technique which is relatively inexpensive per iteration, but converges relatively slowly. Each step requires the computation of a geodesic and a gradient direction. Newton’s method provides a technique which is more costly both in terms of computational complexity and memory requirements, but converges relatively rapidly. Each step requires the computation of a geodesic, a gradient, a second covariant differential, and its inverse. In this section we describe the conjugate gradient method, which has the dual advantages of algorithmic simplicity and superlinear convergence.
Hestenes and Stiefel first used conjugate gradient methods to compute the solutions of linear equations, or, equivalently, to compute the minimum of a quadratic form on . This approach can be modified to yield effective algorithms to compute the minima of nonquadratic functions on . In particular, Fletcher and Reeves and Polak and Ribière provide algorithms based upon the assumption that the second order Taylor expansion of the function to be minimized sufficiently approximates this function near the minimum. In addition, Davidon, Fletcher, and Reeves developed the variable metric methods , but these will not be discussed here. One noteworthy feature of conjugate gradient algorithms on is that when the function in question is quadratic, they compute its minimum in no more than steps.
The conjugate gradient method on Euclidean space is uncomplicated. Given a function with continuous second derivatives and a local minimum at , and an initial point , the algorithm is initialized by computing the (negative) gradient direction . The recursive part of the algorithm involves (i) a line minimization of along the affine space , , where the minimum occurs at, say, , (ii) computation of the step , (iii) computation of the (negative) gradient , and (iv) computation of the next direction for line minimization,
where is chosen such that and conjugate with respect to the Hessian matrix of at . When is a quadratic form represented by the symmetric positive definite matrix , the conjugacy condition becomes ; therefore, . It can be shown in this case that the sequence of vectors are all mutually orthogonal and the sequence of vectors are all mutually conjugate with respect to . Using these facts, the computation of may be simplified with the observation that (Fletcher-Reeves) or (Polak-Ribière). When is not quadratic, it is assumed that its second order Taylor expansion sufficiently approximates in a neighborhood of the minimum, and the are chosen so that and are conjugate with respect to the matrix of second partial derivatives of at . It may be desirable to “reset” the algorithm by setting every th step (frequently, ) because the conjugate gradient method does not, in general, converge in steps if the function is nonquadratic. However, if is closely approximated by a quadratic function, the reset strategy may be expected to converge rapidly, whereas the unmodified algorithm may not be.
Many of these ideas have straightforward generalizations in the geometry of Riemannian manifolds; several of them have already appeared. We need only make the following definition.
Given a tensor field of type on such that for in , is a symmetric bilinear form, the tangent vectors and in are said to be -conjugate or conjugate with respect to if .
An outline of the conjugate gradient method on Riemannian manifolds may now be given. Let be an -dimensional Riemannian manifold with Riemannian structure and Levi-Civita connection , and let have a local minimum at . As in the conjugate gradient method on Euclidean space, choose an initial point in and compute the (negative) gradient directions in . The recursive part of the algorithm involves minimizing along the geodesic , , making a step along the geodesic to the minimum point , computing , and computing the next direction in for geodesic minimization. This direction is given by the formula
where is the parallel translation with respect to the geodesic step from to , and is chosen such that and are -conjugate, i.e.,
Eq. (26) is, in general, expensive to use because the second covariant differential of appears. However, we can use the Taylor expansion of about to compute an efficient approximation of . By the fact that and by Eq. (14), we have
Therefore, the numerator of the right hand side of Eq. (26) multiplied by the step size can be approximated by the equation
because, by definition, , , , …, and for any in , . Similarly, the denominator of the right hand side of Eq. (26) multiplied by can be approximated by the equation
because by the assumption that is minimized along the geodesic at . Combining these two approximations with Eq. (26), we obtain a formula for that is relatively inexpensive to compute:
Of course, as the connection is compatible with the metric , the denominator of Eq. (27) may be replaced, if desired, by .
The conjugate gradient method may now be presented in full.
Let be a complete Riemannian manifold with Riemannian structure and Levi-Civita connection , and let be a function on .
Select , compute , and set .
Set .
where is the parallel translation with respect to the geodesic from to . If , set . Increment , and go to Step 1.
Let have a nondegenerate critical point at such that the Hessian is positive definite. Let be a sequence of points in generated by Algorithm 5.2 converging to . Then there exists a constant and an integer such that for all ,
Note that linear convergence is already guaranteed by Theorem 3.3.
Proof.If for some integer , the assertion becomes trivial; assume otherwise. Recall that if , …, is some basis for , then the map defines a set of normal coordinates at . Let be a normal neighborhood of on which the normal coordinates are defined. Consider the map . By the smoothness of and , has a critical point at such that the Hessian matrix of at is positive definite. Indeed, by the fact that , the th component of the Hessian matrix of at is given by .
Therefore, there exists a neighborhood of , a constant , and an integer , such that for any initial point , the conjugate gradient method on Euclidean space (with resets) applied to the function yields a sequence of points converging to such that for all ,
See Polak [37, p. 260ff] for a proof of this fact. Let in be an initial point. Because is not an isometry, Algorithm 5.2 yields a different sequence of points in than the classical conjugate gradient method on (upon equating points in a neighborhood of with points in a neighborhood of via the normal coordinates).
Nevertheless, the amount by which fails to preserve inner products can be quantified via the Gauss Lemma and Jacobi’s equation; see, e.g., Cheeger and Ebin , or the appendices of Karcher . Let be small, and let and be orthonormal tangent vectors. The amount by which the exponential map changes the length of tangent vectors is approximated by the Taylor expansion
where is the sectional curvature of along the section in spanned by and . Therefore, near Algorithm 5.2 differs from the conjugate gradient method on applied to the function only by third order and higher terms. Thus both algorithms have the same rate of convergence. The theorem follows.
Applied to Rayleigh’s quotient on the sphere, the conjugate gradient method provides an efficient technique to compute the eigenvectors corresponding to the largest or smallest eigenvalue of a real symmetric matrix. Let and be as in Examples 3.5 and 4.6. From Algorithm 5.2, we have the following algorithm.
Let be a real symmetric -by- matrix.
Select in such that , compute , and set .
Compute , , and , such that is maximized, where and . This can be accomplished by geodesic minimization, or by the formulae
where , , and .
If , set . Increment , and go to Step 1.
The convergence rate of this algorithm to the eigenvector corresponding to the largest eigenvalue of is given by Theorem 5.3. This algorithm costs one matrix-vector multiplication (relatively inexpensive when is sparse), one geodesic minimization or computation of , and flops per iteration. The results of a numerical experiment demonstrating the convergence of Algorithm 5.5 on are shown in Figure 1.
Fuhrmann and Liu provide a conjugate gradient algorithm for Rayleigh’s quotient on the sphere that uses an azimuthal projection onto tangent planes.
Let , , and be as in Examples 3.6 and 4.10. As before, the natural Riemannian structure of is used. Let , . The parallel translation of along the geodesic is given by the formula , where denotes left translation by . Brockett’s estimate (n.b. Eq. (13)) for the step size may be used in Step 1 of Algorithm 5.2. The results of a numerical experiment demonstrating the convergence of the conjugate gradient method in are shown in Figure 2.
Acknowledgments.The author enthusiastically thanks Tony Bloch and the Fields Institute for the invitation to speak at the Fields Institute and for their generous support during his visit. The author also thanks Roger Brockett for his suggestion to investigate conjugate gradient methods on manifolds and for his criticism of this work, and the referee for his helpful suggestions. This work was supported in part by the National Science Foundation under the Engineering Research Center Program NSF D CRD-8803012, the Army Research Office under Grant DAA103-92-G-0164 supporting the Brown, Harvard, and MIT Center for Intelligent Control, and by DARPA under Air Force contract F49620-92-J-0466.