Self-supervised Visual Reinforcement Learning with Object-centric Representations

Andrii Zadaianchuk, Maximilian Seitzer, Georg Martius

TL;DR

SMORL (Self-supervised Multi-Object RL) is a novel framework that empowers robotic agents to learn complex manipulation skills from raw images without relying on human-provided rewards. By replacing holistic scene encodings—such as standard Variational Autoencoders (VAEs)—with object-centric representations, the agent can decompose a complex scene into individual entities. This allows it to discover and achieve modular goals, like moving one specific block, far more effectively than previous state-of-the-art methods.

What Problem Does This Paper Address?

Most self-supervised visual Reinforcement Learning (RL) methods rely on VAEs to compress an entire image into a single, low-dimensional vector. While this approach works for simple scenes, it breaks down in "compositional" environments containing multiple objects.

This limitation leads to two major issues:

  1. The Binding Problem: A single vector struggles to represent multiple independent objects without their features "bleeding" into one another.
  2. Incompatible Goals: If an agent is given a holistic goal image, it is incentivized to move all objects to their target positions simultaneously. This creates an incredibly difficult exploration problem for a robot that can typically only manipulate one thing at a time.

The authors aim to bridge this gap by utilizing a representation that inherently "understands" the scene is composed of distinct, movable parts.

Methods

The researchers introduce SMORL, which combines three key components to solve multi-object tasks:

SMORL Architecture
  • SCALOR (Object-Centric Backbone): Instead of a standard VAE, the framework uses SCALOR, a generative world model that decomposes a video stream into a set of vectors. Each vector explicitly encodes an object’s appearance ($z_{what}$), its position and scale ($z_{where}$), and its depth.
  • Goal-Conditioned Attention Policy: Because the state is now a set of object vectors rather than a single fixed-length vector, the authors employ a multi-head attention mechanism. The agent uses the "goal object" as a query to attend to the relevant object in its current observation, effectively filtering out distractions.
  • Self-Supervised Reward & Sub-goals: During training, the agent "imagines" goals by sampling from its learned object-centric latent space. The reward function is calculated by matching the appearance ($z_{what}$) of the goal to the current objects and rewarding the reduction of distance in the position space ($z_{where}$).

Datasets

The authors evaluated their method on two custom-built environments based on the MuJoCo physics engine and the Multiworld package:

  • Multi-Object Visual Push: A Sawyer robotic arm must push objects from fixed starting positions to random target positions.
  • Multi-Object Visual Rearrange: A more difficult task where both starting positions and target positions are randomized.
  • Scaling Tests: Configurations with 1, 2, 3, and 4 objects were tested to measure how performance degrades with added complexity.

Key Insights and Ideas

  • Inductive Bias is Everything: Standard VAEs have a "holistic" bias. By forcing the model to see the world as a collection of entities (an object-centric bias), the RL problem becomes modular and significantly easier to solve.
  • Appearance vs. Geometry: By separating what an object looks like from where it is, the agent can use the appearance as a "key" to find the right object and the geometry to calculate a precise reward signal.
  • Sequential Success: During evaluation, the agent doesn't try to solve the whole scene at once. It cycles through the discovered objects and solves them one by one. This "divide and conquer" approach is much more robust than trying to reach a global scene configuration in one go.

Key Results

Performance Comparison on Visual Push and Rearrange
  • Outperforming Baselines: In the 2-object Visual Rearrange task, SMORL significantly outperformed existing self-supervised methods like RIG and Skew-Fit, which failed to make meaningful progress.
  • Scaling to Complexity: When using ground-truth object coordinates, standard RL (SAC+HER) failed completely once the scene reached 3 or 4 objects. SMORL, however, maintained high performance, proving that its attention-based architecture scales much better to complex scenes.
  • Zero-Shot Generalization: An agent trained on a 2-object environment was able to generalize to a 1-object environment without further training, demonstrating that the learned skills are truly modular.

Limitations and Future Work

  • Occlusions: The current version of SCALOR struggles when objects are hidden behind one another. If the vision model can't see the object, the RL agent can't manipulate it.
  • Independence Assumption: SMORL assumes that objects can be moved independently. In the real world, moving one object might require moving another out of the way first.
  • Planning: The authors suggest that future versions could incorporate high-level planning (e.g., deciding the optimal order to move objects) rather than relying on simple sequential cycling.
  • Dynamic Backgrounds: The current model assumes a relatively stable background; extending this framework to complex, changing environments remains an open challenge.

Summary updated

BibTeX
@inproceedings{zadaianchuk2021self,
  author = {Andrii Zadaianchuk and Maximilian Seitzer and Georg Martius},
  title = {{Self-supervised Visual Reinforcement Learning with Object-centric Representations}},
  booktitle = {International Conference on Learning Representations},
  year = {2021},
  url = {https://openreview.net/forum?id=1FRGFWL6vwl},
}
Figure