On Testing Conditional Mean Independence for Manifold-Valued Data

Meiling Zeng, Jinhong You, Jicai Liu, Shouxia WangICML 2026

Introduction

In modern data science, researchers frequently encounter "random objects" that do not reside in flat, Euclidean spaces. Examples include wind directions (points on a sphere), brain connectivity matrices (Symmetric Positive Definite matrices), or even probability distributions themselves. These complex data types reside on manifolds.

When building regression models for these objects, a fundamental question arises: Does a Euclidean predictor $X$ actually affect the mean of the manifold-valued response $Y$? Existing tools, such as Distance Covariance (dCov), are "omnibus" tests designed to detect any kind of statistical dependence. Consequently, if $X$ changes the spread (variance) of $Y$ but not its average (mean), dCov will still reject the null hypothesis. In a regression context, this leads to inflated Type I errors—falsely indicating a mean relationship where none exists.

To address this, researchers have introduced the Manifold Martingale Difference Divergence (MMDD), a novel nonparametric test specifically designed to isolate and test for conditional mean independence, preventing false positives caused by variance fluctuations.

Methodology: The MMDD Framework

The core innovation of this paper bridges manifold geometry and classical statistics to isolate the conditional mean. The MMDD framework operates through two primary steps:

  1. Tangent Space Projection: Because manifolds are "locally flat," the authors utilize the logarithmic map to project observations from the manifold onto a Euclidean tangent space centered at the Fréchet mean (the manifold equivalent of an average). By doing so, they avoid the distortion that occurs when attempting to "flatten" the entire manifold.
  2. Kernel-Weighted Measure: Once the data is projected into the tangent space, a kernel-based measure ($K(X - X')$) is applied to quantify dependence. This allows the test to detect both linear and complex non-linear relationships without assuming a specific functional form.

To make the test practical for real-world applications, the authors provide an empirical estimator for MMDD and establish its asymptotic null distribution. Furthermore, they implement a Wild Bootstrap procedure to calculate p-values. This approach has a computational complexity of $O(n^2 + B \cdot n)$, making it significantly faster and more scalable than the permutation tests typically used in this field, which scale at $O(n^2 + n_{perm} \cdot n^2)$.

Experimental Validation

The authors validated the MMDD test using both synthetic simulations and real-world datasets.

Simulated Manifolds: The test was evaluated on three distinct geometric structures:

  • The Sphere ($S^2$): Representing directional data.
  • Wasserstein Space ($W_2(\mathbb{R})$): Representing the space of Gaussian distributions.
  • SPD Matrices ($P_d$): Representing symmetric positive definite matrices, which are common in medical imaging.

Real-World Application: The method was applied to a NOAA Wind Direction dataset containing observations from 118 U.S. international airports. Covariates included geographic coordinates, elevation, and various meteorological indicators like wind speed and temperature.

Key Results and Insights

  • Robustness to Variance (Surgical Precision): The defining advantage of MMDD is its ability to ignore "nuisance" dependencies. In simulations where $X$ influenced only the variance of $Y$ and not the mean, dCov’s false positive rate skyrocketed to nearly 99%. In stark contrast, MMDD maintained the correct statistical size (around 5%).
  • Statistical Power: Across all three tested manifolds, MMDD achieved highly competitive statistical power, often approaching 1.0 as the sample size increased, successfully detecting both linear and non-linear alternatives.
  • Wind Direction Insights: In the NOAA dataset, MMDD correctly prioritized geographic factors (latitude, longitude, and elevation) as the primary drivers of the average wind direction. Conversely, dCov ranked wind speed indicators higher because they strongly influence the variability of the wind direction, even though they do not shift the average.

Limitations and Future Directions

While MMDD provides a robust tool for conditional mean testing, the authors note several avenues for future research:

  • Conditional Quantiles: Testing the mean is vital, but it does not capture the entire distribution. Extending the MMDD framework to test conditional quantile independence (e.g., assessing if $X$ affects the median or the tails of $Y$) would provide a more holistic view of dependence.
  • Kernel Selection: The test's performance relies on the choice of the kernel $K$ and its bandwidth. While standard Gaussian and Laplace kernels were used effectively, further research into optimal kernel selection tailored to specific manifold geometries could yield improvements.
  • High-Dimensional Responses: The current study primarily focuses on responses $Y$ on relatively low-dimensional manifolds. Adapting and testing this framework on extremely high-dimensional manifolds, such as complex 3D shapes or high-resolution images, remains an open challenge.

Summary updated

BibTeX
@inproceedings{zeng2026testing,
  author = {Meiling Zeng and Jinhong You and Jicai Liu and Shouxia Wang},
  title = {{On Testing Conditional Mean Independence for Manifold-Valued Data}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=AF3GJXoAVe},
}
Figure