Manuscript Offprint
arXiv:2610.35957Distributed LLM Inference via Communication-Efficient Speculative Decoding
Joohyun Shin, Byeonghyeon Park, Keumseo Ryum, and Joonhyuk Kang
School of Electrical Engineering, Korea Advanced Institute of Science and Technology (KAIST), Daejeon, South Korea
Email: {shinjh1220, bhbahk, keumseo}@kaist.ac.kr, jhkang@kaist.edu
Abstract—Distributed speculative decoding has emerged as a promising approach for device–server collaborative large language model (LLM) inference, but its decoding speedup is often limited by the vocabulary-scale communication overhead. In existing distributed speculative decoding methods, exact rejection sampling requires transmitting full token distributions over the LLM vocabulary between the device and the server, which becomes costly in bandwidth-constrained environments. To address this issue, we propose DISCO, a communication-efficient framework for distributed speculative decoding, that eliminates vocabulary-scale distribution transfer while preserving the exact target distribution. DISCO achieves this by introducing a server-side replica of the draft small language model (SLM), which enables the server to locally obtain the draft-side distribution required for rejection sampling. As a result, DISCO exchanges only drafted token indices and scalar probability values between the device and the server. Experimental results on multiple datasets show that DISCO consistently achieves higher decoding speedup than existing distributed speculative decoding methods, particularly under stringent bandwidth constraints.
Index Terms—LLM, speculative decoding, distributed inference, communication latency
I. INTRODUCTION
LARGE language models (LLMs) have achieved remarkable performance across a wide range of tasks, including reasoning, summarizing, and code generation [1], [2]. Despite these advances, their autoregressive nature remains a key bottleneck for real-time applications. As each token is generated sequentially through a full forward pass of the model, the direct deployment of LLMs in bandwidth-constrained scenarios induces high latency. To address this issue without compromising generation quality, speculative decoding (SD) [3] has emerged as a promising solution. SD employs a small language model (SLM) to rapidly generate multiple draft tokens, which are then verified in parallel by the target LLM in a single forward pass. If a draft token is rejected, the target model resamples a corrected token from a modified distribution, thus preserving the exact distribution of the target model.
Recent advances in on-device AI accelerators have enabled SLMs to run directly on edge devices, thereby enabling collaborative deployment of language models in distributed environments [4], [5]. In such a deployment, a device-side SLM can generate draft tokens while a server-side LLM performs verification, forming a distributed speculative decoding framework. This design allows the computational workload of LLM inference to be naturally partitioned between the device and the server, enabling efficient utilization of heterogeneous resources while maintaining the accuracy of the target model.
However, existing distributed SD methods incur significant communication overhead. In [6], the device transmits the full draft-token distributions over the entire vocabulary to the server for verification. Since modern LLMs typically use large vocabularies [7], [8], transmitting these distributions incurs substantial communication overhead. To alleviate this issue, DSSD [9] shifts the resampling procedure to the device. During drafting, the device sends only the drafted token indices and their scalar probabilities instead of full draft-token distributions. Upon rejection, the server must still transmit the full target-token distribution to the device, which remains costly in bandwidth-constrained environments.
To address these limitations, we propose DISCO, a distributed speculative decoding framework that preserves exact target sampling while removing vocabulary-dependent communication from the resampling procedure. The key idea is to make the draft-side distribution required for rejection sampling locally available at the server, thereby avoiding vocabulary-scale distribution transfer between the device and the server. To this end, DISCO uses a server-side replica of the draft SLM to reproduce the draft-side distribution upon rejection. As a result, the communication payload becomes independent of the vocabulary size and consists only of token indices and scalar probability values. The main contributions of this paper are summarized as follows:
• We propose DISCO, a communication-efficient distributed speculative decoding framework that preserves exact target sampling while eliminating vocabulary-scale communication from rejection sampling. DISCO achieves this by localizing the draft-side distribution needed for resampling at the server through a replicated draft SLM.
• We derive an analytical formulation for the latency of distributed speculative decoding that characterizes the communication–computation trade-off, from which we identify the break-even bandwidth where DISCO becomes advantageous.
• Through experiments under diverse bandwidth conditions, we demonstrate that DISCO consistently achieves higher speedup than existing distributed speculative decoding methods, with especially pronounced gains in low-
J. Shin and B. Park contributed equally to this work.

Fig. 1: Distributed speculative decoding process. The device generates draft tokens using a SLM and sends them to the server. The server-side LLM verifies the received tokens and updates the prefix with the accepted tokens.
bandwidth regimes.
A. Speculative decoding
Speculative decoding aims to reduce the latency of LLM inference by employing a smaller draft model to generate multiple tokens and verify them with the target LLM.
-
Draft Phase: The draft SLM generates draft tokens autoregressively based on the current prefix, which consists of the input prompt and all previously generated tokens. We refer to as the draft length, i.e., the number of candidate tokens generated in one speculative decoding round. At each step , the next token is sampled from , where denotes the next-token distribution of the draft SLM.
-
Verification Phase: Let denote the next-token distribution of the target LLM corresponding to the -th token. For a drafted token , let and denote its probabilities under and , respectively. The token is accepted with probability . Otherwise, a replacement token is resampled from norm( ). If all drafted tokens are accepted, the target LLM samples one additional token . This verification procedure ensures that the generated tokens follow the target LLM distribution.
B. Distributed speculative decoding
Fig. 1 illustrates the distributed SD framework considered in this work. In this setting, the drafting phase is offloaded to the device equipped with a SLM, while the verification phase is performed at the server hosting the target LLM. The device SLM generates draft tokens and transmits them to the server, where the target LLM verifies the tokens received according to the SD procedure described in Section II-A. Accepted tokens are appended to the prefix, while rejected tokens are discarded and replaced through a resampling step. Prior methods on distributed speculative decoding mainly differ in where the resampling step is performed and what information must be exchanged between the device and the server.
-
DSD: We denote the preliminary work [6] on SD in distributed environments as DSD. In the draft phase of DSD, the draft SLM on the device generates draft tokens autoregressively. The target LLM on the server performs both verification and resampling. This requires the device to send the drafted token indices together with their full draft-token distributions. While this design preserves the original speculative decoding procedure, it incurs substantial uplink communication overhead due to the transmission of full draft-token distributions.
-
DSSD: To reduce this cost, DSSD [9] shifts the resampling step to the device. In this approach, the device sends only the token indices and their scalar probabilities after the drafting phase, while the server transmits the full target-token distribution only when a rejection occurs at position . As a result, DSSD reduces uplink communication during drafting, but still requires transmitting the full target-token distribution upon rejection.
Algorithm 1 Pseudocode of DISCO
1: Draft Phase (Device) 2: Input: , prefix 3: for to do 4: 5: 6: Uplink Transmission 7: Send and to Server 8: Verification Phase (Server) 9: Input: , , prefix, , 10: Initialize: 11: 12: while do 13: 14: if then Accept 15: 16: else Reject 17: 18: Resample 19: 20: Break 21: if then 22: 23: prefix prefix + Reset prefix 24: Downlink Transmission 25: Send token and position to Device 26: prefix prefix + Reset prefix
III. DISCO
DISCO addresses the vocabulary-scale communication overhead of prior distributed speculative decoding methods by

