Learning General World Models in a Handful of Reward-Free Deployments

Yingchen Xu, Jack Parker-Holder, Aldo Pacchiano, Philip J. Ball, Oleh Rybkin, Stephen J. Roberts, Tim Rocktäschel, Edward Grefenstette · DOI

Introduction

Traditional Reinforcement Learning (RL) often relies on two expensive crutches: task-specific reward functions, which are difficult to design, and constant online interaction with the environment, which is slow and potentially risky in real-world applications. To move toward generally capable agents, researchers have turned to reward-free RL. In this paradigm, agents explore to learn a "world model" of their environment first, then use that model to solve tasks later.

However, most current methods assume the agent can update its policy after every single step. In real-world scenarios—like a fleet of robots—it is much more efficient to deploy a batch of agents, collect data, and then perform centralized retraining. This is known as deployment efficiency. The challenge is that independent agents often end up performing redundant actions. CASCADE (Coordinated Active Sample Collection via Diverse Explorers) introduces a new paradigm to coordinate a population of explorers to maximize collective trajectory diversity, gathering significantly more informative data for downstream tasks.

Methods

The core idea of CASCADE is to train a population of $B$ exploration policies inside a world model (specifically using the DreamerV2 architecture).

Overview of the CASCADE framework, illustrating the loop between world model training and the imagination-based coordination of diverse explorers.

Key Technical Components

  • The Cascading Objective: Instead of each agent exploring independently, CASCADE uses a greedy, sequential approach. Agent $i$ is trained to be different from agents $1$ through $i-1$.
  • Information-Theoretic Objective: The agents optimize for two primary goals:
  • InfoGain: Seeking out areas where the world model is uncertain (using an ensemble of dynamics models to measure "disagreement").
  • PopDiv (Population Diversity): Maximizing the disagreement between the current agent's imagined trajectory and the trajectories of the agents already in the population.
  • Trajectory Embeddings: To measure diversity, the model uses the final latent state of an imagined trajectory as a "summary" of the behavior, drawing analogies to Bayesian Active Learning.

Experimental Evaluation

CASCADE was evaluated across four diverse domains to test both "deep" exploration and behavioral variety: MiniGrid (procedurally generated grid worlds), Atari (hard exploration games like Montezuma’s Revenge), Crafter (a Minecraft-inspired survival environment), and DeepMind Control Suite (continuous control from pixels).

Key Results and Insights

The paper demonstrates that redundancy is the enemy of scale. Simply increasing the number of agents (as in Population Plan2Explore) does not help if they all follow the same gradient toward the same "interesting" area. Coordination is required to force agents to "split up."

Results on MiniGrid environments showing that CASCADE achieves superior state coverage and zero-shot success rates by coordinating exploration.
  • MiniGrid: In the difficult MultiRoom environment, CASCADE found nearly double the number of rewarding episodes compared to the next best baseline and achieved a near 100% success rate in zero-shot transfer.
  • Atari: CASCADE achieved statistically significant improvements in zero-shot returns across all four games. In Montezuma’s Revenge, it discovered higher-rewarding episodes than any baseline.
  • Crafter: CASCADE unlocked 16 out of 22 unique skills (like "Making a Stone Pickaxe"), whereas baselines often got stuck on simpler survival tasks.
  • Continuous Control: In the Walker domain, CASCADE agents displayed a wide array of distinct behaviors (flipping, running, etc.) in a single deployment, while other population-based methods remained homogenous.

Conclusion and Future Work

CASCADE's focus on trajectory-level diversity rather than per-step entropy proves more effective for discovering distinct skills and reaching distant parts of the state space. By training explorers entirely within a learned world model, the actual deployments become highly "data-dense."

While CASCADE outperforms existing methods, zero-shot policies still do not match the performance of agents with infinite online access to rewards. Future work may involve using more complex representations, such as Transformer-based trajectory models, to further improve diversity and generalization.

Summary updated

BibTeX
@inproceedings{xu2022learning,
  author = {Yingchen Xu and Jack Parker-Holder and Aldo Pacchiano and Philip J. Ball and Oleh Rybkin and Stephen J. Roberts and Tim Rocktäschel and Edward Grefenstette},
  title = {{Learning General World Models in a Handful of Reward-Free Deployments}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=RuNhbvX9o9S},
}
Figure