跳到正文
arXiv (AI + Vision + Imaging)· Gaurav Sarkar (International Institute of Information Technology, Hyderabad), Syed Affan Daimi (International Institute of Information Technology, Hyderabad)·· 12 天前AI 评分26

Mask-Pattern Position Augmentation:面向扩散LLM的免训练长上下文外推方法

Mask-Pattern Position Augmentation: Training-Free Long-Context Extrapolation for Diffusion LLMs

AI 导读

针对扩散大语言模型(dLLM)受限于预训练窗口的问题,Mask-Pattern Position Augmentation(MPPA)将位置索引线性插值回预训练窗口,并按累积掩码密度为每个位置、每个去噪步添加偏移量,且偏移随token确定而收缩。

正文 · 原文

arXiv:2611.15029v1 Announce Type: new Abstract: 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\times$ results motivate mask-conditioned position engineering as a diffusion-native path to long-context generation.

来源:arXiv (AI + Vision + Imaging) · arxiv.org