Fig. 2: Framework of DISCO. The device generates draft tokens and sends only token indices and scalar probabilities to the server. The server performs parallel verification using the LLM, and upon rejection, conducts server-side resampling with the server SLM. The accepted prefix and the resampled token are then fed back to the device.
performing resampling locally at the server, as illustrated in Fig. 2. To this end, DISCO introduces an additional server-side draft SLM , which is identical to the device-side draft SLM . We assume that and share the same tokenizer, model parameters, and decoding pipeline, so that they produce matched next-token distributions for the same prefix. Upon rejection, the server uses to reproduce the draft-side distribution at the rejected position through a single forward pass, instead of receiving a full token distribution from the device. The server then performs resampling locally using the reproduced draft-side distribution and the target-token distribution from . If all draft tokens are accepted, the server-side LLM samples an additional token and sends it back to the device. The overall process of DISCO is summarized in Algorithm 1.
IV. COMMUNICATION COST AND LATENCY ANALYSIS
We first quantify the communication payload of DSD, DSSD, and DISCO, and then characterize how the payload reduction translates into per-round latency. The three methods differ primarily in where resampling is performed and, consequently, whether a vocabulary-scale token distribution must be transmitted over the uplink or downlink.
Let , , and denote the bitwidths of a token index, a probability value, and a position index, respectively. We denote by the probability that all draft tokens are accepted in a speculative decoding round.
Table I summarizes the communication payload of one speculative decoding round. In DSD, the device transmits the full draft-token distributions over the uplink. DSSD avoids this vocabulary-scale uplink transmission by sending only the drafted token indices and their scalar probabilities, but requires the server to transmit a full target-token distribution over the downlink when a rejection occurs. In contrast, DISCO avoids vocabulary-scale transmission in both directions. In our implementation, token and position indices are represented using 32 bits, while probability values use 16 bits. For OPT ( ) with , DSD requires approximately 402.2 kB per round on the uplink, whereas DISCO requires only 24 B. Upon rejection, DSSD requires approximately 100.5 kB on the downlink, whereas DISCO requires only 8 B.
TABLE I: Communication payload per speculative decoding round.
| Method | Uplink payload | Expected downlink payload |
|---|---|---|
| DSD | ||
| DSSD | ||
| DISCO |
We next translate these communication payloads into latency. Let and denote the effective uplink and downlink data rates in bits/s, respectively. The communication latency of one speculative decoding round is modeled as
where and denote the uplink and downlink payloads in bits. Hence, each payload-dependent transmission term has units of seconds. The RTT term represents the bandwidth-independent network round-trip delay, whereas B/C represents the payload-dependent transmission delay.
For the symmetric network setting considered in our main experiments, we assume
For all methods, the base latency of a speculative decoding round consists of the device-side drafting time , the server-side verification time , and the communication latency:
We further denote by the additional server-side SLM computation time incurred by DISCO when rejection and resampling occur. Using the payloads in Table I, the expected round latency of DSD is
For DSSD, the device sends token indices and their scalar probabilities over the uplink. On the downlink, the server sends an additional token when all draft tokens are accepted, whereas

(a) GSM8K

(b) CNN/DailyMail

