arXiv:2511.11733cs.DCcs.AI2025-11被引 2

让分布式推理中的网络延迟变计算吞吐,提升大模型推理速度。

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

  • 用轻量模型预提候选词,多节点并行验证,把通信延迟转为计算收益。
  • 实测在HumanEval上提速2.56倍,在GSM8K上达2.59倍,准确率不变。
  • 自适应验证策略按语义重要性调整阈值,无需重训练即可再提速15%~20%。

推测解码通过轻量级草稿模型预提出令牌,再由更强的目标模型验证,从而加速大语言模型(LLM)推理。尽管在集中式系统中表现良好,但在分布式环境中,由于网络延迟常主导计算,其行为仍不明确。本文提出去中心化推测解码(DSD),一种即插即用的分布式推理框架,通过在多个分布节点上并行验证多个候选令牌,将通信延迟转化为有效计算。我们进一步引入一种基于令牌语义重要性的自适应推测验证策略,无需重新训练即可实现额外15%至20%的端到端加速。理论上,DSD将跨节点通信开销降低约 (N-1)t1(k-1)/k,其中 t1 为单链路延迟,k 为每轮平均接受令牌数。实际测试中,DSD在HumanEval上达到2.56倍加速,在GSM8K上达2.59倍,超越Eagle3基线,同时保持准确率。结果表明,适配去中心化执行的推测解码是一种系统级优化,能将网络停顿转化为吞吐提升,实现无需模型重训练或架构改动的更快分布式推理。

原文摘要 · Abstract (English)

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.

分布式推理推测解码加速技术

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。