Abstract
In the face of difficult exploration problems in reinforcement learning, we study whether giving an agent an object-centric mapping (describing a set of items and their attributes) allow for more efficient learning. We found this problem is best solved hierarchically by modelling items at a higher level of state abstraction to pixels, and attribute change at a higher level of temporal abstraction to primitive actions. This abstraction simplifies the transition dynamic by making specific future states easier to predict. We make use of this to propose a fully model-based algorithm that learns a discriminative world model, plans to explore efficiently with only a count-based intrinsic reward, and can subsequently plan to reach any discovered (abstract) states. We demonstrate the model's ability to (i) efficiently solve single tasks, (ii) transfer zero-shot and few-shot across item types and environments, and (iii) plan across long horizons. Across a suite of 2D crafting and MiniHack environments, we empirically show our model significantly out-performs state-of-the-art low-level methods (without abstraction), as well as performant model-free and model-based methods using the same abstraction. Finally, we show how to reinforce learn low level object-perturbing policies, as well as supervise learn the object mapping itself.
Introduction
Reinforcement Learning (RL) agents frequently encounter two significant obstacles: the challenge of exploration in sparse-reward environments and the difficulty of reasoning over long temporal horizons. Traditional "tabula rasa" agents, which learn directly from raw pixels and primitive motor actions, often fail to capture the high-level semantic structure of their environments. For instance, a task like "finding a key to open a door" involves hundreds of low-level actions, making it nearly impossible for standard agents to discover the necessary sequence through random exploration.
While generative world models have attempted to address these issues by predicting future states in a latent space, they often suffer from high computational costs and the "stochasticity gap," where minor errors in prediction accumulate over long planning horizons. This paper proposes a different path: leveraging object-centric abstractions to simplify the world model and enable efficient, high-level planning.
Hierarchical Abstraction: The Ab-MDP
The core of the proposed approach is the Abstracted Item-Attribute MDP (Ab-MDP). This framework introduces two levels of abstraction:
- State Abstraction: Instead of processing raw pixel grids, the agent operates on a set of items and their associated attributes (e.g., a "potion" that is "in the world" or "in inventory").
- Temporal Abstraction: Primitive actions are grouped into "behaviours"—low-level policies designed to achieve specific attribute changes, such as navigating to an item and picking it up.
By mapping the complex low-level environment to this abstracted space, the planning horizon is drastically reduced. A sequence that might require 50 primitive actions is represented as a single abstract transition, making long-term goals computationally tractable.
The MEAD Algorithm
Building on the Ab-MDP, the authors introduce MEAD (Model-based Exploration of abstracted Attribute Dynamics). Unlike generative models that attempt to reconstruct the entire next state, MEAD employs a discriminative forward model.
The model $f_\theta$ is trained to predict the success probability of an abstract behavior. Given a current abstract state $X_t$ and a target behavior $b_t$, the model outputs the probability $p$ that the behavior will successfully transition the environment to a new state $X_{t+1}$.
This discriminative approach provides a strong inductive bias: it is far easier to predict if a specific change will occur than to predict the entire visual appearance of the world. During the exploration phase, MEAD uses Monte-Carlo Tree Search (MCTS) guided by a count-based intrinsic reward to discover novel object interactions. Once the environment is explored, the agent can use Dijkstra’s algorithm to find the most probable path to any discovered goal state.
Empirical Evaluation
The researchers evaluated MEAD across two challenging domains: a 2D Crafting environment with multi-stage dependencies and MiniHack, a suite of complex roguelike-inspired tasks.
- Sample Efficiency: In 2D Crafting, MEAD achieved peak performance in just 10,000 environment frames. In contrast, Dreamer-v3 required 100,000 frames, and model-free PPO required nearly 10 million.
- Zero-Shot Transfer: By focusing on object types and attributes rather than pixel coordinates, MEAD demonstrated remarkable transfer capabilities. An agent trained on one set of items could immediately generalize its knowledge to new items with similar attribute structures.
- Exploration in MiniHack: In environments where standard exploration methods like RND or ICM failed to receive any reward after 50 million steps, MEAD reliably solved the tasks by focusing its search on semantic object interactions.
Conclusion
MEAD demonstrates that object-centric abstractions can significantly enhance the efficiency and generalization of RL agents. By swapping generative pixel prediction for discriminative attribute prediction, the model achieves state-of-the-art performance in complex, sparse-reward environments. While the current implementation relies on a predefined object-centric mapping, the results suggest that hierarchical, object-oriented reasoning is a powerful tool for scaling RL to more sophisticated real-world tasks. Future work will explore the unsupervised discovery of these abstractions to further reduce human engineering requirements.
Summary updated