arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.07886cs.LGcs.AIcs.CLcs.DC
收藏

Learned Best-Effort LLM Serving(基于学习的尽力而为大语言模型服务)

Learned Best-Effort LLM Serving

UC Berkeley(加州大学伯克利分校)

Siddharth Jha, Coleman Hooper, Xiaoxuan Liu, Sehoon Kim, Kurt Keutzer

AI总结:

针对LLM服务低延迟需求与资源过度配置成本过高的矛盾,提出采用深度强化学习的尽力而为服务系统,可根据负载调整服务质量,大幅提升请求承载能力与硬件利用率。

摘要:

许多应用必须为用户提供低延迟的LLM(大语言模型)服务,否则会面临用户体验不可接受的风险。然而,为应对波动的请求模式而过度配置资源,成本往往高得令人望而却步。在本研究中,我们提出了一种尽力而为的服务系统,该系统采用深度强化学习,根据任务分布和系统负载调整服务质量。我们的尽力而为系统在不可预测的工作负载下,能够在客户端请求率高出10倍以上的情况下保持可用性,达到峰值性能96%以上的时长是静态服务的4.1倍,达到峰值性能98%以上的时长是静态服务的2.3倍。我们的学习型路由器对请求到达分布和任务分布的变化都具有鲁棒性。与静态服务相比,基于学习的尽力而为LLM服务通过提升硬件利用率实现了高成本效益的服务。此外,我们认为基于学习的尽力而为LLM服务适用于多种场景,并为应用开发者提供了极大的灵活性,以满足他们的特定需求。

英文摘要:

Many applications must provide low-latency LLM service to users or risk unacceptable user experience. However, over-provisioning resources to serve fluctuating request patterns is often prohibitively expensive. In this work, we present a best-effort serving system that employs deep reinforcement learning to adjust service quality based on the task distribution and system load. Our best-effort system can maintain availability with over 10x higher client request rates, serves above 96% of peak performance 4.1x more often, and serves above 98% of peak performance 2.3x more often than static serving on unpredictable workloads. Our learned router is robust to shifts in both the arrival and task distribution. Compared to static serving, learned best-effort serving allows for cost-efficient serving through increased hardware utility. Additionally, we argue that learned best-effort LLM serving is applicable in wide variety of settings and provides application developers great flexibility to meet their specific needs.

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

↑