Causal Discovery via Conditional Independence Testing with Proxy Variables

Mingzhou Liu, Xinwei Sun, Yu Qiao, Yizhou Wang

Introduction

Distinguishing true causation from mere correlation remains a fundamental challenge in data science, particularly when dealing with incomplete information. In observational studies across fields like healthcare and economics, researchers frequently encounter "unobserved confounders"—hidden variables that influence both the potential cause ($X$) and the effect ($Y$). When these confounders are ignored, standard conditional independence tests fail, often leading to the discovery of spurious correlations.

To mitigate this, researchers utilize proxy variables ($W$), which are observable, noisy reflections of the hidden confounder ($U$). For instance, blood pressure might serve as a proxy for a patient's unobserved general health status. However, existing proxy-based causal discovery methods have been constrained: they either apply exclusively to discrete/categorical data or rely on strict parametric assumptions (e.g., assuming linear relationships). This paper introduces a novel, non-parametric hypothesis-testing procedure that effectively identifies causal relationships between continuous variables without relying on rigid functional forms.

Methodology: The Power of Discretization

The core innovation of this paper lies in a strategic approach to discretization. While binning continuous data is often viewed as a compromise that discards information, the authors demonstrate that precise discretization can transform a complex, non-parametric continuous problem into a solvable linear algebra equation.

The proposed procedure involves several key steps:

  1. Rank-Preserving Discretization: The authors introduce an algorithm that carefully searches for specific bin boundaries for $X$ and the proxy $W$. This ensures the resulting probability matrices maintain "full rank," a mathematical necessity for making the causal relationship identifiable.
  2. The Linear Bridge: The paper proves that under the causal null hypothesis (i.e., no causal link exists between $X$ and $Y$), the relationship between the discretized variables can be expressed as a linear equation. Remarkably, this holds true even if the underlying continuous relationship is highly non-linear.
  3. The Test Statistic: The method calculates the "residue" of a linear regression performed on these discretized probabilities. If this residue deviates significantly from zero, the null hypothesis is rejected, providing strong evidence of a true causal connection.

This approach relies on two primary assumptions: Completeness (the proxy $W$ must be sufficiently sensitive to changes in the hidden confounder $U$) and Total Variation (TV) Smoothness (small shifts in $U$ should not cause erratic jumps in the distribution of $Y$).

Experimental Validation

The authors rigorously validated their hypothesis-testing procedure using both synthetic and real-world datasets.

Synthetic Data Performance

Using Additive Noise Models (ANM), the researchers generated datasets with complex non-linear functions (e.g., tanh, sin, sigmoid) and various noise distributions. The proposed method successfully maintained a Type I error rate (false positives) near the target 0.05 significance level. In stark contrast, baseline methods like Kernel Conditional Independence (KCI) and Independent Component Analysis-based methods (ICM) exhibited error rates as high as 0.60 to 1.0, frequently "hallucinating" causal links when only a hidden confounder was present. The method also proved robust across different non-linearities, outperforming baselines designed primarily for discrete data.

Real-World Clinical Accuracy

The method was further tested on the MIMIC-III database, a large collection of electronic health records from ICU patients. The study examined the effects of specific medications (Vancomycin and Morphine) on White Blood Cell (WBC) counts, utilizing blood pressure as a proxy for the patient's hidden health status.

Standard methods erroneously suggested that Morphine causes changes in WBC counts. However, clinical Randomized Controlled Trials (RCTs)—the gold standard in medicine—indicate this correlation is spurious and actually driven by the patient's underlying health ($U$). The proposed method was the only approach that correctly adjusted for the proxy, accurately identifying Vancomycin as causal and Morphine as non-causal, aligning perfectly with established clinical knowledge.

Limitations and Future Directions

While highly effective, the authors note a few limitations to their approach:

  • The Curse of Dimensionality: The discretization strategy may lose statistical power if the conditional variable space is high-dimensional. Binning across many dimensions requires an exponentially larger dataset.
  • Bivariate Focus: The current test evaluates pairs of variables ($X$ and $Y$). Future work will focus on integrating this test into broader multivariate causal discovery frameworks, such as the Fast Causal Inference (FCI) algorithm, to map out comprehensive causal networks.
  • Heuristic Binning: The paper uses a heuristic ($\lfloor \log(n) \rfloor$) to determine the number of bins. Identifying the mathematically optimal number of bins for any arbitrary dataset remains an open question for future refinement.

Overall, this work provides a robust, mathematically sound bridge for non-parametric causal discovery in continuous data, offering a vital tool for researchers navigating the pervasive challenge of unobserved confounding.

Summary updated

Abstract

Distinguishing causal connections from correlations is important in many scenarios. However, the presence of unobserved variables, such as the latent confounder, can introduce bias in conditional independence testing commonly employed in constraint-based causal discovery for identifying causal relations. To address this issue, existing methods introduced proxy variables to adjust for the bias caused by unobserveness. However, these methods were either limited to categorical variables or relied on strong parametric assumptions for identification. In this paper, we propose a novel hypothesis-testing procedure that can effectively examine the existence of the causal relationship over continuous variables, without any parametric constraint. Our procedure is based on discretization, which under completeness conditions, is able to asymptotically establish a linear equation whose coefficient vector is identifiable under the causal null hypothesis. Based on this, we introduce our test statistic and demonstrate its asymptotic level and power. We validate the effectiveness of our procedure using both synthetic and real-world data.
BibTeX
@inproceedings{liu2024causal,
  author = {Mingzhou Liu and Xinwei Sun and Yu QIAO and Yizhou Wang},
  title = {{Causal Discovery via Conditional Independence Testing with Proxy Variables}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=l1YbS3qkdk},
}
Figure