arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.11733cs.DCcs.AI
收藏

去中心化大语言模型推理中的投机解码:将通信延迟转化为计算吞吐量

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

Department of XXX, University of YYY, Location, Country(XXX系,YYY大学,地点,国家);School of ZZZ, Institute of WWW, Location, Country(ZZZ学院,WWW研究所,地点,国家)

Jingwei Song, Wanyi Chen, Xinyuan Song, Max, Chris Tong, Gufeng Chen, Tianyi Zhao, Eric Yang, Bill Shi, Lynn Ai

AI总结:

针对去中心化LLM推理中网络延迟主导计算的问题,提出即插即用的DSD框架,通过并行验证候选token将通信延迟转化为计算,并结合自适应验证策略,实现15%-20%额外加速,在HumanEval和GSM8K上分别达2.56倍和2.59倍加速且保持准确率。

摘要:

投机解码通过使用轻量级草稿模型生成候选token,再由更强的目标模型验证,从而加速大语言模型(LLM)推理。它在集中式系统中有效,但在网络延迟常主导计算的去中心化环境中的表现仍未充分研究。我们提出去中心化投机解码(DSD),这是一个即插即用的去中心化推理框架,通过在分布式节点间并行验证多个候选token,将通信延迟转化为有用计算。我们进一步引入自适应投机验证策略,根据token级语义重要性调整接受阈值,在无需重新训练的情况下额外实现15%至20%的端到端加速。理论上,DSD将跨节点通信成本降低约(N-1)t1(k-1)/k,其中t1是单链路延迟,k是每轮平均接受的token数。实践中,DSD在HumanEval上实现高达2.56倍加速,在GSM8K上实现2.59倍加速,超过Eagle3基线且保持准确率。这些结果表明,为去中心化执行适配投机解码提供了一种系统级优化,将网络停滞转化为吞吐量,实现更快的分布式LLM推理,无需模型重训练或架构变更。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