Curriculum Learning for Cooperation in Multi-Agent Reinforcement Learning

Rupali Bhati, SaiKrishna Gottipati, Clodéric Mars, Matthew E. Taylor

TL;DR

This paper explores how to effectively train AI agents to cooperate in multi-agent reinforcement learning (MARL) by using a curriculum of teammates with varying skill levels. They found that a less-skilled, pre-trained teammate is surprisingly optimal for maximizing team reward, though not for the student agent's own learning. Intriguingly, a curriculum that decreases in teammate skill level proved more effective than an increasing one.

What Problem Does This Paper Address?

Training AI agents to be generally capable in real-world scenarios often requires them to interact with others of varying competence. While curriculum learning has shown promise for single-agent RL by gradually increasing task difficulty, its application in multi-agent cooperative settings is less understood. Specifically, when an agent needs to learn to cooperate, how should its teammates be selected to best achieve both team success (higher rewards) and individual agent learning? This paper tackles the challenge of designing effective training curricula for cooperative MARL agents by investigating the impact of different teammate skill levels and curriculum structures.

Methods

The researchers employ a standard Independent Deep Q-Network (IDQN) approach for training agents in a multi-agent setting, where each agent has its own Q-network and learns independently. To create a population of teammates with diverse skill levels, they train two agents together and then take "snapshots" of the teammate's neural network at different training durations. These snapshots represent teammates with varying levels of expertise.

The core of their method involves training a "student" agent from scratch with these pre-trained, non-learning teammates. They investigate two main scenarios:

  1. Single Pre-trained Teammate: Pairing the student agent with a low-skilled, medium-skilled, or highly-skilled teammate.
  2. Curriculum of Pre-trained Teammates: Training the student agent with a sequence of teammates. They explore two curriculum types:
  3. Increasing Curriculum: Starting with a low-skilled teammate and progressing to medium, then highly-skilled.
  4. Decreasing Curriculum: Starting with a highly-skilled teammate and progressing to medium, then low-skilled.

Datasets

The experiments are conducted in the Overcooked environment, a cooperative game where two agents must work together to prepare and deliver soups. This environment is chosen because it allows for heterogeneous agents and doesn't strictly assign roles, making it suitable for studying different team dynamics. No new datasets were introduced; the Overcooked environment serves as the benchmark.

Key Insights and Ideas

  • The "Lazy Agent" Phenomenon: When a student agent is paired with a very skilled teammate (especially a low-skilled one that does most of the work), the student agent can become a "lazy agent," learning very little itself. This highlights a trade-off between maximizing team reward and fostering individual agent learning.
  • Low-Skilled Teammate for Max Reward: Counterintuitively, a less-skilled, pre-trained teammate was found to be the best for maximizing the overall team reward in Overcooked. This suggests that a teammate that doesn't "do everything" might create more opportunities for the student to learn and contribute, even if it doesn't immediately yield the highest individual student reward.
  • Decreasing Skill Curriculum Surprise: The most surprising finding was that a curriculum where the teammate's skill level decreases over time performed better than an increasing skill curriculum for overall team reward. This suggests that starting with a more capable partner and gradually reducing their skill might be a more effective way to guide the student's learning and eventual performance.

Key Results

  • Pre-trained Teammates Outperform IDQN: Training a student agent with any pre-trained teammate (frozen weights) consistently resulted in higher total team rewards compared to training with another learning agent (IDQN).
  • Low-Skilled Teammate Dominance: The low-skilled teammate achieved the highest total team reward and reached it the fastest. However, it led to the lowest student reward, indicating the "lazy agent" problem.
  • Medium-Skilled Teammate for Balance: The medium-skilled teammate offered a good balance, achieving high total team rewards while also yielding the highest individual reward for the student agent.
  • Decreasing Curriculum Superiority: The decreasing curriculum of teammates ultimately surpassed the increasing curriculum in terms of total team reward, especially in the latter half of training.

Limitations and Future Work

  • Environment Specificity: The findings are based on the Overcooked environment. The authors acknowledge that the optimal teammate and curriculum structures might differ in other cooperative MARL settings.
  • Generalization: Future work should extend these investigations to a wider range of cooperative environments to determine if these findings generalize.
  • Teammate Skill Definition: The paper defines skill by training duration. Future research could explore more nuanced ways to define and control teammate skill levels.
  • Dynamic Teammates: The current work uses pre-trained, non-learning teammates. Investigating curricula with learning teammates would be a valuable next step.

Summary updated

BibTeX
@inproceedings{bhati2023curriculum,
  author = {Rupali Bhati and SaiKrishna Gottipati and Clodéric Mars and Matthew E. Taylor},
  title = {{Curriculum Learning for Cooperation in Multi-Agent Reinforcement Learning}},
  booktitle = {ALOE @ NeurIPS},
  year = {2023},
  url = {https://openreview.net/forum?id=o32DXGiMoT},
}
Figure