FlashMap flow map speculative decoding reaches 6.14x speedup
FlashMap speculative decoding achieves 6.14x speedup on Qwen3-8B by drafting 16 tokens jointly in one pass, outperforming diffusion baselines across benchmarks.

What changed
Researchers from Polymathic AI, Princeton University, USC ISI, NYU and the Flatiron Institute have released FlashMap, a speculative decoding drafter built on continuous flow maps. The work was submitted to arXiv on October 17, 2026.
FlashMap replaces the discrete diffusion approach of prior block drafters with a continuous flow map that generates a full block of 16 tokens in a single forward pass. The drafter is a 0.5B-parameter model, sized at 500M parameters for Qwen3-8B and 475M for Qwen3-4B. It runs on the same GPU as the target model.
The core distinction from existing block diffusion methods like DFlash is that FlashMap conditions its flow map on hidden states from the target model and captures dependencies between tokens within the drafted block. This joint generation approach avoids the independence assumption that causes diffusion drafters to produce inconsistent token pairs, such as “new diego” or “san york” when the correct continuations are “new york” or “san diego”.
On Qwen3-8B, FlashMap achieves up to 6.14x lossless speedup on the GSM8K benchmark at temperature 0, with an acceptance length of 7.69 tokens. Across 9 benchmarks covering math, code and chat tasks, FlashMap outperforms a retrained DFlash baseline on every test, delivering approximately 7% higher average speedup. Performance varies by task and temperature: at temperature 0 on math tasks, gains reach 5.5%, while chat tasks see 11.1% improvement. At temperature 1 on Alpaca, speedup drops to 2.28x.
The team trained FlashMap in two stages using 500K samples from Open-PerfectBlend. A flow teacher first learned a continuous flow over one-hot token blocks with cross-entropy loss. A flow map student then distilled this into a single-step denoiser using semigroup distillation. Total compute across all models and ablations was approximately 4,600 GPU hours on NVIDIA H200 NVL GPUs.
Model weights are available on Hugging Face under Apache-2.0 license, with code released under MIT. The package integrates with vLLM 0.31 and SGLang 0.5.20 for production serving, requiring only torch and transformers version 4.56 or higher for installation.
Why it matters
Speculative decoding has become a standard technique for reducing the cost of LLM inference. The technique works by having a small drafter propose multiple candidate tokens in parallel, then having the target model verify them all at once. If the drafter’s proposals match what the target would generate, the cost per token drops significantly.
The bottleneck in this approach is drafter quality. Autoregressive drafters generate tokens one by one, so drafting latency grows with block size. Block diffusion drafters like DFlash generate entire blocks in one pass but predict each token slot independently, leading to inconsistent sequences that the target model rejects.
FlashMap’s joint generation of the full 16-token block while capturing inter-token structure means it proposes coherent continuations more often. This translates directly to higher acceptance rates and lower overall latency. Teams running inference at scale will spend less compute on verification and more on productive output.
The speedup is most pronounced on structured tasks like math and code, where dependencies between tokens are strong. On GSM8K, the 6.14x figure means a query that takes 100ms with the target alone could complete in roughly 16ms with FlashMap drafting.
For production workloads, this matters because inference cost typically scales with latency. Faster decoding reduces per-request GPU time, which cuts operational costs and allows higher throughput on fixed hardware. The availability of both vLLM and SGLang integrations means adoption does not require custom engineering.
One practical constraint is that speedup depends on the task and temperature. At higher temperatures, the improvement shrinks to 2.28x on some benchmarks. For services that support variable sampling temperatures, drafting quality will need monitoring per use case. A 2-step mode is available, which maintains acceptance flat across the block but trades some speed for reliability.
What to test
Before adopting FlashMap in production, verify these claims with your workload:
-
Measure acceptance rates on your benchmark mix. The paper tests 9 standard benchmarks spanning math, code and chat. Your production traffic may have different token dependencies or length distributions. Run single-step and two-step modes on representative prompts from your system.
-
Compare speedup at your target temperature. Paper results cover temperature 0 (greedy) and temperature 1 (high sampling). If you serve at intermediate temperatures between 0.3 and 0.7, run tests at those values. Speedup may not match the published 6.14x. For sampling above temperature 0, vLLM requires the “probabilistic” draft sampling method.
-
Check GPU memory footprint. The drafter is 0.5B parameters, but running it alongside the target on a single GPU adds overhead. Confirm VRAM usage and latency tail behavior under concurrency. The paper tests at batch size 1 on a single H200 NVL.
-
Validate end-to-end latency gains. Acceptance rate and per-token cost are proxies. Measure true wall-clock decoding time in your serving stack before and after adding FlashMap.
-
Test the two-step mode trade-off. The paper reports that two-step decoding maintains acceptance flat across the block but trades some speed for reliability. Verify whether the steadier acceptance justifies the latency cost in your deployment. At two steps, acceptance beats DFlash in all 18 test settings by approximately 10% on average.
-
Verify determinism and output correctness. The paper claims lossless acceleration, meaning final outputs match the target model exactly. Test a sample of generations to confirm outputs are bit-identical.
-
Profile GPU memory and compute on your hardware. The paper uses NVIDIA H200 NVL. If you run on different GPUs such as A100, H100, or cloud instances, measure how performance scales.
Common questions
What makes FlashMap better at drafting coherent tokens than DFlash?
DFlash predicts each slot in a 16-token block independently, which the authors call the “factorized approximation.” This can generate inconsistent pairs like “new diego” or “san york” when the actual continuations are “new york” or “san diego.” FlashMap generates all 16 tokens jointly from a single noise sample, so the flow map picks the mode for every slot together rather than separately. This captures inter-token dependencies that improve acceptance.
Can I use FlashMap with models other than Qwen3?
The paper only reports results on Qwen3-8B and Qwen3-4B. FlashMap requires training the flow map on target model hidden states, so using it with other models would require new training runs. The source does not specify whether code exists to train FlashMap for arbitrary models.
What happens at higher temperatures where sampling is more random?
At temperature 1, FlashMap’s speedup degrades to 2.28x on Alpaca, compared to 6.14x at temperature 0. This is because high-temperature sampling makes token dependencies weaker, reducing the advantage of joint generation. The paper does not explore temperatures above 1.
The conclusion
FlashMap addresses a real limitation in block diffusion drafting: the independence assumption between token slots. By conditioning on target hidden states and generating the full block jointly, it achieves higher acceptance rates and consistent speedups across 9 diverse benchmarks.
The 6.14x result is compelling but reflects best-case performance on math reasoning at temperature 0. Real-world gains will vary by task and sampling strategy. The two-step mode offers a dial to trade latency for stability if needed.
Deployment is straightforward for teams already using vLLM or SGLang. The main unknowns are how well FlashMap generalizes to other model families and whether the approach scales to longer draft lengths or different target architectures. Watch for community contributions extending FlashMap beyond Qwen models, and monitor real-world deployments to learn where the approach holds its speedup advantage and where it underperforms.
For teams running inference at scale on Qwen3 models, FlashMap is worth a test run. For others, the research validates that joint token generation in draft blocks is a promising direction for speculative decoding, likely to inspire future work on flow-based and diffusion-based drafters for other models.
Related reading
AI Tool Herald may earn a commission from some links on this site. It never changes what we report or recommend. Affiliate disclosure
Related stories

Genie 4 adds real-time audio and physics to world models
Google DeepMind's Genie 4 world model generates interactive 3D simulations in real-time with native audio, physics, and natural human motion for research and development.

LFM3: Six specialized 2B models on one backbone
Liquid AI releases LFM3 multimodal model family with text, vision, audio, and decision variants. LFM3-1.7B uses 35% fewer parameters than predecessor while matching...

Mirendil Fern 0.1: 10M-token context coding model
Mirendil releases Fern 0.1 with 10M-token context for code analysis. Hosted early access only; strong retrieval but weak agentic coding versus frontier models.
