Lune

EMNLP2025Top-tier venue

Flexible-length Text Infilling for Discrete Diffusion Models

Andrew Zhang, Anushka Sivakumar, Chia-Wei Tang, Chris Thomas

Abstract

Discrete diffusion models are a new class of text generators that offer advantages such as bidirectional context use, parallelizable generation, and flexible prompting compared to autoregressive models. However, a critical limitation of discrete diffusion models is their inability to perform flexible-length or flexible-position text infilling without access to ground-truth positional data. We introduce DDOT (Discrete Diffusion with Optimal Transport Position Coupling), the first discrete diffusion model to overcome this challenge. DDOT jointly denoises token values and token positions, employing a novel sample-level Optimal Transport (OT) coupling. This coupling preserves relative token ordering while dynamically adjusting the positions and length of infilled segments, a capability previously missing in text diffusion. Our method is orthogonal to existing discrete text diffusion methods and is compatible with various pretrained text denoisers. Extensive experiments on text infilling benchmarks such as One-Billion-Word and Yelp demonstrate that DDOT outperforms naive diffusion baselines. Furthermore, DDOT achieves performance on par with state-of-the-art non-autoregressive models and enables significant improvements in training efficiency and flexibility.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Locally Coherent Parallel Decoding in Diffusion Language Models cites Simplified and Generalized Masked Diffusion for Discrete Data
  • Locally Coherent Parallel Decoding in Diffusion Language Models cites Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution
  • Diff4TST: Masked Diffusion Language Model for Text Style Transfer cites Structured Denoising Diffusion Models in Discrete State-Spaces
  • DreamOn: Diffusion Language Models For Code Infilling Beyond Fixed-size Canvas cites Structured Denoising Diffusion Models in Discrete State-Spaces
  • DreamOn: Diffusion Language Models For Code Infilling Beyond Fixed-size Canvas cites Simplified and Generalized Masked Diffusion for Discrete Data
  • DreamOn: Diffusion Language Models For Code Infilling Beyond Fixed-size Canvas cites Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution
  • Simplified and Generalized Masked Diffusion for Discrete Data cites Structured Denoising Diffusion Models in Discrete State-Spaces
  • Simplified and Generalized Masked Diffusion for Discrete Data cites Scalable Diffusion Models with Transformers
  • Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution cites Structured Denoising Diffusion Models in Discrete State-Spaces
  • Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution cites Scalable Diffusion Models with Transformers
  • Rainbow Padding: Mitigating Early Termination in Instruction-Tuned Diffusion LLMs cites Structured Denoising Diffusion Models in Discrete State-Spaces
  • Rainbow Padding: Mitigating Early Termination in Instruction-Tuned Diffusion LLMs cites Scalable Diffusion Models with Transformers
  • Rainbow Padding: Mitigating Early Termination in Instruction-Tuned Diffusion LLMs cites DreamOn: Diffusion Language Models For Code Infilling Beyond Fixed-size Canvas
  • Rainbow Padding: Mitigating Early Termination in Instruction-Tuned Diffusion LLMs cites Simplified and Generalized Masked Diffusion for Discrete Data
  • Rainbow Padding: Mitigating Early Termination in Instruction-Tuned Diffusion LLMs cites Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. DreamOn: Diffusion Language Models For Code Infilling Beyond Fixed-size CanvasZirui Wu, Lin Zheng, Zhihui Xie, Jiacheng Ye et al.ICLR 2026 · 33 citations
  2. Rainbow Padding: Mitigating Early Termination in Instruction-Tuned Diffusion LLMsBumjun Kim, Dongjae Jeon, Dueun Kim, Wonje Jeung et al.ICLR 2026 · 11 citations
  3. Locally Coherent Parallel Decoding in Diffusion Language ModelsMichael Hersche, Nicolas Menet, Ronan Tanios, Abbas RahimiICML 2026 · 1 citation
  4. Diff4TST: Masked Diffusion Language Model for Text Style TransferXinchen Ma, Gaole He, Yunshi Lan, Weining QianACL 2026

Builds on13

  1. Scalable Diffusion Models with TransformersWilliam Peebles, Saining XieICCV 2023 · 5,568 citations
  2. Deberta: decoding-Enhanced Bert with Disentangled AttentionPengcheng He, Xiaodong Liu, Jianfeng Gao, Weizhu ChenICLR 2021 · 3,729 citations
  3. Structured Denoising Diffusion Models in Discrete State-SpacesJacob Austin, Daniel D. Johnson, Jonathan Ho, Daniel Tarlow et al.NeurIPS 2021 · 2,256 citations
  4. Simplified and Generalized Masked Diffusion for Discrete DataJiaxin Shi, Kehang Han, Zhe Wang, Arnaud Doucet et al.NeurIPS 2024 · 693 citations
  5. Discrete Diffusion Modeling by Estimating the Ratios of the Data DistributionAaron Lou, Chenlin Meng, Stefano ErmonICML 2024 · 473 citations

Related papers

  1. DiffusER: Diffusion via Edit-based ReconstructionMachel Reid, Vincent Josua Hellendoorn, Graham NeubigICLR 2023 · 8 citations
  2. Think while You Generate: Discrete Diffusion with Planned DenoisingSulin Liu, Juno Nam, Andrew Campbell, Hannes Stärk et al.ICLR 2025
  3. Unifying Continuous and Discrete Text Diffusion with Non-simultaneous Diffusion ProcessesBocheng Li, Zhujin Gao, Linli XuACL 2025
  4. Denoising Token Prediction in Masked Autoregressive ModelsTing Yao, Yehao Li, Yingwei Pan, Zhaofan Qiu et al.ICCV 2025 · 2 citations
  5. Beyond Text-to-Image: Liberating Generation with a Unified Discrete Diffusion ModelQingyu Shi, Jinbin Bai, Zhuoran Zhao, Wenhao Chai et al.ICLR 2026 · 40 citations
Dusk over the sea between two cliffs drawn in fine vertical lines