Abstract
Discrete diffusion models have emerged as a powerful alternative to autoregressive models for categorical data, yet they have historically lacked the rigorous information-theoretic foundations available to their continuous counterparts. This paper bridges that gap by deriving discrete analogs of the I-MMSE identity, proving that common training objectives like Denoising Score Entropy (DSE) are exact estimators of log-likelihood rather than mere variational bounds. We introduce a "time-free" estimator for masked diffusion that enables accurate, low-variance likelihood estimation without computationally expensive time-integration, facilitating new applications in model auditing and out-of-distribution detection.
Introduction
In continuous diffusion modeling, the I-MMSE identity provides a fundamental link between the Minimum Mean Squared Error (MMSE) of denoising and the Mutual Information (I) within the data. This relationship allows researchers to calculate exact log-likelihoods, providing a precise metric for how well a model has captured a data distribution.
Discrete diffusion—essential for text and categorical data—has lacked a comparable theoretical bridge. Previously, training objectives such as Denoising Score Entropy (DSE) or Cross-Entropy (DCE) were treated as variational upper bounds. While effective for training, this interpretation limited our ability to perform stable evaluations or precisely measure data likelihood. This work provides the mathematical framework to treat these losses as exact decompositions of likelihood, establishing a "missing manual" for discrete generative processes.
Theoretical Framework: I-MDSE and I-MDCE
The core contribution of this work is the introduction of two primary theoretical pillars that align discrete diffusion with information theory:
- I-MDSE (Information-Minimum Denoising Score Entropy): This identity for general discrete diffusion links the decay of mutual information over the diffusion process to the minimum DSE loss. It proves that the loss function used during training is a principled estimator of the exact log-likelihood.
- I-MDCE (Information-Minimum Denoising Cross-Entropy): An extension specifically designed for masked (absorbing) diffusion. In these models, tokens are gradually replaced by a special [MASK] symbol. I-MDCE provides the specific mathematical grounding for this popular subset of discrete diffusion.
By demonstrating that these bounds are actually identities, we justify the use of DSE and DCE as exact decompositions of negative log-likelihood (NLL). This reveals a symmetry between continuous and discrete diffusion: while continuous models rely on Euclidean geometry and $\ell_2$ loss, discrete models naturally align with logarithmic loss and KL divergence.
The Time-Free Likelihood Estimator
Standard likelihood estimation in diffusion models typically requires integrating a loss function across the entire timeline ($t=0$ to $T$). This process is computationally intensive and prone to high variance.
Leveraging the I-MDCE identity, we derive a Time-Free Likelihood Estimator. For masked diffusion, we show that log-likelihood can be estimated by sampling random subsets of unmasked tokens and calculating the cross-entropy. This approach is mathematically equivalent to the time-integral but offers significantly higher stability and efficiency in practice.
Experimental Validation
We validated this framework across multiple scales and data types:
- Synthetic DNA Sequences: Used to verify that estimated NLL curves perfectly overlap with ground-truth distributions.
- Large Language Models (LLaDA): We applied our estimators to LLaDA, a large-scale open-source masked diffusion language model, to test performance on standard NLP benchmarks (HellaSwag, ARC-hard, PIQA).
- Safety and Auditing: Using the BeaverTails dataset, we performed likelihood ratio estimation to distinguish between "safe" and "unsafe" model responses.
Key Results
- Variance Reduction: The time-free estimator achieved a variance of 2.92 on HellaSwag, compared to 13.38 for the standard time-integral baseline, representing a massive improvement in evaluation stability.
- Out-of-Distribution (OOD) Detection: The framework successfully identified GPT-4 generated text by detecting its higher NLL (lower likelihood) relative to human-authored text.
- Model Auditing: Our estimator revealed that LLaDA assigns higher likelihoods to completions generated by LLaMA 3.1 than to original dataset completions, suggesting that the diffusion model was influenced by the autoregressive model during its development.
Conclusion and Future Work
This work transforms discrete diffusion from a heuristic-driven field into one grounded in exact information-theoretic identities. While the "time-free" formulation is currently most practical for masked diffusion, it opens the door for more efficient training and evaluation of categorical generative models. Future research will focus on extending these time-free applications to general transition matrices (such as bit-flipping) and utilizing low-variance likelihood ratios for preference optimization and model alignment.
Summary updated