VOCABTRIM: Vocabulary Pruning for Efficient Speculative Decoding in LLMs
On the map: Efficient LLM inference and serving → Speculative decoding
Abstract (arXiv)
In this paper, we introduce a simple training-free technique to improve the performance of drafter-based speculative decoding (SpD) methods that incorporates language modeling head (LM head) during drafting process. A drafter-based speculative decoding leverages one or more smaller language models, a.k.a. drafters or draft models, to sample a draft sequence or tree consisting of multiple tokens, followed by verification by a base LLM, a target model, accepting a subset as its valid generation. As it is usually considered that the speculative decoding requires one-to-one mapping between vocabularies of the target model and the draft model, it has been natural to share the vocabulary between them, or even share the LM head as in EAGLE or Medusa. We first identify that this draft token sampling scheme inherently contains an unnecessary inference overhead in drafting, especially for some target LLMs with very large vocabularies. Then, we propose a simple technique, VocabTrim, to mitigate the drafting overhead to improve the generation speed in memory-bound environment. VocabTrim reconstructs the drafter LM head to contain only a limited set of tokens, selected by the most frequently sampled from the vocabulary of the target model. While limiting the vocabulary in drafting slightly degrades the acceptance rate, it significantly reduces the drafting latency in memory-bound process which is often the case on edge devices, resulting in higher memory-bound speed up (MBSU). We show that our method can boost the memory-bound speed-up for Llama-3 models on Spec-Bench, specifically by 16% for Llama-3.2-3B-Instruct.
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 19 of its 21 references that are in the map. First posted on arXiv 28 Jun 2025.
Builds on
19 of 21 references.
Closest ancestors · 10
Same direction, newest first
- 2025FR-Spec: Accelerating Large-Vocabulary Language Models via Frequency-Ranked Speculative Sampling20 Feb
- 2024Mixture of Attentions For Speculative Decoding4 Oct
- 2024EAGLE-2: Faster Inference of Language Models with Dynamic Draft Trees24 Jun
- 2024Direct Alignment of Draft Model for Speculative Decoding with Chat-Fine-Tuned LLMs29 Feb
- 2024Recursive Speculative Decoding: Accelerating LLM Inference via Sampling Without Replacement21 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
- 2023DistillSpec: Improving Speculative Decoding via Knowledge Distillation12 Oct
- 2022Fast Inference from Transformers via Speculative Decoding30 Nov
Other references · 9
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
- 2024APIGen: Automated Pipeline for Generating Verifiable and Diverse Function-Calling Datasetscited by 198
- 2023The MiniPile Challenge for Data-Efficient Language Modelscited by 75
- 2024On Speculative Decoding for Multimodal Large Language Modelscited by 25
- 2025AdaptiVocab: Enhancing LLM Efficiency in Focused Domains through Lightweight Vocabulary Adaptationcited by 15
Built on by
Citing papers per year: 2025: 4; 2026: 7.
11 papers.
- 2025MemGen: Weaving Generative Latent Memory for Self-Evolving Agentscited by 109
- 2026Speculative Decoding with a Speculative Vocabularycited by 6
- 2025DynaSpec: Context-aware Dynamic Speculative Sampling for Large-Vocabulary Language Modelscited by 4
- 2026Trees from Marginals: Autoregressive drafting with factorized priorscited by 3
- 2025SIMPLE: Disaggregating Sampling from GPU Inference into a Decision Plane for Faster Distributed LLM Servingcited by 1
- 2026Balancing Coverage and Draft Latency in Vocabulary Trimming for Faster Speculative Decodingcited by 1
- 2026NanoSpec: Accelerating Speculative Decoding using Minimalist In-Context Vocabulariescited by 1
- 2026H-Spec: Parallel Speculative Decoding Without a Drafter-Side KV Cachecited by 1
- 2025COMPACT: Common-token Optimized Model Pruning Across Channels and Tokenscited by 0
- 2026SlimSpec: Low-Rank Draft LM-Head for Accelerated Speculative Decodingcited by 0
- 2026EvoSpec: Evolving Speculative Decoding via Real-Time Vocabulary and Parameter Adaptationcited by 0
- 2026H-Spec: Parallel Speculative Decoding Without a Drafter-Side KV Cache21 Sep 2026
- 2026Trees from Marginals: Autoregressive drafting with factorized priors7 Jul 2026
- 2026SlimSpec: Low-Rank Draft LM-Head for Accelerated Speculative Decoding11 May 2026
- 2026EvoSpec: Evolving Speculative Decoding via Real-Time Vocabulary and Parameter Adaptation17 Apr 2026
- 2026NanoSpec: Accelerating Speculative Decoding using Minimalist In-Context Vocabularies8 Apr 2026
- 2026Balancing Coverage and Draft Latency in Vocabulary Trimming for Faster Speculative Decoding5 Mar 2026
- 2026Speculative Decoding with a Speculative Vocabulary14 Feb 2026
- 2025SIMPLE: Disaggregating Sampling from GPU Inference into a Decision Plane for Faster Distributed LLM Serving30 Nov 2025
- 2025DynaSpec: Context-aware Dynamic Speculative Sampling for Large-Vocabulary Language Models11 Oct 2025
- 2025MemGen: Weaving Generative Latent Memory for Self-Evolving Agents29 Sep 2025
- 2025COMPACT: Common-token Optimized Model Pruning Across Channels and Tokens8 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2025Accelerating LLM Inference with Lossless Speculative Decoding Algorithms for Heterogeneous Vocabularies
- 2024Closer Look at Efficient Inference Methods: A Survey of Speculative Decoding
- 2025Mamba Drafters for Speculative Decoding
- 2024Decoding Speculative Decoding
- 2023Cascade Speculative Drafting for Even Faster LLM Inference
- 2024Towards Fast Multilingual LLM Inference: Speculative Decoding and Specialized Drafters
- 2025Not-a-Bandit: Provably No-Regret Drafter Selection in Speculative Decoding for LLMs
- 2025READER: Retrieval-Assisted Drafter for Efficient LLM Inference