Introduction
Conditional Independence Testing (CIT) is a cornerstone of causal discovery and scientific inference, used to determine if two variables, $X$ and $Y$, are related only through a third variable, $Z$. However, existing non-parametric methods often face a "scalability wall." Many state-of-the-art kernel-based tests exhibit computational complexities of $O(n^2)$ or $O(n^3)$, making them prohibitively slow for modern datasets with hundreds of thousands of samples or high-dimensional vectors. This paper introduces the Fast Independence Test (FIT), a method designed to be fast, flexible, and statistically robust at scale.
Methodology
FIT reframes independence as a prediction task. The core intuition is that if $X$ and $Y$ are conditionally independent given $Z$ ($X \perp \perp Y | Z$), then knowing $X$ should not improve the prediction of $Y$ beyond what is possible using $Z$ alone.
- Regression Model: FIT utilizes Decision Tree Regression (DTR). DTR is selected for its non-parametric nature, ability to handle multi-dimensional inputs, minimal tuning requirements, and computational efficiency.
- The Test Procedure: The method trains two models: one predicting $Y$ using both $X$ and $Z$, and another using only $Z$. This process is repeated over multiple random train/test splits to generate sets of Mean Squared Errors (MSEs).
- Statistical Significance: A one-tailed t-test is performed on the resulting MSEs. If the model incorporating $X$ consistently produces significantly lower errors, the null hypothesis of independence is rejected.
This approach is naturally parallelizable, allowing it to leverage multi-core CPU architectures effectively.
Experimental Benchmarks
The authors evaluated FIT against established methods (such as CHSIC, KCIT, and RCIT) using four diverse synthetic benchmarks:
- LINGAUSS: Linear Gaussian models used as a basic sanity check.
- CHAOS: Highly non-linear, chaotic dynamical systems designed to challenge a test's ability to identify complex dependencies.
- HYBRID: A benchmark mixing continuous conditioning variables with categorical target variables.
- PNL (Post-Non-Linear): A standard causal discovery benchmark involving non-linear transformations followed by additive noise.
Key Results
- Scalability: FIT can process 100-dimensional conditional independence queries with $10^5$ samples in less than 60 seconds. Most competing methods either timed out or required significant data downsampling.
- Reliability at Scale: Evaluation reveals that while many kernel methods lose statistical power or produce high Type I errors as sample sizes grow, FIT's performance and reliability improve with more data, becoming highly consistent once sample sizes reach the $10^3$ to $10^4$ range.
Discussion and Limitations
While FIT excels in large-scale scenarios, it has specific limitations:
- Small Sample Sizes: FIT is not recommended for datasets where $N < 1000$. In these regimes, kernel-based methods like CHSIC or KCIT typically perform better as they do not rely on training a regressor.
- Variance-Only Dependencies: Because FIT relies on Mean Squared Error, it may fail to detect dependencies where $X$ affects the variance of $Y$ but not its mean (e.g., $Y \sim N(Z, X)$).
Future work may explore alternative fast regressors or specialized loss functions to address these variance-dependency limitations while maintaining the speed advantages of the FIT framework.
Summary updated