Manuscript Offprint

arXiv:2610.24795

Who Gets Unmasked? Sampler-Induced Bias in Diffusion Language Models

Xujun Che, Farsheed Haque, Depeng Xu, Xi Niu, Haopeng Zhang

Abstract

Diffusion language models (dLLMs) generate by gradually unmasking a canvas, so their samplers decide not only which token to write but also when to commit it. We show that this second decision changes who appears in generated text, a sampler-induced bias on top of the model's own. Common commit rules, including LLaDA's default, commit the positions whose sampled tokens are most probable; this peeking favors majority options. To separate the sampler from the model, we read the model's belief about a fork, such as a protagonist's gender, in one forward pass, and show that this belief matches exact sampling from the model. Measured against it, peeking samplers on LLaDA and Dream amplify occupational gender stereotypes and collapse opinion distributions, and confidence-based ordering shifts gender-balanced occupations toward men, more so under faster parallel decoding. We propose Fork-First Sampling, which decides the fork before anything else is written: it follows the belief or any target distribution, improves fluency, and avoids the stories that remark on the protagonist's gender, which prompt-based fixes produce, at the cost of one forward pass. Fairness evaluations of dLLMs should report the commit rule.

1 Introduction

Diffusion language models (dLLMs) such as LLaDA (Nie et al., 2025) and Dream (Ye et al., 2025) now perform on par with autoregressive (AR) models of similar size. They generate by unmasking a canvas over several steps, and at each step the sampler makes two decisions: which masked positions to commit, and which tokens to write there. Representational harms in generated narratives, such as the erasure of minority groups (Shieh et al., 2026), are attributed to the model, and so are the fairness and trustworthiness evaluations of dLLMs (Mo et al., 2026).

Figure 1 shows that this attribution is incomplete. With the model and prompts fixed, LLaDA's default sampler writes a female manager in 21% of stories although the model itself puts 66% of its probability on a female protagonist (Figure 1a, b); across 60 occupations the slope of its female share on the belief is 1.80, where exact sampling would give 1 (Figure 1c). For AR models, sampling at T = 1 draws exactly from the model, so decoding affects representation only through temperature and truncation (Dhamala et al., 2022). dLLMs break this link: LLaDA's default rule samples a token at every masked position and commits the positions whose sampled tokens are most probable, so a sampled minority token is less likely to be kept, and the output at T=1T = 1 is not a sample from the model; we call such rules peeking. Prior and concurrent work documents the resulting loss of diversity and entropy (Hayakawa et al., 2026; Tang et al., 2026; Fang et al., 2026; Zhang et al., 2026; Jeon et al., 2026); to our knowledge, its effect on who appears in the text has not been studied.

Work on AR models separates the distributions a model can describe from those it samples (Meister et al., 2025; Jang et al., 2026). We separate representation in dLLM generation into the model's belief about a fork, such as the gender of a protagonist, and the amplification that the sampler applies to that belief, which we call sampler-induced bias. Our contributions are:

  • Decomposition and audit. One forward pass on the fully masked canvas reads the model's belief about a fork; it matches exact sampling from the model at 1/11,520 of the cost of a sampling audit.

  • Two channels of amplification. In the token channel, peeking commit rules, the defaults of LLaDA and Fast-dLLM (Wu et al., 2026) and an option in Dream, multiply the odds of the more probable option by a factor of at least one (Lemma 1). In the ordering channel, committing the most confident positions first writes male-leaning context before the first pronoun, more so when more tokens are committed per step.

  • Fork-First Sampling (FFS) draws the fork from the belief (faithful mode) or a target (fair mode) before anything else is written and hands the canvas to any sampler. It costs one forward pass, controls the fork distribution exactly, works with greedy decoding, and, unlike prompt-specified gender, keeps fluency and the story's content. In both models it meets a 50–50 target within 1.4 points and raises fluency.

  • Evidence on LLaDA-8B, LLaDA-1.5 and Dream-7B across occupational stories, GlobalOpinionQA and TANGO, plus a synthetic model with a known belief.

References (30)