[Paper Review] Fast Conditional Independence Test for Vector Variables with Large Sample Sizes
This paper introduces the Fast (Conditional) Independence Test (FIT), a nonparametric method that uses decision tree regression to efficiently test conditional independence in high-dimensional vector data with large sample sizes. FIT achieves significantly faster computation than existing kernel-based and permutation-based methods while maintaining low Type I and Type II error rates, especially as sample size increases, making it ideal for causal discovery in large-scale datasets like genomics or neuroimaging.
We present and evaluate the Fast (conditional) Independence Test (FIT) -- a nonparametric conditional independence test. The test is based on the idea that when $P(X \mid Y, Z) = P(X \mid Y)$, $Z$ is not useful as a feature to predict $X$, as long as $Y$ is also a regressor. On the contrary, if $P(X \mid Y, Z) eq P(X \mid Y)$, $Z$ might improve prediction results. FIT applies to thousand-dimensional random variables with a hundred thousand samples in a fraction of the time required by alternative methods. We provide an extensive evaluation that compares FIT to six extant nonparametric independence tests. The evaluation shows that FIT has low probability of making both Type I and Type II errors compared to other tests, especially as the number of available samples grows. Our implementation of FIT is publicly available.
Motivation & Objective
- To develop a scalable, nonparametric conditional independence test suitable for high-dimensional vector variables and large sample sizes.
- To address the computational bottleneck of existing kernel-based and permutation-based CITs in large-scale data settings.
- To evaluate FIT's performance across diverse data distributions and sample sizes, focusing on Type I and Type II error control.
- To provide a practical, publicly available tool for causal discovery and statistical inference in large datasets.
- To demonstrate that FIT maintains low error rates and fast runtime even as sample size increases, unlike some competing methods.
Proposed method
- FIT tests conditional independence by comparing the mean squared error (MSE) of two regression models: one regressing X on Y and Z, and another regressing X on Y alone.
- The method uses decision tree regression (DTR) as the underlying learner due to its computational efficiency and ability to handle high-dimensional inputs with minimal hyperparameter tuning.
- A p-value is computed by permuting the response variable X and comparing the observed MSE difference to the null distribution generated from these permutations.
- The test is designed to be nonparametric and model-agnostic, relying only on the predictive power of Z given Y to assess conditional dependence.
- FIT avoids expensive kernel matrix operations by using a fast, differentiable regression approach, enabling scalability to datasets with 100,000+ samples.
- The algorithm is implemented in Python and publicly available on GitHub for reproducibility and integration into causal discovery pipelines.
Experimental results
Research questions
- RQ1Can a nonparametric conditional independence test maintain low Type I and Type II error rates while scaling to large sample sizes and high-dimensional vector variables?
- RQ2How does FIT’s performance in terms of error control and runtime compare to six existing nonparametric CITs across diverse data distributions and sample sizes?
- RQ3Does FIT’s reliance on MSE improvement via decision tree regression remain robust under various conditional dependence structures, especially in high-dimensional settings?
- RQ4How does the behavior of FIT’s p-values change with increasing sample size, and does it maintain correct statistical properties in the asymptotic limit?
- RQ5Under what conditions should FIT be preferred over existing methods like KCIT, CHSIC, or RCIT in real-world applications?
Key findings
- FIT achieves significantly faster runtime than all six competing methods, especially on large datasets with 100,000 samples, completing tests in seconds where alternatives take minutes or hours.
- FIT maintains low Type I and Type II error rates across all tested sample sizes and data distributions, outperforming other methods as sample size increases.
- Unlike RCIT, which shows deteriorating p-value behavior (non-uniform distribution) with larger samples, FIT maintains a uniform p-value distribution under the null, indicating correct statistical properties.
- In high-dimensional settings (e.g., 128 dimensions), FIT consistently outperforms RCIT, CCI, and KCIPT in both accuracy and speed, with RCIT failing to maintain correct p-value behavior beyond 1,000 samples.
- For low-dimensional data with fewer than 1,000 samples, CHSIC and KCIT outperform FIT, suggesting a trade-off between scalability and performance in small-sample regimes.
- The authors recommend FIT as the default choice for large-scale causal discovery tasks involving high-dimensional vector variables, except in low-sample, low-dimensional settings where CHSIC or KCIT may be preferable.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.