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 C∞C^{\infty} 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 nn-dimensional manifold, the computation of geodesics and parallel translation requires the solution of a system of 2n2n nonlinear and nn 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 trΘTQΘN\mathop{\rm tr}\nolimits\Theta^{\scriptscriptstyle\rm T}Q\Theta N 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 trΘTQΘN\mathop{\rm tr}\nolimits\Theta^{\scriptscriptstyle\rm T}Q\Theta N 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 trΘTQΘN\mathop{\rm tr}\nolimits\Theta^{\scriptscriptstyle\rm T}Q\Theta N.

Preliminaries

This paper is concerned with the following problem.

Let MM be a complete Riemannian manifold, and ff a C∞C^{\infty} function on MM. Compute

There are many well-known algorithms for solving this problem in the case where MM 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 MM be a complete nn-dimensional Riemannian manifold with Riemannian structure gg and corresponding Levi-Civita connection ∇\nabla. Denote the tangent plane at pp in MM by TpT_{p} or TpMT_{p}M. For every pp in MM, the Riemannian structure gg provides an inner product on TpT_{p} given by the nondegenerate symmetric bilinear form gp ⁣:Tp×Tp→Rg_{p}\colon T_{p}\times T_{p}\to{\bf R}. The notation ⟨X,Y⟩=gp(X,Y)\langle X,Y\rangle=g_{p}(X,Y) and ∥X∥=gp(X,X)1/2\|X\|=g_{p}(X,X)^{1/2}, where XX, Y∈TpY\in T_{p}, is often used. The distance between two points pp and qq in MM is denoted by d(p,q)d(p,q). The gradient of a real-valued C∞C^{\infty} function ff on MM at pp, denoted by (grad ⁣f)p(\mathop{\rm grad}\nolimits{\!f})_{p}, is the unique vector in TpT_{p} such that dfp(X)=⟨(grad ⁣f)p,X⟩df_{p}(X)=\langle(\mathop{\rm grad}\nolimits{\!f})_{p},X\rangle for all XX in TpT_{p}.

Denote the set of C∞C^{\infty} functions on MM by C∞(M)C^{\infty}(M) and the set of C∞C^{\infty} vector fields on MM by X(M){X}(M). An affine connection on MM is a function ∇\nabla which assigns to each vector field X∈X(M)X\in{X}(M) an R{\bf R}-linear map ∇ ⁣X ⁣:X(M)→X(M)\nabla_{\!X}\colon{X}(M)\to{X}(M) which satisfies

for all f ⁣f\!, g∈C∞(M)g\in C^{\infty}(M), XX, Y∈X(M)Y\in{X}(M). The map ∇ ⁣X\nabla_{\!X} may be applied to tensors of arbitrary type. Let ∇\nabla be an affine connection on MM and X∈X(M)X\in{X}(M). Then there exists a unique R{\bf R}-linear map A↦∇ ⁣XAA\mapsto\nabla_{\!X}A of C∞C^{\infty} tensor fields into C∞C^{\infty} tensor fields which satisfies

where f∈C∞(M)f\in C^{\infty}(M), Y∈X(M)Y\in{X}(M), and AA, BB are C∞C^{\infty} tensor fields. If AA is of type (k,l)(k,l), then ∇ ⁣XA\nabla_{\!X}A, called the covariant derivative of AA along XX, is of type (k,l)(k,l), and ∇ ⁣A ⁣:X↦∇ ⁣XA{\nabla\!A}\colon X\mapsto\nabla_{\!X}A, called the covariant differential of AA, is of type (k,l+1)(k,l+1).

Let MM be a differentiable manifold with affine connection ∇\nabla. Let γ ⁣:I→M\gamma\colon I\to M be a smooth curve with tangent vectors X(t)=γ˙(t)X(t)=\dot{\gamma}(t), where I⊂RI\subset{\bf R} is an open interval. The curve γ\gamma is called a geodesic if ∇ ⁣XX=0\nabla_{\!X}X=0 for all t∈It\in I. Let Y(t)∈Tγ(t)Y(t)\in T_{\gamma(t)} (t∈It\in I) be a smooth family of tangent vectors defined along γ\gamma. The family Y(t)Y(t) is said to be parallel along γ\gamma if ∇ ⁣XY=0\nabla_{\!X}Y=0 for all t∈It\in I.

For every pp in MM and X≠0X\neq 0 in TpT_{p}, 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 exp⁡p ⁣:Tp→M\exp_{p}\colon T_{p}\to M by \exp_{p}(X)=\gamma_{\lower 1.0pt\hbox{\scriptstyle X}}(1) for all X∈TpX\in T_{p} such that 11 is in the domain of \gamma_{\lower 1.0pt\hbox{\scriptstyle X}}. Oftentimes the map exp⁡p\exp_{p} will be denoted by “exp⁡\exp” when the choice of tangent plane is clear, and \gamma_{\lower 1.0pt\hbox{\scriptstyle X}}(t) will be denoted by exp⁡tX\exp tX. A neighborhood NpN_{p} of pp in MM is a normal neighborhood if Np=exp⁡N0N_{p}=\exp N_{0}, where N0N_{0} is a star-shaped neighborhood of the origin in TpT_{p} and exp⁡\exp maps N0N_{0} diffeomorphically onto NpN_{p}. Normal neighborhoods always exist.

Given a curve γ ⁣:I→M\gamma\colon I\to M such that γ(0)=p\gamma(0)=p, for each Y∈TpY\in T_{p} there exists a unique family Y(t)∈Tγ(t)Y(t)\in T_{\gamma(t)} (t∈It\in I) of tangent vectors parallel along γ\gamma such that Y(0)=YY(0)=Y. If γ\gamma joins the points pp and γ(α)=q\gamma(\alpha)=q, the parallelism along γ\gamma induces an isomorphism τpq ⁣:Tp→Tq\tau_{pq}\colon T_{p}\to T_{q} defined by τpqY=Y(α)\tau_{pq}Y=Y(\alpha).

Given a Riemannian structure gg on MM, there exists a unique affine connection ∇\nabla on MM, called the Levi-Civita connection, which for all XX, Y∈X(M)Y\in{X}(M) satisfies

