atlas

Research map / Large language models / Agents, code and math

Model Swarms: Collaborative Search to Adapt LLM Experts via Swarm Intelligence

ICML 2025 · Large language models › Agents, code and math · approach: LLMs for optimization and heuristics · 2 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 Model Swarms, a PSO-inspired collaborative search that moves a pool of LoRA-tuned Gemma-7B experts in weight space to optimize a black-box utility function, adapting them with as few as 200 examples.

Problem

Adapting and composing diverse LLM experts for new tasks, domains, reward models, or human interests without large tuning sets or strong assumptions about how experts should be combined.

Approach

Treat each LLM expert as a particle in weight space and update velocities using personal best, global best, and global worst (repel) terms under a model-to-scalar utility function, with pairwise interpolation for initialization, restarts, and step-length decay; the global best is returned as the adapted expert.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use collaborative Model Swarms search instead of the strongest baselineGemma-7B experts · GSM8K testscore: .354 -> .459Helped
Use collaborative Model Swarms search instead of DPOGemma-7B experts · Verbose RM testreward score: .682 -> .770Helped
Add random interpolation to expand the initial expert pool (ablation)Model Swarms · MMLUscore: 0.504 -> 0.583Helped
Add random interpolation to expand the initial expert pool (ablation)Model Swarms · Hellaswagscore: 0.587 -> 0.652Helped
Add random interpolation to expand the initial expert pool (ablation)Model Swarms · NLGraphscore: 0.530 -> 0.672Helped
Add random interpolation to expand the initial expert pool (ablation)Model Swarms · AbstainQAscore: 0.099 -> 0.175Helped
Add random starting velocity (ablation)Model Swarms · MMLUscore: 0.516 -> 0.583Helped
Add randomness to velocity update weights (ablation)Model Swarms · MMLUscore: 0.544 -> 0.583Helped
Add randomness to interpolation, starting velocity, and velocity updates (ablation)Model Swarms · MMLUscore: 0.528 -> 0.583Helped
Add crossover through interpolation and initial-pool expansion (ablation)Model Swarms · MMLUscore: 0.504 -> 0.583Helped
Use random initial velocity rather than zero velocity (ablation)Model Swarms · MMLUscore: 0.516 -> 0.583Helped
Add the global-worst repel term (ablation)Model Swarms · MMLUscore: 0.534 -> 0.583Helped

Surprising findings

Limitations

Experimental setup

Datasets: Tulu-v2 MMLU MMLU-pro Hellaswag GSM8k Knowledge Crosswords NLGraph TruthfulQA RealToxicityPrompts AbstainQA MedQA MedMCQA

Benchmarks: MMLU MMLU-pro Hellaswag GSM8k Knowledge Crosswords NLGraph TruthfulQA RealToxicityPrompts AbstainQA MedQA MedMCQA LegalBench

Metrics: accuracy reward model score LLM-as-judge score factuality (Facts&Evidence) human win rate correctness surge/emergence

Baselines: Best Single Data Merge Prediction Merge Uniform Soup Slerp Dare-Ties Model Stocks Greedy Soup Pack of LLMs cBTM EvolMerge LoraHub

Builds on: particle swarm optimization LoRA model soups LoraHub EvolMerge

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