Abstract
In this paper, we propose a novel framework for multi-agent reinforcement learning that enhances sample efficiency and coordination through accurate per-agent advantage estimation. The core of our approach is Generalized Per-Agent Advantage Estimator (GPAE), which employs a per-agent value iteration operator to compute precise per-agent advantages. This operator enables stable off-policy learning by indirectly estimating values via action probabilities, eliminating the need for direct Q-function estimation. To further refine estimation, we introduce a double-truncated importance sampling ratio scheme. This scheme improves credit assignment for off-policy trajectories by balancing sensitivity to the agent's own policy changes with robustness to non-stationarity from other agents. Experiments on benchmarks demonstrate that our approach outperforms existing approaches, excelling in coordination and sample efficiency for complex scenarios.
Introduction
Cooperative Multi-Agent Reinforcement Learning (MARL) faces two significant challenges: the credit assignment problem and sample inefficiency. In team-based tasks, global rewards often fail to distinguish individual contributions, leading to the "lazy agent" problem where some agents "ride the coattails" of high performers. Furthermore, most stable MARL algorithms, such as MAPPO, are on-policy, discarding data immediately after use due to the non-stationarity of the environment as other agents update their policies.
We introduce Generalized Per-Agent Advantage Estimation (GPAE), a framework designed to provide precise individual credit signals and enable stable off-policy learning. By combining a novel per-agent value operator with a Double-Truncated Importance Sampling Ratio (DT-ISR), our approach allows agents to learn faster and coordinate more effectively than current state-of-the-art benchmarks.
Methodology
Generalized Per-Agent Advantage Estimator (GPAE)
GPAE evolves the classic Generalized Advantage Estimation (GAE) for multi-agent settings. It utilizes a per-agent value iteration operator ($\mathcal{R}^i$) that indirectly estimates values through action probabilities rather than direct Q-function estimation. This allows for the calculation of $n$-step advantages for specific agents while maintaining policy invariance, ensuring that no mathematical bias is introduced into the learning process. We formally prove that this $\mathcal{R}^i$ operator is a $\gamma$-contraction, guaranteeing convergence to a unique, stable value estimate.
Double-Truncated Importance Sampling Ratio (DT-ISR)
To stabilize off-policy learning, we developed DT-ISR. Standard importance sampling in MARL often suffers from exploding variance because it accounts for the joint policies of all agents. DT-ISR addresses this by truncating the importance sampling ratios: it preserves the signal from the individual agent's policy changes while "muting" the noise caused by the shifting policies of teammates. This balances sensitivity to the agent's own updates with robustness against environmental non-stationarity.
Experimental Evaluation
We evaluated GPAE on high-performance JAX-based benchmarks, including SMAX (StarCraft Multi-Agent Challenge) and MABrax (multi-agent Brax physics engine). We also conducted "stress tests" on Anomalous SMAX-3m, where one agent is programmed to be intentionally suboptimal.
Key Results
GPAE significantly outperformed baselines like MAPPO, COMA, and DAE across various metrics:
- Superior Coordination: In the challenging
3s5z_vs_3s6zStarCraft task, off-policy GPAE achieved an 87.3% win rate, compared to MAPPO's 2.6%. - Continuous Control: In MABrax (
ant-8x1), GPAE reached an episodic return of 3285, nearly triple that of MAPPO (1247). - Efficiency: By safely reusing off-policy data, GPAE reaches peak performance in roughly half the environment steps required by on-policy methods.
Discussion and Insights
A critical insight is the "Advantage Gap." GPAE creates a significantly larger gap between optimal and suboptimal actions compared to other methods. In scenarios where an agent misbehaves, GPAE's mathematical framework clearly identifies that specific agent's action as the cause of failure, whereas other methods might penalize the entire team equally. This is empirically supported by the significantly higher $\Delta A$ values observed in our experiments.
While GPAE offers substantial improvements, it currently relies on full observability during training (Centralized Training, Decentralized Execution). Future work will explore extending these theoretical guarantees to purely partially observable training environments. Additionally, while the computational overhead is modest (approx. 6%), the per-agent architecture is more complex than a single global critic.
Conclusion
GPAE addresses the fundamental hurdles of credit assignment and sample inefficiency in MARL. By providing a mathematically grounded approach to per-agent advantage estimation and a robust off-policy weighting scheme, it sets a new standard for coordination and efficiency in complex multi-agent environments.
Summary updated