Abstract
We propose a method for learning multi-agent policies to compete against multiple opponents. The method consists of recurrent neural network-based actor-critic networks and deterministic policy gradients that promote cooperation between agents by communication. The learning process does not require access to opponents' parameters or observations because the agents are trained separately from the opponents. The actor networks enable the agents to communicate using forward and backward paths while the critic network helps to train the actors by delivering them gradient signals based on their contribution to the global reward. Moreover, to address nonstationarity due to the evolving of other agents, we propose approximate model learning using auxiliary prediction networks for modeling the state transitions, reward function, and opponent behavior. In the test phase, we use competitive multi-agent environments to demonstrate by comparison the usefulness and superiority of the proposed method in terms of learning efficiency and goal achievements. The comparison results show that the proposed method outperforms the alternatives.
Introduction
Training agents in competitive multi-agent reinforcement learning (MARL) environments is notoriously difficult due to three primary hurdles: non-stationarity, partial observability, and credit assignment. Non-stationarity arises because all agents learn simultaneously, causing the environment dynamics to shift from any single agent's perspective. Partial observability prevents agents from seeing the full state or opponent observations, while credit assignment issues make it difficult to determine an individual agent's contribution to a global team reward.
While existing methods like MADDPG attempt to solve these issues using a centralized critic during training, they often assume access to opponents' internal policies and observations—a luxury not available in truly independent or adversarial settings. This paper introduces a framework that enables teams to cooperate and compete effectively without requiring access to opponent internal parameters.
Methodology
The proposed solution integrates two primary components: Competitive Training using Recurrent Layers (CTRL) and Approximate Model Learning using Auxiliary Prediction Networks (AMLAPN).
Competitive Training using Recurrent Layers (CTRL)
The architecture employs Long Short-Term Memory (LSTM) layers within both actor and critic networks. These recurrent layers serve as a differentiable communication channel, allowing agents to develop coordination protocols through shared hidden states. By training each team with its own recurrent network, the system ensures that a team does not require knowledge of an opponent's internal logic, facilitating isolated training in competitive environments.
Approximate Model Learning (AMLAPN)
To stabilize learning against non-stationarity, the authors introduce auxiliary supervised learning tasks. These auxiliary networks do not dictate policy but instead regularize the agent's internal representations by forcing them to understand environment dynamics:
- Environment Modeling: Predicting the next state and team reward based on current observations.
- Opponent Modeling: Predicting the actions and rewards of the adversarial team.
By minimizing prediction error alongside standard reinforcement learning loss, agents develop a more robust understanding of the environment, preventing the policy from overfitting to transient opponent behaviors.
Experimental Evaluation
The framework was evaluated using the Multi-agent Particle Environment (MPE) across four distinct scenarios:
- Physical Deception: Two agents must cooperate to reach a target while deceiving a single adversary about which target is correct.
- Keep-Away: Two agents try to reach a landmark while an adversary physically pushes them away.
- Predator-Prey: Three slower predators must coordinate to catch a single faster prey.
- Complex Predator-Prey: A high-stakes version featuring obstacles, food, and a "leader" predator who can see through obstacles and must communicate instructions to teammates.
Results and Discussion
The proposed method (CTRL + AMLAPN) demonstrated significant improvements over the standard MADDPG baseline. In the "Keep-Away" and "Predator-Prey" scenarios, the method reached higher reward plateaus significantly faster than the baseline.
Key insights from the experiments include:
- Recurrence as Communication: LSTMs effectively act as a shared memory hub, allowing for implicit coordination without explicit message-passing.
- The Power of Prediction: Auxiliary tasks serve as powerful regularizers. Interestingly, the paper finds that under partial observability, an agent's ability to model environment state transitions is often more critical for success than modeling specific opponent moves.
- Robustness in Competition: In round-robin tournaments, agents trained with AMLAPN consistently outperformed those without it, especially when facing diverse types of opponents.
Conclusion and Future Work
This research highlights the efficacy of combining recurrent architectures with auxiliary model-learning tasks to solve MARL challenges in competitive settings. While the inclusion of LSTMs and prediction networks increases computational overhead, the gains in learning efficiency and robustness are substantial. Future work may explore the use of Attention mechanisms (Transformers) to handle agent interactions in a way that is invariant to processing order and to improve scalability for larger agent populations.
Summary updated