Measuring Semantic Information Production in Generative Diffusion Models

Florian Handke, Felix Koulischer, Gabriel Raya, Luca Ambrogioni

TL;DR

Generative diffusion models synthesize images by gradually removing noise, but exactly when semantic class identities emerge during generation has remained hard to track in practice. This paper introduces an information-theoretic framework that computes the conditional entropy of class labels given intermediate noisy states and measures its time derivative (entropy production rate). This approach pinpoints precise "decision windows" where semantic information is actively generated, revealing when models commit to particular class identities.

What Problem Does This Paper Address?

Recent work connecting diffusion models to statistical physics demonstrates that generation undergoes spontaneous symmetry-breaking phase transitions and critical "decision windows"—brief intervals where high-level features and class identities form. Prior methods to analyze these phenomena relied either on restrictive theoretical assumptions about initial data distributions or heuristic feature probing.

There has been a lack of a practical, distribution-agnostic, and scalable method to localize precisely when class-semantic decisions occur in trained diffusion models operating on complex data.

Methods

The authors reframe the generative diffusion reverse process as an information transmission channel where a decoder recovers class labels $c$ from noisy states $x_t$:

  1. Conditional Entropy of Binary Decisions: To isolate specific semantic boundaries, the label space is partitioned into a binary variable $z \in \{z_0, z_1\}$ (e.g., a specific class vs. its complement, or class A vs. class B). The uncertainty at time step $t$ is measured by conditional entropy: $$H(z|x_t) = -\int p_z(x_t) \sum_{z} P(z|x_t) \log_2 P(z|x_t) dx_t$$ When the prior $P(z) = 0.5$, this is directly proportional to the negative Jensen-Shannon Divergence between the components $p(x_t|z_0)$ and $p(x_t|z_1)$.

  2. Entropy Rate ($\dot{H}$): The time derivative of the conditional entropy, $\dot{H}(z|x_t)$, quantifies information transfer per time step (measured in bits/time). Peaks in $\dot{H}$ pinpoint critical decision windows.

  3. Iterative Posterior Tracking: Instead of training external classifiers at every noise scale, the authors leverage an online Bayesian formulation (Koulischer et al., 2025) that updates class posteriors along reverse trajectories using the difference in norm between class-conditional ($\mu_\theta(x_t; c)$) and unconditional/complement ($\mu_\theta(x_t)$) noise predictions: $$\log P(c|x_t) = \log P(c|x_{t+1}) - \frac{1}{2\sigma_t^2} \left( \|x_t - \mu_\theta(x_{t+1}; c)\|^2 - \|x_t - \mu_\theta(x_{t+1})\|^2 \right)$$ For class vs. complement decisions ($c$ vs. $\neg c$), the complement score $\nabla_{x_t} \log p(x_t|\neg c)$ is efficiently approximated via the unconditional null-model $\nabla_{x_t} \log p_\theta(x_t|\emptyset)$, requiring only two model forward passes per sample.

Datasets

  • Synthetic 1D Gaussian Mixture Models (GMMs): 2-, 3-, and 4-component mixture setups (both symmetric and asymmetric) with closed-form marginals, posteriors, and fixed-point dynamics.
  • CIFAR-10: $32 \times 32$ natural RGB images across 10 classes (6,000 images per class; 50,000 train, 10,000 test). Evaluated on class subsets including airplane, car, bird, cat, and deer.

Key Insights and Ideas

  • Information Transfer Peaks in Intermediate Regimes: Across both toy models and CIFAR-10, semantic information transfer does not occur uniformly. Early steps are dominated by data-mean convergence, while the final stages carry negligible class information transfer (focusing instead on fine-grained pixel textures).
  • Semantics Determine Decision Timing: Distinct pairs of classes diverge at different points along the reverse trajectory:
  • Structurally divergent classes (e.g., deer vs. car) peak earlier in the reverse process ($t/T \approx 0.4\text{--}0.5$), indicating an early structural branch split.
  • Structurally similar classes (e.g., deer vs. bird or cat) resolve their ambiguity later in the diffusion schedule ($t/T \approx 0.55\text{--}0.65$).
  • Direct Correspondence with Dynamical Bifurcations: In 1D Gaussian mixtures, the peaks of entropy production align with the bifurcation moments where stable fixed points split in the reverse drift dynamics.

Key Results

  • Gaussian Mixture Verification: Explicit computation showed that $\dot{H}(z|x_t)$ peaked exactly at the geometric bifurcation points of the diffusing mixture branches (e.g., in a 4-component GMM with components at $\{-8, -4, 6, 8\}$, distinguishing the negative from positive clusters occurs at normalized time $t/T \approx 0.22$, whereas intra-cluster splits occur around $t/T \approx 0.08$).
  • CIFAR-10 Information Rates:
  • Using 1,000 ancestral trajectories ($T=1000$ steps), conditional entropy rates peaked within a normalized diffusion window between $t/T \approx 0.4$ and $0.7$.
  • Peak information transfer rates reached roughly $0.010\text{--}0.012\text{ bits/step}$ for binary decisions, dropping to virtually $0.000\text{ bits/step}$ for $t/T > 0.8$ (near pure noise) and $t/T < 0.2$ (near clean image generation).

Limitations and Future Work

  • Dataset Scale: Experiments were restricted to 1D synthetic mixtures and $32 \times 32$ CIFAR-10 images; large-scale validation on high-resolution ImageNet or LAION datasets remains unperformed.
  • Approximation of Complements: Approximating the score of the complement class $\nabla \log p(x_t|\neg c)$ with the unconditional model $\nabla \log p_\theta(x_t|\emptyset)$ is only tight when the number of classes is reasonably large.
  • Future Directions: The authors aim to mathematically connect this conditional entropy formulation with theoretical first-order phase transitions and leverage these localized entropy peaks to optimize interval-restricted classifier-free guidance dynamically.

Summary updated

BibTeX
@inproceedings{handke2025measuring,
  author = {Florian Handke and Felix Koulischer and Gabriel Raya and Luca Ambrogioni},
  title = {{Measuring Semantic Information Production in Generative Diffusion Models}},
  booktitle = {DeLTa @ ICLR},
  year = {2025},
  url = {https://openreview.net/forum?id=QDRK34bWUC},
}
Figure