Overview
Researchers from UT Austin and Sony AI have developed Causal Dynamics Learning (CDL), a method that allows Reinforcement Learning (RL) agents to ignore "distractor" variables by learning the underlying causal structure of their environment. By identifying which variables are actually affected by actions, CDL creates task-independent state abstractions that generalize far better to unseen scenarios and improve sample efficiency.
What Problem Does This Paper Address?
In Model-Based Reinforcement Learning (MBRL), an agent learns a "world model" to predict the consequences of its actions. Most current methods use dense models, where every future state variable is assumed to depend on every current variable and the action.
This "everything-affects-everything" approach has two major flaws:
- Spurious Correlations: If a robot always sees a clock on the wall while opening a door, a dense model might mistakenly learn that the clock's time helps predict the door's movement. If the clock is removed or shows a different time, the model fails.
- Task Dependency: Existing state abstractions usually rely on a specific reward function (e.g., "only care about variables that help me get to the goal"). This makes the learned abstraction useless if the robot is suddenly asked to perform a different task in the same room.
Methods: Causal Dynamics Learning (CDL)
The authors introduce CDL to cut through the noise of dense models. The approach operates in three main stages:
- Causal Discovery via CMI: Instead of simple regularization, CDL uses Conditional Mutual Information (CMI) to determine if a causal edge exists between variables. It asks: "Does knowing variable $X$ actually improve my prediction of variable $Y$ if I already know everything else?"
- Task-Independent Abstraction: CDL partitions the world into three distinct categories:
- Controllable ($s^C$): Things the agent can change (e.g., the position of a door).
- Action-Relevant ($s^R$): Things the agent can't change but that affect its actions (e.g., a heavy obstacle blocking the door).
- Action-Irrelevant ($s^I$): Distractors (e.g., the clock on the wall). The agent then throws away $s^I$ to create a streamlined "abstract" state.
- PredDiff Exploration: To learn these relationships efficiently, the agent uses a curiosity-driven policy called PredDiff. It specifically seeks out transitions where its dense model and its sparse causal model disagree. These "surprising" moments are where causal dependencies are most likely to be revealed, preventing the agent from getting distracted by inherently noisy but irrelevant variables.
Key Insights and Ideas
- Causality is the Key to Generalization: By forcing the model to ignore irrelevant variables, the agent becomes immune to "Out-of-Distribution" (OOD) shifts. If the distractor variables change in ways never seen during training, the causal model remains robust because it never relied on them in the first place.
- Task-Independence over Reward-Dependency: Unlike "bisimulation" methods that prune states based on a specific goal, CDL keeps all controllable and relevant variables. This means one learned abstraction can be reused for many different downstream tasks (e.g., "open the door," "paint the door," or "block the door").
- Solving the "Procrastination" Problem: Standard "curiosity" rewards can fail in causal learning because agents might "procrastinate" by watching a randomly moving object (which is hard to predict) rather than testing if they can actually control it. The PredDiff reward solves this by focusing strictly on the gap between dense and causal predictions.
Experimental Results
The researchers evaluated CDL on simulated environments, including a Chemical environment with varying causal structures and a Robosuite Manipulation tabletop environment filled with distractor markers.
- Graph Accuracy: CDL recovered the ground-truth causal structure with over 90-100% accuracy across most environments, significantly outperforming standard regularization-based methods.
- OOD Robustness: In the Chemical environment, when distractor variables were pushed to unseen values, CDL maintained 97.3% prediction accuracy, while competing models plummeted to 35.7%.
- Downstream Efficiency: In complex tasks like "Stacking," agents using CDL's abstractions reached high success rates much faster than those using the full, "noisy" state space.
Limitations and Future Work
While CDL presents a massive step forward for robust MBRL, it currently assumes the state is already factored into distinct variables (like $x, y$ coordinates), making direct application to raw pixels challenging. Furthermore, it assumes full observability of all relevant variables and treats causal relationships as global and static. Future work could explore "local" dependencies—where an object only depends on the robot's hand when the hand is actually touching it—and adapt the method for partially observable or high-dimensional visual environments.
Summary updated