# ChainFlow: Few-Step Latent Flow Matching for Speculative Decoding

DevFeed: [ChainFlow: Few-Step Latent Flow Matching for Speculative Decoding](<https://devfeed.tech/articles/chainflow-few-step-latent-flow-matching-for-speculative-decoding-124547.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.08669>)

Author: Selim Aktas, Yusuf Erdem Erdem, Ahmed Zeer, Himmet Toprak Kesgin, Muzaffer Kaan Yuce, Mehmet Fatih Amasyali

Published: 2026-11-09T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Model Optimizer](<https://devfeed.tech/topics/model-optimizer.md>), [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [VAE](<https://devfeed.tech/topics/vae.md>), [vllm](<https://devfeed.tech/topics/vllm.md>)

Tags: [autoencoder](<https://devfeed.tech/tags/autoencoder.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [flow-matching](<https://devfeed.tech/tags/flow-matching.md>), [hidden-states](<https://devfeed.tech/tags/hidden-states.md>), [llm-inference](<https://devfeed.tech/tags/llm-inference.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [qwen3-5](<https://devfeed.tech/tags/qwen3-5.md>), [serving](<https://devfeed.tech/tags/serving.md>), [speculative-decoding](<https://devfeed.tech/tags/speculative-decoding.md>)

## AI overview

ChainFlow drafts speculative-decoding tokens by transporting the target model's hidden states in one or two flow steps. Its variational autoencoder compresses those states, lightweight feedback heads model inter-token dependencies, and tree drafting aims to increase acceptance. The approach addresses the abstract's stated trade-offs: autoregressive drafters incur cost with each added draft token, while parallel diffusion drafters ignore dependencies between positions. On Qwen3.5 in vLLM, at matched drafter size and training data, ChainFlow reportedly outperforms EAGLE-3 by 39% and DFlash by 11%; the abstract says gains widen with sequential adaptation to new languages. The supplied text does not include benchmark details or numerical results for that adaptation.

## Source excerpt

arXiv:2611.08669v1 Announce Type: new 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.