Adaptive Multiscale Binary Expansion Tests for Independence

Yang Yang, Duo Zheng, Sandeep Jain, Kai Zhang, Ping-Shou ZhongICML 2026

Introduction

Determining whether two sets of variables are independent is a cornerstone of statistics and machine learning, essential for tasks ranging from feature selection to causal discovery. However, as datasets grow in complexity and dimensionality, traditional methods increasingly struggle. Classical approaches like the $\chi^2$ test fail when sample sizes are small relative to the number of possible categories. Modern alternatives, such as the Hilbert-Schmidt Independence Criterion (HSIC) and Distance Covariance (dCov), offer more robustness but come with their own limitations. HSIC's performance is heavily reliant on the choice of kernel, while dCov can be noisy, weighting high-frequency components in ways that obscure local or complex non-linear relationships. Furthermore, these modern methods often act as "black boxes"—they can detect that a relationship exists, but they cannot explain where it originates.

To address these challenges, this paper introduces a novel family of distribution-free independence tests for multivariate data based on binary expansion coefficients. By transforming the complex problem of independence testing into a scalable cross-covariance framework, the authors present a highly interpretable, computationally efficient method that excels at detecting non-linear and high-dimensional dependencies.

The Binary Expansion Framework

The core innovation of this paper lies in representing random variables as a sum of Bernoulli "bits" through binary expansion.

The authors first establish a foundational Equivalence Theorem, proving that two random vectors are independent if and only if the cross-covariances between all their binary expansion interaction coefficients are exactly zero. Naively, testing this is computationally prohibitive because the number of interaction coefficients grows exponentially with the dimension ($d$) and the depth of the expansion ($K$).

To overcome this, the authors derive an explicit kernel representation that reduces the computational complexity from an intractable $O(2^{dK})$ to a linear $O(dK)$. Building on this scalable foundation, they introduce two baseline tests:

  • CoBET (Covariance Binary Expansion Test), which uses identity weights.
  • dCoBET, which uses weights inspired by distance covariance.

The flagship procedure of the paper is wa-dCoBET (Weighted Aggregated dCoBET). This adaptive method uses a 10-fold Signal-to-Noise Ratio (SNR) voting scheme to automatically blend the identity and distance-based weights, allowing the test to adapt to the specific, unknown dependence structure of the data. Furthermore, unlike many modern tests that require computationally expensive permutations to calculate p-values, these tests follow a tractable asymptotic null distribution, enabling fast Gaussian calibration.

Key Insights and Advantages

  • Multiscale Adaptivity: Because binary expansions are inherently multiscale, the test can effectively "zoom in" on specific scales of interaction. By selectively truncating higher-order interactions, the framework filters out the noise that typically plagues other distance-based methods.
  • Unprecedented Interpretability: Because the test is built on specific interaction coefficients, it allows for the creation of "Pairwise Z-statistic heatmaps." These visualizations pinpoint exactly which coordinates of the variables are driving the dependence, providing a level of transparency entirely absent in standard kernel-based methods.
  • Data-Driven Weighting: The wa-dCoBET approach proves that researchers do not need to guess the optimal weighting scheme beforehand. The SNR voting mechanism ensures robust statistical power across a wide variety of signal types, whether sparse or dense, linear or non-linear.

Empirical Performance

The researchers rigorously evaluated their methods against standard benchmarks using both synthetic and real-world datasets.

In synthetic environments, data was generated using Clayton copulas with various transformations (Trigonometric, Linear, Exponential-quadratic, and Log-quadratic) to simulate diverse relationships. In these simulations, wa-dCoBET consistently matched or outperformed HSIC and dCov. Its advantages were most pronounced in high-dimensional settings ($d=10$) and complex, non-monotone scenarios (like the Log-quadratic dataset). Despite its complexity, the kernel formulation allowed the tests to run in fractions of a second, even for higher dimensions ($d=50$) and larger sample sizes ($n=1500$).

The method was also applied to a real-world dry eye disease study analyzing corneal epithelial thickness maps (measurements across 25 regions for both eyes from 189 subjects). Here, wa-dCoBET provided vastly stronger statistical evidence for between-eye dependence ($p \approx 10^{-9}$) compared to HSIC and dCov ($p \approx 10^{-4}$). It also successfully mapped the hierarchical organization of corneal thickness, revealing stronger coupling in the central regions of the eye than in the periphery.

Limitations and Future Directions

While highly effective, the framework does have limitations. The authors provide a default expansion depth ($K=4$) that works well for moderate samples, but selecting the optimal $K$ for extremely complex data requires careful consideration. They suggest data-driven SNR maximization as a potential solution. Additionally, while the test scales linearly with dimension, decomposing the global statistic into individual marginal interactions may become less feasible in ultra-high-dimensional settings.

Looking forward, the authors propose extending these binary expansion tests to new domains, highlighting causal discovery and the evaluation of Large Language Models (LLMs) as promising avenues for future research.

Summary updated

BibTeX
@inproceedings{yang2026adaptive,
  author = {Yang Yang and Duo Zheng and Sandeep Jain and Kai Zhang and Ping-Shou Zhong},
  title = {{Adaptive Multiscale Binary Expansion Tests for Independence}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=4YRxhbbvdH},
}
Figure