Centralized Model and Exploration Policy for Multi-Agent RL

Qizhen Zhang, Christopher Lu, Animesh Garg, Jakob N. Foerster

TL;DR

This paper introduces MARCO, a novel model-based reinforcement learning (RL) algorithm that significantly improves sample efficiency in cooperative multi-agent systems (Dec-POMDPs). By learning a centralized model of the environment and employing a dedicated exploration policy, MARCO achieves state-of-the-art performance with up to 20x fewer interactions than existing methods.

What Problem Does This Paper Address?

Cooperative multi-agent systems, where multiple agents must work together to achieve a common goal, are often modeled as Decentralized Partially Observable Markov Decision Processes (Dec-POMDPs). These problems are notoriously difficult to solve, being NEXP-complete, which is considerably harder than single-agent Markov Decision Processes (MDPs). A major bottleneck for current RL algorithms in Dec-POMDPs is their extremely poor sample complexity. This means they require an enormous number of interactions with the environment to learn effective policies, making them impractical for real-world applications where data collection is costly or time-consuming (e.g., robotics, autonomous driving). The core challenge is learning good policies in these complex, partially observable, multi-agent settings without needing an infeasible amount of training data.

Methods

MARCO is a model-based RL algorithm that adapts the "Dyna-style" framework, which interleaves model learning with policy optimization. Here's a breakdown of its key components:

  • Centralized Model Learning: MARCO learns a single, stationary model of the Dec-POMDP environment. This model approximates the environment's dynamics, rewards, and observation functions. Crucially, this model is centralized, meaning it conditions on the true, unobserved state of the environment, which is available during training. This contrasts with decentralized models that only use agent observations, which can be non-stationary and harder to learn.
  • Policy Optimization within the Model: Once the environment model is learned, MARCO uses it to train the agents' policies. This is done using standard model-free MARL algorithms (like QMIX or IQL), but all training happens within the learned model. This means no additional real-world environment samples are needed for policy optimization, drastically improving sample efficiency.
  • Centralized Exploration Policy: To further enhance sample efficiency, MARCO introduces a centralized exploration policy. This policy is trained within the learned model and its goal is to collect informative data in regions of the state-action space where the learned model is most uncertain. This active exploration helps to improve the model's accuracy in critical areas, leading to better policy learning. The exploration policy is designed to balance exploration with achieving the task objective.
  • Theoretical Analysis: The authors also adapt the R-MAX algorithm (a model-based RL algorithm for MDPs) to the Dec-POMDP setting. They prove that this "Adapted R-MAX" achieves polynomial sample complexity, providing theoretical backing for the benefits of model-based approaches in this domain.

Datasets

The paper evaluates MARCO on three cooperative communication tasks:

  • Switch Riddle: A communication task where agents must coordinate to determine the state of a switch.
  • Switch Riddle with Bridge: A more challenging variant of the switch riddle that includes a bridge-crossing phase, requiring agents to coordinate their movement before engaging in the communication task.
  • Simple Reference Game: A task from the multi-agent particle environment (MPE) where agents must communicate to identify and reach specific landmarks.

The initial dataset for training the model is collected using a random policy. Subsequent data collection for model improvement is handled by the centralized exploration policy.

Key Insights and Ideas

  • Centralized Models are Key for Dec-POMDPs: The paper strongly advocates for learning centralized models that leverage the true state, even though agents only receive partial observations. This allows for learning stationary models that generalize better across different policies.
  • Exploration is Not Just About Randomness: MARCO demonstrates that a dedicated, centralized exploration policy, trained within the model, can intelligently gather data in uncertain regions, leading to significantly better and faster learning compared to simple e-greedy exploration.
  • Model-Based RL Can Bridge the Sample Complexity Gap: By combining model learning with policy optimization within the model, MARCO shows that model-based approaches can overcome the severe sample inefficiency of model-free methods in Dec-POMDPs.
  • Theoretical Guarantees for Model-Based Dec-POMDPs: The adaptation of R-MAX provides theoretical evidence that polynomial sample complexity is achievable for model-based RL in Dec-POMDPs, validating the empirical findings.

Key Results

MARCO consistently outperforms state-of-the-art model-free MARL algorithms in terms of sample efficiency across the tested environments:

  • Switch Riddle (without bridge): MARCO achieved a 20x improvement in sample efficiency compared to model-free IQL.
  • Simple Reference Game (MPE): MARCO was 20x more sample efficient than model-free QMIX, learning the optimal policy with 50k samples compared to 1 million.
  • Switch Riddle with Bridge: MARCO required only 50k samples, while model-free VDN needed approximately 600k samples (a 12x improvement).

Ablation studies showed that both the centralized model and the exploration policy are crucial for MARCO's success. Without the exploration policy, MARCO failed to learn the optimal policy, and without the exploration bonus, the learned policy was sub-optimal.

Limitations and Future Work

The authors acknowledge two main limitations:

  • Centralized Exploration Policy Deviation: The centralized exploration policy, by using the true state, might explore regions of the state-action space that are not accessible to agents due to partial observability. This could lead to collecting data in irrelevant areas.
  • Computational Cost: Model-based methods, including MARCO, generally require more wall-clock time due to the additional model-learning step compared to model-free methods. However, the authors assume that computation is cheap relative to environment interactions.

Future work directions include:

  • Investigating more sophisticated methods for choosing the centralized data exploration policy.
  • Extending MARCO to handle image-based observations by combining it with techniques from single-agent model-based RL for image inputs.

Summary updated

BibTeX
@inproceedings{zhang2022centralized,
  author = {Qizhen Zhang and Christopher Lu and Animesh Garg and Jakob N. Foerster},
  title = {{Centralized Model and Exploration Policy for Multi-Agent RL}},
  booktitle = {AAMAS},
  year = {2022},
  url = {https://openreview.net/forum?id=gPYJK8d6TkI},
}
Figure