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

Mutual Information Multinomial Estimation

Yanzhi Chen, Zijing Ou, Adrian Weller, Yingzhen LiarXiv 2024

Abstract

Estimating mutual information (MI) is a fundamental yet challenging task in data science and machine learning. This work proposes a new estimator for mutual information. Our main discovery is that a preliminary estimate of the data distribution can dramatically help estimate. This preliminary estimate serves as a bridge between the joint and the marginal distribution, and by comparing with this bridge distribution we can easily obtain the true difference between the joint distributions and the marginal distributions. Experiments on diverse tasks including non-Gaussian synthetic problems with known ground-truth and real-world applications demonstrate the advantages of our method.

Introduction

Mutual Information (MI) is a powerful metric for quantifying statistical dependence, capable of capturing complex, non-linear relationships that simple correlation coefficients miss. Despite its utility, estimating MI from finite samples in high-dimensional spaces remains a significant challenge. Modern "distribution-free" estimators typically employ neural networks to distinguish between samples from a joint distribution $p(x, y)$ and a marginal distribution $p(x)p(y)$.

However, these methods often fall victim to the "curse of high discrepancy": when variables are highly dependent, the difference between joint and marginal distributions becomes so large that a neural network can achieve near-perfect classification accuracy without learning the underlying density ratios. This leads to unstable estimates, often manifesting as severe overestimation or underestimation as dimensionality increases.

The MIME Framework

To address these issues, we introduce Mutual Information Multinomial Estimation (MIME). Instead of the standard binary classification task, MIME transforms the problem into a four-way multinomial classification task by introducing two "reference distributions" ($q$):

  1. $p(x, y)$: The true joint distribution.
  2. $p(x)p(y)$: The true marginal distribution.
  3. $q(x, y)$: A reference joint distribution.
  4. $q(x)q(y)$: A reference marginal distribution.

The reference distribution $q$ acts as a "bridge" and is constructed using a vector Gaussian copula, which is designed to be marginal-preserving. This ensures that $q$ shares the same individual marginal distributions for $x$ and $y$ as the original data, but employs a known, simpler Gaussian structure for their relationship. By forcing the neural network to differentiate between these four similar distributions, the model is prevented from "cheating" based on marginal differences alone and must instead learn the nuanced dependency structure.

Experimental Results

Synthetic Benchmarks

We evaluated MIME against several state-of-the-art estimators, including MINE, InfoNCE, and DoE, across various synthetic tasks with known ground-truth MI. These included non-linear transformations (cubic and $Atanh$), Mixtures of Gaussians (MoG), and the "Swiss Roll" dataset.

MIME demonstrates superior robustness as dimensionality ($d$) increases across various non-linear and mixture models compared to baseline estimators.

As shown in the high-dimensional experiments, MIME remains remarkably close to the ground truth even as the dimension $d$ reaches 64. In contrast, traditional estimators like MINE and InfoNCE tend to plateau or fail once the true MI exceeds approximately 4-10 nats.

Extracted figure from page 6 of Mutual Information Multinomial Estimation

Real-World Applications

Beyond synthetic tests, MIME was applied to Bayesian Experimental Design (BED) in epidemiology (Death Process model) and medicine (Pharmacokinetic model). In these settings, MIME identified experimental designs that were significantly more informative than those found by competing methods.

In Self-Supervised Learning (SSL) using the SimCLR framework on CIFAR-10, we observed a surprising result: while MIME provided more accurate MI estimates, maximizing this more accurate MI did not necessarily lead to better downstream classification accuracy. This suggests that for visual representation learning, the quality of the information captured may be more important than the absolute quantity of MI.

Discussion and Limitations

MIME is a theoretically consistent estimator, guaranteed to converge to the true MI value with sufficient data. However, it does have limitations. It struggled slightly with the "Swiss Roll" dataset because the Gaussian copula assumes a continuous data space, whereas the Swiss Roll is confined to a low-dimensional manifold. Additionally, the requirement to train flow-based models for reference distributions introduces higher computational overhead compared to simple binary classifiers.

Conclusion

MIME offers a robust solution to the high-discrepancy problem in mutual information estimation. By leveraging marginal-preserving reference distributions and a multinomial classification objective, it provides stable and accurate estimates in high-dimensional and highly dependent scenarios where previous methods fail.

Summary updated

BibTeX
@misc{chen2024mutual,
  author = {Yanzhi Chen and Zijing Ou and Adrian Weller and Yingzhen Li},
  title = {{Mutual Information Multinomial Estimation}},
  year = {2024},
  eprint = {2408.09377},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.09377},
}
Figure