APEX: Speculate smarter, not deeper
On the map: Efficient LLM inference and serving → Speculative decoding
Abstract (arXiv)
Speculative decoding reduces large language model inference latency by drafting multiple tokens before target-model verification, but its effectiveness depends on both the proposal mechanism and draft depth. Fixed configurations cannot respond to changes in predictability, repetition, and acceptance during generation, so deeper drafting can increase wasted computation without proportional speedup. We introduce APEX, a learned controller that balances decoding speed and draft-token waste through request-level expert selection and block-level depth adaptation. APEX-Router selects among EAGLE-3, n-gram, and draft-model speculation for each request, while APEX-Depth adjusts draft length at each verification block using causal decoding signals and recent verifier feedback. APEX models accepted draft length as censored survival feedback, learning position-wise rejection hazards, block execution costs, and an action utility that balances throughput, accepted progress, and wasted tokens. This allows the controller to adapt speculation while retaining the target model's verification procedure. We integrate APEX into vLLM and evaluate it with Qwen3-8B across six workloads, achieving up to 5.24X speedup over autoregressive decoding. Across the aggregate evaluation, APEX-S achieves 4.27X speedup, while APEX-B achieves 3.27X speedup with a 41.0% relative reduction in wasted-token percentage compared with fixed n-gram speculation at k=16, providing distinct operating points for balancing acceleration and draft-token utilization.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Speculative decoding, one of 12 directions in Efficient LLM inference and serving. Builds on 24 of its 25 references that are in the map. First posted on arXiv 6 Oct 2026.
Builds on
24 of 25 references.
Closest ancestors · 15
Same direction, newest first
- 2026Variational Speculative Decoding: Rethinking Draft Training from Token Likelihood to Sequence Acceptance5 Feb
- 2025Draft, Verify, and Improve: Toward Training-Aware Speculative Decoding6 Oct
- 2025DSDE: Dynamic Speculative Decoding with KLD Stability for Real-World Serving1 Sep
- 2025BanditSpec: Adaptive Speculative Decoding via Bandit Algorithms21 May
- 2025EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Test3 Mar
- 2024AdaEAGLE: Optimizing Speculative Decoding via Explicit Modeling of Adaptive Draft Structures25 Dec
- 2024SAM Decoding: Speculative Decoding via Suffix Automaton16 Nov
- 2024Dynamic Speculation Lookahead Accelerates Speculative Decoding of Large Language Models7 May
- 2024EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty26 Jan
- 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads19 Jan
- 2023REST: Retrieval-Based Speculative Decoding14 Nov
- 2023SpecInfer: Accelerating Generative Large Language Model Serving with Tree-based Speculative Inference and Verification16 May
3 more
Other references · 9
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
- 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 825
- 2024Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Servecited by 507
- 2022The Stack: 3 TB of permissively licensed source codecited by 354
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Steering Pretrained Drafters during Speculative Decoding
- 2026Learning to Draft: Adaptive Speculative Decoding with Reinforcement Learning
- 2026When Drafts Evolve: Speculative Decoding Meets Online Learning
- 2026From Tokens to Steps: Verification-Aware Speculative Decoding for Efficient Multi-Step Reasoning
- 2026PRISM: Parametrically Refactoring Inference for Speculative Sampling Draft Models
- 2026Balancing Coverage and Draft Latency in Vocabulary Trimming for Faster Speculative Decoding
- 2026Training Parallel Speculative Draft Models by Directly Minimizing Expected Decoding Rounds
- 2026Margins, Not Windows: Training-Free Per-Step Lossy Speculative Decoding