Skip to main content
QUICK REVIEW

[Paper Review] MAC-PO: Multi-Agent Experience Replay via Collective Priority Optimization

Yongsheng Mei, Hanhan Zhou|arXiv (Cornell University)|Feb 21, 2023
Reinforcement Learning in RoboticsComputer Science6 citations
TL;DR

This paper proposes MAC-PO, a novel multi-agent experience replay method that optimizes sampling weights via regret minimization over joint policies, using Lagrangian relaxation and KKT conditions to derive closed-form weights. It significantly improves learning efficiency and performance in cooperative MARL environments like Predator-Prey and StarCraft SMAC, outperforming state-of-the-art baselines in convergence speed and winning rates.

ABSTRACT

Experience replay is crucial for off-policy reinforcement learning (RL) methods. By remembering and reusing the experiences from past different policies, experience replay significantly improves the training efficiency and stability of RL algorithms. Many decision-making problems in practice naturally involve multiple agents and require multi-agent reinforcement learning (MARL) under centralized training decentralized execution paradigm. Nevertheless, existing MARL algorithms often adopt standard experience replay where the transitions are uniformly sampled regardless of their importance. Finding prioritized sampling weights that are optimized for MARL experience replay has yet to be explored. To this end, we propose MAC-PO, which formulates optimal prioritized experience replay for multi-agent problems as a regret minimization over the sampling weights of transitions. Such optimization is relaxed and solved using the Lagrangian multiplier approach to obtain the close-form optimal sampling weights. By minimizing the resulting policy regret, we can narrow the gap between the current policy and a nominal optimal policy, thus acquiring an improved prioritization scheme for multi-agent tasks. Our experimental results on Predator-Prey and StarCraft Multi-Agent Challenge environments demonstrate the effectiveness of our method, having a better ability to replay important transitions and outperforming other state-of-the-art baselines.

Motivation & Objective

  • To address the lack of prioritized experience replay in cooperative multi-agent reinforcement learning (MARL), where standard uniform sampling fails to reflect complex agent interactions.
  • To formulate optimal experience replay as a regret minimization problem over sampling weights, minimizing the gap between current and optimal policies.
  • To derive closed-form sampling weights using Lagrangian multipliers and Karush–Kuhn–Tucker (KKT) conditions, accounting for joint agent policies and environmental dynamics.
  • To evaluate the method on challenging MARL benchmarks, demonstrating improved sample efficiency and policy performance over existing baselines.
  • To validate the contribution of key components—Bellman error, value enhancement, and joint action probability—in the optimal weighting scheme.

Proposed method

  • Formulates MARL experience replay as a regret minimization problem, defining policy regret as the difference between expected returns of a nominal optimal policy and the current policy under given sampling weights.
  • Relaxes the optimization problem using an upper bound of the regret and applies the Lagrangian multiplier method to derive necessary optimality conditions.
  • Derives closed-form sampling weights by solving a system of KKT conditions that account for concurrent optimality constraints across multiple agents.
  • Incorporates three key components into the weighting scheme: Bellman error, value enhancement, and joint action probability, reflecting multi-agent dynamics and value estimation accuracy.
  • Applies the weighted Bellman equation and implicit function theorem to model dependencies between agents’ policies and the optimal sampling weights.
  • Proposes both exact and approximated versions of the algorithm for practical deployment in large-scale MARL environments.

Experimental results

Research questions

  • RQ1Can regret minimization over sampling weights lead to improved experience replay in cooperative multi-agent reinforcement learning?
  • RQ2How can optimal sampling weights be derived in closed form while accounting for joint policies and multi-agent interactions?
  • RQ3What is the relative contribution of Bellman error, value enhancement, and joint action probability to the performance of the prioritized replay scheme?
  • RQ4Does the proposed method achieve faster convergence and higher performance than standard experience replay and state-of-the-art MARL algorithms?
  • RQ5How does the method scale in complex, high-coordination environments such as SMAC’s super-hard maps?

Key findings

  • MAC-PO achieves faster convergence than all baselines in the Predator-Prey environment, especially in high-coordination settings requiring simultaneous agent actions.
  • On the SMAC benchmark, MAC-PO achieves the highest winning rate on the super-hard MMM2 map, outperforming QMIX, WQMIX, and QPLEX.
  • Ablation studies show that disabling the joint action probability term causes the largest performance drop (18% win rate decrease), highlighting its critical role in multi-agent coordination.
  • The Bellman error and value enhancement terms each contribute significantly, with 15% and 10% performance drops respectively when disabled, indicating their importance in value estimation and policy improvement.
  • MAC-PO’s optimal weighting scheme enables more effective replay of high-impact transitions, particularly those involving coordinated multi-agent actions, leading to superior sample efficiency.
  • The method demonstrates robustness in complex environments where standard replay and existing MARL baselines struggle to learn optimal policies.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.