Abstract
Estimating conditional mutual information (CMI) and divergences for continuous variables is a fundamental challenge in data science, essential for uncovering causal relationships and hidden dependencies. Traditional "plug-in" methods often suffer from high bias and sensitivity to tuning parameters due to their reliance on explicit density estimation. This paper introduces a new class of nonparametric estimators based on $k$-nearest neighbor ($k$-NN) statistics. These estimators calculate information-theoretic quantities directly from data distances, bypassing the need for complex density models. We demonstrate that these estimators are provably consistent and computationally efficient, outperforming standard methods in both simulated and real-world datasets.
Introduction
In fields ranging from epidemiology to machine learning, distinguishing between true relationships and correlations driven by confounding factors is critical. For instance, the correlation between stork populations and human birth rates is a classic example of a relationship mediated by a third variable: regional development. To address this, researchers utilize Conditional Mutual Information (CMI), which quantifies the shared information between two variables $X$ and $Y$ given a third variable $Z$. If CMI is zero, $X$ and $Y$ are conditionally independent given $Z$.
However, estimating CMI for continuous variables is notoriously difficult. Standard methods typically involve a two-step "plug-in" process: first estimating underlying probability densities (a high-dimensional, error-prone task) and then calculating the information metric. This approach often leads to significant bias and requires sensitive parameter tuning, particularly in high-dimensional spaces.
Methodology: Direct $k$-NN Estimation
The authors propose a direct estimation approach that leverages $k$-nearest neighbor ($k$-NN) statistics. Instead of reconstructing the entire probability density function, the algorithm utilizes Euclidean distances between data points and their $k$-th closest neighbors within various subspaces (e.g., comparing distances in the $(X, Z)$ space versus the $(Y, Z)$ space).
Key Technical Features
- Broad Applicability: The framework supports a wide range of divergences, including Rényi-$\alpha$, Tsallis-$\alpha$, Kullback-Leibler (KL), Hellinger, and Bhattacharyya.
- Theoretical Consistency: The paper provides a rigorous proof of $L_2$ consistency, ensuring that the estimators converge to true values as the sample size increases.
- Efficiency: By avoiding explicit density estimation, the method eliminates the need for complex cross-validation of bandwidth parameters, a common bottleneck in Kernel Density Estimation (KDE).
Experimental Results
The proposed estimators were evaluated across diverse datasets to verify their performance and robustness.
Convergence on Simulated Data
Numerical experiments using Gaussian data confirmed the theoretical predictions. As shown in the figure below, the estimators for $Q_3$ and conditional Rényi information $\widehat{I}_\alpha^R(X, Y|Z)$ converge steadily to their theoretical values as the sample size increases from $10^1$ to $10^4$.
Real-World Applications
- Medical Discovery: In a clinical dataset of 35 patients measuring digoxin clearance ($X$), urine flow ($Y$), and creatinine clearance ($Z$), traditional tests often failed to identify conditional independence. The proposed Rényi information estimator successfully revealed that the dependence between digoxin clearance and urine flow vanishes once creatinine clearance is accounted for.
- Image Analysis: Experiments with noisy gray-scale images demonstrated that conditioning on a "source" image can effectively eliminate mutual information between two noisy versions of it, illustrating how extra knowledge can "explain away" observed correlations.
Discussion and Future Work
Direct $k$-NN estimators frequently outperform KDE-based methods, showing lower sensitivity to parameter tuning and reduced estimation error. Notably, the estimators remain consistent even with a fixed $k$ as the sample size $N$ grows, simplifying practical implementation.
While consistency is proven, establishing the specific convergence rates remains an open theoretical challenge. Additionally, while $k$-NN methods are generally more robust in higher dimensions than grid-based approaches, the "curse of dimensionality" still affects performance as the number of variables grows. Future research will focus on integrating these estimators into formal tests for conditional independence within causal discovery algorithms.
Summary updated