AgentRouter:一种知识图谱引导的LLM路由器,用于协作式多智能体问答
AgentRouter: A Knowledge-Graph-Guided LLM Router for Collaborative Multi-Agent Question Answering
AI总结:
本文提出AgentRouter框架,将多智能体问答建模为知识图谱引导的路由问题,利用异构图神经网络生成任务感知的路由分布,通过软监督和加权聚合实现协作,实验证明其优于单智能体和集成基线。
摘要:
大型语言模型(LLM)和基于智能体的框架发展迅速,使得多种应用成为可能。然而,随着模型和智能体策略的激增,从业者在为下游任务选择最佳配置时面临巨大不确定性。先前研究表明,不同的智能体和骨干模型展现出互补的优势,且较大的模型并不总是更优,这凸显了自适应路由机制的必要性。然而,现有的智能体路由方法往往强调成本效率,而忽视了问答任务中固有的细粒度上下文和关系结构。在本文中,我们提出了AgentRouter,一个将多智能体问答表述为知识图谱引导的路由问题,并由经验性能信号监督的框架。具体而言,我们将问答实例转换为一个知识图谱,该图谱联合编码查询、上下文实体和智能体,然后训练一个异构图神经网络(GNN)以跨节点类型传播信息,并生成面向任务的智能体路由分布。通过利用软监督和智能体输出的加权聚合,AgentRouter学习了能够捕捉不同智能体互补优势的原则性协作方案。大量实验表明,我们的框架在性能上始终优于单智能体和集成基线,并且能够跨基准和LLM骨干模型进行泛化。这些结果突显了图监督的多智能体路由在问答任务中的有效性和鲁棒性。
英文摘要:
Large language models (LLMs) and agent-based frameworks have advanced rapidly, enabling diverse applications. Yet, with the proliferation of models and agentic strategies, practitioners face substantial uncertainty in selecting the best configuration for a downstream task. Prior studies show that different agents and backbones exhibit complementary strengths, and that larger models are not always superior, underscoring the need for adaptive routing mechanisms. Existing approaches to agent routing, however, often emphasize cost efficiency while overlooking the fine-grained contextual and relational structure inherent in QA tasks. In this paper, we propose tAgentRouter, a framework that formulates multi-agent QA as a knowledge-graph-guided routing problem supervised by empirical performance signals. Specifically, we convert QA instance into a knowledge graph that jointly encodes queries, contextual entities, and agents, and then train a heterogeneous graph neural network (GNN) to propagate information across node types and produce task-aware routing distributions over agents. By leveraging soft supervision and weighted aggregation of agent outputs, AgentRouter learns principled collaboration schemes that capture the complementary strengths of diverse agents. Extensive experiments demonstrate that our framework consistently outperforms single-agent and ensemble baselines, while generalizing across benchmarks and LLM backbones. These results highlight the effectiveness and robustness of graph-supervised multi-agent routing for question answering.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。