ChainFlow: Few-Step Latent Flow Matching for Speculative Decoding
Selim Aktas, Yusuf Erdem Erdem, Ahmed Zeer, Himmet Toprak Kesgin, Muzaffer Kaan Yuce, Mehmet Fatih Amasyali
Abstract
Speculative decoding has become a standard way to accelerate LLM inference: a lightweight drafter proposes tokens that the target verifies in one parallel pass. Existing drafters face trade-offs that limits their speedups: autoregressive drafters generate tokens one at a time, so drafting cost grows with draft length, while diffusion drafters generate tokens in parallel but predict each position independently, ignoring inter-token dependencies. We introduce ChainFlow, a new speculative decoding paradigm and the first flow-matching drafter conditioned on the target's hidden states. ChainFlow treats drafting as a short transport over hidden states, needing one or two flow steps instead of the many denoising steps of generation from noise. A variational autoencoder compresses these states so drafting cost barely grows with target size, lightweight feedback heads restore inter-token dependencies, and tree drafting raises acceptance. On Qwen3.5 models, at matched drafter size and training data, ChainFlow outperforms EAGLE-3 and DFlash in vLLM by 39% and 11%, respectively. These gains further widen as drafters are adapted to new languages sequentially. Our ablations cover drafter design and concurrent serving, and we open-source our code and drafter models.
Create a lesson
Related papers
Speculative Decoding Is Less Speculative Than You Think
Shared title terminology · Guanning Zeng, Andrea Zanette
Vega-Fafnir: Is Greedy Decoding the Same Decoding? Where Rounding Noise in Speculative Verification Comes From and What Removing It Costs
Shared title terminology · Mohammed Nayeem Khan, Navin Kumar R
D-REAL: Acceptance-Length Optimization with Unbiased Gradients for Speculative Decoding
Shared title terminology · Meng Wei, Yefei Chen, Antong Li et al.
D3D: Decoupled Diffusion Drafting for Asynchronous Speculative Decoding
Shared title terminology · Baoyou Chen, Ruiqiao Mei, Guancong Lin et al.
When Do Better Visual World Models Make Better Plans? Decision-Aligned Selection for Latent Planning
Shared title terminology · Chan Aristella Lu, Arya Fayyazi, Junil Yeo et al.
Beyond Linear Decodability: Understanding and Improving Instruction Following in World Action Models
Shared title terminology · Bokai Ji, Jiapeng Chen, Yi Zhang et al.