atlas

Research map / Large language models / Reasoning and chain of thought

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

NeurIPS 2025 · Large language models › Reasoning and chain of thought · approach: Routing, pruning and distillation for reasoning · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Heterogeneous Swarms, which alternates PSO over continuous adjacency matrices (decoded into LLM DAGs for roles) and PSO over LLM weights guided by a JFK-score contribution measure, to jointly optimize roles and weights of a multi-LLM system.

Problem

Existing multi-LLM systems use fixed weights or fixed roles (hand-crafted prompts/workflows), so they cannot flexibly adapt to diverse tasks; the paper jointly optimizes which LLM plays which role in a DAG and the weights of the LLMs.

Approach

Model roles are learned as a DAG of input-output relations by PSO over continuous adjacency matrices decoded with G-Decode; model weights are optimized by PSO using JFK-scores, which estimate each LLM's contribution by averaging system utility over random assignments weighted by how often the LLM appears. The two steps alternate.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
jointly optimize model roles and weights rather than use the strongest baselineH-Swarms · MMLU-pro, K-Cross, COM2, GSM8k, Normad, GAIA-text, AB-kg, AB-ltp, Qasper, AbstainQA, and WoWaccuracy: outperforms the second-best approach by 18.5% on averageHelped
add role-step (ablation)H-Swarms · MMLU-proaccuracy: 0.242 -> 0.312Helped
add role-step (ablation)H-Swarms · K-Crossaccuracy: 0.352 -> 0.450Helped
add role-step (ablation)H-Swarms · GSM8kaccuracy: 0.392 -> 0.481Helped
add role-step (ablation)H-Swarms · GAIA-textaccuracy: 0.107 -> 0.250Helped
add role-step (ablation)H-Swarms · Normadaccuracy: 0.564 -> 0.588Helped
add role-step (ablation)H-Swarms · NLGraphaccuracy: 0.530 -> 0.660Helped
add weight-step (ablation)H-Swarms · MMLU-proaccuracy: 0.237 -> 0.312Helped
add weight-step (ablation)H-Swarms · K-Crossaccuracy: 0.342 -> 0.450Helped
add weight-step (ablation)H-Swarms · GSM8kaccuracy: 0.363 -> 0.481Helped
add weight-step (ablation)H-Swarms · GAIA-textaccuracy: 0.143 -> 0.250Helped
add weight-step (ablation)H-Swarms · AB-kgaccuracy: 0.325 -> 0.425Helped

Surprising findings

Limitations

Experimental setup

Datasets: MMLU-pro Knowledge Crosswords COM2 GSM8k NLGraph Normad GAIA-text AgentBench-KG AgentBench-LTP Qasper AbstainQA WoW

Benchmarks: MMLU-pro Knowledge Crosswords COM2 GSM8k NLGraph Normad GAIA-text AgentBench-KG AgentBench-LTP Qasper AbstainQA WoW

Metrics: accuracy exact match collaborative gain inference speedup

Baselines: Best Single Prediction Merge Data Merge Uniform Soup Dare-Ties Greedy Soup Pack of LLMs LoraHub Model Swarms Chain Star GPT-Swarm

Builds on: particle swarm optimization GPT-Swarm Model Swarms Dare-Ties LoraHub

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy