Kangaroo: Lossless Self-Speculative Decoding via Double Early Exiting
On the map: Efficient LLM inference and serving → Speculative decoding
Abstract (arXiv)
Speculative decoding has demonstrated its effectiveness in accelerating the inference of large language models while maintaining a consistent sampling distribution. However, the conventional approach of training a separate draft model to achieve a satisfactory token acceptance rate can be costly. Drawing inspiration from early exiting, we propose a novel self-speculative decoding framework Kangaroo, which uses a fixed shallow sub-network as a self-draft model, with the remaining layers serving as the larger target model. We train a lightweight and efficient adapter module on top of the sub-network to bridge the gap between the sub-network and the full model's representation ability. It is noteworthy that the inference latency of the self-draft model may no longer be negligible compared to the large model, necessitating strategies to increase the token acceptance rate while minimizing the drafting steps of the small model. To address this challenge, we introduce an additional early exiting mechanism for generating draft tokens. Specifically, we halt the small model's subsequent prediction during the drafting phase once the confidence level for the current token falls below a certain threshold. Extensive experiments on the Spec-Bench demonstrate the effectiveness of Kangaroo. Under single-sequence verification, Kangaroo achieves speedups up to 1.68× on Spec-Bench, outperforming Medusa-1 with 88.7% fewer additional parameters (67M compared to 591M). The code for Kangaroo is available at https://github.com/Equationliu/Kangaroo.
Key facts. Cited by 58 papers in the map (data through 7 Oct 2026). Placed in Speculative decoding, one of 12 directions in Efficient LLM inference and serving. Builds on 30 of its 34 references that are in the map. First posted on arXiv 29 Apr 2024.
Builds on
30 of 34 references.
Closest ancestors · 13
Same direction, newest first
- 2024Recurrent Drafter for Fast Speculative Decoding in Large Language Models14 Mar
- 2024Hydra: Sequentially-Dependent Draft Heads for Medusa Decoding7 Feb
- 2024Break the Sequential Dependency of LLM Inference Using Lookahead Decoding3 Feb
- 2024EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty26 Jan
- 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads19 Jan
- 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decoding15 Jan
- 2024Multi-Candidate Speculative Decoding12 Jan
- 2023REST: Retrieval-Based Speculative Decoding14 Nov
- 2023SpecTr: Fast Speculative Decoding via Optimal Transport23 Oct
- 2023DistillSpec: Improving Speculative Decoding via Knowledge Distillation12 Oct
- 2023Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decoding9 Oct
- 2023Accelerating Large Language Model Decoding with Speculative Sampling2 Feb
1 more
Other references · 17
- 2017Attention Is All You Needcited by 59,932
- 2023GPT-4 Technical Reportcited by 18,132
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Qwen Technical Reportcited by 3,273
- 2023Mistral 7Bcited by 3,065
- 2019Root Mean Square Layer Normalizationcited by 1,425
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
- 2018Blockwise Parallel Decoding for Deep Autoregressive Modelscited by 318
- 2022Confident Adaptive Language Modelingcited by 297
- 2024A Survey on Efficient Inference for Large Language Modelscited by 197
- 2023Inference with Reference: Lossless Acceleration of Large Language Modelscited by 63
5 more
- 2023SPEED: Speculative Pipelined Execution for Efficient Decodingcited by 47
- 2024A Survey on Transformer Compressioncited by 44
- 2022You Need Multiple Exiting: Dynamic Early Exiting for Accelerating Unified Vision Language Modelcited by 42
- 2023PanGu-π: Enhancing Language Model Architectures via Nonlinearity Compensationcited by 17
- 2024PanGu-π Pro:Rethinking Optimization and Architecture for Tiny Language Modelscited by 14
Built on by
Citing papers per year: 2024: 14; 2025: 26; 2026: 18.
58 papers.
Sort:
By area:
- 2024EAGLE-2: Faster Inference of Language Models with Dynamic Draft Treescited by 362
- 2025EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Testcited by 318
- 2024SpecDec++: Boosting Speculative Decoding via Adaptive Candidate Lengthscited by 73
- 2024Relaxed Recursive Transformers: Effective Parameter Sharing with Layer-wise LoRAcited by 72
- 2025Judge Decoding: Faster Speculative Sampling Requires Going Beyond Model Alignmentcited by 59
- 2024Turning Trash into Treasure: Accelerating Inference of Large Language Models with Token Recyclingcited by 48
- 2024Merge, Ensemble, and Cooperate! A Survey on Collaborative Strategies in the Era of Large Language Modelscited by 43
- 2024Faster Cascades via Speculative Decodingcited by 38
- 2024Large Language Model Inference Acceleration: A Comprehensive Hardware Perspectivecited by 36
- 2025Spec-VLA: Speculative Decoding for Vision-Language-Action Models with Relaxed Acceptancecited by 31
- 2025PARD: Accelerating LLM Inference with Low-Cost PARallel Draft Model Adaptationcited by 28
- 2025A Survey on Parallel Text Generation: From Parallel Decoding to Diffusion Language Modelscited by 27
38 more
- 2025Speculative Decoding and Beyond: An In-Depth Survey of Techniquescited by 22
- 2025ViSpec: Accelerating Vision-Language Models with Vision-Aware Speculative Decodingcited by 21
- 2024AdaEAGLE: Optimizing Speculative Decoding via Explicit Modeling of Adaptive Draft Structurescited by 17
- 2026D-PACE: Dynamic Position-Aware Cross-Entropy for Parallel Speculative Draftingcited by 16
- 2024Interactive Speculative Planning: Enhance Agent Efficiency through Co-design of System and User Interfacecited by 15
- 2025DREAM: Drafting with Refined Target Features and Entropy-Adaptive Cross-Attention Fusion for Multimodal Speculative Decodingcited by 13
- 2025FastMTP: Accelerating LLM Inference with Enhanced Multi-Token Predictioncited by 13
- 2025SP-MoE: Speculative Decoding and Prefetching for Accelerating MoE-based Model Inferencecited by 12
- 2025Self-Speculative Masked Diffusionscited by 11
- 2025A Survey on Parallel Reasoningcited by 11
- 2025Training-Free Loosely Speculative Decoding: Accepting Semantically Correct Drafts Beyond Exact Matchcited by 11
- 2025The Efficiency vs. Accuracy Trade-off: Optimizing RAG-Enhanced LLM Recommender Systems Using Multi-Head Early Exitcited by 10
- 2025Gumiho: A Hybrid Architecture to Prioritize Early Tokens in Speculative Decodingcited by 9
- 2025SPIN: Accelerating Large Language Model Inference with Heterogeneous Speculative Modelscited by 9
- 2025CLaSp: In-Context Layer Skip for Self-Speculative Decodingcited by 9
- 2024Draft on the Fly: Adaptive Self-Speculative Decoding using Cosine Similaritycited by 8
- 2025DEL: Context-Aware Dynamic Exit Layer for Efficient Self-Speculative Decodingcited by 8
- 2025AdaDecode: Accelerating LLM Decoding with Adaptive Layer Parallelismcited by 7
- 2024S3D: A Simple and Cost-Effective Self-Speculative Decoding Scheme for Low-Memory GPUscited by 6
- 2024Whisper in Medusa's Ear: Multi-head Efficient Decoding for Transformer-based ASRcited by 6
- 2024Amphista: Bi-directional Multi-head Decoding for Accelerating LLM Inferencecited by 5
- 2026EvoStreaming: Your Offline Video Model Is a Natively Streaming Assistantcited by 5
- 2025Yggdrasil: Bridging Dynamic Speculation and Static Runtime for Latency-Optimal Tree-Based LLM Decodingcited by 4
- 2026KnapSpec: Self-Speculative Decoding via Adaptive Layer Selection as a Knapsack Problemcited by 4
- 2026Cactus: Accelerating Auto-Regressive Decoding with Constrained Acceptance Speculative Samplingcited by 4
- 2024EMS-SD: Efficient Multi-sample Speculative Decoding for Accelerating Large Language Modelscited by 3
- 2025Draft, Verify, and Improve: Toward Training-Aware Speculative Decodingcited by 3
- 2026Sparrow: Text-Anchored Window Attention with Visual-Semantic Glimpsing for Speculative Decoding in Video LLMscited by 3
- 2026SpecBlock: Block-Iterative Speculative Decoding with Dynamic Tree Draftingcited by 3
- 2026Teaching Diffusion to Speculate Left-to-Rightcited by 3
- 2025HeteroSpec: Leveraging Contextual Heterogeneity for Efficient Speculative Decodingcited by 2
- 2025Pre-Training Curriculum for Multi-Token Prediction in Language Modelscited by 2
- 2025OverFill: Two-Stage Models for Efficient Language Model Decodingcited by 2
- 2026Variational Speculative Decoding: Rethinking Draft Training from Token Likelihood to Sequence Acceptancecited by 2
- 2026The Shape of Overthinking: Backtracking Bursts in Long Reasoning Tracescited by 2
- 2025SD2: Self-Distilled Sparse Drafterscited by 1
- 2026SpecBound: Adaptive Bounded Self-Speculation with Layer-wise Confidence Calibrationcited by 1
- 2026DREAM-S: Speculative Decoding with Searchable Drafting and Target-Aware Refinement for Multimodal Generationcited by 1
50 most cited of 58 All 58 (JSON)
- 2026BitNest: Bit-Nested Speculative Decoding for Memory-Efficient LLM Inference Acceleration2 Oct 2026
- 2026HAWK: Rethinking Multimodal Drafting for Speculative Decoding30 Sep 2026
- 2026Osprey: Target-agnostic Pre-training Makes Stronger Drafters in Speculative Decoding8 Sep 2026
- 2026Teaching Diffusion to Speculate Left-to-Right10 Jun 2026
- 2026DREAM-S: Speculative Decoding with Searchable Drafting and Target-Aware Refinement for Multimodal Generation30 May 2026
- 2026DREAM-R: Multimodal Speculative Reasoning with RL-Based Refined Drafting, Precise Verification, and Fully Parallel Execution27 May 2026
- 2026The Shape of Overthinking: Backtracking Bursts in Long Reasoning Traces27 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
- 2026EvoStreaming: Your Offline Video Model Is a Natively Streaming Assistant11 May 2026
- 2026SpecBlock: Block-Iterative Speculative Decoding with Dynamic Tree Drafting8 May 2026
- 2026SpecBound: Adaptive Bounded Self-Speculation with Layer-wise Confidence Calibration14 Apr 2026
38 more
- 2026Cactus: Accelerating Auto-Regressive Decoding with Constrained Acceptance Speculative Sampling5 Apr 2026
- 2026Two-dimensional early exit optimisation of LLM inference27 Mar 2026
- 2026TAPS: Task Aware Proposal Distributions for Speculative Sampling27 Mar 2026
- 2026KnapSpec: Self-Speculative Decoding via Adaptive Layer Selection as a Knapsack Problem23 Feb 2026
- 2026Sparrow: Text-Anchored Window Attention with Visual-Semantic Glimpsing for Speculative Decoding in Video LLMs17 Feb 2026
- 2026Variational Speculative Decoding: Rethinking Draft Training from Token Likelihood to Sequence Acceptance5 Feb 2026
- 2025Yggdrasil: Bridging Dynamic Speculation and Static Runtime for Latency-Optimal Tree-Based LLM Decoding29 Dec 2025
- 2025RADAR: Accelerate Large Language Model Inference With RL-Based Dynamic Draft Trees16 Dec 2025
- 2025Training-Free Loosely Speculative Decoding: Accepting Semantically Correct Drafts Beyond Exact Match28 Nov 2025
- 2025A Survey on Parallel Reasoning14 Oct 2025
- 2025SP-MoE: Speculative Decoding and Prefetching for Accelerating MoE-based Model Inference11 Oct 2025
- 2025Draft, Verify, and Improve: Toward Training-Aware Speculative Decoding6 Oct 2025
- 2025Self-Speculative Masked Diffusions4 Oct 2025
- 2025ViSpec: Accelerating Vision-Language Models with Vision-Aware Speculative Decoding17 Sep 2025
- 2025FastMTP: Accelerating LLM Inference with Enhanced Multi-Token Prediction16 Sep 2025
- 2025A Survey on Parallel Text Generation: From Parallel Decoding to Diffusion Language Models12 Aug 2025
- 2025OverFill: Two-Stage Models for Efficient Language Model Decoding11 Aug 2025
- 2025Spec-VLA: Speculative Decoding for Vision-Language-Action Models with Relaxed Acceptance30 Jul 2025
- 2025AdaDecode: Accelerating LLM Decoding with Adaptive Layer Parallelism4 Jun 2025
- 2025CLaSp: In-Context Layer Skip for Self-Speculative Decoding30 May 2025
- 2025Pre-Training Curriculum for Multi-Token Prediction in Language Models28 May 2025
- 2025DREAM: Drafting with Refined Target Features and Entropy-Adaptive Cross-Attention Fusion for Multimodal Speculative Decoding25 May 2025
- 2025HeteroSpec: Leveraging Contextual Heterogeneity for Efficient Speculative Decoding19 May 2025
- 2025PARD: Accelerating LLM Inference with Low-Cost PARallel Draft Model Adaptation23 Apr 2025
- 2025SD2: Self-Distilled Sparse Drafters10 Apr 2025
- 2025DEL: Context-Aware Dynamic Exit Layer for Efficient Self-Speculative Decoding8 Apr 2025
- 2025SPIN: Accelerating Large Language Model Inference with Heterogeneous Speculative Models20 Mar 2025
- 2025Gumiho: A Hybrid Architecture to Prioritize Early Tokens in Speculative Decoding13 Mar 2025
- 2025EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Test3 Mar 2025
- 2025Speculative Decoding and Beyond: An In-Depth Survey of Techniques27 Feb 2025
- 2025Judge Decoding: Faster Speculative Sampling Requires Going Beyond Model Alignment31 Jan 2025
- 2025The Efficiency vs. Accuracy Trade-off: Optimizing RAG-Enhanced LLM Recommender Systems Using Multi-Head Early Exit4 Jan 2025
- 2024AdaEAGLE: Optimizing Speculative Decoding via Explicit Modeling of Adaptive Draft Structures25 Dec 2024
- 2024Relaxed Recursive Transformers: Effective Parameter Sharing with Layer-wise LoRA28 Oct 2024
- 2024Large Language Model Inference Acceleration: A Comprehensive Hardware Perspective6 Oct 2024
- 2024Draft on the Fly: Adaptive Self-Speculative Decoding using Cosine Similarity1 Oct 2024
- 2024Interactive Speculative Planning: Enhance Agent Efficiency through Co-design of System and User Interface30 Sep 2024
- 2024Whisper in Medusa's Ear: Multi-head Efficient Decoding for Transformer-based ASR24 Sep 2024
50 newest of 58 All 58 (JSON)
- 2024EAGLE-2: Faster Inference of Language Models with Dynamic Draft Treescited by 362
- 2025EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Testcited by 318
- 2024SpecDec++: Boosting Speculative Decoding via Adaptive Candidate Lengthscited by 73
- 2024Faster Cascades via Speculative Decodingcited by 38
- 2024Large Language Model Inference Acceleration: A Comprehensive Hardware Perspectivecited by 36
- 2025PARD: Accelerating LLM Inference with Low-Cost PARallel Draft Model Adaptationcited by 28
- 2025Speculative Decoding and Beyond: An In-Depth Survey of Techniquescited by 22
- 2024AdaEAGLE: Optimizing Speculative Decoding via Explicit Modeling of Adaptive Draft Structurescited by 17
- 2026D-PACE: Dynamic Position-Aware Cross-Entropy for Parallel Speculative Draftingcited by 16
- 2025FastMTP: Accelerating LLM Inference with Enhanced Multi-Token Predictioncited by 13
- 2025Training-Free Loosely Speculative Decoding: Accepting Semantically Correct Drafts Beyond Exact Matchcited by 11
- 2025The Efficiency vs. Accuracy Trade-off: Optimizing RAG-Enhanced LLM Recommender Systems Using Multi-Head Early Exitcited by 10
12 most cited of 34 All 34 (JSON)
- 2026BitNest: Bit-Nested Speculative Decoding for Memory-Efficient LLM Inference Acceleration2 Oct 2026
- 2026Osprey: Target-agnostic Pre-training Makes Stronger Drafters in Speculative Decoding8 Sep 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
- 2026SpecBlock: Block-Iterative Speculative Decoding with Dynamic Tree Drafting8 May 2026
- 2026SpecBound: Adaptive Bounded Self-Speculation with Layer-wise Confidence Calibration14 Apr 2026
- 2026Cactus: Accelerating Auto-Regressive Decoding with Constrained Acceptance Speculative Sampling5 Apr 2026
- 2026Two-dimensional early exit optimisation of LLM inference27 Mar 2026
- 2026TAPS: Task Aware Proposal Distributions for Speculative Sampling27 Mar 2026
- 2026KnapSpec: Self-Speculative Decoding via Adaptive Layer Selection as a Knapsack Problem23 Feb 2026
- 2025Yggdrasil: Bridging Dynamic Speculation and Static Runtime for Latency-Optimal Tree-Based LLM Decoding29 Dec 2025
- 2025RADAR: Accelerate Large Language Model Inference With RL-Based Dynamic Draft Trees16 Dec 2025
12 newest of 34 All 34 (JSON)
- 2025Spec-VLA: Speculative Decoding for Vision-Language-Action Models with Relaxed Acceptancecited by 31
- 2025ViSpec: Accelerating Vision-Language Models with Vision-Aware Speculative Decodingcited by 21
- 2025DREAM: Drafting with Refined Target Features and Entropy-Adaptive Cross-Attention Fusion for Multimodal Speculative Decodingcited by 13
- 2026Sparrow: Text-Anchored Window Attention with Visual-Semantic Glimpsing for Speculative Decoding in Video LLMscited by 3
- 2026DREAM-S: Speculative Decoding with Searchable Drafting and Target-Aware Refinement for Multimodal Generationcited by 1
- 2026DREAM-R: Multimodal Speculative Reasoning with RL-Based Refined Drafting, Precise Verification, and Fully Parallel Executioncited by 0
- 2026DREAM-S: Speculative Decoding with Searchable Drafting and Target-Aware Refinement for Multimodal Generation30 May 2026
- 2026DREAM-R: Multimodal Speculative Reasoning with RL-Based Refined Drafting, Precise Verification, and Fully Parallel Execution27 May 2026
- 2026Sparrow: Text-Anchored Window Attention with Visual-Semantic Glimpsing for Speculative Decoding in Video LLMs17 Feb 2026
- 2025ViSpec: Accelerating Vision-Language Models with Vision-Aware Speculative Decoding17 Sep 2025
- 2025Spec-VLA: Speculative Decoding for Vision-Language-Action Models with Relaxed Acceptance30 Jul 2025
- 2025DREAM: Drafting with Refined Target Features and Entropy-Adaptive Cross-Attention Fusion for Multimodal Speculative Decoding25 May 2025
- 2025A Survey on Parallel Reasoningcited by 11
- 2025AdaDecode: Accelerating LLM Decoding with Adaptive Layer Parallelismcited by 7
- 2026Variational Speculative Decoding: Rethinking Draft Training from Token Likelihood to Sequence Acceptancecited by 2
- 2026The Shape of Overthinking: Backtracking Bursts in Long Reasoning Tracescited by 2
- 2026HAWK: Rethinking Multimodal Drafting for Speculative Decodingcited by 0
- 2026HAWK: Rethinking Multimodal Drafting for Speculative Decoding30 Sep 2026
- 2026The Shape of Overthinking: Backtracking Bursts in Long Reasoning Traces27 May 2026
- 2026Variational Speculative Decoding: Rethinking Draft Training from Token Likelihood to Sequence Acceptance5 Feb 2026
- 2025A Survey on Parallel Reasoning14 Oct 2025
- 2025AdaDecode: Accelerating LLM Decoding with Adaptive Layer Parallelism4 Jun 2025
- 2024Relaxed Recursive Transformers: Effective Parameter Sharing with Layer-wise LoRAcited by 72
- 2024Turning Trash into Treasure: Accelerating Inference of Large Language Models with Token Recyclingcited by 48
- 2024Merge, Ensemble, and Cooperate! A Survey on Collaborative Strategies in the Era of Large Language Modelscited by 43
- 2024Whisper in Medusa's Ear: Multi-head Efficient Decoding for Transformer-based ASRcited by 6
- 2024Amphista: Bi-directional Multi-head Decoding for Accelerating LLM Inferencecited by 5
- 2026EvoStreaming: Your Offline Video Model Is a Natively Streaming Assistantcited by 5
- 2026Teaching Diffusion to Speculate Left-to-Rightcited by 3
- 2025OverFill: Two-Stage Models for Efficient Language Model Decodingcited by 2
- 2026Teaching Diffusion to Speculate Left-to-Right10 Jun 2026
- 2026EvoStreaming: Your Offline Video Model Is a Natively Streaming Assistant11 May 2026
- 2025OverFill: Two-Stage Models for Efficient Language Model Decoding11 Aug 2025
- 2024Relaxed Recursive Transformers: Effective Parameter Sharing with Layer-wise LoRA28 Oct 2024
- 2024Whisper in Medusa's Ear: Multi-head Efficient Decoding for Transformer-based ASR24 Sep 2024
- 2024Turning Trash into Treasure: Accelerating Inference of Large Language Models with Token Recycling16 Aug 2024
- 2024Merge, Ensemble, and Cooperate! A Survey on Collaborative Strategies in the Era of Large Language Models8 Jul 2024
- 2024Amphista: Bi-directional Multi-head Decoding for Accelerating LLM Inference19 Jun 2024
Similar, not cited
Close in wording, no citation either way
- 2025KNN-SSD: Enabling Dynamic Self-Speculative Decoding via Nearest Neighbor Layer Set Optimization
- 2024Speculative Decoding via Early-exiting for Faster LLM Inference with Thompson Sampling Control Mechanism
- 2025Pipeline Parallelism is All You Need for Optimized Early-Exit Based Self-Speculative Decoding
- 20253-Model Speculative Decoding
- 2023Draft & Verify: Lossless Large Language Model Acceleration via Self-Speculative Decoding
- 2024Recursive Speculative Decoding: Accelerating LLM Inference via Sampling Without Replacement
- 2024Closer Look at Efficient Inference Methods: A Survey of Speculative Decoding
- 2024Graph-Structured Speculative Decoding