Investigation of independent reinforcement learning algorithms in multi-agent environments

Ken Ming Lee, Sriram Ganapathi Subramanian, Mark Crowley

Abstract

Multi-agent reinforcement learning (MARL) typically relies on complex algorithms designed to handle non-stationary environments. This study investigates the performance of simpler Independent Reinforcement Learning (IRL) algorithms compared to specialized MARL methods across cooperative, competitive, and mixed environments. Our findings suggest that IRL, particularly when augmented with recurrence and parameter sharing, often matches or exceeds the performance of complex MARL algorithms in reactive and cooperative tasks, though it struggles in mixed environments requiring sophisticated coordination.

Introduction

In the field of Multi-Agent Reinforcement Learning (MARL), the prevailing paradigm involves complex algorithms that account for the joint actions of all agents. This approach addresses the non-stationarity problem—where an agent's environment changes as other agents learn—which theoretically violates the Markov property required for standard reinforcement learning. However, these specialized MARL algorithms are often computationally expensive and difficult to scale.

This paper explores a practical alternative: Independent Reinforcement Learning (IRL). In IRL, each agent treats others as part of the environment. While theoretically "broken" due to non-stationarity, IRL offers simplicity and scalability. This study aims to identify the specific conditions under which IRL is a viable alternative to MARL and where it fundamentally fails.

Methodology

The researchers compared two primary categories of algorithms:

  1. Independent Algorithms (IRL): DQN, PPO, and DRQN (Deep Recurrent Q-Network).
  2. Multi-Agent Algorithms (MARL): QMIX, COMA, MADDPG, and MAPPO.

Most MARL algorithms tested utilize Centralized Training and Decentralized Execution (CTDE), sharing information during training while maintaining independent action during testing. To ensure a level playing field, IRL agents were implemented with parameter sharing (where agents of the same type share a single neural network) and agent indicators (one-hot IDs) to help agents distinguish their own role from others.

Experimental Setup

Experiments were conducted using the PettingZoo library across seven environments categorized by their interaction dynamics:

  • Cooperative: Space Invaders (team-based) and Simple Reference (communication-dependent).
  • Competitive: Boxing, Pong, and Space War (2-player zero-sum).
  • Mixed: Simple Tag (Predator-Prey) and Simple Adversary, requiring simultaneous cooperation with allies and competition against opponents.

Key Findings

1. The Reactive Advantage

In fast-paced, reactive environments like Boxing and Pong, independent algorithms like DQN and DRQN frequently outperformed complex MARL counterparts. For instance, in Boxing, independent DQN achieved a 94% win rate, significantly higher than MADDPG (54%) or MAPPO (64%). The results suggest that in these settings, the added complexity of learning joint actions can hinder sample efficiency.

2. Recurrence and Partial Observability

In cooperative tasks with partial observability, such as Simple Reference, standard DQN struggled. However, the addition of an LSTM layer (DRQN) allowed the independent agent to perform on par with specialized MARL algorithms. This indicates that recurrence can effectively mitigate some of the challenges posed by non-stationarity in cooperative settings.

Figure 1: Training curves for Simple Reference (A) and Space Invaders (B) showing mean reward and 95% confidence intervals.

3. The Mixed Environment Barrier

The most significant limitation for IRL appeared in mixed environments. In Simple Tag, independent predators successfully learned to chase prey individually but failed to coordinate "surrounding" maneuvers. This lack of "team-think" prevented the development of complex strategies necessary to defeat a common enemy, a task where MARL algorithms showed a clear advantage.

4. Credit Assignment and Agent Indicators

Surprisingly, IRL agents managed the "credit assignment problem"—learning from a single team reward—effectively when parameter sharing was employed. Additionally, agent indicators (unique IDs) were found to be critical in environments like Pong (to distinguish paddle positions) but redundant in environments like Space Invaders where agent roles are identical.

Conclusion

This empirical study demonstrates that independent reinforcement learning is a surprisingly robust baseline for multi-agent tasks. While it lacks the theoretical guarantees of specialized MARL algorithms, its performance in cooperative and competitive settings—especially when using recurrence and parameter sharing—makes it a highly efficient choice for many practical applications. However, for "mixed" environments requiring high-level strategic coordination between allies against opponents, specialized MARL algorithms remain essential.

Future research should investigate whether these trends persist in "swarm" scenarios with larger agent populations and explore the impact of visual inputs versus the RAM states used in this study.

Summary updated

BibTeX
@article{lee2022investigation,
  author = {Ken Ming Lee and Sriram Ganapathi Subramanian and Mark Crowley},
  title = {{Investigation of independent reinforcement learning algorithms in multi-agent environments}},
  journal = {Frontiers Artif. Intell.},
  year = {2022},
  doi = {10.3389/frai.2022.805823},
}
Figure