TL;DR
MARTI (Multi-Agent Reinforced Training and Inference) is a new open-source framework that brings Reinforcement Learning (RL) to the world of Multi-Agent Systems (MAS). By training agents to collaborate through centralized rewarding and asynchronous rollouts, MARTI allows multi-agent teams to break through the performance ceilings of single-agent models, even when constrained to the same inference budget.
The Challenge: Beyond Single-Agent Limits
Recent breakthroughs in Large Reasoning Models (LRMs), like DeepSeek-R1 and OpenAI’s o1, have shown that RL can dramatically boost a model's "thinking" capabilities. However, single-agent RL often hits a plateau determined by the base model's intrinsic capacity.
While Multi-Agent Systems (MAS) offer a way to scale performance at test-time by having multiple models collaborate, existing frameworks (like AutoGen or MetaGPT) are built almost exclusively for inference. They rely on the models' pre-existing instruction-following abilities rather than training them to be better teammates. The authors identify a critical gap: there is no unified infrastructure designed to train these agents specifically for collaborative reasoning using RL.
The MARTI Approach
MARTI bridges the gap between MAS inference and RL training through a three-pillar architecture:
- Multi-Agent Interactive World: This module manages complex interaction workflows (like Debates or Chains-of-Agents). Crucially, it supports multi-turn asynchronous rollouts, which prevents the training process from stalling while waiting for slow agent responses, significantly boosting data throughput.
- Centralized Rewarding: To solve the "credit assignment" problem (deciding which agent actually contributed to a correct answer), MARTI uses a centralized verifier. It implements a delta-style reward shaping mechanism: instead of just rewarding a correct final answer, it rewards agents for improving upon their own historical performance.
- Distributed Policy Trainer: Built on top of the OpenRLHF framework, this module distributes the trajectories and rewards back to individual agents for policy updates using algorithms like PPO, GRPO, or REINFORCE++.
Experimental Setup
The researchers focused on competition-level mathematical reasoning to validate the framework, utilizing datasets like AIME24, AMC, and MATH-500. They tested the framework across various model families, including Qwen2.5-3B, Llama-3.2-3B, and the reasoning-specialized DeepScaleR-1.5B-Preview.
Key Insights
- Raising the Ceiling: Multi-Agent RL (MARL) provides a higher performance upper bound than single-agent RL. Even if a single model's reasoning limit is reached, training it to interact with others unlocks new levels of performance.
- The Necessity of Reward Shaping: In multi-turn interactions, pure outcome-based rewards (right vs. wrong) are too noisy for stable learning. By rewarding relative improvement, MARTI provides a smoother optimization signal that prevents "reward hacking" and stabilizes training.
- Efficiency via Asynchrony: Multi-agent workflows are inherently slow due to sequential dependencies. MARTI’s ability to handle asynchronous generations makes MARL computationally feasible without requiring massive industrial clusters.
Key Results
The results demonstrate that a trained team is better than a trained individual, even when the "compute budget" (number of tokens or rollouts) is kept equal.
- AIME Breakthrough: A multi-agent debate workflow (MAD) trained with MARTI using DeepScaleR-1.5B-Preview achieved a score of 65.0 on AIME, significantly outperforming the single-agent RL baseline of 53.5.
- Outperforming Majority Vote: In many LLM applications, the standard way to boost accuracy is "Majority@N" (sampling N answers and picking the most common). MARTI-trained multi-agent systems consistently beat Majority@N baselines under the same budget.
- Training Stability: The framework successfully increases both the training reward and the reasoning length over time, indicating that agents are learning to engage in deeper, more productive "thinking" cycles.
Limitations and Future Work
While MARTI is a major step forward, the authors acknowledge several hurdles:
- Reward Modeling: While rule-based rewards work for math, creating generative reward models for open-ended tasks (like creative writing or coding) remains a challenge.
- Role Adherence: In very long interactions, agents can still "drift" away from their assigned roles (e.g., a "critic" might start acting like a "generator").
- Generalization: Future work will focus on moving beyond mathematical tasks to more diverse, real-world applications and further optimizing the credit assignment strategies for complex collaborations.
Summary updated