SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2509.20609 · NeurIPS · 2025

MMG: Mutual Information Estimation via the MMSE Gap in Diffusion

Greg Steeg, Xianghao Kong, Xing Shi, Longxuan Yu, Tong Jia

arXiv · PDF · Open in the Atlas

Code that ran

5 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 0 failures of our instrument; 2 no recorded run), measured 2026-11-24; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2509.20609.json · badge: /api/ran/2509.20609.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
fengsxy/Diffusion-MI community
Papers with Code archive
5 ran · 1 no recorded run
fengsxy/Diffusion_MI community
Papers with Code archive
0 ran · 1 no recorded run
FunctionStatusWhere it lives
Block Ran
ran on a synthesized input
fengsxy/Diffusion-MI/src/estimators/neural/MMG.py
pointer only (licence: NONE) · get_code("cf2ffc332449c471")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fengsxy/Diffusion-MI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Denoiser Ran
ran on a synthesized input
fengsxy/Diffusion-MI/src/estimators/neural/MMG.py
pointer only (licence: NONE) · get_code("f73f8f0734e5f63d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fengsxy/Diffusion-MI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

EMA Ran
ran on a synthesized input
fengsxy/Diffusion-MI/src/estimators/neural/MMG.py
pointer only (licence: NONE) · get_code("ad399f529a47c546")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fengsxy/Diffusion-MI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ResnetBlock Ran
ran on a synthesized input
fengsxy/Diffusion-MI/src/estimators/neural/MMG.py
pointer only (licence: NONE) · get_code("5094f2cedd3279e3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fengsxy/Diffusion-MI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

UnetMLP Ran
ran on a synthesized input
fengsxy/Diffusion-MI/src/estimators/neural/MMG.py
pointer only (licence: NONE) · get_code("554ed5ac99e3fcdd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fengsxy/Diffusion-MI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

MMGEstimator Not yet run
unverified (harvested, no recorded run)
fengsxy/Diffusion_MI/MMG_Unet.py
pointer only (licence: NONE) · get_code("1ae9720866261aaf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fengsxy/Diffusion_MI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

MMGEstimator Not yet run
unverified (harvested, no recorded run)
fengsxy/Diffusion-MI/src/estimators/neural/MMG.py
pointer only (licence: NONE) · get_code("dfa9f4f59688493c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fengsxy/Diffusion-MI when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 7 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Mutual information (MI) is one of the most general ways to measure relationships between random variables, but estimating this quantity for complex systems is challenging. Denoising diffusion models have recently set a new bar for density estimation, so it is natural to consider whether these methods could also be used to improve MI estimation. Using the recently introduced information-theoretic formulation of denoising diffusion models, we show the diffusion models can be used in a straightforward way to estimate MI. In particular, the MI corresponds to half the gap in the Minimum Mean Square Error (MMSE) between conditional and unconditional diffusion, integrated over all Signal-to-Noise-Ratios (SNRs) in the noising process. Our approach not only passes self-consistency tests but also outperforms traditional and score-based diffusion MI estimators. Furthermore, our method leverages adaptive importance sampling to achieve scalable MI estimation, while maintaining strong performance even when the MI is high. Code to reproduce experiments is at https://github.com/fengsxy/Diffusion_MI, and the unified MI library is at https://github.com/fengsxy/Diffusion-MI. Sohl-Dickstein et al. (2015); Ho et al. (2020); Kingma et al. (2021); Kong et al. (2022) have dramatically improved the modeling of complex distributions, igniting a new industry for AI art generation Rombach et al. (2022); Ramesh et al. (2022); Saharia et al. (2022). Recently, Franzese et al. (2024) introduced a MI estimator, MINDE, based on score-based diffusion models. This estimator not only achieved an 87.5% estimation success rate on the benchmark of Czyż et al. ( 2023) but also passed the self-consistency tests. However, its reliance on accurately approximating the log-density gradient can be a challenging intermediate step. This motivates a more direct formulation, connecting MI to the denoising objective itself rather than its gradient.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2509.20609")
get_code_for_paper("2509.20609")
have("2509.20609")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2509.20609.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2509.20609.svg)](https://syntology.ai/paper/2509.20609)

Connect an agent — have() is free.