Relaxing Positional Alignment in Masked Diffusion Language Models
Mengyu Ye, Ryosuke Takahashi, Keito Kudo, Jun Suzuki
TL;DR
This work identifies strict position-level supervision as a key bottleneck for open-ended generation in masked diffusion language models, showing that early positional misalignment can cascade under irreversible decoding. It introduces an alignment-flexible training approach that inserts a <slack> token via a CT C-based objective to absorb positional uncertainty without changing the task interface. Across five open-ended generation benchmarks, the CTC-trained model consistently improves over CE-based baselines and demonstrates enhanced robustness to positional shifts. The approach maintains decoding efficiency while enabling flexible alignment, offering a practical path to closing the gap between MDLMs and autoregressive models in open-ended text generation.
Abstract
Masked diffusion language models (MDLMs) have emerged as a promising alternative to dominant autoregressive approaches. Although they achieve competitive performance on several tasks, a substantial gap remains in open-ended text generation. We hypothesize that one cause of this gap is that strict positional prediction makes MDLM decoding highly sensitive to token misalignment, and we show through controlled interventions that a one-position shift can severely disrupt semantics. This observation suggests that enforcing strict positional supervision during training is misaligned with the irreversible denoising dynamics of MDLM decoding. Motivated by this mismatch, we adopt an alignment-flexible supervision strategy during fine-tuning. Specifically, we introduce a special token <slack> via the connectionist temporal classification objective. We apply this approach to the widely used MDLM model and conduct experiments on five open-ended text generation benchmarks. Our method consistently outperforms the original model and improves robustness to positional shifts, indicating that relaxing strict positional supervision is an important factor in improving generation quality in MDLMs.
