Offline Multi-Agent Reinforcement Learning via Sequential Score Decomposition

Dan Qiao, Wenhao Li, Shanchao Yang, Hongyuan Zha, Baoxiang Wang

Introduction

Offline cooperative multi-agent reinforcement learning (MARL) offers the promise of training teams of agents from fixed datasets without the need for costly or dangerous live environment exploration. However, it faces a unique and severe challenge: distribution shift. The gap between the behaviors agents learn and the behaviors present in the data is exacerbated in multi-agent settings. This paper introduces OMSD (Offline Multi-agent Reinforcement Learning via Sequential Score Decomposition), a novel framework that leverages diffusion models to capture complex, multi-modal dependencies between agents, preventing coordination failure and ensuring agents remain synchronized with the dataset's underlying modes.

The Challenge: Combinatorial Mode Shift

In offline MARL, datasets are frequently "messy" and highly multimodal, containing mixtures of different successful strategies collected from various sources. The authors identify a specific pathology arising from this called Combinatorial Mode Shift (CMS).

If Agent A independently adopts "Strategy 1" from the dataset while Agent B adopts "Strategy 2," their combined joint action may be entirely out-of-distribution (OOD)—a disastrous combination that exists nowhere in the training data. Standard offline MARL methods typically regularize agents independently. The paper mathematically demonstrates the "Product of Marginals Trap": as the number of agents ($n$) increases, the probability of selecting a valid joint action using independent regularization drops exponentially ($2^{1-n}$). This inadvertently encourages uncoordinated, mix-and-match behaviors that fail during execution.

The OMSD Framework

To overcome CMS, OMSD discards the assumption of independent agent behaviors and introduces a modality-aware coordination mechanism.

1. Sequential Decomposition

Instead of treating the joint behavior policy as a simple product of individual marginal probabilities, OMSD applies the probability chain rule to decompose it: $\mu(a|s) = \prod_{i=1}^n \mu_i(a_i | s, a_{<i})$. Each agent’s behavior is modeled conditionally on the actions of the preceding agents in an arbitrary sequence. Interestingly, the authors found that the specific sequence order does not significantly impact performance; capturing any sequential dependency is sufficient to resolve coordination failures.

2. Diffusion-Based Score Regularization

OMSD employs diffusion generative models to learn the "score" (the gradient of the log-probability) of these conditional distributions. During policy updates, these scores act as a bottom-up guide, constraining the agents to the modes found in the dataset. Unlike some diffusion-based RL methods that rely on slow, iterative sampling to generate actions, OMSD strictly uses the diffusion model to provide gradients. This distinction makes the resulting policy lightweight and fast enough for real-time execution.

3. Centralized Critic, Decentralized Execution (CTDE)

The framework adheres to the CTDE paradigm. A centralized critic, trained via Implicit Q-Learning, provides top-down reward guidance. Crucially, while training is sequential to capture inter-agent dependencies, the final learned policies are decentralized. Agents can execute their policies simultaneously in the environment without needing to observe their peers' actions.

Experimental Results

The researchers evaluated OMSD across several standard continuous control MARL benchmarks, utilizing datasets of varying quality (ranging from "Expert" to "Random" and "Medium-Replay"):

  • Toy Bandit Task: A 2-agent cooperative game specifically designed to highlight coordination failures.
  • Multi-Agent Particle Environments (MPE): Including tasks like Cooperative Navigation and Predator-Prey.
  • Multi-Agent MuJoCo (MaMuJoCo): A suite where different agents control distinct joints of a single robot (e.g., 2-agent HalfCheetah, 4-agent Ant).

Key Findings: * State-of-the-Art Performance: OMSD consistently outperformed strong baselines, including MADiff, DoF, and OMIGA, across nearly all tasks. * Robustness on Mixed Data: The method excelled on "Medium" and "Random" datasets, where data is most multimodal and confusing for standard algorithms. On the OMIGA benchmarks, OMSD achieved an impressive average improvement of 73.9% over the strongest baseline. * Qualitative Coordination: t-SNE visualizations confirmed that OMSD policies successfully converge to high-reward regions while remaining strictly within the support boundaries of the original dataset, effectively sidestepping OOD pitfalls.

Limitations and Future Work

While OMSD presents a significant step forward for offline MARL, the authors note a few limitations:

  • Action Spaces: The current formulation is tailored for continuous control tasks. Validating the framework on discrete or hybrid action spaces remains an area for future research.
  • Computational Overhead: Pre-training a separate conditional diffusion model for every agent introduces computational costs, although this process is fully parallelizable.
  • Critic Dependency: As with most offline RL methods, OMSD's success is bottlenecked by the quality of its centralized critic. Poorly estimated value functions (e.g., from extremely low-quality data) will limit policy improvement.
  • Scalability: Tested on up to 6 agents, future work will explore how well sequential decomposition scales to much larger teams or swarm systems.

Conclusion

OMSD provides a robust solution to the distribution shift and coordination failures inherent in offline MARL. By sequentially decomposing the joint behavior policy and leveraging diffusion-based score regularization, it ensures agents remain coordinated within high-value, in-distribution regions, paving the way for more reliable multi-agent systems trained from static datasets.

Summary updated

BibTeX
@inproceedings{qiao2026offline,
  author = {Dan Qiao and Wenhao Li and Shanchao Yang and Hongyuan Zha and Baoxiang Wang},
  title = {{Offline Multi-Agent Reinforcement Learning via Sequential Score Decomposition}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=Q6Kt8mROxg},
}
Figure