Compass: 一种面向大规模复合AI服务的SLO感知查询计划器
Compass: SLO-aware Query Planner for Compound AI Serving at Scale
AI总结:
本文提出Compass,一种首个面向大规模复合AI工作负载的SLO感知查询计划器,通过分解多查询、多SLO规划问题为可处理的子问题,利用查询间和查询内的计划相似性减少搜索步骤,并通过计划分析器提高每步效率,从而在资源竞争下最大化SLO良好吞吐量。
摘要:
复合AI服务的兴起使得端用户应用如生成式AI会议助手、自动驾驶和沉浸式游戏得以实现。这些工作负载跨越多样化的部署空间,从纯云查询到跨基础设施层级的边缘辅助查询,往往包括多个部署环境。实现高服务吞吐量——即满足流水线延迟、准确性和成本的服务级别目标(SLOs)——需要联合规划操作符的放置、配置和资源分配。然而,多样化的SLOs、变化的运行环境(如异构设备速度)以及大量竞争共享基础设施的查询使规划空间变得复杂,使现有进展难以实现实时服务和成本高效的部署。本文提出了Compass,一种首个SLO感知查询计划器,用于优化跨多样化部署空间的大规模复合AI工作负载。Compass将多查询、多SLO规划问题分解为可处理的子问题,同时保持全局决策质量,利用查询内和跨查询的计划相似性来减少搜索步骤。它进一步通过计划分析器提高每步效率,该分析器进行选择性分析以在极低的分析成本下实现高保真度的性能估计。在运行时,Compass执行查询-计划二分匹配以在资源竞争下最大化SLO吞吐量。实际评估表明,Compass将服务吞吐量提高2.4-5.1倍,减少部署成本3.8-4.5倍,并加速规划4.2-10.5倍,实现秒级的服务响应和接近最优的决策质量。
英文摘要:
The rise of compound AI serving that integrates multiple operators in a pipeline enables end-user applications such as generative AI-powered meeting companions, autonomous driving, and immersive gaming. These workloads span diverse deployment spaces, from cloud-only queries to edge-assisted ones across infrastructure tiers, often including both within an application. Achieving high service goodput -- i.e., meeting service level objectives (SLOs) for pipeline latency, accuracy, and costs -- requires joint planning of operators' placement, configuration, and resource allocation. However, diverse SLOs, varying runtime environments (e.g., heterogeneous device speeds), and a large volume of queries competing for shared infrastructure explode the planning space, making real-time serving and cost-efficient deployment intractable with existing advances. This paper presents Compass, the first SLO-aware query planner that optimizes large-scale compound AI workloads across diverse deployment spaces. Compass decomposes the many-query, multi-SLO planning problem into tractable subproblems while preserving global decision quality, exploiting plan similarities within and across queries to slash the search steps. It further improves per-step efficiency with a plan profiler that performs selective profiling to achieve high-fidelity performance estimates at a fraction of the profiling cost. At runtime, Compass performs query-plan bipartite matching to maximize SLO goodput under resource contentions. Real-world evaluations show that Compass improves service goodput by 2.4--5.1x, reduces deployment costs by 3.8--4.5x, and accelerates planning by 4.2--10.5x, achieving service responsiveness within seconds and near-optimal decision quality.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。