StarSD: One-for-Many Speculative Decoding
Junhao He, Feiran You, Hongyang Du
TL;DR
StarSD tackles inefficiencies of distributed speculative decoding by enabling a single draft model $M_q$ to serve many targets $M_p$ in a star topology, thereby amortizing verification and communication across multiple sessions. The authors develop a system model separating per-iteration progress from time, deriving acceptance probabilities $\beta_i(y)$ and a closed-form for expected accepted tokens $E[l_i(d)]$, yielding throughput $O_\gamma = \mathbb{E}[l]_\gamma / T_\gamma$ with distinct under-loaded and fully-loaded regimes. The design enforces work-conserving draft execution, per-target state isolation, and independent return paths via per-target tags, enabling continuous draft-side throughput and reduced idle gaps. Across intra-node, inter-node, and edge-like deployments, StarSD demonstrates scalable throughput gains, improved draft-side stability, and practical memory packing advantages without altering model weights or generation semantics, while noting areas for fairness and heterogeneity considerations.
Abstract
Speculative decoding accelerates autoregressive generation by separating token proposal from verification, but most existing approaches are designed for single-node execution and do not scale well to multi-accelerator clusters used for serving modern Large Language Models (LLMs). We present StarSD, a one-for-many speculative decoding framework that uses a single draft model to serve multiple target models across distributed nodes via a star topology. StarSD decouples drafting and verification, enabling effective sharing of draft computation, and preventing distributed accelerators from remaining idle under bursty workloads. We provide a system-level analysis that characterizes when and why a single draft model can remain fully utilized by multiple verifiers, yielding predictable latency and utilization gains. Extensive experiments in real-world distributed inference settings demonstrate that StarSD simplifies deployment and supports flexible resource allocation across heterogeneous accelerators, while maintaining output quality. These results indicate that StarSD is a practical and scalable framework for bringing speculative decoding to modern cloud and edge inference infrastructures.
