Speculative Decoding vs. Text Diffusion: How LLM Generation Is Evolving
Speculative decoding accelerates autoregressive generation, while text diffusion takes a different approach through parallel, iterative denoising. This article explains how multi-token prediction fits into speculative decoding, examines the limits of draft-based acceleration, and distinguishes both generation approaches from quantization-aware training. It also highlights why performance must be evaluated under real workloads.
Generation speed is a key factor in whether large language models can be deployed at scale. In recent years, decoding improvements have followed two main paths: accelerating autoregressive generation with draft tokens, and exploring a different generation paradigm—text diffusion.
Quantization-aware training (QAT) is often discussed alongside these approaches, but it addresses a different problem. Understanding these distinctions helps clarify what each technique changes and how to evaluate its practical benefits.
1. The Speed Bottleneck in Autoregressive Decoding
Standard autoregressive models generate text from left to right. At each step, the model predicts one token based on the existing context. Every new token requires a full forward pass, so longer outputs mean higher total latency.
During small-batch decoding, GPU compute units often spend time waiting for data, and GPU memory access can become the bottleneck before computation does.
2. Multi-Token Prediction and Speculative Decoding: Related but Different
Multi-token prediction (MTP) is a training objective or model architecture design. Instead of predicting only the next token at each position, the model predicts several future tokens simultaneously.
During training, multiple prediction heads provide additional supervision. During inference, these heads can also propose candidate tokens.
Speculative decoding, by contrast, is a decoding framework with three stages:
- Draft: A small draft model, or additional prediction heads in the main model, proposes k candidate tokens.
- Verify: The main model evaluates the probabilities at those k positions in parallel during a single forward pass.
- Accept or reject: The candidates are checked sequentially according to an acceptance rule. Accepted tokens are retained. At the first rejected position, a token is sampled from a corrected distribution, and the remaining candidates are discarded.
With the standard speculative sampling algorithm, the output distribution is mathematically identical to direct sampling from the main model. This preserves sampling quality rather than trading it for speed.
The relationship is straightforward: MTP can supply draft tokens; speculative decoding provides the procedure for using them. Using a model’s own built-in MTP heads to generate drafts is commonly called self-speculative decoding.
Why More Draft Tokens Do Not Guarantee More Speed
The potential speedup has limits. Suppose each candidate token has an acceptance probability of α, each round proposes k candidates, and acceptance events at different positions are independent. The expected number of tokens produced per round is:
(1 − α^(k+1)) / (1 − α)
At an acceptance rate of 0.8:
- Proposing four candidates produces approximately 3.4 tokens per round.
- Proposing eight candidates produces approximately 4.3 tokens per round.
Increasing the draft length therefore yields diminishing returns. Draft generation also has its own computational cost.
Actual speedups tend to decrease when acceptance rates fall, the draft model grows larger, or batch size increases. Performance should therefore be measured under real workloads, not inferred solely from theoretical token counts.
3. Text Diffusion: Parallel Generation Through Iterative Denoising
Text diffusion models apply discrete diffusion processes to language generation. One common approach is masked diffusion.
During training, the model learns to reconstruct randomly masked tokens from the visible content. During inference, it starts with a fully masked token canvas. At each step, it predicts tokens at all positions simultaneously, retains high-confidence predictions, and masks the remaining positions again for the next step. After several iterations, all tokens in the canvas are determined.
This approach has three defining characteristics:
- Parallel prediction within each step. Multiple token positions are processed simultaneously.
- An adjustable number of denoising steps. Fewer steps improve speed, while more steps generally improve quality, creating a speed–quality trade-off.
- Block-based generation in practical systems. Long text is often divided into blocks that are generated sequentially, with parallel denoising inside each block.
Block length, denoising step count, remasking strategy, and confidence thresholds all affect speed and quality.
An analogy with image diffusion can help build intuition: the process gradually moves from an uncertain initial state toward a resolved output. However, text consists of discrete symbols. Each step works with token probability distributions rather than continuous pixel values, so the analogy should be treated only as an introductory explanation.
What Published Research Establishes
Public research, including LLaDA work released in 2025, has demonstrated the feasibility of training large masked diffusion language models from scratch. Some benchmarks reported results comparable to similarly sized autoregressive models.
Those findings depend on the training configuration and evaluation datasets. They should not be generalized to every task.
For a particular model’s parameter count, active parameters, layer count, or context window, consult the official model card or release documentation and check the publication date and configuration version. No unverified model specifications are cited here.
4. QAT: An Optimization Technique, Not a Generation Paradigm
Quantization-aware training simulates the rounding errors introduced by low-bit quantization during training. The forward pass uses quantized weights or activations. During backpropagation, methods such as the straight-through estimator (STE) approximate gradients, allowing the weights to learn to preserve accuracy under quantization noise.
QAT is independent of the generation paradigm. It addresses quantization-related accuracy, rather than defining how tokens are generated.
