DynaSwarm: Dynamically Graph Structure Selection for LLM-based Multi-agent System
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks
Abstract (arXiv)
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.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 23 of its 31 references that are in the map. First posted on arXiv 31 Jul 2025.
Builds on
23 of 31 references.
Closest ancestors · 3
Same direction, newest first
- 2023AgentVerse: Facilitating Multi-Agent Collaboration and Exploring Emergent Behaviors21 Aug
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Framework1 Aug
- 2023CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Society31 Mar
Other references · 20
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
- 2016Asynchronous Methods for Deep Reinforcement Learningcited by 2,218
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 873
8 more
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
- 2022Socratic Models: Composing Zero-Shot Multimodal Reasoning with Languagecited by 513
- 2023Is ChatGPT a General-Purpose Natural Language Processing Task Solver?cited by 486
- 2023Auto-GPT for Online Decision Making: Benchmarks and Additional Opinionscited by 250
- 2023Unified Demonstration Retriever for In-Context Learningcited by 141
- 2023Mindstorms in Natural Language-Based Societies of Mindcited by 105
- 2023PromptCBLUE: A Chinese Prompt Tuning Benchmark for the Medical Domaincited by 40
- 2022Late Prompt Tuning: A Late Prompt Could Be Better Than Many Promptscited by 23
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025AMAS: Adaptively Determining Communication Topology for LLM-based Multi-Agent System
- 2026GraphMAS: A Systematic Benchmark of Multi-Agent Coordination for Graph Learning
- 2025Enhancing Multi-Agent Systems via Reinforcement Learning with LLM-based Planner and Graph-based Policy
- 2026Graph-of-Agents: A Graph-based Framework for Multi-Agent LLM Collaboration
- 2026DHCG: Dynamic Construction of Hierarchical Collaboration Graphs for LLM-Based Multi-Agent Reasoning
- 2026AgentGL: Towards Agentic Graph Learning with LLMs via Reinforcement Learning
- 2025Graph-Enhanced Policy Optimization in LLM Agent Training
- 2026AdaSTORM: Scaling LLM Reasoning on Dynamic Graphs via Adaptive Spatio-Temporal Multi-Agent Collaboration