Association and Independence Test for Random Objects

Hang Zhou, Hans‐Georg MüllerarXiv 2025 · DOI

TL;DR

This paper introduces a unified statistical framework for quantifying association and testing independence between complex "random objects"—such as networks, covariance matrices, or probability distributions—that live in general metric spaces. By leveraging 1D "distance profiles" and connecting them to the classic Hoeffding's D statistic, the authors develop a powerful permutation test that outperforms existing methods and successfully extends to testing conditional independence given Euclidean covariates.

What Problem Does This Paper Address?

Traditional statistics relies heavily on linear operations (like addition and inner products) that are native to Euclidean spaces. However, modern scientific data is increasingly complex and non-Euclidean. Examples include brain connectivity networks (covariance matrices), phylogenetic trees, or age-at-death distributions. These complex data types are broadly referred to as "random objects."

Because you cannot simply add or multiply these objects in a standard way, classical measures of dependence (like Pearson or Spearman correlation) don't apply. While some distance-based methods exist (like the energy test or ball divergence), they can struggle with complex, non-linear dependencies or lack complete theoretical frameworks for conditional testing. The authors tackle the challenge of creating a robust, intrinsic way to measure and test both marginal and conditional independence for these complex objects using only the pairwise distances between them.

Methods

The authors build their framework on distance profiles. Instead of relying on coordinates, a distance profile is a 1D cumulative distribution function representing the probability of the distance between a random object and a fixed reference point.

Key methodological contributions include:

  • Profile Association: The authors extend Hoeffding’s D statistic (originally designed for scalar random variables) to these distance profiles. This creates a measure that is exactly 0 if the objects are independent, and non-zero if they are dependent.
  • Profile Independence Test: To estimate this association from data, they use a U-statistic. Because the asymptotic distribution of this statistic under the null hypothesis is complex (a "degenerate" U-statistic), they implement a half-permutation test to generate reliable p-values, rigorously proving its consistency and statistical power.
  • Conditional Independence: They extend the framework to test if two random objects $X$ and $Y$ are independent given a third Euclidean variable $Z$ (e.g., time or age). They achieve this by using local linear smoothing (nonparametric regression) to estimate conditional distance profiles.

Datasets

The authors evaluated their methods on both synthetic and real-world datasets:

  • Simulations: Synthetic data generated across various spaces, including Euclidean ($\mathbb{R}^p$), spheres ($\mathbb{S}^p$), symmetric positive definite matrices ($\mathcal{S}_{++}^p$), and the 2-Wasserstein space of 1D distributions ($\mathbb{W}_2$).
  • fMRI Brain Connectivity: Data from the Human Connectome Project (HCP) 1200 Subjects Data Release. They extracted $9 \times 9$ and $18 \times 18$ brain connectivity matrices to compare resting-state vs. task-evoked states (e.g., toe squeezing, tongue movement).
  • Human Mortality Data: Data from the Human Mortality Database, consisting of smooth age-at-death density distributions for males and females across 33 countries spanning 35 years (1983–2018).

Key Insights and Ideas

  • The Factorization Property: The authors prove a fundamental result: the independence of highly complex random objects can be perfectly captured by the independence of their 1D distance profiles. This effectively reduces a mind-bending infinite-dimensional problem into a much simpler 2D vector problem.
  • Precise Maximal Dependence: Many modern correlation measures max out at 1 for any strict mathematical function (e.g., $Y = X^2$). In contrast, the proposed profile association uniquely identifies $Y = X$ (almost surely) as the absolute maximum form of dependence when the objects share the same metric space. This allows researchers to distinguish varying degrees of strong dependence.
  • Tracking Dynamics over Time: The conditional framework allows researchers to track how the dependence between two complex objects evolves over a continuous variable. For instance, it can quantify exactly how the relationship between male and female mortality distributions changes year by year.

Key Results

  • Superior Simulation Power: The proposed profile independence test consistently matched or outperformed existing methods (energy test, ball divergence test, and Chatterjee's rank test). It was particularly dominant in non-Euclidean spaces (like covariance matrices and Wasserstein spaces) and under complex non-linear dependencies (e.g., logarithmic or circular relationships).
  • fMRI Sensitivity: In the brain imaging data, the proposed test successfully detected dependence between resting-state and task-evoked (toe squeezing) brain connectivity matrices across all tested geometric metrics. In contrast, the standard energy test failed to detect this dependence under several specific metrics (like the Affine Invariant Riemannian Metric).
  • Decoupling Mortality: Using the conditional test on the mortality data, the authors discovered a steady downward trend in the association between male and female age-at-death distributions over the last 25 years, particularly in Western/Asian countries. This suggests that male and female mortality patterns are becoming increasingly decoupled over time.

Limitations and Future Work

  • Curse of Dimensionality: The conditional independence test currently focuses on univariate continuous Euclidean covariates (like time). Extending the smoothing techniques to high-dimensional covariates could suffer from the curse of dimensionality, though the authors suggest single-index Fréchet regression as a potential workaround.
  • Future Work in Causal Inference: The authors highlight a highly promising future direction: applying this framework to causal inference for random objects. Specifically, they propose using conditional profile association to extend the "law of total covariance" to non-Euclidean spaces. This would allow researchers to separate the confounding effect of a variable $Z$ from the true, direct association between complex objects $X$ and $Y$.

Summary updated

BibTeX
@misc{zhou2025association,
  author = {Hang Zhou and Hans‐Georg Müller},
  title = {{Association and Independence Test for Random Objects}},
  year = {2025},
  eprint = {2505.01983},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.01983},
  howpublished = {arXiv},
}
Figure