Hierarchical Abstraction for Combinatorial Generalization in Object Rearrangement

Michael Chang, Alyssa Li Dayan, Franziska Meier, Thomas L. Griffiths, Sergey Levine, Amy Zhang

This paper introduces a hierarchical approach to solving complex object rearrangement tasks. By moving away from monolithic scene representations and toward factorized, entity-centric abstractions, the authors demonstrate how embodied agents can achieve "combinatorial generalization"—the ability to handle novel configurations and varying numbers of objects that they never encountered during training.

TL;DR

The proposed method enables agents to solve object rearrangement tasks by factorizing visual scenes into individual entities and learning a graph of their possible state transitions. This hierarchical abstraction allows the agent to generalize zero-shot to new object counts and configurations, outperforming standard offline reinforcement learning (RL) methods by a factor of 5 to 10.

The Challenge of Object Rearrangement

Object rearrangement (e.g., "put the kitchen in order") is a fundamental challenge for embodied AI. The state space is combinatorially explosive: if you have $N$ objects and $M$ possible locations, the number of configurations grows exponentially.

Most current RL methods treat an entire image as a single "state." This monolithic approach is problematic for several reasons:

  1. Lack of Reuse: The agent fails to realize that the action required to move a red mug is fundamentally the same as the action to move a blue mug.
  2. Scaling Issues: Models trained on a specific number of objects (e.g., three) often fail completely when presented with a different number (e.g., four).
  3. Planning Horizon: Long-term planning with neural network "world models" often suffers from compounding errors, where small inaccuracies in prediction lead to nonsensical plans over extended time horizons.

Methods: Hierarchical Abstraction

The authors propose a two-level hierarchy to abstract sensorimotor interactions into a manageable, generalizable format.

Hierarchical abstraction process showing how visual inputs are factorized into entities and grouped into an entity-agnostic transition graph.
  1. Level 1: Representation Learning The model uses an object-centric backbone (based on Slot Attention) to decompose a raw image into distinct "entities." Crucially, it factorizes each entity into two distinct components:

  2. Type ($z$): Action-invariant features like color or shape (the "what").

  3. State ($s$): Action-dependent features like position (the "where"). By forcing the "type" to remain constant across time steps, the model learns to isolate how actions specifically change an object's "state."

  4. Level 2: Graph Construction Instead of building a graph of entire scenes, the method builds a transition graph of individual entity states. It clusters similar transitions observed in the training data. For example, all instances of "moving an object from the center to the top-left" are grouped into a single abstract edge in the graph, regardless of which specific object was moved.

  5. Control and Action Selection To solve a new task, the agent:

  6. Infers entities from the current and goal images.

  7. Uses the Hungarian Algorithm to align current objects with their target counterparts based on their "type."
  8. Identifies which object is furthest from its goal state.
  9. Searches the abstract transition graph to find the action that bridges the gap and executes it.

Datasets and Evaluation

The method was evaluated on two simulated environments:

  • block-rearrange: A grid-based environment where the agent moves colored blocks to specific coordinates.
  • robogym-rearrange: A more complex environment based on OpenAI’s RoboGym, featuring 94 different meshes from the YCB object set (realistic toys, cans, and tools) in a continuous coordinate space.

The agents were trained on a buffer of 5,000 trajectories containing only 4 objects, but were rigorously evaluated on tasks involving 4, 5, 6, and 7 objects to test combinatorial generalization.

Key Insights and Results

  • Massive Performance Gains: The hierarchical approach outperformed state-of-the-art offline RL baselines (like IQL and BC) and object-centric planning (MPC) by a factor of 5 to 10 in fractional success rates.
  • Zero-Shot Scaling: While baselines collapsed when the number of objects increased beyond the training set, this method maintained high performance. For instance, in block-rearrange, it achieved ~90% success even when scaling from 4 objects during training to 7 objects during testing.
  • Non-Parametric Planning: Rather than using a "black box" neural network to imagine the future, the agent searches through a graph of actual transitions it has seen before. This "stitching" of past experiences prevents compounding errors.
  • Efficiency: The method is significantly faster to run than shooting-based MPC methods because it searches a compact, abstract graph rather than performing expensive rollouts in a high-dimensional latent space.

Limitations and Future Work

While highly effective, the current model assumes that an action affects only one object at a time. It does not yet handle complex physical dependencies, such as one object being stacked on top of another. Additionally, the method relies on the ability to cluster states into a finite set of equivalence classes, which might become difficult in extremely high-fidelity continuous environments. Finally, handling heavy visual occlusion remains a challenge for future iterations.

Summary updated

BibTeX
@inproceedings{chang2023hierarchical,
  author = {Michael Chang and Alyssa Li Dayan and Franziska Meier and Thomas L. Griffiths and Sergey Levine and Amy Zhang},
  title = {{Hierarchical Abstraction for Combinatorial Generalization in Object Rearrangement}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=fGG6vHp3W9W},
}
Figure