Online Speculative Decoding
On the map: Efficient LLM inference and serving → Speculative decoding
Abstract (arXiv)
Speculative decoding is a pivotal technique to accelerate the inference of large language models (LLMs) by employing a smaller draft model to predict the target model's outputs. However, its efficacy can be limited due to the low predictive accuracy of the draft model, particularly when faced with diverse text inputs and a significant capability gap between the draft and target models. We introduce online speculative decoding to address this challenge. The main idea is to continuously update the (multiple) draft model(s) on observed user query data. Adapting to query distribution mitigates the shifts between the training distribution of the draft model and the query distribution, enabling the draft model to more accurately predict the target model's outputs. We develop a prototype of online speculative decoding based on knowledge distillation and evaluate it using both synthetic and real query data. The results show a substantial increase in the token acceptance rate by 0.1 to 0.65, bringing 1.42x to 2.17x latency reduction. Our code is available at https://github.com/LiuXiaoxuanPKU/OSD.
Key facts. Cited by 113 papers in the map (data through 14 Oct 2026). Placed in Speculative decoding, one of 12 directions in Efficient LLM inference and serving. Builds on 19 of its 33 references that are in the map. First posted on arXiv 11 Oct 2023.
Builds on
19 of 33 references.
Closest ancestors · 3
Same direction, newest first
- 2023Accelerating LLM Inference with Staged Speculative Decoding8 Aug
- 2023Accelerating Large Language Model Decoding with Speculative Sampling2 Feb
- 2022Fast Inference from Transformers via Speculative Decoding30 Nov
Other references · 16
- 2023GPT-4 Technical Reportcited by 18,396
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
- 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 654
4 more
- 2023LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Datasetcited by 461
- 2018Blockwise Parallel Decoding for Deep Autoregressive Modelscited by 323
- 2023MiniLLM: On-Policy Distillation of Large Language Modelscited by 139
- 2022Knowledge Distillation as Efficient Pre-training: Faster Convergence, Higher Data-efficiency, and Better Transferabilitycited by 21
Built on by
Citing papers per year: 2023: 2; 2024: 34; 2025: 40; 2026: 37.
113 papers.
Sort:
By area:
- 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 843
- 2024EAGLE: Speculative Sampling Requires Rethinking Feature Uncertaintycited by 578
- 2024EAGLE-2: Faster Inference of Language Models with Dynamic Draft Treescited by 370
- 2024Break the Sequential Dependency of LLM Inference Using Lookahead Decodingcited by 298
- 2024A Survey on Efficient Inference for Large Language Modelscited by 205
- 2023DistillSpec: Improving Speculative Decoding via Knowledge Distillationcited by 165
- 2024Rephrasing the Web: A Recipe for Compute and Data-Efficient Language Modelingcited by 161
- 2024LLM Inference Unveiled: Survey and Roofline Model Insightscited by 152
- 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Modelscited by 122
- 2024SpecDec++: Boosting Speculative Decoding via Adaptive Candidate Lengthscited by 75
- 2024SWIFT: On-the-Fly Self-Speculative Decoding for LLM Inference Accelerationcited by 72
- 2024MambaByte: Token-free Selective State Space Modelcited by 59
38 more
- 2024Dynamic-LLaVA: Efficient Multimodal Large Language Models via Dynamic Vision-language Context Sparsificationcited by 59
- 2025Judge Decoding: Faster Speculative Sampling Requires Going Beyond Model Alignmentcited by 59
- 2024SpecExec: Massively Parallel Speculative Decoding for Interactive LLM Inference on Consumer Devicescited by 46
- 2024Recurrent Drafter for Fast Speculative Decoding in Large Language Modelscited by 37
- 2024A Declarative System for Optimizing AI Workloadscited by 37
- 2024TurboSpec: Closed-loop Speculation Control System for Optimizing LLM Serving Goodputcited by 37
- 2026d3LLM: Ultra-Fast Diffusion LLM using Pseudo-Trajectory Distillationcited by 37
- 2024Decoding Speculative Decodingcited by 34
- 2024Teola: Towards End-to-End Optimization of LLM-based Applicationscited by 32
- 2025A Survey on Parallel Text Generation: From Parallel Decoding to Diffusion Language Modelscited by 30
- 2024A Theoretical Perspective for Speculative Decoding Algorithmcited by 29
- 2025SPEED-RL: Faster Training of Reasoning Models via Online Curriculum Learningcited by 29
- 2024A Survey: Collaborative Hardware and Software Design in the Era of Large Language Modelscited by 23
- 2025Speculative Decoding and Beyond: An In-Depth Survey of Techniquescited by 23
- 2025SwiReasoning: Switch-Thinking in Latent and Explicit for Pareto-Superior Reasoning LLMscited by 22
- 2024ZipAR: Parallel Auto-regressive Image Generation through Spatial Localitycited by 21
- 2025LongSpec: Long-Context Lossless Speculative Decoding with Efficient Drafting and Verificationcited by 21
- 2024Online Cascade Learning for Efficient Inference over Streamscited by 20
- 2025BanditSpec: Adaptive Speculative Decoding via Bandit Algorithmscited by 20
- 2023The Synergy of Speculative Decoding and Batching in Serving Large Language Modelscited by 19
- 2024Continuous Speculative Decoding for Autoregressive Image Generationcited by 19
- 2025ReSpec: Towards Optimizing Speculative Decoding in Reinforcement Learning Systemscited by 18
- 2026D-PACE: Dynamic Position-Aware Cross-Entropy for Parallel Speculative Draftingcited by 17
- 2024Interactive Speculative Planning: Enhance Agent Efficiency through Co-design of System and User Interfacecited by 16
- 2025GRIFFIN: Effective Token Alignment for Faster Speculative Decodingcited by 16
- 2025Speculative Decoding: Performance or Illusion?cited by 15
- 2026JetSpec: Breaking the Scaling Ceiling of Speculative Decoding with Parallel Tree Draftingcited by 15
- 2024The N-Grammys: Accelerating Autoregressive Inference with Learning-Free Batched Speculationcited by 14
- 2024BiTA: Bi-Directional Tuning for Lossless Acceleration in Large Language Modelscited by 13
- 2025AutoJudge: Judge Decoding Without Manual Annotationcited by 13
- 2025Fast and Accurate Causal Parallel Decoding using Jacobi Forcingcited by 13
- 2025Dynamic Speculative Agent Planningcited by 12
- 2026ECHO: Elastic Speculative Decoding with Sparse Gating for High-Concurrency Scenarioscited by 12
- 2024Optimized Multi-Token Joint Decoding with Auxiliary Model for LLM Inferencecited by 11
- 2024Efficient Inference for Large Language Model-based Generative Recommendationcited by 11
- 2026Draft-OPD: On-Policy Distillation for Speculative Draft Modelscited by 11
- 2025Bridging Draft Policy Misalignment: Group Tree Optimization for Speculative Decodingcited by 10
- 2025Beat the long tail: Distribution-Aware Speculative Decoding for RL Trainingcited by 10
50 most cited of 113 All 113 (JSON)
- 2026TreeSpark: Learning to Draft the Trees You Verify for Speculative Decoding14 Oct 2026
- 2026JetSpec++: Foresight Parallel Drafting with Self Refinements14 Oct 2026
- 2026SP2ec: Adaptive Self-Speculative Decoding for Vision-Language Models13 Oct 2026
- 2026SharpDraft: Accelerating Long-Context Speculative Decoding with Cardinality-Aware Query Scaling4 Oct 2026
- 2026LEAP: Learning Efficient Action Proposals For LLM Agents2 Oct 2026
- 2026AS2D: Accelerating On-Demand Audio Understanding on Mobile Devices29 Sep 2026
- 2026GrowMTP: Can RL Grow Its Own Draft Head?15 Sep 2026
- 2026Verification-Aware Training for Speculative Decoding31 Aug 2026
- 2026Beyond Tokens: A Survey on Decoding Methods for Large Language and Vision-Language Models14 Aug 2026
- 2026Adversarial Prompts for Acceptance Collapse in Speculative Decoding23 Jul 2026
- 2026JetSpec: Breaking the Scaling Ceiling of Speculative Decoding with Parallel Tree Drafting16 Jun 2026
- 2026VIA-SD: Verification via Intra-Model Routing for Speculative Decoding10 Jun 2026
38 more
- 2026D^2SD: Accelerating Speculative Decoding with Dual Diffusion Draft Models3 Jun 2026
- 2026BudgetDraft: Acceptance-Aware Multi-View Training for Sparse-KV Speculative Decoding29 May 2026
- 2026Draft-OPD: On-Policy Distillation for Speculative Draft Models28 May 2026
- 2026Exploring and Developing a Pre-Model Safeguard with Draft Models19 May 2026
- 2026Delay-Adaptive Speculation Control for Low-Latency Edge-Cloud LLM Inference17 May 2026
- 2026Performance-Driven Policy Optimization for Speculative Decoding with Adaptive Windowing14 May 2026
- 2026D-PACE: Dynamic Position-Aware Cross-Entropy for Parallel Speculative Drafting12 May 2026
- 2026CATS: Cascaded Adaptive Tree Speculation for Memory-Limited LLM Inference Acceleration11 May 2026
- 2026Test-Time Speculation10 May 2026
- 2026EvoSpec: Evolving Speculative Decoding via Real-Time Vocabulary and Parameter Adaptation17 Apr 2026
- 2026DIVERSED: Relaxed Speculative Decoding via Dynamic Ensemble Verification8 Apr 2026
- 2026SpecTr-GBV: Multi-Draft Block Verification Accelerating Speculative Decoding1 Apr 2026
- 2026CIAR: Interval-based Collaborative Decoding for Image Generation Acceleration26 Mar 2026
- 2026ECHO: Elastic Speculative Decoding with Sparse Gating for High-Concurrency Scenarios10 Mar 2026
- 2026SageSched: Efficient LLM Scheduling Confronting Demand Uncertainty and Hybridity9 Mar 2026
- 2026Discourse-Aware Dual-Track Streaming Response for Low-Latency Spoken Dialogue Systems26 Feb 2026
- 2026Dynamic Delayed Tree Expansion For Improved Multi-Path Speculative Decoding19 Feb 2026
- 2026Greedy Multi-Path Block Verification for Faster Decoding in Speculative Sampling18 Feb 2026
- 2026When RL Meets Adaptive Speculative Training: A Unified Training-Serving System6 Feb 2026
- 2026SDFP: Speculative Decoding with FIT-Pruned Models for Training-Free and Plug-and-Play LLM Acceleration5 Feb 2026
- 2026TIDE: Temporal Incremental Draft Engine for Self-Improving LLM Inference5 Feb 2026
- 2026Improving the Trade-off Between Watermark Strength and Speculative Sampling Efficiency for Language Models1 Feb 2026
- 2026Pay for Hints, Not Answers: LLM Shepherding for Cost-Efficient Inference29 Jan 2026
- 2026ScaleSim: Serving Large-Scale Multi-Agent Simulation with Invocation Distance-Based Memory Management29 Jan 2026
- 2026d3LLM: Ultra-Fast Diffusion LLM using Pseudo-Trajectory Distillation12 Jan 2026
- 2025Speculative Decoding: Performance or Illusion?31 Dec 2025
- 2025Fail Fast, Win Big: Rethinking the Drafting Strategy in Speculative Decoding via Diffusion LLMs23 Dec 2025
- 2025Fast and Accurate Causal Parallel Decoding using Jacobi Forcing16 Dec 2025
- 2025Accelerating Large-Scale Reasoning Model Inference with Sparse Self-Speculative Decoding1 Dec 2025
- 2025Fast LLM Post-training via Decoupled and Fastest-of-N Speculation20 Nov 2025
- 2025Global Resolution: Optimal Multi-Draft Speculative Sampling via Convex Minimization19 Nov 2025
- 2025FlashMesh: Faster and Better Autoregressive Mesh Synthesis via Structured Speculation19 Nov 2025
- 2025Beat the long tail: Distribution-Aware Speculative Decoding for RL Training17 Nov 2025
- 2025Thinking While Speaking: Inference-Time Knowledge Transfer for Responsive and Intelligent Conversational Voice Agents10 Nov 2025
- 2025ReSpec: Towards Optimizing Speculative Decoding in Reinforcement Learning Systems30 Oct 2025
- 2025Not-a-Bandit: Provably No-Regret Drafter Selection in Speculative Decoding for LLMs22 Oct 2025
- 2025AdaSPEC: Selective Knowledge Distillation for Efficient Speculative Decoders22 Oct 2025
- 2025Fast Inference via Hierarchical Speculative Decoding22 Oct 2025
50 newest of 113 All 113 (JSON)
- 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 843
- 2024EAGLE-2: Faster Inference of Language Models with Dynamic Draft Treescited by 370
- 2024Break the Sequential Dependency of LLM Inference Using Lookahead Decodingcited by 298
- 2024A Survey on Efficient Inference for Large Language Modelscited by 205
- 2023DistillSpec: Improving Speculative Decoding via Knowledge Distillationcited by 165
- 2024LLM Inference Unveiled: Survey and Roofline Model Insightscited by 152
- 2024SpecDec++: Boosting Speculative Decoding via Adaptive Candidate Lengthscited by 75
- 2024SWIFT: On-the-Fly Self-Speculative Decoding for LLM Inference Accelerationcited by 72
- 2024SpecExec: Massively Parallel Speculative Decoding for Interactive LLM Inference on Consumer Devicescited by 46
- 2024Recurrent Drafter for Fast Speculative Decoding in Large Language Modelscited by 37
- 2024TurboSpec: Closed-loop Speculation Control System for Optimizing LLM Serving Goodputcited by 37
- 2026d3LLM: Ultra-Fast Diffusion LLM using Pseudo-Trajectory Distillationcited by 37
12 most cited of 69 All 69 (JSON)
- 2026TreeSpark: Learning to Draft the Trees You Verify for Speculative Decoding14 Oct 2026
- 2026JetSpec++: Foresight Parallel Drafting with Self Refinements14 Oct 2026
- 2026SharpDraft: Accelerating Long-Context Speculative Decoding with Cardinality-Aware Query Scaling4 Oct 2026
- 2026AS2D: Accelerating On-Demand Audio Understanding on Mobile Devices29 Sep 2026
- 2026Verification-Aware Training for Speculative Decoding31 Aug 2026
- 2026Adversarial Prompts for Acceptance Collapse in Speculative Decoding23 Jul 2026
- 2026JetSpec: Breaking the Scaling Ceiling of Speculative Decoding with Parallel Tree Drafting16 Jun 2026
- 2026VIA-SD: Verification via Intra-Model Routing for Speculative Decoding10 Jun 2026
- 2026D^2SD: Accelerating Speculative Decoding with Dual Diffusion Draft Models3 Jun 2026
- 2026BudgetDraft: Acceptance-Aware Multi-View Training for Sparse-KV Speculative Decoding29 May 2026
- 2026Draft-OPD: On-Policy Distillation for Speculative Draft Models28 May 2026
- 2026Delay-Adaptive Speculation Control for Low-Latency Edge-Cloud LLM Inference17 May 2026
12 newest of 69 All 69 (JSON)
- 2024EAGLE: Speculative Sampling Requires Rethinking Feature Uncertaintycited by 578
- 2025SPEED-RL: Faster Training of Reasoning Models via Online Curriculum Learningcited by 29
- 2025SwiReasoning: Switch-Thinking in Latent and Explicit for Pareto-Superior Reasoning LLMscited by 22
- 2025Accelerating Large-Scale Reasoning Model Inference with Sparse Self-Speculative Decodingcited by 10
- 2025AdaDecode: Accelerating LLM Decoding with Adaptive Layer Parallelismcited by 7
- 2025Think Before You Accept: Semantic Reflective Verification for Faster Speculative Decodingcited by 6
- 2025Scaling Laws for Speculative Decodingcited by 4
- 2025Fail Fast, Win Big: Rethinking the Drafting Strategy in Speculative Decoding via Diffusion LLMscited by 4
- 2025Thinking While Speaking: Inference-Time Knowledge Transfer for Responsive and Intelligent Conversational Voice Agentscited by 2
- 2025Fail Fast, Win Big: Rethinking the Drafting Strategy in Speculative Decoding via Diffusion LLMs23 Dec 2025
- 2025Accelerating Large-Scale Reasoning Model Inference with Sparse Self-Speculative Decoding1 Dec 2025
- 2025Thinking While Speaking: Inference-Time Knowledge Transfer for Responsive and Intelligent Conversational Voice Agents10 Nov 2025
- 2025SwiReasoning: Switch-Thinking in Latent and Explicit for Pareto-Superior Reasoning LLMs6 Oct 2025
- 2025SPEED-RL: Faster Training of Reasoning Models via Online Curriculum Learning10 Jun 2025
- 2025AdaDecode: Accelerating LLM Decoding with Adaptive Layer Parallelism4 Jun 2025
- 2025Think Before You Accept: Semantic Reflective Verification for Faster Speculative Decoding24 May 2025
- 2025Scaling Laws for Speculative Decoding8 May 2025
- 2024EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty26 Jan 2024
- 2025LongSpec: Long-Context Lossless Speculative Decoding with Efficient Drafting and Verificationcited by 21
- 2024Interactive Speculative Planning: Enhance Agent Efficiency through Co-design of System and User Interfacecited by 16
- 2025Dynamic Speculative Agent Planningcited by 12
- 2026ScaleSim: Serving Large-Scale Multi-Agent Simulation with Invocation Distance-Based Memory Managementcited by 2
- 2026LEAP: Learning Efficient Action Proposals For LLM Agentscited by 0
- 2026LEAP: Learning Efficient Action Proposals For LLM Agents2 Oct 2026
- 2026ScaleSim: Serving Large-Scale Multi-Agent Simulation with Invocation Distance-Based Memory Management29 Jan 2026
- 2025Dynamic Speculative Agent Planning2 Sep 2025
- 2025LongSpec: Long-Context Lossless Speculative Decoding with Efficient Drafting and Verification24 Feb 2025
- 2024Interactive Speculative Planning: Enhance Agent Efficiency through Co-design of System and User Interface30 Sep 2024
- 2024Dynamic-LLaVA: Efficient Multimodal Large Language Models via Dynamic Vision-language Context Sparsificationcited by 59
- 2026Beyond Tokens: A Survey on Decoding Methods for Large Language and Vision-Language Modelscited by 0
- 2026SP2ec: Adaptive Self-Speculative Decoding for Vision-Language Modelscited by 0
- 2026SP2ec: Adaptive Self-Speculative Decoding for Vision-Language Models13 Oct 2026
- 2026Beyond Tokens: A Survey on Decoding Methods for Large Language and Vision-Language Models14 Aug 2026
- 2024Dynamic-LLaVA: Efficient Multimodal Large Language Models via Dynamic Vision-language Context Sparsification1 Dec 2024
- 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Modelscited by 122
- 2024MambaByte: Token-free Selective State Space Modelcited by 59
- 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Models27 Aug 2024
- 2024MambaByte: Token-free Selective State Space Model24 Jan 2024
- 2025Knowledge Distillation with Training Wheelscited by 4
- 2025Knowledge Distillation with Training Wheels24 Feb 2025
- 2024Rephrasing the Web: A Recipe for Compute and Data-Efficient Language Modelingcited by 161
- 2024A Declarative System for Optimizing AI Workloadscited by 37
- 2024Teola: Towards End-to-End Optimization of LLM-based Applicationscited by 32
- 2024A Survey: Collaborative Hardware and Software Design in the Era of Large Language Modelscited by 23
- 2024Online Cascade Learning for Efficient Inference over Streamscited by 20
- 2024BiTA: Bi-Directional Tuning for Lossless Acceleration in Large Language Modelscited by 13
- 2024Efficient Inference for Large Language Model-based Generative Recommendationcited by 11
- 2024Constrained Decoding with Speculative Lookaheadscited by 6
- 2024Knowledge boosting during low-latency inferencecited by 4
- 2025Towards Harnessing the Collaborative Power of Large and Small Models for Domain Taskscited by 4
- 2025Advancing Decoding Strategies: Enhancements in Locally Typical Sampling for LLMscited by 4
- 2025FlashMesh: Faster and Better Autoregressive Mesh Synthesis via Structured Speculationcited by 3
12 most cited of 18 All 18 (JSON)
- 2026GrowMTP: Can RL Grow Its Own Draft Head?15 Sep 2026
- 2026CIAR: Interval-based Collaborative Decoding for Image Generation Acceleration26 Mar 2026
- 2026Discourse-Aware Dual-Track Streaming Response for Low-Latency Spoken Dialogue Systems26 Feb 2026
- 2026Pay for Hints, Not Answers: LLM Shepherding for Cost-Efficient Inference29 Jan 2026
- 2025FlashMesh: Faster and Better Autoregressive Mesh Synthesis via Structured Speculation19 Nov 2025
- 2025Semantic Scheduling for LLM Inference13 Jun 2025
- 2025Advancing Decoding Strategies: Enhancements in Locally Typical Sampling for LLMs3 Jun 2025
- 2025An Efficient Private GPT Never Autoregressively Decodes21 May 2025
- 2025Towards Harnessing the Collaborative Power of Large and Small Models for Domain Tasks24 Apr 2025
- 2024Constrained Decoding with Speculative Lookaheads9 Dec 2024
- 2024A Survey: Collaborative Hardware and Software Design in the Era of Large Language Models8 Oct 2024
- 2024Efficient Inference for Large Language Model-based Generative Recommendation7 Oct 2024
12 newest of 18 All 18 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Training Domain Draft Models for Speculative Decoding: Best Practices and Insights
- 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decoding
- 2024Closer Look at Efficient Inference Methods: A Survey of Speculative Decoding
- 2025AdaSD: Adaptive Speculative Decoding for Efficient Language Model Inference
- 2026Speculative Decoding with a Speculative Vocabulary
- 2024Speculative Streaming: Fast LLM Inference without Auxiliary Models
- 2026SPEED-Bench: A Unified and Diverse Benchmark for Speculative Decoding
- 2024Graph-Structured Speculative Decoding