Skill Acquisition by Instruction Augmentation on Offline Datasets

Ted Xiao, Harris Chan, Pierre Sermanet, Ayzaan Wahid, Anthony Brohan, Karol Hausman, Sergey Levine, Jonathan TompsonFMDM @ NeurIPS 2022

TL;DR

This paper introduces DIAL, a method that uses pre-trained vision-language models (VLMs) like CLIP to automatically generate richer, more descriptive language instructions for existing robot demonstration datasets. By augmenting datasets with these AI-generated labels, DIAL enables robots to learn new skills and generalize to novel instructions, significantly reducing the need for expensive human annotation.

What Problem Does This Paper Address?

Training robots to follow natural language instructions is a key step towards more versatile and intuitive human-robot interaction. However, current methods often rely on large datasets of robot demonstrations paired with human-annotated language instructions. Collecting these annotations is expensive and time-consuming, and the original labels might only capture a fraction of the skills demonstrated. This creates a bottleneck, limiting the robot's ability to learn a wide range of tasks and generalize to new instructions. The paper asks: can we leverage the vast knowledge embedded in large pre-trained VLMs to automatically generate more comprehensive language labels for existing robot data, thereby making these datasets more useful and enabling robots to learn more complex behaviors?

Methods

The core of DIAL is a three-stage process:

  1. Finetuning a VLM: A pre-trained VLM (specifically CLIP) is finetuned on a small dataset of robot trajectories that do have crowd-sourced language annotations. This step adapts the VLM to the specific domain of robotic manipulation.
  2. Instruction Augmentation: The finetuned VLM is then used to generate new, more descriptive language instructions for a much larger dataset of robot trajectories that lack any human annotations. This is done by having the VLM score and rank potential language descriptions against the visual input (initial and final states) of each trajectory. The paper explores two strategies for selecting these augmented instructions: "Top-k" (selecting the k most similar instructions) and "Min-p" (selecting instructions above a certain confidence threshold).
  3. Policy Training: Finally, a language-conditioned robot policy is trained using behavior cloning on the combined dataset of original and augmented instructions.

Datasets

  • Dataset A (DA): A small dataset of 5,600 robot trajectories with crowd-sourced hindsight language annotations. This dataset is used for finetuning the VLM.
  • Dataset B (DB): A large dataset of 80,000 robot trajectories collected via human teleoperation. These trajectories have "foresight instructions" (high-level task descriptions used to guide data collection) but no detailed, episode-specific language annotations. This is the primary dataset augmented by DIAL.
  • Dataset C (Dc): The augmented dataset, consisting of trajectories from DB relabeled with VLM-generated instructions.

The paper also uses a set of 60 novel evaluation instructions, categorized into Spatial, Rephrased, and Semantic tasks, to assess policy performance.

Key Insights and Ideas

  • VLMs as Automatic Labelers: The central idea is that large, pre-trained VLMs can act as powerful, automated annotators for robotic data. This bypasses the bottleneck of expensive human labeling.
  • Beyond Simple Labels: DIAL doesn't just rephrase existing instructions; it can introduce richer spatial concepts (e.g., "apple on the right side of the table") and more nuanced semantic descriptions, significantly expanding the robot's understanding of its environment and tasks.
  • Data-Driven Augmentation: The method is "data-driven" because it leverages the visual information from the robot's own demonstrations to generate relevant language labels, rather than relying solely on generic text prompts.
  • Trade-off between Quantity and Quality: The paper highlights a trade-off: increasing the number of augmented instructions (e.g., with Top-k) can lead to larger datasets but also introduces more inaccurate or irrelevant labels. The Min-p selection strategy offers a more conservative approach.
  • Finetuning is Crucial: Pre-trained VLMs alone aren't sufficient; finetuning them on domain-specific robotic data is essential for effective instruction augmentation.

Key Results

  • Significant Performance Improvement: DIAL-trained policies achieved a 60.0% overall success rate on 60 novel instructions, outperforming baseline methods (which achieved 42.5% with no augmentation and lower scores with other augmentation techniques).
  • Strong on Spatial Tasks: DIAL showed particular strength in Spatial Tasks (68.0% success), demonstrating its ability to understand and utilize spatial language for object manipulation.
  • Effective with Partially Labeled Data: DIAL significantly improved performance even when only foresight instructions were available (36.7% vs. 33.8% for no augmentation) or when only crowd-sourced labels were available (47.5% vs. 27.5% for no augmentation).
  • Generalization to Novel Instructions: Policies trained with DIAL generalized to 60 novel instructions unseen during training, including tasks requiring spatial reasoning and semantic skills not present in the original dataset.
  • Min-p Outperforms Top-k: The more conservative Min-p selection strategy generally led to better performance than Top-k, suggesting that prioritizing label accuracy over sheer quantity is beneficial.

Limitations and Future Work

  • Not Perfect: DIAL still makes mistakes, especially with tasks requiring new motor skills or when dealing with ambiguous instructions.
  • Domain-Specific Finetuning: The current approach requires finetuning the VLM on domain-specific robot data, as zero-shot performance on specific robotic domains is limited.
  • Hyperparameter Sensitivity: The performance can be sensitive to the choice of hyperparameters for instruction selection (k for Top-k, p for Min-p).
  • Future Work: The authors suggest exploring DIAL for visual goal conditioning, and investigating on-policy or RL variations of DIAL for more autonomous exploration of task representation spaces.

Summary updated

BibTeX
@inproceedings{xiao2022skill,
  author = {Ted Xiao and Harris Chan and Pierre Sermanet and Ayzaan Wahid and Anthony Brohan and Karol Hausman and Sergey Levine and Jonathan Tompson},
  title = {{Skill Acquisition by Instruction Augmentation on Offline Datasets}},
  booktitle = {FMDM @ NeurIPS},
  year = {2022},
  url = {https://openreview.net/forum?id=uztKyepCdd},
}
Figure