Length minimizing curves on MM 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 ff to be minimized, the assumption that ff is differentiable of class C∞C^{\infty} can be relaxed throughout the paper, but ff must be continuously differentiable at least beyond the derivatives that appear. As the results of this paper are local ones, the assumption that MM 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 {pi}\{p_{i}\} be a Cauchy sequence in MM that converges to p^{\hat{p}}. (i) The sequence {pi}\{p_{i}\} is said to converge (at least) linearly if there exists an integer NN and a constant θ∈[0,1)\theta\in[0,1) such that d(pi+1,p^)≤θd(pi,p^)d(p_{i+1},{\hat{p}})\leq\theta d(p_{i},{\hat{p}}) for all i≥Ni\geq N. (ii) The sequence {pi}\{p_{i}\} is said to converge (at least) quadratically if there exists an integer NN and a constant θ≥0\theta\geq 0 such that d(pi+1,p^)≤θd2(pi,p^)d(p_{i+1},{\hat{p}})\leq\theta d^{2}(p_{i},{\hat{p}}) for all i≥Ni\geq N. (iii) The sequence {pi}\{p_{i}\} is said to converge (at least) cubically if there exists an integer NN and a constant θ≥0\theta\geq 0 such that d(pi+1,p^)≤θd3(pi,p^)d(p_{i+1},{\hat{p}})\leq\theta d^{3}(p_{i},{\hat{p}}) for all i≥Ni\geq{N}. (iv) The sequence {pi}\{p_{i}\} 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 MM be a complete Riemannian manifold with Riemannian structure gg and Levi-Civita connection ∇\nabla, and let f∈C∞(M)f\in C^{\infty}(M).

Select p0∈Mp_{0}\in M, compute G0=−(grad ⁣f)p0G_{0}=-(\mathop{\rm grad}\nolimits{\!f})_{p_{0}}, and set i=0i=0.

It is easy to verify that ⟨Gi+1,τGi⟩=0\langle G_{i+1},\tau G_{i}\rangle=0, for i≥0i\geq 0, where τ\tau is the parallelism with respect to the geodesic from pip_{i} to pi+1p_{i+1}. By assumption, the function λ↦f(exp⁡λGi)\lambda\mapsto f(\exp\lambda G_{i}) is minimized at λi\lambda_{i}. Therefore, we have 0=(d/dt)∣t=0\penalty0f(exp⁡(λi+t)Gi)=dfpi+1(τGi)=⟨(grad ⁣f)pi+1,τGi⟩0={(d/dt)|_{t=0}}\penalty 0{f(\exp(\lambda_{i}+t)G_{i})}=df_{p_{i+1}}(\tau G_{i})=\langle(\mathop{\rm grad}\nolimits{\!f})_{p_{i+1}},\tau G_{i}\rangle. 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 ∇ ⁣X ⁣f\nabla_{\!X}{\!f} of ff along XX is defined to be X ⁣fX{\!f}. For k=1k=1, 22, …, define ∇ ⁣Xk ⁣f=∇ ⁣X∘⋯∘∇ ⁣X ⁣f\nabla_{\!X}^{k}{\!f}=\nabla_{\!X}\circ\cdots\circ\nabla_{\!X}{\!f} (kk times), and let ∇ ⁣X0 ⁣f=f\nabla_{\!X}^{0}{\!f}=f.

The following special cases of Remark 3.2 will be particularly useful. When n=2n=2, Eq. (1) yields

The convergence proofs require a characterization of the second order terms of ff near a critical point. Consider the second covariant differential ∇∇ ⁣f=∇2 ⁣f\nabla\nabla{\!f}=\nabla^{2}{\!f} of a smooth function f ⁣:M→Rf\colon M\to{\bf R}. If (U,x1,…,xn)(U,x^{1},\ldots,x^{n}) is a coordinate chart on MM, then at p∈Up\in U this (0,2)(0,2) tensor takes the form

Let MM be a complete Riemannian manifold with Riemannian structure gg and Levi-Civita connection ∇\nabla. Let f∈C∞(M)f\in C^{\infty}(M) have a nondegenerate critical point at p^{\hat{p}} such that the Hessian (d2 ⁣f)p^(d^{2}{\!f})_{\hat{p}} is positive definite. Let pip_{i} be a sequence of points in MM converging to p^{\hat{p}} and Hi∈TpiH_{i}\in T_{p_{i}} a sequence of tangent vectors such that

where λi\lambda_{i} is chosen such that f(exp⁡λiHi)≤f(exp⁡λHi)f(\exp\lambda_{i}H_{i})\leq f(\exp\lambda H_{i}) for all λ≥0\lambda\geq 0. Then there exists a constant EE and a θ∈[0,1)\theta\in[0,1) such that for all i=0i=0, 11, …,

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 ff. If pj=p^p_{j}={\hat{p}} for some integer jj, the assertion becomes trivial; assume otherwise. By the smoothness of f ⁣f\!, there exists an open neighborhood UU of p^{\hat{p}} such that (∇2 ⁣f)p(\nabla^{2}{\!f})_{p} is positive definite for all p∈Up\in U. Therefore, there exist constants k>0k>0 and K≥k>0K\geq k>0 such that for all X∈TpX\in T_{p} and all p∈Up\in U,

Define Xi∈Tp^X_{i}\in T_{{\hat{p}}} by the relations exp⁡Xi=pi\exp X_{i}=p_{i}, i=0i=0, 11, … By assumption, dfp^=0df_{\hat{p}}=0 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 \mitΔ ⁣:Tp×R→R{\mit\Delta}\colon T_{p}\times{\bf R}\to{\bf R} by the equation \mitΔ(X,λ)=f(exp⁡pλX)−f(p){\mit\Delta}(X,\lambda)=f(\exp_{p}\lambda X)-f(p). By Eq. (2), the second order Taylor formula, we have

Using assumption (ii) of the theorem along with (5) we establish for λ≥0\lambda\geq 0

