mlsanityData to 14 Oct 2026

Flexible-length Text Infilling for Discrete Diffusion Models

arXiv 2506.13579 ↗First posted 16 Jun 2025cs.LG cs.AI cs.CLcited by 12

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

  1. 2024Simple and Effective Masked Diffusion Language Models11 Jun
  2. 2024Simplified and Generalized Masked Diffusion for Discrete Data6 Jun
  3. 2023Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution25 Oct

Other references · 22

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  5. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  6. 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 3,700
  7. 2013Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distancescited by 2,316
  8. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,181
  9. 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,719
  10. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
  11. 2022Building Normalizing Flows with Stochastic Interpolantscited by 995
  12. 2023Improving and generalizing flow-based generative models with minibatch optimal transportcited by 879
10 more
  1. 2021Argmax Flows and Multinomial Diffusion: Learning Categorical Distributionscited by 574
  2. 2024Discrete Flow Matchingcited by 317
  3. 2017Lexically Constrained Decoding for Sequence Generation Using Grid Beam Searchcited by 237
  4. 2019Insertion Transformer: Flexible Sequence Generation via Insertion Operationscited by 125
  5. 2018CGMH: Constrained Sentence Generation by Metropolis-Hastings Samplingcited by 94
  6. 2024How Discrete and Continuous Diffusion Meet: Comprehensive Analysis of Discrete Diffusion Models via a Stochastic Integral Frameworkcited by 48
  7. 2016Sequence to Backward and Forward Sequences: A Content-Introducing Approach to Generative Short-Text Conversationcited by 35
  8. 2021Parallel Refinements for Lexically Constrained Text Generation with BARTcited by 24
  9. 2021InsNet: An Efficient, Flexible, and Performant Insertion-based Text Generation Modelcited by 14
  10. 2022AutoTemplate: A Simple Recipe for Lexically Constrained Text Generationcited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 10.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Unifying Continuous and Discrete Text Diffusion with Non-simultaneous Diffusion Processes
  2. 2023Can Diffusion Model Achieve Better Performance in Text Generation? Bridging the Gap between Training and Inference!
  3. 2025Simple Denoising Diffusion Language Models
  4. 2026Drifting Objectives for Refining Discrete Diffusion Language Models
  5. 2026The Safety-Aware Denoiser for Text Diffusion Models
  6. 2025FS-DFM: Fast and Accurate Long Text Generation with Few-Step Diffusion Language Models
  7. 2022Self-conditioned Embedding Diffusion for Text Generation
  8. 2025On the Role of Discreteness in Diffusion LLMs