NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CCMI : Classifier based Conditional Mutual Information Estimation

Sudipto Mukherjee, Himanshu Asnani, Sreeram KannanUAI 2019

Introduction

Conditional Mutual Information (CMI), denoted as $I(X; Y | Z)$, is a fundamental metric in data science used to quantify the dependence between variables $X$ and $Y$ given a third variable $Z$. It serves as a critical tool for causal discovery, feature selection, and graphical model inference. However, traditional estimation methods, most notably the $k$-nearest neighbors (kNN) based KSG estimator, face a significant hurdle: the curse of dimensionality. As the dimensionality of the conditioning variable $Z$ increases, these local density-based methods require an exponential increase in data to maintain accuracy, often becoming unreliable beyond a few dimensions.

To address this, the authors introduce CCMI (Classifier-based CMI), a novel framework that shifts the problem from local density estimation to binary classification. By leveraging the power of modern deep learning, CCMI provides accurate estimates in high-dimensional spaces where previous state-of-the-art methods fail.

The CCMI Framework

The core innovation of CCMI is transforming density estimation into a classification task. In high-dimensional settings, learning a decision boundary (classification) is significantly more efficient than mapping an entire probability landscape (density estimation).

1. Classifier-based KL-Divergence

Instead of estimating densities directly, CCMI trains a neural network to distinguish between samples from a joint distribution $p$ and a product distribution $q$. Using the Donsker-Varadhan representation, the likelihood ratio derived from the classifier's predictions is used to estimate the KL-divergence.

2. Generative Coupling and MI-Diff

Estimating CMI requires samples from the distribution $p(x, z)p(y|z)$. The authors explore two primary strategies:

  • Generative Models: Using Conditional GANs (CGANs) or Conditional VAEs (CVAEs) to generate the necessary samples.
  • MI-Diff Approach: This variant utilizes the chain rule: $I(X; Y | Z) = I(X; Y, Z) - I(X; Z)$. By calculating two separate Mutual Information (MI) terms using the classifier-based estimator, the framework avoids potential biases introduced by generative models.

Experimental Results

Overcoming the Curse of Dimensionality

The primary advantage of CCMI is its robustness to high-dimensional conditioning variables. In experiments where the dimension of $Z$ was scaled up to 100, the KSG estimator's performance collapsed, while CCMI variants—particularly the MI-Diff + Classifier—maintained high accuracy and closely tracked the ground truth.

Figure 5: CCMI performance vs. z dimension. While KSG fails as dimensions increase, CCMI variants (especially MI-Diff + Classifier) remain robust.

Sample Efficiency and Stability

Unlike kernel-based methods that require massive datasets in high dimensions, CCMI remains robust with moderate sample sizes. Furthermore, the classifier-based approach uses standard cross-entropy loss, providing more stable training and unbiased gradients compared to previous neural estimators like MINE.

Figure 4: Convergence of CMI estimates with increasing sample size. CCMI variants show stable convergence toward the true value.

Real-World Application: Flow-Cytometry

The authors validated CCMI on a classic protein signaling network dataset (Flow-Cytometry). In Conditional Independence Testing (CIT), CCMI achieved a superior AuROC of 0.7569, outperforming the previous state-of-the-art CCIT (0.6665). This demonstrates CCMI's practical utility for biological discovery and complex system analysis.

Conclusion

CCMI represents a significant step forward in information-theoretic estimation. By replacing local density estimators with neural classifiers, it successfully breaks the curse of dimensionality, enabling reliable CMI estimation in spaces with over 100 dimensions. While it introduces higher computational costs due to neural network training, its accuracy and stability make it a powerful new tool for high-dimensional data analysis.

Summary updated

BibTeX
@inproceedings{mukherjee2019ccmi,
  author = {Sudipto Mukherjee and Himanshu Asnani and Sreeram Kannan},
  title = {{CCMI : Classifier based Conditional Mutual Information Estimation}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2019},
}
Figure