arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.18897cs.DCcs.AI
收藏

并行化工具执行与LLM生成以实现低延迟代理服务

Parallelizing Tool Execution and LLM Generation for Low-Latency Agent Serving

Shanghai Jiao Tong University(上海交通大学);Microsoft Research(微软研究院);Stevens Institute of Technology(Stevens 工程学院);Google(谷歌);Hong Kong University of Science and Technology(香港科学与技术大学)

Yifan Sui, Han Zhao, Rui Ma, Zhiyuan He, Hao Wang, Jianxun Li, Kaiqiang Xu, Kai Chen, Yuqing Yang

AI总结:

提出PASTE系统,通过预测性执行未来工具调用与LLM生成并行,减少任务完成时间43.5%。

摘要:

基于LLM的代理通过模型生成和工具执行的顺序循环来执行任务。当今的服务系统串行化此循环,使工具延迟暴露在任务关键路径上。本文提出PASTE,一个工具感知的代理服务系统,它从重复的代理模式中预测具体的未来工具调用,并在LLM仍在生成时推测性执行它们。PASTE将推测结果隔离,直到LLM确认,并联合调度工具执行和返回的LLM会话,以避免将瓶颈转移到GPU。在深度研究、编码和科学代理工作负载上,PASTE将平均任务完成时间减少43.5%,并将观察到的工具延迟降低1.8倍。

英文摘要:

LLM-powered agents execute tasks through a sequential loop of model generation and tool execution. Today's serving systems serialize this loop, leaving tool latency exposed on the task critical path. This paper presents PASTE, a tool-aware agent-serving system that predicts concrete future tool invocations from recurring agent patterns and executes them speculatively while the LLM is still generating. PASTE isolates speculative results until confirmed by the LLM and jointly schedules tool execution and returning LLM sessions to avoid shifting bottlenecks to the GPU. Across deep research, coding, and scientific-agent workloads, PASTE reduces average task completion time by 43.5% and lowers observed tool latency by 1.8x.

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

↑