DSD: A Distributed Speculative Decoding Solution for Edge-Cloud Agile Large Model Serving

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Yu, Fengze, Li, Leshu, McDanel, Brad, Zhang, Sai Qian
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866918225182195712
author Yu, Fengze
Li, Leshu
McDanel, Brad
Zhang, Sai Qian
author_facet Yu, Fengze
Li, Leshu
McDanel, Brad
Zhang, Sai Qian
contents Large language model (LLM) inference often suffers from high decoding latency and limited scalability across heterogeneous edge-cloud environments. Existing speculative decoding (SD) techniques accelerate token generation but remain confined to single-node execution. We propose DSD, a distributed speculative decoding framework that extends SD to multi-device deployments through coordinated draft-target execution. Given the lack of prior work on simulating this paradigm, we first introduce DSD-Sim, a discrete-event simulator that captures network, batching, and scheduling dynamics. Building on insights from DSD-Sim, we further design an Adaptive Window Control (AWC) policy that dynamically adjusts speculation window size to optimize throughput. Experiments across diverse workloads show that DSD achieves up to 1.1x speedup and 9.7% higher throughput over existing SD baselines, enabling agile and scalable LLM serving across edge and cloud.
format Preprint
id arxiv_https___arxiv_org_abs_2511_21669
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle DSD: A Distributed Speculative Decoding Solution for Edge-Cloud Agile Large Model Serving
Yu, Fengze
Li, Leshu
McDanel, Brad
Zhang, Sai Qian
Machine Learning
Distributed, Parallel, and Cluster Computing
Large language model (LLM) inference often suffers from high decoding latency and limited scalability across heterogeneous edge-cloud environments. Existing speculative decoding (SD) techniques accelerate token generation but remain confined to single-node execution. We propose DSD, a distributed speculative decoding framework that extends SD to multi-device deployments through coordinated draft-target execution. Given the lack of prior work on simulating this paradigm, we first introduce DSD-Sim, a discrete-event simulator that captures network, batching, and scheduling dynamics. Building on insights from DSD-Sim, we further design an Adaptive Window Control (AWC) policy that dynamically adjusts speculation window size to optimize throughput. Experiments across diverse workloads show that DSD achieves up to 1.1x speedup and 9.7% higher throughput over existing SD baselines, enabling agile and scalable LLM serving across edge and cloud.
title DSD: A Distributed Speculative Decoding Solution for Edge-Cloud Agile Large Model Serving
topic Machine Learning
Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2511.21669