arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2505.01658cs.CL
收藏

对大型语言模型推理引擎的综述:优化与效率的视角

A Survey on Inference Engines for Large Language Models: Perspectives on Optimization and Efficiency

Korea Electronics Technology Institute(韩国电子技术研究所);Electronics and Telecommunications Research Institute(电子电信研究院)

Sihyeong Park, Sungryeol Jeon, Chaelyn Lee, Seokhun Jeon, Byung-Soo Kim, Jemin Lee

AI总结:

本文综述了大型语言模型推理引擎的优化与效率,评估了25种开源和商用引擎,探讨了其设计目标及生态系统成熟度,并提供未来研究方向和公开存储库。

摘要:

大型语言模型(LLMs)被广泛应用于聊天机器人、代码生成器和搜索引擎中。像链条推理、复杂推理和代理服务等任务显著增加了通过多次调用模型而产生的推理成本。优化方法如并行计算、压缩和缓存已被采用以减少成本,但不同的服务需求使选择合适的方法变得困难。最近,专门的LLM推理引擎作为关键组件,被用来将优化方法整合到面向服务的基础设施中。然而,对推理引擎的系统研究仍然缺乏。本文对25个开源和商用的推理引擎进行了全面评估。我们从易用性、易部署性、通用性支持、可扩展性和对吞吐量和延迟敏感计算的适应性等方面检查每个推理引擎。此外,我们通过研究其支持的优化技术来探索每个推理引擎的设计目标。此外,我们评估了开源推理引擎的生态系统成熟度,并处理了商用解决方案的性能和成本政策。我们概述了未来研究方向,包括对复杂LLM服务的支持、对各种硬件的支持以及增强的安全性,为研究人员和开发者在选择和设计优化的LLM推理引擎方面提供实用指导。我们还提供了一个公共存储库,以持续跟踪这一快速发展的领域的发展:https://github.com/sihyeong/Awesome-LLM-Inference-Engine。

英文摘要:

Large language models (LLMs) are widely applied in chatbots, code generators, and search engines. Workload such as chain-of-throught, complex reasoning, agent services significantly increase the inference cost by invoke the model repeatedly. Optimization methods such as parallelism, compression, and caching have been adopted to reduce costs, but the diverse service requirements make it hard to select the right method. Recently, specialized LLM inference engines have emerged as a key component for integrating the optimization methods into service-oriented infrastructures. However, a systematic study on inference engines is still lacking.This paper provides a comprehensive evaluation of 25 open-source and commercial inference engines. We examine each inference engine in terms of ease-of-use, ease-of-deployment, general-purpose support, scalability, and suitability for throughput- and latency-aware computation. Furthermore, we explore the design goals of each inference engine by investigating the optimization techniques it supports. In addition, we assess the ecosystem maturity of open source inference engines and handle the performance and cost policy of commercial solutions.We outline future research directions that include support for complex LLM-based services, support of various hardware, and enhanced security, offering practical guidance to researchers and developers in selecting and designing optimized LLM inference engines. We also provide a public repository to continually track developments in this fast-evolving field: \href{https://github.com/sihyeong/Awesome-LLM-Inference-Engine}{https://github.com/sihyeong/Awesome-LLM-Inference-Engine}.

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

↑