mlsanityData to 7 Oct 2026

Heterogeneous Swarms: Jointly Optimizing Model Roles and Weights for Multi-LLM Systems

arXiv 2502.04510 ↗First posted 6 Feb 2025cs.CLcited by 22

Not on the map. Why?

Abstract (arXiv)

We propose Heterogeneous Swarms, an algorithm to design multi-LLM systems by jointly optimizing model roles and weights. We represent multi-LLM systems as directed acyclic graphs (DAGs) of LLMs with topological message passing for collaborative generation. Given a pool of LLM experts and a utility function, Heterogeneous Swarms employs two iterative steps: role-step and weight-step. For role-step, we interpret model roles as learning a DAG that specifies the flow of inputs and outputs between LLMs. Starting from a swarm of random continuous adjacency matrices, we decode them into discrete DAGs, call the LLMs in topological order, evaluate on the utility function (e.g. accuracy on a task), and optimize the adjacency matrices with particle swarm optimization based on the utility score. For weight-step, we assess the contribution of individual LLMs in the multi-LLM systems and optimize model weights with swarm intelligence. We propose JFK-score to quantify the individual contribution of each LLM in the best-found DAG of the role-step, then optimize model weights with particle swarm optimization based on the JFK-score. Experiments demonstrate that Heterogeneous Swarms outperforms 15 role- and/or weight-based baselines by 18.5% on average across 12 tasks. Further analysis reveals that Heterogeneous Swarms discovers multi-LLM systems with heterogeneous model roles and substantial collaborative gains, and benefits from the diversity of language models.

Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). Builds on 99 of its 120 references that are in the map. First posted on arXiv 6 Feb 2025.

Builds on

99 of 120 references.

References · 99

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  4. 2023Mistral 7Bcited by 3,065
  5. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  6. 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,928
  7. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,906
  8. 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,758
  9. 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,739
  10. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
  11. 2023AgentBench: Evaluating LLMs as Agentscited by 1,211
  12. 2023GAIA: a benchmark for General AI Assistantscited by 1,084
38 more
  1. 2023Encouraging Divergent Thinking in Large Language Models through Multi-Agent Debatecited by 995
  2. 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 946
  3. 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 873
  4. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
  5. 2023TIES-Merging: Resolving Interference When Merging Modelscited by 795
  6. 2023Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingcited by 778
  7. 2024Large Language Model based Multi-Agents: A Survey of Progress and Challengescited by 752
  8. 2023Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunchcited by 679
  9. 2023AgentVerse: Facilitating Multi-Agent Collaboration and Exploring Emergent Behaviorscited by 580
  10. 2024Executable Code Actions Elicit Better LLM Agentscited by 537
  11. 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 521
  12. 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 475
  13. 2023Weak-to-Strong Generalization: Eliciting Strong Capabilities With Weak Supervisioncited by 445
  14. 2024Mixture-of-Agents Enhances Large Language Model Capabilitiescited by 420
  15. 2024AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agentscited by 406
  16. 2024AFlow: Automating Agentic Workflow Generationcited by 395
  17. 2024Automated Design of Agentic Systemscited by 360
  18. 2023LoraHub: Efficient Cross-Task Generalization via Dynamic LoRA Compositioncited by 359
  19. 2023MLAgentBench: Evaluating Language Agents on Machine Learning Experimentationcited by 339
  20. 2024AgentBoard: An Analytical Evaluation Board of Multi-turn LLM Agentscited by 319
  21. 2022Demonstrate-Search-Predict: Composing retrieval and language models for knowledge-intensive NLPcited by 316
  22. 2024To CoT or not to CoT? Chain-of-thought helps mainly on math and symbolic reasoningcited by 257
  23. 2023Can Language Models Solve Graph Problems in Natural Language?cited by 249
  24. 2024Scaling Large Language Model-based Multi-Agent Collaborationcited by 235
  25. 2023Camels in a Changing Climate: Enhancing LM Adaptation with Tulu 2cited by 227
  26. 2024RouterBench: A Benchmark for Multi-LLM Routing Systemcited by 222
  27. 2024Evolutionary Optimization of Model Merging Recipescited by 204
  28. 2024Chain of Agents: Large Language Models Collaborating on Long-Context Taskscited by 201
  29. 2022Branch-Train-Merge: Embarrassingly Parallel Training of Expert Language Modelscited by 187
  30. 2024Mobile-Agent-v2: Mobile Device Operation Assistant with Effective Navigation via Multi-Agent Collaborationcited by 187
  31. 2024Don't Hallucinate, Abstain: Identifying LLM Knowledge Gaps via Multi-LLM Collaborationcited by 176
  32. 2024Recursive Introspection: Teaching Language Model Agents How to Self-Improvecited by 162
  33. 2023Language Agents with Reinforcement Learning for Strategic Play in the Werewolf Gamecited by 148
  34. 2024AgentSquare: Automatic LLM Agent Search in Modular Design Spacecited by 141
  35. 2024Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agentscited by 135
  36. 2024InfiAgent-DABench: Evaluating Agents on Data Analysis Taskscited by 134
  37. 2024MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolutioncited by 132
  38. 2024Cut the Crap: An Economical Communication Pipeline for LLM-based Multi-Agent Systemscited by 129

