WhiFlash: Accelerating Speculative Decoding with Token-Level Cross-Paradigm Routing
On the map: LLM agents and tool use → Software engineering coding agents
also in 1 more
Abstract (arXiv)
The autoregressive nature of large language models (LLMs) remains a significant bottleneck for inference, particularly in complex agentic workloads. While speculative decoding (SD) accelerates inference, current approaches rely on static drafting paradigms, utilising either autoregressive drafting models for reasoning or diffusion-based parallel drafting models for structured outputs. We empirically find that drafting accuracy fluctuates dramatically within a single sequence, leaving significant performance unrealised by static paradigms and coarse-grained routing. To address this volatility, we introduce WhiFlash, the first cross-paradigm SD method that unifies autoregressive and diffusion-based parallel drafting under a single token-level controller. WhiFlash adopts a fine-grained routing mechanism that employs either a lightweight entropy-based or a learned neural policy, both parametrised to provide a tunable balance between expected token gain and latency. To make high-frequency switching computationally viable, we introduce novel cache-management optimisations, Lazy Catch-up and KV-only Prefill, reducing switching overhead to below 7% of per-round latency. By capitalising on the complementary strengths of fundamentally distinct drafting architectures, WhiFlash achieves significantly higher acceptance lengths, yielding category-specific throughput gains of up to 69.6% over the state-of-the-art autoregressive EAGLE-3 and 37.3% over the diffusion-based DFlash.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 27 of its 36 references that are in the map. First posted on arXiv 5 Jun 2026.
Builds on
27 of 36 references.
Closest ancestors · 1
Same direction, newest first
Other references · 26
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Let's Verify Step by Stepcited by 3,598
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
- 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,280
- 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 975
14 more
- 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 825
- 2024WildChat: 1M ChatGPT Interaction Logs in the Wildcited by 598
- 2025EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Testcited by 318
- 2026DFlash: Block Diffusion for Flash Speculative Decodingcited by 120
- 2024AgentInstruct: Toward Generative Teaching with Agentic Flowscited by 88
- 2023Cascade Speculative Drafting for Even Faster LLM Inferencecited by 83
- 2024OPT-Tree: Speculative Decoding with Adaptive Draft Tree Structurecited by 64
- 2025The Cost of Dynamic Reasoning: Demystifying AI Agents and Test-Time Scaling from an AI Infrastructure Perspectivecited by 38
- 2026TALON: Confidence-Aware Speculative Decoding with Adaptive Token Treescited by 12
- 2026Speculative Decoding with a Speculative Vocabularycited by 6
- 2025Not-a-Bandit: Provably No-Regret Drafter Selection in Speculative Decoding for LLMscited by 5
- 2025When, What, and How: Rethinking Retrieval-Enhanced Speculative Decodingcited by 3
- 2025Cacheback: Speculative Decoding With Nothing But Cachecited by 3
- 2026Multi-Drafter Speculative Decoding with Alignment Feedbackcited by 3
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026DLoop: Looped Speculative Decoding
- 2026AdaFlash: Adaptive Speculative Decoding via On-Policy Distilled Diffusion Drafters
- 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decoding
- 2026D^2SD: Accelerating Speculative Decoding with Dual Diffusion Draft Models
- 2026SpecBound: Adaptive Bounded Self-Speculation with Layer-wise Confidence Calibration
- 2026LongSpark: Efficient speculative decoding with a fixed-cost parallel drafter
- 2026Training Parallel Speculative Draft Models by Directly Minimizing Expected Decoding Rounds
- 2024Closer Look at Efficient Inference Methods: A Survey of Speculative Decoding