atlas

Research map / Multi-agent systems and games / LLM agents

MAS-GPT: Training LLMs to Build LLM-based Multi-Agent Systems

ICML 2025 · Multi-agent systems and games › LLM agents · approach: LLM multi-agent collaboration and safety · 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.

Trains Qwen2.5-Coder-32B-Instruct (MAS-GPT) via SFT on a consistency-oriented dataset of ~11k query-to-executable-MAS code pairs so it generates a query-specific multi-agent system in one inference.

Problem

Existing LLM-based multi-agent systems are either manually designed and query-agnostic, or require many LLM calls to adaptively design an MAS per query, which is costly and inadaptable.

Approach

Reframe MAS construction as a generative language task: an LLM takes a query and outputs an executable Python MAS (forward function) in one inference. Training data is built with inter-consistency (cluster similar queries and assign the same top MAS) and intra-consistency (LLM-refined MAS plus reasoning, accepted only if not worse) selection and refinement.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use MAS-GPT instead of Self-ConsistencyLLM-based MAS · MATHaccuracy: 61.59 -> 68.65Helped
use MAS-GPT instead of Self-ConsistencyLLM-based MAS · GSM8Kaccuracy: 94.99 -> 93.39Hurt
use MAS-GPT instead of Self-ConsistencyLLM-based MAS · GSM-Hardaccuracy: 47.20 -> 62.40Helped
use MAS-GPT instead of the strongest baselineLLM-based MAS · HumanEvalaccuracy: 79.01 -> 80.25Helped
use MAS-GPT instead of Chain-of-ThoughtLLM-based MAS · HumanEval+accuracy: 77.02 -> 78.88Helped
use MAS-GPT instead of DyLANLLM-based MAS · MMLUaccuracy: 78.18 -> 78.38Helped
use MAS-GPT instead of AgentVerseLLM-based MAS · GPQAaccuracy: 40.19 -> 37.62Hurt
use MAS-GPT instead of Self-ConsistencyLLM-based MAS · SciBenchaccuracy: 20.00 -> 24.21Helped
use inter-consistency-oriented selection rather than random pair selection (ablation)MAS-GPT dataset construction · MATHaccuracy: 60.26 -> 68.65Helped
add MAS adjustment during intra-consistency-oriented refinement (ablation)MAS-GPT dataset construction · MATHaccuracy: 66.23 -> 68.65Helped
add a reasoning process during intra-consistency-oriented refinement (ablation)MAS-GPT dataset construction · MATHaccuracy: 64.90 -> 68.65Helped

Surprising findings

Limitations

Experimental setup

Datasets: MATH GSM8K MBPP MMLU SciQ GSM-Hard AQUA-RAT

Benchmarks: MATH GSM8K GSM-Hard HumanEval HumanEval+ MMLU GPQA SciBench AIME-2024

Metrics: accuracy

Baselines: Single Chain-of-Thought Self-Consistency LLM-Debate Self-Refine Quality-Diversity SPP AgentVerse GPTSwarm DyLAN

Builds on: AFlow ADAS GPTSwarm DyLAN AgentVerse

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