[论文解读] BOute: Cost-Efficient LLM Serving with Heterogeneous LLMs and GPUs via Multi-Objective Bayesian Optimization
BOute 通过多目标贝叶斯优化框架联合优化查询路由到异构的 LLMs 与在异构 GPU 上的部署,实现在成本与延迟显著提升的同时满足质量目标。
The rapid growth of large language model (LLM) deployments has made cost-efficient serving systems essential. Recent efforts to enhance system cost-efficiency adopt two main perspectives: (i) An algorithmic perspective that exploits heterogeneous model capabilities to route simpler queries to lower-cost models and complex queries to higher-cost models (i.e., heterogeneous query routing); and (ii) a systems perspective that utilizes heterogeneous GPU resources as cost-effective alternatives to homogeneous high-end GPUs (i.e., heterogeneous model deployment). However, algorithm-system co-design for cost-efficient LLM serving necessitates sophisticated management: (i) Determining optimal query routing strategies under latency and quality requirements, (ii) configuring model deployment across heterogeneous GPUs with appropriate resource allocation and parallelism strategies, and (iii) co-optimizing routing and deployment decisions to maximize overall system performance. To address these challenges, we present BOute, a quality-aware scheduling system that jointly exploits heterogeneous model and GPU capabilities for cost-efficient LLM serving. BOute employs a multi-objective Bayesian optimization (MOBO) framework to co-optimize the routing strategy and model deployment, thereby maximizing the cost-efficiency of the serving system while guaranteeing response quality. Evaluation results demonstrate that BOute outperforms state-of-the-art LLM serving systems by up to 157% and 59% on average under identical cost budgets and quality requirements, or reducing serving costs by 15%-61% (38% on average) while maintaining the same performance targets, validating its effectiveness in achieving cost-efficient LLM serving.
研究动机与目标
- 通过模型与 GPU 的异构性来推动成本效率化的 LLM 服务。
- 在延迟与质量约束下,形式化路由与部署的联合优化问题。
- 开发一个多目标贝叶斯优化框架以找到帕累托最优解。
- 与现有最先进基线相比,在延迟、吞吐量和成本方面 Demonstrate 显著提升。
提出的方法
- 将路由形式化为可调 τ 阈值的阈值决策。
- 将部署定义为一个 GPUs 到模型的分配矩阵 A 与并行度 P。
- 将联合问题建模为在预算和 GPU 约束下的延迟与质量的多目标优化。
- 离线:通过推理任务仿真器在单副本与多副本部署下构建性能数据库。
- 在线 MOBO:使用带负载分数重参数化的加性核 GP 替代,并采用带约束感知的约束 qNEHVI 获取函数。
- 加入结构性偏好如模型-GPU 偏好和对数变换以稳定优化。
实验结果
研究问题
- RQ1如何共同优化路由决策与部署配置,以在保持或提高输出质量的同时最小化延迟?
- RQ2部署异构 GPU 对异构 LLM 服务的成本效益和延迟有何影响?
- RQ3MOBO 是否能在预算与 GPU 可用性约束下识别帕累托最优配置?
- RQ4结构化编码(负载分数、GPU 偏好)如何影响 MOBO 的效率和解的质量?
主要发现
- 在相同预算和质量目标下,BOoute 在系统延迟上实现最高 2.6x 的降低、平均提升 1.6x。
- 在相同约束下,BOoute 还可将系统吞吐量提升最高 1.9x(平均 1.6x)。
- 异构模型路由与异构 GPU 部署互为补充,促成成本高效的服务并改善延迟。
- 不同模型在不同 GPU 上表现不同,使得异构部署具有必要性。
- MOBO 框架收敛到平衡延迟与质量的帕累托最优路由与部署配置。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。