Abstract
The Hilbert-Schmidt Independence Criterion (HSIC) is a widely used non-parametric measure of independence. However, its empirical estimate is prone to "random consistency," where it yields non-zero values for independent variables, particularly in high-dimensional or small-sample settings. We propose the Pure Hilbert-Schmidt Independence Criterion (PHSIC), which corrects this bias by subtracting the expected value of the criterion under the null hypothesis. Theoretical analysis demonstrates that PHSIC achieves a zero-baseline and reduces the error order from $O(m^{-1})$ to $O(m^{-2})$. Extensive experiments on synthetic and real-world causal datasets show that PHSIC significantly improves the accuracy of causal discovery models, offering a more reliable and interpretable metric for independence testing.
Introduction
Detecting dependencies between variables is a fundamental task in machine learning and causal inference. The Hilbert-Schmidt Independence Criterion (HSIC) has emerged as a standard tool due to its ability to capture complex, nonlinear relationships without explicit modeling. Despite its popularity, HSIC suffers from a systematic bias known as random consistency. In practice, this means that for independent variables, the HSIC score is often significantly greater than zero, with the magnitude of this "noise" increasing as sample sizes decrease or dimensionality grows. This bias leads to poor interpretability and spurious associations in downstream tasks like feature selection and causal discovery.
The Random Consistency Problem
The primary issue with standard HSIC is its lack of a stable zero-baseline. When variables are independent, the empirical HSIC score should ideally be zero. However, due to the finite nature of samples and the influence of high-dimensional spaces, the score remains positive.
As illustrated in Figure 1, standard HSIC scores are highly sensitive to noise and dimensionality. This "random part" of the score makes it difficult to distinguish between true correlation and statistical artifacts, especially when comparing datasets with different characteristics.
Pure Hilbert-Schmidt Independence Criterion (PHSIC)
To mitigate these effects, we introduce the Eliminating Random Consistency Framework. The proposed PHSIC metric is defined by subtracting the expected value of the empirical HSIC under the assumption of independence: $$PHSIC = HSIC_b - \mathbb{E}(HSIC_0)$$ By removing this expected "random" component, PHSIC ensures that the metric is centered at zero for independent variables. Our theoretical results show that this adjustment significantly reduces the estimation error. Specifically, in independent cases, PHSIC achieves an error order of $O(m^{-2})$, a substantial improvement over the $O(m^{-1})$ error of standard HSIC.
Experimental Results and Discussion
We validated PHSIC's performance across a variety of scenarios, including simulated toy examples and real-world causal datasets (e.g., ANM-MM and HANM models). The evaluation focused on the metric's ability to correctly identify causal directions, where independence testing of residuals is a key step.
The experimental results, summarized in Figure 5, demonstrate that PHSIC-based models maintain high accuracy even as the sample size $n$ decreases. For instance, at $n=100$, PHSIC achieves accuracy levels 10-20% higher than standard HSIC, Entropy-based, or Gaussian-based methods. This robustness to small sample sizes is a critical advantage for real-world data mining where large datasets are not always available.
Key Insights
- Zero-Baseline Interpretability: PHSIC provides a clear, "honest" signal for independence, staying pinned near zero when no relationship exists.
- Fair Comparison: By eliminating sample and dimension bias, PHSIC allows for fairer comparisons across diverse data regimes.
- Enhanced Causal Discovery: The improved accuracy in independence testing directly translates to more reliable identification of causal directions in models like the Additive Noise Model (ANM).
Conclusion
PHSIC addresses a fundamental limitation of the Hilbert-Schmidt Independence Criterion by eliminating random consistency. By providing a de-noised, zero-baseline metric, PHSIC offers superior performance and interpretability, particularly in challenging high-dimensional and low-sample scenarios. Future research will focus on optimizing kernel selection and applying PHSIC to deep learning frameworks.
Summary updated