PipeSpec: Breaking Stage Dependencies in Hierarchical LLM Decoding

Speculative decoding accelerates large language model inference by using smaller draft models to generate candidate tokens for parallel verification.However, current approaches are limited by sequential stage dependencies that prevent full hardware utilization.We present PipeSpec, a framework that generalizes speculative decoding to use multiple models arranged in a hierarchical pipeline, enabling asynchronous execution with lightweight coordination for prediction verification and rollback.Our analytical model characterizes token generation rates across pipeline stages and proves guaranteed throughput improvements over traditional decoding for any non-zero acceptance rate.We further derive closed-form expressions for steady-state verification probabilities that explain the empirical benefits of pipeline depth.We validate PipeSpec across text summarization, mathematical reasoning, and code generation tasks using LLaMA 2 and 3 models, demonstrating that pipeline efficiency increases with model depth, providing a scalable approach to accelerating LLM inference on multidevice systems.Our code is available at https: //github.com/BradMcDanel/PipeSpec.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.669
Citations
1
Primary Topic
Neural Networks and Applications
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

PipeSpec: Breaking Stage Dependencies in Hierarchical LLM Decoding

Sai Qian Zhang, Bradley McDanel, Yi Hu, Zining Liu
1 citations
Neural Networks and Applications
2.48
article

PipeSpec: Breaking Stage Dependencies in Hierarchical LLM Decoding

Sai Qian Zhang, Bradley McDanel, Yi Hu, Zining Liu
article en
1 citations

Abstract

Speculative decoding accelerates large language model inference by using smaller draft models to generate candidate tokens for parallel verification.However, current approaches are limited by sequential stage dependencies that prevent full hardware utilization.We present PipeSpec, a framework that generalizes speculative decoding to use multiple models arranged in a hierarchical pipeline, enabling asynchronous execution with lightweight coordination for prediction verification and rollback.Our analytical model characterizes token generation rates across pipeline stages and proves guaranteed throughput improvements over traditional decoding for any non-zero acceptance rate.We further derive closed-form expressions for steady-state verification probabilities that explain the empirical benefits of pipeline depth.We validate PipeSpec across text summarization, mathematical reasoning, and code generation tasks using LLaMA 2 and 3 models, demonstrating that pipeline efficiency increases with model depth, providing a scalable approach to accelerating LLM inference on multidevice systems.Our code is available at https: //github.com/BradMcDanel/PipeSpec.

Openalex Percentile: Top 9%
Neural Networks and Applications
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

PipeSpec: Breaking Stage Dependencies in Hierarchical LLM Decoding — Sai Qian Zhang, Bradley McDanel, et al. · (2025) | TGRS Research Map | TGRS