Toward Scalable and Valid Conditional Independence Testing with Spectral Representations
Alek Frohlich, Vladimir Kostic, Karim Lounici, Daniel Perazzo, Massimiliano Pontil
TL;DR
This work tackles scalable, nonparametric conditional independence testing by reframing CI through the partial covariance operator and learning its leading spectral features. A bi-level contrastive learning approach yields a rank-d spectral decomposition that feeds into an HSIC-like test statistic with an asymptotic chi-square null distribution, offering both validity and power guarantees. The framework adapts to diverse structural settings via representation learning, bridging kernel-based theory with modern neural methods and enabling GPU-accelerated scalability. Non-asymptotic power results depend on eigenvalue decay and representation error, with preliminary synthetic experiments indicating practical potential across high-dimensional conditioning scenarios.
Abstract
Conditional independence (CI) is central to causal inference, feature selection, and graphical modeling, yet it is untestable in many settings without additional assumptions. Existing CI tests often rely on restrictive structural conditions, limiting their validity on real-world data. Kernel methods using the partial covariance operator offer a more principled approach but suffer from limited adaptivity, slow convergence, and poor scalability. In this work, we explore whether representation learning can help address these limitations. Specifically, we focus on representations derived from the singular value decomposition of the partial covariance operator and use them to construct a simple test statistic, reminiscent of the Hilbert-Schmidt Independence Criterion (HSIC). We also introduce a practical bi-level contrastive algorithm to learn these representations. Our theory links representation learning error to test performance and establishes asymptotic validity and power guarantees. Preliminary experiments suggest that this approach offers a practical and statistically grounded path toward scalable CI testing, bridging kernel-based theory with modern representation learning.
