Off-the-Grid MARL: a Framework for Dataset Generation with Baselines for Cooperative Offline Multi-Agent Reinforcement Learning

Claude Formanek, Asad Jeewa, Jonathan P. Shock, Arnu Pretorius · OpenReview

TL;DR

This paper introduces OG-MARL, a comprehensive framework and repository for generating datasets and baselines for cooperative offline Multi-Agent Reinforcement Learning (MARL). It addresses the critical lack of standardized benchmarks in this emerging field, enabling researchers to more effectively develop and evaluate MARL agents for real-world applications.

What Problem Does This Paper Address?

Reinforcement Learning (RL) agents typically learn by interacting with an environment. However, for many real-world systems (like industrial processes or traffic management), online interaction is expensive, dangerous, or impossible. Offline RL offers a solution by learning from pre-collected, static datasets. While offline RL has seen significant progress, its multi-agent counterpart (offline MARL) is lagging. This is largely due to a lack of standardized datasets, baselines, and evaluation protocols, making it difficult to compare research and measure progress. This paper aims to bridge this gap by providing a framework and initial resources for the offline MARL community.

Methods

The core contribution is the OG-MARL framework, which provides tools for generating and managing offline MARL datasets. The authors generated datasets by recording interactions from pre-trained online MARL agents across various popular MARL environments. They categorized these datasets into "Good," "Medium," and "Poor" based on the performance of the generating policy, and also included "Replay" datasets. To ensure dataset quality and interpretability, they employed statistical characterization using violin plots to visualize the distribution of episode returns, going beyond simple mean returns. The paper also provides initial baseline implementations of state-of-the-art offline MARL algorithms, including both discrete and continuous action space algorithms.

Datasets

The paper introduces a growing repository of datasets for cooperative offline MARL, featuring a range of environments:

  • SMAC v1 & v2: Popular environments for micromanagement in StarCraft II, with v2 introducing non-determinism for more challenging generalization.
  • MAMuJoCo: A multi-agent adaptation of MuJoCo for continuous control tasks.
  • PettingZoo: A suite of environments, including Pistonball, Co-op Pong, and Pursuit, notable for their pixel-based observations.
  • Flatland: A realistic train scheduling simulation with sparse rewards and procedural generation.
  • Voltage Control & CityLearn: Environments focused on energy management, relevant to real-world applications.
  • Knights, Archers & Zombies: Includes datasets generated by human players, offering a different perspective than RL-trained policies.
  • MPE (Multi-Particle Environments): Competitive scenarios like Simple Adversary and Simple Push.

Key Insights and Ideas

  • The critical need for standardized benchmarks: The paper strongly argues that the lack of common datasets and evaluation methods is a major bottleneck for progress in offline MARL.
  • Dataset quality matters: Simply having data isn't enough; the distribution of returns (Good, Medium, Poor) significantly impacts learning, highlighting the importance of curated datasets.
  • Real-world relevance is key: The inclusion of environments like Flatland and energy management tasks signals a move towards MARL problems that mirror real-world challenges beyond typical game-based benchmarks.
  • Human data is valuable: Incorporating datasets from human players in environments like Knights, Archers & Zombies opens up new avenues for studying MARL agents that interact with or learn from human behavior.
  • Visual observations are an under-explored area: The inclusion of PettingZoo environments with pixel-based observations addresses a gap in existing MARL benchmarks.

Key Results

The paper presents baseline results on several environments, demonstrating the effectiveness of their datasets and baselines. For instance, on the PettingZoo environments (Pursuit and Co-op Pong), the MAICQ algorithm emerged as the state-of-the-art in discrete action settings, significantly outperforming behavior cloning and other baselines across different dataset qualities. Performance profiles (using the method from Agarwal et al., 2021) are provided for SMAC and MAMuJoCo, illustrating the comparative performance of various algorithms on different dataset types.

Limitations and Future Work

The authors acknowledge that their current work focuses solely on the cooperative setting of MARL. Future work could expand to include competitive and mixed settings. They also suggest incorporating datasets from non-RL sources beyond human players, such as hand-crafted controllers. The paper also notes the potential of framing offline MARL as a sequence modeling task and plans to include such models as additional baselines. They also highlight the need to improve the ease of loading entire episodes for future dataset releases.

Summary updated

BibTeX
@misc{formanek2023off,
  author = {Claude Formanek and Asad Jeewa and Jonathan P. Shock and Arnu Pretorius},
  title = {{Off-the-Grid MARL: a Framework for Dataset Generation with Baselines for Cooperative Offline Multi-Agent Reinforcement Learning}},
  year = {2023},
  eprint = {2302.00521},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.00521},
}
Figure