mlsanityData to 7 Oct 2026

Path Planning for Masked Diffusion Model Sampling

arXiv 2502.03540 ↗First posted 5 Feb 2025cs.LG cs.AIcited by 79

On the map: Diffusion models → Discrete and text diffusion

Abstract (arXiv)

Any order generation of discrete data using masked diffusion models (MDMs) offers a compelling alternative to traditional autoregressive models, especially in domains that lack a natural causal ordering of data. However, current popular MDMs depart from their successful continuous diffusion model counterparts with simplified masked inference wherein unmasked tokens cannot be iteratively refined -- even if there is a mistake. In this paper, we extract the full power of MDMs by introducing a novel inference sampling strategy termed Path Planning (P2) that decomposes each generation step into two sub-stages: planning and denoising. Under P2, the planner at every step selects appropriate tokens that are marked to be updated, which can then be sampled using the denoiser. We demonstrate that P2 generalizes all existing sampling strategies for MDMs and critically enhances generative quality through the new capability of refining and updating existing unmasked tokens. We theoretically prove that P2 establishes a (new) expanded evidence lower bound (ELBO) on the log marginal likelihood of data. We instantiate P2 with a family of planners including: 1.) Self-Planning, 2.) BERT-Planning, and 3.) Trained-Planning with a learned planner leading to SOTA generative performance for MDMs on a suite of domains. Specifically, solely using P2 inference, we observe relative improvements of 22% in protein sequence foldability, 8% in RNA sequence pLDDT, 4% in math reasoning, 68% in story generation (ROUGE score), and 33% in code generation for the challenging pass@1 metric.

Key facts. Cited by 79 papers in the map (data through 7 Oct 2026). Placed in Discrete and text diffusion, one of 14 directions in Diffusion models. Builds on 42 of its 64 references that are in the map. First posted on arXiv 5 Feb 2025.

Builds on

42 of 64 references.

Closest ancestors · 10

Same direction, newest first

  1. 2024Scaling up Masked Diffusion Models on Text24 Oct
  2. 2024Scaling Diffusion Language Models via Adaptation from Autoregressive Models23 Oct
  3. 2024Think While You Generate: Discrete Diffusion with Planned Denoising8 Oct
  4. 2024Masked Diffusion Models are Secretly Time-Agnostic Masked Models and Exploit Inaccurate Categorical Sampling4 Sep
  5. 2024Simple and Effective Masked Diffusion Language Models11 Jun
  6. 2024Simplified and Generalized Masked Diffusion for Discrete Data6 Jun
  7. 2024Your Absorbing Discrete Diffusion Secretly Models the Conditional Distributions of Clean Data6 Jun
  8. 2023Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution25 Oct
  9. 2023Likelihood-Based Diffusion Language Models30 May
  10. 2023A Reparameterized Discrete Diffusion Model for Text Generation11 Feb

Other references · 32

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  5. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  6. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  7. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  8. 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,665
  9. 2022MaskGIT: Masked Generative Image Transformercited by 1,082
  10. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
  11. 2022A Continuous Time Framework for Discrete Denoising Modelscited by 437
  12. 2016A Corpus and Evaluation Framework for Deeper Understanding of Commonsense Storiescited by 413
20 more
  1. 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 399
  2. 2024Discrete Flow Matchingcited by 301
  3. 2024Generative Flows on Discrete State-Spaces: Enabling Multimodal Flows with Applications to Protein Co-Designcited by 294
  4. 2022Efficient Training of Language Models to Fill in the Middlecited by 248
  5. 2024Lessons from the Trenches on Reproducible Evaluation of Language Modelscited by 172
  6. 2022Score-based Continuous-time Discrete Diffusion Modelscited by 167
  7. 2022ProGen2: Exploring the Boundaries of Protein Language Modelscited by 156
  8. 2024Simple Guidance Mechanisms for Discrete Diffusion Modelscited by 148
  9. 2024Diffusion Language Models Are Versatile Protein Learnerscited by 93
  10. 2024Variational Flow Matching for Graph Generationcited by 78
  11. 2013A Deep and Tractable Density Estimatorcited by 67
  12. 2022Training and Inference on Any-Order Autoregressive Models the Right Waycited by 64
  13. 2024DPLM-2: A Multimodal Diffusion Protein Language Modelcited by 59
  14. 2022From Denoising Diffusions to Denoising Markov Modelscited by 58
  15. 2024Informed Correctors for Discrete Diffusion Modelscited by 57
  16. 2024How Discrete and Continuous Diffusion Meet: Comprehensive Analysis of Discrete Diffusion Models via a Stochastic Integral Frameworkcited by 48
  17. 2024RiNALMo: General-Purpose RNA Language Models Can Generalize Well on Structure Prediction Taskscited by 31
  18. 2022Accurate RNA 3D structure prediction using a language model-based deep learning approachcited by 16
  19. 2021Discovering Non-monotonic Autoregressive Orderings with Variational Inferencecited by 15
  20. 2024Unified Discrete Diffusion for Categorical Datacited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 31; 2026: 48.

79 papers.

Sort:

By area:

  1. 2025Train for the Worst, Plan for the Best: Understanding Token Ordering in Masked Diffusionscited by 208
  2. 2025Accelerated Sampling from Masked Diffusion Models via Entropy Bounded Unmaskingcited by 128
  3. 2025Any-Order Flexible Length Masked Diffusioncited by 48
  4. 2025KLASS: KL-Guided Fast Inference in Masked Diffusion Modelscited by 44
  5. 2025Fine-Tuning Masked Diffusion for Provable Self-Correctioncited by 39
  6. 2025Plan for Speed: Dilated Scheduling for Masked Diffusion Language Modelscited by 34
  7. 2025A Survey on Parallel Text Generation: From Parallel Decoding to Diffusion Language Modelscited by 27
  8. 2025From Bits to Rounds: Parallel Decoding with Exploration for Diffusion Language Modelscited by 22
  9. 2025Unifying Autoregressive and Diffusion-Based Sequence Generationcited by 17
  10. 2025DiFFPO: Training Diffusion LLMs to Reason Fast and Furious via Reinforcement Learningcited by 17
  11. 2026Confidence-Based Decoding is Provably Efficient for Diffusion Language Modelscited by 17
  12. 2026The Flexibility Trap: Rethinking the Value of Arbitrary Order in Diffusion Language Modelscited by 16
