arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.04576eess.SP
收藏

基于分布式投机解码的通信高效协作LLM推理

Communication-Efficient Collaborative LLM Inference via Distributed Speculative Decoding

Pengcheng Laboratory(鹏城实验室)

Ce Zheng, Tingting Yang

AI总结:

针对AI-RAN中终端与基站协作LLM推理的上行通信开销问题,本文提出TK-SLT方案,仅传输Top-K token概率与索引以降低带宽消耗,并推导最优草稿长度及加速比理论分析,实验验证其高效性。

摘要:

投机解码是一种新兴技术,通过让较小的草稿模型提前预测多个token,再由较大的目标模型进行验证或纠正,从而加速大语言模型(LLM)推理。在AI原生无线接入网(AI-RAN)中,这一范式非常适合资源受限的终端设备与能力更强的边缘服务器或基站(BS)之间进行协作推理。然而,现有的分布式投机解码需要将设备端草稿模型的完整词表概率分布传输到基站端的目标模型,这导致了难以承受的上行通信开销。为解决这一问题,我们提出了一种“Top-K稀疏logits传输(TK-SLT)”方案,其中草稿模型仅传输Top-K个token的原始概率及对应的token索引,而不是整个分布。该方法在保持推理性能的同时显著降低了带宽消耗。我们进一步推导出使推理吞吐量最大化的最优草稿长度的解析表达式,并对TK-SLT下可实现的加速比进行了理论分析。实验结果验证了所提方法的效率和有效性。

英文摘要:

Speculative decoding is an emerging technique that accelerates large language model (LLM) inference by allowing a smaller draft model to predict multiple tokens in advance, which are then verified or corrected by a larger target model. In AI-native radio access networks (AI-RAN), this paradigm is well-suited for collaborative inference between resource-constrained end devices and more capable edge servers or base stations (BSs). However, existing distributed speculative decoding requires transmitting the full vocabulary probability distribution from the draft model on the device to the target model at the BS, which leads to prohibitive uplink communication overhead. To address this issue, we propose a ``Top-K Sparse Logits Transmission (TK-SLT)`` scheme, where the draft model transmits only the top-K token raw probabilities and the corresponding token indices instead of the entire distribution. This approach significantly reduces bandwidth consumption while maintaining inference performance. We further derive an analytical expression for the optimal draft length that maximizes inference throughput, and provide a theoretical analysis of the achievable speedup ratio under TK-SLT. Experimental results validate both the efficiency and effectiveness of the proposed method.

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

↑