paper-with-me

Papers

Balancing Coverage and Draft Latency in Vocabulary Trimming for Faster Speculative Decoding

2026-03-05 · Ofir Ben Shoham arxiv

Speculative decoding accelerates inference for Large Language Models by using a lightweight draft model to propose candidate tokens that are verified in parallel by a larger target model. Prior work shows that the draft model often dominates speculative decoding latency, since it generates tokens sequentially and incurs high cost from its language modeling head as vocabulary size grows. This exposes a fundamental trade-off in draft model design: larger vocabularies improve token coverage and agreement with the target model, but incur higher draft latency, while smaller vocabularies reduce latency at the risk of missing tokens required for accurate draft generation. We address this trade-off through vocabulary trimming for draft models, motivated by the observation that domain-specific workloads use only a small fraction of the full vocabulary. We cast draft vocabulary selection as a constrained optimization problem that balances token coverage and draft latency. Coverage is computed over assistant responses in the training data, while latency is estimated using architecture-aware FLOPs that capture the cost of the language modeling head as a function of vocabulary size. We optimize a utility function with a Tree-structured Parzen Estimator to efficiently explore the coverage-latency Pareto frontier under a minimum coverage constraint. Experiments show improved speculative decoding throughput while reducing draft vocabularies by up to 97% with high coverage. On domain-specific tasks, we achieve up to 16% latency reduction and 20% throughput improvement, and up to 6.7% throughput gains on diverse out-of-distribution tasks.

📄 PDF Abstract BibTeX arXiv:2603.05210

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

EvoSpec: Evolving Speculative Decoding via Real-Time Vocabulary and Parameter Adaptation

2026-04-17 · Shuyu Zhang, Lingfeng Pan, Qicheng Wang, Yaqi Shi 외 arxiv

Speculative decoding accelerates Large Language Model inference through draft-then-verify generation, yet lightweight draft models face coupled efficiency and quality limitations: large-vocabulary output projection is co…

Overcoming Vocabulary Constraints with Pixel-level Fallback

2025-04-02 · Jonas F. Lotz, Hendra Setiawan, Stephan Peitz, Yova Kementchedjhieva

Subword tokenization requires balancing computational efficiency and vocabulary coverage, which often leads to suboptimal performance on languages and scripts not prioritized during training. We propose to augment pretra…

Computational EfficiencyCross-Lingual TransferMachine Translation

SlimSpec: Low-Rank Draft LM-Head for Accelerated Speculative Decoding

2026-05-11 · Anton Plaksin, Sergei Krutikov, Sergei Skvortsov, Alexander Samarin arxiv

Speculative decoding speeds up autoregressive generation in Large Language Models (LLMs) through a two-step procedure, where a lightweight draft model proposes tokens which the target model then verifies in a single forw…

An Analysis of BPE Vocabulary Trimming in Neural Machine Translation

2024-03-30 · Marco Cognetta, Tatsuya Hiraoka, Naoaki Okazaki, Rico Sennrich 외

We explore threshold vocabulary trimming in Byte-Pair Encoding subword tokenization, a postprocessing step that replaces rare subwords with their component subwords. The technique is available in popular tokenization lib…

Machine TranslationTranslation

OmniDraft: A Cross-vocabulary, Online Adaptive Drafter for On-device Speculative Decoding

2025-07-03 · Ramchalam Kinattinkara Ramakrishnan, Zhaocong Yuan, Shaojie Zhuo, Chen Feng 외 arxiv

Speculative decoding generally dictates having a small, efficient draft model that is either pretrained or distilled offline to a particular target model series, for instance, Llama or Qwen models. However, within online…

Text Generation