用自回归生成方式自动设计多智能体协作拓扑,让系统按任务需求灵活组队。
Assemble Your Crew: Automatic Multi-agent Communication Topology Design via Autoregressive Graph Generation
- 将多智能体拓扑设计转化为条件自回归图生成任务,从零构建系统结构。
- 在6个基准上达到领先性能,且token效率显著提升。
- 适合需要动态组队的复杂任务场景,扩展性强。
基于大语言模型的多智能体系统(MAS)在处理跨领域复杂问题中展现出强大能力,其有效性高度依赖于协作拓扑结构。现有方法受限于预设智能体数量和硬编码交互模式,难以适应特定任务需求。为此,本文将MAS设计重构为条件自回归图生成任务,提出ARG-Designer:一个可从零生成协作图的新模型。该模型根据自然语言任务描述,动态决定所需智能体数量,从可扩展角色池中选择合适角色,并建立最优通信连接。此生成范式实现了对不同任务需求的精准定制,兼具灵活性与可扩展性。在六个多样化基准上的实验证明,ARG-Designer不仅取得当前最优性能,还显著提升token效率并增强可扩展性。源代码已开源:https://github.com/Shiy-Li/ARG-Designer。
原文摘要 · Abstract (English)
Multi-agent systems (MAS) based on large language models (LLMs) have emerged as a powerful solution for dealing with complex problems across diverse domains. The effectiveness of MAS is critically dependent on its collaboration topology, which has become a focal point for automated design research. However, existing approaches are fundamentally constrained by their reliance on a template graph modification paradigm with a predefined set of agents and hard-coded interaction structures, significantly limiting their adaptability to task-specific requirements. To address these limitations, we reframe MAS design as a conditional autoregressive graph generation task, where both the system composition and structure are designed jointly. We propose ARG-Designer, a novel autoregressive model that operationalizes this paradigm by constructing the collaboration graph from scratch. Conditioned on a natural language task query, ARG-Designer sequentially and dynamically determines the required number of agents, selects their appropriate roles from an extensible pool, and establishes the optimal communication links between them. This generative approach creates a customized topology in a flexible and extensible manner, precisely tailored to the unique demands of different tasks. Extensive experiments across six diverse benchmarks demonstrate that ARG-Designer not only achieves state-of-the-art performance but also enjoys significantly greater token efficiency and enhanced extensibility. The source code of ARG-Designer is available at https://github.com/Shiy-Li/ARG-Designer.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。