Generalizable Task Planning through Representation Pretraining

Chen Wang, Danfei Xu, Li Fei-Fei

TL;DR

This paper introduces a two-stage framework for robotic task planning that generalizes to unseen objects by leveraging pre-trained, object-centric representations. By combining high-level semantic grounding with low-level geometric reconstruction, the method allows robots to plan complex, multi-step manipulation tasks in new environments with significantly higher success rates and sample efficiency than end-to-end approaches.

What Problem Does This Paper Address?

Robots in home environments face a daunting challenge: they must perform long-horizon, multi-step tasks (like cleaning a microwave or cooking a meal) while adapting to new objects they've never seen before. Traditional Task and Motion Planning (TAMP) systems are powerful but often rely on brittle, hand-engineered models and abstract states that don't scale well. On the flip side, end-to-end deep learning methods struggle with the sheer amount of real-world interaction data required to generalize.

The core problem is finding a representation that is granular enough for precise manipulation (geometry) yet abstract enough for long-term reasoning (semantics), all while being robust enough to handle novel object instances without constant retraining.

Methods

The authors propose a two-stage approach:

  1. Representation Pre-training: Instead of learning from scratch, the model first learns object-level embeddings from a large-scale synthetic scene understanding dataset. Crucially, it uses a hybrid objective:
  2. Symbolic Grounding: A symbolic decoder ($f_{syb}$) learns to predict high-level states and relationships (e.g., is_soaked, on_top).
  3. Segmentation Reconstruction: A CNN-based decoder ($f_{seg}$) reconstructs the object's segmentation mask, forcing the embedding to capture shape and location information. Fig. 3: Learning planning representations
Fig. 3: Learning planning representations: The hybrid objective consists of a high-level symbol grounding and a pixel-level segmentation reconstruction task.
  1. Learning to Plan:
  2. Spatially-Grounded Transition Model ($f_T$): The model learns how actions affect these embeddings. It uses a "spatially-grounded" design where skill parameters (like where to grasp) are mapped directly to pixel locations on the image. A Transformer encoder handles multi-object interactions (e.g., how pouring from a pan affects both the pan and the bowl).
  3. Search-Based Planning: A breadth-first search (BFS) explores possible action sequences. To keep the search efficient, the model uses the confidence scores from the symbolic decoder to prune less promising branches. Fig. 2: Task Planning Overview
Fig. 2: Task Planning Overview: (a) The spatially-grounded transition model fT takes a set of object-level embeddings as input and generates a pixel-level prediction of the skill effect. Each pixel feature on the prediction map refers to next symbolic state of the target object after the skill execution. To handle the situation where one action affects multiple objects, a transformer encoder network takes the predicted target object feature and the other objects’ state embeddings as inputs and outputs a final prediction of the skill effect over all objects. (b) We develop a search-based planner based on the learned transition model. For each state node, the planner enumerates possible skill and parameter choices and traverse to their effect states. Each states is then decoded into symbolic predicates and compared with a task goal. A task is considered complete if and only if all predicate conditions are satisfied.
Fig. 1: Overview: We propose a two-stage approach to learn a generalizable task planner. (1) The first stage learns object- centric representations from a large-scale scene understand- ing dataset through hybrid semantic-symbolic objectives. (2) Based on the pre-trained representation, the second stage trains an environment dynamics model fT for search-based task planning. (3) We show that the task planner inherits the generalization capabilities of the learned representation and can successfully plan in new settings with unseen objects.

Datasets

  • BEHAVIOR Benchmark: Used to synthesize a large-scale scene understanding dataset with 27 food categories, 18 household objects, and 20 bowl containers.
  • PyBullet: A physics engine used for the experience dataset, collected via random robot exploration to train the transition model.
  • Evaluation Tasks: Adapted from BEHAVIOR, including Rearrangement (swapping objects between tables), Cleaning (soaking a towel to clean a microwave), and Cooking (cooking food in a pan and serving it).

Key Insights and Ideas

  • Geometry + Semantics = Better Planning: The authors show that semantic concepts alone (like "on-top") aren't enough for manipulation. Including pixel-level segmentation reconstruction is vital for the robot to understand where and how to interact with objects.
  • Spatial Grounding for Generalization: By parameterizing skills in image space (pixels) rather than absolute robot coordinates, the transition model becomes much more transferable across different object shapes and layouts.
  • Representation Alignment: During transition model training, the pre-trained decoders are frozen. This acts as a regularizer, ensuring the predicted future states remain within the "meaningful" space learned during pre-training.
  • Confidence as a Pruning Tool: The symbolic decoder's output serves as a natural confidence metric, allowing the planner to ignore redundant or low-probability action parameters, drastically speeding up the search process.

Key Results

  • Superior Generalization: On unseen objects in the Rearrangement task, the proposed method achieved a 47% mean success rate, while baselines without pre-training plummeted to near 0%.
  • Sample Efficiency: In complex cooking scenarios with multiple layouts, the method outperformed state-of-the-art baselines by over 20% in success rate while using only 60% of the training data.
  • Precise Parameter Selection: The spatially-grounded model was significantly better at tasks requiring precision, such as pouring food into a bowl, outperforming ungrounded models by more than 15%.
  • Long-Horizon Success: The planner successfully solved multi-step tasks like the Cleaning task, which requires reasoning about both geometric placement and semantic state changes (soaking).

Limitations and Future Work

  • Skill Complexity: The current work uses simplified, location-based skills (pick, place, pour). Future work could extend this to more complex 6-DOF manipulation parameters.
  • Sim-to-Real Gap: All experiments were conducted in simulation. Testing the transferability of these pre-trained representations to real-world hardware remains a critical next step.
  • Search Scalability: While the current BFS with pruning works for moderate horizons, even more efficient planning algorithms (like bi-level or hierarchical planning) will be needed for truly open-ended household tasks.

Summary updated

BibTeX
@inproceedings{wang2022generalizable,
  author = {Chen Wang and Danfei Xu and Li Fei-Fei},
  title = {{Generalizable Task Planning through Representation Pretraining}},
  booktitle = {Long Horizon Planning @ CoRL},
  year = {2022},
  url = {https://openreview.net/forum?id=YiBS-duHVJ},
}
Figure