Abstract: World model (WM) agents enable sample-efficient reinforcement learning by learning policies entirely from simulated experience. However, existing token-based world models (TBWMs) are limited to visual inputs and discrete actions, restricting their adoption and applicability. Moreover, although both intrinsic motivation and prioritized WM replay have shown promise in improving WM performance and generalization, they remain underexplored in this setting, particularly in combination. We introduce Simulus, a highly modular TBWM agent that integrates (1) a modular multi-modality tokenization framework, (2) intrinsic motivation, (3) prioritized WM replay, and (4) regression-as-classification for reward and return prediction. Simulus achieves state-of-the-art sample efficiency for planning-free WMs across three diverse benchmarks. Ablation studies reveal the individual contribution of each component while highlighting their synergy. Our code and model weights are publicly available at https://github.com/leor-c/Simulus.
Introduction
World Model (WM) agents, often described as "dreamers," learn a generative model of their environment and subsequently train their policies entirely within this simulated imagination. This approach is highly sample-efficient, a critical requirement for real-world applications like robotics where physical interaction is costly.
Token-Based World Models (TBWMs) represent the environment as discrete sequences of tokens, leveraging architectures similar to Large Language Models. Despite their potential, TBWMs have largely been restricted to visual inputs and discrete action spaces. Furthermore, advanced reinforcement learning (RL) techniques such as intrinsic motivation (curiosity-driven exploration) and prioritized replay (focusing on high-error data) have not been fully integrated into the TBWM framework. Simulus aims to overcome these limitations by introducing a modular, multi-modal TBWM architecture.
Methodology
Simulus employs a modular design where representation, dynamics, and control modules are optimized independently, reducing the "objective interference" often seen in monolithic models.
Multi-Modal Tokenization
To handle diverse input types, Simulus utilizes a flexible tokenization framework:
- Visual Inputs: Employs a VQ-VAE to compress pixels into discrete tokens.
- Continuous Vectors: Uses a "symlog" transformation followed by quantization into a compact vocabulary of 125 tokens.
- 2D Categorical Maps: Flattens spatial dimensions of grid-based environments (e.g., Minecraft-style maps) into sequences.
Dynamics and Control
The dynamics model is based on the Retentive Network (RetNet), which provides superior efficiency compared to standard Transformers. It incorporates Parallel Observation Prediction (POP) to generate multiple tokens simultaneously, accelerating training. For reward and return prediction, Simulus uses Regression-as-Classification (RaC) with the HL-Gauss method, which maps scalar values to discrete probability distributions for improved robustness against high-variance rewards.
Exploration and Replay
Simulus integrates Intrinsic Motivation through an ensemble of prediction heads; the Jensen-Shannon Divergence between head outputs serves as an intrinsic reward for exploring novel states. Additionally, Prioritized WM Replay ensures the model focuses training on sequences with high prediction loss.
Experimental Results
Simulus was evaluated on three distinct benchmarks: Atari 100K (visual/discrete), DeepMind Control (DMC) Proprioception 500K (continuous), and Craftax-1M (symbolic/complex).
Atari 100K
Simulus achieved a Human Normalized Score (HNS) median of 0.982 and an Interquantile Mean (IQM) of 0.990, surpassing established models like DreamerV3 and STORM. Notably, it reached superhuman performance on 13 of 26 games without requiring expensive test-time planning (e.g., MCTS).
Continuous Control and Symbolic Tasks
On the DMC benchmark, Simulus matched or exceeded the performance of DreamerV3, demonstrating that token-based models are effective for continuous proprioceptive data. In Craftax-1M, Simulus significantly outperformed exploration-focused baselines like RND and E3B, highlighting its capability in complex, multi-modal survival environments.
Discussion and Key Insights
- Vocabulary Efficiency: Small vocabularies (as low as 125 tokens) are sufficient for high-precision continuous control, enhancing data efficiency.
- Modularity Benefits: Decoupling the encoder/decoder from the world model prevents joint optimization from degrading learned representations.
- Component Synergy: Ablation studies confirm that while intrinsic motivation is a primary driver of performance, the combination of intrinsic rewards, prioritized replay, and RaC produces a synergistic effect greater than the sum of individual parts.
Conclusion
Simulus demonstrates that modular, token-based world models can achieve state-of-the-art sample efficiency across a wide range of modalities. By integrating intrinsic motivation and prioritized replay into a planning-free architecture, it sets a new standard for versatile and efficient RL agents. Future work will explore more efficient vector quantization to handle long token sequences and the development of more diverse multi-modal benchmarks.
Summary updated