Abstract
Functional data analysis (FDA) on nonlinear manifolds is an emerging field with applications ranging from global movement trajectories to compositional data. This paper introduces Riemannian Functional Principal Component Analysis (RFPCA), an intrinsic framework for dimension reduction of smooth manifold-valued functional data. By mapping trajectories to tangent spaces via Riemannian logarithm maps, performing classical FPCA, and projecting results back via exponential maps, RFPCA respects the underlying geometry of the data. We establish asymptotic properties, including a central limit theorem for the mean function and uniform convergence rates. Applications to longitudinal fruit fly behavior and flight paths demonstrate that RFPCA outperforms unrestricted linear methods in trajectory recovery and prediction.
Introduction
In classical Functional Data Analysis, observations are typically treated as points in a high-dimensional Euclidean space. However, many modern datasets consist of trajectories constrained to non-Euclidean geometries. For instance, flight paths are constrained to the surface of the Earth (a sphere), and compositional data—proportions that must sum to one—reside on a simplex. Applying standard linear PCA to such data often yields "extrinsic" results that violate geometric constraints, such as an average flight path that passes through the Earth's interior.
The Geometric Challenge
The primary difficulty in analyzing manifold-valued functional data is the lack of a global linear structure. Linear operations like addition and scalar multiplication are not well-defined on curved surfaces. To address this, we require an "intrinsic" approach that operates within the manifold's geometry. This paper proposes Riemannian Functional Principal Component Analysis (RFPCA) to provide a theoretically rigorous and computationally efficient solution.
Riemannian Functional PCA (RFPCA)
The RFPCA framework utilizes a four-step "map-analyze-unmap" procedure to perform dimension reduction while preserving geometric integrity.
- Fréchet Mean Estimation: Instead of a standard arithmetic mean, we compute the intrinsic Fréchet mean trajectory, which minimizes the sum of squared geodesic distances to the observed trajectories.
- Tangent Space Mapping (Logarithm Map): At each time point, the manifold-valued data is mapped to a tangent space centered at the mean trajectory using the Riemannian logarithm map. This process "flattens" the local geometry into a linear space.
- Functional PCA: Standard FPCA is performed on the transformed data in the tangent space to identify the principal modes of variation.
- Manifold Projection (Exponential Map): The resulting eigenfunctions and reconstructed trajectories are mapped back to the original manifold using the Riemannian exponential map.
This approach is particularly powerful for manifolds with non-negative curvature, such as spheres, where the tangent space approximation provides a reliable upper bound on residual variances.
Empirical Applications
Longitudinal Compositional Data
A novel contribution of this work is the analysis of compositional data through a spherical lens. By applying a square-root transformation to behavioral proportions (e.g., time spent feeding, flying, or resting), the data is mapped onto a quadrant of a sphere. This allows RFPCA to handle "zero" values—common in behavioral studies—more robustly than traditional log-ratio methods. In a study of 106 fruit flies, RFPCA explained 81.7% of the variation with five components, outperforming linear FPCA (77.3%).
Global Flight Trajectories
The method was also applied to 969 commercial flight paths from Hong Kong to London. RFPCA-derived scores were used to classify flights by airline. Using a Support Vector Machine (SVM), the RFPCA framework achieved significantly higher classification accuracy than linear methods, demonstrating its superior ability to capture the essential features of spherical trajectories.
Theoretical Contributions
Beyond its practical utility, this paper provides the first comprehensive asymptotic theory for RFPCA. We prove that as the number of trajectories $n$ increases, the estimates for the mean function and eigenfunctions converge to their true values at a rate of $\sqrt{n}$. We also derive a central limit theorem for the mean function, providing a statistical foundation for inference on manifolds.
Conclusion
RFPCA offers a robust and theoretically sound framework for the analysis of functional data on Riemannian manifolds. By respecting the intrinsic geometry of the data, it provides more parsimonious representations and better predictive performance than traditional Euclidean methods. Future work will explore "manifold learning" techniques to apply RFPCA when the underlying geometry is not known a priori.
Summary updated