POSS: Position Specialist Generates Better Draft for Speculative Decoding

Langlin Huang, Chengsong Huang, Jixuan Leng, Di Huang, Jiaxin Huang
6/4/2025
4 citations
cs.CLcs.AIcs.LG

Official code: shrango/PosS (10 stars, Python, last commit 2026-10-06).

Abstract

Speculative decoding accelerates Large Language Model (LLM) inference by using a small draft model to predict multiple tokens, and a large target model to verify these tokens in parallel. Recent studies leverage the hidden state of the target model to enhance draft model prediction accuracy.

Show full abstract

However, existing methods suffer from the degrading quality of draft token predictions at later positions, due to error accumulation in draft model generated features. In this paper, we propose Position Specialists (PosS), which consist of multiple position-specialized draft layers to generate tokens at assigned position(s). Position specialists greatly improve token acceptance rate at later positions per drafting round, as each specialist only needs to focus on handling a certain level of draft model feature deviation. Experiment results on Llama-3-8B-Instruct and Llama-2-13B-chat across six datasets demonstrate that PosS effectively improves over baselines on average acceptance length and speed-up ratio. Our codebase is available at https://github.com/shrango/PosS.

View on arXivView PDF

Code Implementations(1)

shrango/PosSOfficial100%

PosS is a speculative decoding method with position-specialized draft layers generating high-quality drafts.

100Python, CudaJan 12, 20251 months ago

Similar Papers

Cite this paper

@article{huang2025poss,
  title  = {POSS: Position Specialist Generates Better Draft for Speculative Decoding},
  author = {Langlin Huang and Chengsong Huang and Jixuan Leng and Di Huang and Jiaxin Huang},
  year   = {2025},
  eprint = {2506.03566},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.03566v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.03566.svg)](https://codeofpaper.com/paper/2506.03566)

Discussion