Skip to main content
QUICK REVIEW

[Paper Review] Transformers are Adaptable Task Planners

Vidhi Jain, Yixin Lin|arXiv (Cornell University)|Jul 6, 2022
Reinforcement Learning in RoboticsComputer Science5 citations
TL;DR

This paper proposes a Transformer-based Task Planner (TTP) that learns high-level manipulation policies from demonstrations using object-centric, temporal, and pose-aware representations. TTP generalizes to unseen user preferences with a single demonstration, achieving zero-shot transfer from simulation to a real-world Franka Panda robot for dish rearrangement tasks.

ABSTRACT

Every home is different, and every person likes things done in their particular way. Therefore, home robots of the future need to both reason about the sequential nature of day-to-day tasks and generalize to user's preferences. To this end, we propose a Transformer Task Planner(TTP) that learns high-level actions from demonstrations by leveraging object attribute-based representations. TTP can be pre-trained on multiple preferences and shows generalization to unseen preferences using a single demonstration as a prompt in a simulated dishwasher loading task. Further, we demonstrate real-world dish rearrangement using TTP with a Franka Panda robotic arm, prompted using a single human demonstration.

Motivation & Objective

  • Address the challenge of learning adaptable, long-horizon task plans in robotics that account for dynamic environments and user-specific preferences.
  • Overcome limitations of symbolic task planning by replacing hand-coded constraints with end-to-end learning from demonstrations.
  • Enable zero-shot generalization to new preferences using only a single human demonstration as a prompt.
  • Bridge the sim-to-real gap for complex manipulation tasks like dishwasher loading and drawer organization.

Proposed method

  • Represent each object as a 7D vector combining 3D pose, category, and timestep, enabling spatial-temporal modeling.
  • Use a Transformer architecture with dedicated embeddings for time, object pose, and category to model long-range dependencies in action sequences.
  • Pre-train TTP on 7 different user preferences using 80 demonstrations per preference to learn generalized temporal representations.
  • Apply prompt-based inference: a single human demonstration conditions the model to infer a new preference at test time.
  • Use a discrete set of pre-compiled placement poses per object category, densely covering feasible locations in the dishwasher.
  • Leverage context windows of prior states to handle partial observability (e.g., closed racks), improving decision-making under uncertainty.

Experimental results

Research questions

  • RQ1Can a Transformer-based architecture learn task structure and preferences implicitly from long-horizon demonstrations without symbolic task descriptions?
  • RQ2Can preference-conditioned pre-training enable zero-shot generalization to unseen user preferences using only one demonstration?
  • RQ3How effective is the model in handling dynamic environments with variable object counts and partially observable states?
  • RQ4To what extent does the design of pose and category embeddings affect performance in real-world transfer?
  • RQ5Can the model generalize from simulation to real-world manipulation tasks like dish rearrangement with a single real-world demonstration?

Key findings

  • TTP achieves over 90% category-level prediction accuracy in validation across all context window sizes, indicating robustness to partial observability.
  • The Fourier transform of pose embeddings outperforms raw 7D pose vectors, suggesting better encoding of spatial and temporal nuances.
  • Larger context windows accelerate initial learning but do not improve asymptotic performance, implying the dataset is largely observable with short context.
  • TTP generalizes to unseen preferences and dynamic scenes, outperforming competitive baselines in both simulation and real-world evaluation.
  • Zero-shot transfer to a real-world Franka Panda robot succeeds in organizing dishes into two drawers using only one human demonstration as a prompt.
  • The model demonstrates strong generalization to variable numbers of objects and unseen configurations, confirming its adaptability beyond training distribution.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.