Any-Order Flexible Length Masked Diffusion
Jaeyeon Kim, Cheuk Lee Kit, Carles Domingo-Enrich, Yilun Du, Sham M. Kakade, Timothy Ngotiaoco, Sitan Chen, Michael S. Albergo
摘要
Masked diffusion models (MDMs) have recently emerged as a promising alternative to autoregressive models over discrete domains. MDMs generate sequences in an any-order, parallel fashion, enabling fast inference and strong performance on non-causal tasks. However, a crucial limitation is that they do not support token insertions and are thus limited to fixed-length generations. To this end, we introduce Flexible Masked Diffusion Models (FlexMDMs), a discrete diffusion paradigm that simultaneously can model sequences of flexible length while provably retaining MDMs' flexibility of any-order inference. Grounded in an extension of the stochastic interpolant framework, FlexMDMs generate sequences by inserting mask tokens and unmasking them. Empirically, we show that FlexMDMs match MDMs in perplexity while modeling length statistics with much higher fidelity. On a synthetic maze planning task, they achieve ≈ 60% higher success rate than MDM baselines. Finally, we show pretrained MDMs can easily be retrofitted into FlexMDMs: on 16 H100s, it takes only three days to fine-tune LLaDA-8B into a FlexMDM, achieving superior performance on math (GSM8K, 58%→67%) and code infilling performance (52%→65%). Lee Cheuk-Kit led the theoretical development of the method and engineering effort; Jaeyeon Kim led experiment development and paper presentation. † lead senior authors.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 17 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Structured Denoising Diffusion Models in Discrete State-Spaces 引用了 Denoising Diffusion Probabilistic Models
- Beyond Masks: Efficient, Flexible Diffusion Language Models via Deletion-Insertion Processes 引用了 Structured Denoising Diffusion Models in Discrete State-Spaces
- Beyond Masks: Efficient, Flexible Diffusion Language Models via Deletion-Insertion Processes 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Beyond Masks: Efficient, Flexible Diffusion Language Models via Deletion-Insertion Processes 引用了 Scalable Diffusion Models with Transformers
- Beyond Masks: Efficient, Flexible Diffusion Language Models via Deletion-Insertion Processes 引用了 DreamOn: Diffusion Language Models For Code Infilling Beyond Fixed-size Canvas
- Scalable Diffusion Models with Transformers 引用了 Denoising Diffusion Probabilistic Models
- CORE: Context-Robust Remasking for Diffusion Language Models 引用了 Structured Denoising Diffusion Models in Discrete State-Spaces
- CORE: Context-Robust Remasking for Diffusion Language Models 引用了 Denoising Diffusion Probabilistic Models
- DreamOn: Diffusion Language Models For Code Infilling Beyond Fixed-size Canvas 引用了 Structured Denoising Diffusion Models in Discrete State-Spaces
- Stop Training for the Worst: Progressive Unmasking Accelerates Masked Diffusion Training 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- Rainbow Padding: Mitigating Early Termination in Instruction-Tuned Diffusion LLMs 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- Rainbow Padding: Mitigating Early Termination in Instruction-Tuned Diffusion LLMs 引用了 Structured Denoising Diffusion Models in Discrete State-Spaces
- Rainbow Padding: Mitigating Early Termination in Instruction-Tuned Diffusion LLMs 引用了 Scalable Diffusion Models with Transformers
- Rainbow Padding: Mitigating Early Termination in Instruction-Tuned Diffusion LLMs 引用了 DreamOn: Diffusion Language Models For Code Infilling Beyond Fixed-size Canvas
- Rainbow Padding: Mitigating Early Termination in Instruction-Tuned Diffusion LLMs 引用了 Denoising Diffusion Probabilistic Models
引用它的顶会 Paper17
- DreamOn: Diffusion Language Models For Code Infilling Beyond Fixed-size CanvasZirui Wu, Lin Zheng, Zhihui Xie, Jiacheng Ye 等ICLR 2026 · 33 次引用
- Rainbow Padding: Mitigating Early Termination in Instruction-Tuned Diffusion LLMsBumjun Kim, Dongjae Jeon, Dueun Kim, Wonje Jeung 等ICLR 2026 · 11 次引用
- CORE: Context-Robust Remasking for Diffusion Language ModelsKevin Zhai, Sabbir Mollah, Zhenyi Wang, Mubarak ShahICML 2026 · 10 次引用
- Stop Training for the Worst: Progressive Unmasking Accelerates Masked Diffusion TrainingJaeyeon Kim, Jonathan Geuter, David Alvarez-Melis, Sham Kakade 等ICML 2026 · 8 次引用
- Beyond Masks: Efficient, Flexible Diffusion Language Models via Deletion-Insertion ProcessesFangyu Ding, Ding Ding, Sijin Chen, Kaibo Wang 等ICLR 2026 · 7 次引用
它引用的 Paper39
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 次引用
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
- Scalable Diffusion Models with TransformersWilliam Peebles, Saining XieICCV 2023 · 5,568 次引用
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
- Structured Denoising Diffusion Models in Discrete State-SpacesJacob Austin, Daniel D. Johnson, Jonathan Ho, Daniel Tarlow 等NeurIPS 2021 · 2,256 次引用
相关 Paper
- Train for the Worst, Plan for the Best: Understanding Token Ordering in Masked DiffusionsJaeyeon Kim, Kulin Shah, Vasilis Kontonis, Sham M. Kakade 等ICML 2025
- On Powerful Ways to Generate: Autoregression, Diffusion, and BeyondChenxiao Yang, Cai Zhou, David Wipf, Zhiyuan LiICLR 2026 · 7 次引用
- SPMDM: Enhancing Masked Diffusion Models through Simplifying Sampling PathYichen Zhu, Weiyu Chen, James Kwok, Zhou ZhaoNeurIPS 2025 · 1 次引用
- Insertion Based Sequence Generation with Learnable Order DynamicsDhruvesh Patel, Benjamin Rozonoyer, Gaurav Pandey, Tahira Naseem 等ICML 2026 · 1 次引用
- Diffusion LLMs Can Do Faster-Than-AR Inference via Discrete Diffusion ForcingXu Wang, Chenkai Xu, Yijie Jin, Jiachun Jin 等ICLR 2026 · 116 次引用
