∞ MAS—Loop
EXECUTION-GROUNDED MULTI-AGENT SYSTEMS

MAS-Loop

Beyond One-Shot Orchestration
towards Self-Evolving Multi-Agent Systems

Build an agent team. Learn from its execution.
Refine the system, then test the change.

Hehai Lin1 · Qi Yang2 · Chengwei Qin1†
1 HKUST (Guangzhou)  ·  2 Ant Group
† Corresponding author: Chengwei Qin
Trajectory-grounded refinementOrchestrator–Refiner co-evolutionMAS-JudgeCorpus
— visitors— visitsLoading visit statistics…
OrchestratorMsrc
Executionτsrc
Refinerg + p
Re-executionMupd
43.43%Average performance
7Benchmarks evaluated
8,223Trajectory pairs

Reported in the supplied manuscript · benchmark performance is not measured by this demo.

RESEARCH OVERVIEW

What MAS-Loop does

Abstract

Automatic multi-agent systems often learn to construct a team from its final task score. That score provides limited guidance about which agents, connections, or execution choices caused a failure. MAS-Loop introduces a trajectory-conditioned Refiner alongside the Orchestrator: it inspects a source execution, makes one grounded intervention, and independently re-executes the updated system on the same task.

During training, paired executions provide complementary rewards for the two policies, coupling strong initial construction with execution-informed refinement. The manuscript evaluates the framework across seven benchmarks and introduces MAS-JudgeCorpus, a collection of 8,223 trajectory pairs for learning to compare multi-agent systems.

Key contributions

01 / FRAMEWORK

Close the execution loop

Connect system construction to diagnosis and re-execution through observable agent trajectories.

02 / LEARNING

Co-evolve two policies

Use complementary rewards to train the Orchestrator and Refiner from source–updated pairs.

03 / RESOURCE

Learn from paired systems

Release corpus construction and reward-model code to support preference learning and test-time selection.

01 /

Why execution feedback matters

An Orchestrator can build a team of agents and learn from its final score. But a terminal score says little about where the system went wrong. Was a role too broad? Did a critical fact never reach the final agent? Did a candidate satisfy only one of several constraints?

MAS-Loop couples the Orchestrator with a trajectory-conditioned Refiner. The Refiner inspects the system’s actual execution, diagnoses an actionable weakness, and proposes a bounded edit. Running the updated system on the same task tests the consequence of that decision.

One-shot orchestration compared with execution-grounded feedback
Figure 1 · From one-shot construction to execution-grounded feedback.Click the figure to view it at full size.
02 /

From a task to a tested refinement

An individual rollout has one refinement decision. Co-evolution happens across training iterations, when the two policies learn from many source–updated pairs.

01

Construct

The Orchestrator generates an attributed agent graph: roles, dependencies and execution settings.

MAS-Loop method diagram
Figure 2 · MAS-Loop’s paired execution and policy learning framework.Click the figure to view it at full size.

A small, auditable action space

Accept · AddAgent · RewriteRole · AddEdge · RemoveEdge · AdjustReasoningBudget · ChangeTool. AddAgent connects the new agent to the existing aggregator. Invalid graphs are rejected.

Why two learning signals?

The Orchestrator is rewarded for a strong source system and penalized for recoverable weaknesses. The Refiner is rewarded for realized improvement, with explicit treatment of acceptance and invalid edits.

Δs = supd − ssrc

For a valid changed graph: rO = ssrc − λadv max(Δs, 0). For unchanged graphs: rO = ssrc. Refiner reward: Δs for a valid intervention; +η for accepting a correct source; −η for invalid edits or accepting an incorrect source. Defaults: λadv = 0.3, η = 0.5.

A single realized score change can reflect stochastic execution. It does not isolate the causal effect of the patch.

03 /

Results across tasks and environments

MAS-Loop has the highest reported average across seven benchmarks. Refinement improves the Orchestrator on every evaluated benchmark. AOrchestra remains stronger on ALFWorld, so the overall gain should not be read as a win on every task.

