Manuscript Offprint

arXiv:2610.24365

FlashMap: Flow Map Speculative Decoding

Jeff Shen, Zhejian Zhou, Ryan Lee, Jonathan May, Shirley Ho

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Speculative decoding accelerates large language model (LLM) inference by using a lightweight drafter to propose a block of tokens that the target model verifies in one parallel pass. Autoregressive drafters generate this block one token at a time, whereas block diffusion drafters such as DFlash generate it in one pass, making drafting faster. However, these diffusion drafters predict each token independently, ignoring dependencies between tokens in the block. We introduce FLASHMAP, a continuous flow drafter that conditions a flow map language model on the target model's hidden states and generates the whole block in one forward pass while capturing inter-token dependencies. On Qwen3-8B, FLASHMAP is faster than a matched DFlash baseline on every benchmark, with 7% higher average speedup and up to 6.1×6.1\times lossless acceleration.

Code (Github)

1 Introduction

Speculative decoding drafts a block of future tokens with a lightweight model and verifies it in one parallel pass of the larger target LLM. As a result, speedup depends on how many drafted tokens are accepted and how cheaply, in terms of compute, they are drafted. EAGLE-3 (Li et al., 2025) achieves high acceptance by conditioning on the hidden states of the target model but drafts autoregressively so cost grows with block length.

DFlash (Chen et al., 2026) instead drafts an entire block in one forward pass using a lightweight block diffusion model, yielding over 6×6\times lossless acceleration. However, a single masked-denoising pass predicts each position in the block independently. Prior work finds that draft tokens from this model can be individually plausible but jointly inconsistent, leading to smaller accepted prefixes, and acceptance decays at later positions (Cheng et al., 2026).

By changing the drafter’s generative model, we no longer draft each token independently (known as the factorized approximation). Flow Map Language Models (Lee et al., 2026) distill a continuous flow over one-hot token embeddings into a flow map that transports Gaussian noise to a full sequence in one network evaluation. Because the map acts on the whole block jointly, it can represent dependencies between tokens that a drafter predicting each position independently cannot, while keeping DFlash’s one-pass cost (Figure 1).

Contributions. We evaluate FLASHMAP on Qwen3-8B across nine math, code, and chat benchmarks (Qwen3-4B in Appendix C), against EAGLE-3 and DFlash retrained under identical data and settings. Our contributions are:

(1) Flow map drafting. We introduce FLASHMAP, the first speculative decoding drafter built on a continuous flow. FLASHMAP combines DFlash’s target-conditioning, single-pass block drafting with flow map language models, allowing it to draft a whole block that carries inter-token dependencies in a way that DFlash cannot.

(2) Analysis of flow map drafts. We study what drives FLASHMAP’s acceptance length, using proposal-length ablations, conditional acceptance curves, and a shuffle test that separates the contribution of per-slot predictions from that of inter-token dependencies.

References (31)