Kernel-based Joint Independence Tests for Multivariate Stationary and Non-stationary Time Series

Zhaolu Liu, Robert L. Peach, Felix Laumann, Sara Vallejo Mengod, Mauricio Barahona · DOI

Abstract

Multivariate time series data that capture the temporal evolution of interconnected systems are ubiquitous in diverse areas. Understanding the complex relationships and potential dependencies among co-observed variables is crucial for the accurate statistical modelling and analysis of such systems. Here, we introduce kernel-based statistical tests of joint independence in multivariate time series by extending the $d$-variable Hilbert-Schmidt independence criterion (dHSIC) to encompass both stationary and non-stationary processes, thus allowing broader real-world applications. By leveraging resampling techniques tailored for both single- and multiple-realisation time series, we show how the method robustly uncovers significant higher-order dependencies in synthetic examples, including frequency mixing data and logic gates, as well as real-world climate, neuroscience, and socioeconomic data. Our method adds to the mathematical toolbox for the analysis of multivariate time series and can aid in uncovering high-order interactions in data.

Introduction

In fields ranging from climate science to neuroscience, researchers often need to determine if a set of variables are "jointly independent"—meaning no subset of variables depends on another. While foundational to methods like ANOVA and causal discovery, testing for joint independence is notoriously difficult for time series data, where observations are temporally correlated. Traditional tools like the Hilbert-Schmidt Independence Criterion (HSIC) were designed for independent and identically distributed (iid) data; applying them directly to time series often leads to false positives or missed complex interactions.

This paper introduces a robust framework that extends the $d$-variable HSIC (dHSIC) to the temporal domain. By employing specialized resampling techniques, the authors provide a non-parametric tool capable of uncovering "emergent" higher-order dependencies—complex interactions where variables may appear pairwise independent but are jointly dependent—across both stationary and non-stationary data.

Methodology

The core of the approach is the adaptation of the dHSIC statistic, which measures the distance between a joint distribution and the product of its marginals within a Reproducing Kernel Hilbert Space (RKHS). To account for temporal structure, the authors introduce two primary resampling strategies to generate null distributions:

  1. Random Shifting (for single-realization stationary series): When only one long recording of each variable is available, the dependence between variables is "broken" by randomly shifting each series in time (using circular wrapping). This preserves the internal temporal structure of each variable while destroying cross-variable correlations.
  2. Random Permutation (for multiple-realization series): If multiple independent recordings (e.g., trials from different subjects) are available, the realizations for each variable are shuffled. This method is particularly powerful as it does not require stationarity, allowing for the analysis of data with trends or seasonal changes.
Random shifting procedure for generating null samples in single-realization stationary time series.

Key Results and Synthetic Validation

The method's efficacy was validated using several synthetic models, including linear and non-linear 3-way dependence models. A critical test case involved "Pure 3-way" models, where any two variables are independent, but all three together are perfectly dependent (similar to a 3-way XOR gate).

As shown in the performance benchmarks, the dHSIC test reaches full statistical power even with relatively short time series ($T=600$) or a moderate number of realizations ($n=40$). Crucially, the test correctly identifies higher-order dependencies that pairwise tests would miss, while maintaining a controlled Type I error rate (false positive rate) near the significance level $\alpha$ even in the presence of strong temporal autocorrelation.

Performance of the dHSIC test on synthetic models: (A) 3-way dependence, (B) pure 3-way dependence, and (C) independent series.

Real-World Applications

The authors demonstrated the utility of their framework across diverse domains:

  • Neuroscience: In longitudinal MRI data tracking Alzheimer's progression, the test revealed that "Estimated Total Intracranial Volume" (eTIV) participates in significant 3-way and 4-way joint dependencies with Age and Brain Volume, despite appearing pairwise independent of them.
  • Socioeconomics: Analyzing United Nations’ Sustainable Development Goals (SDGs), the study found that lower-income countries exhibit more complex, high-order dependencies between development goals compared to high-income countries, where simpler pairwise relationships predominate.
  • Climate Science: The method successfully identified joint dependencies between PM2.5 air quality levels and various meteorological factors in Beijing.

Discussion and Future Work

A major insight from this work is the ability to detect "first-time rejections"—identifying a set of $d$ variables as dependent even when every subset passes an independence test. This is vital for identifying synergistic behaviors in complex systems. Furthermore, by utilizing the permutation method, the framework bypasses the restrictive requirement of stationarity, making it applicable to real-world data with trends.

While powerful, the method's computational complexity scales at $O(dT^2)$ or $O(dn^2)$, which may be challenging for extremely large datasets. Future research may explore specialized kernels, such as signature kernels, to better capture specific temporal structures. While this is an independence test rather than a causality test, it serves as a critical precursor for more advanced causal discovery in multivariate time series.

Summary updated

BibTeX
@inproceedings{liu2023kernel,
  author = {Zhaolu Liu and Robert L. Peach and Felix Laumann and Sara Vallejo Mengod and Mauricio Barahona},
  title = {{Kernel-based Joint Independence Tests for Multivariate Stationary and Non-stationary Time Series}},
  booktitle = {Royal},
  year = {2023},
  doi = {10.1098/rsos.230857},
}
Figure