Multi-Agent System Search via Active Substructure-aware Policy Optimization
Organizations: School of CS, Peking University, Beijing, China
Abstract
LLMs enable multi-agent systems (MAS) to tackle complex tasks, but manually designing agent roles, prompts, and communication structures requires substantial expertise and effort. This motivates learning policies that construct query-specific MAS from execution reward. Existing approaches typically train these policies by repeatedly traversing a fixed set of training queries and assigning rewards at the workflow level. However, this overlooks differences in queries' evolving learning potential and obscures which substructures improve solution quality. In this paper, we propose Active Substructure-aware Policy Optimization (ASPO), a RL framework for query-level MAS search. ASPO introduces an Adaptive Query-Selection Mechanism (AQSM) that focuses training on queries at the policy's competence boundary: those it can solve but not yet reliably. A complementary discovery mechanism widens architectural exploration for hard queries, helping distinguish insufficient exploration from operator capability limits. Beyond query selection, ASPO introduces substructure-level rewards that measure output-quality gains within each action's descendant subgraph. These rewards guide proximal policy optimization to reinforce useful architectural refinements and discourage redundant or harmful computation. Together, these mechanisms prioritize learnable queries and provide fine-grained feedback for learning effective MASs. Across six benchmarks spanning mathematical reasoning, general question answering, and code generation, ASPO ranks first on every benchmark against twelve baselines.
Figures & tables
| Method | GSM8K | MATH | HotpotQA | MMLU-Pro | MBPP+ | HumanEval+ | Avg. | AVG-R |
|---|---|---|---|---|---|---|---|---|
| Single-agent methods | ||||||||
| Vanilla | 48.58 1.70 | 47.48 2.51 | 76.53 2.69 | 61.83 1.87 | 75.40 2.34 | 81.21 2.27 | 65.17 | 10.67 |
| CoT | 71.58 1.76 | 48.44 1.27 | 76.32 1.68 | 73.17 1.81 | 76.32 2.11 | 83.94 1.13 | 71.63 | 8.17 |
| Multi-agent collaboration | ||||||||
| AgentVerse | 73.08 1.03 | 51.77 1.00 | 77.36 0.77 | 71.98 1.76 | 74.60 2.02 | 82.12 1.13 | 71.82 | 8.00 |
| DyLAN | 75.83 1.96 | 52.93 1.67 | 76.84 2.14 | 75.48 1.85 | 77.51 1.78 | 85.76 0.86 | 74.06 | 3.50 |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Benchmark | Task family | Train | Test | Total | Metric |
|---|---|---|---|---|---|
| GSM8K | Math | Accuracy | |||
| MATH | Math | Accuracy | |||
| HotpotQA | General QA | F1 | |||
| MMLU-Pro | General QA | Accuracy | |||
| MBPP+ | Coding | pass@1 | |||
| HumanEval+ | Coding | pass@1 |
| Domain | Benchmark | Spearman | Kendall |
|---|---|---|---|
| Mathematical reasoning | GSM8K | ||
| MATH | |||
| General question answering | HotpotQA | ||
| MMLU-Pro | |||
| Code generation | HumanEval+ | ||
| MBPP+ |
| Hyperparameter | Value | Sensitivity Analysis |
| Adaptive Query-Selection Mechanism (AQSM) | ||
| Posterior discount | Section 4.6 , Figure 5(a) | |
| Discovery samples | Section 4.6 , Figure 5(a) | |
| Substructure-aware Optimization | ||
| Maximum number of layers | Appendix D.6 , Figure 8 | |
| Maximum number of children per node | Appendix D.6 , Figure 8 | |
Multi-Agent LLM Systems
Multi-agent large language model systems coordinate multiple AI agents to solve tasks through communication, specialization, shared tools, and memory.
See all 1,050 papers