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

GraphPlanner: 多智能体LLM的图记忆增强代理路由

GraphPlanner: Graph Memory-Augmented Agentic Routing for Multi-Agent LLMs

Department of Computer Science(计算机科学系)

Tao Feng, Haozhen Zhang, Zijie Lei, Peixuan Han, Jiaxuan You

AI总结:

GraphPlanner通过图记忆增强代理路由方法,提升多智能体LLM在任务规划和多轮协作中的性能,实现更高的准确率和计算效率。

摘要:

LLM路由在整合多种模型优势并平衡效率与性能方面取得了显著成果。然而,为了支持更现实和具有挑战性的应用,路由必须扩展到代理LLM环境,其中任务规划、异构代理间的多轮协作和记忆利用是必不可少的。为此,我们提出GraphPlanner,一种异构图记忆增强的代理路由器,为每个查询生成路由流程并支持归纳和传递推理。GraphPlanner将流程生成建模为马尔可夫决策过程(MDP),在每一步选择LLM主干和代理角色,包括规划者、执行者和总结者。通过利用异构图GARNet捕捉查询、代理和响应间的交互记忆,GraphPlanner将历史记忆和流程记忆整合到更丰富的状态表示中。整个流程通过强化学习优化,共同提升任务特定性能和计算效率。我们评估了GraphPlanner在14种多样化的LLM任务上的表现,证明:(1)GraphPlanner优于强大的单轮和多轮路由器,准确率提升高达9.3%,同时GPU成本从186.26 GiB降至1.04 GiB;(2)GraphPlanner能够稳健地泛化到未见任务和LLM,表现出强大的零样本能力;(3)GraphPlanner有效利用历史记忆,支持归纳和传递推理,实现更适应的路由。我们的GraphPlanner代码已发布在https://github.com/ulab-uiuc/GraphPlanner。

英文摘要:

LLM routing has achieved promising results in integrating the strengths of diverse models while balancing efficiency and performance. However, to support more realistic and challenging applications, routing must extend into agentic LLM settings, where task planning, multi-round cooperation among heterogeneous agents, and memory utilization are indispensable. To address this gap, we propose GraphPlanner, a heterogeneous graph memory-augmented agentic router for multi-agent LLMs that generates routing workflows for each query and supports both inductive and transductive inference. GraphPlanner formulates workflow generation as a Markov Decision Process (MDP), where at each step it selects both the LLM backbone and the agent role, including Planner, Executor, and Summarizer. By leveraging a heterogeneous graph, denoted as GARNet, to capture interaction memories among queries, agents, and responses, GraphPlanner integrates historical memory and workflow memory into richer state representations. The entire pipeline is optimized with reinforcement learning, jointly improving task-specific performance and computational efficiency. We evaluate GraphPlanner across 14 diverse LLM tasks and demonstrate that: (1) GraphPlanner outperforms strong single-round and multi-round routers, improving accuracy by up to 9.3% while reducing GPU cost from 186.26 GiB to 1.04 GiB; (2) GraphPlanner generalizes robustly to unseen tasks and LLMs, exhibiting strong zero-shot capabilities; and (3) GraphPlanner effectively leverages historical memories, supporting both inductive and transductive inference for more adaptive routing. Our code for GraphPlanner is released at https://github.com/ulab-uiuc/GraphPlanner.

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

↑