Beyond Replacement: Levenshtein Editing for Diffusion Language Models
On the map: Diffusion models → Discrete and text diffusion
Abstract (arXiv)
Diffusion language models (DLMs) offer a flexible alternative to autoregressive models, enabling any-order infilling. While most existing decoding methods treat decoded tokens as fixed, some recent models allow previously decoded tokens to be revised only by replacing them with alternative tokens, a paradigm we refer to as replacement-only editing (ROE). Although ROE can correct individual tokens, it is inefficient for sequence shifts caused by missing or extra tokens and struggles when errors occur across many positions. To address these limitations, we propose LED (Levenshtein Editing for Diffusion Language Models), a post-training framework that extends ROE with insertion and deletion, enabling Levenshtein-style refinement of generated sequences. It uses two training designs. First, it reconstructs edit supervision on the fly during supervised fine-tuning using longest-common-subsequence alignment, enabling insertion and deletion learning without manually annotated labels. Second, it adopts multi-stage training, where the state from one stage becomes the input to the next, exposing the model to its earlier errors and enabling it to correct them. When applied to the 16B-parameter LLaDA2.1-Mini Base, LED raises the average score across twelve benchmarks from 54.86 to 57.10 under confidence-guided decoding while increasing tokens per forward from 6.14 to 7.05, whereas under confidence-free decoding it raises the average score from 27.52 to 47.19. We further show that LED achieves higher pass@k at large k than thresholded decoding without editing, demonstrating improved generation diversity and revealing the diversity potential of DLMs without confidence guidance. LED also improves robustness to large block sizes, raising the average score from 36.97 to 51.34 at block size 128. Together, these results suggest that LED supports more robust self-correction in DLMs.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Discrete and text diffusion, one of 14 directions in Diffusion models. Builds on 36 of its 39 references that are in the map. Submitted 18 Nov 2026, announced 19 Nov 2026.
Builds on
36 of 39 references.
Closest ancestors · 20
Same direction, newest first
- 2026VGB for Masked Diffusion Model: Efficient Test-time Scaling for Reward Satisfaction and Sample Editing26 Jun
- 2026Re-evaluating Confidence Remasking in Masked Diffusion Language Models10 Jun
- 2026Edit-Based Refinement for Parallel Masked Diffusion Language Models10 May
- 2026A Tale of Two Temperatures: Simple, Efficient, and Diverse Sampling from Diffusion Language Models10 Apr
- 2026Beyond Masks: Efficient, Flexible Diffusion Language Models via Deletion-Insertion Processes4 Mar
- 2026LLaDA2.1: Speeding Up Text Diffusion via Token Editing9 Feb
- 2026CORE: Context-Robust Remasking for Diffusion Language Models4 Feb
- 2026DreamOn: Diffusion Language Models For Code Infilling Beyond Fixed-size Canvas1 Feb
- 2026Residual Context Diffusion Language Models30 Jan
- 2026The Flexibility Trap: Rethinking the Value of Arbitrary Order in Diffusion Language Models21 Jan
- 2025Learning Unmasking Policies for Diffusion Language Models9 Dec
- 2025Don't Settle Too Early: Self-Reflective Remasking for Diffusion Language Models28 Sep
8 more
- 2025Any-Order Flexible Length Masked Diffusion31 Aug
- 2025Block Diffusion: Interpolating Between Autoregressive and Diffusion Language Models12 Mar
- 2025Remasking Discrete Diffusion Models with Inference-Time Scaling1 Mar
- 2025Large Language Diffusion Models14 Feb
- 2024Scaling up Masked Diffusion Models on Text24 Oct
- 2024Scaling Diffusion Language Models via Adaptation from Autoregressive Models23 Oct
- 2024Simple and Effective Masked Diffusion Language Models11 Jun
- 2024Simplified and Generalized Masked Diffusion for Discrete Data6 Jun
Other references · 16
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 3,191
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,243
- 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 2,076
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,530
- 2023Instruction-Following Evaluation for Large Language Modelscited by 1,433
- 2024OlympiadBench: A Challenging Benchmark for Promoting AGI with Olympiad-Level Bilingual Multimodal Scientific Problemscited by 1,230
- 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakescited by 1,201
- 2023C-Eval: A Multi-Level Multi-Discipline Chinese Evaluation Suite for Foundation Modelscited by 746
- 2025Fast-dLLM: Training-free Acceleration of Diffusion LLM by Enabling KV Cache and Parallel Decodingcited by 489
- 2019Levenshtein Transformercited by 210
- 2025d1: Scaling Reasoning in Diffusion Large Language Models via Reinforcement Learningcited by 206
- 2024GSM-Plus: A Comprehensive Benchmark for Evaluating the Robustness of LLMs as Mathematical Problem Solverscited by 168
4 more
- 2024KOR-Bench: Benchmarking Language Models on Knowledge-Orthogonal Reasoning Taskscited by 74
- 2025Sparse-dLLM: Accelerating Diffusion LLMs with Dynamic Cache Evictioncited by 74
- 2025Wide-In, Narrow-Out: Revokable Decoding for Efficient and Effective DLLMscited by 59
- 2026LightningRL: Breaking the Accuracy-Parallelism Trade-off of Block-wise dLLMs via Reinforcement Learningcited by 8
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026DELA: Learning Controllable Edits for Diffusion Language Models
- 2026Remask, Don't Replace: Token-to-Mask Refinement in Diffusion Language Models
- 2025Corrective Diffusion Language Models
- 2026Targeted Remasking: Replacing Token Editing with Token-to-Mask Refinement in Discrete Diffusion Language Models
- 2026LED: Improving Masked Diffusion Language Models by Lookahead Editing
- 2026Closing Performance Gap for Diffusion Language Models under Low Inference Budgets
- 2026Don't Retrain, Align: Adapting Autoregressive LMs to Diffusion LMs via Representation Alignment
- 2026Enhancing Diffusion Language Models with Autoregressive Post-Training Weights