arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.23261cs.LGcs.AIcs.MA
收藏

DynaSwarm:面向基于LLM的多智能体系统的动态图结构选择

DynaSwarm: Dynamically Graph Structure Selection for LLM-based Multi-agent System

Hui Yi Leong, Yuqing Wu

AI总结:

提出DynaSwarm框架,通过A2C机制优化图结构和动态图选择器为每个样本自适应选择最优图,并微调检索器增强ICL,在多任务上优于SOTA基线。

摘要:

当前的多智能体系统(MAS)框架通常依赖人工设计和静态的协作图结构,限制了适应性和性能。为了解决这些局限性,我们提出了DynaSwarm,这是一个通过两项关键创新增强基于LLM的MAS的动态框架:(1)一种actor-critic强化学习(A2C)机制,用于优化图结构,相比先前的RL方法具有更好的稳定性;((2)一个动态图选择器,通过参数高效的LLM微调,为每个输入样本自适应地选择最优图结构。DynaSwarm消除了对刚性的、一刀切图架构的需求,而是利用样本特定的特性,通过专门的智能体网络动态路由查询。(c)我们提出微调demonstration retriever以充分利用上下文学习(ICL)的能力。在问答、数学推理和编码任务上的大量实验表明,DynaSwarm在多个LLM骨干网络上始终优于最先进的单智能体和MAS基线。我们的发现突出了样本感知的结构灵活性在LLM MAS设计中的重要性。

英文摘要:

Current multi-agent systems (MAS) frameworks often rely on manually designed and static collaboration graph structures, limiting adaptability and performance. To address these limitations, we propose DynaSwarm, a dynamic framework that enhances LLM-based MAS through two key innovations: (1) an actor-critic reinforcement learning (A2C) mechanism to optimize graph structures with improved stability over prior RL methods, and (2) a dynamic graph selector that adaptively chooses the optimal graph structure for each input sample via parameter-efficient LLM fine-tuning. DynaSwarm eliminates the need for rigid, one-fits-all graph architectures, instead leveraging sample-specific idiosyncrasies to dynamically route queries through specialized agent networks. (c) We propose to fine-tune the demonstration retriever to fully exploit the power of in-context learning (ICL). Extensive experiments on question answering, mathematical reasoning, and coding tasks demonstrate that DynaSwarm consistently outperforms state-of-the-art single-agent and MAS baselines across multiple LLM backbones. Our findings highlight the importance of sample-aware structural flexibility in LLM MAS designs.

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

↑