50 most cited of 99 All 99 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 10; 2026: 12.

22 papers.

Sort:

By area:

  1. 2025FlowReasoner: Reinforcing Query-Level Meta-Agentscited by 56
  2. 2025LLM-based Agents Suffer from Hallucinations: A Survey of Taxonomy, Methods, and Directionscited by 49
  3. 2025How to Train a Leader: Hierarchical Reasoning in Multi-Agent LLMscited by 11
  4. 2025S-DAG: A Subject-Based Directed Acyclic Graph for Multi-Agent Heterogeneous Reasoningcited by 8
  5. 2026Learning Decentralized LLM Collaboration with Multi-Agent Actor Criticcited by 7
  6. 2026FlowSteer: Prompt-Only Workflow Steering Exposes Planning-Time Vulnerabilities in Multi-Agent LLM Systemscited by 7
  7. 2026Among Us: Measuring and Mitigating Malicious Contributions in Model Collaboration Systemscited by 6
  8. 2026MoCo: A One-Stop Shop for Model Collaboration Researchcited by 5
  9. 2025Cross-Task Experiential Learning on LLM-based Multi-Agent Collaborationcited by 4
  10. 2025Generalizing Test-time Compute-optimal Scaling as an Optimizable Graphcited by 4
  11. 2025VeriTrail: Closed-Domain Hallucination Detection with Traceabilitycited by 3
  12. 2025AgentBalance: Backbone-then-Topology Design for Cost-Effective Multi-Agent Systems under Budget Constraintscited by 3
10 more
  1. 2025Data Swarms: Optimizable Generation of Synthetic Evaluation Datacited by 2
  2. 2026No Single Best Model for Diversity: Learning a Router for Sample Diversitycited by 2
  3. 2026Scaling Participation in Modular AI Systemscited by 2
  4. 2026Decomposing Evolutionary Mixture-of-LoRA Architectures: The Routing Lever, the Lifecycle Penalty, and a Substrate-Conditional Boundarycited by 1
  5. 2026SwarmBench: Can Large Language Models Act as Agent Swarm Orchestrators?cited by 1
  6. 2025SERFLOW: A Cross-Service Cost Optimization Framework for SLO-Aware Dynamic ML Inferencecited by 0
  7. 2026Swarm-Driven Multi-Agent Reasoning for Smart City Securitycited by 0
  8. 2026Competing at Every Price Point with Agentic Evolution over a Menu of LLMscited by 0
  9. 2026From Solo to Social Learning: Characterizing Recursive Social Improvement in LLMscited by 0
  10. 2026Multi-LLM Collaborative Alignment via Stackelberg Gamescited by 0