NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Entity-Centric Reinforcement Learning for Object Manipulation from Pixels

Dan Haramati, Tal Daniel, Aviv Tamar

Abstract

This paper presents a framework for robotic agents to learn complex, multi-object manipulation tasks directly from raw visual input. By integrating unsupervised object discovery with a Transformer-based policy, the proposed architecture achieves significant compositional generalization. The approach allows agents trained on a small number of objects to successfully perform tasks involving significantly more entities, demonstrating that sub-optimality grows only linearly with the number of objects. This work bridges the gap between pixel-level perception and structured, object-centric reasoning in reinforcement learning.

Introduction

Reinforcement Learning (RL) faces a significant "scaling problem" when applied to environments with multiple objects. As the number of items in a robot's workspace increases, the state space grows exponentially—a phenomenon known as the curse of dimensionality. While humans naturally perceive a cluttered environment as a collection of individual entities, standard RL agents typically treat raw pixels as a single, high-dimensional vector.

Previous attempts to address this by factoring the state into individual objects often relied on "ground-truth" coordinates, which are rarely available in real-world applications. This paper introduces a method to learn these object-centric structures directly from pixels in an unsupervised manner, ensuring the agent can handle complex interactions and variable object counts without manual labeling.

Methodology

The authors propose a two-part architecture designed to extract and reason over entity-level representations:

1. Object-Centric Representation (OCR)

The system utilizes Deep Latent Particles (DLP), an unsupervised model that decomposes an image into a set of "particles." Each particle represents a distinct entity and carries attributes such as position, scale, and visual features. This decomposition allows the agent to move beyond raw pixels to a structured representation of the scene without requiring manual annotations.

2. Entity Interaction Transformer (EIT)

The core policy is governed by a Transformer-based architecture. Unlike standard feed-forward networks, Transformers utilize attention mechanisms that are naturally permutation invariant and capable of processing a variable number of inputs. The EIT models the relationships between entities in the current state and the goal state across multiple camera views. To facilitate training without ground-truth data, the authors introduce the Chamfer Reward, which calculates the distance between the set of particles in the current frame and the set of particles in the goal image.

Experimental Setup and Datasets

The researchers evaluated the framework using several simulated tabletop environments within IsaacGym:

  • N-Cubes: A task requiring the robot to push a variable number of colored cubes to specific target locations.
  • Ordered-Push: A high-level reasoning task where the robot must move cubes through a narrow corridor in a specific sequence to avoid interference.
  • Cube Sorting: A generalization test where an agent trained on only 3 cubes is tasked with sorting 12 cubes by color.
  • Push-2T: A task involving complex, T-shaped blocks to test the model's ability to handle non-spherical and non-cubic geometries.

Key Insights and Theoretical Contributions

  • The Complexity Tradeoff: The study suggests that a highly precise, physics-aware object detector is not strictly necessary. Instead, a "lean" unsupervised detector combined with an expressive Transformer-based policy can effectively learn complex dynamics and object interactions.
  • Linear Error Growth: A major theoretical contribution of this work is the proof that for self-attention-based Q-functions, sub-optimality (error) grows only linearly with the number of added objects. This provides a mathematical foundation for why the agent generalizes effectively to crowded scenes.
  • Implicit Correspondence: The EIT uses cross-attention to automatically determine correspondences between objects in the current state and the goal state, removing the need for explicit object matching.
  • Multi-View Synergy: By treating particles from different camera angles as additional tokens in the Transformer, the EIT builds a pseudo-3D understanding of the environment from 2D pixel data.

Results

  • Zero-Shot Generalization: The framework demonstrated remarkable scalability. Agents trained to manipulate only 3 cubes successfully generalized to 6 cubes with high success rates. In the "Cube Sorting" task, the agent managed 12 objects despite never seeing more than 3 during the training phase.
  • Performance vs. Baselines: On complex tasks like Ordered-Push, the EIT significantly outperformed SMORL, a previous state-of-the-art object-centric RL method.
  • Efficiency: The image-based EIT performed nearly as well as agents provided with perfect ground-truth coordinates, validating the effectiveness of the unsupervised OCR.

Limitations and Future Work

While promising, the method has several limitations. It relies on a pre-trained DLP model which, although unsupervised, requires a large dataset of approximately 600,000 images of random interactions to learn object features. Additionally, the Chamfer Reward is inherently noisier than ground-truth rewards, which can impact success rates as object density increases.

Future research directions include moving from simulation to real-world robots, where visual occlusions and reward design become more challenging. The authors also suggest integrating multi-modal inputs, such as language instructions, to allow the Transformer to process entities like "the red block" alongside visual tokens.

Summary updated

BibTeX
@inproceedings{haramati2024entity,
  author = {Dan Haramati and Tal Daniel and Aviv Tamar},
  title = {{Entity-Centric Reinforcement Learning for Object Manipulation from Pixels}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=uDxeSZ1wdI},
}
Figure