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

Aragog: 为可扩展的代理工作流服务的即时模型路由

Aragog: Just-in-Time Model Routing for Scalable Serving of Agentic Workflows

Princeton University(普林斯顿大学);Georgia Institute of Technology(佐治亚理工学院)

Yinwei Dai, Zhuofu Chen, Anand Iyer, Ravi Netravali

AI总结:

Aragog通过动态配置调整提升工作流服务吞吐量和降低延迟,保持准确性。

摘要:

代理工作流已作为一种强大的范式,用于解决复杂、多阶段的任务,但大规模服务它们是计算上昂贵的,因为每个请求必须通过许多LLM推理。配置选择,或有成本意识地将工作流代理分配到特定的LLM,可以减少这些成本,但现有方法在请求执行前绑定配置决策,使其不适合异构和长时间执行的工作流。具体来说,系统负载可以在请求的生命周期中迅速且大幅波动,导致固定配置很快变得次优。我们提出了Aragog,一个系统,在其执行过程中逐步适应请求的配置,以匹配运行时动态。为了使这一方案在工作流配置的庞大空间中仍然实用,Aragog将问题分解为两个核心要素--一个一次性的路由步骤,用于识别所有保持准确性的配置,以及一个廉价的每阶段调度器,利用最新的系统观察来在其中选择--并引入了新的策略来加速每个部分。在多样化的工作流和模型家族中,Aragog将最大服务吞吐量提高了50.0-217.0%,并在峰值请求率下将中位延迟降低了32.5-78.9%,同时保持的准确性与最昂贵的配置相当。

英文摘要:

Agentic workflows have emerged as a powerful paradigm for solving complex, multi-stage tasks, but serving them at scale is computationally expensive given the many LLM inferences that each request must pass through. Configuration selection, or the cost-aware assignment of workflow agents to specific LLMs, can reduce these costs, but existing approaches bind configuration decisions before request execution, making them ill-suited for the heterogeneous and lengthy execution of workflows. Specifically, system loads can fluctuate rapidly and substantially during a request's lifetime, causing fixed configurations to quickly become suboptimal. We present Aragog, a system that progressively adapts a request's configuration throughout its execution to match runtime dynamics. To make this practical despite the massive space of workflow configurations, Aragog decouples the problem into two core elements -- a one-time routing step that identifies all accuracy-preserving configurations, and a cheap per-stage scheduler that selects among them using up-to-date system observations -- and introduces novel strategies to accelerate each. Across diverse workflows and model families, Aragog increases maximum serving throughput by 50.0--217.0\% and reduces median latency by 32.5--78.9\% at peak request rates, while maintaining accuracy comparable to the most expensive configurations.

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

↑