Abstract
Cooperative Multi-Agent Reinforcement Learning (MARL) faces a significant hurdle in the "credit assignment" problem: determining how individual actions contribute to a single global reward. While existing methods like value decomposition or sequential updates have made progress, they often struggle with scalability or lack the fine-grained value estimation required for complex tasks. This paper introduces SrSv (Sequential rollout with Sequential value estimation), a framework that scales MARL to over 1,000 agents. By combining autoregressive action generation with a novel value estimation technique leveraging Transformer attention, SrSv achieves superior training efficiency and zero-shot scalability compared to state-of-the-art baselines like MAT and MAPPO.
Introduction
In cooperative MARL, the ultimate challenge is credit assignment. When a team of hundreds or thousands of agents receives a single global reward, pinpointing which specific agent’s action led to success is computationally and theoretically difficult.
Existing solutions typically fall into two categories. Value Decomposition methods (e.g., QMIX) attempt to break the global reward into individual components but often rely on restrictive assumptions that fail in high-dimensional spaces. Sequential Updates (e.g., MAT, HAPPO) treat agents as a sequence where each agent's action is conditioned on the actions of its predecessors. However, previous sequential models like the Multi-Agent Transformer (MAT) primarily estimated a "joint" advantage for the entire team, missing the individual value estimates necessary for truly efficient training in massive systems. SrSv fills this gap by integrating sequential action generation with sequential value estimation.
The SrSv Framework
SrSv utilizes an encoder-decoder Transformer architecture designed to mirror the Multi-Agent Advantage Decomposition Theorem. The framework consists of three primary components:
1. The Encoder
The encoder processes the global state and individual observations, creating robust embeddings for every agent. This provides the contextual foundation for both action selection and value estimation.
2. Sequential Rollout (The Decoder)
Similar to how a large language model generates words one by one, the SrSv decoder generates actions agent-by-agent. This autoregressive approach allows Agent $i$ to observe the actions already committed to by agents $1$ through $i-1$ before making its own decision. This dependency structure is critical for capturing the inter-dependencies inherent in cooperative tasks.
3. Sequential Value Estimation (Sv)
This is the core innovation of the paper. Instead of relying on a single global value, SrSv uses a shared-parameter MLP and the decoder’s attention matrix to weight each agent's contribution. By employing masked attention, the model ensures that an agent’s value estimate only considers the actions of those who preceded it in the sequence. This allows for a fine-grained decomposition of the advantage function, leading to more precise gradient updates.
Experimental Results
The researchers evaluated SrSv across three distinct benchmarks to test efficiency, versatility, and scalability.
Efficiency in SMAC
In the StarCraft Multi-Agent Challenge (SMAC), a discrete-action combat benchmark, SrSv demonstrated remarkable training speed. In the 3s5z task, SrSv reached a 50% win rate in just 1.12 million timesteps, nearly twice as fast as the Multi-Agent Transformer (MAT), which required 2.00 million. Furthermore, SrSv was one of the few algorithms to achieve a 100% win rate on the most difficult tasks, doing so significantly faster than its competitors (3.56M vs 4.92M timesteps for MAT).
Versatility in MAMuJoCo
Testing in Multi-Agent MuJoCo (MAMuJoCo)—where agents control different parts of a robotic body—showed that SrSv handles continuous action spaces effectively. The fine-grained value estimation helped agents learn safer and more cooperative behaviors earlier in the training process, evidenced by a consistently lower "dead ratio" in combat scenarios.
Extreme Scalability in DubinsCar
The most striking result came from the DubinsCar navigation task. The authors trained the model in an 8-agent environment and then evaluated it in scenarios with up to 1,024 agents and multiple obstacles. SrSv maintained a "reach ratio" (success rate) of 0.22 at this massive scale, while baselines like MAPPO and A2PO saw their performance drop to near zero. This demonstrates the power of the Transformer’s permutation-invariant architecture for zero-shot transfer to larger team sizes.
Key Insights
- Value is Contextual: An agent's contribution to the team is not just a function of the state, but also of the actions its teammates have already taken. SrSv captures this by integrating value approximation directly into the attention-based sequential model.
- Attention as a Weighting Tool: Using the decoder's attention matrix to weight individual value functions is a computationally efficient way to implement advantage decomposition without requiring a massive increase in model complexity.
- Zero-Shot Capabilities: Because the model handles varying sequence lengths naturally, it can be deployed on much larger teams than those it was trained on, a vital feature for real-world swarm robotics.
Limitations and Future Work
Despite its successes, SrSv presents areas for further refinement. The autoregressive nature of the decoder, while powerful for training, is inherently slower during inference than parallel execution models. For real-time deployment with thousands of agents, further optimization or parallelization techniques may be required. Additionally, while the paper suggests the agent sequence order does not break value estimation, the impact of "optimal" ordering in highly heterogeneous teams remains an open research question. Finally, the authors suggest that SrSv’s fine-grained estimation is a natural fit for "Safe RL," where individual agents must balance global goals with strict local safety constraints.
Summary updated