Abstract
World models have been developed to support sample-efficient deep reinforcement learning agents. However, it remains challenging for world models to accurately replicate environments that are high-dimensional, non-stationary, and composed of multiple objects with rich interactions since most world models learn holistic representations of all environmental components. By contrast, humans perceive the environment by decomposing it into discrete objects, facilitating efficient decision-making. Motivated by this insight, we propose Slot Transformer Imagination with CAusality-aware reinforcement learning (STICA), a unified framework in which object-centric Transformers serve as the world model and causality-aware policy and value networks. STICA represents each observation as a set of object-centric tokens, together with tokens for the agent action and the resulting reward, enabling the world model to predict token-level dynamics and interactions. The policy and value networks then estimate token-level cause--effect relations and use them in the attention layers, yielding causality-guided decision-making. Experiments on object-rich benchmarks demonstrate that STICA consistently outperforms state-of-the-art agents in both sample efficiency and final performance.
Introduction
Most modern Model-Based Reinforcement Learning (MBRL) agents, such as the Dreamer series, rely on "holistic" representations, compressing entire camera observations into single latent vectors. While effective for simple environments, this approach struggles in high-dimensional, non-stationary settings filled with multiple interacting objects. When a holistic model encounters a scene with a robot arm, a table, and a cup, it perceives a single aggregate of pixels; any change in the scene can unpredictably shift the entire representation.
In contrast, human perception decomposes the world into discrete objects, instinctively identifying which elements are relevant to a goal. STICA (Slot Transformer Imagination with CAusality-aware reinforcement learning) bridges this gap by creating an agent that perceives objects and explicitly understands their causal influence on rewards.
The STICA Framework
The STICA framework operates through three integrated components:
- Slot-based AutoEncoder: Utilizing "Slot Attention," this module decomposes images into $n$ discrete object representations (slots). A critical innovation is the explicit extraction of a static background representation ($z_{BG}$). By isolating the unchanging environment layout from interactive objects, the model focuses its learning capacity on dynamic, task-relevant elements.
- Transformer-based Dynamics Model: Replacing traditional Recurrent Neural Networks (RNNs), STICA employs a Transformer-XL. It treats object slots, actions, and rewards as sequences of tokens, allowing the model to predict individual object trajectories and interactions with higher precision and longer-term memory than previous methods.
- Causal Policy and Value Networks: This module introduces causality-guided decision-making. An MLP estimates a "causality score" for each object token, predicting its relevance to the current task. This score adjusts attention weights within the Transformer, forcing the agent to prioritize "causal" objects (e.g., goals or obstacles) over "non-causal" distractors.
Experimental Evaluation
STICA was evaluated on two primary benchmarks: the Safety Gym Benchmark, featuring 3D first-person navigation tasks with dynamic obstacles, and the Object-Centric Visual RL (OCVRL) Benchmark, designed to test interaction with specific objects.
STICA consistently outperformed state-of-the-art baselines, including DreamerV3, TWM, and TD-MPC2. In Safety Gym, STICA achieved higher returns with significantly fewer environment interactions. On the OCVRL "Object Interaction" task, STICA reached a success rate of 0.333, more than doubling the performance of DreamerV3 (0.156). Ablation studies confirmed that the "Causal Attention" module was the primary driver of these gains; removing it led to a significant performance drop, proving that object perception alone is insufficient without understanding causal relevance.
Key Insights and Discussion
- Background Isolation: Separating static background information from object slots significantly enhanced feature extraction, enabling precise end-to-end learning without external pre-training.
- Causality as Selective Attention: Visualizing attention weights revealed a human-interpretable map of importance, demonstrating that agents perform better when they can mathematically ignore distractor objects.
- Architectural Synergy: Transformers are naturally suited for object-centric learning because they treat objects as sets of tokens, making the model equivariant to the order in which objects appear.
Despite its success, STICA currently relies on a fixed slot count, which may limit its flexibility in environments with highly variable object density. Additionally, the increased complexity of multiple Transformers and Slot Attention mechanisms results in higher computational overhead per training step compared to holistic models.
Conclusion
STICA demonstrates that object-centric decomposition and explicit causal modeling are powerful tools for reinforcement learning in complex environments. By mimicking human-like perception and prioritization, STICA achieves superior sample efficiency and performance, setting a new standard for world models in object-rich domains.
Summary updated