通过分布式推测解码实现快速协同推理
Fast Collaborative Inference via Distributed Speculative Decoding
AI总结:
本文提出截断稀疏日志传输策略,通过减少上行通信开销实现高效分布式LLM推理,在保持推理延迟和模型质量的同时提升通信效率。
摘要:
推测解码通过允许小型草稿模型预测多个未来标记以供更大目标模型验证,从而加速大型语言模型(LLM)的推理过程。在AI原生无线接入网络(AI-RAN)中,这使设备-边缘协同推理成为可能,但引入了显著的上行链路开销,因为现有分布式推测解码方案在每一步都传输完整的词汇日志几率。我们提出了一种稀疏化后再采样的策略,即截断稀疏日志传输(TSLT),仅传输截断候选集的日志和索引。我们提供了理论保证,证明在TSLT下接受率得以保持。TSLT进一步扩展到多候选情况,其中每一步的多个草稿候选增加接受概率。实验显示,TSLT显著减少上行通信,同时保持端到端推理延迟和模型质量,证明了其在面向未来AI-RAN系统的可扩展、通信高效的分布式LLM推理中的有效性。
英文摘要:
Speculative decoding accelerates large language model (LLM) inference by allowing a small draft model to predict multiple future tokens for verification by a larger target model. In AI-native radio access networks (AI-RAN), this enables device-edge collaborative inference but introduces significant uplink overhead, as existing distributed speculative decoding schemes transmit full vocabulary logits at every step. We propose a sparsify-then-sample strategy, Truncated Sparse Logits Transmission (TSLT), which transmits only the logits and indices of a truncated candidate set. We provide theoretical guarantees showing that the acceptance rate is preserved under TSLT. TSLT is further extended to multi-candidate case, where multiple draft candidates per step increase acceptance probability. Experiments show that TSLT significantly reduces uplink communication while maintaining end-to-end inference latency and model quality, demonstrating its effectiveness for scalable, communication-efficient distributed LLM inference in future AI-RAN systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。