arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.07545cs.AIcs.DS
收藏

排队、预测与大语言模型:挑战与开放问题

Queueing, Predictions, and LLMs: Challenges and Open Problems

Harvard University(哈佛大学)

Michael Mitzenmacher, Rana Shahout

AI总结:

本文回顾了利用预测服务时间改进排队调度的研究,并聚焦大语言模型推理系统,提出其调度新模型与开放问题,论证排队论分析在该领域的应用潜力。

摘要:

排队系统为应用机器学习预测(例如估计服务时间)以提升系统性能提供了许多机会。这种结合引发了大量关于如何有效利用预测来改进调度决策的开放问题。近期研究探索了带有预测服务时间的队列,通常旨在最小化作业在系统中的时间。我们回顾了这些工作,强调了预测的有效性,并提出了关于队列性能的开放问题。随后,我们转而考虑在调度中使用预测的一个重要实际例子,即大语言模型(LLM)系统,它带来了新的调度挑战,并凸显了预测在提升性能方面的潜力。特别是,我们考虑执行推理的LLM。LLM系统中的推理请求(作业)本质上很复杂;它们具有可变的推理时间、受键值(KV)存储内存限制约束的动态内存占用,以及多种对性能产生不同影响的可能抢占方法。我们提供了关于LLM系统中调度重要方面的背景,并介绍了由此产生的新模型和开放问题。我们认为,将排队论的见解和分析应用于LLM系统调度存在重大机会。

英文摘要:

Queueing systems present many opportunities for applying machine-learning predictions, such as estimated service times, to improve system performance. This integration raises numerous open questions about how predictions can be effectively leveraged to improve scheduling decisions. Recent studies explore queues with predicted service times, typically aiming to minimize job time in the system. We review these works, highlight the effectiveness of predictions, and present open questions on queue performance. We then move to consider an important practical example of using predictions in scheduling, namely Large Language Model (LLM) systems, which presents novel scheduling challenges and highlights the potential for predictions to improve performance. In particular, we consider LLMs performing inference. Inference requests (jobs) in LLM systems are inherently complex; they have variable inference times, dynamic memory footprints that are constrained by key-value (KV) store memory limitations, and multiple possible preemption approaches that affect performance differently. We provide background on the important aspects of scheduling in LLM systems, and introduce new models and open problems that arise from them. We argue that there are significant opportunities for applying insights and analysis from queueing theory to scheduling in LLM systems.

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

↑