arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.25899cs.MAcs.DCcs.SYeess.SY
收藏

Pythia:利用工作流可预测性实现高效的智能体原生LLM服务

Pythia: Exploiting Workflow Predictability for Efficient Agent-Native LLM Serving

UCLA(加州大学洛杉矶分校);Alibaba Cloud Computing(阿里云);Alibaba Group(阿里巴巴集团);Intel(英特尔);SJTU(上海交通大学);UC Berkeley(加州大学伯克利分校);Rice University(莱斯大学);Tsinghua University(清华大学);Peking University(北京大学)
Shan Yu, Junyi Shu, Yuanjiang Ni, Kun Qian, Xue Li, Yang Wang, Jinyuan Zhang, Ziyi Xu, Shuo Yang, Lingjun Zhu, Ennan Zhai, Qingda Lu, Jiarong Xing, Youyou Lu, X… 展开作者

Shan Yu, Junyi Shu, Yuanjiang Ni, Kun Qian, Xue Li, Yang Wang, Jinyuan Zhang, Ziyi Xu, Shuo Yang, Lingjun Zhu, Ennan Zhai, Qingda Lu, Jiarong Xing, Youyou Lu, Xin Jin, Xuanzhe Liu, Harry Xu

AI总结:

本文提出Pythia系统,通过在服务层简单接口捕获工作流语义,解决智能体服务中的缓存命中率低、资源竞争和队列延迟问题,提升吞吐量和任务完成时间。

摘要:

随着LLM应用日益复杂,开发者越来越多地采用多智能体架构将工作流分解为专门协作的组件,引入结构约束智能体行为并暴露有用的语义可预测性。不同于传统LLM服务在高度动态和不确定条件下运行,这种结构拓扑提供了减少运行时不确定性的机会,但现有系统未能利用它,将智能体负载视为通用流量,导致显著效率低下。我们分析了生产跟踪数据,发现关键瓶颈包括低前缀缓存命中率、长上下文请求导致的严重资源竞争以及由于子优化缩放造成的大量排队延迟。为了解决这些挑战,我们提出Pythia,一种多智能体服务系统,通过服务层简单的接口捕获工作流语义,解锁新的优化机会,并在最先进的基线之上显著提高吞吐量和任务完成时间。

英文摘要:

As LLM applications grow more complex, developers are increasingly adopting multi-agent architectures to decompose workflows into specialized, collaborative components, introducing structure that constrains agent behavior and exposes useful semantic predictability. Unlike traditional LLM serving, which operates under highly dynamic and uncertain conditions, this structured topology enables opportunities to reduce runtime uncertainty$\unicode{x2015}$yet existing systems fail to exploit it, treating agentic workloads as generic traffic and incurring significant inefficiencies. Our analysis of production traces from an agent-serving platform and an internal coding assistant reveals key bottlenecks, including low prefix cache hit rates, severe resource contention from long-context requests, and substantial queuing delays due to suboptimal scaling. To address these challenges, we propose Pythia, a multi-agent serving system that captures workflow semantics through a simple interface at the serving layer, unlocking new optimization opportunities and substantially improving throughput and job completion time over state-of-the-art baselines.

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

↑