TL;DR
TeCoP is a training-free decoding method that speeds up Diffusion Large Language Models (dLLMs) by up to 11.77x. It achieves this by pipelining multiple blocks of text in parallel and reusing stable but uncommitted predictions as "tentative" context, effectively unlocking the parallel generation potential that standard decoders leave on the table.
What Problem Does This Paper Address?
Unlike standard autoregressive LLMs that generate text strictly one token at a time, Diffusion LLMs (dLLMs) can theoretically predict many tokens simultaneously across a sequence. However, this parallel potential is largely wasted by current "block-wise" decoders.
Existing decoders typically process text in sequential blocks, only moving to the next block once the current one is fully resolved. They use very conservative rules, only "committing" tokens that meet a high confidence threshold. This creates a bottleneck: many tokens outside the current active block reach high confidence early on, but they are discarded and recomputed in every subsequent forward pass because the decoder isn't "ready" to commit them yet.
The authors identify a fundamental coupling in current designs: a prediction's readiness for commitment (being 100% sure it's right) is tied to its utility as context (being accurate enough to help predict other tokens). TeCoP aims to decouple these two roles.
Methods
TeCoP (Tentative Context Pipelining) introduces two main mechanisms that work on top of frozen, pre-trained dLLMs without any additional training:
- Pipelined Block Schedule: Instead of focusing on one block at a time, TeCoP maintains a sliding window of $K$ active blocks. A new block is "opened" as soon as the preceding block is partially completed (defined by an activation threshold $\alpha$). This allows the model to start working on future text while still refining the current section.
- Draft-and-Verify:
- Drafting: Predictions that are stable and meet a moderate "draft threshold" ($\tau_d$) are kept as tentative drafts.
- Tentative Context: These drafts are fed back into the model as context in the next round. Even if they aren't finalized, they provide enough signal to help neighboring tokens stabilize faster.
- Verification: A draft is officially committed if it remains consistent across rounds and meets a verification threshold ($\tau_v$), or if it hits the standard high-confidence commit threshold ($\tau$).
Datasets
The authors evaluated TeCoP across three diverse benchmarks using four different dLLM models (LLaDA and Dream families):
- GSM8K: Grade school math word problems (5-shot exact match).
- Minerva MATH: Harder mathematical reasoning (4-shot).
- MBPP: Python code generation (3-shot pass@1).
Key Insights and Ideas
- Context doesn't need to be perfect: A "mostly correct" token is often just as useful for guiding the generation of its neighbors as a "perfectly certain" one. By using tentative drafts as context, TeCoP reduces the "commit lag"—the number of steps a model spends re-predicting the same token before finally committing it.
- Stability is a strong signal: If a model predicts the same token for several rounds in a row, it's a very reliable indicator of correctness, even if the absolute confidence score is slightly below a strict threshold.
- Training-free acceleration: Unlike previous pipelining attempts that required distilling the model to handle noisy prefixes, TeCoP works entirely at inference time on frozen models.
Key Results
TeCoP sets new state-of-the-art performance for dLLM decoding efficiency:
- Throughput: Achieves up to 7.50x speedup without KV caching and 11.77x speedup with caching compared to the original uncached decoder.
- Efficiency: Reduces the number of forward evaluations (NFE) by up to 87%.
- Accuracy: Maintains high quality, with average accuracy staying within 1 percentage point of the original, much slower decoder.
- Comparison: Consistently outperforms other recent acceleration methods like Fast-dLLM and DSB across all tested models and benchmarks.
Limitations and Future Work
- Open-ended Generation: The current study focuses on reasoning and code (lower entropy). The authors note that high-entropy, open-ended generation (like creative writing) might reduce draft stability and increase error propagation.
- Sequence Length: While tested up to 512 tokens, extremely long sequences might face challenges with cumulative errors from tentative context.
- Future Directions: The team plans to investigate cross-domain draft stability and apply the method to a broader range of tasks and even longer generation lengths.
Summary updated