arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.04581cs.DCcs.AIcs.NI
收藏

Multi-SPIN:面向边缘协作令牌生成的多接入推测推理

Multi-SPIN: Multi-Access Speculative Inference for Cooperative Token Generation at the Edge

Department of Electrical and Computer Engineering, The University of Hong Kong(香港大学电子与计算机工程系)

Haotian Zheng, Zhanwei Wang, Mingyao Cui, Chang Cai, Hongyang Du, Kaibin Huang

AI总结:

提出多接入推测推理(Multi-SPIN)架构,通过联合优化草案长度控制和带宽分配,在异构边缘系统中最大化令牌总吞吐量。

摘要:

推测推理(SPIN)最初被开发为一种加速大型语言模型(LLMs)的高效架构。在这项工作中,我们提出其分布式部署,以在多用户边缘系统中实现协作令牌生成;其优势在于有效平衡资源受限设备与服务器之间的计算负载。由此产生的架构称为多接入SPIN(Multi-SPIN),利用设备上的小型语言模型生成并上传候选令牌草稿,而边缘服务器运行LLM以并行批次验证它们。鉴于用户计算和通信能力的严重异构性,草案长度成为关键控制变量,影响节点级计算负载和多接入延迟,从而控制总令牌吞吐量。因此,考虑频分多址,我们研究了多接入草案控制问题,即联合优化草案长度控制和带宽分配以最大化总令牌吞吐量。我们考察了两种情况:(1)用户间同质草案长度以促进服务器端批处理,以及(2)异质草案长度以引入新的吞吐量提升维度。通过开发分解方法,我们将这些复杂优化简化为可处理的子问题,从而能够以闭式形式推导出高效的草案控制算法。我们的分析表明,在同质情况下,由于批处理同步要求,最优带宽分配补偿了计算和通信能力较弱的用户;而在异质情况下,通过放宽这些要求,最优带宽分配奖励具有更高接受率的用户。使用Llama-2和Qwen3.5模型对在不同任务上的实验表明,Multi-SPIN相比忽略异构性的基线将吞吐量提升了高达88%。

英文摘要:

Speculative inference (SPIN) was originally developed as an efficient architecture to accelerate Large Language Models (LLMs). In this work, we propose its distributed deployment to enable cooperative token generation in a multiuser edge system; its advantage is to effectively balance computational loads between resource-constrained devices and servers. The resulting architecture, termed Multi-access SPIN (Multi-SPIN), utilizes on-device small language models to generate and upload candidate token drafts, while an edge server operates the LLM to verify them in parallel batches. Given the severe heterogeneity in users' computation and communication capabilities, the draft length emerges as a critical control variable that influences node-level computation loads and multi-access latency, thereby governing the sum token goodput. Consequently, considering frequency-division multiple access, we investigate the problem of multi-access draft control, a joint optimization of draft-length control and bandwidth allocation to maximize sum token goodput. We examine two cases: (1) homogeneous draft lengths across users to facilitate server-side batching, and (2) heterogeneous draft lengths to introduce a new dimension for goodput enhancement. By developing decomposition methods, we reduce these complex optimizations into tractable sub-problems, which allow efficient draft control algorithms to be derived in closed form. Our analysis shows that the optimal bandwidth allocation compensates users with weaker computation-and-communication capabilities in the homogeneous case due to the batching synchronization requirements, whereas its heterogeneous-case counterpart rewards users with higher acceptance rates by relaxing such requirements. Experiments using Llama-2 and Qwen3.5 model pairs across diverse tasks demonstrate that Multi-SPIN improves goodput by up to 88% over heterogeneity-agnostic baselines.

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

↑