Mask-Pattern Position Augmentation: Training-Free Long-Context Extrapolation for Diffusion LLMs
Not on the map. Why?
Abstract (arXiv)
Diffusion large language models (dLLMs) generate by iteratively unmasking tokens with bidirectional attention, but rotary position embeddings (RoPE) still confine them to a fixed pretraining window. Existing training-free extrapolation, notably LongLLaDA, copies NTK-based RoPE scaling from autoregressive (AR) models and applies one static, length-only transform at every position and denoising step. That transplant ignores a signal unique to dLLMs: the evolving mask pattern of the partially decoded sequence. We propose Mask-Pattern Position Augmentation (MPPA). MPPA linearly interpolates indices into the pretrained window, then adds a per-position, per-step offset from cumulative mask density. The offset restores rotary phase resolution that interpolation collapses, and it shrinks as tokens are committed, so late steps see near-clean interpolated geometry. On LLaDA-8B-Instruct at twice its 4096-token window, MPPA reduces perplexity from 19.51 under standard decoding to 3.12 at 8192 tokens, below the in-window figure, with 100% passkey retrieval and unchanged needle-in-a-haystack accuracy. These preliminary 2× results motivate mask-conditioned position engineering as a diffusion-native path to long-context generation.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 10 of its 11 references that are in the map. Submitted 11 Nov 2026.
Builds on
10 of 11 references.
References · 10
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,132
- 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,843
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
- 2025Large Language Diffusion Modelscited by 1,042
- 2024Simple and Effective Masked Diffusion Language Modelscited by 971
- 2023Discrete Diffusion Modeling by Estimating the Ratios of the Data Distributioncited by 834
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 794
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 672
- 2024LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuningcited by 149
- 2025LongLLaDA: Unlocking Long Context Capabilities in Diffusion LLMscited by 43
Built on by
Not cited yet.