Semi-On-Policy Training for Sample Efficient Multi-Agent Policy Gradients

Bozhidar Vasilev, Tarun Gupta, Bei Peng, Shimon WhitesonarXiv 2021

Abstract

Policy gradient methods are an attractive approach to multi-agent reinforcement learning problems due to their convergence properties and robustness in partially observable scenarios. However, there is a significant performance gap between state-of-the-art policy gradient and value-based methods on the popular StarCraft Multi-Agent Challenge (SMAC) benchmark. In this paper, we introduce semi-on-policy (SOP) training as an effective and computationally efficient way to address the sample inefficiency of on-policy policy gradient methods. We enhance two state-of-the-art policy gradient algorithms with SOP training, demonstrating significant performance improvements. Furthermore, we show that our methods perform as well or better than state-of-the-art value-based methods on a variety of SMAC tasks.

Introduction

Multi-agent reinforcement learning (MARL) often involves a trade-off between the stability of policy gradient methods and the sample efficiency of value-based methods. While value-based approaches like QMIX have dominated benchmarks such as the StarCraft Multi-Agent Challenge (SMAC), policy gradient methods like COMA have historically struggled due to extreme data requirements. This paper introduces Semi-On-Policy (SOP) training, a technique designed to bridge this efficiency gap by reusing recent off-policy data without the need for complex importance sampling corrections.

Methodology

The authors propose two key innovations to improve multi-agent policy gradients (MAPG):

Semi-On-Policy (SOP) Training

Standard on-policy methods discard data after a single update. SOP introduces a "rolling-window" replay buffer that retains recent episodes. The core intuition is that if the policy changes slowly, data from the immediate past remains a valid approximation for current updates. The authors find that a "Permissive" version—simply keeping a small buffer of recent data—is highly effective and stable for SMAC tasks.

COMA-CC (Consistent Critic)

The original Counterfactual Multi-Agent (COMA) algorithm suffered from architectural inconsistencies where the centralized critic could provide conflicting value estimates for the same joint action depending on the agent being evaluated. COMA-CC resolves this by utilizing a centralized critic architecture that ensures a single, consistent value estimate for any given state and joint action, significantly cleaning the learning signal.

Experimental Results

The proposed methods were evaluated on the SMAC benchmark across a range of difficulties, from easy maps like 2s3z to super-hard scenarios like MMM2. The integration of SOP training leads to a dramatic increase in sample efficiency and final performance.

Individual map performance across various SMAC scenarios, comparing SOP-enhanced methods against baselines.

As shown in the individual map results, CentralV-SOP and COMA-CC-SOP frequently match or outperform state-of-the-art value-based methods. Notably, on the bane_vs_bane map, the SOP-enhanced policy gradient methods solved the scenario effectively while value-based methods like QMIX struggled with convergence.

Aggregated performance across all SMAC maps, demonstrating that SOP-enhanced policy gradients significantly improve sample efficiency over standard on-policy baselines.

The aggregate results confirm that simple centralized actor-critic baselines, when enhanced with SOP, become highly competitive. CentralV-SOP, despite its simplicity, emerged as one of the strongest performers in terms of early-stage sample efficiency, often outperforming much more complex, specialized MARL algorithms like DOP. Overall, COMA-CC-SOP achieved a 200% higher average median win rate compared to the original COMA algorithm.

Conclusion

Semi-On-Policy training provides a straightforward yet powerful mechanism to make multi-agent policy gradients sample-efficient. By fixing critic inconsistencies and enabling safe data reuse, policy gradient methods can now compete directly with state-of-the-art value-based methods on complex coordination tasks. Future work will investigate the scalability of these methods to larger action spaces and their generalizability across other MARL domains.

Summary updated

BibTeX
@misc{vasilev2021semi,
  author = {Bozhidar Vasilev and Tarun Gupta and Bei Peng and Shimon Whiteson},
  title = {{Semi-On-Policy Training for Sample Efficient Multi-Agent Policy Gradients}},
  year = {2021},
  eprint = {2104.13446},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.13446},
}
Figure