Flexible-length Text Infilling for Discrete Diffusion Models
Andrew Zhang, Anushka Sivakumar, Chiawei Tang, Chris Thomas

TL;DR
This paper introduces DDOT, a novel discrete diffusion model that enables flexible-length text infilling by jointly denoising tokens and their positions using optimal transport, improving flexibility and efficiency over previous methods.
Contribution
DDOT is the first discrete diffusion model to perform flexible-length text infilling by coupling token values and positions with optimal transport, enhancing adaptability and performance.
Findings
Outperforms naive diffusion baselines on text infilling benchmarks.
Achieves performance comparable to state-of-the-art non-autoregressive models.
Enables significant improvements in training efficiency and flexibility.
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 \textbf{DDOT} (\textbf{D}iscrete \textbf{D}iffusion with \textbf{O}ptimal \textbf{T}ransport 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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsNatural Language Processing Techniques · Music and Audio Processing · Human Motion and Animation
MethodsDiffusion
