# Online Class Posteriors for Interpretable and Controllable Discrete Diffusion

DevFeed: [Online Class Posteriors for Interpretable and Controllable Discrete Diffusion](<https://devfeed.tech/articles/online-class-posteriors-for-interpretable-and-controllable-discrete-diffusion-114801.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.03454>)

Author: Felix Koulischer, Gianni Van De Velde, Fran\\c{c}ois Remy, Chris Develder, Thomas Demeester

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Transformers](<https://devfeed.tech/topics/transformers.md>)

Tags: [class](<https://devfeed.tech/tags/class.md>), [continuous](<https://devfeed.tech/tags/continuous.md>), [control](<https://devfeed.tech/tags/control.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [diffusion](<https://devfeed.tech/tags/diffusion.md>), [generation](<https://devfeed.tech/tags/generation.md>), [guidance](<https://devfeed.tech/tags/guidance.md>), [it](<https://devfeed.tech/tags/it.md>), [language](<https://devfeed.tech/tags/language.md>), [logical](<https://devfeed.tech/tags/logical.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [model](<https://devfeed.tech/tags/model.md>), [models](<https://devfeed.tech/tags/models.md>), [online](<https://devfeed.tech/tags/online.md>), [sequences](<https://devfeed.tech/tags/sequences.md>), [synthetic](<https://devfeed.tech/tags/synthetic.md>), [text](<https://devfeed.tech/tags/text.md>)

## AI overview

The paper proposes tracking class-conditional posteriors online in discrete diffusion by combining conditional and unconditional model predictions. In masked language modeling, class-aligned tokens raise the posterior while contradictory tokens lower it, giving an interpretable signal. The authors use these posteriors for logical AND, OR, and NOT guidance, including generation that avoids specified classes. They also identify a formulation difference: discrete classifier-free guidance mixes data distributions, while continuous guidance mixes marginals. The abstract reports validation on analytically tractable synthetic data and experiments on MNIST, text, and antibody sequences; it does not provide detailed results.

## Source excerpt

arXiv:2611.03454v1 Announce Type: new 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.