Flexible-length Text Infilling for Discrete Diffusion Models
On the map: Diffusion models → Discrete and text diffusion
Abstract (arXiv)
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.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Placed in Discrete and text diffusion, one of 14 directions in Diffusion models. Builds on 25 of its 39 references that are in the map. First posted on arXiv 16 Jun 2025.
Builds on
25 of 39 references.
Closest ancestors · 3
Same direction, newest first
- 2024Simple and Effective Masked Diffusion Language Models11 Jun
- 2024Simplified and Generalized Masked Diffusion for Discrete Data6 Jun
- 2023Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution25 Oct
Other references · 22
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 3,700
- 2013Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distancescited by 2,316
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,181
- 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,719
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
- 2022Building Normalizing Flows with Stochastic Interpolantscited by 995
- 2023Improving and generalizing flow-based generative models with minibatch optimal transportcited by 879
10 more
- 2021Argmax Flows and Multinomial Diffusion: Learning Categorical Distributionscited by 574
- 2024Discrete Flow Matchingcited by 317
- 2017Lexically Constrained Decoding for Sequence Generation Using Grid Beam Searchcited by 237
- 2019Insertion Transformer: Flexible Sequence Generation via Insertion Operationscited by 125
- 2018CGMH: Constrained Sentence Generation by Metropolis-Hastings Samplingcited by 94
- 2024How Discrete and Continuous Diffusion Meet: Comprehensive Analysis of Discrete Diffusion Models via a Stochastic Integral Frameworkcited by 48
- 2016Sequence to Backward and Forward Sequences: A Content-Introducing Approach to Generative Short-Text Conversationcited by 35
- 2021Parallel Refinements for Lexically Constrained Text Generation with BARTcited by 24
- 2021InsNet: An Efficient, Flexible, and Performant Insertion-based Text Generation Modelcited by 14
- 2022AutoTemplate: A Simple Recipe for Lexically Constrained Text Generationcited by 6
Built on by
Citing papers per year: 2025: 2; 2026: 10.
12 papers.
- 2026DreamOn: Diffusion Language Models For Code Infilling Beyond Fixed-size Canvascited by 19
- 2025Corrective Diffusion Language Modelscited by 11
- 2025Rainbow Padding: Mitigating Early Termination in Instruction-Tuned Diffusion LLMscited by 10
- 2026Where-to-Unmask: Ground-Truth-Guided Unmasking Order Learning for Masked Diffusion Language Modelscited by 9
- 2026Improving Variable-Length Generation in Diffusion Language Models via Length Regularizationcited by 4
- 2026Locally Coherent Parallel Decoding in Diffusion Language Modelscited by 3
- 2026Unlocking Prompt Infilling Capability for Diffusion Language Modelscited by 3
- 2026Neither Parallel Nor Sequential: How DiffusionGemma Actually Commits Tokenscited by 3
- 2026Diffusion LMs Can Approximate Optimal Infilling Lengths Implicitlycited by 2
- 2026GeoBlock: Inferring Block Granularity from Dependency Geometry in Diffusion Language Modelscited by 1
- 2026Reconsidering Positional Supervision in Masked Diffusion Language Model Trainingcited by 0
- 2026Diff Diffusion: Predicting Edit Paths with Diffusion Models for Efficient Code Editingcited by 0
- 2026Diff Diffusion: Predicting Edit Paths with Diffusion Models for Efficient Code Editing13 Oct 2026
- 2026Neither Parallel Nor Sequential: How DiffusionGemma Actually Commits Tokens12 Jun 2026
- 2026Unlocking Prompt Infilling Capability for Diffusion Language Models4 Apr 2026
- 2026GeoBlock: Inferring Block Granularity from Dependency Geometry in Diffusion Language Models4 Mar 2026
- 2026Locally Coherent Parallel Decoding in Diffusion Language Models3 Mar 2026
- 2026Where-to-Unmask: Ground-Truth-Guided Unmasking Order Learning for Masked Diffusion Language Models10 Feb 2026
- 2026Improving Variable-Length Generation in Diffusion Language Models via Length Regularization7 Feb 2026
- 2026DreamOn: Diffusion Language Models For Code Infilling Beyond Fixed-size Canvas1 Feb 2026
- 2026Diffusion LMs Can Approximate Optimal Infilling Lengths Implicitly31 Jan 2026
- 2026Reconsidering Positional Supervision in Masked Diffusion Language Model Training30 Jan 2026
- 2025Corrective Diffusion Language Models17 Dec 2025
- 2025Rainbow Padding: Mitigating Early Termination in Instruction-Tuned Diffusion LLMs4 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2025Unifying Continuous and Discrete Text Diffusion with Non-simultaneous Diffusion Processes
- 2023Can Diffusion Model Achieve Better Performance in Text Generation? Bridging the Gap between Training and Inference!
- 2025Simple Denoising Diffusion Language Models
- 2026Drifting Objectives for Refining Discrete Diffusion Language Models
- 2026The Safety-Aware Denoiser for Text Diffusion Models
- 2025FS-DFM: Fast and Accurate Long Text Generation with Few-Step Diffusion Language Models
- 2022Self-conditioned Embedding Diffusion for Text Generation
- 2025On the Role of Discreteness in Diffusion LLMs