Rapid Motor Adaptation for Robotic Manipulator Arms

Yichao Liang, Kevin Ellis, João Henriques

TL;DR

RMA² (Rapid Motor Adaptation for Robotic Manipulator Arms) enables robot arms to generalize across diverse objects and tasks by learning to infer hidden physical properties—like mass, friction, and geometry—on the fly. By combining proprioceptive history with depth vision in a two-phase training pipeline, the system achieves state-of-the-art performance in complex manipulation tasks, even when faced with previously unseen objects and external disturbances.

What Problem Does This Paper Address?

General-purpose robotic manipulation remains a "holy grail" in AI. While we have made strides in computer vision and high-level planning, low-level dexterous control is still brittle. Robots trained in simulation often fail in the real world (the "sim-to-real gap") because simulations cannot perfectly capture every physical nuance—object mass, surface friction, or the exact way a gripper interacts with a specific shape.

Previous work on Rapid Motor Adaptation (RMA) successfully tackled quadruped locomotion by allowing robots to adapt to different terrains using joint sensors (proprioception). However, applying this to robot arms is much harder. Unlike a walking robot, a manipulator needs to understand an object's geometry before touching it to plan a successful grasp, and it must handle a much wider variety of goals, such as turning a faucet or inserting a peg.

Methods

The authors propose a two-phase training procedure, illustrated in the architecture diagram below:

Overview of the RMA² training procedure, showing the transition from privileged simulation training to real-world deployment using an adapter.
  1. Phase 1: Policy Training (The "Oracle" Phase): The agent is trained in a simulator with massive domain randomization. Crucially, the agent is given "privileged information"—exact values for object mass, friction, and even learnable "identity embeddings" that act as proxies for complex geometry. An Environment Encoder compresses this privileged data into a low-dimensional latent embedding ($z_t$), which the policy uses to succeed across thousands of variations.
  2. Phase 2: Adapter Training (The "Real-World" Phase): The privileged information is taken away. Instead, an Adapter Module is trained to predict the latent embedding ($z_t$) using only what a real robot would have: a history of its own joint movements (proprioception) and a depth image from a camera mounted on its arm.

Key Innovations: * Category and Instance Dictionaries: To handle diverse shapes, the authors use learnable embeddings for object categories and specific instances, allowing the model to learn a "vocabulary" of geometry. * Depth-Aware Adaptation: Unlike locomotion RMA, which relies only on joint sensors, RMA² uses a CNN to process depth images, enabling the robot to "see" object properties like size and orientation before contact.

Datasets

The researchers evaluated RMA² across four challenging tasks using the ManiSkill2 benchmark:

  • Pick & Place (YCB): 78 common household objects from the YCB dataset.
  • Pick & Place (EGAD): Over 2,000 geometrically unique objects designed to test grasping diversity.
  • Peg Insertion: A high-precision task with only 3mm of clearance.
  • Faucet Turning: 60 different faucets from the PartNet-Mobility dataset, requiring the robot to adapt to various handle shapes and rotation axes.

Key Insights and Ideas

  • Implicit Geometry: You don't need a perfect 3D model of an object to manipulate it. By using "identity embeddings" as privileged information, the agent learns to associate visual features with the functional properties of a shape (e.g., "this part looks like a handle I can grasp").
  • Vision + Proprioception: Vision provides the "prior" (what should I do?), while proprioception provides the "posterior" (what actually happened when I touched it?). RMA² effectively fuses these to correct for errors, such as a gripper slipping or an object being heavier than it looks.
  • Generalization through Latent Space: Because the adapter learns to map visual/motor inputs to a latent space of physical properties, the policy can generalize to objects it has never seen before, provided they fall within the physical "distribution" the latent space represents.

Key Results

RMA² consistently outperformed strong baselines, including Automatic Domain Randomization (ADR) and standard vision-based RL.

Task RMA² Success Rate Best Baseline (Non-Oracle)
Pick & Place (YCB) 73.8% 70.4% (NoOE)
Faucet Turning 62.7% 51.8% (ADR)
Peg Insertion 51.6% 48.4% (NoVA)
Pick & Place (EGAD) 90.5% 88.1% (NoOE)

One of the most impressive results was the zero-shot extrapolation to the EGAD dataset. Even though the agent was trained on a smaller set of objects, it achieved a 90.5% success rate on thousands of unseen, complex shapes. The heatmap below shows how RMA² maintains high success even as shape and grasp complexity increase.

Heatmap showing RMA² success rates across different levels of shape and grasp complexity on the EGAD dataset.

Limitations and Future Work

  • The Oracle Gap: There is still a performance gap between the "Oracle" (which has perfect information) and the "Adapter" (which guesses). Improving the adapter's accuracy, perhaps through more sophisticated visual networks or tactile sensing, is a key next step.
  • Single-Task Focus: Currently, separate policies are trained for each task. The authors suggest that a multi-task policy could encourage knowledge sharing (e.g., learning that "twisting" a faucet is similar to "unscrewing" a cap).
  • Hand-Eye Coordination: The authors noted that moving the camera (mounted on the gripper) increases training complexity. Exploring fixed-camera setups or better "hand-eye" calibration methods could improve stability.

Summary updated

Abstract

Developing generalizable manipulation skills is a core challenge in embodied AI. This includes generalization across diverse task configurations, encompassing variations in object shape, density, friction coefficient, and external disturbances such as forces applied to the robot. Rapid Motor Adaptation (RMA) offers a promising solution to this challenge. It posits that essential hidden variables influencing an agent's task performance, such as object mass and shape, can be effectively inferred from the agent's action and proprioceptive history. Drawing inspiration from RMA in locomotion and in-hand rotation, we use depth perception to develop agents tailored for rapid motor adaptation in a variety of manipulation tasks. We evaluated our agents on four challenging tasks from the Maniskill2 benchmark, namely pick-and-place operations with hundreds of objects from the YCB and EGAD datasets, peg insertion with precise position and orientation, and operating a variety of faucets and handles, with customized environment variations. Empirical results demonstrate that our agents surpass state-of-the-art methods like automatic domain randomization and vision-based policies, obtaining better generalization performance and sample efficiency.
BibTeX
@misc{liang2023rapid,
  author = {Yichao Liang and Kevin Ellis and João Henriques},
  title = {{Rapid Motor Adaptation for Robotic Manipulator Arms}},
  year = {2023},
  eprint = {2312.04670},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.04670},
}
Figure