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

RouterWise: 多模型LLM服务中的联合资源分配与路由

RouterWise: Joint Resource Allocation and Routing for Latency-Aware Multi-Model LLM Serving

DisNet Lab, School of Computing and Information Systems, The University of Melbourne(墨尔本大学计算与信息学院);School of Computing and Information Systems, The University of Melbourne(墨尔本大学计算与信息学院);Department of Data Science & AI, Monash University(莫纳什大学数据科学与人工智能系)

Hossein Hosseini Kasnavieh, Gholamreza Haffari, Christopher Leckie, Adel N. Toosi

AI总结:

针对延迟敏感的多模型LLM服务,RouterWise通过联合资源分配与路由策略优化,提升输出质量并满足延迟目标。

摘要:

多模型LLM路由通过将每个提示分配给合适的模型,有效降低服务成本和延迟并保持输出质量。然而,传统路由方法假设每个模型具有固定延迟,但在实际部署中,多个模型共享有限的GPU资源,模型延迟依赖于分配的资源和路由策略引起的请求负载。因此,路由和资源分配紧密相关。本文研究了GPU集群中延迟感知的多模型LLM服务的联合资源分配与路由问题。给定一组部署的模型和一个延迟服务等级目标(SLO),我们寻求一个系统设置和路由策略,以最大化整体输出质量并满足延迟目标。我们将该问题形式化为一个约束联合优化问题,涉及部署设置和路由比例。我们提出RouterWise,它结合双价格公式用于评分最大化路由,并通过系统分析推导出特定部署的延迟模型。RouterWise在可行的系统设置上搜索,并在每个固定设置下计算最佳路由策略以满足延迟目标。我们的结果表明,即使在同一GPU集群上,保留的设置下可实现的输出质量评分可能高达87%的差异,凸显了资源分配对路由性能的关键作用。

英文摘要:

Multi-model LLM routing has emerged as an effective approach for reducing serving cost and latency while maintaining output quality by assigning each prompt to an appropriate model. However, prior routing methods typically assume that each model has a fixed latency. In real deployments, this assumption is inaccurate: multiple models often share limited GPU resources, and a model's latency depends strongly on both its allocated resources and the request load induced by the routing policy. Consequently, routing and resource allocation are tightly coupled. In this work, we study joint resource allocation and routing for latency-aware multi-model LLM serving in GPU clusters. Given a set of deployed models and a latency service-level objective (SLO), we seek a system setup and routing policy that maximize overall output quality while satisfying the latency target. We formalize this problem as a constrained joint optimization over deployment setup and routing fractions, and propose RouterWise, which combines a dual-price formulation for score-maximizing routing with setup-specific latency models derived from system profiling. RouterWise searches over feasible system setups and, for each fixed setup, computes the best routing policy under the latency target. Our results show that even on the same GPU cluster, achievable output-quality score can vary by up to 87% across retained setups, highlighting that resource allocation is a key determinant of routing performance.

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

↑