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

迈向通用路由:模型与智能体编排实现自适应高效推理

Towards Generalized Routing: Model and Agent Orchestration for Adaptive and Efficient Inference

JIUTIAN Team, China Mobile Research Institute(钧天团队,中国移动研究院)

Xiyu Guo, Shan Wang, Chunfang Ji, Xuefeng Zhao, Wenhao Xi, Yaoyao Liu, Qinglan Li, Chao Deng, Junlan Feng

AI总结:

针对多样化查询的路由挑战,提出MoMA通用路由框架,集成模型与智能体路由,通过意图识别和自适应策略实现高效推理,实验证明其成本效益和可扩展性优于现有方法。

摘要:

大型语言模型(LLM)和特定领域AI智能体的快速发展极大地扩展了AI驱动服务的生态系统。然而,用户查询高度多样化,且通常跨越多个领域和任务类型,导致复杂且异构的格局。这种多样性带来了一个根本性的路由挑战:如何在优化性能和效率的同时,将每个查询准确引导至合适的执行单元。为解决此问题,我们提出了MoMA(模型与智能体混合,Mixture of Models and Agents),一个集成LLM路由和基于智能体路由的通用路由框架。基于对模型和智能体能力的深入理解,MoMA通过精确的意图识别和自适应路由策略有效处理多样化查询,在效率和成本之间实现最优平衡。具体而言,我们构建了一个详细的训练数据集,以刻画不同路由模型结构下各种LLM的能力,为每个LLM识别最合适的任务。在推理过程中,查询被动态路由至性价比最优的LLM。我们还引入了一种基于上下文感知状态机和动态掩码的高效智能体选择策略。实验结果表明,与现有方法相比,MoMA路由器提供了更优的成本效益和可扩展性。

英文摘要:

The rapid advancement of large language models (LLMs) and domain-specific AI agents has greatly expanded the ecosystem of AI-powered services. User queries, however, are highly diverse and often span multiple domains and task types, resulting in a complex and heterogeneous landscape. This diversity presents a fundamental routing challenge: how to accurately direct each query to an appropriate execution unit while optimizing both performance and efficiency. To address this, we propose MoMA (Mixture of Models and Agents), a generalized routing framework that integrates both LLM and agent-based routing. Built upon a deep understanding of model and agent capabilities, MoMA effectively handles diverse queries through precise intent recognition and adaptive routing strategies, achieving an optimal balance between efficiency and cost. Specifically, we construct a detailed training dataset to profile the capabilities of various LLMs under different routing model structures, identifying the most suitable tasks for each LLM. During inference, queries are dynamically routed to the LLM with the best cost-performance efficiency. We also introduce an efficient agent selection strategy based on a context-aware state machine and dynamic masking. Experimental results demonstrate that the MoMA router offers superior cost-efficiency and scalability compared to existing approaches.

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

↑