Abstract
The effectiveness of model training heavily relies on the quality of available training resources. However, budget constraints often impose limitations on data collection efforts. To tackle this challenge, we introduce causal exploration in this paper, a strategy that leverages the underlying causal knowledge for both data collection and model training. We, in particular, focus on enhancing the sample efficiency and reliability of the world model learning within the domain of task-agnostic reinforcement learning. During the exploration phase, the agent actively selects actions expected to yield causal insights most beneficial for world model training. Concurrently, the causal knowledge is acquired and incrementally refined with the ongoing collection of data. We demonstrate that causal exploration aids in learning accurate world models using fewer data and provide theoretical guarantees for its convergence. Empirical experiments, on both synthetic data and real-world applications, further validate the benefits of causal exploration.
Introduction
Reinforcement Learning (RL) is notoriously data-hungry. In task-agnostic RL, an agent explores an environment without a specific goal to build a "world model"—a simulator of how the environment works. Once this model is accurate, the agent can solve many different tasks instantly (zero-shot) by planning within its learned model. However, building a high-fidelity world model is incredibly expensive, especially in complex environments with many variables. Standard exploration methods often rely on "curiosity" or random data collection, which frequently fail to distinguish between meaningful physical interactions and random noise. This leads to "dense" models that struggle with generalization and high computational costs.
Methodology: The Causal Exploration Framework
We propose Causal Exploration, a framework that uses causal discovery to make task-agnostic RL significantly more efficient. By identifying the sparse "cause-and-effect" relationships in an environment, the agent can build more accurate world models with less data. The framework consists of three main components:
- Causal Constraints for World Models: Instead of using a standard dense neural network, we employ a sharing-decomposition schema. The model shares initial embedding layers but uses sparse, causal-mask-driven heads for each state variable. This ensures that the prediction for a variable is only influenced by its actual causal parents, eliminating redundant dependencies.
- Efficient Online Causal Discovery: Causal discovery algorithms typically slow down as data accumulates. We developed an online selection strategy where the agent selectively picks only the most informative and diverse data points to update its causal graph, keeping the process computationally feasible.
- Causal-Driven Intrinsic Rewards: The exploration policy is guided by a new reward structure that combines Prediction Loss (the "surprise" of encountering something the model can't predict) with an Active Reward (measuring how much a new piece of data improves the model's performance on a held-out test set).
Experimental Evaluation
We evaluated our framework across synthetic simulations, a real-world Traffic Light Control application, and standard high-dimensional physics benchmarks in the MuJoCo suite (Hopper, Walker2d, Humanoid).
Causal Discovery Performance
In synthetic tests, Causal Exploration achieved significantly higher F1-scores for causal graph identification compared to existing baselines like ASR and CDL. As shown in the adjacency matrix heatmaps, our method recovers the underlying causal structure with high fidelity, whereas baselines produce noisy or overly dense graphs.
Sample Efficiency and Real-World Impact
On MuJoCo tasks, Causal Exploration reached lower prediction errors with far fewer environment interactions than non-causal methods like "Curiosity" or "Plan2Explore." In the Traffic Light Control task, the Causal Exploration agent achieved a reward of -1.37, nearly matching the performance of an agent trained on the "True Environment" (-1.01) and vastly outperforming standard Curiosity-based agents (-3.51).
Conclusion
This work demonstrates that sparsity is a superpower in physical world modeling. By forcing the world model to focus on causal parents, agents learn faster and are less likely to be misled by coincidental correlations. Our online selection method further shows that quality of data outweighs quantity. While future work is needed to address hidden confounders and partially observable states, Causal Exploration provides a robust, theoretically-backed path toward more sample-efficient reinforcement learning.
Summary updated