vix.ing · top · new · best · stats · spec

Compass: SLO-aware Query Planner for Compound AI Serving at Scale

2025/04/23 by Banruo Liu, Liu, Banruo, Wei‐Yu Lin +6 · 2 citations
Computer Science · #Cloud computing #Coding theory and cryptography #Databases (cs.DB) #FOS: Computer and information sciences #Goodput #Machine Learning (cs.LG) #Pipeline (software) #Plan (archaeology) #Planner #Query optimization #Rendering (computer graphics) #Service (business) #Software deployment

paper · pdf · doi:10.48550/arxiv.2504.16397

openalex publication_date 2025/04/23 · openalex created_date 2025/10/11 · openalex updated_date 2026/08/05

Abstract

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.

Citations

Cited by

Related