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

驯服泰坦:高效 LLM 推理服务综述

Taming the Titans: A Survey of Efficient LLM Inference Serving

Soochow University(苏州大学);Huawei Cloud(华为云)

Ranran Zhen, Juntao Li, Yixin Ji, Zhenlin Yang, Tong Liu, Qingrong Xia, Xinyu Duan, Zhefeng Wang, Baoxing Huai, Min Zhang

AI总结:

本文综述了高效LLM推理服务的方法,涵盖实例级(如模型放置、请求调度)、集群级(如GPU集群部署、负载均衡)及新兴场景策略,并提出了未来研究方向。

摘要:

用于生成式 AI 的大型语言模型(LLMs)取得了显著进展,已演变成在各领域和应用中被广泛采用的复杂且多功能的工具。然而,其海量参数导致的巨大内存开销,加上注意力机制的高计算需求,在实现 LLM 推理服务的低延迟和高吞吐量方面提出了重大挑战。在开创性研究的推动下,近期的进展显著加速了该领域的发展。本文对这些方法进行了全面综述,涵盖了基础的实例级方法、深入的集群级策略、新兴场景方向以及其他杂项但重要的领域。在实例级别,我们回顾了模型放置、请求调度、解码长度预测、存储管理以及解耦范式。在集群级别,我们探讨了 GPU 集群部署、多实例负载均衡和云服务解决方案。对于新兴场景,我们围绕特定任务、模块和辅助方法组织了讨论。为确保提供全面的概述,我们还强调了几个小众但关键的领域。最后,我们概述了进一步推进 LLM 推理服务领域的潜在研究方向。

英文摘要:

Large Language Models (LLMs) for Generative AI have achieved remarkable progress, evolving into sophisticated and versatile tools widely adopted across various domains and applications. However, the substantial memory overhead caused by their vast number of parameters, combined with the high computational demands of the attention mechanism, poses significant challenges in achieving low latency and high throughput for LLM inference services. Recent advancements, driven by groundbreaking research, have significantly accelerated progress in this field. This paper provides a comprehensive survey of these methods, covering fundamental instance-level approaches, in-depth cluster-level strategies, emerging scenario directions, and other miscellaneous but important areas. At the instance level, we review model placement, request scheduling, decoding length prediction, storage management, and the disaggregation paradigm. At the cluster level, we explore GPU cluster deployment, multi-instance load balancing, and cloud service solutions. For emerging scenarios, we organize the discussion around specific tasks, modules, and auxiliary methods. To ensure a holistic overview, we also highlight several niche yet critical areas. Finally, we outline potential research directions to further advance the field of LLM inference serving.

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

↑