NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DEdit: Iterative Draft Editing for Speculative Decoding

Longxuan Yu, Bingsen Chen, Peng Shi, Dongkyu Lee, Yi Xiang, Hideo Kobayashi, Sheng Zhang, Shuaichen Chang, Xing Niu, Zhuoyan Xu, Greg Ver Steeg, Jiarong JiangarXiv 2026

TL;DR

DEdit is a novel diffusion-based drafter for speculative decoding that moves beyond one-shot generation to iterative editing. By using bidirectional context to refine its own proposals before the target model sees them, DEdit can repair early errors that would otherwise invalidate an entire draft, achieving inference speedups of up to 5.97× on Qwen3 models.

What Problem Does This Paper Address?

Autoregressive Large Language Models (LLMs) are notoriously slow because they generate text one token at a time. Speculative decoding speeds this up by using a small "drafter" model to guess a sequence of tokens, which the large "target" model then verifies in a single parallel pass.

However, modern parallel drafters (like those based on diffusion) predict all tokens in a draft window independently. This creates a "fragile prefix" problem: if the drafter makes a mistake on the very first token, the target model's verification protocol immediately rejects the entire rest of the draft—even if the subsequent tokens were actually correct. Standard verification is strictly causal and discards any "correct future tokens" that follow a single mismatch.

Figure 1: DFlash fails on an early error, while DEdit uses bidirectional editing to fix the mistake and extend the accepted prefix.

Methods

The authors introduce DEdit, a drafter that doesn't just generate; it revises.

  1. Iterative Proposal Editing: Instead of a single forward pass, DEdit performs $K$ passes. The first pass generates an initial draft from masked inputs. Subsequent passes use the same model to refine the draft. Crucially, DEdit uses bidirectional attention, allowing later tokens in the draft to provide context for repairing earlier errors.
  2. ProposalMix Training: To teach the model how to edit effectively, the authors developed a training scheme called ProposalMix. During training, the model's first-pass predictions are mixed with ground-truth tokens based on confidence scores. This exposes the "editor" to realistic model errors while providing enough correct context to learn how to fix them without "breaking" parts of the draft that are already correct.
  3. Window Expansion: The authors found that wider drafting windows (e.g., 32 tokens instead of 16) are significantly more useful when the model can edit. They use a continued training strategy to adapt the drafter to these larger windows.
Figure 2: The DEdit pipeline showing (a) iterative editing during inference and (b) the ProposalMix training objective.

Datasets

The models were trained on an 800K target-aligned corpus consisting of prompts from Nemotron and CodeAlpaca, with responses generated by the target Qwen3 models.

Evaluation was conducted across seven diverse benchmarks:

  • Math: GSM8K, MATH-500, AIME25.
  • Code: HumanEval, MBPP, LiveCodeBench (LCB).
  • Chat: MT-Bench.

The authors also used diagnostic tasks like "Copy-heavy" (a synthetic task requiring exact replication with one change) to measure how much the model relies on future context.

Key Insights and Ideas

  • Future Context is a Superpower: Unlike causal correctors (like Domino) that only look at the past, DEdit’s bidirectional nature allows it to use "correct future tokens" to fix "broken past tokens." The paper demonstrates that DEdit’s advantage grows linearly with the number of correct tokens available later in the draft.
  • Editing > Better Initial Guessing: DEdit uses the same architecture as DFlash for its first pass. The performance gains come almost entirely from the editing steps, proving that refinement is a more efficient path to high acceptance rates than trying to get a perfect zero-shot parallel prediction.
  • ProposalMix Prevents Regression: A major risk in iterative editing is "harmful edits"—changing a correct token into an incorrect one. ProposalMix halves the frequency of these harmful edits compared to standard training, ensuring that editing passes actually extend the accepted prefix.

Key Results

DEdit consistently outperformed existing drafters like DFlash, DSpark, and Domino across all benchmarks and model sizes (Qwen3-4B and 8B).

  • Speedup: Under greedy decoding, DEdit achieved a macro-average speedup of 5.72× on Qwen3-4B and 5.97× on Qwen3-8B compared to standard autoregressive generation.
  • Token Acceptance ($\tau$): DEdit reached a mean token acceptance of 7.75 per round on Qwen3-8B, a significant jump over the next best baseline (DSpark at 7.20).
  • Efficiency Trade-off: While each editing pass adds a small amount of drafting latency, the increase in the number of accepted tokens per round more than compensates for it, especially when using execution optimizations like CUDA Graphs.
Table 1: Main results showing DEdit achieving the highest speedup and token acceptance across all categories.

Limitations and Future Work

  • Single-Request Focus: The current evaluation focuses on single-request latency. In high-throughput production environments with continuous batching, the overhead of multiple drafting passes might be harder to hide.
  • Fixed Editing Passes: Currently, DEdit performs a fixed number of editing passes. The authors suggest that "early exiting"—skipping editing passes when the draft is already high-confidence—could further optimize performance.
  • Scaling to Larger Targets: The study evaluated targets up to 8B parameters. Testing DEdit against much larger models (70B+) remains a direction for future research.

Summary updated

BibTeX
@misc{yu2026dedit,
  author = {Longxuan Yu and Bingsen Chen and Peng Shi and Dongkyu Lee and Yi Xiang and Hideo Kobayashi and Sheng Zhang and Shuaichen Chang and Xing Niu and Zhuoyan Xu and Greg Ver Steeg and Jiarong Jiang},
  title = {{DEdit: Iterative Draft Editing for Speculative Decoding}},
  year = {2026},
  eprint = {2609.38510},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.38510},
}
Figure