Speculative Decoding in Decentralized LLM Inference: Turning Communication Latency into Computation Throughput

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Song, Jingwei, Chen, Wanyi, Song, Xinyuan, Max, Tong, Chris, Chen, Gufeng, Zhao, Tianyi, Yang, Eric, Shi, Bill, Ai, Lynn
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866912710335135744
author Song, Jingwei
Chen, Wanyi
Song, Xinyuan
Max
Tong, Chris
Chen, Gufeng
Zhao, Tianyi
Yang, Eric
Shi, Bill
Ai, Lynn
author_facet Song, Jingwei
Chen, Wanyi
Song, Xinyuan
Max
Tong, Chris
Chen, Gufeng
Zhao, Tianyi
Yang, Eric
Shi, Bill
Ai, Lynn
contents Speculative decoding accelerates large language model (LLM) inference by using a lightweight draft model to propose tokens that are later verified by a stronger target model. While effective in centralized systems, its behavior in decentralized settings, where network latency often dominates compute, remains under-characterized. We present Decentralized Speculative Decoding (DSD), a plug-and-play framework for decentralized inference that turns communication delay into useful computation by verifying multiple candidate tokens in parallel across distributed nodes. We further introduce an adaptive speculative verification strategy that adjusts acceptance thresholds by token-level semantic importance, delivering an additional 15% to 20% end-to-end speedup without retraining. In theory, DSD reduces cross-node communication cost by approximately (N-1)t1(k-1)/k, where t1 is per-link latency and k is the average number of tokens accepted per round. In practice, DSD achieves up to 2.56x speedup on HumanEval and 2.59x on GSM8K, surpassing the Eagle3 baseline while preserving accuracy. These results show that adapting speculative decoding for decentralized execution provides a system-level optimization that converts network stalls into throughput, enabling faster distributed LLM inference with no model retraining or architectural changes.
format Preprint
id arxiv_https___arxiv_org_abs_2511_11733
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Speculative Decoding in Decentralized LLM Inference: Turning Communication Latency into Computation Throughput
Song, Jingwei
Chen, Wanyi
Song, Xinyuan
Max
Tong, Chris
Chen, Gufeng
Zhao, Tianyi
Yang, Eric
Shi, Bill
Ai, Lynn
Distributed, Parallel, and Cluster Computing
Artificial Intelligence
Speculative decoding accelerates large language model (LLM) inference by using a lightweight draft model to propose tokens that are later verified by a stronger target model. While effective in centralized systems, its behavior in decentralized settings, where network latency often dominates compute, remains under-characterized. We present Decentralized Speculative Decoding (DSD), a plug-and-play framework for decentralized inference that turns communication delay into useful computation by verifying multiple candidate tokens in parallel across distributed nodes. We further introduce an adaptive speculative verification strategy that adjusts acceptance thresholds by token-level semantic importance, delivering an additional 15% to 20% end-to-end speedup without retraining. In theory, DSD reduces cross-node communication cost by approximately (N-1)t1(k-1)/k, where t1 is per-link latency and k is the average number of tokens accepted per round. In practice, DSD achieves up to 2.56x speedup on HumanEval and 2.59x on GSM8K, surpassing the Eagle3 baseline while preserving accuracy. These results show that adapting speculative decoding for decentralized execution provides a system-level optimization that converts network stalls into throughput, enabling faster distributed LLM inference with no model retraining or architectural changes.
title Speculative Decoding in Decentralized LLM Inference: Turning Communication Latency into Computation Throughput
topic Distributed, Parallel, and Cluster Computing
Artificial Intelligence
url https://arxiv.org/abs/2511.11733