PHSIC against Random Consistency and Its Application in Causal Inference

Jue Li, Yuhua Qian, Jieting Wang, Saixiong LiuIJCAI 2024

Abstract

The Hilbert-Schmidt Independence Criterion (HSIC) based on kernel functions is capable of detecting nonlinear dependencies between variables, making it a common method for association relationship mining. However, in situations with small samples, high dimensions, or noisy data, it may generate spurious associations, causing two unrelated variables to have certain scores. To address this issue, we propose a novel criterion, named as Pure Hilbert-Schmidt Independence Criterion (PHSIC). PHSIC is achieved by subtracting the mean HSIC obtained under random conditions from the original HSIC value. We demonstrate three significant advantages of PHSIC through theoretical and simulation experiments: (1) PHSIC has a baseline of zero, enhancing the interpretability of HSIC. (2) Compared to HSIC, PHSIC exhibits lower bias. (3) PHSIC enables a fairer comparison across different samples and dimensions. To validate the effectiveness of PHSIC, we apply it to multiple causal inference tasks to measure the independence between cause and residual. Experimental results demonstrate that the causal model based on PHSIC performs well compared to other methods in scenarios involving small sample sizes and noisy data, both in real and simulated datasets.

Introduction

In data science, determining if two variables are independent is a fundamental task. The Hilbert-Schmidt Independence Criterion (HSIC) has become a go-to method because it can detect complex, nonlinear dependencies that simple correlation coefficients miss. However, HSIC suffers from a "random consistency" problem. In scenarios with small sample sizes, high-dimensional data, or significant noise, HSIC often produces a non-zero score even for completely unrelated variables. This lack of a zero baseline makes it difficult to interpret: a non-zero score might represent a real relationship or merely statistical noise.

Standard HSIC scores showing non-zero baselines across varying noise levels and dimensions

This issue is particularly acute in causal inference, where researchers determine the direction of causality (e.g., $X \to Y$ vs. $Y \to X$) by checking if residuals are independent of the cause. A biased independence test directly leads to incorrect causal conclusions.

Methods

The proposed Pure HSIC (PHSIC) addresses these limitations by subtracting the expected value of HSIC under the null distribution (where variables are truly independent) from the empirical HSIC value. This "debiasing" ensures that the expected value of PHSIC for independent variables is exactly zero. Theoretically, while standard HSIC has an error order of $O(m^{-1})$, PHSIC achieves a tighter error order of $O(m^{-2})$ in independent cases, where $m$ is the sample size.

Results

PHSIC was evaluated using both simulated and real-world datasets (e.g., Abalone, environmental, and economic data) across several causal models like ANM, KIKO, and HANM. A key finding is that PHSIC corrects for "dimension deviation"—the tendency of standard HSIC scores to increase with dimensionality even for independent pairs.

Causal inference accuracy of PHSIC compared to other independence criteria across sample sizes

Experimental results demonstrate that PHSIC maintains significantly higher accuracy (often 10-20% higher than HSIC or entropy-based methods) when sample sizes are small (e.g., $n=100$). Furthermore, PHSIC demonstrates superior robustness to noise, outperforming frameworks like SHSIC in scenarios with 10% Gaussian or uniform noise. In real-world benchmarks, PHSIC-based models correctly identified causal directions in cases where standard HSIC failed.

Conclusion

PHSIC provides a more interpretable and robust metric for independence testing by enforcing a zero baseline. Its application to causal inference shows marked improvements in accuracy, particularly in data-sparse and noisy environments. Future research will focus on reducing the $O(m^2)$ computational complexity for large-scale datasets and exploring its utility as a regularization term in deep learning architectures.

Summary updated

BibTeX
@inproceedings{li2024phsic,
  author = {Jue Li and Yuhua Qian and Jieting Wang and Saixiong Liu},
  title = {{PHSIC against Random Consistency and Its Application in Causal Inference}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=NnvgwXdJDf},
}
Figure