EfficientZero V2: Mastering Discrete and Continuous Control with Limited Data

Shengjie Wang, Shaohuai Liu, Weirui Ye, Jiacheng You, Yang Gao

The Quest for a Generalist RL Framework

Reinforcement Learning (RL) has achieved incredible feats, from beating world champions at Go to controlling complex robots. However, most RL algorithms are notoriously "data hungry," requiring millions or even billions of interactions with an environment to learn effectively. In the real world—where robots wear out and time is expensive—this inefficiency is a major bottleneck.

While researchers have developed "sample-efficient" algorithms that learn from limited data, they usually specialize. Some excel at discrete actions (like pressing Atari buttons) but fail at continuous ones (like adjusting joint torques). Others handle raw image pixels well but struggle with low-dimensional sensor data. The "holy grail" of RL is a single, general framework that is highly efficient across all these domains.

EfficientZero V2 (EZ-V2) aims to be exactly that framework. By combining a novel sampling-based Gumbel search with improved value estimation, it masters both discrete and continuous control tasks using remarkably little data.

Performance comparison across diverse domains

Core Innovations: How EfficientZero V2 Works

EZ-V2 builds upon the original EfficientZero (which was based on MuZero). It uses a Model-Based approach, meaning the agent learns a "world model" to predict future states and rewards, allowing it to "plan" in its head before acting in the real environment.

EfficientZero V2 Architecture and Sampling-based Gumbel Search

To achieve its generalist capabilities, the authors introduce several key technical innovations:

  • Sampling-based Gumbel Search: Standard Monte Carlo Tree Search (MCTS) struggles with the infinite possibilities of continuous action spaces. EZ-V2 adapts "Gumbel MuZero" by sampling a subset of actions from a learned policy and using a bandit-style selection process. This guarantees policy improvement even in high-dimensional continuous spaces, proving that tree search is a powerhouse for robotics, not just board games.
  • Search-Based Value Estimation (SVE): One of the biggest hurdles in RL is "off-policy" learning—using old data to update a new policy. In limited-data settings, reusing old data from a replay buffer is essential. SVE acts as a "correction fluid" for this stale data. It uses the search tree to "re-imagine" trajectories, creating more accurate value targets that reflect the agent's current understanding.
  • Mixed Value Target: To stabilize learning, the model dynamically switches between standard temporal difference (TD) learning (which is good for early, fresh data) and SVE (which is better for later, stale data).
  • Action Embeddings: Instead of treating actions as raw numbers, the model learns a latent representation. This helps the agent generalize what it learns about one action to similar ones, further boosting efficiency.

Benchmarks and Key Results

The researchers put EZ-V2 through a grueling battery of 66 tasks across three major benchmarks: Atari 100k (26 classic games limited to roughly two hours of real-time play), DMControl Proprio (20 continuous control tasks using low-dimensional state inputs), and DMControl Vision (20 continuous control tasks using raw image pixels).

EZ-V2 set a new bar for general RL performance:

  • Unprecedented Dominance: It outperformed the previous "universal" leader, DreamerV3, in 50 out of 66 evaluated tasks.
  • Atari 100k: It achieved a normalized mean score of 2.428, significantly higher than the previous state-of-the-art (BBF at 2.247) and nearly double the performance of DreamerV3 (1.120).
  • Continuous Control: In the challenging "Vision Control 200k" benchmark, EZ-V2 achieved a mean score of 726.1, surpassing DreamerV3 by 45%.
  • Computational Efficiency: Efficiency isn't just about data. By only "imagining" 32 latent states during planning (compared to over 9,000 in models like TD-MPC2), EZ-V2 achieves similar or better results with a fraction of the hardware cost. On a "Walker Run" task, it required 1000x fewer FLOPs per decision step than TD-MPC2 while using 4x fewer parameters.

Limitations and Future Work

While EZ-V2 is the clear winner in data-starved scenarios, the authors note that the performance gap between it and other algorithms tends to narrow as the amount of interaction data increases. Its true "superpower" is specifically learning fast with limited data.

The researchers suggest that the next frontier is applying this framework to even more complex, real-world robotic manipulation tasks, where the "sim-to-real" gap and data collection costs are most punishing.

Summary updated

BibTeX
@inproceedings{wang2024efficientzero,
  author = {Shengjie Wang and Shaohuai Liu and Weirui Ye and Jiacheng You and Yang Gao},
  title = {{EfficientZero V2: Mastering Discrete and Continuous Control with Limited Data}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=LHGMXcr6zx},
}
Figure