"Set It Up!": Functional Object Arrangement with Compositional Generative Models

Yiqing Xu, Jiayuan Mao, Yilun Du, Tomás Lozano-Pérez, Leslie Pack Kaelbling, David Hsu · DOI

Abstract

Robots often struggle with vague instructions like "set the table" because they lack the common sense to bridge the gap between high-level goals and precise physical coordinates. We present SetItUp, a neuro-symbolic framework that leverages Large Language Models (LLMs) to translate under-specified commands into a graph of abstract spatial relationships. These relationships are subsequently grounded into concrete object poses using a library of specialized, compositional diffusion models. SetItUp demonstrates superior performance in physical feasibility, functionality, and human preference across diverse tabletop scenarios, outperforming end-to-end baselines in complex arrangement tasks.

Introduction

Most current robotics research focuses on explicit instructions, such as "Put the fork 5cm to the left of the plate." However, humans rarely communicate this way, instead using under-specified goals like "tidy up the desk" or "set a romantic dinner for two." This task, termed Functional Object Arrangement (FORM), is difficult due to data scarcity for training, the need to generalize to novel objects, and the requirement to satisfy multifaceted criteria including physical feasibility, functionality, and aesthetics.

The SetItUp Framework

SetItUp addresses the FORM challenge through a two-stage, neuro-symbolic approach that bridges conceptual reasoning and geometric precision.

The SetItUp system architecture: translating natural language instructions into a grounding graph of relationships, which a compositional diffusion solver then converts into precise object poses.

1. Abstract Relationship Generation

When provided with a vague instruction and a list of objects, SetItUp uses an LLM to generate a "grounding graph." This graph consists of abstract spatial relationships like left_of(fork, plate) or near_front_edge(keyboard). To enable effective reasoning with minimal data (just 5 examples per scene type), the system utilizes human-crafted program sketches. These Python-like templates guide the LLM to decompose tasks into logical steps, such as placing main devices before accessories. An iterative self-reflection loop allows the LLM to check its proposed relationships for inconsistencies before finalization.

2. Compositional Diffusion-Based Constraint Solver

To translate abstract relationships into exact (x, y, θ) coordinates, SetItUp employs a library of 24 small diffusion models, each specialized in a basic relationship (unary, binary, or ternary). At inference time, these models work together by "averaging" their gradients to find a global configuration that satisfies all constraints simultaneously. This compositional approach allows the system to generalize to complex, novel arrangements by combining learned "grammar" rules of spatial arrangement.

Evaluation and Results

The framework was validated on a dataset comprising three common environments: Study Desks, Dining Tables, and Coffee Tables. The individual relationship models were trained on 30,000 synthetic examples, while high-level reasoning was learned from only 5 human-labeled examples per domain.

A real-world execution of a dining table arrangement generated by SetItUp, demonstrating functional and aesthetic placement of various objects.

SetItUp significantly outperformed baselines, including end-to-end diffusion models and direct LLM coordinate prediction, across several metrics:

  • Physical Feasibility: SetItUp achieved a 95-98% collision-free rate, whereas end-to-end models dropped as low as 7% in complex scenarios.
  • Functionality: The system recovered 80-90% of intended functional relationships, far surpassing baselines that struggled with usable object placement.
  • Human Judgment: In a study with 20 participants, SetItUp consistently scored 4.5+ out of 5, while baselines typically scored between 1.5 and 3.0.
  • Scalability: Performance remained stable even as the number of objects and relationships in a scene increased.

Key Insights and Future Work

The success of SetItUp highlights abstraction as a bridge: LLMs excel at reasoning about concepts, while diffusion models excel at precise geometry. By using abstract relationships as an intermediate language, the framework plays to the strengths of both. Furthermore, the compositionality of the diffusion solver allows for infinite variety in scene generation from a finite set of rules.

Current limitations include the focus on 2D tabletop arrangements and a dependency on human-written program sketches. Future research will explore extending the framework to 3D environments involving stacking and complex orientations, as well as using LLMs to generate program sketches directly from natural language descriptions. Integrating these planning capabilities with real-world robotic grasping and motion planning remains a significant engineering goal.

Summary updated

BibTeX
@inproceedings{xu2024set,
  author = {Yiqing Xu and Jiayuan Mao and Yilun Du and Tomás Lozano-Pérez and Leslie Pack Kaelbling and David Hsu},
  title = {{"Set It Up!": Functional Object Arrangement with Compositional Generative Models}},
  booktitle = {Robotics: Science and Systems},
  year = {2024},
  doi = {10.15607/rss.2024.xx.095},
}
Figure