Reconsidering Positional Supervision in Masked Diffusion Language Model Training

Mengyu Ye, Keito Kudo, Ryosuke Takahashi, Jun Suzuki

TL;DR

This paper reveals that Masked Diffusion Language Models (MDLMs), despite their parallel generation capabilities, are surprisingly sensitive to small positional shifts during training. To address this, the authors adapt Connectionist Temporal Classification (CTC), a more alignment-flexible objective, to MDLMs, significantly improving their performance on open-ended generation tasks.

What Problem Does This Paper Address?

Autoregressive language models generate text token by token, inherently handling positional information. Masked Diffusion Language Models (MDLMs), on the other hand, generate tokens in parallel, similar to non-autoregressive translation (NAT) models. Both MDLMs and NAT models often use a position-wise cross-entropy (CE) loss for training. While it's known that CE-trained NAT models are sensitive to small positional shifts (meaning a slight shift in a token's position can lead to a significant drop in performance), this sensitivity in MDLMs, which involve iterative decoding, was not well-understood. The authors investigate this by demonstrating that even minor positional displacements during MDLM generation can drastically degrade output quality, highlighting a critical vulnerability.

Methods

The core contribution of this paper is the adaptation of Connectionist Temporal Classification (CTC) for MDLM supervised fine-tuning (SFT).

  • Sensitivity Analysis: The authors first experimentally confirm the positional sensitivity of MDLMs. They introduce a controlled intervention during decoding where a small percentage of tokens are swapped with adjacent masked positions. This intervention reveals a significant drop in performance, even with as little as 1% of tokens shifted.
  • CTC Adaptation (CTC-S): Motivated by the sensitivity, they adapt CTC, an alignment-flexible objective commonly used in speech recognition and NAT. The key modifications for MDLMs include:
  • <SLACK> Token: Introducing a special <SLACK> token to absorb positional uncertainty between target tokens and output positions.
  • Modified Collapse Map: Adjusting the CTC collapse rule to only remove <SLACK> tokens, preserving adjacent identical target tokens, which is crucial for text generation where repeated tokens are meaningful (e.g., "100" should not become "10").
  • Combined Objective: The CTC-S objective is used as an auxiliary loss alongside the standard cross-entropy loss during SFT.

Datasets

  • Training: The authors use a filtered subset of the Magpie-Pro dataset, which contains approximately 300k instruction-following examples.
  • Evaluation: The models are evaluated on four open-ended generation benchmarks:
  • Arena-Hard-v2.0
    • MT-Bench
    • WildBench
    • Creative Writing Bench v3
  • General Capability Benchmarks: For assessing if the proposed method harms general language understanding, they also report results on:
  • GPQA
    • MMLU
    • MBPP
    • IFEval
    • GSM8K

Key Insights and Ideas

  • MDLMs are surprisingly sensitive to positional shifts: This is a key finding, as it was not previously established for iterative decoding models like MDLMs. The sensitivity is evident even with minimal positional disturbances.
  • Alignment flexibility is crucial for MDLMs: Just as in NAT, relaxing the strict positional supervision of CE loss with an alignment-flexible objective like CTC significantly improves MDLM performance.
  • CTC can be effectively adapted for MDLMs: The authors demonstrate that by introducing a <SLACK> token and modifying the collapse mechanism, CTC can be successfully integrated into the MDLM training pipeline without distorting target surface forms.
  • Training-side flexibility complements inference-time approaches: This work highlights that improving MDLMs doesn't solely rely on optimizing decoding strategies; training-time objectives that encourage alignment flexibility are also a powerful lever.

Key Results

  • Positional Sensitivity: Displacing as little as 1% of generated tokens by one position reduced win rates on Arena-Hard by a substantial margin, well below the 50% no-intervention reference.
  • Performance Gains with CTC-S: Across four open-ended generation benchmarks, the proposed CE + CTC-S model consistently outperformed both the original LLaDA model and a matched CE-Only baseline. These gains were statistically significant on all four benchmarks.
  • Robustness: The CE + CTC-S model showed significantly improved robustness to the controlled positional shift intervention compared to the CE-Only and Jitter models.
  • Preservation of Capabilities: The CTC-S objective did not negatively impact performance on general capability benchmarks like GPQA, MMLU, IFEval, and GSM8K.

Limitations and Future Work

  • <SLACK> Token Usage: While the model learns to use <SLACK> tokens, their usage is selective and primarily occurs at inter-word positions during inference, suggesting a learned linguistic intuition rather than a strict requirement.
  • Hyperparameter Tuning: The authors mention that the CTC-S loss weight ($\lambda$) and the maximum slack ratio ($s_{max}$) were not tuned, suggesting potential for further gains.
  • Pre-training: The current work focuses on SFT. Exploring the integration of flexible alignment objectives during pre-training is a natural future direction.
  • Model Agnosticism: While the method is presented as model-agnostic, its performance on MDLMs trained with different schemes (e.g., Dream's shift-operation training) is left for future work.
  • Other Alignment Flexibility: The <SLACK> mechanism is one instantiation of alignment flexibility. Other formulations, including non-CTC objectives and learned slack budgets, might offer further improvements.

Summary updated

BibTeX
@inproceedings{ye2026reconsidering,
  author = {Mengyu Ye and Keito Kudo and Ryosuke Takahashi and Jun Suzuki},
  title = {{Reconsidering Positional Supervision in Masked Diffusion Language Model Training}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=SoXwBAJ8w9},
}
Figure