Estimating Conditional Mutual Information for Discrete-Continuous Mixtures using Multi-Dimensional Adaptive Histograms

Alexander Marx, Lincen Yang, Matthijs van Leeuwen

In information theory and causal discovery, Conditional Mutual Information (CMI) is a vital metric for determining the shared information between two variables given a third. However, real-world datasets are frequently "messy," containing a mix of categorical (discrete) and numerical (continuous) data. More complex still are "mixture variables"—hybrid types that exhibit both discrete and continuous characteristics, such as a rainfall sensor that records a discrete zero most of the time but continuous values during precipitation.

A recent paper introduces a robust, interpretable framework for calculating CMI across these hybrid data types. By leveraging multi-dimensional adaptive histograms and the Minimum Description Length (MDL) principle, the authors provide a unified approach that outperforms traditional k-nearest neighbor and kernel-based methods.

The Challenge of Mixed Data

Most existing CMI estimators are specialized for either purely discrete or purely continuous data. When faced with mixed data, researchers often resort to suboptimal workarounds like forced discretization or treating categorical labels as numerical values.

Discrete-continuous mixture variables present a unique challenge because they lack a consistent, well-defined entropy measure in standard frameworks. This inconsistency often leads to biased results in downstream applications such as feature selection or causal graph learning.

Methodology: Adaptive Histograms and MDL

The proposed method addresses these challenges through three key innovations:

  1. Theoretical Unification: Using the Radon-Nikodym derivative, the authors demonstrate that CMI for mixed variables can be decomposed into a sum of entropies, similar to purely discrete or continuous cases. This provides a rigorous mathematical foundation for the estimator.
  2. Adaptive Binning: Instead of using fixed-width bins, the estimator learns bin sizes from the data. For mixture variables, a "bin" can represent a continuous range or a single discrete point (e.g., a spike at zero).
  3. MDL-based Model Selection: To determine the optimal number and size of bins, the authors employ the Minimum Description Length (MDL) principle. This approach balances model fit (likelihood) against model complexity (number of bins), acting as a natural regularizer to prevent overfitting.
  4. Greedy Optimization: Finding the optimal multi-dimensional binning is computationally intensive (NP-hard). The authors propose an iterative greedy algorithm that refines discretization dimension-by-dimension until the MDL score is optimized.

Experimental Results

The estimator was evaluated using a series of synthetic benchmarks designed to test accuracy across various distributions, including Gaussian, zero-inflated Poisson, and complex hybrid mixtures.

Performance comparison of the proposed CMI estimator against state-of-the-art methods (MS, RAVK, FP, MIIC) across different sample sizes and conditioning set dimensions.

Key Findings:

  • Superior Accuracy on Mixtures: In complex hybrid scenarios (Experiment V), the proposed method was the only estimator to converge to the true CMI value as the sample size increased. Competitors like MIIC and kNN-based methods exhibited persistent bias.
  • Dimensionality Robustness: The estimator maintained stability as the dimension of the conditioning set ($Z$) increased. While kNN methods began to deviate significantly from the ground truth beyond 2-3 dimensions, the adaptive histogram approach remained reliable up to 4-5 dimensions.
  • Causal Discovery Performance: When integrated into the PC-stable algorithm, the proposed $I_{\chi^2}$ variant achieved perfect precision and recall. In contrast, kernel-based methods (RCIT/RCoT) failed to identify causal edges involving mixture variables, even with large sample sizes.

Conclusion and Future Work

The adaptive histogram approach offers a globally interpretable alternative to "black box" estimators like k-nearest neighbors. By allowing researchers to see exactly where the model "cuts" the data, it provides greater intuition into the underlying dependencies.

While the current greedy algorithm is efficient, future work may explore more complex binning shapes beyond hyper-rectangles and investigate scaling for high-dimensional "omics" or climate science datasets where mixed variables are prevalent.

Summary updated

BibTeX
@inproceedings{marx2021estimating,
  author = {Alexander Marx and Lincen Yang and Matthijs van Leeuwen},
  title = {{Estimating Conditional Mutual Information for Discrete-Continuous Mixtures using Multi-Dimensional Adaptive Histograms}},
  booktitle = {SDM},
  year = {2021},
  url = {https://openreview.net/forum?id=49obkmHW4Bg},
}
Figure