Abstract
Diffusion Language Models (dLLMs) offer a parallel alternative to standard autoregressive decoding but are often constrained by a fixed, high number of refinement steps. This paper introduces SchED (Schedule-Based Early Decoding), a training-free algorithm that monitors model confidence and exits the decoding process early using a "progress-aware" schedule. By aggregating confidence across the entire answer span and employing adaptive thresholds, SchED achieves up to 4x speedups on instruction-tuned models with virtually no loss in accuracy.
Introduction
Most contemporary Large Language Models (LLMs) rely on autoregressive decoding, generating text one token at a time. While effective, this sequential nature is inherently slow. Diffusion LLMs (dLLMs) have emerged as a promising alternative, capable of refining an entire sequence of tokens in parallel. However, dLLMs typically operate with a fixed "step budget" for the reverse diffusion chain, regardless of the complexity of the input.
This fixed-budget approach is computationally inefficient. A simple query might be resolved in 10 steps, while a complex reasoning task may require 50. Previous attempts at "early exiting" often utilized static confidence thresholds that proved brittle, particularly in long-form generation where local token confidence does not necessarily reflect the global state of the answer. This paper addresses these limitations through a dynamic, schedule-based approach.
The SchED Algorithm
SchED is a model-agnostic and training-free approach designed to optimize the inference efficiency of dLLMs. It introduces three core innovations:
- Full-Span Confidence Aggregation: Instead of evaluating a single token, SchED calculates the "top-2 logit margin" (the gap between the most likely and second most likely token) across the entire generated answer region. This prevents premature exits triggered by localized "sure" tokens while the rest of the sequence remains incomplete.
- Progress-Aware Thresholds: SchED replaces static thresholds with a dynamic function $\tau(p)$ that relaxes as decoding progresses ($p$). At the start of the process, the confidence bar is set high to prevent early errors. As the model approaches its maximum step limit, the threshold gradually lowers.
- Flexible Schedules: The authors evaluated three mathematical shapes for threshold relaxation: Linear, Cosine, and Exponential. If the aggregated confidence exceeds the scheduled threshold, the model stops refining and returns the current best predictions.
The Impact of Instruction Tuning
A key insight of this research is that instruction tuning significantly enhances a model's "decisiveness." In instruction-tuned models, the entropy (uncertainty) of the predictions drops much faster during the diffusion process than in base models.
As illustrated in the entropy plots, instruction-tuned variants reach a low-entropy state significantly earlier in the diffusion chain. This characteristic allows SchED to trigger early exits much sooner, leading to more dramatic speedups compared to base models.
Experimental Results
The researchers evaluated SchED across ten diverse benchmarks, including MMLU, GSM8K, and LongBench, using the Dream and LLaDA model families. To provide a rigorous assessment, they introduced the Quality-Penalized Speed (QPS) metric, which heavily penalizes any drop in accuracy to ensure speed gains are not achieved at the expense of performance.
On instruction-tuned models, SchED achieved 3.8x to 4.0x speedups while retaining 99.8% to 100% of the baseline performance. Even on base models, SchED provided consistent gains, reaching up to a 2.34x speedup in aggressive settings. Notably, SchED outperformed previous methods like Prophet, which often saw performance collapse on complex math and long-form summarization tasks.
Conclusion and Future Work
SchED demonstrates that progress-aware confidence schedules are a robust and efficient way to deploy dLLMs. By moving away from fixed step budgets and localized confidence metrics, SchED enables significant computational savings without sacrificing quality. Future work may explore "confidence-aware training" to further stabilize early predictions or integrate SchED with other optimization techniques like speculative decoding to push the boundaries of dLLM efficiency.
Summary updated