A Kernel Test for Three-Variable Interactions with Random Processes

Paul K. Rubenstein, Kacper Chwialkowski, Arthur GrettonUAI 2016

Abstract

Detecting dependencies in time series data is challenging due to inherent temporal structures that violate the independent and identically distributed (i.i.d.) assumption of standard statistical tests. This paper introduces a novel nonparametric test for three-variable interactions by combining the Lancaster interaction measure with a wild bootstrap technique. This approach effectively identifies joint dependencies—where variables exert influence only when combined—while maintaining a stable false-positive rate in the presence of temporal "memory."

Introduction

Most statistical independence tests rely on the assumption that data points are independent and identically distributed. However, in real-world domains such as finance, medicine, and signal processing, data often takes the form of time series where current values are influenced by previous ones. Applying standard permutation tests to such data destroys this temporal structure, leading to a significant increase in Type I errors (false positives). Furthermore, existing tests for time series often focus on pairwise relationships, failing to capture higher-order interactions where individual variables may appear independent but exert a strong joint influence.

Methodology

The proposed test relies on two primary components:

  1. The Lancaster Interaction Measure: This mathematical framework captures deviations of a joint distribution $P(X, Y, Z)$ from various factorizations. Unlike the Hilbert-Schmidt Independence Criterion (HSIC), which is often more sensitive to pairwise correlations, the Lancaster measure is specifically designed to detect "joint" interactions where individual variables may appear independent but their combination is informative.
  2. The Wild Bootstrap: To simulate the null hypothesis without destroying temporal dependence, the authors employ a wild bootstrap. This method multiplies the data by random noise that mimics the original process's temporal structure, unlike permutation which shuffles observations and breaks the "memory" of the series.

A significant theoretical contribution of this work is a simplified proof of the Lancaster statistic's compatibility with the wild bootstrap using Hilbert space geometry. This approach avoids the algebraic complexity of previous methods and offers a scalable framework for higher-order interaction tests.

Experimental Results

Reliability and False Positives

The primary advantage of the wild bootstrap is its ability to handle temporal dependence. In experiments using synthetic autoregressive processes, the standard permutation bootstrap failed as the dependence coefficient (the "memory" of the process) increased, with the Type I error rate skyrocketing to nearly 80%. In contrast, the wild bootstrap maintained the desired 5% error bound.

The wild bootstrap (red) controls the false positive rate, while the permutation bootstrap (yellow) fails as temporal dependence increases.

Sensitivity and Power

The Lancaster test excels in detecting "XOR-like" interactions where individual variables have weak influence but their joint effect is strong. In scenarios where $X$ and $Y$ are independent but their product influences $Z$, the Lancaster test reached a statistical power of nearly 1.0 much faster than the 3-way HSIC alternative.

The Lancaster test demonstrates superior power over 3-way HSIC when pairwise interactions are weak but joint interaction is strong.

The authors also validated their method using real-world FOREX exchange rate data (GBP, USD, EUR). The test correctly identified known financial dependencies and successfully detected when those dependencies were broken by shifting the time series.

Conclusion

By integrating the Lancaster interaction measure with the wild bootstrap, the authors provide a robust tool for detecting complex interactions in time series data. This method avoids the pitfalls of permutation-based tests in the presence of temporal dependence and offers a mathematically elegant path toward testing higher-order variable interactions. Future research will focus on characterizing the specific dependency types to which the Lancaster statistic is most sensitive and extending the framework to four or more variables.

Summary updated

BibTeX
@inproceedings{rubenstein2016kernel,
  author = {Paul K. Rubenstein and Kacper Chwialkowski and Arthur Gretton},
  title = {{A Kernel Test for Three-Variable Interactions with Random Processes}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2016},
  url = {https://openreview.net/forum?id=frm9v2hpF8i},
}
Figure