LGAIJun 5

WhiFlash: Accelerating Speculative Decoding with Token-Level Cross-Paradigm Routing

arXiv:2606.0771025.4h-index: 14
Predicted impact top 2% in LG · last 90 daysOriginality Highly original
AI Analysis

For LLM inference in complex workloads, WhiFlash addresses the volatility of drafting accuracy across tokens, enabling faster generation without sacrificing quality.

WhiFlash introduces a token-level cross-paradigm routing mechanism for speculative decoding that dynamically switches between autoregressive and diffusion-based drafting models within a single sequence, achieving throughput gains of up to 69.6% over EAGLE-3 and 37.3% over DFlash.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes