MDLMPE: New Positional Encoding for Masked Diffusion Language Models
A recent study published on arXiv (ID: 2608.03769) presents MDLMPE, a novel positional encoding technique tailored for masked diffusion language models (MDLMs). In contrast to autoregressive (AR) models, which reveal a continuous prefix during decoding, MDLM denoising generates varying, non-contiguous arrangements of visible and hidden tokens. Traditional positional encodings, such as RoPE, effectively capture sequence order and pairwise differences but fail to adapt to the shifting token availability. MDLMPE stands out as the first approach to incorporate awareness of this evolving configuration in positional representations. It utilizes a binary sequence to denote token availability, employs distance-aware Gaussian weighting, and transforms the resulting pattern via a cosine basis for a distribution-aware positional representation. The full paper can be accessed at https://arxiv.org/abs/2608.03769.
Key facts
- MDLMPE is a new positional encoding for masked diffusion language models.
- It is the first method to make positional representations explicitly aware of the revealed/masked configuration.
- MDLMPE represents token availability as a binary sequence.
- It applies distance-aware Gaussian weighting.
- It projects the pattern through a cosine basis.
- Conventional encodings like RoPE are insensitive to token-availability structure.
- The paper is on arXiv with ID 2608.03769.
- MDLMs enable parallel generation and bidirectional context modeling.
Entities
Institutions
- arXiv