MPPA
A training-free long-context extrapolation method for diffusion large language models that adjusts rotary position embeddings at inference time through linear interpolation combined with a dynamic position offset based on cumulative mask density.
Timeline (last 90 days)
MPPA (Masked-Pattern Position Augmentation) uses cumulative mask density to add a dynamic offset for each position and each denoising step, improving long-context performance without fine-tuning.
The design of MPPA has two steps: first linearly interpolate the position indices into the pretraining window, then add an offset based on cumulative mask density for each position and denoising step.
In MPPA, the offset based on cumulative mask density shrinks as more tokens are committed, thereby restoring phase resolution close to the clean interpolation geometry in later steps.
On the LLaDA-8B-Instruct model, extending the context window to 8192 tokens (twice the native 4096 tokens), standard decoding yields a perplexity of 19.51, while MPPA reduces perplexity to 3.12, even lower than the model's performance within the original window.
On retrieval tasks, MPPA achieves 100% passkey retrieval accuracy, and needle-in-a-haystack accuracy remains unchanged.
There is disagreement on whether static scaling is sufficient: proponents of static approaches argue that NTK scaling is simple, general, and already validated on multiple models, while the authors of MPPA emphasize that the mask pattern of diffusion LLMs is a unique signal that autoregressive models lack, and ignoring it limits extrapolation performance.
MPPA has so far been validated only on the single LLaDA-8B-Instruct model and at 2x window, without covering performance on longer contexts (such as 4x or 8x), and its generalization still requires more experimental evidence.
All Facts (7)
MPPA (Masked-Pattern Position Augmentation) uses cumulative mask density to add a dynamic offset for each position and each denoising step, improving long-context performance without fine-tuning.
50%UnverifiedThe design of MPPA has two steps: first linearly interpolate the position indices into the pretraining window, then add an offset based on cumulative mask density for each position and denoising step.
50%UnverifiedIn MPPA, the offset based on cumulative mask density shrinks as more tokens are committed, thereby restoring phase resolution close to the clean interpolation geometry in later steps.
50%UnverifiedOn the LLaDA-8B-Instruct model, extending the context window to 8192 tokens (twice the native 4096 tokens), standard decoding yields a perplexity of 19.51, while MPPA reduces perplexity to 3.12, even lower than the model's performance within the original window.
50%UnverifiedOn retrieval tasks, MPPA achieves 100% passkey retrieval accuracy, and needle-in-a-haystack accuracy remains unchanged.
50%UnverifiedThere is disagreement on whether static scaling is sufficient: proponents of static approaches argue that NTK scaling is simple, general, and already validated on multiple models, while the authors of MPPA emphasize that the mask pattern of diffusion LLMs is a unique signal that autoregressive models lack, and ignoring it limits extrapolation performance.
50%UnverifiedMPPA has so far been validated only on the single LLaDA-8B-Instruct model and at 2x window, without covering performance on longer contexts (such as 4x or 8x), and its generalization still requires more experimental evidence.
50%