Learning and Planning Multi-Agent Tasks via an MoE-based World Model

Zijie Zhao, Zhongyue Zhao, Kaixuan Xu, Yuqian Fu, Jiajun Chai, Yuanheng Zhu, Dongbin ZhaoNeurIPS 2025

In the world of Multi-Agent Reinforcement Learning (MARL), the holy grail is a single model that can master a wide variety of tasks. Imagine a pair of robotic hands that can not only catch a ball but also open a door, stack blocks, and pour water. Traditionally, researchers have tried to build "universal policies" to achieve this. However, a new paper suggests we’ve been looking at the problem backward.

Instead of making the policy modular, the authors propose making the world model modular. Their new framework, M3W, uses a Mixture-of-Experts (MoE) architecture to learn how the world works, enabling agents to plan their way through complex, multi-task environments with unprecedented efficiency.

TL;DR

M3W is the first framework to integrate Mixture-of-Experts (MoE) into a multi-agent world model, exploiting "bounded similarity" in environment dynamics. By shifting modularity from the policy to the world model and using it for direct action planning, M3W achieves state-of-the-art performance and sample efficiency across 38 challenging tasks.

What Problem Does This Paper Address?

Multi-task learning in multi-agent settings is notoriously difficult. The core issue is gradient interference: the optimal way to move a hand to catch a ball is completely different from the way you move it to turn a door handle. When you try to train one single policy network to do both, the updates for one task often "clobber" the progress made on the other.

t-SNE visualization showing bounded similarity in dynamics compared to policies.

The authors identify a key property they call bounded similarity. While the policies for different tasks are often mutually exclusive, the dynamics (the physics of how objects move) are often shared. Opening a door inward is physically similar to opening it outward, but both are entirely different from catching a ball. Existing methods fail because they don't exploit these local similarities while isolating the differences.

Methods

The authors introduce M3W (MoE-based World model for multi-agent Multi-task), which fundamentally rethinks where modularity belongs in the learning pipeline.

Overview of the M3W framework and its multi-task performance compared to baselines.

The framework consists of two main components:

  1. The MoE-based World Model: Instead of one giant neural network, the world model is split into specialized "experts."
    • Dynamics Model (SoftMoE): To predict how the environment changes, M3W uses a SoftMoE approach. It "softly" routes information from all agents to different experts and aggregates their outputs. This allows the model to reuse physical knowledge across similar tasks (like different types of door-opening).
  2. Reward Predictor (SparseMoE): Since rewards are often very task-specific, M3W uses a SparseMoE. It only activates the "top-K" experts most relevant to the current task, preventing unrelated tasks from interfering with each other's reward logic.
  3. The Multi-Agent Planner: Rather than relying on a fixed policy, M3W uses Model Predictive Path Integral (MPPI). It uses the world model to "imagine" thousands of possible future action sequences, evaluates them based on predicted rewards, and selects the best path. An "Actor Prior" helps generate smart candidate actions to speed up this search.

Datasets

The researchers evaluated M3W on two massive, high-dimensional benchmarks:

  • Bi-DexHands (14 tasks): Two ShadowHands performing complex manipulations like catch-abreast, bottle-cap, and lift-underarm. These involve up to 229-dimensional observations.
  • MA-MuJoCo (24 tasks): Multi-agent versions of classic locomotion tasks like Cheetah-run, Walker2D-walk, and Hopper-hop.

These benchmarks were chosen specifically because they contain groups of tasks with high internal similarity but low cross-group similarity, perfectly testing the "bounded similarity" hypothesis.

Key Insights and Ideas

  • Modularity in the "Where," not the "How": By putting the MoE in the world model (the "where" and "what" of the environment) rather than the policy (the "how" of the agent), the system becomes much more robust. Dynamics are more stable and easier to group than optimal behaviors.
  • The Power of Soft vs. Sparse: The choice of SoftMoE for dynamics and SparseMoE for rewards is brilliant. Dynamics benefit from sharing "bits" of knowledge across many experts, while rewards need the strict isolation provided by sparse routing to avoid confusion.
  • Bypassing the Policy Bottleneck: Because M3W plans using its world model, it doesn't get stuck when a policy fails to generalize. If the world model understands the physics, the planner can find a solution even for a task it hasn't seen exactly in that configuration before.

Key Results

  • Dominant Performance: M3W achieved the highest scores on 71% of the 38 tasks tested, outperforming heavyweights like MAPPO, MAT, and HMASD.
  • Sample Efficiency: In tasks like catch-underarm, M3W converged significantly faster than baselines, effectively "borrowing" knowledge from other catching tasks.
  • Robustness to Reward Scaling: M3W proved highly resilient to "reward imbalance"—situations where one task provides much larger numerical rewards than another, which typically crashes standard RL algorithms.

Limitations and Future Work

The primary limitation is that M3W currently only supports continuous action spaces. This is due to the underlying MPPI planner, which relies on sampling from Gaussian distributions.

The authors suggest that future work could integrate M3W with planners like Monte Carlo Tree Search (MCTS) to handle discrete tasks (like those found in StarCraft or board games). Additionally, while the MoE architecture is efficient, it does increase the total parameter count, representing a trade-off between model size and multi-task adaptability.

Paper Title: Learning and Planning Multi-Agent Tasks via an MoE-based World Model
Authors: Zijie Zhao, Zhongyue Zhao, Kaixuan Xu, Yuqian Fu, Jiajun Chai, Yuanheng Zhu, Dongbin Zhao.
Conference: NeurIPS 2025 (39th Conference on Neural Information Processing Systems).

Summary updated

BibTeX
@inproceedings{zhao2025learning,
  author = {Zijie Zhao and Zhongyue Zhao and Kaixuan Xu and Yuqian Fu and Jiajun Chai and Yuanheng Zhu and Dongbin Zhao},
  title = {{Learning and Planning Multi-Agent Tasks via an MoE-based World Model}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=fi24ry0BX5},
}
Figure