(c) HumanEval
Fig. 3: Speedup of DISCO, DSSD, and DSD under varying bandwidth across different datasets with RTT fixed to 20 ms. DISCO consistently outperforms the baselines across all datasets and bandwidth settings, with especially clear benefits in the low-bandwidth regime.
it sends the full target-token distribution when a rejection occurs. Therefore,
For DISCO, both uplink and downlink payloads are independent of the vocabulary size. Its expected round latency is
The last term in (6) accounts for the additional server-side SLM computation required for resampling. Since this computation is invoked only when at least one of the draft tokens is rejected, it occurs with probability .
Equations (4)–(6) directly correspond to the message exchanges summarized in Table I. Compared with DSD, DISCO eliminates vocabulary-scale communication from the uplink, while compared with DSSD, it eliminates the vocabulary-scale target distribution from the downlink upon rejection.
Since DSSD and DISCO have the same uplink payload, their latency difference is determined by the downlink transmission upon rejection and the additional server-side SLM computation. Assuming , we obtain
Since , the approximate break-even bandwidth is
such that DISCO achieves a lower expected round latency than DSSD when . Moreover, increases approximately linearly with , indicating that DISCO remains advantageous over a wider range of bandwidth conditions as the vocabulary size grows.
V. EXPERIMENTAL RESULTS
A. Experimental Setup
We use OPT-125m [10] as the draft model and OPT-30B as the target model, both in fp16 precision. To further examine whether the observed trend generalizes across model families, we additionally evaluate Qwen2.5-0.5B [11] as the draft model and Qwen2.5-32B as the target model in Table II. All experiments are conducted on two NVIDIA A100 40GB GPUs. The draft model runs on a single GPU, whereas the target model is distributed across both GPUs due to its memory requirement. We evaluate our method on three datasets, GSM8K [12], CNN/DailyMail [13], and HumanEval [14].
As the main evaluation metric, we measure speedup, defined as the average throughput relative to vanilla autoregressive decoding. For each dataset, we evaluate 100 samples and report the average speedup across samples. We simulate network conditions by varying bandwidth BW from 1 to 100 Mbps and draft length from 2 to 8, while fixing RTT to 20 ms. To reduce randomness, all results are averaged over three random seeds. We compare DISCO with DSD [6] and DSSD [9], two representative baselines for distributed speculative decoding that also preserve the exact target distribution.
B. Performance Under Varying Network Conditions
We first analyze the impact of network conditions on decoding performance across different datasets. Fig. 3 shows the speedup achieved by DISCO, DSSD, and DSD under varying bandwidth conditions for GSM8K, CNN/DailyMail, and HumanEval, with the draft length fixed at . Across all datasets, DISCO consistently maintains stable performance and achieves approximately speedup even under extreme bandwidth restrictions. In contrast, both DSD and DSSD are highly sensitive to bandwidth limitations and exhibit significant performance degradation in low-bandwidth regimes. This behavior stems from the high communication overhead for verification, since DSD and DSSD require transmitting token distributions between the device and the server. By transmitting only a small number of candidate tokens and scalar values, DISCO substantially reduces the communication cost,
TABLE II: Speedup on GSM8K with varying draft length under different bandwidth conditions over 3 seeds. BW is measured in Mbps. For each model, bandwidth, and , the best speedup among DSD, DSSD, and DISCO is in bold.
| Model | BW | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DSD | DSSD | DISCO | DSD | DSSD | DISCO | DSD | DSSD | DISCO | DSD | DSSD | DISCO | ||
| OPT-125m/30B | 1 | 0.08 | 0.57 | 1.41 | 0.05 | 0.53 | 1.67 | 0.04 | 0.56 | 1.81 | 0.04 | 0.56 | 1.85 |
| 5 | 0.31 | 1.01 | 1.40 | 0.24 | 1.09 | 1.67 | 0.20 | 1.17 | 1.81 | 0.18 | 1.19 | 1.86 | |
| 10 | 0.51 | 1.18 | 1.41 | 0.42 | 1.33 | 1.69 | 0.37 | 1.43 | 1.84 | 0.32 | 1.46 | 1.89 | |
| 50 | 1.06 | 1.38 | 1.42 | 1.06 | 1.62 | 1.68 | 1.02 | 1.74 | 1.82 | 0.94 | 1.74 | 1.84 | |
| Qwen2.5-0.5B/32B | 1 | 0.04 | 0.44 | 1.34 | 0.03 | 0.40 | 1.55 | 0.02 | 0.39 | 1.62 | 0.02 | 0.39 | 1.63 |
| 5 | 0.18 | 0.93 | 1.34 | 0.13 | 0.96 | 1.56 | 0.12 | 1.00 | 1.63 | 0.11 | 0.98 | 1.63 | |
| 10 | 0.30 | 1.08 | 1.33 | 0.26 | 1.21 | 1.56 | 0.21 | 1.21 | 1.62 | 0.19 | 1.20 | 1.62 | |
| 50 | 0.79 | 1.29 | 1.34 | 0.75 | 1.48 | 1.56 | 0.72 | 1.55 | 1.63 | 0.66 | 1.55 | 1.63 | |
enabling robust performance even in bandwidth-constrained environments.
Table II reports the speedup on GSM8K under different draft lengths , bandwidths, and model families. DISCO achieves the best speedup in all evaluated settings, showing that the proposed communication-efficient design is robust to bandwidth variation and the choice of the model. The performance gap becomes more pronounced under bandwidth-constrained regimes ( Mbps, Mbps), as DISCO does not require vocabulary-scale distribution transfer during drafting or upon rejection, maintaining more than speedup for both models.
The results also show different sensitivity to the draft length . For DSD, speedup consistently decreases as increases, since a larger requires transmitting more full draft-token distributions. In contrast, DISCO maintains high speedup across different values of , especially for . This indicates that eliminating vocabulary-scale communication makes DISCO less sensitive to the draft length and enables stable acceleration even under limited bandwidth.
C. Communication-Computation Trade-off Analysis
To identify the factors that contribute to these performance differences, we decompose the latency of each method. Fig. 4 shows the per-token latency components, including communication, device computation, and server-side computation. The major difference between methods arises from communication latency, which is significantly larger for DSD and DSSD. In contrast, DISCO greatly reduces this overhead by transmitting only a small number of tokens and probability values.
Notably, the computation latency remains similar across methods. The server-side SLM computation introduces negligible overhead since it performs a single forward pass only when resampling is required upon rejection. Specifically, our profiling results show that the target LLM consumes approximately 143.36 GFLOPs/token, whereas the additional server-side SLM of DISCO requires only 0.36 GFLOPs/token. This indicates that the computational burden added by DISCO is marginal. Minor differences in device- and server-side LLM latency arise from the location of the resampling step for each method. These results indicate that the primary bottleneck in distributed speculative decoding is communication rather than computation, and the performance gain of DISCO mainly comes from reducing the communication cost.

