cs.LGNov 2, 2026

Online Class Posteriors for Interpretable and Controllable Discrete Diffusion

Authors: Felix Koulischer, Gianni Van De Velde, François Remy, Chris Develder, Thomas Demeester

Organizations: Ghent University - imec · Parallia Healthcare

Abstract

Discrete diffusion models remain far less understood than their continuous counterparts, despite recent breakthroughs across modalities, most notably in text. Leveraging tools from continuous diffusion, we formulate a theoretical framework to track the class-conditional posterior in an online manner by combining conditional and unconditional model predictions. In masked language modeling, this posterior offers highly interpretable dynamics: tokens aligned with a class boost the posterior, while contradictory ones suppress it. We also show that the posterior can be used for logical guidance operations (AND, OR, NOT) in discrete diffusion. These operations enable precise control over generation, such as avoiding specific classes. In addition, we discuss a mismatch in the formulation of classifier-free guidance between discrete and continuous settings: discrete models mix the data distributions, while continuous models mix the marginals. We validate our methods and discuss their potential applications on synthetic data, with all quantities analytically tractable, as well as on MNIST, text, and antibody sequences.

Figures & tables

Appendix figures & tables33 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Plug-and-Play Guidance for Discrete Diffusion Models via Gradient-Informed Logit Correction

    Jun 4, 2026Hongkun Dou, Zike Chen, Fengji Li +2Diffusion Model GuidanceMolecular Generation

  2. Interpolating Discrete Diffusion Models with Controllable Resampling

    Apr 19, 2026Marcel Kollovieh, Sirine Ayadi, Stephan GünnemannDiffusion Model SamplingMolecular Graph Generation