Abstract
Leveraging the experiences of other agents offers a powerful mechanism to enhance policy optimization in multi-agent reinforcement learning (MARL). However, contemporary MARL algorithms often neglect experience sharing possibilities or adopt a simple approach via direct parameter sharing. Our work explores a refined off-agent learning framework that allows selective integration of experience from other agents to improve policy learning. Our investigation begins with a thorough assessment of current mechanisms for reusing experiences among heterogeneous agents, revealing that direct experience transfer may result in negative consequences. Moreover, even the experience of homogeneous agents requires modification before reusing. Our approach introduces off-agent adaptations to the multi-agent policy optimization methods, enabling effective and purposeful leverage of cross-agent experiences beyond conventional parameter sharing. Accompanying this, we provide a theoretical guarantee for an approximate monotonic improvement. Experiments conducted on the StarCraftII Multi-Agent Challenge (SMAC) and Google Research Football (GRF) demonstrate that our algorithms outperform state-of-the-art (SOTA) methods and achieve faster convergence, suggesting the viability of our approach for efficient experience reusing in MARL.
Introduction
Multi-agent reinforcement learning (MARL) is notoriously data-hungry. Because agents must learn not only how to interact with the environment but also how to coordinate with one another, the number of trials required to reach a good policy is often astronomical. Existing solutions generally fall into two camps: parameter sharing, which works well for homogeneous agents but fails in heterogeneous scenarios, and independent learning, which is flexible but slow as agents ignore valuable lessons learned by their teammates.
This paper addresses this gap by introducing an off-agent framework. Much like "off-policy" learning allows an agent to learn from its own past versions, "off-agent" learning allows an agent to update its policy using data generated by its peers. The core question is: Can an agent selectively learn from a teammate's experience without being led astray by their differences?
Methodology
The Off-Agent Framework and Selective Reuse
The proposed framework is inspired by human social learning. In a team sport like soccer, players do not just learn from their own actions; they observe teammates. If a teammate's move is successful and within the observer's capability, they may attempt to replicate it.
To formalize this, the authors introduce a Similarity Constraint. An agent only reuses experience from another agent if their policies are sufficiently similar, measured via KL-divergence. This prevents "negative transfer," where learning from a teammate with a vastly different role or strategy would degrade performance. This creates a "trust region" for cross-agent experience sharing.
As illustrated in the figure above, traditional optimization relies on an agent's own experience buffer. In contrast, off-agent policy optimization evaluates the "policy distance" of other agents. Experiences from agents within a specific distance threshold (the red zone) are integrated, while those too far away (the blue zone) are omitted.
OATRPO and OAPPO Algorithms
The authors adapt popular Trust Region Policy Optimization (TRPO) and Proximal Policy Optimization (PPO) algorithms into off-agent variants: OATRPO and OAPPO. These algorithms utilize a "reuse mapping distribution" to determine which teammate's data to use and how to weight it during the update process.
Unlike Multi-Agent PPO (MAPPO), which typically shares parameters uniformly (1/4 weight for all in a 4-agent setup), or Heterogeneous Agent PPO (HAPPO), which learns independently (identity matrix), the proposed method uses a selective mapping. This allows for a balance between an agent's own experience and supplemental data from similar peers, governed by a hyperparameter $\lambda$.
Experimental Evaluation
The researchers evaluated their approach across three distinct benchmarks:
- Custom Maze Games: Designed to test heterogeneous scenarios where different agents have restricted movement based on tile colors.
- StarCraft II Multi-Agent Challenge (SMAC): Focused on "Super Hard" maps (e.g., 6h vs 8z, MMM2) where coordination is critical.
- Google Research Football (GRF): Tested on complex "Academy" scenarios like Counterattack-Hard (CA-Hard).
Key Results
- Superior Sample Efficiency: In the SMAC "MMM2" scenario, OAPPO reached a high win rate significantly faster than standard MAPPO or HAPPO baselines.
- Handling Heterogeneity: In custom maze tasks, OAPPO successfully avoided the local optima that often trap parameter-sharing methods, while converging much faster than independent methods.
- SOTA Performance on GRF: On the "Counterattack-Hard" scenario, OATRPO achieved a score of 89.1, vastly outperforming the next best baseline, MAPPO, which scored 58.5.
- Stability: The off-agent approach demonstrated narrower standard deviation bands during training, suggesting more reliable learning across different random seeds.
Conclusion
Off-Agent Trust Region Policy Optimization provides a theoretically sound and practically effective method for experience sharing in MARL. By establishing a trust region based on policy similarity, agents can safely learn from their peers, leading to faster convergence and better performance in complex, heterogeneous environments.
Future work will explore adaptive mechanisms to automatically tune the reuse balance ($\lambda$) and policy distance threshold ($\sigma$) during training, potentially allowing agents to start with broad peer learning and become more specialized over time. Additionally, scaling this framework to environments with hundreds of agents remains a promising avenue for research.
Summary updated