Abstract
We present evolution equations for a family of paths that results from anisotropically weighting curve energies in non-linear statistics of manifold valued data. This situation arises when performing inference on data that have non-trivial covariance and are anisotropic distributed. The family can be interpreted as most probable paths for a driving semi-martingale that through stochastic development is mapped to the manifold. We discuss how the paths are projections of geodesics for a sub-Riemannian metric on the frame bundle of the manifold, and how the curvature of the underlying connection appears in the sub-Riemannian Hamilton–Jacobi equations. Evolution equations for both metric and cometric formulations of the sub-Riemannian metric are derived. We furthermore show how rank-deficient metrics can be mixed with an underlying Riemannian metric, and we relate the paths to geodesics and polynomials in Riemannian geometry. Examples from the family of paths are visualized on embedded surfaces, and we explore computational representations on finite dimensional landmark manifolds with geometry induced from right-invariant metrics on diffeomorphism groups.
1. Introduction
When manifold valued data have non-trivial covariance (i.e., when anisotropy asserts higher variance in some directions than others), non-zero curvature necessitates special care when generalizing Euclidean space normal distributions to manifold valued distributions: in the Euclidean situation, normal distributions can be seen as transition distributions of diffusion processes, but on the manifold, holonomy makes transport of covariance path-dependent in the presence of curvature, preventing a global notion of a spatially constant covariance matrix. To handle this, in the diffusion principal component analysis (PCA) framework [1], and with the class of anisotropic normal distributions on manifolds defined in [2,3], data on non-linear manifolds are modelled as being distributed according to transition distributions of anisotropic diffusion processes that are mapped from Euclidean space to the manifold by stochastic development (see [4]). The construction is connected to a non-bracket-generating sub-Riemannian metric on the bundle of linear frames of the manifold, the frame bundle, and the requirement that covariance stays covariantly constant gives a nonholonomically constrained system.
Velocity vectors and geodesic distances are conventionally used for estimation and statistics in Riemannian manifolds; for example, for estimation of the Frechét mean [5], for Principal Geodesic Analysis [6], and for tangent space statistics [7]. In contrast to this, anisotropy as modelled with anisotropic normal distributions makes a distance for a sub-Riemannian metric the natural vehicle for estimation and statistics. This metric naturally accounts for anisotropy in a similar way as the precision matrix weights the inner product in the negative log-likelihood of a Euclidean normal distribution. The connection between the weighted distance and statistics of manifold valued data was presented in [2], and the underlying sub-Riemannian and fiber-bundle geometry, together with properties of the generated densities, was further explored in [3]. The fundamental idea is to perform statistics on manifolds by maximum likelihood (ML) instead of parametric constructions that use, for example, approximating geodesic subspaces; by defining natural families of probability distributions (in this case using diffusion processes), ML parameter estimates give a coherent way to statistically model non-linear data. The anisotropically weighted distance and the resulting family of extremal paths arises in this situation when the diffusion processes have non-isotropic covariance (i.e., when the distribution is not generated from a standard Brownian motion).
In this paper, we focus on the family of most probable paths for the semi-martingales that drives the stochastic development, and in turn the manifold valued anisotropic stochastic processes. Such paths, as exemplified in Figure 1, extremize the anisotropically weighted action functional. We present derivations of evolution equations for the paths from different viewpoints, and we discuss the role of frames as representing either metrics or cometrics. In the derivation, we explicitly see the influence of the connection and its curvature. We then turn to the relation between the sub-Riemannian metric and the Sasaki–Mok metric on the frame bundle, and we develop a construction that allows the sub-Riemannian metric to be defined as a sum of a rank-deficient generator and an underlying Riemannian metric. Finally, we relate the paths to geodesics and polynomials in Riemannian geometry, and we explore computational representations on different manifolds including a specific case: the finite dimensional manifolds arising in the Large Deformation Diffeomorphic Metric Mapping (LDDMM) [8] landmark matching problem. The paper ends with a discussion concerning statistical implications, open questions, and concluding remarks.
Figure 1.
(a) A most probable path (MPP) for a driving Euclidean Brownian motion on an ellipsoid. The gray ellipsis over the starting point (red dot) indicates the covariance of the anisotropic diffusion. A frame (black/gray vectors) representing the square root covariance is parallel transported along the curve, enabling the anisotropic weighting with the precision matrix in the action functional. With isotropic covariance, normal MPPs are Riemannian geodesics. In general situations, such as the displayed anisotropic case, the family of MPPs is much larger; (b) The corresponding anti-development in (red line) of the MPP. Compare with the anti-development of a Riemannian geodesic with same initial velocity (blue dotted line). The frames provide local frame coordinates for each time t.
Background
Generalizing common statistical tools for performing inference on Euclidean space data to manifold valued data has been the subject of extensive work (e.g., [9]). Perhaps most fundamental is the notion of Frechét or Karcher means [5,10], defined as minimizers of the square Riemannian distance. Generalizations of the Euclidean principal component analysis procedure to manifolds are particularly relevant for data exhibiting anisotropy. Approaches include principal geodesic analysis (PGA, [6]), geodesic PCA (GPCA, [11]), principal nested spheres (PNS, [12]), barycentric subspace analysis (BSA, [13]), and horizontal component analysis (HCA, [14]). Common to these constructions are explicit representations of approximating low-dimensional subspaces. The fundamental challenge here is that the notion of Euclidean linear subspace on which PCA relies has no direct analogue in non-linear spaces.
A different approach taken by diffusion PCA (DPCA, [1,2]) and probabilistic PGA [15] is to base the PCA problem on a maximum likelihood fit of normal distributions to data. In Euclidean space, this approach was first introduced with probabilistic PCA [16]. In DPCA, the process of stochastic development [4] is used to define a class of anisotropic distributions that generalizes the family of Euclidean space normal distributions to the manifold context. DPCA is then a simple maximum likelihood fit in this family of distributions mimicking the Euclidean probabilistic PCA. The approach transfers the geometric complexities of defining subspaces common in the approaches listed above to the problem of defining a geometrically natural notion of normal distributions.
In Euclidean space, squared distances between observations x and the mean are affinely related to the negative log-likelihood of a normal distribution . This makes an ML fit of the mean such as performed in probabilistic PCA equivalent to minimizing squared distances. On a manifold, distances coming from a Riemannian metric g are equivalent to tangent space distances when mapping data from M to using the inverse exponential map . Assuming are distributed according to a normal distribution in the linear space , this restores the equivalence with a maximum likelihood fit. Let be the standard basis for . If is a linear invertible map with orthonormal with respect to g, the normal distribution in can be defined as (see Figure 2).
Figure 2.
(a) Normal distributions in the tangent space with covariance (blue ellipsis) can be mapped to the manifold by applying the exponential map to sampled vectors (red vectors). This effectively linearises the geometry around ; (b) The stochastic development map maps valued paths to M by transporting the covariance in each step (blue ellipses) giving a covariance along the entire sample path. The approach does not linearise around a single point. Holonomy of the connection implies that the covariance “rotates” around closed loops—an effect which can be illustrated by continuing the transport along the loop created by the dashed path. The anisotropic metric weights step lengths by the transported covariance at each time t.
The map u can be represented as a point in the frame bundle of M. When the orthonormal requirement on u is relaxed so that is a normal distribution in with anisotropic covariance, the negative log-likelihood in is related to in the same way as the precision matrix is related to the negative log-likelihood in Euclidean space. The distance is thus weighted by the anisotropy of u, and u can be interpreted as a square root covariance matrix .
However, the above approach does not specify how u changes when moving away from the base point . The use of effectively linearises the geometry around , but a geometrically natural way to relate u at points nearby to will be to parallel transport it, equivalently specifying that u when transported does not change as measured from the curved geometry. This constraint is nonholonomic, and it implies that any path from to x carries with it a parallel transport of u lifting paths from M to paths in the frame bundle . It therefore becomes natural to equip with a form of metric that encodes the anisotropy represented by u. The result is the sub-Riemannian metric on defined below that weights infinitesimal movements on M using the parallel transport of the frame u. Optimal paths for this metric are sub-Riemannian geodesics giving the family of most probable paths for the driving process that this paper concerns. Figure 1 shows one such path for an anisotropic normal distribution with M an ellipsoid embedded in .
2. Frame Bundles, Stochastic Development, and Anisotropic Diffusions
Let M be a finite dimensional manifold of dimension d with connection , and let be a fixed point in M. When a Riemannian metric is present, and is its Levi–Civita connection, we denote the metric . For a given interval , we let denote the Wiener space of continuous paths in M starting at . Similarly, is the Wiener space of paths in . We let denote the subspace of of finite energy paths.
Let now be a frame for , ; i.e., is an ordered set of linearly independent vectors in with . We can regard the frame as an isomorphism with , where denotes the standard basis in . Stochastic development (e.g., [4]) provides an invertible map from to . Through , Euclidean semi-martingales map to stochastic processes on M. When M is Riemannian and u orthonormal, the result is the Eells–Elworthy–Malliavin construction of Brownian motion [17]. We here outline the geometry behind development, stochastic development, the connection, and curvature, focusing in particular on frame bundle geometry.
2.1. The Frame Bundle
For each point , let be the set of frames for (i.e., the set of ordered bases for ). The set can be given a natural differential structure as a fiber bundle on M called the frame bundle . It can equivalently be defined as the principal bundle . We let the map denote the canonical projection. The kernel of is the sub-bundle of that consists of vectors tangent to the fibers . It is denoted the vertical subspace . We will often work in a local trivialization , where denotes the base point, and for each , is the ith frame vector. For and with , the vector expresses v in components in terms of the frame u. We will denote the vector frame coordinates of v.
For a differentiable curve in M with , a frame u for can be parallel transported along by parallel transporting each vector in the frame, thus giving a path . Such paths are called horizontal, and have zero acceleration in the sense . For each , their derivatives form a d-dimensional subspace of the -dimensional tangent space . This horizontal subspace and the vertical subspace together split the tangent bundle of (i.e., ). The split induces a map , see Figure 3. For fixed , the restriction is an isomorphism. Its inverse is called the horizontal lift and is denoted in the following. Using , horizontal vector fields on are defined for vectors by . In particular, the standard basis on gives d globally defined horizontal vector fields , by . Intuitively, the fields model infinitesimal transformations in M of in direction with corresponding infinitesimal parallel transport of the vectors of the frame along the direction . A horizontal lift of a differentiable curve is a curve in tangent to that projects to . Horizontal lifts are unique up to the choice of initial frame .
Figure 3.
Relations between the manifold, frame bundle, the horizontal distribution , the vertical bundle , a Riemannian metric , and the sub-Riemannian metric , defined below. The connection provides the splitting . The restrictions are invertible maps with inverse , the horizontal lift. Correspondingly, the vertical bundle is isomorphic to the trivial bundle . The metric has an image in the subspace .
2.2. Development and Stochastic Development
Let be a differentiable curve on M and a horizontal lift. If is a curve in with components such that , is said to be a development of . Correspondingly, is the anti-development of . For each t, the vector contains frame coordinates of as defined above. Similarly, let be an valued Brownian motion so that sample paths . A solution to the stochastic differential equation in is called a stochastic development of in . The solution projects to a stochastic development in M. We call the process in , that through φ maps to , the driving process of . Let be the map that for fixed u sends a path in to its development on M. Its inverse is the anti-development in of paths on M given u.
Equivalent to the fact that normal distributions in can be obtained as the transition distributions of diffusion processes stopped at time , a general class of distributions on the manifold M can be defined by stochastic development of processes , resulting in M-valued random variables . This family of distributions on M introduced in [2] is denoted anisotropic normal distributions. The stochastic development by construction ensures that is horizontal, and the frames are thus parallel transported along the stochastic displacements. The effect is that the frames stay covariantly constant, thus resembling the Euclidean situation where is spatially constant and therefore does not change as evolves. Thus, as further discussed in Section 3.2, the covariance is kept constant at each of the infinitesimal stochastic displacements. The existence of a smooth density for the target process and small time asymptotics are discussed in [3].
Stochastic development gives a map to the space of probability distributions on M. For each point , the map sends a Brownian motion in to a distribution by stochastic development of the process in , starting at u and letting be the distribution of . The pair , is analogous to the parameters for a Euclidean normal distribution: the point represents the starting point of the diffusion, and the frame u represents a square root of the covariance Σ. In the general situation where has smooth density, the construction can be used to fit the parameters u to data by maximum likelihood. As an example, diffusion PCA fits distributions obtained through by maximum likelihood to observed samples in M; i.e., it optimizes for the most likely parameters for the anisotropic diffusion process, giving a fit to the data of the manifold generalization of the Euclidean normal distribution.
2.3. Adapted Coordinates
For concrete expressions of the geometric constructions related to frame bundles, and for computational purposes, it is useful to apply coordinates that are adapted to the horizontal bundle and the vertical bundle together with their duals and . The notation below follows the notation used in, for example, [18]. Let be a local trivialization of , and let be coordinates on with satisfying for each .
To find a basis that is adapted to the horizontal distribution, define the d linearly independent vector fields where is the contraction of the Christoffel symbols for the connection with . We denote this adapted frame D. The vertical distribution is correspondingly spanned by . The vectors and constitutes a dual coframe . The map is in coordinates of the adapted frame . Correspondingly, the horizontal lift is . The map is given by the matrix so that .
Switching between standard coordinates and the adapted frame and coframes can be expressed in terms of the component matrices A below the frame and coframe induced by the coordinates and the adapted frame D and coframe . We have
writing Γ for the matrix . Similarly, the component matrices of the dual frame are
2.4. Connection and Curvature
The valued connection lifts to a principal connection on the principal bundle . can then be identified with the -valued connection form ω on . The identification occurs by the isomorphism ψ between and given by (e.g., [19,20]).
The map ψ is equivariant with respect to the action on . In order to explicitly see the connection between the usual covariant derivative on M determined by and regarded as a connection on the principal bundle , following [19], we let be a local vector field on M; equivalently, is a local section of . s determines a map by ; i.e., it gives the coordinates of in the frame u at x. The pushforward has in its ith component the exterior derivative . Let now be a local section of . The composition is identical to the covariant derivative . The construction is independent of the choice of w because of the -equivariance of . The connection form ω can be expressed as the matrix when letting .
The identification becomes particularly simple if the covariant derivative is taken along a curve on which is the horizontal lift. In this case, we can let . Then, , and
i.e., the covariant derivative takes the form of the standard derivative applied to the frame coordinates .
The curvature tensor gives the -valued curvature form on by
Note that , which we can use to write the curvature R as the -valued map , for fixed u. In coordinates, the curvature is
where .
Let be a family of paths in M, and let be horizontal lifts of for each fixed s. Write and . The s-derivative of can be regarded a pushforward of the horizontal lift and is the curve in
This follows from the structure equation (e.g., [21]). Note that the curve depends on the vertical variation at only one point along the curve. The remaining terms depend on the horizontal variation or, equivalently, . The t-derivative of is the curve in satisfying
Here, the first and third term in the last expression are identified with elements of by the natural mapping . When is zero, the relation reflects the property that the curvature arises when computing brackets between horizontal vector fields. Note that the first term of (3) has values in , while the third term has values in .
3. The Anisotropically Weighted Metric
For a Euclidean driftless diffusion process with spatially constant stochastic generator Σ, the log-probability of a sample path can formally be written
with the norm given by the inner product ; i.e., the inner product weighted by the precision matrix . Though only formal, as the sample paths are almost surely nowhere differentiable, the interpretation can be given a precise meaning by taking limits of piecewise linear curves [21]. Turning to the manifold situation with the processes mapped to M by stochastic development, the probability of observing a differentiable path can either be given a precise meaning in the manifold by taking limits of small tubes around the curve, or in by considering infinitesimal tubes around the anti-development of the curves. With the former formulation, a scalar curvature correction term must be added to (4), giving the Onsager–Machlup function [22]. The latter formulation corresponds to defining a notion of path density for the driving -valued process . When M is Riemannian and Σ unitary, taking the maximum of (4) gives geodesics as most probable paths for the driving process.
Let now be a path in , and choose a local trivialization such that the matrix represents the square root covariance matrix at . Since being a frame defines an invertible map , the norm above has a direct analogue in the norm defined by the inner product
for vectors . The transport of the frame along paths in effect defines a transport of inner product along sample paths: the paths carry with them the inner product weighted by the precision matrix, which in turn is a transport of the square root covariance at .
The inner product can equivalently be defined as a metric . Again using that u can be considered a map , is defined by , where ♯ is the standard identification . The sequence of mappings defining is illustrated below:
This definition uses the inner product in the definition of ♯. Its inverse gives the cometric ; i.e., .
3.1. Sub-Riemannian Metric on the Horizontal Distribution
We now lift the path-dependent metric defined above to a sub-Riemannian metric on . For any , the lift of (5) by is the inner product
The inner product induces a sub-Riemannian metric by
with denoting the evaluation for the covector . The metric gives a non-bracket-generating sub-Riemannian structure [23] on (see also Figure 3). It is equivalent to the lift
of the metric above. In frame coordinates, the metric takes the form
In terms of the adapted coordinates for described in Section 2.3, with and , we have
where is the inverse of and . Define now , so that and . We can then write the metric directly as
because . One clearly recognizes the dependence on the horizontal part of only, and the fact that has image in . The sub-Riemannian energy of an almost everywhere horizontal path is
i.e., the line element is in adapted coordinates. The corresponding distance is given by
If we wish to express in canonical coordinates on , we can switch between the adapted frame and the coordinates . From (11), has components
Therefore, has the following components in the coordinates
or , , , and .
3.2. Covariance and Nonholonomicity
The metric encodes the anisotropic weighting given the frame u, thus up to an affine transformation measuring the energy of horizontal paths equivalently to the negative log-probability of sample paths of Euclidean anisotropic diffusions as formally given in (4). In addition, the requirement that paths must stay horizontal almost everywhere enforces that a.e., i.e., that no change of the covariance is measured by the connection. The intuitive effect is that covariance is covariantly constant as seen by the connection. Globally, curvature of will imply that the covariance changes when transported along closed loops, and torsion will imply that the base point “slips” when travelling along covariantly closed loops on M. However, the zero acceleration requirement implies that the covariance is as close to spatially constant as possible with the given connection. This is enabled by the parallel transport of the frame, and it ensures that the model closely resembles the Euclidean case with spatially constant stochastic generator.
With non-zero curvature of , the horizontal distribution is non-integrable (i.e., the brackets are non-zero for some ). This prevents integrability of the horizontal distribution in the sense of the Frobenius theorem. In this case, the horizontal constraint is nonholonomic similarly to nonholonomic constraints appearing in geometric mechanics (e.g., [24]). The requirement of covariantly constant covariance thus results in a nonholonomic system.
3.3. Riemannian Metrics on
If the horizontality constraint is relaxed, a related Riemannian metric on can be defined by pulling back a metric on to each fiber using the isomorphism . Therefore, the metric on can be extended to a Riemannian metric on . Such metrics incorporate the anisotropically weighted metric on , however, allowing vertical variations and thus that covariances can change unrestricted.
When M is Riemannian, the metric is in addition related to the Sasaki–Mok metric on [18] that extends the Sasaki metric on . As for the above Riemannian metric on , the Sasaki–Mok metric allows paths in to have derivatives in the vertical space . On , the Riemannian metric is here lifted to the metric (i.e., the metric is not anisotropically weighted). The line element is in this case .
Geodesics for are lifts of Riemannian geodesics for on M, in contrast to the sub-Riemannian normal geodesics for which we will characterize below. The family of curves arising as projections to M of normal geodesics for includes Riemannian geodesics for (and thus projections of geodesics for ), but the family is in general larger than geodesics for .
4. Constrained Evolutions
Extremal paths for (5) can be interpreted as most probable paths for the driving process when defines an anisotropic diffusion. This is captured in the following definition [3]:
Definition 1.
A most probable path for the driving process (MPP) from to is a smooth path with and such that its anti-development is a most probable path for ; i.e.,
with being the Onsager–Machlup function for the process on [22].
The definition uses the one-to-one relation between and provided by to characterize the paths using the Onsager–Machlup function . When M is Riemannian with metric , the Onsager–Machlup function for a g-Brownian motion on M is with denoting the scalar curvature. This curvature term vanishes on , and therefore for a curve .
By pulling back to using , the construction removes the scalar curvature correction term present in the non-Euclidean Onsager–Machlup function. It thereby provides a relation between geodesic energy and most probable paths for the driving process. This is contained in the following characterization of most probable paths for the driving process as extremal paths of the sub-Riemannian distance [3] that follows from the Euclidean space Onsager–Machlup theorem [22].
Theorem 1
([3])
Let denote the principal sub-bundle of of points reachable from by horizontal paths. Suppose the Hörmander condition is satisfied on , and that has compact fibers. Then, most probable paths from to for the driving process of exist, and they are projections of sub-Riemannian geodesics in minimizing the sub-Riemannian distance from to .
Below, we will derive evolution equations for the set of such extremal paths that correspond to normal sub-Riemannian geodesics.
4.1. Normal Geodesics for
Connected to the metric is the Hamiltonian
on the symplectic space . Letting denote the projection on the bundle , (8) gives
Normal geodesics in sub-Riemannian manifolds satisfy the Hamilton–Jacobi equations [23] with Hamiltonian flow
where Ω here is the canonical symplectic form on (e.g., [25]). We denote (13) the MPP equations, and we let projections of minimizing curves satisfying (13) be denoted normal MPPs. The system (13) has degrees of freedom, in contrast to the usual degrees of freedom for the classical geodesic equation. Of these, describes the current frame at time t, while the remaining allows the curve to “twist” while still being horizontal. We will see this effect visualized in Section 6.
In a local canonical trivialization , (13) gives the Hamilton–Jacobi equations
Using (3), we have for the second equation
Here denotes u-derivative in the direction , equivalently . While the first equation of (14) involves only the horizontal part of ξ, the second equation couples the vertical part of ξ through the evaluation of ξ on the term . If the connection is curvature-free, which in non-flat cases implies that it carries torsion, this vertical term vanishes. Conversely, when M is Riemannian, the Levi–Civita connection, and is orthonormal, for all . In this case, a normal MPP will be a Riemannian geodesic.
4.2. Evolution in Coordinates
In coordinates for , we can equivalently write
with for , and where
Combining these expressions, we obtain
4.3. Acceleration and Polynomials for
We can identify the covariant acceleration of curves satisfying the MPP equations, and hence normal MPPs through their frame coordinates. Let satisfy (13). Then, is a horizontal lift of and hence by (1), (3), (10), and (15),
The fact that the covariant derivative vanishes for classical geodesic leads to a definition of higher-order polynomials through the covariant derivative by requiring for a kth order polynomial (e.g., [26,27]). As discussed above, compared to classical geodesics, curves satisfying the MPP equations have extra degrees of freedom, allowing the curves to twist and deviate from being geodesic with respect to while still satisfying the horizontality constraint on . This makes it natural to ask if normal MPPs relate to polynomials defined using . For curves satisfying the MPP equations, using (16) and (15), we have
Thus, in general, normal MPPs are not second order polynomials in the sense unless the curvature is constant in t.
For comparison, in the Riemannian case, a variational formulation placing a cost on covariant acceleration [28,29] leads to cubic splines
In (16), the curvature terms appear in the covariant acceleration for normal MPPs, while cubic splines leads to the curvature term appearing in the third order derivative.
5. Cometric Formulation and Low-Rank Generator
We now investigate a cometric , where is Riemannian, is a rank k positive semi-definite inner product arising from k linearly independent tangent vectors, and a weight. We assume that is chosen so that is invertible, even though is rank-deficient. The situation corresponds to extracting the first k eigenvectors in Euclidean space PCA. If the eigenvectors are estimated statistically from observed data, this allows the estimation to be restricted to only the first k eigenvectors. In addition, an important practical implication of the construction is that a numerical implementation need not transport a full matrix for the frame, but a potentially much lower dimensional matrix. This point is essential when dealing with high-dimensional data, examples of which are landmark manifolds as discussed in Section 6.
When using the frame bundle to model covariances, the sum formulation is natural to express as a cometric compared to a metric because, with the cometric formulation, represents a sum of covariance matrices instead of a sum of precision matrices. Thus, can be intuitively thought of as adding isotropic noise of variance λ to the covariance represented by .
To pursue this, let denote the bundle of rank k linear maps . We define a cometric by
for . The sum over is for . The first term is equivalent to the lift (9) of the cometric given . Note that in the definition (6) of , the map u is not inverted; thus, the definition of the metric immediately carries over to the rank-deficient case.
Let , be a coordinate system on . The vertical distribution is in this case spanned by the vector fields . Except for index sums being over k instead of d terms, the situation is thus similar to the full-rank case. Note that . The cometric in coordinates is
with . We can then write the corresponding sub-Riemannian metric in terms of the adapted frame D
because . That is, the situation is analogous to (11), except the term is added to .
The geodesic system is again given by the Hamilton–Jacobi equations. As in the full-rank case, the system is specified by the derivatives of :
Note that the introduction of the Riemannian metric implies that are now dependent on the manifold coordinates .
6. Numerical Experiments
We aim at visualizing most probable paths for the driving process and projections of curves satisfying the MPP Equation (13) in two cases: On 2D surfaces embedded in and on finite dimensional landmark manifolds that arise from equipping a subset of the diffeomorphism group with a right-invariant metric and letting the action descend to the landmarks by a left action. The surface examples are implemented in Python using the Theano [30] framework for symbolic operations, automatic differentiation, and numerical evaluation. The landmark equations are detailed below and implemented in Numpy using Numpy’s standard ODE integrators. The code for running the experiments is available at http://bitbucket.com/stefansommer/mpps/.
6.1. Embedded Surfaces
We visualize normal MPPs and projections of curves satisfying the MPP Equation (13) on surfaces embedded in in three cases: The sphere , on an ellipsoid, and on a hyperbolic surface. The surfaces are chosen in order to have both positive and negative curvature, and to have varying degree of symmetry. In all cases, an open subset of the surfaces are represented in a single chart by a map . For the sphere and ellipsoid, this gives a representation of the surface, except for the south pole. The metric and Christoffel symbols are calculated using the symbolic differentiation features of Theano. The integration are performed by a simple Euler integrator.
Figure 4, Figure 5, Figure 6 show families of curves satisfying the MPP equations in three cases: (1) With fixed starting point and initial velocity but varying anisotropy represented by changing frame u in the fiber above ; (2) minimizing normal MPPs with fixed starting point and endpoint but changing frame u above ; (3) fixed starting point and frame u but varying vertical part of the initial momentum . The first and second cases thus show the effect of varying anisotropy, while the third case illustrates the effect of the “twist” that the degrees in the vertical momentum allows. Note the displayed anti-developed curves in that for classical geodesics would always be straight lines.
Figure 4.
Curves satisfying the MPP equations (top row) and corresponding anti-development (bottom row) on three surfaces embedded in : (a) An ellipsoid; (b) a sphere; (c) a hyperbolic surface. The family of curves is generated by rotating by radians the anisotropic covariance represented in the initial frame and displayed in the gray ellipse.
Figure 5.
Minimizing normal MPPs between two fixed points (red/cyan). From isotropic covariance (top row, (a)) to anisotropic (top row, (c)) on . Compare with minimizing Riemannian geodesic (black curve). The MPP travels longer in the directions of high variance. Families of curves (middle row, (d–f)) and corresponding anti-development (bottom row, (g–i)) on the three surfaces in Figure 4. The family of curves is generated by rotating the covariance matrix as in Figure 4. Notice how the varying anisotropy affects the resulting minimizing curves, and how the anti-developed curves end at different points in .
6.2. LDDMM Landmark Equations
We here give a example of the MPP equations using the finite dimensional landmark manifolds that arise from right invariant metrics on subsets of the diffeomorphism group in the Large Deformation Diffeomorphic Metric Mapping (LDDMM) framework [8]. The LDDMM metric can be conveniently expressed as a cometric, and, using a rank-deficient inner product as discussed in Section 5, we can obtain a reduction of the system of equations to compared to with N landmarks in .
Let be landmarks in a subset . The diffeomorphism group acts on the left on landmarks with the action . In LDDMM, a Hilbert space structure is imposed on a linear subspace V of using a self-adjoint operator and defining the inner product by
Under sufficient conditions on L, V is reproducing and admits a kernel K inverse to L. K is a Green’s kernel when L is a differential operator, or K can be a Gaussian kernel. The Hilbert structure on V gives a Riemannian metric on a subset by setting ; i.e., regarding an inner product on and extending the metric to by right-invariance. This Riemannian metric descends to a Riemannian metric on the landmark space.
Let M be the manifold . The LDDMM metric on the landmark manifold M is directly related to the kernel K when written as a cometric . Letting denote the index of the kth component of the ith landmark, the cometric is in coordinates . The Christoffel symbols can be written in terms of derivatives of the cometric [31] (recall that )
This relation comes from the fact that gives the derivative of the metric. The derivatives of the cometric is simply . Using (18), derivatives of the Christoffel symbols can be computed
This provides the full data for numerical integration of the evolution equations on .
In Figure 7 (top row), we plot minimizing normal MPPs on the landmark manifold with two landmarks and varying covariance in the horizontal and vertical direction. The plot shows the landmark equivalent of the experiment in Figure 5. Note how adding covariance in the horizontal and vertical direction, respectively, allows the minimizing normal MPP to vary more in these directions because the anisotropically-weighted metric penalizes high-covariance directions less.
Figure 7.
(Top row) Matching of two landmarks (green) to two landmarks (red) by (a) computing a minimizing Riemannian geodesic on the landmark manifold, and (b–e) minimizing MPPs with added covariance (arrows) in horizontal direction (b,c) and vertical (d,e). The action of the corresponding diffeomorphisms on a regular grid is visualized by the deformed grid which is colored by the warp strain. The added covariance allows the paths to have more movement in the horizontal and vertical direction, respectively, because the anisotropically weighted metric penalizes high-covariance directions less. (bottom row, (f–j)) Five landmark trajectories with fixed initial velocity and anisotropic covariance but varying vertical initial momentum . Changing the vertical momentum “twists” the paths.
7. Discussion and Concluding Remarks
Incorporating anisotropy in models for data in non-linear spaces via the frame bundle as pursued in this paper leads to a sub-Riemannian structure and metric. A direct implication is that most probable paths to observed data in the sense of sequences of stochastic steps of a driving semi-martingale are not related to geodesics in the classical sense. Instead, a best estimate of the sequence of steps that leads to an observation is an MPP in the sense of Definition 1. As shown in the paper, these paths are generally not geodesics or polynomials with respect to the connection on the manifold. In particular, if M has a Riemannian structure, the MPPs are generally neither Riemannian geodesics nor Riemannian polynomials. Below, we discuss the statistical implications of this result.
7.1. Statistical Estimators
Metric distances and Riemannian geodesics have been the traditional vehicle for representing observed data in non-linear spaces. Most fundamentally, the sample Frechét mean
of observed data relies crucially on the Riemannian distance connected to the metric . Many PCA constructs (e.g., Principal Geodesics Analysis [6]) use the Riemannian and maps to map between linear tangent spaces and the manifold. These maps are defined from the Riemannian metric and Riemannian geodesics. Distributions modelled as in the random orbit model [32] or Bayesian models [15,33] again rely on geodesics with random initial conditions.
Using the frame bundle sub-Riemannian metric , we can define an estimator analogous to the Riemannian Frechét mean estimator. Assuming the covariance is a priori known, the estimator
acts correspondingly to the Frechét mean estimator (19). Here is a (local) section of that to connects the known covariance represented by . The distances , are realized by MPPs from the mean candidate x to the fibers . The Frechét mean problem is thus lifted to the frame bundle with the anisotropic weighting incorporated in the metric . This metric is not related to , except for its dependence on the connection that can be defined as the Levi–Civita connection of . The fundamental role of the distance and geodesics in (19) is thus removed.
Because covariance is an integral part of the model, sample covariance can also be estimated directly along with the sample mean. In [3], the estimator
is suggested. The normalizing term is derived such that the estimator exactly corresponds to the maximum likelihood estimator of mean and covariance for Euclidean Gaussian distributions. The determinant is defined via , and the term acts to prevent the covariance from approaching infinity. Maximum likelihood estimators of mean and covariance for normally distributed Euclidean data have unique solutions in the sample mean and sample covariance matrix, respectively. Uniqueness of the Frechét mean (19) is only ensured for sufficiently concentrated data. For the estimator (21), existence and uniqueness properties are not immediate, and more work is needed in order to find necessary and sufficient conditions.
7.2. Priors and Low-Rank Estimation
The low-rank cometric formulation pursued in Section 5 gives a natural restriction of (21) to , . As for Euclidean PCA, most variance is often captured in the span of the first k eigenvectors with . Estimates of the remaining eigenvectors are generally ignored, as the variance of the eigenvector estimates increases as the noise captured in the span of the last eigenvectors becomes increasingly uniform. The low-rank cometric restricts the estimation to only the first k eigenvectors, and thus builds the construction directly into the model. In addition, it makes numerical implementation feasible, because a numerical representation need only store and evolve matrices. As a different approach for regularizing the estimator (21), the normalizing term can be extended with other priors (e.g., an -type penalizing term). Such priors can potentially partly remove existence and uniqueness issues, and result in additional sparsity properties that can benefit numerical implementations. The effects of such priors have yet to be investigated.
In the case, the number of degrees of freedom for the MPPs grows quadratically in the dimension d. This naturally increases the variance of any MPP estimate given only one sample from its trajectory. The low-rank cometric formulation reduces the growth to linear in d. The number of degrees of freedom is however still k times larger than for Riemannian geodesics. With longitudinal data, more samples per trajectory can be obtained, reducing the variance and allowing a better estimate of the MPP. However, for the estimators (20) and (21) above, estimates of the actual optimal MPPs are not needed—only their squared length. It can be hypothesized that the variance of the length estimates is lower than the variance of the estimates of the corresponding MPPs. Further investigation regarding this will be the subject of future work.
7.3. Conclusions
The underlying model of anisotropy used in this paper originates from the anisotropic normal distributions formulated in [2] and the diffusion PCA framework [1]. Because many statistical models are defined using normal distributions, this approach to incorporating anisotropy extends to models such as linear regression. We expect that finding most probable paths in other statistical models such as regressions models can be carried out with a program similar to the program presented in this paper.
The difference between MPPs and geodesics shows that the geometric and metric properties of geodesics, zero acceleration, and local distance minimization are not directly related to statistical properties such as maximizing path probability. Whereas the concrete application and model determines if metric or statistical properties are fundamental, most statistical models are formulated without referring to metric properties of the underlying space. It can therefore be argued that the direct incorporation of anisotropy and the resulting MPPs are natural in the context of many models of data variation in non-liner spaces.
Acknowledgments
The author wishes to thank Peter W. Michor and Sarang Joshi for suggestions for the geometric interpretation of the sub-Riemannian metric on and discussions on diffusion processes on manifolds. The work was supported by the Danish Council for Independent Research, the CSGB Centre for Stochastic Geometry and Advanced Bioimaging funded by a grant from the Villum foundation, and the Erwin Schrödinger Institute in Vienna.
Conflicts of Interest
The author declares no conflict of interest.
References
- Sommer, S. Diffusion Processes and PCA on Manifolds. Available online: https://www.mfo.de/document/1440a/OWR_2014_44.pdf (accessed on 24 November 2016).
- Sommer, S. Anisotropic distributions on manifolds: Template estimation and most probable paths. In Information Processing in Medical Imaging; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2015; Volume 9123, pp. 193–204. [Google Scholar]
- Sommer, S.; Svane, A.M. Modelling anisotropic covariance using stochastic development and sub-riemannian frame bundle geometry. J. Geom. Mech. 2016, in press. [Google Scholar]
- Hsu, E.P. Stochastic Analysis on Manifolds; American Mathematical Society: Providence, RI, USA, 2002. [Google Scholar]
- Fréchet, M. Les éléments aléatoires de nature quelconque dans un espace distancie. Annales de l’Institut Henri Poincaré 1948, 10, 215–310. [Google Scholar]
- Fletcher, P.; Lu, C.; Pizer, S.; Joshi, S. Principal geodesic analysis for the study of nonlinear statistics of shape. IEEE Trans. Med. Imaging 2004, 23, 995–1005. [Google Scholar] [CrossRef] [PubMed]
- Vaillant, M.; Miller, M.; Younes, L.; Trouvé, A. Statistics on diffeomorphisms via tangent space representations. NeuroImage 2004, 23, S161–S169. [Google Scholar] [CrossRef] [PubMed]
- Younes, L. Shapes and Diffeomorphisms; Springer: Berlin/Heidelberg, Germany, 2010. [Google Scholar]
- Pennec, X. Intrinsic statistics on riemannian manifolds: Basic tools for geometric measurements. J. Math. Imaging Vis. 2006, 25, 127–154. [Google Scholar] [CrossRef]
- Karcher, H. Riemannian center of mass and mollifier smoothing. Commun. Pure Appl. Math. 1977, 30, 509–541. [Google Scholar] [CrossRef]
- Huckemann, S.; Hotz, T.; Munk, A. Intrinsic shape analysis: Geodesic PCA for Riemannian manifolds modulo isometric lie group actions. Stat. Sin. 2010, 20, 1–100. [Google Scholar]
- Jung, S.; Dryden, I.L.; Marron, J.S. Analysis of principal nested spheres. Biometrika 2012, 99, 551–568. [Google Scholar] [CrossRef] [PubMed]
- Pennec, X. Barycentric subspaces and affine spans in manifolds. In Proceedings of the Second International Conference on Geometric Science of Information, Paris, France, 28–30 October 2015; Nielsen, F., Barbaresco, F., Eds.; Lecture Notes in Computer Science. pp. 12–21.
- Sommer, S. Horizontal dimensionality reduction and iterated frame bundle development. In Geometric Science of Information; Springer: Berlin/Heidelberg, Germany, 2013; pp. 76–83. [Google Scholar]
- Zhang, M.; Fletcher, P. Probabilistic principal geodesic analysis. In Proceedings of the 26th International Conference on Neural Information Processing Systems, Lake Tahoe, Nevada, 5–10 December 2013; pp. 1178–1186.
- Tipping, M.E.; Bishop, C.M. Probabilistic principal component analysis. J. R. Stat. Soc. Ser. B 1999, 61, 611–622. [Google Scholar] [CrossRef]
- Elworthy, D. Geometric aspects of diffusions on manifolds. In École d’Été de Probabilités de Saint-Flour XV–XVII, 1985–1987; Hennequin, P.L., Ed.; Number 1362 in Lecture Notes in Mathematics; Springer: Berlin/Heidelberg, Germany, 1988; pp. 277–425. [Google Scholar]
- Mok, K.P. On the differential geometry of frame bundles of Riemannian manifolds. J. Reine Angew. Math. 1978, 1978, 16–31. [Google Scholar]
- Taubes, C.H. Differential Geometry: Bundles, Connections, Metrics and Curvature, 1st ed.; Oxford University Press: Oxford, UK; New York, NY, USA, 2011. [Google Scholar]
- Kolář, I.; Slovák, J.; Michor, P.W. Natural Operations in Differential Geometry; Springer: Berlin/Heidelberg, Germany, 1993. [Google Scholar]
- Andersson, L.; Driver, B.K. Finite dimensional approximations to wiener measure and path integral formulas on manifolds. J. Funct. Anal. 1999, 165, 430–498. [Google Scholar] [CrossRef]
- Fujita, T.; Kotani, S.i. The Onsager-Machlup function for diffusion processes. J. Math. Kyoto Univ. 1982, 22, 115–130. [Google Scholar]
- Strichartz, R.S. Sub-Riemannian geometry. J. Differ. Geom. 1986, 24, 221–263. [Google Scholar]
- Bloch, A.M. Nonholonomic mechanics and control. In Interdisciplinary Applied Mathematics; Springer: New York, NY, USA, 2003; Volume 24. [Google Scholar]
- Marsden, J.E.; Ratiu, T.S. Introduction to mechanics and symmetry. In Texts in Applied Mathematics; Springer: New York, NY, USA, 1999; Volume 17. [Google Scholar]
- Leite, F.S.; Krakowski, K.A. Covariant Differentiation under Rolling Maps; Centro de Matemática da Universidade de Coimbra: Coimbra, Portugal, 2008. [Google Scholar]
- Hinkle, J.; Fletcher, P.T.; Joshi, S. Intrinsic polynomials for regression on riemannian manifolds. J. Math. Imaging Vis. 2014, 50, 32–52. [Google Scholar] [CrossRef]
- Noakes, L.; Heinzinger, G.; Paden, B. Cubic splines on curved spaces. IMA J. Math. Control Inf. 1989, 6, 465–473. [Google Scholar] [CrossRef]
- Camarinha, M.; Silva Leite, F.; Crouch, P. On the geometry of Riemannian cubic polynomials. Differ. Geom. Appl. 2001, 15, 107–135. [Google Scholar] [CrossRef]
- Team, T.T.D.; Al-Rfou, R.; Alain, G.; Almahairi, A.; Angermueller, C.; Bahdanau, D.; Ballas, N.; Bastien, F.; Bayer, J.; Belikov, A.; et al. Theano: A Python framework for fast computation of mathematical expressions. arXiv, 2016; arXiv:1605.02688. [Google Scholar]
- Micheli, M. The Differential Geometry of Landmark Shape Manifolds: Metrics, Geodesics, and Curvature. Ph.D. Thesis, Brown University, Providence, RI, USA, 2008. [Google Scholar]
- Miller, M.; Banerjee, A.; Christensen, G.; Joshi, S.; Khaneja, N.; Grenander, U.; Matejic, L. Statistical methods in computational anatomy. Stat. Methods Med. Res. 1997, 6, 267–299. [Google Scholar] [CrossRef] [PubMed]
- Zhang, M.; Singh, N.; Fletcher, P.T. Bayesian estimation of regularization and atlas building in diffeomorphic image registration. In Information Processing for Medical Imaging (IPMI); Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2013; pp. 37–48. [Google Scholar]
© 2016 by the author; licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC-BY) license (http://creativecommons.org/licenses/by/4.0/).








