Conservation Laws for Diffusion Models

Ziv Aharoni, Henry PfisterNeurIPS 2026

TL;DR

Whether you destroy data by masking tokens, swapping symbols, or drowning it in Gaussian static, the total information lost from clean data to pure noise is strictly conserved. By adapting a classic coding-theory tool, the authors create a single, exact mathematical framework to evaluate the likelihood of any memoryless diffusion model—revealing that while all noise paths are theoretically equal, real-world neural networks play favorites depending on whether they are modeling text or images.

What Problem Does This Paper Address?

Autoregressive models (like GPTs) have a clean mathematical superpower: thanks to the chain rule of probability, they optimize and evaluate exact data likelihood step-by-step. Diffusion models trade this away. Instead of predicting the next token, they corrupt data along a forward "noise path" and train a neural network to reverse the damage.

Historically, connecting these local denoising steps back to exact data likelihood required bespoke, channel-specific math—one set of variational bounds or identities for Gaussian noise, a completely different set for masked text, and another for Poisson processes. The authors ask a unifying question: Can a single conservation law characterize exact likelihood across both discrete and continuous diffusion models?

Methods

Think of a clean image or sentence as an ice cube, and pure noise as a puddle of water. No matter how you melt the ice—a blowtorch, warm water, or sitting it in the sun—the total phase change from solid to liquid is identical.

To formalize this for information, the authors borrow Generalized Extrinsic Information Transfer (GEXIT) functions from error-correcting coding theory. Traditionally, GEXIT tracks how information degrades across memoryless channels (where each pixel or token is corrupted independently) assuming an exact, ideal decoder.

Here is what is new:

  • Mismatched GEXIT: Real-world diffusion models don't have exact decoders; they have imperfect, learned neural networks. The authors generalize GEXIT to this "mismatched" setting, proving that the cross-entropy (likelihood) between true data and a learned model equals the integral of local derivatives along the noise path. This single formula cleanly recovers Gaussian (I-MMSE), masked, uniform, and Poisson diffusion losses as special cases.
  • Channel-Aware Logits Tilting: Because the forward corruption rule (e.g., how much Gaussian blur was added) is known by design, the neural network doesn't need to learn the full posterior from scratch. Instead, the network predicts an "extrinsic prior" (guessing token $i$ based on surrounding noisy context) and mathematically "tilts" those logits using the exact, known noise kernel.
  • Collapse-Free Gaussian Text: For Gaussian diffusion on discrete data, rather than training a fragile continuous embedding regressor, the model outputs categorical logits, tilts them via the Gaussian likelihood, and only computes continuous means during evaluation—neatly sidestepping the notorious "embedding collapse" problem.

Datasets

The authors do not introduce new benchmarks, instead validating their theory across three distinct regimes:

  • Synthetic First-Order Markov Sources: Sequences with alphabets ranging from 8 to 512 symbols, chosen because their exact ground-truth entropy rates can be calculated analytically.
  • text8: A standard character-level language modeling benchmark using a raw stream of 256 byte-level symbols.
  • CIFAR-10: $32 \times 32$ RGB images represented as discrete 8-bit subpixel tokens (values 0–255).

Key Insights and Ideas

  • Diffusion as a Chain Rule Across Noise: Just as autoregressive models conserve total entropy regardless of the variable ordering, diffusion models conserve total entropy regardless of the noise type. Diffusion is effectively the chain rule of probability applied along the noise axis rather than the sequence axis.
  • Marginal Locality (and its Catch): To evaluate exact sequence cross-entropy via this conservation law, you only need coordinate-wise marginal posteriors (how each individual token denoises), not the massive joint distribution over the whole sequence. However, this free lunch only applies to infinitesimal likelihood evaluation—actual finite-step generation still requires joint structure so tokens don't clash.
  • Theory is Path-Invariant; Neural Networks Are Not: If you had an infinitely powerful denoiser, the choice of noise wouldn't matter—the area under the GEXIT curve is conserved. In practice, finite-capacity transformers and U-Nets struggle to approximate certain posterior shapes, turning the choice of forward noise into a crucial, modality-dependent design knob.
Figure 1: Synthetic Markov data: area esti- mates and true entropy versus alphabet size.

Key Results

Across identical architectures and shared cross-entropy training, no single noise process dominates every data type:

  • Synthetic Markov Data: Causal, masked, and uniform models hug the true analytical entropy rate closely across all alphabet sizes. Gaussian diffusion, however, increasingly overestimates entropy as the alphabet grows to 512 (Figure 1), exposing finite-capacity approximation limits.
  • Language Modeling (text8): Discrete masking wins for text. Measured in bits per character (BPC, lower is better), masked diffusion achieves 1.424 BPC, outperforming uniform (1.513 BPC) and Gaussian (2.087 BPC) paths, and landing competitively near published D3PM upper bounds ($\le 1.45$ BPC).
Table 1: Diffusion-model results on text8, re- ported in bits per character (BPC). Our entries are area estimates and ≤denotes upper bounds.
  • Image Modeling (CIFAR-10): The hierarchy flips on visual data. Gaussian noise achieves the best likelihood area estimate (3.24 bits per dimension) and sample quality (26.66 FID), beating masked (3.31 bpd, 30.69 FID) and uniform (3.66 bpd, 59.51 FID) diffusion.

Limitations and Future Work

The theoretical guarantees rely on memoryless, degraded noise channels and assume that learned marginal posteriors are globally consistent with a single underlying joint model distribution—a property not strictly enforced in standard neural network training, making the area calculation a practical surrogate rather than a strict bound. Furthermore, computing categorical expectations for Gaussian diffusion scales with alphabet size, which could become expensive for massive LLM vocabularies without approximations. Looking ahead, the authors suggest using GEXIT curves to actively optimize custom, modality-specific noise schedules that allocate information unevenly across spatial locations, tokens, or noise levels.

Summary updated

Abstract

While autoregressive models optimize the exact data likelihood via the chain rule, diffusion models are typically trained with denoising objectives. We develop conservation laws based on generalized extrinsic information transfer (GEXIT) functions for a broad class of memoryless noise processes, showing that the data–model cross-entropy (CE) can be characterized exactly as an integral of local information-theoretic derivatives along the noise path. This unifies likelihood characterizations for masked, uniform, Gaussian, and Poisson diffusion; the Gaussian case recovers the mutual information–minimum mean-square error (I-MMSE) relationship. An immediate implication is a locality property: one can compute the information-theoretic derivatives using only the marginal posteriors along the noise path. Thus, evaluating the data–model cross-entropy requires only learning posterior marginals. While the conservation law implies that the entropy does not depend on the noise path, finite-capacity denoisers approximate the posteriors with varying accuracy across noise types, leading to differences in performance. We validate these predictions on synthetic Markov sources and standard benchmarks, including text8 and CIFAR-10. Code is available at https://github.com/zivaharoni/conservation-laws-diffusion-models.
BibTeX
@inproceedings{aharoni2026conservation,
  author = {Ziv Aharoni and Henry Pfister},
  title = {{Conservation Laws for Diffusion Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=RxdFtImvkv},
}
Figure