We may now compute an upper bound for the rate of linear convergence θ\theta. By assumption (i) of the theorem, λ\lambda 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, c∈(0,1]c\in(0,1] and 0<k≤K0<k\leq K, therefore θ∈[0,1)\theta\in[0,1). (Note that Schwarz’s inequality bounds cc 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 i=0i=0, 11, …,

If Algorithm 3.1 converges to a local minimum, it converges linearly.

The choice Hi=−(grad ⁣f)piH_{i}=-(\mathop{\rm grad}\nolimits{\!f})_{p_{i}} yields c=1c=1 in the second assumption the Theorem 3.3, which establishes the corollary.

Let Sn−1S^{n-1} be the imbedded sphere in Rn{\bf R}^{n}, i.e., Sn−1={ x∈Rn:xTx=1 }S^{n-1}=\{\,x\in{\bf R}^{n}:x^{\scriptscriptstyle\rm T}x=1\,\}, where xTyx^{\scriptscriptstyle\rm T}y denotes the standard inner product on Rn{\bf R}^{n}, which induces a metric on Sn−1S^{n-1}. Geodesics on the sphere are great circles and parallel translation along geodesics is equivalent to rotating the tangent plane along the great circle. Let x∈Sn−1x\in S^{n-1} and h∈Txh\in T_{x} have unit length, and v∈Txv\in T_{x} be any tangent vector. Then

where τ\tau is the parallelism along the geodesic t↦exp⁡tht\mapsto\exp th. Let QQ be an nn-by-nn positive definite symmetric matrix with distinct eigenvalues and define ρ ⁣:Sn−1→R\rho\colon S^{n-1}\to{\bf R} by ρ(x)=xTQx\rho(x)=x^{\scriptscriptstyle\rm T}Qx. A computation shows that

The function ρ\rho has a unique minimum and maximum point at the eigenvectors corresponding to the smallest and largest eigenvalues of QQ, respectively. Because Sn−1S^{n-1} 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 QQ; likewise for the eigenvector corresponding to the largest eigenvalue. Chu considers the continuous limit of this problem. A computation shows that ρ(x)\rho(x) is maximized along the geodesic exp⁡xth\exp_{x}th (∥h∥=1\|h\|=1) when acos⁡2t−bsin⁡2t=0a\cos 2t-b\sin 2t=0, where a=2xTQha=2x^{\scriptscriptstyle\rm T}Qh and b=ρ(x)−ρ(h)b=\rho(x)-\rho(h). Thus cos⁡t\cos t and sin⁡t\sin t may be computed with simple algebraic functions of aa and bb (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 S20S^{20} are shown in Figure 1 on page 1.

Consider the function f(Θ)=trΘTQΘNf(\Theta)=\mathop{\rm tr}\nolimits\Theta^{\scriptscriptstyle\rm T}Q\Theta N on the special orthogonal group SO(n)\mathop{\it SO}\nolimits(n), where QQ is a real symmetric matrix with distinct eigenvalues and NN is a real diagonal matrix with distinct diagonal elements. It will be convenient to identify tangent vectors in TΘT_{\Theta} with tangent vectors in TI≅so(n)T_{I}\cong\mathop{so}\nolimits(n), the tangent plane at the identity, via left translation. The gradient of ff (with respect to the negative Killing form of so(n)\mathop{so}\nolimits(n), scaled by 1/(n−2)1/(n-2)) at Θ∈SO(n)\Theta\in\mathop{\it SO}\nolimits(n) is Θ[H,N]\Theta[H,N], where H=AdΘT(Q)=ΘTQΘH=\mathop{\rm Ad}\nolimits_{\Theta^{\scriptscriptstyle\rm T}}(Q)=\Theta^{\scriptscriptstyle\rm T}Q\Theta. The group SO(n)\mathop{\it SO}\nolimits(n) acts on the set of symmetric matrices by conjugation; the orbit of QQ under the action of SO(n)\mathop{\it SO}\nolimits(n) is an isospectral submanifold of the symmetric matrices. We seek a Θ^{\hat{\Theta}} such that f(Θ^)f({\hat{\Theta}}) is maximized. This point corresponds to a diagonal matrix whose diagonal entries are ordered similarly to those of NN. 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 SO(n)\mathop{\it SO}\nolimits(n) is bi-invariant and invariant with respect to inversion; therefore, geodesics and parallel translation may be computed via matrix exponentiation of elements in so(n)\mathop{so}\nolimits(n) and left (or right) translation [25, Ch. II, Ex. 6]. The geodesic emanating from the identity in SO(n)\mathop{\it SO}\nolimits(n) in direction X∈so(n)X\in\mathop{so}\nolimits(n) is given by the formula exp⁡ItX=etX\exp_{I}tX=e^{tX}, 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 Ω∈so(n)\Omega\in\mathop{so}\nolimits(n), we wish to find t>0t>0 such that ϕ(t)=trAde−tΩ(H)N\phi(t)=\mathop{\rm tr}\nolimits\mathop{\rm Ad}\nolimits_{e^{-t\Omega}}(H)N is minimized. Differentiating ϕ\phi twice shows that ϕ′(t)=−trAde−tΩ(adΩH)N\phi^{\prime}(t)=-\mathop{\rm tr}\nolimits\mathop{\rm Ad}\nolimits_{e^{-t\Omega}}(\mathop{\rm ad}\nolimits_{\Omega}H)N and ϕ′′(t)=−trAde−tΩ(adΩH)adΩN\phi^{\prime\prime}(t)=-\mathop{\rm tr}\nolimits\mathop{\rm Ad}\nolimits_{e^{-t\Omega}}(\mathop{\rm ad}\nolimits_{\Omega}H)\mathop{\rm ad}\nolimits_{\Omega}N, where adΩA=[Ω,A]\mathop{\rm ad}\nolimits_{\Omega}A=[\Omega,A]. Hence, ϕ′(0)=2trHΩN\phi^{\prime}(0)=2\mathop{\rm tr}\nolimits H\Omega N and, by Schwarz’s inequality and the fact that Ad\mathop{\rm Ad}\nolimits is an isometry, ∣ϕ′′(t)∣≤∥adΩH∥  ∥adΩN∥|\phi^{\prime\prime}(t)|\leq\|\mathop{\rm ad}\nolimits_{\Omega}H\|\;\|\mathop{\rm ad}\nolimits_{\Omega}N\|. We conclude that if ϕ′(0)>0\phi^{\prime}(0)>0, then ϕ′\phi^{\prime} 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 SO(20)\mathop{\it SO}\nolimits(20) 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 f ⁣f\!, the convergence proof for Newton’s method will rely upon the Taylor expansion of the one-form dfdf. 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 MM be an nn-dimensional Riemannian manifold with Riemannian structure gg and Levi-Civita connection ∇\nabla, let μ\mu be a C∞C^{\infty} one-form on MM, and let pp in MM be such that the bilinear form (∇ ⁣μ)p ⁣:Tp×Tp→R({\nabla\!\mu})_{p}\colon T_{p}\times T_{p}\to{\bf R} is nondegenerate. Then, by abuse of notation, we have the pair of isomorphisms

with the forward map defined by X↦(∇ ⁣Xμ)p=(∇ ⁣μ)p(\mathchar513,X)X\mapsto(\nabla_{\!X}\mu)_{p}=({\nabla\!\mu})_{p}(\mathchar 513\relax,X), which is nonsingular. The notation (∇ ⁣μ)p({\nabla\!\mu})_{p} will henceforth be used for both the bilinear form defined by the covariant differential of μ\mu evaluated at pp and the homomorphism from TpT_{p} to Tp∗T_{p}^{*} induced by this bilinear form. In case of an isomorphism, the inverse can be used to compute a point in MM where μ\mu vanishes, if such a point exists. The case μ=df\mu=df will be of particular interest, in which case ∇ ⁣μ=∇2 ⁣f{\nabla\!\mu}=\nabla^{2}{\!f}. 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 λ↦(τλ−1μpλ)(A)\lambda\mapsto(\tau_{\lambda}^{-1}\mu_{p_{\lambda}})(A) for any AA in TpT_{p}.

Remarks 4.1 and 4.2 can be generalized to C∞C^{\infty} tensor fields, but we will only require Remark 4.2 for case n=2n=2 to make the following observation.

Let μ\mu be a one-form on MM such that for some p^{\hat{p}} in MM, μp^=0\mu_{\hat{p}}=0. Given any pp in a normal neighborhood of p^{\hat{p}}, we wish to find XX in TpT_{p} such that exp⁡pX=p^\exp_{p}X={\hat{p}}. Consider the Taylor expansion of μ\mu about pp, and let τ\tau be the parallel translation along the unique geodesic joining pp to p^{\hat{p}}. We have by our assumption that μ\mu vanishes at p^{\hat{p}}, and from Eq. (14) for n=2n=2,

If the bilinear form (∇ ⁣μ)p({\nabla\!\mu})_{p} is nondegenerate, the tangent vector XX 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 MM be a complete Riemannian manifold with Riemannian structure gg and Levi-Civita connection ∇\nabla, and let μ\mu be a C∞C^{\infty} one-form on MM.

Select p0∈Mp_{0}\in M such that (∇ ⁣μ)p0({\nabla\!\mu})_{p_{0}} is nondegenerate, and set i=0i=0.

(assume that (∇ ⁣μ)pi({\nabla\!\mu})_{p_{i}} is nondegenerate), increment ii, and repeat.

It can be shown that if p0p_{0} is chosen suitably close (within the so-called domain of attraction) to a point p^{\hat{p}} in MM such that μp^=0\mu_{\hat{p}}=0 and (∇ ⁣μ)p^({\nabla\!\mu})_{\hat{p}} is nondegenerate, then Algorithm 4.3 converges quadratically to p^{\hat{p}}. The following theorem holds for general one-forms; we will consider the case where μ\mu is exact.

Let f∈C∞(M)f\in C^{\infty}(M) have a nondegenerate critical point at p^{\hat{p}}. Then there exists a neighborhood UU of p^{\hat{p}} such that for any p0∈Up_{0}\in U, the iterates of Algorithm 4.3 for μ=df\mu=df are well defined and converge quadratically to p^{\hat{p}}.

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 pj=p^p_{j}={\hat{p}} for some integer jj, the assertion becomes trivial; assume otherwise. Define Xi∈TpiX_{i}\in T_{p_{i}} by the relations p^=exp⁡Xi{\hat{p}}=\exp X_{i}, i=0i=0, 11, …, so that d(pi,p^)=∥Xi∥d(p_{i},{\hat{p}})=\|X_{i}\| (n.b. this convention is opposite that used in the proof of Theorem 3.3). Consider the geodesic triangle with vertices pip_{i}, pi+1p_{i+1}, and p^{\hat{p}}, and sides exp⁡tXi\exp tX_{i} from pip_{i} to p^{\hat{p}}, exp⁡tHi\exp tH_{i} from pip_{i} to pi+1p_{i+1}, and exp⁡tXi+1\exp tX_{i+1} from pi+1p_{i+1} to p^{\hat{p}}, for t∈t\in. Let τ\tau be the parallelism with respect to the side exp⁡tHi\exp tH_{i} between pip_{i} and pi+1p_{i+1}. There exists a unique tangent vector \mitΞi{\mit\Xi}_{i} in TpiT_{p_{i}} defined by the equation

(\mitΞi{\mit\Xi}_{i} may be interpreted as the amount by which vector addition fails). If we use the definition Hi=−(∇2 ⁣f)pi−1dfpiH_{i}=-(\nabla^{2}{\!f})_{p_{i}}^{-1}df_{p_{i}} of Algorithm 4.3, apply the isomorphism (∇2 ⁣f)pi ⁣:Tpi→Tpi∗(\nabla^{2}{\!f})_{p_{i}}\colon T_{p_{i}}\to T_{p_{i}}^{*} to both sides of Eq. (15), we obtain the equation

By Taylor’s theorem, there exists an α∈\alpha\in such that

By the smoothness of ff and gg, there exists an ϵ>0\epsilon>0 and constants δ′\delta^{\prime}, δ′′\delta^{\prime\prime}, δ′′′\delta^{\prime\prime\prime}, all greater than zero, such that whenever pp is in the convex normal ball Bϵ(p^){B_{\epsilon}({\hat{p}})},

where the induced norm on Tp∗T_{p}^{*} 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 \mitΞi{\mit\Xi}_{i} can be bounded by a cubic expression in d(pi,p^)d(p_{i},{\hat{p}}) by considering the distance between the points exp⁡(Hi+τ−1Xi+1)\exp(H_{i}+\tau^{-1}X_{i+1}) and exp⁡Xi+1=p^\exp X_{i+1}={\hat{p}}. Given p∈Mp\in M, ϵ>0\epsilon>0 small enough, let aa, v∈Tpv\in T_{p} be such that ∥a∥+∥v∥≤ϵ\|a\|+\|v\|\leq\epsilon, and let τ\tau be the parallel translation with respect to the geodesic from pp to q=exp⁡paq=\exp_{p}a. Karcher [29, App. C2.2] shows that

where KK is the sectional curvature of MM along any section in the tangent plane at any point near pp.

If (∇2 ⁣f)p^(\nabla^{2}{\!f})_{\hat{p}} is positive (negative) definite and Algorithm 4.3 converges to p^{\hat{p}}, then Algorithm 4.3 converges quadratically to a local minimum (maximum) of ff.

Let Sn−1S^{n-1} and ρ(x)=xTQx\rho(x)=x^{\scriptscriptstyle\rm T}Qx be as in Example 3.5. It will be convenient to work with the coordinates x1x^{1}, …, xnx^{n} of the ambient space Rn{\bf R}^{n}, treat the tangent plane TxSn−1T_{x}S^{n-1} as a vector subspace of Rn{\bf R}^{n}, and make the identification TxSn−1≅Tx∗Sn−1T_{x}S^{n-1}\cong T_{x}^{*}S^{n-1} via the metric. In this coordinate system, geodesics on the sphere obey the second order differential equation x¨k+xk=0\ddot{x}^{k}+x^{k}=0, k=1k=1, …, nn. Thus the Christoffel symbols are given by Γijk=δijxk\Gamma_{ij}^{k}=\delta_{ij}x^{k}, where δij\delta_{ij} is the Kronecker delta. The ijijth component of the second covariant differential of ρ\rho at xx in Sn−1S^{n-1} is given by (cf. Eq. (4))

Let uu be a tangent vector in TxSn−1T_{x}S^{n-1}. A linear operator A ⁣:Rn→RnA\colon{\bf R}^{n}\to{\bf R}^{n} defines a linear operator on the tangent plane TxSn−1T_{x}S^{n-1} for each xx in Sn−1S^{n-1} such that

If AA is invertible as an endomorphism of the ambient space Rn{\bf R}^{n}, the solution to the linear equation A\mathchar513u=vA\mathchar 513\relax u=v for uu, vv in TxSn−1T_{x}S^{n-1} is

For Newton’s method, the direction HiH_{i} in TxSn−1T_{x}S^{n-1} 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 QQ.

Let QQ be a real symmetric nn-by-nn matrix.

Select x0x_{0} in Rn{\bf R}^{n} such that x0Tx0=1x_{0}^{\scriptscriptstyle\rm T}x_{0}=1, and set i=0i=0.

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 λ\lambda is a distinct eigenvalue of the symmetric matrix QQ, and Algorithm 4.7 converges to the corresponding eigenvector x^{\hat{x}}, then it converges cubically.

Proof 1.In the coordinates x1x^{1}, …, xnx^{n} of the ambient space Rn{\bf R}^{n}, the ijkijkth component of the third covariant differential of ρ\rho at x^{\hat{x}} is −2λx^kδij-2\lambda{\hat{x}}^{k}\delta_{ij}. Let X∈Tx^Sn−1X\in T_{\hat{x}}S^{n-1}. Then (∇3ρ)x^(\mathchar513,X,X)=0(\nabla^{3}\rho)_{\hat{x}}(\mathchar 513\relax,X,X)=0 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 ρ\rho.

Proof 2.The proof follows Parlett’s [35, p. 72ff] proof of cubic convergence for the Rayleigh quotient iteration. Assume that for all ii, xi≠x^x_{i}\neq{\hat{x}}, and denote ρ(xi)\rho(x_{i}) by ρi\rho_{i}. For all ii, there is an angle ψi\psi_{i} and a unit length vector uiu_{i} defined by the equation xi=x^cos⁡ψi+uisin⁡ψix_{i}={\hat{x}}\cos\psi_{i}+u_{i}\sin\psi_{i}, such that x^Tui=0{\hat{x}}^{\scriptscriptstyle\rm T}u_{i}=0. By Algorithm 4.7

where βi=cos⁡θi−sin⁡θi/θi\beta_{i}=\cos\theta_{i}-\sin\theta_{i}/\theta_{i}. Therefore,

The following equalities and low order approximations in terms of the small quantities λ−ρi\lambda-\rho_{i}, θi\theta_{i}, and ψi\psi_{i} are straightforward to establish: λ−ρi=(λ−ρ(ui))sin⁡2ψi{\lambda-\rho_{i}}={(\lambda-\rho(u_{i}))}\sin^{2}\psi_{i}, θi2=cos⁡2ψisin⁡2ψi+h.o.t.\theta_{i}^{2}=\cos^{2}\psi_{i}\sin^{2}\psi_{i}+{\rm h.o.t.}, αi=(λ−ρi)+h.o.t.\alpha_{i}={(\lambda-\rho_{i})}+{\rm h.o.t.}, and βi=−θi2/3+h.o.t.\beta_{i}=-\theta_{i}^{2}/3+{\rm h.o.t.} Thus, the denominator of the large fraction in Eq. (23) is of order unity and the numerator is of order sin⁡2ψi\sin^{2}\psi_{i}. 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 yi=(Q−ρ(xi)I)−1xiy_{i}=(Q-\rho(x_{i})I)^{-1}x_{i} to compute the next iterate on the sphere. Algorithm 4.7 computes the point HiH_{i} in TxiSn−1T_{x_{i}}S^{n-1} where yiy_{i} intersects this tangent plane, then computes xi+1x_{i+1} via the exponential map of this vector (which “rolls” the tangent vector HiH_{i} onto the sphere). The Rayleigh quotient iteration computes the intersection of yiy_{i} with the sphere itself and takes this intersection to be xi+1x_{i+1}. The latter approach approximates Algorithm 4.7 up to quadratic terms when xix_{i} 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 v∈Tx↦(x+v)/∥x+v∥∈Sn−1v\in T_{x}\mapsto(x+v)/\|x+v\|\in S^{n-1}, Shub shows that a corresponding version of Newton’s method is equivalent to the RQI.

Let Θ\Theta, QQ, H=AdΘT(Q)H=\mathop{\rm Ad}\nolimits_{\Theta^{\scriptscriptstyle\rm T}}(Q), and Ω\Omega be as in Example 3.6. The second covariant differential of f(Θ)=trΘTQΘNf(\Theta)=\mathop{\rm tr}\nolimits\Theta^{\scriptscriptstyle\rm T}Q\Theta N may be computed either by polarization of the second order term of trAde−tΩ(H)N\mathop{\rm tr}\nolimits\mathop{\rm Ad}\nolimits_{e^{-t\Omega}}(H)N, or by covariant differentiation of the differential dfΘ=−tr[H,N]ΘT(\mathchar513)df_{\Theta}=-\mathop{\rm tr}\nolimits[H,N]\Theta^{\scriptscriptstyle\rm T}(\mathchar 513\relax):

where XX, Y∈so(n)Y\in\mathop{so}\nolimits(n). To compute the direction ΘX∈TΘ\Theta X\in T_{\Theta}, X∈so(n)X\in\mathop{so}\nolimits(n), for Newton’s method, we must solve the equation (∇2 ⁣f)Θ(Θ\mathchar513,ΘX)=dfΘ(\nabla^{2}{\!f})_{\Theta}(\Theta\mathchar 513\relax,\Theta X)=df_{\Theta}, which yields the linear equation

The linear operator LΘ ⁣:so(n)→so(n)L_{\Theta}\colon\mathop{so}\nolimits(n)\to\mathop{so}\nolimits(n) is self-adjoint for all Θ\Theta and, in a neighborhood of the maximum, negative definite. Therefore, standard iterative techniques in the vector space so(n)\mathop{so}\nolimits(n), 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 SO(20)\mathop{\it SO}\nolimits(20) 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 f(Θ)=trΘTQΘNf(\Theta)=\mathop{\rm tr}\nolimits\Theta^{\scriptscriptstyle\rm T}Q\Theta N converges to the point Θ^{\hat{\Theta}} such that AdΘ^T(Q)=H∞=αN\mathop{\rm Ad}\nolimits_{{\hat{\Theta}}^{\scriptscriptstyle\rm T}}(Q)=H_{\infty}=\alpha N, α∈R\alpha\in{\bf R}, then it converges cubically.

Proof.By covariant differentiation of ∇2 ⁣f ⁣\nabla^{2}{\!f}\!, the third covariant differential of ff at Θ\Theta evaluated at the tangent vectors ΘX\Theta X, ΘY\Theta Y, ΘZ∈TΘ\Theta Z\in T_{\Theta}, XX, YY, Z∈so(n)Z\in\mathop{so}\nolimits(n), is

If H=αNH=\alpha N, α∈R\alpha\in{\bf R}, then (∇3 ⁣f)Θ(\mathchar513,ΘX,ΘX)=0(\nabla^{3}{\!f})_{\Theta}(\mathchar 513\relax,\Theta X,\Theta X)=0. 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 ff.

This remark illuminates how rapid convergence of Newton’s method applied to the function ff can be achieved in some instances. If Eij∈so(n)E_{ij}\in\mathop{so}\nolimits(n) is a matrix with entry +1+1 at element (i,j)(i,j), −1-1 at element (j,i)(j,i), and zero elsewhere, X=∑i<jxijEijX=\sum_{i<j}x^{ij}E_{ij}, H=diag(h1,…,hn)H=\mathop{\rm diag}\nolimits(h_{1},\ldots,h_{n}), and N=diag(ν1,…,νn)N=\mathop{\rm diag}\nolimits(\nu_{1},\ldots,\nu_{n}), then

If the hih_{i} are close to ανi\alpha\nu_{i}, α∈R\alpha\in{\bf R}, for all ii, then (∇3 ⁣f)Θ(\mathchar513,ΘX,ΘX)(\nabla^{3}{\!f})_{\Theta}(\mathchar 513\relax,\Theta X,\Theta X) may be small, yielding a fast rate of quadratic convergence.

Let π\pi be the projection of a square matrix onto its diagonal, and let QQ be as above. Consider the maximization of the function f(Θ)=trHπ(H)f(\Theta)=\mathop{\rm tr}\nolimits H\pi(H), H=AdΘT(Q)H=\mathop{\rm Ad}\nolimits_{\Theta^{\scriptscriptstyle\rm T}}(Q), on the special orthogonal group. This is equivalent to minimizing the sum of the squares of the off-diagonal elements of HH (Golub and Van Loan derive the classical Jacobi method). The gradient of this function at Θ\Theta is 2Θ[H,π(H)]2\Theta[H,\pi(H)] . By repeated covariant differentiation of f ⁣f\!, we find

where II is the identity matrix and XX, YY, Z∈so(n)Z\in\mathop{so}\nolimits(n). It is easily shown that if [H,π(H)]=0[H,\pi(H)]=0, i.e., if HH is diagonal, then (∇3 ⁣f)Θ(\mathchar513,ΘX,ΘX)=0(\nabla^{3}{\!f})_{\Theta}(\mathchar 513\relax,\Theta X,\Theta X)=0 (n.b. π(adXH)=0\pi(\mathop{\rm ad}\nolimits_{X}H)=0). Therefore, by the same argument as the proof of Remark 4.11, Newton’s method applied to the function trHπ(H)\mathop{\rm tr}\nolimits H\pi(H) 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 Rn{\bf R}^{n}. This approach can be modified to yield effective algorithms to compute the minima of nonquadratic functions on Rn{\bf R}^{n}. 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 Rn{\bf R}^{n} is that when the function in question is quadratic, they compute its minimum in no more than nn steps.

The conjugate gradient method on Euclidean space is uncomplicated. Given a function f ⁣:Rn→Rf\colon{\bf R}^{n}\to{\bf R} with continuous second derivatives and a local minimum at x^{\hat{x}}, and an initial point x0∈Rnx_{0}\in{\bf R}^{n}, the algorithm is initialized by computing the (negative) gradient direction G0=H0=−(grad ⁣f)x0G_{0}=H_{0}=-(\mathop{\rm grad}\nolimits{\!f})_{x_{0}}. The recursive part of the algorithm involves (i) a line minimization of ff along the affine space xi+tHix_{i}+tH_{i}, t∈Rt\in{\bf R}, where the minimum occurs at, say, t=λit=\lambda_{i}, (ii) computation of the step xi+1=xi+λiHix_{i+1}=x_{i}+\lambda_{i}H_{i}, (iii) computation of the (negative) gradient Gi+1=−(grad ⁣f)xi+1G_{i+1}=-(\mathop{\rm grad}\nolimits{\!f})_{x_{i+1}}, and (iv) computation of the next direction for line minimization,

where γi\gamma_{i} is chosen such that HiH_{i} and Hi+1H_{i+1} conjugate with respect to the Hessian matrix of ff at x^{\hat{x}}. When ff is a quadratic form represented by the symmetric positive definite matrix QQ, the conjugacy condition becomes HiTQHi+1=0H_{i}^{\scriptscriptstyle\rm T}QH_{i+1}=0; therefore, γi=−HiTQGi+1/HiTQHi\gamma_{i}=-H_{i}^{\scriptscriptstyle\rm T}QG_{i+1}/H_{i}^{\scriptscriptstyle\rm T}QH_{i}. It can be shown in this case that the sequence of vectors GiG_{i} are all mutually orthogonal and the sequence of vectors HiH_{i} are all mutually conjugate with respect to QQ. Using these facts, the computation of γi\gamma_{i} may be simplified with the observation that γi=∥Gi+1∥2/∥Gi∥2\gamma_{i}=\|G_{i+1}\|^{2}/\|G_{i}\|^{2} (Fletcher-Reeves) or γi=(Gi+1−Gi)TGi+1/∥Gi∥2\gamma_{i}=(G_{i+1}-G_{i})^{\scriptscriptstyle\rm T}G_{i+1}/\|G_{i}\|^{2} (Polak-Ribière). When ff is not quadratic, it is assumed that its second order Taylor expansion sufficiently approximates ff in a neighborhood of the minimum, and the γi\gamma_{i} are chosen so that HiH_{i} and Hi+1H_{i+1} are conjugate with respect to the matrix (∂2 ⁣f/∂xi∂xj)(xi+1)(\partial^{2}{\!f}/\partial x^{i}\partial x^{j})(x_{i+1}) of second partial derivatives of ff at xi+1x_{i+1}. It may be desirable to “reset” the algorithm by setting Hi+1=Gi+1H_{i+1}=G_{i+1} every rrth step (frequently, r=nr=n) because the conjugate gradient method does not, in general, converge in nn steps if the function ff is nonquadratic. However, if ff 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 ω\omega of type (0,2)(0,2) on MM such that for pp in MM, ωp ⁣:Tp×Tp→R\omega_{p}\colon T_{p}\times T_{p}\to{\bf R} is a symmetric bilinear form, the tangent vectors XX and YY in TpT_{p} are said to be ωp\omega_{p}-conjugate or conjugate with respect to ωp\omega_{p} if ωp(X,Y)=0\omega_{p}(X,Y)=0.

An outline of the conjugate gradient method on Riemannian manifolds may now be given. Let MM be an nn-dimensional Riemannian manifold with Riemannian structure gg and Levi-Civita connection ∇\nabla, and let f∈C∞(M)f\in C^{\infty}(M) have a local minimum at p^{\hat{p}}. As in the conjugate gradient method on Euclidean space, choose an initial point p0p_{0} in MM and compute the (negative) gradient directions G0=H0=−(grad ⁣f)p0G_{0}=H_{0}=-(\mathop{\rm grad}\nolimits{\!f})_{p_{0}} in Tp0T_{p_{0}}. The recursive part of the algorithm involves minimizing ff along the geodesic t↦exp⁡pitHit\mapsto\exp_{p_{i}}tH_{i}, t∈Rt\in{\bf R}, making a step along the geodesic to the minimum point pi+1=exp⁡λiHip_{i+1}=\exp\lambda_{i}H_{i}, computing Gi+1=−(grad ⁣f)pi+1G_{i+1}=-(\mathop{\rm grad}\nolimits{\!f})_{p_{i+1}}, and computing the next direction in Tpi+1T_{p_{i+1}} for geodesic minimization. This direction is given by the formula

where τ\tau is the parallel translation with respect to the geodesic step from pip_{i} to pi+1p_{i+1}, and γi\gamma_{i} is chosen such that τHi\tau H_{i} and Hi+1H_{i+1} are (∇2 ⁣f)pi+1(\nabla^{2}{\!f})_{p_{i+1}}-conjugate, i.e.,

Eq. (26) is, in general, expensive to use because the second covariant differential of ff appears. However, we can use the Taylor expansion of dfdf about pi+1p_{i+1} to compute an efficient approximation of γi\gamma_{i}. By the fact that pi=exp⁡pi+1(−λiτHi)p_{i}=\exp_{p_{i+1}}(-\lambda_{i}\tau H_{i}) and by Eq. (14), we have

Therefore, the numerator of the right hand side of Eq. (26) multiplied by the step size λi\lambda_{i} can be approximated by the equation

because, by definition, Gi=−(grad ⁣f)piG_{i}=-(\mathop{\rm grad}\nolimits{\!f})_{p_{i}}, i=0i=0, 11, …, and for any XX in Tpi+1T_{p_{i+1}}, (τdfpi)(X)=dfpi(τ−1X)=⟨(grad ⁣f)pi,τ−1X⟩=⟨τ(grad ⁣f)pi,X⟩(\tau df_{p_{i}})(X)=df_{p_{i}}(\tau^{-1}X)=\langle(\mathop{\rm grad}\nolimits{\!f})_{p_{i}},\tau^{-1}X\rangle=\langle\tau(\mathop{\rm grad}\nolimits{\!f})_{p_{i}},X\rangle. Similarly, the denominator of the right hand side of Eq. (26) multiplied by λi\lambda_{i} can be approximated by the equation

because ⟨Gi+1,τHi⟩=0\langle G_{i+1},\tau H_{i}\rangle=0 by the assumption that ff is minimized along the geodesic t↦exp⁡tHit\mapsto\exp tH_{i} at t=λit=\lambda_{i}. Combining these two approximations with Eq. (26), we obtain a formula for γi\gamma_{i} that is relatively inexpensive to compute:

Of course, as the connection ∇\nabla is compatible with the metric gg, the denominator of Eq. (27) may be replaced, if desired, by ⟨τGi,τHi⟩\langle\tau G_{i},\tau H_{i}\rangle.

The conjugate gradient method may now be presented in full.

Let MM be a complete Riemannian manifold with Riemannian structure gg and Levi-Civita connection ∇\nabla, and let ff be a C∞C^{\infty} function on MM.

Select p0∈Mp_{0}\in M, compute G0=H0=−(grad ⁣f)p0G_{0}=H_{0}=-(\mathop{\rm grad}\nolimits{\!f})_{p_{0}}, and set i=0i=0.

Set pi+1=exp⁡piλiHip_{i+1}=\exp_{p_{i}}\lambda_{i}H_{i}.

where τ\tau is the parallel translation with respect to the geodesic from pip_{i} to pi+1p_{i+1}. If i≡n−1 ( mod  n)i\equiv n-1\ (\bmod\ n), set Hi+1=Gi+1H_{i+1}=G_{i+1}. Increment ii, and go to Step 1.

Let f∈C∞(M)f\in C^{\infty}(M) have a nondegenerate critical point at p^{\hat{p}} such that the Hessian (d2 ⁣f)p^(d^{2}{\!f})_{\hat{p}} is positive definite. Let pip_{i} be a sequence of points in MM generated by Algorithm 5.2 converging to p^{\hat{p}}. Then there exists a constant θ>0\theta>0 and an integer NN such that for all i≥Ni\geq N,

Note that linear convergence is already guaranteed by Theorem 3.3.

Proof.If pj=p^p_{j}={\hat{p}} for some integer jj, the assertion becomes trivial; assume otherwise. Recall that if X1X_{1}, …, XnX_{n} is some basis for Tp^T_{\hat{p}}, then the map exp⁡p^(a1X1+⋯+anXn)\buildrelν→(a1,…,an)\exp_{\hat{p}}(a^{1}X_{1}+\cdots+a^{n}X_{n})\buildrel\nu\over{\to}(a^{1},\ldots,a^{n}) defines a set of normal coordinates at p^{\hat{p}}. Let Np^N_{\hat{p}} be a normal neighborhood of p^{\hat{p}} on which the normal coordinates ν=(x1,…,xn)\nu=(x^{1},\ldots,x^{n}) are defined. Consider the map ν∗f\buildreldef=f∘ν−1 ⁣:Rn→R{\nu_{\mskip-1.5mu*}\mskip-2.0muf}\buildrel\smash{\scriptscriptstyle\rm def}\over{=}f\circ\nu^{-1}\colon{\bf R}^{n}\to{\bf R}. By the smoothness of ff and exp⁡\exp, ν∗f{\nu_{\mskip-1.5mu*}\mskip-2.0muf} has a critical point at 0∈Rn0\in{\bf R}^{n} such that the Hessian matrix of ν∗f{\nu_{\mskip-1.5mu*}\mskip-2.0muf} at is positive definite. Indeed, by the fact that (dexp⁡)0=id(d\exp)_{0}=\mathop{\rm id}\nolimits, the ijijth component of the Hessian matrix of ν∗f{\nu_{\mskip-1.5mu*}\mskip-2.0muf} at is given by (d2 ⁣f)p^(Xi,Xj)(d^{2}{\!f})_{\hat{p}}(X_{i},X_{j}).

Therefore, there exists a neighborhood UU of 0∈Rn0\in{\bf R}^{n}, a constant θ′>0\theta^{\prime}>0, and an integer NN, such that for any initial point x0∈Ux_{0}\in U, the conjugate gradient method on Euclidean space (with resets) applied to the function ν∗f{\nu_{\mskip-1.5mu*}\mskip-2.0muf} yields a sequence of points xix_{i} converging to such that for all i≥Ni\geq N,

See Polak [37, p. 260ff] for a proof of this fact. Let x0=ν(p0)x_{0}=\nu(p_{0}) in UU be an initial point. Because exp⁡\exp is not an isometry, Algorithm 5.2 yields a different sequence of points in Rn{\bf R}^{n} than the classical conjugate gradient method on Rn{\bf R}^{n} (upon equating points in a neighborhood of p^∈M{\hat{p}}\in M with points in a neighborhood of 0∈Rn0\in{\bf R}^{n} via the normal coordinates).

Nevertheless, the amount by which exp⁡\exp 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 tt be small, and let X∈Tp^X\in T_{\hat{p}} and Y∈TtX(Tp^)≅Tp^Y\in T_{tX}(T_{\hat{p}})\cong T_{\hat{p}} be orthonormal tangent vectors. The amount by which the exponential map changes the length of tangent vectors is approximated by the Taylor expansion

where KK is the sectional curvature of MM along the section in Tp^T_{\hat{p}} spanned by XX and YY. Therefore, near p^{\hat{p}} Algorithm 5.2 differs from the conjugate gradient method on Rn{\bf R}^{n} applied to the function ν∗f{\nu_{\mskip-1.5mu*}\mskip-2.0muf} 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 Sn−1S^{n-1} and ρ(x)=xTQx\rho(x)=x^{\scriptscriptstyle\rm T}Qx be as in Examples 3.5 and 4.6. From Algorithm 5.2, we have the following algorithm.

Let QQ be a real symmetric nn-by-nn matrix.

Select x0x_{0} in Rn{\bf R}^{n} such that x0Tx0=1x_{0}^{\scriptscriptstyle\rm T}x_{0}=1, compute G0=H0=(Q−ρ(x0)I)x0G_{0}=H_{0}=(Q-\rho(x_{0})I)x_{0}, and set i=0i=0.

Compute cc, ss, and v=1−c=s2/(1+c)v=1-c=s^{2}/(1+c), such that ρ(xic+his)\rho(x_{i}c+h_{i}s) is maximized, where c2+s2=1c^{2}+s^{2}=1 and hi=Hi/∥Hi∥h_{i}=H_{i}/\|H_{i}\|. This can be accomplished by geodesic minimization, or by the formulae

where a=2xiTQhia=2x_{i}^{\scriptscriptstyle\rm T}Qh_{i}, b=xiTQxi−hiTQhib=x_{i}^{\scriptscriptstyle\rm T}Qx_{i}-h_{i}^{\scriptscriptstyle\rm T}Qh_{i}, and r=√(a2+b2)r=\surd(a^{2}+b^{2}).

If i≡n−1 ( mod  n)i\equiv n-1\ (\bmod\ n), set Hi+1=Gi+1H_{i+1}=G_{i+1}. Increment ii, and go to Step 1.

The convergence rate of this algorithm to the eigenvector corresponding to the largest eigenvalue of QQ is given by Theorem 5.3. This algorithm costs one matrix-vector multiplication (relatively inexpensive when QQ is sparse), one geodesic minimization or computation of ρ(hi)\rho(h_{i}), and 10n10n flops per iteration. The results of a numerical experiment demonstrating the convergence of Algorithm 5.5 on S20S^{20} 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 Θ\Theta, QQ, and HH be as in Examples 3.6 and 4.10. As before, the natural Riemannian structure of SO(n)\mathop{\it SO}\nolimits(n) is used. Let XX, Y∈so(n)Y\in\mathop{so}\nolimits(n). The parallel translation of YY along the geodesic etXe^{tX} is given by the formula τY=LetX∗e−(t/2)XYe(t/2)X\tau Y=L_{e^{tX}{*}}e^{-(t/2)X}Ye^{(t/2)X}, where LgL_{g} denotes left translation by gg. 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 SO(20)\mathop{\it SO}\nolimits(20) 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.

References