Fig. 4: Latency breakdown per token under Mbps and ms on GSM8K. DISCO significantly reduces communication latency compared to DSD and DSSD, while computation latency remains similar across methods.
Using the latency breakdown in Fig. 4 for the GSM8K dataset, we can approximate the parameters in (7) and estimate the empirical break-even bandwidth. The communication term approximately scales with , while the device- and server-side computation times remain nearly constant. As shown in Fig. 4, the bandwidth-independent computation time differs slightly between DSSD and DISCO due to the additional server-side resampling time in DISCO, yielding a difference of approximately 1.5 ms/token. At Mbps, the difference in communication latency between DSSD and DISCO is about 16.4 ms/token. Based on (7), the break-even bandwidth can be approximated as
This prediction is consistent with the experimental results in Fig. 3a, where the speedup gap between the two methods
TABLE III: Average decoding speedup across datasets under different device–server GPU configurations.
| Config. | Method | Dataset | ||
|---|---|---|---|---|
| GSM8K | CNN/DM | HumanEval | ||
| RTX3090-A100 | DISCO | 1.75 | 1.65 | 1.64 |
| DSSD | 1.57 | 1.52 | 1.44 | |
| DSD | 0.92 | 0.92 | 0.86 | |
| RTX4090-A100 | DISCO | 1.92 | 1.78 | 1.78 |
| DSSD | 1.72 | 1.63 | 1.57 | |
| DSD | 0.97 | 0.96 | 0.91 | |
becomes small in the high-bandwidth regime and the two curves exhibit similar speedups around 100 Mbps.
We note that this break-even bandwidth scales linearly with the LLM vocabulary size, as indicated by (8). Scaling law analyses have shown that compute-optimal vocabulary size increases with model scale, and that most existing LLMs employ vocabularies smaller than the optimal value [15]. As the communication payload of DISCO remains vocabulary-independent, the bandwidth regime where DISCO outperforms DSSD is expected to widen further as LLMs continue to adopt larger vocabularies.
D. Heterogeneous Device–Server Deployment
To emulate a realistic distributed environment with a resource-constrained device GPU and a relatively large server GPU, we consider heterogeneous GPU configurations in which the device uses either an RTX 3090 24GB or an RTX 4090 24GB, while the server is equipped with two NVIDIA A100 40GB GPUs. The GPUs are connected over a local area network (LAN) where the network conditions are measured as ms and Mbps.
Table III reports the average decoding speedup across datasets under the two device–server configurations. DISCO achieves the highest speedup in all settings and reaches up to under the RTX 4090–NVIDIA A100 configuration. DSSD also improves over autoregressive decoding, but its gain remains smaller than that of DISCO. In contrast, DSD fails to outperform autoregressive decoding, empirically demonstrating that vocabulary-scale communication is a major bottleneck in distributed speculative decoding.
Compared with the simulation results in Fig. 3, the measured speedups are slightly higher. This trend aligns with the relatively high bandwidth and low RTT of the LAN environment. Overall, these results confirm that DISCO remains effective in practical heterogeneous device–server settings.
VI. CONCLUSION
In this work, we proposed DISCO, a distributed speculative decoding framework for communication-efficient LLM inference. DISCO preserves the exact target distribution while eliminating vocabulary-scale distribution transfer through an additional server-side SLM for resampling. As only token indices and scalar probability values are transmitted, DISCO significantly reduces communication latency and data transfer overhead. Experiments in both simulation-based environments with varying bandwidth and a realistic distributed environment with heterogeneous GPUs demonstrate that DISCO achieves higher speedup than autoregressive generation and existing distributed speculative decoding methods. By modifying only the locality of the draft-side distribution required for resampling, rather than the underlying target model or exact acceptance rule, DISCO is naturally extensible to other model families and exact speculative decoding variants. While our current evaluation focuses on single-request settings, we leave the extension of DISCO to multi-user scenarios with concurrent requests for future work.
REFERENCES
[1] OpenAI et al., “Gpt-4 technical report,” 2024. [Online]. Available: https://arxiv.org/abs/2303.08774
[2] S. Minaee et al., “Large language models: A survey,” 2024. [Online]. Available: https://arxiv.org/abs/2402.06196
[3] Y. Leviathan, M. Kalman, and Y. Matias, “Fast inference from transformers via speculative decoding,” in Proceedings of the 40th International Conference on Machine Learning, ser. Proceedings of Machine Learning Research, vol. 202. PMLR, 23–29 Jul 2023, pp. 19 274–19 286.
[4] M. Zhang, X. Shen, J. Cao, Z. Cui, and S. Jiang, “Edgeshard: Efficient llm inference via collaborative edge computing,” IEEE Internet of Things Journal, vol. 12, no. 10, pp. 13 119–13 131, 2025.
[5] J. Liu et al., “Edge-cloud collaborative computing on distributed intelligence and model optimization: A survey,” IEEE Communications Surveys & Tutorials, vol. 28, pp. 5049–5080, 2026.
[6] W. Zhao, W. Jing, Z. Lu, and X. Wen, “Edge and terminal cooperation enabled llm deployment optimization in wireless network,” in 2024 IEEE/CIC International Conference on Communications in China (ICCC Workshops), 2024, pp. 220–225.
[7] H. T. et al, “Llama 2: Open foundation and fine-tuned chat models,” 2023. [Online]. Available: https://arxiv.org/abs/2307.09288
[8] G. Team et al., “Gemma: Open models based on gemini research and technology,” 2024. [Online]. Available: https://arxiv.org/abs/2403.08295
[9] J. Ning, C. Zheng, and T. Yang, “DSSD: Efficient edge-device deployment and collaborative inference via distributed split speculative decoding,” in ICML 2025 Workshop on Machine Learning for Wireless Communication and Networks (MLAWireless), 2025.
[10] S. Zhang et al., “Opt: Open pre-trained transformer language models,” 2022. [Online]. Available: https://arxiv.org/abs/2205.01068
[11] Qwen et al., “Qwen2.5 technical report,” 2025. [Online]. Available: https://arxiv.org/abs/2412.15115
[12] K. Cobbe et al., “Training verifiers to solve math word problems,” 2021. [Online]. Available: https://arxiv.org/abs/2110.14168
[13] A. See, P. J. Liu, and C. D. Manning, “Get to the point: Summarization with pointer-generator networks,” in Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Vancouver, Canada: Association for Computational Linguistics, Jul. 2017, pp. 1073–1083.
[14] M. Chen et al., “Evaluating large language models trained on code,” 2021. [Online]. Available: https://arxiv.org/abs/2107.03374
[15] C. Tao, Q. Liu, L. Dou, N. Muennighoff, Z. Wan, P. Luo, M. Lin, and N. Wong, “Scaling laws with vocabulary: Larger models deserve larger vocabularies,” in The Thirty-eighth Annual Conference on Neural Information Processing Systems, 2024.