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

Dongbin Zhao (Institute of Automation, Chinese Academy of Sciences) · Zijie Zhao (Institue of Automation, Chinese Academy of Sciences) · Zhongyue Zhao (Institute of automation, Chinese academy of science, Chinese Academy of Sciences) · Kaixuan Xu (Institute of automation, Chinese academy of science) · Yuqian Fu (Institute for Computer Science, Artificial Intelligence and Technology) · Jiajun Chai (Institute of automation, Chinese academy of science, Chinese Academy of Sciences) · Yuanheng Zhu (Institute of automation, Chinese academy of science, Chinese Academy of Sciences)
bi-dexhandsbounded similaritygradient conflictsknowledge reusema-mujocomixture-of-expertsmodularitymulti-task adaptabilitymulti-task multi-agent reinforcement learningoptimal policiesplanningpolicy-centric methodssample efficiencysoftmoesparsemoeworld model

Multi-task multi-agent reinforcement learning (MT-MARL) aims to develop a single model capable of solving a diverse set of tasks. However, existing methods often fall short due to the substantial variation in optimal policies across tasks, making it challenging for a single policy model to generalize effectively. In contrast, we find that many tasks exhibit **bounded similarity** in their underlying dynamics—highly similar within certain groups (e.g., door-open/close) diverge significantly between unrelated tasks (e.g., door-open \& object-catch). To leverage this property, we reconsider the role of modularity in multi-task learning, and propose **M3W**, a novel approach that applies mixture-of-experts (MoE) to world model instead of policy, enabling both learning and planning. For learning, it uses a SoftMoE-based dynamics model alongside a SparseMoE-based predictor to facilitate knowledge reuse across similar tasks while avoiding gradient conflicts across dissimilar tasks. For planning, it evaluates and optimizes actions using the predicted rollouts from the world model, without relying directly on a explicit policy model, thereby overcoming the limitations of policy-centric methods. As the first MoE-based multi-task world model, M3W demonstrates superior performance, sample efficiency, and multi-task adaptability, as validated on Bi-DexHands with 14 tasks and MA-Mujoco with 24 tasks. The demos and anonymous code are available at \url{https://github.com/zhaozijie2022/m3w-marl}.