A Model-Based Solution to the Offline Multi-Agent Reinforcement Learning Coordination Problem

Paul Barde, Jakob Foerster, Derek Nowrouzezahrai, Amy Zhang

TL;DR

Current model-free offline multi-agent reinforcement learning (MARL) algorithms struggle to coordinate because agents cannot interact during training to align their strategies. This paper introduces MOMA-PPO, the first model-based offline MARL method, which learns a centralized world model from static data to simulate agent interactions. This approach enables successful strategy agreement and fine-tuning, significantly outperforming model-free baselines—especially under partial observability.

What Problem Does This Paper Address?

Offline Reinforcement Learning (RL) allows agents to learn from pre-collected datasets without interacting with the environment. This is vital for real-world deployments (like robotics, autonomous driving, or macroeconomics) where active exploration is too costly, dangerous, or unethical.

However, when you scale offline RL to multi-agent systems (MARL), you hit a major roadblock: the offline coordination problem. In standard online MARL, agents co-adapt through continuous trial-and-error. In the offline setting, model-free agents only see a static snapshot of past behaviors. They cannot experiment to see how their updated policies blend together.

The authors formalize this breakdown into two distinct challenges:

  1. Strategy Agreement (SA): How do independent agents collectively choose which optimal team strategy to target when multiple equilibria exist?
  2. Strategy Fine-Tuning (SFT): Once a strategy is chosen, how do agents precisely calibrate their individual actions to support one another?

Prevalent model-free offline MARL methods fail here because their inherent conservatism forces them to stick strictly to the dataset, leaving them unable to break symmetries or fix miscoordinations present in the data.

Comparing online and offline learning in policy space to illustrate the offline coordination problem.

Methods

To restore the crucial inter-agent interaction loop without real-world exploration, the authors propose MOMA-PPO (Model-based Offline Multi-Agent Proximal Policy Optimization). The framework operates in two main phases:

  • Learning a Centralized World Model Ensemble: Using the Centralized Training Decentralized Execution (CTDE) paradigm, MOMA-PPO trains an ensemble of neural networks to predict the next state, reward, and termination condition based on the current global state and joint actions.
  • Uncertainty-Aware Synthetic Rollouts: Instead of training directly on the static dataset, agents are trained using an online MARL algorithm (MAPPO with QMIX value decomposition) inside the simulated environment of the learned world model.

What's New?

To prevent agents from exploiting inaccuracies in the simulated world model (a common failure mode in model-based RL), MOMA-PPO introduces two conservative mechanisms based on epistemic uncertainty (the variance in predictions across the model ensemble):

  • Uncertainty Penalization: The reward is penalized in regions where the ensemble models disagree.
  • Adaptive Rollout Termination: Synthetic trajectories are adaptively terminated via a timeout mask if the model's uncertainty crosses a threshold, keeping policy updates grounded in reliable state spaces.

Datasets

The authors evaluated their method across three distinct environments designed to test coordination under varying data qualities and observability levels:

Illustrations of the three evaluation environments.
  1. Offline Iterated Coordination Game: A toy matrix game used to isolate the Strategy Agreement challenge across favorable, neutral, and unfavorable data distributions.
  2. Two-Agent Reacher (Mixture-of-Experts): A continuous control task where the dataset contains an equal mix of two conflicting but optimal strategies (clockwise vs. counter-clockwise arm bends). It tests whether agents can successfully settle on a single convention under Full Observability (FO) and Partial Observability (PO).
  3. Four-Agent Ant: A multi-agent decomposition of the standard D4RL Ant task where each agent controls a single limb. The authors adapted standard single-agent D4RL datasets (random, medium, full-replay, expert) for both FO and PO settings.

Key Insights and Ideas

  • The Model-Free Conservatism Trap: Model-free offline methods rely heavily on policy regularization to stay close to the dataset. While this prevents dangerous out-of-distribution actions, it completely paralyzes the agents' ability to co-adapt or break symmetry if the dataset contains mixed or uncoordinated behaviors.
  • World Models Generalize Better Than Value Networks: In limited data regimes, learning the underlying physics/dynamics of the environment (the world model) provides a more robust generalization target than trying to directly estimate joint Q-values for unseen policy combinations.
  • Epistemic > Aleatoric Uncertainty: For deterministic environments, monitoring epistemic uncertainty (what the model doesn't know due to sparse data) is highly effective for bounding rollouts, whereas penalizing aleatoric uncertainty (inherent environment noise) degrades performance.

Key Results

MOMA-PPO consistently outpaced state-of-the-art model-free offline MARL baselines (such as MAIQL, OMAR, and ICQL):

  • Iterated Coordination Game: MOMA-PPO was the only decentralized execution method to achieve a perfect score (1.0) across all datasets, whereas model-free methods dropped to a 0.0 success rate on the unfavorable dataset.
  • Two-Agent Reacher: Under partial observability (leader-only mode), MOMA-PPO achieved a normalized score of 1.00 ± 0.01, significantly outperforming the best model-free baseline, MAIQL, which stalled at 0.73 ± 0.02.
  • Four-Agent Ant: In the highly challenging partially observable medium dataset (where only one agent can see the torso to "steer"), MOMA-PPO scored 0.54 ± 0.19, while all model-free baselines failed to coordinate effectively (scores $\le$ 0.22).

Remarkably, MOMA-PPO performs on par with fully centralized execution (IQL), effectively solving the multi-agent coordination problem without requiring centralized control at runtime.

Limitations and Future Work

  • Short-Horizon Constraints: To avoid compounding simulation errors, MOMA-PPO restricts synthetic rollouts to short horizons ($k$-steps). This horizon limit can prevent agents from discovering optimal goals that lie far outside the state coverage of the offline dataset.
  • Bounded by World Model Quality: The performance of MOMA-PPO is strictly capped by how well the world model can be learned. Ablations using a ground-truth simulator (MOMA-PPO-gt) showed significantly higher scores, implying that future advances in world modeling architectures will directly boost offline MARL performance.
  • Future Directions: The authors suggest exploring more sample-efficient off-policy algorithms (like SAC) within the model-based framework and scaling the approach to highly stochastic environments.

Summary updated

BibTeX
@misc{barde2023model,
  author = {Paul Barde and Jakob Foerster and Derek Nowrouzezahrai and Amy Zhang},
  title = {{A Model-Based Solution to the Offline Multi-Agent Reinforcement Learning Coordination Problem}},
  year = {2023},
  eprint = {2305.17198},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.17198},
}
Figure