Sampler Drift and Learning Error in Self-Distilled Masked Diffusion Language Models

Zhong HanarXiv 2026

TL;DR

When you train a generative model on its own outputs, things usually go sideways because of imperfect training on finite samples. In masked diffusion language models—which generate text in parallel chunks—there is a hidden second culprit: the parallel sampler itself mathematically alters the distribution it draws from, causing drift even if learning is completely flawless. This paper builds the theoretical and diagnostic tools to disentangle what the sampler breaks from what the training loop breaks.

What Problem Does This Paper Address?

Standard autoregressive language models write like a typist: one token after another. Masked diffusion language models (like LLaDA and Dream) work more like filling in a crossword puzzle, unmasking several blank positions simultaneously at each step. Because tokens unmasked in the same step are sampled independently of one another, the model loses the joint correlation between them—imagine flipping two coins that are supposed to match, but doing it in separate rooms so they land independently.

To make these models faster, practitioners increasingly use self-distillation: training the model on its own multi-token generations. In standard model-collapse literature, recursive loops degrade because of learning error (finite data, imperfect optimization). Here, however, even with infinite data and exact optimization, a parallel sampler $S$ does not reproduce the distribution $q$ it samples from. When a self-distilled diffusion model starts cutting its answers weirdly short or losing diversity, outputs alone won't tell you whether to blame your training recipe or the fundamental math of parallel decoding.

Methods

The author establishes an idealized baseline called perfect learning, where the next model captures the exact conditional probabilities of its training mix: a fraction $\lambda$ of real data $p$ and $(1-\lambda)$ of parallel-sampled data $S(q)$. Anything this mathematical map does is pure sampler drift; anything a real trained network does beyond it is learning error.

Novel analytical and diagnostic tools include:

  • Linearization near independence: Using an ANOVA decomposition to compute exact per-round decay rates for token interactions under state-independent schedules (like random remasking).
  • A Termination "Speed Limit": Proving a mathematical bound on how fast parallel decoding can pull an end-of-sequence (EOS) token toward the start of a text block (at $n$ tokens per step, the probability of seeing no end token before a block boundary drops at most to its $n$-th power).
  • Empirical Error Splits: For small models, an exact three-term decomposition separating schedule drift, learning error, and multi-round error response. For massive pretrained models where full probability tables are intractable, a practical one-round sample test: comparing the trained model decoded one token at a time (isolating learning error) against the same model decoded in parallel (isolating the sampler's step).

Datasets

  • Synthetic Binary Sequences: Short sequences ($L=8$ or $12$) generated from 1D Ising chains, synthetic end-token chains, and a custom "copy-plus-rare-trigger" family designed to test how models extrapolate when parallel steps accidentally create rare token combinations.
  • GSM8K: A public dataset of grade-school math word problems (2,000 training questions per round, 250 test questions) used to self-distill two pretrained open-weight models: LLaDA-8B-Instruct and Dream-v0-Instruct-7B. No new datasets are introduced.

Key Insights and Ideas

  • Sequential controls can lie: A common experimental sanity check is comparing a parallel-trained model against a sequential (1-token-per-step) control trained with the same random seed. The three-term split reveals that if the two arms have learning errors of opposite signs, subtracting them cancels out and hides most of the true sampler drift!
  • Confidence rules "ratchet": Under perfect learning, deterministic rules (like unmasking the top-$k$ most confident tokens) freeze into a fixed partition near independence and stop drifting after one round. In real learned chains, tiny estimation errors shift ties between rounds, creating a ratchet effect that continually erases token dependencies.
  • Broken termination: Parallel decoding breaks the "once ended, stay ended" structure of text because an early-decoded token later in the sentence doesn't know an EOS token is about to be placed before it. Models end up spitting out early EOS tokens and continuing to write math solutions after them.
  • Why does fine-tuning jump the gun? Surprisingly, when LLaDA-8B is fine-tuned for one round on its own parallel outputs, its learning error pushes the end token inward just as aggressively as the parallel sampler itself—meaning the newly trained model ends earlier than its own training data even when decoded sequentially.
Figure 1. Four rounds of self-distillation of two pretrained masked diffusion language models on their own GSM8K answers (4 tokens per step in blocks of 32). (a) Mean position of the first end token. (b) Dependence proxy (estimated total correlation of 8 positions) on fixed states (random chains; ±1 standard error). (c) Self-BLEU on the text before the first end token (low-confidence chains). (d) pass@1, scored on the whole answer window. Half real data: Section 5.2.

Key Results

  • Exact match in toy models: On $L=12$ Ising chains under random remasking, learned nearest-neighbor covariance tracks perfect-learning theory within $0.023$. Under top-2 confidence rules, however, it keeps falling to $0.410$ after four rounds instead of stopping at the theoretical $0.673$.
Small model experiments showing covariance decay under schedules, confidence ratcheting, and the three-term split.
  • Dramatic EOS inward drift: Over four rounds of GSM8K self-distillation with random remasking (4 tokens/step), the mean position of the first end token plunges from 199.4 to 47.0 in LLaDA-8B and from 169.6 to 52.9 in Dream-7B, while 100% of answers continue generating text past that first end token. Mixing in 50% real data preserves local token dependence (7.30 vs. 2.55 without) but fails to stop the end token (still dropping to 60.8).
  • Speed limit diagnostics: In Round 1, the parallel step of both trained models respects the theoretical speed limit. Yet LLaDA's full round violates the limit because learning error moves the mean end-token position by $-51.6$ tokens alongside the sampler's $-48.3$ tokens.
Speed limit log margins and parallel steps in LLaDA and Dream.
  • Low-confidence remasking: Using the standard practical decoding rule, output diversity drops (Self-BLEU rises from $0.624 \to 0.734$ in LLaDA and $0.429 \to 0.624$ in Dream) and unfiltered accuracy (pass@1) falls ($0.612 \to 0.501$ and $0.415 \to 0.303$). Filtering for correct answers preserves accuracy ($0.652$) at the cost of even stiffer repetition (Self-BLEU $0.800$).

Limitations and Future Work

  • Local and idealized bounds: Contraction rates are first-order approximations in tiny neighborhoods near independence; global convergence of total correlation and collapse under low-confidence remasking remain unproven conjectures.
  • Speed limit constraints: The termination speed limit doesn't apply to low-confidence remasking (the rule actually used in practice) and assumes the end-token probability ignores text content—a premise the base LLaDA model violates in several test cells.
  • Narrow empirical scope & an open mystery: Pretrained experiments cover a single task (GSM8K) and one LoRA recipe, often with single chains per condition. Most tantalizingly, why LoRA fine-tuning causes a pretrained diffusion LLM to terminate earlier than the exact parallel samples it was trained on remains an open question for future work.

Summary updated

BibTeX
@misc{han2026sampler,
  author = {Zhong Han},
  title = {{Sampler Drift and Learning Error in Self-Distilled Masked Diffusion Language Models}},
  year = {2026},
  eprint = {2611.39463},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.39463},
}
Figure