arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.20503cs.DC
收藏

FASER:面向动态LLM服务的细粒度推测解码相管理

FASER: Fine-Grained Phase Management for Speculative Decoding in Dynamic LLM Serving

NTU Singapore(新加坡南洋理工大学);Shenzhen Institutes of Advanced Technology, CAS(中国科学院深圳先进技术研究院;中国科学院大学);UCAS

Wenyan Chen, Chengzhi Lu, Yanying Lin, Dmitrii Ustiugov

AI总结:

FASER通过细粒度推测解码相管理提升动态LLM服务性能,减少计算浪费并降低延迟。

摘要:

推测解码(SD)是加速解码密集型LLM推理工作负载的常用方法。然而,现有SD系统在动态在线推理负载下表现不足,因为它们采用粗粒度的SD管理方法。FASER引入了一种新的系统,通过动态调整每个请求的推测长度并提前修剪被拒绝的token来减少计算浪费。此外,FASER将验证阶段分成前沿或块,以与草案阶段重叠,通过细粒度的空间复用实现最小的资源干扰。我们的FASER原型在vLLM中将吞吐量提高了最多53%,并将延迟降低了1.92倍。

英文摘要:

Speculative decoding (SD) is a widely used approach for accelerating decode-heavy LLM inference workloads. While online inference workloads are highly dynamic, existing SD systems are rigid and take a coarse-grained approach to SD management. They typically set the speculative token length for an entire batch and serialize the execution of the draft and verification phases. Consequently, these systems fall short at adapting to volatile online inference traffic. Under low load, they exhibit prolonged latency because the draft phase blocks the verification phase for the entire batch, leaving GPU computing resources underutilized. Conversely, under high load, they waste computation on rejected tokens during the verification phase, overloading GPU resources. We introduce FASER, a novel system that features fine-grained SD phase management. First, FASER minimizes computational waste by dynamically adjusting the speculative length for each request within a continuous batch and by performing early pruning of rejected tokens inside the verification phase. Second, FASER breaks the verification phase into frontiers, or chunks, to overlap them with the draft phase. This overlap is achieved via fine-grained spatial multiplexing with minimal resource interference. Our FASER prototype in vLLM improves throughput by up to 53% and reduces latency by up to 1.92$\times$ compared to state-of-the-art systems.

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

↑