TL;DR
This paper introduces MIST, a novel neural network-based approach for estimating mutual information (MI) by training directly on a large dataset of synthetic distributions with known ground-truth MI. MIST significantly outperforms existing methods in terms of accuracy, speed, and uncertainty quantification, especially in challenging low-sample and high-dimensional regimes.
What Problem Does This Paper Address?
Mutual information (MI) is a crucial measure of statistical dependence between random variables, widely used in fields like feature selection, causality, and representation learning. However, accurately estimating MI from finite data is notoriously difficult, especially for complex, high-dimensional distributions or when data is scarce. Existing methods often struggle with these challenging settings, leading to biased estimates, high variance, and poor uncertainty quantification. This paper addresses the need for a more robust, efficient, and versatile MI estimation technique that can handle a wider range of real-world data complexities.
Methods
The core innovation is MIST (Mutual Information estimation via Supervised Training), a neural network trained end-to-end to predict MI values directly from samples. Instead of relying on theoretical derivations or explicit density estimation, MIST learns an "algorithm" for MI estimation from data. Key methodological aspects include:
- Supervised Learning on a Meta-Dataset: MIST is trained on a large, diverse dataset of synthetic joint distributions with known ground-truth MI values. This meta-learning approach allows it to generalize across various distribution types.
- SetTransformer Architecture: To handle variable sample sizes and ensure permutation invariance (the order of samples shouldn't matter), MIST employs a SetTransformer architecture with a two-dimensional attention mechanism.
- Quantile Regression for Uncertainty: To provide uncertainty estimates, MISTQR (a variant of MIST) is trained using a quantile regression loss. This allows it to predict the sampling distribution of MI, enabling well-calibrated confidence intervals.
- Data-Driven Approach: This work deliberately trades universal theoretical guarantees for empirical flexibility and efficiency, focusing on performance in practical, challenging scenarios.
Datasets
- Mtrain: A large training meta-dataset comprising 625,000 synthetic joint distributions from 16 base families, with varying sample sizes (10-500) and dimensions (2-32).
- Mtest (IMD & OoMD): Test meta-datasets used for evaluation.
- Mtest, IMD: Contains distributions from families seen during training.
- Mtest, OoMD: Contains distributions from families unseen during training, generated using BMI (a library for creating complex MI benchmarks).
- Mtest-extended: A larger test set used for extensive scaling and generalization experiments.
Key Insights and Ideas
- Learning MI as a Supervised Task is Powerful: The paper demonstrates that framing MI estimation as a supervised learning problem, rather than relying on traditional analytical or density-based methods, can lead to significantly better performance, especially in challenging regimes.
- Meta-Learning for Generalization: Training on a diverse meta-dataset allows MIST to generalize well to unseen distributions, dimensions, and sample sizes, a critical advantage over methods trained on specific distribution families.
- Uncertainty Quantification is Crucial and Achievable: MISTQR's quantile regression approach provides reliable and well-calibrated confidence intervals, outperforming traditional bootstrapping methods in terms of both accuracy and computational cost.
- Efficiency Gains are Substantial: MIST offers orders-of-magnitude speedups in inference compared to existing neural and classical MI estimators, making it practical for large-scale applications.
Key Results
- Outperforms Baselines: MIST consistently outperforms classical (KSG) and state-of-the-art neural MI estimators across various sample sizes and dimensions, achieving up to 10x lower MSE on distributions seen during training and 5x lower on unseen distributions.
- Low-Sample and High-Dimensional Performance: MIST excels in low-sample (10-500) and high-dimensional (up to 32) settings, often requiring half the samples of the next best estimator for reliable estimates.
- Faster Inference: MIST is 1.7x faster than the most efficient baseline and 4-80x faster than KSG, with inference taking milliseconds per sample.
- Well-Calibrated Intervals: MISTQR's quantile-based confidence intervals are well-calibrated and more reliable than bootstrap alternatives.
- Effective Generalization: MIST generalizes well to unseen distributions, dimensions, and sample sizes, demonstrating the power of its meta-learning approach.
- Feature Selection Improvement: MIST-guided feature selection shows improved accuracy, lower variance, and greater stability compared to KSG and MINE.
Limitations and Future Work
- No Universal Theoretical Guarantees: MIST's behavior is learned, not theoretically guaranteed for consistency or other properties like classical estimators. Empirical validation is crucial.
- Generalization Out of Meta-Distribution: Performance can degrade on datasets significantly different from the meta-training distribution. The paper proposes a distance-based mechanism using MIST's internal embeddings to detect such out-of-distribution cases.
- Limited MI Range: MIST's predictions are constrained by the range of MI values seen during training. Variants for predicting normalized quantities are suggested for scenarios with very large MI values.
- Calibration Dependence: MISTQR's calibration is dependent on the training distribution, and shifts in target MI values can lead to undercoverage.
- Future Work: The authors suggest exploring theoretical results as inductive biases, training models for relative ordering (ranking losses), and developing trainable, meta-learned estimators as flexible alternatives to classical methods. They also highlight the need for further research into re-calibration under distribution shift.
Summary updated