FP3O: Enabling Proximal Policy Optimization in Multi-Agent Cooperation with Parameter-Sharing Versatility

Lang Feng, Dong Xing, Junru Zhang, Gang PanarXiv 2023 · DOI

Introduction

In cooperative Multi-Agent Reinforcement Learning (MARL), Proximal Policy Optimization (PPO) is a cornerstone due to its "trust region" properties, which theoretically guarantee monotonic policy improvement. However, a significant gap exists between theoretical rigor and practical implementation, primarily centered around Parameter Sharing.

Theoretical frameworks like Heterogeneous-Agent PPO (HAPPO) provide strong mathematical guarantees but rely on sequential updates (where agents update one by one). If agents share neural network parameters, an update by the first agent alters the shared weights before the second agent's turn, violating the mathematical assumptions of the improvement proof. Conversely, practical algorithms like Multi-Agent PPO (MAPPO) work well with parameter sharing but lack these theoretical guarantees, often leading to instability or poor convergence in complex, heterogeneous tasks.

FP3O (Full-Pipeline PPO) addresses this "versatility gap." It introduces a novel "full-pipeline" paradigm that allows agents to update in parallel while maintaining the monotonic improvement guarantees of PPO, making it uniquely compatible with any parameter-sharing configuration—whether full, partial, or none.

The Full-Pipeline Paradigm

The core innovation of FP3O is moving away from a single sequential update chain to $n$ parallel optimization pipelines. The algorithm leverages the mathematical property that a team's "advantage" (the measure of how much better an action is than the average) can be decomposed into multiple equivalent forms.

Each pipeline in FP3O performs a two-step optimization:

  1. Independent Step: Agents calculate an initial update independently.
  2. Dependent Step: Agents refine these updates by accounting for the "mutual influence" of the updates made by other agents during the independent step.

To maintain computational efficiency and theoretical consistency, the authors employ a selection criterion to ensure each pipeline optimizes a unique agent during the dependent phase. This parallel structure avoids the "moving target" problem inherent in sequential methods like HAPPO, where shared parameters cause the "backbone" of the network to shift unpredictably between agent updates.

Experimental Evaluation

FP3O was evaluated against standard baselines—MAPPO, HAPPO, and Independent PPO (IPPO)—across two high-difficulty MARL benchmarks:

  • Multi-Agent MuJoCo (MAMuJoCo): A continuous control environment where agents control different joints of a robot (e.g., a 2-agent Walker or 6-agent HalfCheetah). This tests the ability to handle heterogeneous agents and complex physics.
  • StarCraft II Multi-Agent Challenge (SMAC): A discrete combat environment requiring precise micro-management. Scenarios range from "Easy" to "Super Hard" and include both homogeneous and heterogeneous teams.

Performance in Continuous Control

In the MAMuJoCo benchmark, FP3O demonstrated superior versatility across all parameter-sharing schemes. As shown in the results below, FP3O consistently matched or outperformed specialized baselines.

MAMuJoCo performance comparison across different parameter-sharing networks. FP3O (bolded) shows consistent dominance, particularly in complex tasks like the 2-Agent Walker and 6-Agent HalfCheetah.

A notable finding was the failure of HAPPO in non-parameter sharing settings for certain tasks. For instance, in the "2-Agent Walker [2x3]" scenario with Non-Param. Sharing, FP3O achieved a score of 3562.4, while HAPPO lagged significantly at 2461.8. This highlights FP3O's robustness when agents must learn distinct behaviors without shared weights.

Robustness in Discrete Combat

The advantages of FP3O are even more pronounced in the SMAC benchmark, particularly in "Super Hard" scenarios. The algorithm maintained high win rates regardless of the parameter-sharing configuration, whereas competing methods often saw performance crater when forced into partial parameter sharing.

SMAC win rates across various scenarios and sharing schemes. FP3O maintains high performance in Super Hard maps like '6h vs. 8z' where MAPPO and HAPPO performance drops significantly under partial sharing.

In the "6h vs. 8z" map, FP3O achieved win rates between 81.3% and 90.6% across all sharing types. In contrast, HAPPO's performance dropped to a mere 9.4% and MAPPO's to 15.6% when using Partial Parameter Sharing. This suggests that FP3O successfully manages the coordination challenges that arise when agents share some, but not all, of their neural architecture.

Key Insights and Conclusion

FP3O proves that theoretical rigor does not have to come at the cost of architectural flexibility. By parallelizing the update process, it resolves the conflict between sequential improvement proofs and the practical necessity of parameter sharing.

Key Takeaways: * Versatility as a Performance Multiplier: Because the optimal sharing scheme is task-dependent, FP3O allows researchers to select the best architecture (Full, Partial, or None) without sacrificing the stability of PPO. * Stability and Reliability: FP3O exhibited lower variance in its results compared to baselines, making it a more robust choice for complex multi-agent environments.

While currently limited to cooperative games with shared rewards, FP3O sets a new standard for PPO-based multi-agent algorithms. Future work may extend this "full-pipeline" logic to competitive environments or more complex auto-regressive policy structures.

Summary updated

BibTeX
@misc{feng2023fp,
  author = {Lang Feng and Dong Xing and Junru Zhang and Gang Pan},
  title = {{FP3O: Enabling Proximal Policy Optimization in Multi-Agent Cooperation with Parameter-Sharing Versatility}},
  year = {2023},
  eprint = {2310.05053},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.05053},
}
Figure