■ MAS-Loop■ Comparison methods
Full comparison · percentage scale
MethodALFWSciWVITAHotpotQABCPAIMEGPQAAvg.
CoT34.941.3126.0049.009.5219.3047.4726.79
CoT-SC32.690.9932.0254.0011.9026.3254.5530.35
AFlow33.334.0923.9146.5012.5024.5633.3325.46
AOrchestra57.6910.548.4949.0010.7142.1159.0933.95
Skill-MAS30.774.2812.5153.007.7417.5449.4925.05
Skill-MAS + Refiner44.877.7315.3559.508.3321.0559.6030.92
MAS-GPT49.3614.818.5150.5011.3119.3046.9728.68
MAS-GPT + Refiner50.6418.1511.4058.5011.9026.3248.4832.20
ToolOrchestra36.548.5710.5241.504.7614.0441.4122.48
MAS-Orchestra14.424.3319.3848.0012.5021.0549.4924.17
MAS-Orchestra + Refiner18.599.3023.5458.0013.6924.5659.0929.54
MAS-Loop Orchestrator56.4121.1730.4963.0013.0045.6160.6141.47
MAS-Loop + Refiner56.7322.8735.4764.5015.4847.3761.6243.43

Table 1 values from the manuscript. OOT: ScienceWorld, VitaBench, BrowseComp-Plus and GPQA-Diamond. Training tasks: ALFWorld, HotpotQA and DeepScaler. AIME is used for in-task reasoning evaluation.

Coupling strength matters

Moderate reward coefficients perform better than the tested endpoints. The default values balance source quality and repair pressure; tuning remains distribution-dependent.

Reward coefficient ablations for HotpotQA and BrowseComp-Plus
Figure 3 · λadv / ηClick the figure to view it at full size.
04 /

Case study: check every constraint

In the paper’s BrowseComp-Plus case, the task asks for a specialty food shop satisfying both Mexico and California location constraints. The source agent finds a strong California event match, then relaxes the Mexico requirement—even acknowledging that evidence is missing.

Before / source

Northgate Market

California ✓   Mexico ?
→
After / refinement

Churrería El Moro

California + Mexico
“ensuring both locations are explicitly confirmed”

The role edit makes both conditions explicit. Search remains at five rounds; unique retrieved documents increase from eight to nine. The reported updated answer matches the label.

This is a condensed paper case study, not a live benchmark trace. The interactive lab labels its reconstructed diagnosis and shows only the documented agent excerpt.

Explore the live lab →
05 /

Learning from paired executions

MAS-JudgeCorpus starts from HotpotQA training rollouts over 10,000 tasks. Task-level preference filtering retains 2,063 tasks; pair-level filtering and operation-based deduplication produce 8,223 trajectory pairs. It supports learning which MAS designs to prefer.

10,000tasks→2,063retained tasks→8,223trajectory pairs

In a shared best-of-16 pool, trajectory-conditioned MAS-JudgeRM reaches 60.00% on HotpotQA and 22.62% on BrowseComp-Plus. Its orchestration-only variant reaches 57.50% and 11.31%. Execution evidence improves selection, with substantially higher verification token use.

These are manuscript results. The supplied source archive includes corpus construction and reward-model training code; it does not include the corpus records or trained checkpoints.

QUESTIONS /

Before you try the demo

Does the online demo reproduce the trained research models?

The live lab uses DeepSeek V4.1 Flash through an API to demonstrate construction, execution, refinement and independent re-execution. The benchmark results above come from the manuscript and are not scores measured by this demo.

Does every run improve after refinement?

No. The Refiner may accept the original system when the execution provides no reason to change it. A valid edit is then tested in a new execution; a different answer alone does not establish an improvement.

What resources are available?

The GitHub repository contains the research implementation. The online demo lets you inspect live agent graphs and export paired traces. The included paper explains the training method, evaluation and limitations.

06 /

Code, demo and paper

Read the research, explore the implementation, or follow a live task through the execution lab.

Scope of the live lab

The online lab uses prompted deepseek-v4.1-flash policies by default. It demonstrates one source–refinement pair without training. It supports arithmetic and search over supplied text. Full ALFWorld, ScienceWorld, VitaBench and BrowseComp-Plus environments require their own assets and adapters. Live API outputs are not the paper’s trained-model results.

Citation

Citation details follow the supplied manuscript.

@misc{masloop2026,
  title = {MAS-Loop: Beyond One-Shot Orchestration towards Self-Evolving Multi-Agent Systems},
  author = {Lin, Hehai and Yang, Qi and Qin, Chengwei},
  year = {2026},
  eprint = {2610.38946},
  archivePrefix = {arXiv},
  primaryClass = {cs.MA},
  url = {https://arxiv.org/abs/2610.38946}
}
Full-size paper figure