DSD:一种用于边缘-云敏捷大模型服务的分布式推测解码方案
DSD: A Distributed Speculative Decoding Solution for Edge-Cloud Agile Large Model Serving
AI总结:
DSD提出了一种分布式推测解码框架,通过自适应窗口控制策略提升边缘-云环境下大模型服务的性能和扩展性。
摘要:
大型语言模型(LLM)推理常常面临较高的解码延迟和在异构边缘-云环境中扩展性受限的问题。现有的推测解码(SD)技术虽然加速了token生成,但仍然局限于单节点执行。我们提出了DSD,一种分布式推测解码框架,通过协调的草稿-目标执行将SD扩展到多设备部署。鉴于此前缺乏对这种范式模拟的研究,我们首先引入了DSD-Sim,一个离散事件模拟器,能够捕捉网络、批处理和调度动态。基于DSD-Sim的洞察,我们进一步设计了自适应窗口控制(AWC)策略,动态调整推测窗口大小以优化吞吐量。在多样化的负载实验中,DSD在现有SD基准上实现了高达1.1倍的加速和9.7%更高的吞吐量,实现了在边缘和云环境中的敏捷和可扩展的LLM服务。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。