Machine Learning PapersLandmark papers
← All papers
RESEARCH PAPER / 2026-10-16

LED: Improving Masked Diffusion Language Models by Lookahead Editing

Yuyan Zhou, Zeyuan Yang, Yuxuan Song ...Full author list in the original paper.

University of Cambridge +1 · arXiv

Affiliations: University of Cambridge, NVIDIA

Abstract

Diffusion large language models (dLLMs) have emerged as a promising alternative to autoregressive language models, enabling non-autoregressive text generation through parallel decoding. Existing dLLMs can be broadly categorized into two families: masked diffusion models (MDMs) and uniform diffusion models (UDMs) In this work, we theoretically show that MDMs are easier to optimize due to their mask-based transition schedule but have lower computational expressivity, whereas UDMs enable iterative state revision and greater expressivity but are substantially harder to train. This trade-off raises a natural question: can we obtain the expressivity of iterative revision without giving up the simple, easy-to-optimize transition schedule of MDMs? Motivated by this analysis, we propose Lookahead Editing (\ours{}), which augments masked diffusion decoding with a rewritable proposal state. At each decoding step, the model performs several lookahead updates to iteratively refine future predictions in this proposal state before committing tokens to the masked sequence. This design introduces a rewritable proposal that uses additional compute to improve expressivity while keeping the simple mask-based transition schedule of MDMs. We fine-tune Qwen2.5-7B and Qwen3-8B to obtain LED-\texttt{7B} and LED-\texttt{8B}, respectively. Across eight benchmarks, LED SFT yields average gains of $+11.4$ and $+7.7$ points over standard MDM SFT. Moreover, using SFT alone, LED-\texttt{8B} outperforms LLaDA2.1-16B Q-mode, which is trained with continued pre-training, supervised fine-tuning, and reinforcement learning.

The following analysis is generated by AI and may contain errors. It is separate from the authors’ abstract and is not peer review.

Research summary

The paper introduces Lookahead Editing, a method that enhances masked diffusion language models by incorporating a rewritable proposal state to improve computational expressivity while maintaining optimization stability. It provides rigorous theoretical proofs regarding the circuit complexity of MDMs vs UDMs and demonstrates significant empirical gains in reasoning tasks, outperforming larger models trained with more complex pipelines.

Methodology

The paper proposes "Lookahead Editing" (LED), a decoding strategy for Masked Diffusion Language Models (MDMs) that introduces a rewritable proposal state. The core innovation is bridging the gap between the optimization simplicity of MDMs (which have a fixed, easy-to-learn transition schedule) and the computational expressivity of Uniform Diffusion Models (UDMs) (which allow iterative revision but are harder to train). Theoretically, the authors prove that MDMs are contained in $TC^0$ while UDMs can reach $NC^1$, justifying the need for iterative revision. The method involves a three-branch training setup (clean, masked, proposal) where the proposal branch is generated by a pretrained MDM, allowing the model to learn to correct errors in the proposal. At inference, the model performs $K$ lookahead steps to refine the proposal before committing tokens. This is a clever architectural/algorithmic modification that preserves the training stability of MDMs while gaining the benefits of iterative refinement.

Results & evaluation

The experiments are conducted on Qwen2.5-7B and Qwen3-8B models. The results show significant improvements over standard MDM SFT baselines (+11.4 and +7.7 points average across 8 benchmarks). Notably, LED-8B outperforms LLaDA2.1-16B, which uses a more complex post-training pipeline (CPT + SFT + RL), using only SFT. The speed-accuracy trade-off analysis demonstrates that LED offers a better Pareto front than existing dLLMs. The benchmarks cover math, science, and code, providing a comprehensive evaluation of reasoning capabilities.

Reproducibility

The paper provides detailed pseudocode for both training and inference. The hyperparameters (block size, batch size, learning rate) are specified. However, the specific datasets used for SFT are listed as open-source, but the exact mixture ratios and preprocessing steps are not fully detailed in the provided text. The reliance on a pretrained MDM for generating proposals adds a dependency that must be managed, but the overall procedure is clearly defined.

Limitations

The method requires an additional forward pass (or multiple, depending on $K$) for the proposal generation, which increases inference latency compared to standard MDMs, although the paper argues this is offset by the ability to use fewer decoding steps or higher throughput at matched accuracy. The theoretical analysis, while rigorous, relies on specific assumptions about the circuit complexity of transformers that may not hold for all practical implementations. The performance gains are observed on specific benchmarks (math/code), and generalization to other domains (e.g., creative writing, long-form generation) is not explicitly tested.

Broader impact

This work contributes to the growing field of diffusion-based language models, offering a practical way to improve their reasoning capabilities without abandoning the stable training dynamics of masked diffusion. The theoretical insights into the optimization-expressivity trade-off are valuable for the community. The ability to outperform larger, more complexly trained models with a simpler SFT recipe suggests that architectural/decoding innovations can be as impactful as data scaling or RL. The paper introduces Lookahead Editing, a method that enhances masked diffusion language models by incorporating a rewritable proposal state to improve computational expressivity while maintaining optimization stability. It provides rigorous theoretical proofs regarding the circuit complexity of MDMs vs UDMs and demonstrates significant empirical gains in reasoning tasks, outperforming larger models trained with more complex pipelines.

Author of this paper? Send a correction.