TL;DR
How do you calculate the correlation between two variables when your data lives on a curved surface—like weather patterns on a globe, brain connectivity matrices, or 3D anatomical shapes—where standard vector subtraction breaks down? Previous attempts depend awkwardly on where you stand on the surface to take your measurement. This paper introduces an intrinsic Riemannian covariance and correlation that uses parallel transport to slide local variations into a shared space, giving us a rock-solid, coordinate-free way to measure dependence on curved manifolds.
What Problem Does This Paper Address?
In flat, Euclidean space, computing covariance is Statistics 101: find the mean of $X$, find the mean of $Y$, subtract the means from your data points, and take the expected outer product of those differences. This works because flat space is a vector space—arrows at one location can be directly compared to arrows anywhere else.
Modern machine learning, however, increasingly deals with data residing on nonlinear Riemannian manifolds (smooth, curved spaces). Think of directional data on a sphere, symmetric positive definite (SPD) matrices in brain imaging, or biological contours in shape space. On a curved surface, you cannot simply subtract two points. Instead, statisticians compute the Fréchet mean (the curved-space center of mass) and project data onto a flat tangent space—like laying a flat sheet of paper against a globe at a single point—using a tool called the logarithmic map.
Here is the catch: if random variable $X$ is centered around Tokyo and $Y$ is centered around New York, their local variations live on two completely different tangent planes. You can't multiply vectors from different planes! Recent work (Abuqrais and Pigoli, 2026, or "A&P") tried to fix this by picking a single compromise "footpoint" (say, the midpoint between Tokyo and New York) and projecting both datasets onto the tangent plane there. However, curved geometry distorts distances when you project far from the true mean. Worse, your covariance answer changes depending on which footpoint you pick, and both datasets are forced to live in the same local neighborhood.
Methods
To build a truly intrinsic cross-covariance, the authors stop forcing both datasets onto an arbitrary compromise tangent plane. Instead, they let each dataset speak in its own native geometry first:
- Map locally: Map $X$ to the tangent space at its own Fréchet mean ($\mu$), and map $Y$ to the tangent space at its own Fréchet mean ($\nu$). Because these vectors originate at their true means, their lengths faithfully preserve geodesic distances on the manifold.
- Slide via Parallel Transport: Draw the shortest path (a geodesic) connecting $\mu$ and $\nu$. Pick any point $p$ along that path, and use parallel transport—a standard differential geometry operation that slides tangent vectors along a curve without twisting or stretching them—to move both sets of tangent vectors into the common tangent space at $p$.
- Compute Covariance & Correlation: Once both sets of variations live in the same vector space at $p$, take their expected outer product to get the cross-covariance matrix $\Sigma_{X,Y}(p)$. Taking the trace of this matrix gives a scalar Riemannian covariance, which is then normalized by the marginal variances to yield a Riemannian correlation bounded cleanly in $[-1, 1]$.
What is novel here is marrying each variable's exact local log-map with isometric parallel transport, accompanied by proofs of strong consistency and $\sqrt{n}$-asymptotic normality (a Central Limit Theorem for curved cross-covariance) for sample plug-in estimators.
Datasets
The authors test their estimators on two synthetic manifold setups and one clinical dataset (no new benchmarks are introduced):
- Synthetic Unit Sphere ($\mathbb{S}^2$): Positively curved directional data generated by sampling uniformly, rotating, adding noise, and transporting points across the sphere.
- Synthetic SPD Matrices ($\mathcal{P}_d$): $3 \times 3$ symmetric positive definite matrices equipped with the Affine Invariant Riemannian Metric, serving as a testbed for non-positive, non-constant curvature.
- Sunnybrook Cardiac MRI Dataset: Real-world 2D cine MRI scans across four clinical groups: Normal ($n=9$), Hypertrophy ($n=12$), Heart failure without infarction (
HF-infarct, $n=12$), and Heart failure with infarction (HF+infarct, $n=12$). Heart contours (inner endocardium and outer epicardium walls of the left ventricle) are mapped as landmarks into Kendall's shape space ($\mathbb{C}P^{k-2}$).
Key Insights and Ideas
- True Footpoint Invariance: Because parallel transport is an isometry (it preserves inner products and lengths), the trace of the proposed cross-covariance is mathematically identical no matter which point $p$ you choose along the geodesic. In contrast, the A&P method bows into an artificial curve as you move the evaluation point.
- Curvature Dictates Bias in Naive Projections: Projecting data onto a tangent plane away from its own mean warps its spread. On positively curved spheres, the A&P midpoint method overestimates variance; on negatively curved SPD manifolds, the log-map contracts distances and underestimates variance and covariance. Evaluating each variable at its own mean first eliminates this geometric distortion entirely.
- Why Manifold CCA Can Fail: In small-sample, high-dimensional shape spaces, Canonical Correlation Analysis (CCA) looks for subspaces that align maximally. If the sum of the subspace dimensions exceeds the ambient space dimension, they inevitably intersect—causing CCA to trivially output a correlation of $1$ regardless of actual biological coupling.
Key Results
- Sphere & SPD Simulations: On the sphere, as sample sizes grow from $2^4$ to $2^{12}$, the proposed variance estimator matches the true Fréchet variance exactly, whereas A&P systematically overshoots both variance and covariance. On the SPD manifold, the proposed correlation stays rock-steady across 21 geodesic evaluation points ($SE \approx 0.008$) compared to heavy drift in A&P ($SE \approx 0.15$). Noticeably, while A&P underestimates SPD variance and covariance by nearly identical ratios ($0.961$ and $0.960$), those biases happen to cancel out in the correlation ratio!
- Cardiac Shape Coupling: Measuring the structural correlation between the inner and outer walls of the left ventricle in Kendall's shape space yielded clinically grounded results (while CCA returned
1for every group): - HF-infarct ($0.846$): Highest correlation, matching medical literature showing amyloid infiltration thickens the heart wall uniformly, preserving inner-outer symmetry.
- HF+infarct ($0.659$) and Normal ($0.637$): Moderate-to-strong structural coupling.
- Hypertrophy ($0.393$): Lowest correlation (and $-0.070$ in preshape space), capturing how hypertrophic cardiomyopathy makes the inner wall chaotic and irregular while the outer wall stays smooth, breaking geometric symmetry.
Limitations and Future Work
- Geodesic Uniqueness Requirements: To guarantee unique Fréchet means and a unique geodesic for parallel transport, each dataset must live within a sufficiently small geodesic ball, and the two means cannot be too far apart (e.g., they cannot be exact antipodes like the North and South poles on a sphere, where infinitely many shortest paths exist).
- Entry-wise Interpretation: Unlike a standard Euclidean correlation matrix, the diagonal entries of the proposed matrix $\varrho_{X,Y}(p)$ do not represent component-wise correlations between specific basis coordinates; normalizing entry-by-entry would break the guarantee that the overall trace correlation stays within $[-1, 1]$.
- Future Directions: The authors suggest using this second-order foundation to build intrinsic manifold versions of regression and Principal Component Analysis (PCA), and extending the framework to Lie groups by replacing tangent spaces and Riemannian log-maps with Lie algebras and group logarithms.
Summary updated