Abstract
Data efficiency and robustness to task-irrelevant perturbations are long-standing challenges for deep reinforcement learning algorithms. Here we introduce a modular approach to addressing these challenges in a continuous control environment, without using hand-crafted or supervised information. Our Curious Object-Based seaRch Agent (COBRA) uses task-free intrinsically motivated exploration and unsupervised learning to build object-based models of its environment and action space. Subsequently, it can learn a variety of tasks through model-based search in very few steps and excel on structured hold-out tests of policy robustness.
Introduction
Deep Reinforcement Learning (RL) has achieved significant milestones, yet it remains notoriously data-hungry and brittle. Most agents require millions of interactions to master a single task and often fail when faced with minor environmental perturbations, such as the introduction of distractor objects.
COBRA addresses these limitations by incorporating object-centric reasoning and task-free exploration. Inspired by human developmental processes, where individuals learn the properties of objects through play before pursuing specific goals, COBRA builds a robust internal model of its world. This modular approach bridges the gap between raw pixel inputs and efficient, robust control.
Methods
COBRA operates in two distinct phases: an Unsupervised Exploration Phase and a Task Phase.
Unsupervised Exploration Phase
In this phase, the agent receives no external rewards and focuses on learning environmental dynamics through three components:
- Vision Module (MONet): An unsupervised VAE-based architecture that decomposes scenes into "slots," each representing a single object and its properties (position, color, shape).
- Transition Model: A slot-wise neural network that predicts changes in an object's representation based on specific actions.
- Exploration Policy: This policy is trained adversarially against the transition model, seeking actions that result in high prediction errors. This curiosity-driven mechanism forces the agent to interact with objects rather than empty space.
Task Phase
Once the environment's dynamics are understood, the vision and transition models are frozen. To solve a specific task, the agent only needs to learn a Reward Predictor (a Relation Network). For decision-making, it employs 1-step Model Predictive Control (MPC): it samples potential actions from the learned exploration policy, simulates outcomes via the transition model, and selects the action with the highest predicted reward.
Experimental Setup
The researchers utilized Spriteworld, a 2D continuous "touch-screen" environment containing 1–7 colored sprites. The action space is a 4D continuous space representing a "click-and-push" maneuver. Evaluation spanned six tasks, including goal-finding, sorting, and clustering, with a focus on robustness to out-of-distribution distractors.
Results
COBRA demonstrates extreme data efficiency, solving most tasks within 100–1,000 rewarded steps. In contrast, state-of-the-art model-free baselines like MPO required $10^6$ to $10^8$ steps to achieve comparable performance.
Beyond efficiency, COBRA exhibited superior robustness. For instance, an agent trained to locate a green object remained successful even when five red distractor objects were added—a scenario that typically confuses model-free agents. This robustness stems from the agent's task-agnostic "objectness" model, which allows for zero-shot generalization to new colors or shapes.
Discussion
While COBRA represents a significant step forward, several limitations remain. The current 1-step myopic planning is insufficient for complex multi-step puzzles. Additionally, the model is stateless and does not account for object-to-object interactions (e.g., collisions). Future work may involve incorporating Graph Neural Networks (GraphNets) to handle physical interactions and testing the architecture in more visually complex 3D environments.
Summary updated