speculative decoding
TrailBlazer-R: Speculative Decoding for Autoregressive Vision-Language-Action Models in Robotics
Hu, Haibo, Wang, Weilan, Li, Qiao, Guan, Nan, Xue, Chun Jason
Low-latency inference is essential for deploying autoregressive vision-language-action (VLA) models in robotic manipulation. However, existing acceleration methods often reduce computation without fully addressing the serial dependencies of action generation. We introduce TrailBlazer-R, an approximate speculative decoding framework whose lightweight drafters chart candidate action paths ahead of the frozen target, creating opportunities for parallel inference. We simplify complex seven-dimensional action prediction into three focused behavioral tasks: translational continuity, rotational continuity, and grasp timing. This decomposition enables accurate proposals from lightweight, non-autoregressive drafters trained on target-generated actions. Speculative parallel generation then brings these independently generated components together for joint evaluation in one causal target-model forward pass. Controller-aware acceptance applies motion tolerances in physical units and requires gripper-state agreement, providing interpretable criteria for accepting complete actions while maintaining comparable task performance. Experiments with WorldVLA and RynnVLA-002 achieve $1.42$--$1.44\times$ task-completion speedups across four LIBERO suites on NVIDIA L20 servers, within 0.2 percentage points of the native policies' success rates on average. Deployment on Jetson AGX Orin 64GB further achieves $1.42$--$1.52\times$ task-completion speedups on selected LIBERO-Spatial tasks. Our code is https://github.com/DanileHaibo/Trailblazer-R
Trees from Marginals: Autoregressive drafting with factorized priors
Oda, Yuma, Mathieu, Ryan, Knyazhitskiy, Roman, Chakhvadze, Artur
Speculative decoding greatly increases the interactivity of autoregressive language models by trading off computation for extra tokens generated in a single forward pass. Factorized draft models are especially efficient because they predict future-token marginals in parallel, but their independence assumption causes acceptance rates to degrade sharply as the speculative budget grows. We analyze this limitation and introduce Weaver, a lightweight autoregressive adapter that constructs proposal trees from the top-K marginals of a factorized drafter. Weaver restores conditional dependencies between proposed tokens while avoiding a full-vocabulary projection. To support fast verification for models with Gated Delta Net layers, we derive a rollback-free tree-verification algorithm and implement optimized CUDA kernels in SGLang. By combining these model and systems contributions we achieve a 4.08-fold speedup over autoregressive decoding, and outperform a highly optimized DFlash baseline by 16.3%.
Performance-Driven Policy Optimization for Speculative Decoding with Adaptive Windowing
Jiang, Jie, Sun, Xing, Chen, Ruotian, Su, Jianan, Shen, Kaixin
Speculative decoding accelerates LLM inference by having a lightweight draft model propose speculative windows of candidate tokens for parallel verification by a larger target model. In practice, speculative efficiency is often bottlenecked by hard-to-draft positions, where an early mismatch truncates the accepted prefix and invalidates the rest of the speculative window. Most learning-based drafters are still optimized with token-level supervised objectives, even though speculative utility is inherently window-level and prefix-sensitive. We propose PPOW (Performance-Driven Policy Optimization with Adaptive Windowing), a reinforcement learning framework that shifts drafter optimization from token-level imitation to window-level optimization. PPOW combines a Cost-Aware Speedup Reward, a Distribution-Based Proximity Reward, and Adaptive Divergence-Aware Windowing, which prioritizes informative windows with high confidence-weighted draft-target divergence. PPOW achieves average acceptance lengths of 6.29-6.52 and speedups of 3.39-4.36$\times$ across multiple model families and benchmarks under a unified decoding protocol. These results show that performance-driven window-level optimization is a practical approach to improving speculative decoding efficiency.
CAST: Cost-Aware Speculative Trees from One-Pass Block Drafters
Speculative decoding accelerates large language model inference by drafting future tokens cheaply and verifying them with the target model in parallel. Block drafters score a whole block of future tokens in one forward pass, yet standard decoding verifies only the top-scoring chain and discards the other candidates. Because these candidates are already scored, verifying more of them adds target computation but no extra drafting. We introduce CAST (Cost-Aware Speculative Trees), which packs these candidates into a tree and verifies it in a single target pass, leaving the target model, drafter weights, and decoding rule untouched. To decide how wide the tree should be, CAST adds candidates while the expected gain from the next one outweighs the verification time it adds. The width therefore adapts to each deployment from a latency measurement, without sweeping over widths. We evaluate CAST across five domains on three GPU generations and two model families. At its predicted width, CAST is faster than the standard chain in all eight settings, by up to 43%. We also find that the best width depends strongly on the deployment. Where verification cost jumps at a kernel boundary, a 128-token tree is only 2% faster than the standard chain, whereas the tree at the predicted width is 20% faster. Furthermore, we prove that CAST leaves the target output distribution unchanged under both greedy and sampled decoding. Code is available at https://github.com/js-lee-AI/CAST.
Vision Is Not Overhead: One-Pass Block Drafting for Lossless Speculative Decoding in Vision-Language Models
Lee, Jungseob, Hong, Seongtae, Lee, Dongyub Jude, Park, Chanjun, Seo, Jaehyung, Eo, Sugyeong, Lim, Heuiseok
Speculative decoding accelerates generation without changing its output, but on vision-language models (VLMs) a self-reinforcing cycle holds it back. Because an autoregressive drafter pays a sequential pass for each drafted token, it must stay small and can ill afford to attend to the image at each pass. Prior work therefore compresses or hides the image, leaving the drafter weakest on the text the image determines. We present GLANCE, a one-pass block drafter that breaks this cycle on an unmodified VLM target. Its block-diffusion head drafts a whole block in one forward pass over the target's already fused vision-language states, reading the multimodal context once, however deep the draft. The target verifies a wide candidate tree in one pass and commits exactly its greedy output. In one production engine at a fixed round budget, GLANCE decodes up to 3.05 times faster than autoregressive decoding and outpaces the production EAGLE3-VL head on average and by about 11% on grounded tasks. An entropy law explains when drafting pays, predicting the longest accepted blocks on grounded tasks, where the target's next-token entropy is lowest. Our code is available at https://github.com/js-lee-AI/GLANCE.
JetSpec: Breaking the Scaling Ceiling of Speculative Decoding with Parallel Tree Drafting
Hu, Lanxiang, Feng, Zhaoxiang, Wu, Yulun, Yuan, Haoran, Zhao, Yujie, Qian, Yu-Yang, Wang, Bojun, Zhao, Peng, Jiang, Daxin, Zhu, Yibo, Rosing, Tajana, Zhang, Hao
Speculative decoding (SD) accelerates autoregressive Large Language Models (LLMs) by drafting multiple tokens and verifying them in parallel, but it faces a scaling limitation: increasing the draft budget improves speed only when acceptance remains high and drafting overhead stays low. This ceiling has been difficult to break because prior head-based SD methods face a causality-efficiency dilemma. Autoregressive drafters produce path-conditioned candidates that are effective for tree speculative decoding with higher acceptance length, but their drafting cost grows with tree depth. Bidirectional block-diffusion drafters generate all positions in one pass, but their branch-agnostic marginals can form individually plausible yet mutually inconsistent trees, wasting budget and reducing acceptance. We propose JetSpec, a head-based SD framework that combines one-forward drafting efficiency with branch-wise causal conditioning. JetSpec trains a causal parallel draft head over fused hidden states from the frozen target model, producing candidate trees whose scores align with the target model's autoregressive factorization. This enables JetSpec to convert larger draft budgets into longer accepted prefixes and higher end-to-end speedup. Across math, coding, and chat benchmarks on dense and MoE Qwen3 models, JetSpec consistently outperforms bidirectional-head and tree-based SD baselines. On H100 GPUs, JetSpec achieves up to 9.64x speedup on MATH-500 and 4.58x on open-ended conversational workloads, with further latency gains demonstrated through vLLM integration under realistic serving loads. Our code and models are available at https://github.com/hao-ai-lab/JetSpec.
Margins, Not Windows: Training-Free Per-Step Lossy Speculative Decoding
Urbรกn, Oszkรกr, Kwon, Young D., Venieris, Stylianos I., Mascolo, Cecilia
Speculative decoding accelerates LLM inference by drafting candidate tokens and verifying them in parallel. Tree-attention drafters such as EAGLE-3 are widely adopted, yet typically hold two decisions fixed: (1) a strict token-match verification rule and (2) a static draft-tree shape. Prior work relaxes each in isolation under limiting assumptions: long draft chains for training-free lossy verification, and adaptive tree shaping under a fixed token budget. We introduce AdaptiveSpec, a training-free per-step speculative decoding method that adapts both decisions from internal signals already produced during decoding. A per-step margin rule promotes a mismatched draft-proposed token when the ratio of the target's probability on the drafted token to its top-1 probability exceeds a threshold with no dependence on draft length or underlying drafter architecture. A per-step tree policy adjusts the draft tree's depth, width, and node count directly from a fused signal of draft top-1 confidence and a rolling acceptance history capturing recent draft-target agreement, allowing the total draft count to vary rather than only be redistributed. The two adaptations operate on orthogonal axes and compound in effect. Implemented on the SGLang production-grade serving engine, AdaptiveSpec improves throughput over the state-of-the-art autoregressive speculative decoding method EAGLE-3 by up to 56%, recovering 93% to fully lossless task accuracy across GSM8K, MATH-500, and HumanEval on three target models (DeepSeek-R1-Distill-Llama-8B, Llama-3.1-8B-Instruct, Qwen3-8B).
WhiFlash: Accelerating Speculative Decoding with Token-Level Cross-Paradigm Routing
Kwon, Young D., Williams, Miles, Li, Rui, Kouris, Alexandros, Venieris, Stylianos I.
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.
Beyond Tokens: Semantic-Aware Speculative Decoding for Efficient Inference by Probing Internal States
Dong, Ximing, Wang, Shaowei, Lin, Dayi, Chen, Boyuan, Hassan, Ahmed E.
To address this limitation, we propose semanticLarge Language Models (LLMs) have achievedaware speculative decoding (SemanticSpec), a remarkable success across various tasks (OpenAI, novel framework that elevates speculative decod2023; Bai et al., 2023; Touvron et al., 2023; Liuing from the token level to the sequence level and et al., 2024; Team et al., 2024). However, theirhandles semantic-equivalence. SemanticSpec opdeployment is constrained by high inference la-erates over entire semantic sequences, capturing tency due to autoregressive decoding, where tokenshigher-level meaning rather than surface token patare generated sequentially, and the latency growsterns. The key challenge lies in estimating how with model size and output length. In particular, likely a model is to generate any sequence conLarge Reasoning Models (LRMs) such as OpenAIveying a particular meaning, which cannot be dio1 (Jaech et al., 2024) and DeepSeek R1 (Guo et al., rectly accessed from token probabilities. To over2025) exacerbate this issue by producing lengthycome this, SemanticSpec introduces a novel sechains of thought (CoT) for detailed intermediatemantic probability (i.e., the likelihood of generating reasoning before yielding the final output.
S2-MoE: Enabling Efficient Self-Speculative Decoding for Mixture-of-Experts on Edge Devices
Huang, Haochen, Qiu, Shengxuan, Li, Meng
Deploying large language models (LLMs) for inference on edge devices is challenging due to severe memory and bandwidth constraints. While speculative decoding and Mixture-of-Experts (MoE) have been proposed to improve inference efficiency, naively combining them often incurs excessive verification overhead and poor expert reuse, limiting their effectiveness in memory-bound edge settings. In this work, we propose S2-MoE, an efficient self-speculative decoding framework for MoE inference on edge devices. S2-MoE reduces redundant verification through routing-aware adaptive speculative expansion, improves verification efficiency with reuse-aware expert gating, and aligns draft and target execution via shared context. Implemented in llama$.$cpp, S2-MoE achieves up to $5.3\times$ speedup (about $2.0\times$ on average) over standard autoregressive decoding across diverse MoE models and datasets on edge devices. Code is available at https://github.com/angerybob/S2-MoE.