NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Principal Component Analysis for Functional Data on Riemannian Manifolds and Spheres

Xiongtao Dai, Hans‐Georg Müller · DOI

Abstract

Functional data analysis on nonlinear manifolds has drawn recent interest. Sphere-valued functional data, which are encountered for example as movement trajectories on the surface of the earth, are an important special case. We consider an intrinsic principal component analysis for smooth Riemannian manifold-valued functional data and study its asymptotic properties. Riemannian functional principal component analysis (RFPCA) is carried out by first mapping the manifold-valued data through Riemannian logarithm maps to tangent spaces around the time-varying Fréchet mean function, and then performing a classical multivariate functional principal component analysis on the linear tangent spaces. Representations of the Riemannian manifold-valued functions and the eigenfunctions on the original manifold are then obtained with exponential maps. The tangent-space approximation through functional principal component analysis is shown to be well-behaved in terms of controlling the residual variation if the Riemannian manifold has nonnegative curvature. Specifically, we derive a central limit theorem for the mean function, as well as root-$n$ uniform convergence rates for other model components, including the covariance function, eigenfunctions, and functional principal component scores. Our applications include a novel framework for the analysis of longitudinal compositional data, achieved by mapping longitudinal compositional data to trajectories on the sphere, illustrated with longitudinal fruit fly behavior patterns. RFPCA is shown to be superior in terms of trajectory recovery in comparison to an unrestricted functional principal component analysis in applications and simulations and is also found to produce principal component scores that are better predictors for classification compared to traditional functional functional principal component scores.

Introduction

Functional Data Analysis (FDA) traditionally operates under the assumption that data trajectories exist within a flat Euclidean space. This framework is suitable for standard metrics like temperature over time or growth curves. However, many modern datasets involve trajectories constrained by nonlinear geometries. Examples include geographical flight paths following the Earth's curvature or compositional data—where proportions must sum to one—which naturally reside on a simplex.

Applying standard Principal Component Analysis (PCA) to these "curved" datasets often yields physically impossible results. For instance, a linear average of two points on a sphere falls inside the sphere rather than on its surface. This paper introduces Riemannian Functional Principal Component Analysis (RFPCA), an intrinsic framework designed to perform dimension reduction while strictly respecting the underlying manifold geometry.

The RFPCA Framework

The core of the RFPCA approach is a "flatten-analyze-unflatten" workflow that leverages Riemannian geometry to bridge the gap between curved manifolds and linear statistical tools:

  1. Estimation of the Intrinsic Mean: The process begins by calculating the time-varying Fréchet mean. Unlike a Euclidean mean, the Fréchet mean is the curve that minimizes the sum of squared geodesic distances (the shortest path on the surface) to all observed trajectories at each time point.
  2. The Logarithm Map (Flattening): To perform linear analysis, the manifold-valued data is projected onto a tangent space—a flat plane touching the manifold at the Fréchet mean—using the Riemannian logarithm map. This "unrolls" the curved trajectories into a multivariate linear space.
  3. Multivariate FPCA: Standard multivariate Functional PCA is then applied to the flattened data in the tangent space to identify the primary modes of variation, eigenfunctions, and principal component scores.
  4. The Exponential Map (Unflattening): Finally, the results are projected back onto the original manifold using the exponential map. This ensures that reconstructed trajectories and principal modes remain faithful to the manifold's constraints.

Theoretical Foundations

A major contribution of this work is the rigorous establishing of asymptotic properties for RFPCA. The authors demonstrate that the tangent-space approximation is statistically sound, particularly for manifolds with nonnegative sectional curvature (such as spheres). In these cases, the distance between points on the manifold is shorter than or equal to the distance between their representations in the tangent space, providing a geometric "safety net" that controls approximation errors.

Specifically, the paper derives a central limit theorem for the mean function and establishes root-$n$ uniform convergence rates for the covariance function, eigenfunctions, and scores. This provides the theoretical justification previously lacking for applying tangent-space approximations to functional data.

Applications and Key Insights

Longitudinal Compositional Data

The researchers introduce a novel way to handle compositional data (proportions of a whole). By applying a square-root transformation to each component, the data is mapped onto the positive quadrant of a unit sphere. This avoids the mathematical difficulties associated with zero-values in traditional log-ratio transforms and allows the use of RFPCA to analyze behavioral patterns.

Empirical Results

The method was tested against real-world datasets, including the behavior of 106 Drosophila flies and 969 commercial flight paths from Hong Kong to London:

  • Efficiency and Parsimony: In the fruit fly study, RFPCA explained 81.7% of total variation with only 5 components. To reach a 95% variance threshold, RFPCA required 14 components, whereas standard linear FPCA required 18. This demonstrates that RFPCA is more "parsimonious," capturing more information with fewer dimensions by accounting for the data's natural geometry.
  • Predictive Accuracy: RFPCA scores proved to be superior predictors. When classifying flights by airline (British Airways, Cathay Pacific, or Virgin Atlantic), RFPCA-based scores consistently outperformed standard methods. For example, Support Vector Machine (SVM) accuracy improved from 85.8% to 86.2%.
  • Computational Performance: RFPCA is significantly faster than direct optimization methods that attempt to solve geodesic equations numerically, making it a practical choice for large-scale functional datasets.

Discussion and Limitations

While RFPCA offers a robust framework for manifold-valued data, it is subject to certain geometric constraints. The method assumes the data is localized enough to stay within the radius of injectivity; if trajectories are too widely dispersed (e.g., covering opposite poles of a sphere), the logarithm map may become multi-valued. Furthermore, the theory relies on the uniqueness of the Fréchet mean, which is generally guaranteed for localized data but can be problematic for data distributed globally across a circle or sphere.

Future research may extend these methods to manifolds with negative curvature or develop techniques to estimate the underlying manifold structure directly from the data when the geometry is not known a priori.

Summary updated

BibTeX
@article{dai2018principal,
  author = {Xiongtao Dai and Hans‐Georg Müller},
  title = {{Principal Component Analysis for Functional Data on Riemannian Manifolds and Spheres}},
  journal = {The Annals of Statistics},
  year = {2018},
  doi = {10.1214/17-aos1660},
}
Figure