Energy-based Models are Zero-Shot Planners for Compositional Scene Rearrangement

Nikolaos Gkanatsios, Ayush Jain, Zhou Xian, Yunchu Zhang, Christopher G Atkeson, Katerina Fragkiadaki

TL;DR

This paper introduces SREM, a novel framework for robotic scene rearrangement that uses energy-based models (EBMs) to interpret compositional language instructions. SREM learns to represent spatial relationships as energy functions, allowing it to generalize to complex, unseen instructions and outperform existing methods in both simulation and real-world experiments.

What Problem Does This Paper Address?

Robots are increasingly expected to understand and execute complex instructions for manipulating objects in their environment. A key challenge is handling compositional language instructions, where multiple spatial relationships (e.g., "put the red block to the left of the blue sphere and inside the green bowl") need to be satisfied simultaneously. Existing methods often struggle with:

  • Generalization: They fail when instructions involve novel combinations of spatial concepts or objects not seen during training.
  • Compositionality: Decomposing complex instructions into sequential, simpler sub-tasks often leads to errors, as the robot might satisfy one sub-task at the expense of another.
  • Zero-shot learning: Adapting to entirely new scenarios or object arrangements without explicit retraining is difficult.

This paper aims to bridge this gap by developing a system that can robustly interpret and execute highly compositional instructions in a zero-shot manner.

Methods

SREM tackles scene rearrangement through a modular, energy-based approach:

  1. Energy-Based Models (EBMs) for Spatial Concepts: The core innovation is representing each spatial language concept (e.g., "left of," "in front of," "circle") as an energy function. These EBMs take object poses as input and output an energy value, where lower energy signifies better satisfaction of the spatial constraint. This allows for flexible composition by simply summing the energies of individual predicates.
  2. Semantic Parsing and Grounding: A semantic parser translates the natural language instruction into a set of EBMs and their corresponding object arguments. An open-vocabulary visual-language grounder then identifies the specific objects in the scene that match the arguments (e.g., finding "the red block").
  3. Goal Generation via Gradient Descent: SREM generates a target scene configuration by performing gradient descent on the sum of the EBM energies. This iterative process optimizes object locations to simultaneously satisfy all constraints specified in the instruction.
  4. Vision-Based Manipulation Policies: Once the goal configuration is determined, learned vision-based pick-and-place policies (specifically, Transporter Networks) are used to move the objects to their predicted target locations. These policies are trained on visual data and operate on abstracted representations.

Datasets

The paper introduces new benchmarks for evaluating compositional instructions, including:

  • spatial-relations: Single pick-and-place instructions with distractors.
  • comp-one-step: Instructions requiring one object to be re-located to satisfy multiple constraints.
  • comp-group: Instructions requiring multiple objects to be re-located.
  • shapes: Instructions for arranging objects into specific shapes like circles and lines.

These are implemented in PyBullet. The authors also evaluate on existing CLIPort benchmark tasks.

Key Insights and Ideas

  • Energy functions as a universal language for spatial concepts: Representing spatial relationships as energy functions provides a principled way to compose complex constraints. This is more robust than sequential planning, which can fail when constraints conflict.
  • Zero-shot generalization through abstraction: By learning abstract energy functions for basic spatial concepts, SREM can combine them in novel ways to understand instructions it has never seen before, without needing to be retrained.
  • Gradient descent for compositional goal satisfaction: Optimizing the sum of energy functions directly finds a configuration that best satisfies all constraints simultaneously, rather than trying to satisfy them one by one.
  • Modular design for interpretability and robustness: The separation of parsing, grounding, goal generation, and execution allows for easier debugging and the potential to swap out components.

Key Results

  • Superior performance on compositional tasks: SREM significantly outperforms state-of-the-art language-to-action policies (CLIPort) and Large Language Model (LLM) planners on benchmarks involving complex, compositional instructions. For instance, on "comp-group" tasks, SREM achieves an accuracy of 88.7% compared to 75.3% for LLM planners (Table I).
  • Strong generalization: SREM demonstrates robust generalization to novel objects, colors, and background colors, even with limited training data (Table V).
  • Real-world success: The framework successfully performs instruction-guided rearrangement tasks on a real-world robot (Franka Emika) without any real-world fine-tuning.
  • Ablation studies highlight component importance: Removing goal generation or learnable policies significantly degrades performance, underscoring the effectiveness of SREM's core components (Table VII).

Limitations and Future Work

The authors acknowledge two main limitations:

  1. Lack of physics-based temporal ordering: SREM predicts a goal configuration but doesn't inherently understand the physics of manipulation, such as the order in which objects should be moved for stability (e.g., stacking objects). They suggest incorporating physics-based constraints into the energy functions or using differentiable physics simulators.
  2. Parametrization for complex tasks: The current EBMs are parametrized by object locations and sizes. For more complex manipulation tasks involving articulated objects, fluids, or deformable materials, finer-grained parametrization (e.g., keypoints, pose) would be necessary.

Future work could explore integrating physics priors, extending EBMs to handle more complex object representations, and developing more sophisticated goal checkers.

Summary updated

BibTeX
@inproceedings{gkanatsios2023energy,
  author = {Nikolaos Gkanatsios and Ayush Jain and Zhou Xian and Yunchu Zhang and Christopher G Atkeson and Katerina Fragkiadaki},
  title = {{Energy-based Models are Zero-Shot Planners for Compositional Scene Rearrangement}},
  booktitle = {LTAMP @ RSS},
  year = {2023},
  url = {https://openreview.net/forum?id=RHF3KqNSOZl},
}
Figure