A new research paper introduces BlockPilot, a method that accelerates large language model (LLM) inference by dynamically choosing the optimal block size for diffusion-based speculative decoding. Unlike traditional fixed-size block approaches, BlockPilot predicts the best block size for each input instance using a lightweight policy trained from prefilling representations. This decision is made only once per instance, introducing minimal overhead.
In tests, BlockPilot achieved an acceptance length of 5.92 and a 4.20× speedup on the Qwen3-4B model. The method is designed as a plug-and-play solution, making it easy to integrate into existing systems without extensive modification.
The paper explains the key ideas behind LLM inference acceleration, diffusion draft models, and adaptive speculative decoding, offering a promising path for faster and more efficient deployment of large language models.