CLaSp: In-Context Layer Skip for Self-Speculative Decoding
On the map: Efficient LLM inference and serving → Speculative decoding
Abstract (arXiv)
Speculative decoding (SD) is a promising method for accelerating the decoding process of Large Language Models (LLMs). The efficiency of SD primarily hinges on the consistency between the draft model and the verify model. However, existing drafting approaches typically require additional modules to be trained, which can be challenging to implement and ensure compatibility across various LLMs. In this paper, we propose CLaSp, an in-context layer-skipping strategy for self-speculative decoding. Unlike prior methods, CLaSp does not require additional drafting modules or extra training. Instead, it employs a plug-and-play mechanism by skipping intermediate layers of the verify model to construct a compressed draft model. Specifically, we develop a dynamic programming algorithm that optimizes the layer-skipping process by leveraging the complete hidden states from the last verification stage as an objective. This enables CLaSp to dynamically adjust its layer-skipping strategy after each verification stage, without relying on pre-optimized sets of skipped layers. Experimental results across diverse downstream tasks demonstrate that CLaSp achieves a speedup of 1.3x ~ 1.7x on LLaMA3 series models without altering the original distribution of the generated text.
Key facts. Cited by 11 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 34 of its 42 references that are in the map. First posted on arXiv 30 May 2025.
Builds on
34 of 42 references.
Closest ancestors · 16
Same direction, newest first
- 2024SWIFT: On-the-Fly Self-Speculative Decoding for LLM Inference Acceleration9 Oct
- 2024EAGLE-2: Faster Inference of Language Models with Dynamic Draft Trees24 Jun
- 2024SpecExec: Massively Parallel Speculative Decoding for Interactive LLM Inference on Consumer Devices4 Jun
- 2024Kangaroo: Lossless Self-Speculative Decoding via Double Early Exiting29 Apr
- 2024TriForce: Lossless Acceleration of Long Sequence Generation with Hierarchical Speculative Decoding18 Apr
- 2024Sequoia: Scalable, Robust, and Hardware-aware Speculative Decoding19 Feb
- 2024GliDe with a CaPE: A Low-Hassle Method to Accelerate Speculative 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
- 2023REST: Retrieval-Based Speculative Decoding14 Nov
- 2023SkipDecode: Autoregressive Skip Decoding with Batching and Caching for Efficient LLM Inference5 Jul
4 more
- 2023SpecInfer: Accelerating Generative Large Language Model Serving with Tree-based Speculative Inference and Verification16 May
- 2023Accelerating Large Language Model Decoding with Speculative Sampling2 Feb
- 2022Fast Inference from Transformers via Speculative Decoding30 Nov
- 2022Speculative Decoding: Exploiting Speculative Execution for Accelerating Seq2seq Generation30 Mar
Other references · 18
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
- 2024Qwen2 Technical Reportcited by 2,120
- 2016Abstractive Text Summarization Using Sequence-to-Sequence RNNs and Beyondcited by 812
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 717
6 more
- 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 439
- 2024LayerSkip: Enabling Early Exit Inference and Self-Speculative Decodingcited by 307
- 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 252
- 2023SARATHI: Efficient LLM Inference by Piggybacking Decodes with Chunked Prefillscited by 193
- 2020Accelerating Training of Transformer-Based Language Models with Progressive Layer Droppingcited by 93
- 2024Dynamic layer selection in decoder-only transformerscited by 4
Built on by
Citing papers per year: 2025: 2; 2026: 9.
11 papers.
- 2026EfficientRollout: System-Aware Self-Speculative Decoding for RL Rolloutscited by 6
- 2026KnapSpec: Self-Speculative Decoding via Adaptive Layer Selection as a Knapsack Problemcited by 5
- 2025CAS-Spec: Cascade Adaptive Self-Speculative Decoding for On-the-Fly Lossless Inference Acceleration of LLMscited by 4
- 2026ConfLayers: Adaptive Confidence-based Layer Skipping for Self-Speculative Decodingcited by 3
- 2025Speculate Deep and Accurate: Lossless and Training-Free Acceleration for Offloaded LLMs via Substitute Speculative Decodingcited by 1
- 2026The Diminishing Returns of Early-Exit Decoding in Modern LLMscited by 1
- 2026Component-Aware Self-Speculative Decoding in Hybrid Language Modelscited by 1
- 2026VIA-SD: Verification via Intra-Model Routing for Speculative Decodingcited by 0
- 2026SEED: Self-Speculative Decoding via Implicit Encoder-Decodercited by 0
- 2026S3R: Fast and Faithful RL Rollouts via Self-Sparse Speculative Decodingcited by 0
- 2026SP2ec: Adaptive Self-Speculative Decoding for Vision-Language Modelscited by 0
- 2026SP2ec: Adaptive Self-Speculative Decoding for Vision-Language Models13 Oct 2026
- 2026S3R: Fast and Faithful RL Rollouts via Self-Sparse Speculative Decoding9 Oct 2026
- 2026SEED: Self-Speculative Decoding via Implicit Encoder-Decoder29 Sep 2026
- 2026EfficientRollout: System-Aware Self-Speculative Decoding for RL Rollouts17 Jun 2026
- 2026VIA-SD: Verification via Intra-Model Routing for Speculative Decoding10 Jun 2026
- 2026Component-Aware Self-Speculative Decoding in Hybrid Language Models1 May 2026
- 2026ConfLayers: Adaptive Confidence-based Layer Skipping for Self-Speculative Decoding16 Apr 2026
- 2026The Diminishing Returns of Early-Exit Decoding in Modern LLMs24 Mar 2026
- 2026KnapSpec: Self-Speculative Decoding via Adaptive Layer Selection as a Knapsack Problem23 Feb 2026
- 2025CAS-Spec: Cascade Adaptive Self-Speculative Decoding for On-the-Fly Lossless Inference Acceleration of LLMs30 Oct 2025
- 2025Speculate Deep and Accurate: Lossless and Training-Free Acceleration for Offloaded LLMs via Substitute Speculative Decoding22 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2025KNN-SSD: Enabling Dynamic Self-Speculative Decoding via Nearest Neighbor Layer Set Optimization
- 2023Draft & Verify: Lossless Large Language Model Acceleration via Self-Speculative Decoding
- 2024Speculative Decoding via Early-exiting for Faster LLM Inference with Thompson Sampling Control Mechanism
- 2025DEL: Context-Aware Dynamic Exit Layer for Efficient Self-Speculative Decoding
- 2026SPEED-Bench: A Unified and Diverse Benchmark for Speculative Decoding
- 2024Closer Look at Efficient Inference Methods: A Survey of Speculative Decoding
- 2025Speculative Decoding: Performance or Illusion?
- 2026TSS: Target-Side Sparsification for Speculative Decoding in Domain-Specific Large Language Models