TL;DR
This paper introduces EfficientZero-Multitask (EZ-M), a sample-efficient model-based reinforcement learning (MBRL) algorithm that unlocks a "positive scaling law" for online robot learning: training on more tasks simultaneously actually improves sample efficiency. By leveraging the fact that physical laws are invariant across tasks, EZ-M uses task diversity as a regularizer to build a robust world model, outperforming massive 1-billion-parameter model-free baselines on complex humanoid control benchmarks using just 16 million parameters.
What Problem Does This Paper Address?
Building generalist robots that can master a wide variety of skills is a holy grail of embodied AI. While the standard recipe in computer vision and NLP is to scale up model parameters and train on massive offline datasets, robotics hits a unique bottleneck: robots must actively interact with physical environments to correct errors and adapt to dynamic changes.
Scaling up online learning, however, is notoriously difficult. If you try to train a single model-free (MF) agent on many different tasks at once, it suffers from gradient interference. Because different tasks might require completely opposite actions in similar states (e.g., turning left to navigate a maze vs. turning right to avoid a hurdle), the conflicting gradients cause the policy to stall or collapse. As a result, standard multi-task reinforcement learning often performs worse as more tasks are added.
Methods
The authors flip the script by arguing that online learning should scale the number of tasks, not the number of samples per task, using Model-Based Reinforcement Learning (MBRL). Their key insight is that while policies conflict, physics is invariant. Whether a robot is walking, crawling, or climbing stairs, the underlying physical dynamics of its body and the environment remain the same.
They introduce EfficientZero-Multitask (EZ-M), which builds upon the sample-efficient EfficientZero-v2 framework and introduces several multi-task innovations:
- Task-Conditioned World Model: EZ-M uses a shared dynamics backbone paired with lightweight, learnable task embeddings. This allows the model to learn a unified representation of physics while specializing in task-specific rewards.
- Path Consistency Loss: To prevent compounding errors during planning, this loss forces the learned value function and reward predictors to be mutually consistent across imagined future rollouts.
- Categorical Modeling: Instead of predicting exact scalar values for rewards and values, EZ-M predicts discrete probability distributions. This naturally handles wildly different reward scales across tasks without requiring complex normalization.
- Independent Experience Replay (IER): To prevent easier or high-reward tasks from dominating the training data, the system maintains separate replay buffers for each task and samples from them evenly.
- Standardized Interface: Action masking and observation padding are used to cleanly handle tasks that have different action or observation dimensions.
For planning, EZ-M utilizes Monte Carlo Tree Search (MCTS) via Gumbel Search to optimize actions entirely within a latent state space.
Datasets
The authors evaluate EZ-M on HumanoidBench, a highly challenging whole-body control benchmark featuring an H1 humanoid robot. They test two difficulty tiers, restricting all agents to a strict budget of 1 million environment steps:
- Medium Tier (9 tasks): Locomotion challenges without hand control, including stand, walk, run, stair, crawl, slide, pole, hurdle, and maze.
- Hard Tier (14 tasks): The same 9 locomotion tasks plus complex manipulation/stationary challenges using the H1Hand: sit-simple, sit-hard, balance-simple, balance-hard, and reach.
Key Insights and Ideas
- Task Diversity as a Regularizer: In model-based RL, training on a diverse set of tasks acts as a regularizer for the world model. It forces the network to learn the true causal structure of the environment rather than overfitting to the narrow state distributions of a single task.
- Decoupling Physics from Policy: Model-free methods entangle physics and policy, leading to gradient conflict. By decoupling them, EZ-M allows the invariant physics model to aggregate data seamlessly across all tasks, while task-specific heads handle the intent.
- Structure Beats Brute Force: The strongest baseline, BRC, relies on a massive 1-billion-parameter model-free architecture to absorb multi-task interference. EZ-M achieves superior sample efficiency and higher scores with a compact model of only 16 million parameters by relying on structured world models and online planning.
Key Results
EZ-M achieved state-of-the-art (SoTA) performance across the board on HumanoidBench, effectively solving 7 out of 9 tasks in the Medium setting and 10 out of 14 in the Hard setting.
- The Positive Scaling Law: When evaluating performance across task cardinalities ($N \in \{1, 4, 9\}$), EZ-M demonstrated clear positive transfer. Its average normalized score consistently improved as more tasks were trained simultaneously under the same total step budget.
- Computational Efficiency: Thanks to an asynchronous distributed architecture that decouples environment rollouts from model optimization, EZ-M required only ~10 hours on 2x NVIDIA A40 GPUs to complete 1 million steps. In comparison, the BRC baseline took over 40 hours on a single A40 GPU.
Limitations and Future Work
Despite its success, the authors note a few key limitations:
- Intricate Self-Contact Dynamics: EZ-M underperformed on stationary tasks like
sit-hard. The authors hypothesize that complex self-contact dynamics (the robot's limbs interacting with its own body) are still incredibly difficult for world models to accurately predict. - MCTS Latency: While highly effective for sample efficiency, tree search introduces computational overhead during inference, which can pose latency challenges for high-frequency, real-world robotic deployment.
- Shared Embodiment Assumption: The current framework assumes all tasks share the same physical robot body. Transfer efficacy might degrade if applied across heterogeneous robot morphologies.
Future Directions: The authors plan to explore distilling the heavy MCTS planner into a lightweight policy network for real-time deployment, as well as integrating language-conditioned goals to extend EZ-M toward open-ended instruction following.
Summary updated