SRPO: Setwise Relative Policy Optimization for Multi-Agent LLMs

Shengtian Yang, Ziyu Xiong, Yu Li, Yewen Li, Qingpeng Cai, Lei FengarXiv 2026

TL;DR

Existing reinforcement learning methods for multi-agent LLMs optimize individual agent responses separately, creating a fundamental mismatch when multiple agents jointly cause a single environment transition. Setwise Relative Policy Optimization (SRPO) fixes this by treating the "active set" of concurrent agent outputs as a single unified action. By combining and cardinality-normalizing their log-ratios, SRPO provides a single, stable training interface that unifies division of labor and joint co-evolution across diverse agent workflows.

What Problem Does This Paper Address?

When large language models (LLMs) are deployed as multi-agent systems (MAS), they typically collaborate using two paradigms: division of labor (agents take specialized sequential turns) or joint co-evolution (agents simultaneously propose and refine ideas).

While reinforcement learning (RL) can train these systems using end-to-end rewards, existing multi-agent RL methods define their optimization updates based on specific workflow layouts (e.g., grouping strictly by role or by turn). This creates a critical mismatch: the optimizer treats actions based on who spoke and when, rather than the actual state transition produced in the environment. Consequently, the exact same environmental decision receives completely different updates if the number or order of participating agents changes. The central challenge is defining a multi-agent RL action independently of agent order, role, or orchestration layout.

Methods

The authors introduce SRPO (Setwise Relative Policy Optimization), which redefines the basic unit of optimization around the active set—the minimal set of newly sampled outputs consumed by a single environment transition.

Conventional coordination vs. SRPO setwise framework

The framework operates via three core algorithmic steps:

  1. Setwise Policy Ratio: Instead of clipping each agent's response ratio independently, SRPO sums the log-ratios of all active members and normalizes the sum by the square root of the set's cardinality ($\sqrt{K_e}$). This mathematical formulation preserves the independent-member variance scale.
  2. One Event, One Advantage: A single group-relative advantage is calculated for the transition event and assigned uniformly to every participating member of the active set.
  3. Setwise Clipping and Reduction: The entire cardinality-normalized set ratio is clipped exactly once (PPO-style). Optimization gradients are then averaged over complete events rather than individual tokens or rows, ensuring each environment transition contributes exactly once.

Datasets

The authors evaluated SRPO across two distinct task domains to test its flexibility:

  • Mathematical Reasoning: Trained on a processed DAPO-Math split using Qwen3-4B/8B backbones. Evaluation benchmarks included AIME’24, AIME’25, AMC’23, MATH500, Minerva, and OlympiadBench.
  • Multi-Turn Search: Trained on a processed HotpotQA split using Qwen2.5-3B/7B backbones. Evaluation covered single-hop benchmarks (NQ, TriviaQA, PopQA) and multi-hop benchmarks (HotpotQA, 2WikiMultiHopQA, MuSiQue, Bamboogle).

Key Insights and Ideas

  • Regime Unification via Cardinality: By defining actions through the active set, division of labor (where the set size $K_e = 1$) and joint co-evolution ($K_e > 1$) are no longer distinct learning problems. Division of labor is simply the singleton boundary of the exact same set-valued policy.
  • The Elegance of $\sqrt{K_e}$ Normalization: Ablation studies revealed that square-root scaling strikes the perfect balance. Unnormalized sums over-correct large agent sets, while simple $1/K_e$ averages under-correct them. The square-root approach keeps gradient dynamics stable even when agent team sizes fluctuate dynamically.
  • Event-Atomic Integrity: To prevent silent optimization failures, SRPO introduces event-atomic checks during batching. If an agent's response is missing or malformed, the entire event is invalidated rather than allowing a partial or corrupted action to alter the policy.
Unified dynamic-set workflow for math and search

Key Results

SRPO achieved the strongest macro-average results across all four tested model scales, outperforming specialized multi-agent baselines like Dr. MAS:

  • Math Benchmarks: Using Qwen3-4B and 8B, SRPO achieved macro accuracy (Avg@16) scores of 61.3% and 62.5% respectively, outperforming Dr. MAS by 0.2 points at each scale while maintaining a simpler, unified optimization interface.
  • Search Benchmarks: The gains were even more substantial in multi-turn search. At the 3B scale, SRPO improved the macro Avg@16 / Pass@16 by 3.2 / 3.1 percentage points over Dr. MAS. At the 7B scale, it yielded a 1.8 / 3.3 point improvement.

Math results table Multi-turn search results table

Limitations and Future Work

  • Descriptive Baseline Comparisons: The baseline comparisons in the paper rely on cross-paper references rather than direct, paired reruns under identical hardware environments.
  • Length Dependency: The sequence-level member log-ratio can still exhibit a subtle dependency on response length, a recurring challenge in LLM alignment.
  • Output-Side Cost Proxies: The cost analysis measures output tokens and tool call counts rather than end-to-end wall-clock GPU time or actual tool latency.
  • Correlated Error Amplification: Activating multiple search agents concurrently can sometimes amplify correlated retrieval errors, indicating that future iterations should optimize utility jointly with token and tool-use costs.

Summary updated

BibTeX
@misc{yang2026srpo,
  author = {Shengtian Yang and Ziyu Xiong and Yu Li and Yewen Li and Qingpeng Cai and Lei Feng},
  title = {{SRPO: Setwise Relative Policy Optimization for Multi-Agent LLMs}},
  year = {2026},
  eprint = {2609.08452},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.08452},
}
Figure