NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Coordination Failure in Cooperative Offline MARL

Callum Rhys Tilbury, Juan Claude Formanek, Louise Beyers, Jonathan Phillip Shock, Arnu Pretorius

TL;DR

This paper tackles the critical problem of coordination failure in offline multi-agent reinforcement learning (MARL), where agents learn from static datasets. They identify a specific failure mode in the common "Best Response Under Data" (BRUD) approach and propose "Proximal Joint-Action Prioritisation" (PJAP) to mitigate it by intelligently sampling data based on policy similarity, demonstrating its effectiveness in both simple games and a more complex benchmark.

What Problem Does This Paper Address?

Multi-agent reinforcement learning (MARL) aims to train multiple agents to cooperate or compete effectively. Offline MARL is particularly interesting because it allows learning from pre-collected datasets without further interaction with the environment, making it suitable for real-world applications where online exploration is costly or dangerous. However, a significant challenge in offline MARL is coordination failure. Unlike online settings where agents can test and correct coordination issues, in offline MARL, agents are constrained by the static data. A common approach, termed "Best Response Under Data" (BRUD), involves agents learning to act as a best response to the actions of other agents as observed in the dataset. This paper highlights that this seemingly intuitive approach can lead to catastrophic coordination failures, especially when the dataset's characteristics don't align with the current learned policy.

Methods

The authors introduce Proximal Joint-Action Prioritisation (PJAP) as a novel approach to address coordination failure in offline MARL. PJAP builds upon the idea of prioritized experience replay, but instead of prioritizing samples based on their prediction error, it prioritizes samples that are more "similar" to the current learned joint policy.

Here's a breakdown:

  • BRUD (Best Response Under Data): This is the baseline approach they analyze. In BRUD, an agent updates its policy to be a best response to the actions of other agents as recorded in the dataset. This means the update direction is heavily influenced by the historical data, not necessarily the current optimal policy.
  • Polynomial Games: To analytically study coordination failure, the authors use simple, two-player polynomial games. These games are stateless and have continuous action spaces, allowing for clear visualization and mathematical analysis of policy updates.
  • PJAP (Proximal Joint-Action Prioritisation): This is their proposed solution. PJAP works by assigning priorities to data samples (or trajectories) based on a similarity metric between the current learned joint policy and the dataset-generating policy (approximated by the actions in the dataset). Samples that are more similar to the current policy are given higher priority for training. This helps ensure that the policy updates are guided by data that is more relevant to the current state of learning, thus avoiding drastic misalignments that lead to coordination failure. They propose a specific formulation using an exponential decay based on a distance metric (e.g., L1 norm).

Datasets

The paper primarily uses synthetic datasets generated from the polynomial games for analysis and experimentation.

  • Polynomial Games: Datasets are generated from various polynomial games, including the "sign-agreement game" ($R(a_x, a_y) = a_x a_y$), "action agreement game" ($R = -(a_x - a_y)^2$), and "Twin Peaks" game. These datasets are often characterized by their mean and variance.
  • MAMuJoCo: For more complex experiments, they use the 2-Agent HalfCheetah environment from the MAMuJoCo benchmark. They specifically mention using "Good" and "Good-Medium" datasets from the OG-MARL repository.

Key Insights and Ideas

  • BRUD's Achilles' Heel: The core insight is that the "Best Response Under Data" (BRUD) approach, while seemingly sensible for offline learning, can lead to catastrophic coordination failure. This happens when the dataset's average actions (or its distribution) are misaligned with the current policy's direction, causing updates that move the agents away from optimal behavior.
  • Dataset Bias is Critical: The analysis with polynomial games reveals that the mean and variance of the dataset can drastically influence the learning outcome. In some cases, even an infinitely large dataset can fail to converge to the true optimum if it's not structured correctly relative to the policy.
  • Similarity is Key: The paper argues that prioritizing data samples that are similar to the current learned policy is crucial for successful offline MARL. This "Proximal Joint-Action Prioritisation" (PJAP) helps to keep the learning process grounded and avoids the detrimental effects of stale or misaligned data.
  • Tractable Games Inform Complex Problems: The authors demonstrate that insights gained from simplified, analytical tools like polynomial games can directly inform solutions for more complex, high-dimensional MARL problems.

Key Results

  • Coordination Failure Demonstrated: Through polynomial games, the paper clearly illustrates how BRUD can lead to policies moving in the wrong direction, resulting in lower rewards, as shown in Figure 1 and Figure 3.
  • PJAP Solves Miscoordination: Experiments show that PJAP significantly improves performance in scenarios where BRUD fails. For instance, in the Twin Peaks game (Figure 4), BRUD fails to find the optimum unless the dataset variance is zero, whereas PJAP consistently finds the correct solution across various dataset variances (Figure 5).
  • Reduced Action Distance: In the MAMuJoCo experiments (Figure 6), PJAP successfully reduces the mean distance between the sampled actions from the dataset and the actions predicted by the current learned policy, compared to the baseline MADDPG+CQL. This reduction in distance correlates with improved performance.
  • Empirical Validation: The proposed PJAP method is shown to be effective in both simplified polynomial games and the more complex 2-Agent HalfCheetah environment.

Limitations and Future Work

  • Simplified Settings: The paper acknowledges that the theoretical analysis relies heavily on simplified, stateless polynomial games. While these provide interpretability, they may not fully capture the complexities of real-world, stateful MARL environments.
  • Dataset-Generating Policy Approximation: In practice, the true dataset-generating policy is unknown. The paper uses sampled actions as a proxy, which is an approximation.
  • Computational Cost: Recomputing priorities for all trajectories at each update step can be computationally expensive. The authors address this by updating priorities for subsets of samples.
  • Distance Metric Design: Finding a universally performant, "context-agnostic" distance metric for PJAP is identified as a challenging but important area for future work. The current implementations use context-specific metrics (e.g., L1 norm).
  • Future Directions: The authors suggest that prioritized dataset sampling is a promising avenue for future research in offline MARL and can be combined with other techniques like critic and policy regularization. They also highlight the need for further work on developing robust distance metrics for PJAP.

Summary updated

BibTeX
@inproceedings{tilbury2024coordination,
  author = {Callum Rhys Tilbury and Juan Claude Formanek and Louise Beyers and Jonathan Phillip Shock and Arnu Pretorius},
  title = {{Coordination Failure in Cooperative Offline MARL}},
  booktitle = {ARLET @ ICML},
  year = {2024},
  url = {https://openreview.net/forum?id=gR73lhgNBl},
}
Figure