TL;DR
This paper introduces SlowFast Sampling, a dynamic strategy for diffusion-based language models that adaptively balances exploration and speed, significantly improving inference efficiency while maintaining accuracy.
Contribution
The paper proposes a novel adaptive sampling method guided by three principles, enhancing diffusion LLMs' speed and flexibility over existing static strategies.
Findings
Achieves up to 15.63× speedup on LLaDA with minimal accuracy loss.
Reaches up to 34.22× speedup when combined with caching.
Outperforms autoregressive baselines like LLaMA3 8B in throughput.
Abstract
Diffusion-based language models (dLLMs) have emerged as a promising alternative to traditional autoregressive LLMs by enabling parallel token generation and significantly reducing inference latency. However, existing sampling strategies for dLLMs, such as confidence-based or semi-autoregressive decoding, often suffer from static behavior, leading to suboptimal efficiency and limited flexibility. In this paper, we propose SlowFast Sampling, a novel dynamic sampling strategy that adaptively alternates between exploratory and accelerated decoding stages. Our method is guided by three golden principles: certainty principle, convergence principle, and positional principle, which govern when and where tokens can be confidently and efficiently decoded. We further integrate our strategy with dLLM-Cache to reduce redundant computation. Extensive experiments across benchmarks and models show that…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
