mlsanityData to 7 Oct 2026

LongLLaDA: Unlocking Long Context Capabilities in Diffusion LLMs

arXiv 2506.14429 ↗First posted 17 Jun 2025cs.CLcited by 38

On the map: Diffusion models → Discrete and text diffusion

Abstract (arXiv)

Large Language Diffusion Models, or diffusion LLMs, have emerged as a significant focus in NLP research, with substantial effort directed toward understanding their scalability and downstream task performance. However, their long-context capabilities remain unexplored, lacking systematic analysis or methods for context extension. In this work, we present the first systematic investigation comparing the long-context performance of diffusion LLMs and traditional auto-regressive LLMs. We first identify a unique characteristic of diffusion LLMs, unlike auto-regressive LLMs, they maintain remarkably stable perplexity during direct context extrapolation. Moreover, where auto-regressive models fail outright during the Needle-In-A-Haystack task with context exceeding their pretrained length, we discover diffusion LLMs exhibit a distinct local perception phenomenon, enabling successful retrieval from recent context segments. We explain both phenomena through the lens of Rotary Position Embedding (RoPE) scaling theory. Building on these observations, we propose LongLLaDA, a training-free method that integrates LLaDA with the NTK-based RoPE extrapolation. Our results validate that established extrapolation scaling laws remain effective for extending the context windows of diffusion LLMs. Furthermore, we identify long-context tasks where diffusion LLMs outperform auto-regressive LLMs and others where they fall short. Consequently, this study establishes the first length extrapolation method for diffusion LLMs while providing essential theoretical insights and empirical benchmarks critical for advancing future research on long-context diffusion LLMs. The code is available at https://github.com/OpenMOSS/LongLLaDA.

Key facts. Cited by 38 papers in the map (data through 7 Oct 2026). Placed in Discrete and text diffusion, one of 14 directions in Diffusion models. Builds on 47 of its 60 references that are in the map. First posted on arXiv 17 Jun 2025.

Builds on

47 of 60 references.

Closest ancestors · 12

Same direction, newest first

  1. 2025FlashDLM: Accelerating Diffusion Language Model Inference via Efficient KV Caching and Guided Diffusion27 May
  2. 2025Dimple: Discrete Diffusion Multimodal Large Language Model with Parallel Decoding22 May
  3. 2025dKV-Cache: The Cache for Diffusion Language Models21 May
  4. 2025Reinforcing the Diffusion Chain of Lateral Thought with Diffusion Language Models15 May
  5. 2025Large Language Diffusion Models14 Feb
  6. 2024Scaling up Masked Diffusion Models on Text24 Oct
  7. 2024Scaling Diffusion Language Models via Adaptation from Autoregressive Models23 Oct
  8. 2024Beyond Autoregression: Discrete Diffusion for Complex Reasoning and Planning18 Oct
  9. 2024Simple and Effective Masked Diffusion Language Models11 Jun
  10. 2024Simplified and Generalized Masked Diffusion for Discrete Data6 Jun
  11. 2024Your Absorbing Discrete Diffusion Secretly Models the Conditional Distributions of Clean Data6 Jun
  12. 2022DiffusionBERT: Improving Generative Masked Language Models with Diffusion Models28 Nov

Other references · 35

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  3. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  4. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  5. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  6. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  7. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  8. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
  9. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  10. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
  11. 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
  12. 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 496
23 more
  1. 2025Fast-dLLM: Training-free Acceleration of Diffusion LLM by Enabling KV Cache and Parallel Decodingcited by 404
  2. 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 399
  3. 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 302
  4. 2023Effective Long-Context Scaling of Foundation Modelscited by 301
  5. 2025LLaDA 1.5: Variance-Reduced Preference Optimization for Large Language Diffusion Modelscited by 273
  6. 2025MMaDA: Multimodal Large Diffusion Language Modelscited by 241
  7. 2025d1: Scaling Reasoning in Diffusion Large Language Models via Reinforcement Learningcited by 178
  8. 2025dLLM-Cache: Accelerating Diffusion Large Language Models with Adaptive Cachingcited by 168
  9. 2024The pitfalls of next-token predictioncited by 156
  10. 2025LLaDA-V: Large Language Diffusion Models with Visual Instruction Tuningcited by 145
  11. 2023Scaling Laws of RoPE-based Extrapolationcited by 124
  12. 2025LaViDa: A Large Diffusion Language Model for Multimodal Understandingcited by 81
  13. 2025VideoRoPE: What Makes for Good Video Rotary Position Embedding?cited by 63
  14. 2024Training-Free Long-Context Scaling of Large Language Modelscited by 61
  15. 2024Why Does the Effective Context Length of LLMs Fall Short?cited by 60
  16. 2024Base of RoPE Bounds Context Lengthcited by 49
  17. 2024Length Generalization of Causal Transformers without Position Encodingcited by 46
  18. 2024Can Perplexity Reflect Large Language Model's Ability in Long Text Understanding?cited by 45
  19. 2025Massive Values in Self-Attention Modules are the Key to Contextual Knowledge Understandingcited by 44
  20. 2024SubGen: Token Generation in Sublinear Time and Memorycited by 21
  21. 2024ReAttention: Training-Free Infinite Context with Finite Attention Scopecited by 13
  22. 2025Thus Spake Long-Context Large Language Modelcited by 12
  23. 2025Beyond Homogeneous Attention: Memory-Efficient LLMs via Fourier-Approximated KV Cachecited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 16; 2026: 22.

