paper-with-me

홈 › Papers

MDLMPE: Distribution Aware Positional Encoding for Masked Diffusion Language Models

2026-08-04 · Tong Ling, Hang Lei, Feng Xiao, Changhui Sun, Jiahang Xie, Hao Liu, Lu Liu, Yanlong Du arxiv

Masked diffusion language models (MDLMs) enable parallel generation and bidirectional context modeling, but their positional context differs fundamentally from that of autoregressive (AR) models. Whereas AR decoding exposes a contiguous prefix, MDLM denoising produces dynamic, non-contiguous configurations of revealed and masked tokens. Conventional positional encodings such as RoPE capture sequence order and pairwise displacement but remain insensitive to this evolving token-availability structure. To address this limitation, we propose MDLMPE, a positional encoding designed specifically for masked diffusion. To the best of our knowledge, MDLMPE is the first method to make positional representations explicitly aware of the changing revealed/masked configuration. It represents token availability as a binary sequence, applies distance-aware Gaussian weighting, and projects the resulting pattern through a cosine basis to obtain distribution-aware positional features. These features are added to token embeddings and mapped by a lightweight MLP to angular offsets that modulate the standard RoPE phases. Extensive experiments on LLaDA and DREAM demonstrate that MDLMPE generally outperforms conventional positional encoding methods across supervised fine-tuning, pretraining, zero-shot evaluation, and block-diffusion settings. Further ablations show that the complete combination of availability state, Gaussian locality, spectral basis, and embedding injection yields the strongest result. These results establish the evolving token-availability distribution as a useful positional signal for masked diffusion language models.

📄 PDF Abstract BibTeX arXiv:2608.03769

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Mitigating Positional Leakage in 3D Masked Autoencoders for Robust Representation Learning

2026-06-30 · Xu Yan, Huiqun Wang, Chen Wang, Lei Ren 외 arxiv

Masked autoencoding has emerged as a prominent paradigm for self-supervised learning on 3D point clouds, achieving competitive performance across downstream tasks. Unlike its 2D counterpart, 3D masked autoencoding direct…

Self-Supervised LearningRepresentation LearningPoint Clouds

On the Geometry of Positional Encodings in Transformers

2026-04-06 · Giansalvo Cirrincione arxiv

Neural language models process sequences of words, but the mathematical operations inside them are insensitive to the order in which words appear. Positional encodings are the component added to remedy this. Despite thei…

Language Modelling

CRePE: Curved Ray Expectation Positional Encoding for Unified-Camera-Controlled Video Generation

2026-05-13 · Seonghyun Jin, Youngmin Kim, Sunwoo Park, Jong Chul Ye arxiv

Camera-conditioned video generation requires positional encoding that remains reliable under changes in camera motion, lens configuration, and scene structure. However, existing attention-level camera encodings either pr…

Video Generation

Learning Nuclei Representations with Masked Image Modelling

2023-06-29 · Piotr Wójcik, Hussein Naji, Adrian Simon, Reinhard Büttner 외

Masked image modelling (MIM) is a powerful self-supervised representation learning paradigm, whose potential has not been widely demonstrated in medical image analysis. In this work, we show the capacity of MIM to captur…

Instance SegmentationMedical Image AnalysisRepresentation LearningSemantic Segmentation+1

Segatron: Segment-Aware Transformer for Language Modeling and Understanding

2020-04-30 · He Bai, Peng Shi, Jimmy Lin, Yuqing Xie 외

Transformers are powerful for sequence modeling. Nearly all state-of-the-art language models and pre-trained language models are based on the Transformer architecture. However, it distinguishes sequential tokens only wit…

Language ModelingLanguage ModellingMasked Language ModelingPosition+2