Bayesian Meta-Learning for Few-Shot Policy Adaptation Across Robotic Platforms

Ali Ghadirzadeh, Xi Chen, Petra Poklukar, Chelsea Finn, Mårten Björkman, Danica Kragic

Introduction

Reinforcement Learning (RL) has demonstrated remarkable success in training robots for complex tasks. However, these policies often suffer from extreme "brittleness": a model trained for a specific robot arm typically fails if even minor hardware changes occur, such as adjusting a link length or swapping a gripper. Traditionally, adapting to such changes requires retraining from scratch, a process that is prohibitively expensive in terms of time, computation, and data collection.

This paper addresses the challenge of Few-Shot Policy Adaptation Across Robotic Platforms. The objective is to enable a robot to adapt its learned skills to novel hardware configurations using only a handful of motion trajectories (typically five demonstrations). By modeling robot-specific dynamics within a low-dimensional latent space, the proposed framework allows the system to infer the underlying physics of a new body and adjust its motor commands accordingly.

Modular Policy Architecture

To facilitate cross-platform adaptation, the researchers propose a modular policy architecture that separates task-level logic from hardware-specific execution. The "brain" of the robot is decomposed into two primary components:

  1. Sub-Policy (Task-specific): This module handles high-level objectives, such as determining the target coordinates for an end-effector. Crucially, this component is designed to be platform-independent.
  2. Trajectory Generative Model (Platform-specific): This module translates high-level goals into specific joint-level motor commands. This is the component that must be adapted when the robot's physical configuration changes.
The modular policy architecture separates visual perception and high-level sub-policies from the platform-specific motor trajectory generative model.

Probabilistic Meta-Learning Framework

The core of the adaptation mechanism is a Bayesian meta-learning algorithm. Building upon the foundations of Model-Agnostic Meta-Learning (MAML), the authors introduce a meta-task latent variable ($z$).

In this framework, an encoder maps a small set of demonstrations into a low-dimensional $z$, which captures the "essence" of a specific robot's hardware. A Network Generative Model then utilizes this latent variable to produce the initial weights for the trajectory generative model. Finally, a few steps of gradient descent—referred to as the "inner loop"—fine-tune these weights to the specific nuances of the new robot. This probabilistic approach allows the model to navigate the inherent ambiguity of few-shot settings by proposing multiple potential solutions consistent with the limited data.

Experimental Results and Insights

The framework was evaluated using a massive benchmark of 400 simulated robots derived from four major platforms: ABB YuMi, Baxter, Franka Emika, and Kinova. Physical parameters like link lengths were varied to test the limits of adaptation.

Superior Accuracy and Real-World Deployment

In simulated reaching tasks, the proposed method consistently outperformed standard benchmarks like MAML, VERSA, and Amortized Variational Inference (AVI), often reducing reaching errors by over 50%. The system also proved its efficacy on physical hardware; using an ABB YuMi robot, the framework achieved a 90.8% success rate in a picking task after adapting to four different gripper sizes using only five demonstrations.

Latent Space as a Robot Taxonomy

One of the most compelling findings was the model's ability to organize different hardware configurations into a meaningful latent space. The learned representations naturally clustered similar robots together. For instance, the latent variables for YuMi and Baxter robots—which share certain structural similarities—were closer to each other than to those of the Kinova robots. This suggests the model effectively learns a "taxonomy" of robotic morphologies.

Visualization of the learned latent space demonstrates that the model naturally clusters robots by their morphological similarities.

Conclusion and Future Work

This work demonstrates that combining generative models with gradient-based fine-tuning provides a robust path for few-shot robotic adaptation. While the current method assumes some degree of structural similarity (e.g., 7-DOF manipulators), it significantly reduces the data burden for deploying skills across diverse hardware. Future research will focus on extending this framework to handle more complex, multi-task scenarios and adapting between radically different morphologies, such as moving from a robotic arm to a quadruped platform.

Summary updated

BibTeX
@inproceedings{ghadirzadeh2021bayesian,
  author = {Ali Ghadirzadeh and Xi Chen and Petra Poklukar and Chelsea Finn and Mårten Björkman and Danica Kragic},
  title = {{Bayesian Meta-Learning for Few-Shot Policy Adaptation Across Robotic Platforms}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2021},
  doi = {10.1109/iros51168.2021.9636628},
}
Figure