38 papers.

Sort:

By area:

  1. 2025A Survey on Diffusion Language Modelscited by 75
  2. 2025The Devil behind the mask: An emergent safety vulnerability of Diffusion LLMscited by 32
  3. 2025LLaDA-VLA: Vision Language Diffusion Action Modelscited by 30
  4. 2025Principled RL for Diffusion LLMs Emerges from a Sequence-Level Perspectivecited by 30
  5. 2025Set Block Decoding is a Language Model Inference Acceleratorcited by 22
  6. 2025Exploring the Potential of Diffusion Large Language Models in Code Generationcited by 16
  7. 2026DMax: Aggressive Parallel Decoding for dLLMscited by 14
  8. 2025Thinking Inside the Mask: In-Place Prompting in Diffusion LLMscited by 13
  9. 2025UltraLLaDA: Scaling the Context Length to 128K for Diffusion Large Language Modelscited by 13
  10. 2025CreditDecoding: Accelerating Parallel Decoding in Diffusion Large Language Models with Trace Creditcited by 11
  11. 2025DiRL: An Efficient Post-Training Framework for Diffusion Language Modelscited by 10
  12. 2025Advancing Reasoning in Diffusion Language Models with Denoising Process Rewardscited by 9
26 more
  1. 2025MMaDA-Parallel: Multimodal Large Diffusion Language Models for Thinking-Aware Editing and Generationcited by 8
  2. 2025Masks Can Be Distracting: On Context Comprehension in Diffusion Language Modelscited by 7
  3. 2026Beyond Hard Masks: Progressive Token Evolution for Diffusion Language Modelscited by 6
  4. 2026Focus-dLLM: Accelerating Long-Context Diffusion LLM Inference via Confidence-Guided Context Focusingcited by 6
  5. 2026Revealing the Attention Floating Mechanism in Masked Diffusion Modelscited by 4
  6. 2026DiffuRank: Effective Document Reranking with Diffusion Language Modelscited by 3
  7. 2026Reinforcement Learning for Diffusion LLMs with Entropy-Guided Step Selection and Stepwise Advantagescited by 3
  8. 2025DiffuTester: Accelerating Unit Test Generation for Diffusion LLMs via Mining Structural Patterncited by 2
  9. 2025Reasoning in Diffusion Large Language Models is Concentrated in Dynamic Confusion Zonescited by 2
  10. 2025Beyond Real: Imaginary Extension of Rotary Position Embeddings for Long-Context LLMscited by 2
  11. 2026Mosaic: Unlocking Long-Context Inference for Diffusion LLMs via Global Memory Planning and Dynamic Peak Tamingcited by 2
  12. 2026Stopping Computation for Converged Tokens in Masked Diffusion-LM Decodingcited by 2
  13. 2026Dataset-Level Metrics Attenuate Non-Determinism: A Fine-Grained Non-Determinism Evaluation in Diffusion Language Modelscited by 2
  14. 2026Prefilling-dLLM: Predictive Prefilling for Long-Context Inference in Diffusion Language Modelscited by 2
  15. 2026TACG: Trajectory-Aware Commit Gating for Diffusion Language Model Decodingcited by 2
  16. 2026GroupKV: Hierarchical KV Cache Management for Long-Context Diffusion LLM Inferencecited by 2
  17. 2026HiMeS: Hippocampus-inspired Memory System for Personalized AI Assistantscited by 1
  18. 2026MAGE: All-[MASK] Block Already Knows Where to Look in Block Diffusion LLMcited by 1
  19. 2026GIDE: Unlocking Diffusion LLMs for Precise Training-Free Image Editingcited by 1
  20. 2026Efficient Long-Context Modeling in Diffusion Language Models via Block Approximate Sparse Attentioncited by 1
  21. 2026WaveFilter: Enhancing the Long-Context Capability of Diffusion LLMs via Wavelet-Guided KV Cache Filteringcited by 1
  22. 2026Fixed State, Long Reach: What a Constant-Size Cache Buys Block Diffusion at Scalecited by 1
  23. 2026FourierSampler: Unlocking Non-Autoregressive Potential in Diffusion Language Models via Frequency-Guided Generationcited by 0
  24. 2026Beyond On-Policy Exploration: Integrating External Policy Rollouts for Reinforcement Learning in Diffusion Language Modelscited by 0
  25. 2026MDLMPE: Distribution Aware Positional Encoding for Masked Diffusion Language Modelscited by 0
  26. 2026Mechanics of Long-Context Hybrid Models Part 1.1: From Hybrid Attention to Hybrid Positioncited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Diffusion vs. Autoregressive Language Models: A Text Embedding Perspective
  2. 2026Diffusion Language Models: An Experimental Analysis
  3. 2026Diffusion Language Models Are Natively Length-Aware
  4. 2026One Token Is Enough: Improving Diffusion Language Models with a Sink Token
  5. 2026Top 10 Open Challenges Steering the Future of Diffusion Language Model and Its Variants
  6. 2026DIP: Dynamic In-Context Planner For Diffusion Language Models
  7. 2025Context-Aware Initialization for Reducing Generative Path Length in Diffusion Language Models
  8. 2026Understanding and Accelerating the Training of Masked Diffusion Language Models