TL;DR
Measuring how much two complex, high-dimensional variables know about each other—their Mutual Information—usually forces a painful choice between fast classifiers that break down when dependencies are strong, and heavy generative models that waste compute learning data from scratch. This paper introduces FMMI, a clever third way: instead of telling distributions apart or building them from noise, it learns a continuous flow that morphs independent variables into coupled ones. By simply tracking how much probability space stretches or compresses along that journey, we get remarkably accurate information estimates at a fraction of the computational cost.
What Problem Does This Paper Address?
Mutual Information (MI) is the gold standard for measuring non-linear statistical dependence. Whether you are analyzing neural network generalization, selecting features, or studying brain activity, you want to know the divergence between how variables behave together (their joint distribution, $\mathbb{P}_{X,Y}$) versus how they behave independently (the product of marginals, $\mathbb{P}_X \otimes \mathbb{P}_Y$).
In practice, we only have finite samples, and estimating MI in high dimensions is notoriously brutal. Modern neural estimators fall into two camps:
- Discriminative methods train a classifier to tell joint samples apart from independent ones. It’s an elegant idea, but classifiers act like energy-based models—when the two distributions are very different (i.e., when MI is high), the density ratio blows up and the estimator fails.
- Generative methods (like diffusion-based estimators) learn the entire data distributions from scratch using a Gaussian prior. They are much more accurate in high-MI regimes, but they do way too much work—burning orders of magnitude more compute and samples to model intricate data details that cancel out in the final MI calculation anyway.
The authors ask: can we get the directness of discriminative methods with the stability of generative bridges?
Methods
Enter FMDoE (Flow Matching Difference of Entropies) and its MI-specific cousin, FMMI.
Instead of mapping Gaussian noise to data (standard generative modeling), the authors use Flow Matching—a simulation-free way to train continuous normalizing flows—to learn a velocity field $v(X_t, t)$ that transports samples directly from the independent marginal distribution to the joint distribution (or from a marginal $\mathbb{P}_X$ to a conditional $\mathbb{P}_{X|Y}$).
Here is the mathematical magic: as a normalizing flow pushes one distribution into another, the change in differential entropy is governed by how much the velocity field expands or contracts space—quantified by its divergence ($\text{div } v$). Normally, computing this requires numerically integrating an ODE. However, the authors prove a neat simulation-free result (Lemma 4.1): the exact difference in entropies—which equals MI—is simply the expected divergence of the velocity field averaged over random times $T \sim \text{U}[0,1]$: $$\mathsf{I}(X; Y) = \mathbb{E}[\text{div } v(X_T, T)]$$ To avoid expensive $O(d)$ derivative calculations in high dimensions, they pair this with the standard Hutchinson trace estimator, bringing divergence evaluation down to $O(1)$.
They introduce three practical flavors:
- jFMMI (Joint): Flows between $\mathbb{P}_{X,Y}$ and $\mathbb{P}_X \otimes \mathbb{P}_Y$ in $(d_X + d_Y)$ space, creating independent samples simply by shuffling coordinates in a batch.
- cFMMI (Conditional): Flows between $\mathbb{P}_X$ and $\mathbb{P}_{X|Y}$ in just $d_X$ space—much leaner for high dimensions.
- FMOI (O-Information): Scales MI beyond two variables to measure redundancy vs. synergy in multivariate systems. Instead of training separate networks for different entropy terms, they introduce a clever multidimensional time amortization, feeding a 2D time vector $t \in \mathbb{R}^2$ into a single velocity network to navigate between three distributions at once.
Datasets
- MI Synthetic Benchmarks: Four distributions from the
mutinfopackage—Correlated Normal, Half-cube Correlated Normal, Correlated Uniform, and Smoothed Uniform (testing up to $d=512$). - O-Information Synthetic Benchmark: A newly adapted order-one Gaussian autoregressive process, AR(1), with covariance $(\Sigma)_{ij} = \rho^{|i-j|}$, which gives closed-form ground truth for tuning synergy and redundancy.
- CIFAR-10 Embeddings: Representations extracted from a ResNet-18 during self-supervised representation learning (SSRL).
- Human Connectome Project (HCP) fMRI Data: Preprocessed neuroimaging data from 581 participants across 7 tasks (14 cognitive states, 8,134 fMRI units), measuring regional brain activations.
Key Insights and Ideas
- Following samples beats standing still: Prior "bridge" methods try to estimate density ratios at fixed points in space, which becomes ill-posed when distributions barely overlap. By following samples along a probability path via Flow Matching, FMMI completely sidesteps degenerate density ratios.
- A bridge to Optimal Transport: The authors prove that the error of their entropy estimator is theoretically bounded by the Wasserstein-2 distance ($\mathsf{W}_2$), and show that the flow's expected velocity norm $\mathbb{E}\|v\|_p^p$ serves as a free, built-in surrogate for Wasserstein dependency.
- Watching neural nets learn synergy: Tracking O-information on CIFAR-10 embeddings reveals a cool dynamic: random networks start near zero, spike in redundancy early in training, and steadily decay as the network compresses features into synergistic representations.
- Localized vs. global brain states: Applying FMOI to fMRI data shows that easily classifiable cognitive tasks (like motor or math tasks) rely on small sets of brain regions with $\Omega(X) \approx 0$ (independent, complementary signals), whereas complex states (like working memory or emotion) recruit huge networks with $\Omega(X) \gg 0$ (heavy redundancy).
Key Results
Across high-dimensional, high-MI benchmarks (up to $d=160$ and MI of $80$ nats), cFMMI consistently matches or beats state-of-the-art diffusion estimators (MINDE-C and InfoBridge) while using 20× fewer gradient steps ($10^4$ steps vs. $2 \times 10^5$), and leaves classic discriminative methods (MINE, InfoNCE) in the dust.
In extreme scaling tests ($d=512$, ground-truth MI $= 1024$ nats, $N=10^5$ samples), cFMMI estimates $967.7 \pm 3.6$ nats on Correlated Normal and $941.9 \pm 4.8$ nats on Smoothed Uniform. Meanwhile, FMOI accurately tracks ground-truth O-information on 32-dimensional AR(1) processes from $0.0015$ nats up to $117.36$ nats using just $10^3$ samples.
Limitations and Future Work
- Compute & Sample Complexity: While much lighter than diffusion-based estimators, FMMI still requires training a neural network and needs thousands of samples to shine in very high dimensions (for instance, jFMMI struggles at $d=512$ when $N \le 1000$).
- Future Directions: The authors note that their multidimensional time amortization trick isn't limited to O-information—it can be naturally extended to other complex information-theoretic quantities, such as Transfer Entropy for causal time-series analysis, and used as an unsupervised metric to evaluate representation learning quality without downstream labels.
Summary updated