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

Improving Generalization and Data Efficiency with Diffusion in Offline Multi-agent RL

Zhuoran Li, Ling Pan, Jiatai Huang, Longbo HuangarXiv 2023

TL;DR

The paper introduces DOM2 (Diffusion Offline Multi-agent Model), a novel framework that injects diffusion models into offline Multi-Agent Reinforcement Learning (MARL). By prioritizing policy expressiveness and diversity over strict conservatism, DOM2 achieves state-of-the-art performance, superior generalization to altered environments, and a massive 20× boost in data efficiency using a fully decentralized architecture.

What Problem Does This Paper Address?

Offline reinforcement learning avoids risky real-world exploration by training agents entirely on pre-collected datasets. However, it suffers heavily from distribution shift: if an agent selects an action not present in the dataset, its learned value estimates become highly inaccurate.

To combat this, standard offline MARL algorithms rely on conservatism, penalizing unfamiliar actions to keep agents tethered to the behavior policy. While safe, this approach severely limits policy expressiveness. In multi-agent settings, strict conservatism prevents agents from capturing complex, multi-modal action distributions and often traps them in poor local optima where they fail to cooperate effectively. Furthermore, when the environment undergoes subtle changes (shifted environments), these rigid policies break down entirely.

DOM2 uncovers diverse solutions compared to vanilla RL when multiple actions yield high rewards.

Methods

DOM2 shifts the paradigm from strict conservatism to expressiveness and diversity using three core components:

  1. Diffusion-Based Policy with Accelerated Sampling: Instead of standard multi-layer perceptrons (MLPs), DOM2 builds each agent's policy using a conditional diffusion model. This allows the policy to naturally capture multi-modal action distributions. To make execution practical, the authors integrate an accelerated DPM-Solver, reducing action generation from hundreds of denoising steps down to fewer than 10 steps.
  2. Value-Guided Policy Regularization: The training objective balances a diffusion score-matching loss (which keeps the policy grounded in the dataset) with a normalized Q-loss that pushes the diffusion model to preferentially sample actions with higher predicted rewards.
  3. Trajectory-Based Data Reweighting: To maximize the utility of the offline data, DOM2 replicates high-performing trajectories based on predefined reward thresholds. This simple data augmentation technique biases the dataset toward optimal behaviors before training even begins.

Crucially, unlike competing diffusion-based MARL methods that rely on Centralized Training with Decentralized Execution (CTDE), DOM2 is fully decentralized in both training and execution, significantly lowering computational overhead.

Diagram of the DOM2 algorithm showing how each agent generates actions via an iterative denoising process.

Datasets

The authors evaluated DOM2 across two widely used multi-agent benchmarks, generating six distinct dataset qualities (ranging from random to expert) following the D4RL standard:

  • Multi-Agent Particle Environments (MPE): Evaluated on Predator-Prey, World, and Cooperative Navigation tasks.
  • Multi-Agent MuJoCo (MAMuJoCo): Evaluated on the high-dimensional 2-agent HalfCheetah-v2 locomotion task.

To test generalization, they created shifted environments by randomly varying agent speeds in MPE and altering physical parameters (power, torso density, joint friction) in MAMuJoCo during evaluation.

Key Insights and Ideas

  • Diversity Breeds Robustness: Conservatism-based methods learn a single rigid way to solve a task. When the environment shifts, they fail. Because DOM2 uses a generative diffusion model, it discovers multiple distinct cooperative strategies. If one strategy fails due to environmental changes, the agents can adapt.
  • Decentralization is Viable for Diffusion MARL: Previous trajectory-level diffusion models (like MADIFF) require centralized attention mechanisms over the entire joint state-action history. DOM2 proves that independent, step-wise diffusion policies can outperform centralized models while being vastly more efficient.
  • Data Reweighting Amplifies Generative Models: Combining data reweighting with diffusion creates a powerful synergy. The reweighting filters out the noise of sub-optimal data, allowing the expressive diffusion model to focus its generative capacity on modeling high-reward behaviors.

Key Results

  • State-of-the-Art Performance: DOM2 consistently outperformed top baselines (MA-CQL, OMAR, MA-SfBC) across virtually all standard MPE and MAMuJoCo tasks.
  • Superior Generalization: In shifted environments, DOM2 achieved the best performance in 28 out of 30 evaluated settings, demonstrating remarkable robustness to environmental variations.
  • 20× Data Efficiency: DOM2 requires no more than 5% of the dataset to match or exceed the performance of baseline algorithms trained on 100% of the data.
Data efficiency curves showing DOM2 outperforming baselines with a fraction of the samples.
  • Computational Efficiency: Compared to CTDE diffusion baselines like MADIFF and DoF, DOM2 reduced GPU memory usage by 4× to 6× and accelerated training times by 80–85%, making it highly scalable.

Limitations and Future Work

The primary limitation acknowledged by the authors lies in the Trajectory-Based Data Reweighting scheme. Currently, choosing the optimal set of reward thresholds ($R$) requires manual tuning because return distributions vary drastically across different tasks and dataset qualities.

As a direction for future work, the authors suggest developing adaptive or automated threshold-tuning mechanisms that can dynamically adjust to the dataset's characteristics without human intervention.

Summary updated

BibTeX
@misc{li2023improving,
  author = {Zhuoran Li and Ling Pan and Jiatai Huang and Longbo Huang},
  title = {{Improving Generalization and Data Efficiency with Diffusion in Offline Multi-agent RL}},
  year = {2023},
  eprint = {2307.01472},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.01472},
}
Figure