Translating Robot Skills: Learning Unsupervised Skill Correspondences Across Robots

Tanmay Shankar, Yixin Lin, Aravind Rajeswaran, Vikash Kumar, Stuart Anderson, Jean OhICLR 2022

TL;DR: This paper introduces a method for robots to learn "skill correspondences" across different bodies (embodiments) in a completely unsupervised way. By treating robot skills like words in a language and task strategies like sentences, researchers use techniques from unsupervised machine translation to let a robot watch a human or another robot and "translate" those actions into its own physical capabilities.

The Correspondence Problem

In robotics, the "correspondence problem" is a classic hurdle: how does a robot with one arm (like a Sawyer) learn from a human with two arms, or a robot with a completely different joint structure? Traditionally, teaching a robot to imitate a demonstrator required manual labeling or paired data—essentially a "Rosetta Stone" telling the robot that "Human Action A" equals "Robot Action B."

Human demonstrator reaching
Robot executing a sequence of skills

Collecting this supervised data is tedious and doesn't scale. This paper asks: Can a robot learn how its skills relate to another agent's skills just by looking at unlabelled videos of both agents performing various tasks?

Unsupervised Skill Translation

The authors propose a framework that bridges the gap between robotics and natural language processing (NLP). By treating a robot's repertoire as a "language," they tap into powerful unsupervised learning tools developed for linguistics. Their approach relies on three main pillars:

  1. Skill Abstraction: Instead of looking at raw motor torques, they use Temporal Variational Inference (TVI) to break down complex demonstrations into a sequence of discrete, high-level "skills" (represented as latent variables).
  2. The "Strategy" Insight: The core premise is that while physical movements differ, the high-level strategy to solve a task is often the same. Whether you are a human or a robot, to move a cup, you must first "reach," then "grasp," then "lift."
  3. Distribution Matching via Skill-Tuples: Inspired by Unsupervised Machine Translation (UMT), the authors match the distributions of skill sequences. They use "skill-tuples" (bigrams or pairs of consecutive skills) to capture temporal context. Matching a single "reach" skill is hard because it looks like many things, but matching a "reach" that is always followed by a "grasp" makes the correspondence much clearer.

They train a translation model (a simple MLP) using a bidirectional GMM-based objective:

  • Forward Likelihood ($L_f$): Ensures translated skills look "realistic" and valid in the target robot's domain.
  • Backward Likelihood ($L_b$): Ensures the translation covers all the different types of skills the target robot is capable of, preventing the model from just outputting the same "safe" skill every time (mode collapse).

Datasets and Evaluation

The researchers evaluated their method across a diverse set of morphological pairs using four major datasets:

  • Sawyer Robot: Roboturk dataset (2,000 demonstrations across 8 tasks).
  • Franka Panda Robot: RoboMimic dataset (800 demonstrations across 4 tasks).
  • Baxter Robot (Left & Right arms): MIME dataset (2,000 demonstrations across 16 tasks).
  • Human Demonstrators: GRAB dataset, featuring 10 different people manipulating objects.

Key Results

The model excels at "coarse" semantic mapping. Even if the "fine" details aren't perfect (like the exact finger spread), the high-level strategy transfer is often enough to solve the task or provide a massive head-start for fine-tuning.

  • Superior Accuracy: In semantic label matching (e.g., mapping "pushing" to "pushing"), this approach achieved ~70% accuracy, whereas standard baselines like Cycle-GAN or Domain Adversarial training struggled at ~10-20%.
  • Zero-Shot Strategy Transfer: The "translated" strategies allowed robots to solve tasks they hadn't seen before. For a "Push" task, the translated human strategy achieved a reward of 39.5, nearly matching the original demonstration's performance (42.1) and far outperforming standard Hierarchical Reinforcement Learning (16.3).
  • Efficiency: The method is significantly faster to train than adversarial methods, converging in about 3 hours compared to the 20+ hours required for Cycle-GAN approaches.

Limitations and Future Work

While powerful, the model sometimes struggles with fine-grained ambiguity, finding it hard to distinguish between very similar skills that occur in the same context (e.g., "twisting" vs. "grasping" if both always follow a "reach"). Furthermore, the method relies on agents actually solving tasks in the data; it might struggle with "random play" data lacking a clear sequential strategy. Finally, because skill representations are currently learned first and then "frozen," future work could explore end-to-end training for even better alignment.

Summary updated

BibTeX
@inproceedings{shankar2022translating,
  author = {Tanmay Shankar and Yixin Lin and Aravind Rajeswaran and Vikash Kumar and Stuart Anderson and Jean Oh},
  title = {{Translating Robot Skills: Learning Unsupervised Skill Correspondences Across Robots}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=NPJ5zWk_IQj},
}
Figure