One Model for All Tasks: Leveraging Efficient World Models in Multi-Task Planning

Yuan Pu, Yazhe Niu, Jia Tang, Junyu Xiong, Shuai Hu +1 more
9/9/2025
cs.LG

Official code: opendilab/LightZero (1,627 stars, Apache-2.0, PyTorch, last commit 2026-05-02).

Abstract

In heterogeneous multi-task decision-making, tasks not only exhibit diverse observation and action spaces but also vary substantially in their underlying complexities. While conventional multi-task world models like UniZero excel in single-task settings, we find that when handling a broad and diverse suite of tasks, gradient conflicts and the loss of model plasticity often constrain their sample efficiency. In this work, we address these challenges from two complementary perspectives: the single learning iteration and the overall learning process. First, to mitigate the gradient conflicts, we systematically investigate key architectural designs for extending UniZero. Our investigation identifies a Mixture-of-Experts (MoE) architecture as the most effective approach. We demonstrate, both theoretically and empirically, that this architecture alleviates gradient conflicts by routing task-specific representations to specialized sub-networks. This finding leads to our proposed model, \textit{ScaleZero}. Second, to dynamically allocate model capacity throughout the learning process, we introduce an online Dynamic Parameter Scaling (DPS) strategy. This strategy progressively integrates LoRA adapters in response to task-specific progress, enabling adaptive knowledge retention and parameter expansion. Evaluations on a diverse set of standard benchmarks (Atari, DMC, Jericho) demonstrate that ScaleZero, utilizing solely online reinforcement learning with one model, performs on par with specialized single-task agents. With the DPS strategy, it remains competitive while using just 71.5% of the environment interactions. These findings underscore the potential of ScaleZero for effective multi-task planning. Our code is available at \textcolor{magenta}{https://github.com/opendilab/LightZero}.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

[NeurIPS 2023 Spotlight] LightZero: A Unified Benchmark for Monte Carlo Tree Search in General Sequential Decision Scenarios (awesome MCTS)

1,627196C++, CMakeOct 8, 20225 months agoApache-2.0
alpha-beta-pruningalphazeroatariboard-gameboard-games+15 more

Similar Papers

Cite this paper

@article{pu2025model,
  title  = {One Model for All Tasks: Leveraging Efficient World Models in Multi-Task Planning},
  author = {Yuan Pu and Yazhe Niu and Jia Tang and Junyu Xiong and Shuai Hu and Hongsheng Li},
  year   = {2025},
  eprint = {2509.07945},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.07945v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.07945.svg)](https://codeofpaper.com/paper/2509.07945)

Discussion