TL;DR
Training a single world model to plan across multiple, highly diverse tasks usually fails due to gradient conflicts and a catastrophic loss of network flexibility known as "plasticity collapse." This paper introduces ScaleZero, a multi-task planning agent that leverages a sparse Mixture-of-Experts (MoE) backbone and an online Dynamic Parameter Scaling (DPS) strategy to isolate conflicting task updates. The resulting model successfully matches or exceeds single-task expert performance across 48 distinct environments while slashing data collection costs by up to 28.5%.
What Problem Does This Paper Address?
Building a "generalist agent"—one AI model capable of playing Atari games, controlling robotic joints, and solving text adventures—is a holy grail of reinforcement learning. Unified world models allow agents to encode environments into a compact latent space and use lookahead planning algorithms like Monte Carlo Tree Search (MCTS) to make decisions.
However, when you try to train a single, dense model on a wide variety of tasks simultaneously, it hits two major roadblocks:
- Representational Bottlenecks and Plasticity Collapse: Simpler, fast-converging tasks dominate the model's gradients. This suppresses the learning signals for complex tasks, causing network features to degenerate and rendering neurons permanently inactive (dormant).
- Static Resource Allocation: Traditional architectures treat all tasks equally, wasting valuable computational and data-gathering resources on tasks the model has already mastered instead of focusing on the ones it is failing to learn.
The authors demonstrate this failure clearly using a baseline model (UniZero) across an Atari suite, where initial progress on complex games is followed by a sudden, catastrophic performance collapse.
Methods
To solve these issues, the authors look at multi-task learning from two angles: the architecture within a single learning step, and the curriculum of the overall training process.
1. The ScaleZero Architecture
After systematically exploring the design space (including task conditioning, encoder choices, and normalization schemes), the authors developed ScaleZero. Its defining feature is a sparse Mixture-of-Experts (MoE) transformer backbone. Instead of passing every piece of data through the same dense layers, ScaleZero uses a gating router to dynamically direct task-specific representations to 1 of 8 specialized sub-networks (experts) alongside a shared expert. This structural separation prevents gradients from different tasks from canceling each other out.
2. Dynamic Parameter Scaling (DPS)
To optimize resource allocation over time, the authors introduce DPS, an external training strategy that couples model capacity directly to learning progress:
- Adaptive Task Curation: The model tracks task performance in real time. Once a task meets a "solved" threshold, it is removed from the active training set, immediately halting unnecessary data collection and compute.
- Staged Capacity Expansion: Training begins with a frozen base model. As the agent encounters harder, unsolved tasks, DPS progressively injects lightweight LoRA (Low-Rank Adaptation) adapters to expand model capacity on demand, freezing older parameters to prevent the model from forgetting previously mastered skills.
Datasets
The authors evaluated ScaleZero purely in online reinforcement learning settings (without relying on expert demonstration data) across 48 tasks spanning three distinct modalities:
- Atari 100k Benchmark: 26 visually complex discrete video games (with a subset of 8 games used for initial diagnostics and ablations).
- DeepMind Control (DMC) Suite: 18 state-based continuous control tasks utilizing MuJoCo physics.
- Jericho: 4 text-based interactive fiction adventure games that demand natural language understanding and long-horizon planning.
Key Insights and Ideas
- Plasticity Collapse is Measurable: The paper proves that performance drops are tightly linked to internal network dynamics—specifically, a sharp spike in the dormant neuron ratio and an uncontrolled inflation of the latent state norm.
- MoE as a Mathematical Buffer: The authors provide a formal proof showing that a sparse MoE layer maintains a strictly lower upper bound on gradient conflict than a dense layer. By routing tasks to disjoint expert subsets, the inner products between task gradients drop near zero.
- Input Conditioning is Insufficient: Simply appending a task ID embedding to the input layer (a common multi-task shortcut) fails to prevent deep representational conflicts in online settings.
- Emergent Hierarchical Plasticity: Under the DPS strategy, the model naturally learns a hierarchical division of labor: it rigidly preserves foundational, low-level features in early layers while allowing later layers to remain highly dynamic and adaptive to unsolved tasks.
Key Results
- Surpassing Specialists on Atari: ScaleZero achieved a higher mean human-normalized score (0.39) across 26 Atari games than a suite of 26 independently trained single-task specialists (0.38), proving that the architecture enables positive knowledge transfer.
- Robust Continuous Control: On the 18 DMC tasks, ScaleZero achieved a superior median score (887.3) compared to the single-task baselines (875.1).
- Massive Efficiency Gains: When augmented with the DPS strategy on the DMC benchmark, ScaleZero matched the performance of single-task agents while reducing total environment interactions by 28.5% (using just 71.5% of the data budget).
Limitations and Future Work
- DPS Domain Generalization: While ScaleZero was validated across all three benchmarks, the DPS training strategy was only empirically tested on the continuous DMC-18 suite. Verifying its effectiveness on discrete visual (Atari) and text (Jericho) domains is an immediate next step.
- Orthogonal Components: Currently, the MoE backbone and LoRA scaling operate independently. The authors plan to explore deeper synergies, such as using LoRA to adapt the MoE gating network itself to stabilize routing during rapid distribution shifts.
- The Online Bottleneck: Purely online learning suffers from "cold start" inefficiencies. The authors note that integrating large-scale offline pre-training to initialize ScaleZero's weights could drastically accelerate adaptation to new tasks.
Summary updated