38 more
  1. 2025Why Masking Diffusion Works: Condition on the Jump Schedule for Improved Discrete Diffusioncited by 14
  2. 2025Planner Aware Path Learning in Diffusion Language Models Trainingcited by 14
  3. 2025Parallel Sampling from Masked Diffusion Models via Conditional Independence Testingcited by 13
  4. 2025Error Bounds and Optimal Schedules for Masked Diffusions with Factorized Approximationscited by 13
  5. 2026Learn from Your Mistakes: Self-Correcting Masked Diffusion Modelscited by 12
  6. 2025Self-Speculative Masked Diffusionscited by 11
  7. 2025CreditDecoding: Accelerating Parallel Decoding in Diffusion Large Language Models with Trace Creditcited by 11
  8. 2026Why Diffusion Language Models Struggle with Truly Parallel (Non-Autoregressive) Decoding?cited by 11
  9. 2025Demystifying MaskGIT Sampler and Beyond: Adaptive Order Selection in Masked Diffusioncited by 10
  10. 2025dUltra: Ultra-Fast Diffusion Language Models via Reinforcement Learningcited by 10
  11. 2026CORE: Context-Robust Remasking for Diffusion Language Modelscited by 10
  12. 2025Simple and Critical Iterative Denoising: A Recasting of Discrete Diffusion in Graph Generationcited by 9
  13. 2025Enabling Approximate Joint Sampling in Diffusion LMscited by 9
  14. 2026Generation Order and Parallel Decoding in Masked Diffusion Models: An Information-Theoretic Perspectivecited by 9
  15. 2026Where-to-Unmask: Ground-Truth-Guided Unmasking Order Learning for Masked Diffusion Language Modelscited by 9
  16. 2025All-atom inverse protein folding through discrete flow matchingcited by 8
  17. 2026Stop Training for the Worst: Progressive Unmasking Accelerates Masked Diffusion Trainingcited by 8
  18. 2026DUEL: Exact Likelihood for Masked Diffusion via Deterministic Unmaskingcited by 8
  19. 2025Steering Generative Models with Experimental Data for Protein Fitness Optimizationcited by 7
  20. 2025On the Reasoning Abilities of Masked Diffusion Language Modelscited by 6
  21. 2025Decoding Large Language Diffusion Models with Foreseeing Movementcited by 6
  22. 2025Optimizing Decoding Paths in Masked Diffusion Models by Quantifying Uncertaintycited by 6
  23. 2026Unifying Masked Diffusion Models with Various Generation Orders and Beyondcited by 6
  24. 2026D3LM: A Discrete DNA Diffusion Language Model for Bidirectional DNA Understanding and Generationcited by 6
  25. 2026Hacking Generative Perplexity: Why Unconditional Text Evaluation Needs Distributional Metricscited by 6
  26. 2025Guided Star-Shaped Masked Diffusioncited by 5
  27. 2026Don't Retrain, Align: Adapting Autoregressive LMs to Diffusion LMs via Representation Alignmentcited by 5
  28. 2025RETRO SYNFLOW: Discrete Flow Matching for Accurate and Diverse Single-Step Retrosynthesiscited by 4
  29. 2025DiffGRM: Diffusion-based Generative Recommendation Modelcited by 4
  30. 2026Early Decisions Matter: Proximity Bias and Initial Trajectory Shaping in Non-Autoregressive Diffusion Language Modelscited by 4
  31. 2025Masked Diffusion Models are Secretly Learned-Order Autoregressive Modelscited by 3
  32. 2025Guided Transfer Learning for Discrete Diffusion Modelscited by 3
  33. 2025Diffusion Language Model Inference with Monte Carlo Tree Searchcited by 3
  34. 2026ILRR: Inference-Time Steering Method for Masked Diffusion Language Modelscited by 3
  35. 2026TABES: Trajectory-Aware Backward-on-Entropy Steering for Masked Diffusion Modelscited by 3
  36. 2026Reward-Guided Discrete Diffusion via Clean-Sample Markov Chain for Molecule and Biological Sequence Designcited by 3
  37. 2026Expert-Choice Routing Enables Adaptive Computation in Diffusion Language Modelscited by 3
  38. 2026Discrete-WAM: Unified Discrete Vision-Action Token Editing for World-Policy Learningcited by 3

50 most cited of 79 All 79 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2025Beyond Masked and Unmasked: Discrete Diffusion Models via Partial Masking
  2. 2025Bringing Stability to Diffusion: Decomposing and Reducing Variance of Training Masked Diffusion Models
  3. 2025MDPO: Overcoming the Training-Inference Divide of Masked Diffusion Language Models
  4. 2025Remasking Discrete Diffusion Models with Inference-Time Scaling
  5. 2025Pretrained Diffusion Models Are Inherently Skipped-Step Samplers
  6. 2026Chain-of-Trajectories: Unlocking the Intrinsic Generative Optimality of Diffusion Models via Graph-Theoretic Planning
  7. 2026IDRF: Inverse-Distilled Reward Fine-tuning of Masked Discrete Diffusion Models
  8. 2026Adaptive Order Policies for Masked Diffusion