Entity Abstraction in Visual Model-Based Reinforcement Learning

Rishi Veerapaneni, John D. Co-Reyes, Michael Chang, Michael Janner, Chelsea Finn, Jiajun Wu, Joshua B. Tenenbaum, Sergey Levine

Abstract

We present OP3, a framework for model-based reinforcement learning that acquires object representations from raw visual observations without supervision and uses them to predict and plan. To ground these abstract entities, OP3 employs an interactive inference process that uses the common fate principle: objects are entities that move together. By enforcing entity abstraction—applying the same dynamics model symmetrically to every discovered object—OP3 achieves remarkable generalization to novel scenes with varying numbers of objects.

Introduction: The Binding Problem in RL

Most reinforcement learning (RL) agents perceive the world as a monolithic "global" state, typically represented by a single high-dimensional vector extracted from a camera frame. While effective for simple tasks, this approach suffers from the binding problem. Because the model does not distinguish between individual objects, it fails to understand that a scene is composed of independent entities.

This lack of structure leads to poor generalization. For instance, an agent trained to stack three red blocks often fails when presented with five blue ones, as the global visual state is fundamentally different. Previous attempts at "object-centric" models often relied on "cheating" by providing ground-truth object masks or pre-defining the number of objects. OP3 addresses this by learning to perceive, predict, and plan using object-centric representations directly from raw pixels without human labels.

The OP3 Framework

The authors introduce OP3 (Object-centric Perception, Prediction, and Planning), a framework designed to discover and track individual objects through interaction.

The OP3 framework architecture for object-centric perception, prediction, and planning.

The framework operates through Interactive Inference. To ground abstract entities in pixels, OP3 uses an iterative refinement process. It makes an initial hypothesis about object locations, compares this prediction against the actual image, and uses the resulting gradient to improve its estimate. Crucially, it leverages the robot's own actions. By observing how a scene changes when it interacts with it, the model uses "common fate" to realize that a moving robotic arm and the block it displaces are distinct entities.

The Principle of Entity Abstraction

At the heart of OP3 is the concept of Entity Abstraction. Instead of a single network processing the entire scene, OP3 utilizes a small, "generic" entity-centric function applied in parallel to every object representation ($H_k$).

Comparison of OP3's entity abstraction (a) with prior global (b), list-based (c), and entity-specific (d) approaches.

As shown in the comparison above, prior works often used global scene functions (b) or functions that operated on a fixed list of entities (c). In contrast, OP3's approach (a) enforces symmetry: the same physical laws are applied to every object. This architectural choice bakes compositionality into the model. If the system learns how one block behaves, it automatically understands the behavior of any block, regardless of its color or position. This allows the model to handle a variable number of objects at test time—a feat impossible for global models.

Experimental Evaluation

OP3 was evaluated across three challenging domains:

  1. MuJoCo Block Stacking: A simulation where blocks are dropped and must settle. Training involved 1-5 blocks, while testing pushed the model to 9 blocks in novel configurations like pyramids.
  2. Multi-Step Planning: A task requiring the agent to move "obstacle" blocks out of the way to reach a specific goal configuration.
  3. Real-World Video: A dataset featuring a robotic arm manipulating cloths and multipart objects, testing OP3's ability to handle non-simulated textures and complex shapes.

Key Results and Insights

  • Superior Accuracy: In block-stacking, OP3 achieved 82% accuracy, outperforming the previous state-of-the-art (O2P2) which had access to ground-truth object masks (76%). It crushed standard global video models like SAVP, which achieved only 24%.
  • Zero-Shot Generalization: OP3 successfully built structures with 9 blocks despite only seeing 5 during training, demonstrating the power of entity-centric symmetry.
  • Object-Centric Planning: By maintaining "pointers" to objects, OP3 can plan in an object-centric action space. Instead of searching random coordinates, the agent can decide to "pick up Entity #3," significantly increasing planning efficiency.
  • Real-World Grounding: Qualitative results showed that OP3 could successfully segment a moving arm from a towel and a container purely through observation and interaction.

Discussion and Limitations

While OP3 represents a significant step toward autonomous perception, it faces challenges. The computational cost of iterative inference is higher than standard feed-forward passes. Additionally, while it excels with distinct objects, scaling to cluttered environments with complex textures or amorphous "stuff" (like liquids) remains an open research question. Future work will focus on combining this object-centric perception with hierarchical planning for long-term autonomous reasoning.

Summary updated

BibTeX
@inproceedings{veerapaneni2019entity,
  author = {Rishi Veerapaneni and John D. Co-Reyes and Michael Chang and Michael Janner and Chelsea Finn and Jiajun Wu and Joshua B. Tenenbaum and Sergey Levine},
  title = {{Entity Abstraction in Visual Model-Based Reinforcement Learning}},
  booktitle = {Conference on Robot Learning},
  year = {2019},
  url = {https://openreview.net/forum?id=yTkvohYg4qS},
}
Figure