Abstract
Diffusion Large Language Models (DLLMs) have emerged as a compelling alternative to Autoregressive models, designed for fast parallel generation. However, existing DLLMs are plagued by a severe quality-speed trade-off, where faster parallel decoding leads to significant performance degradation. We attribute this to the irreversibility of standard decoding in DLLMs, which is easily polarized into the wrong decoding direction along with early error context accumulation. To resolve this, we introduce Wide-In, Narrow-Out (WINO), a training-free decoding algorithm that enables revokable decoding in DLLMs. WINO employs a parallel draft-and-verify mechanism, aggressively drafting multiple tokens while simultaneously using the model's bidirectional context to verify and re-mask suspicious ones for refinement. Verified in open-source DLLMs like LLaDA and MMaDA, WINO is shown to decisively improve the quality-speed trade-off. For instance, on the GSM8K math benchmark, it accelerates inference by 6$\times$ while improving accuracy by 2.58%; on Flickr30K captioning, it achieves a 10$\times$ speedup with higher performance. More comprehensive experiments are conducted to demonstrate the superiority and provide an in-depth understanding of WINO.
Introduction
Standard Autoregressive (AR) models generate text sequentially, which is inherently slow. Diffusion Large Language Models (DLLMs) were designed to solve this by generating tokens in parallel. However, they face a major hurdle: irreversibility. In standard DLLM decoding, once a token is "unmasked" (decoded), it is locked in. Because early decoding steps happen with very little context, the model often makes confident mistakes that propagate, leading to a "quality-speed trade-off" where faster generation results in lower quality. WINO (Wide-In, Narrow-Out) addresses this by making decoding revokable, allowing the model to "change its mind" as more context becomes available.
The WINO Framework
WINO is a training-free, parallel draft-and-verify framework that operates in two phases during every decoding step:
- Wide-In (Drafting): The model uses a lenient confidence threshold ($\tau_1$) to aggressively unmask as many candidate tokens as possible, widening the intake of potential information.
- Narrow-Out (Verification): Simultaneously, the model uses a stricter threshold ($\tau_2$) to evaluate all previously unmasked tokens. If a token no longer makes sense given the newly generated global context, it is re-masked (revoked) for refinement in a later step.
To make this efficient, WINO uses an auxiliary "shadow block" of masked tokens. By carefully designing the attention mask and position IDs, the model can verify the quality of its previous predictions in a single forward pass without information leakage. This allows the model to exploit its native bidirectional attention—the primary architectural advantage of diffusion models—to perform self-correction.
Experimental Evaluation
The researchers evaluated WINO across a broad range of benchmarks using open-source models like LLaDA (language) and MMaDA (multimodal). The evaluation covered mathematical reasoning (GSM8K), code generation (HumanEval), and multimodal tasks like image captioning (Flickr30k).
Key Results
WINO demonstrates a decisive victory over "naive parallel sampling" (simply unmasking $N$ tokens at once), effectively breaking the traditional speed-quality trade-off.
- GSM8K (Math): Achieved a 6.10x speedup in decoding steps while increasing accuracy by 2.58% (from 73.24 to 75.82).
- Flickr30k (Vision): Achieved a 10.05x speedup with a slight improvement in CIDEr score.
- ARC-E (Commonsense): Showed a massive accuracy jump of +22.06% compared to the baseline LLaDA model.
Insights and Future Directions
WINO's success stems from its ability to exploit the bidirectional nature of DLLMs for error correction, a capability AR models lack without expensive re-computation. Furthermore, WINO is task-adaptive; it naturally slows down for harder tasks (more revocations) and speeds up for easier ones. While WINO is a powerful plug-and-play solution, its performance remains bounded by the base model's proficiency. Future work may involve training DLLMs specifically with revokable sampling in mind to further enhance self-correction abilities.
Summary updated