Skill Transfer in Deep Reinforcement Learning under Morphological Heterogeneity

Yang Hu, Giovanni MontanaarXiv 2019

Introduction

In Reinforcement Learning (RL), the standard paradigm assumes that the agent being trained remains consistent across tasks. However, real-world robotics involves a vast array of morphologies—robots with varying joint counts, limb lengths, and action spaces. Transferring knowledge between these "morphologically heterogeneous" agents is a significant challenge because their state and action spaces are often incompatible.

This paper introduces PVED (Paired Variational Encoder-Decoder), a framework designed to bridge this gap. By disentangling control mechanisms into shared task-level factors and individual agent-specific factors, PVED enables robots with completely different bodies to share skills, significantly accelerating training for complex tasks.

The Challenge of Morphological Heterogeneity

Learning under Morphological Heterogeneity (LMH) aims to improve sample efficiency by leveraging existing knowledge from diverse robotic platforms. The primary hurdle is translating the "intent" of a motion (e.g., a bipedal walk) into the specific motor commands required for a different morphology (e.g., a one-legged hopper). Traditional RL methods struggle here because they cannot easily map sensors and actuators across disparate hardware configurations.

Methodology: The PVED Framework

PVED avoids direct mapping between sensors and motors by learning a common "latent language" of control.

The PVED architecture disentangles control into shared (c) and individual (y) subspaces using a paired VAE structure.

Core Components

  1. Joint State-Action Representation: Unlike prior methods that focus solely on states, PVED models the joint distribution of states and actions. This captures the dynamics of control—what an agent does within a specific context.
  2. Disentangled Subspaces: Using a paired Variational Autoencoder (VAE), PVED splits control signals into:
  3. Shared Subspace ($c$): Morphology-invariant features such as "balance" or "approaching a target."
    • Individual Subspace ($y$): Agent-specific mechanics, such as the precise torque required for a specific joint to achieve a desired motion.
  4. Consistency Constraint: A KL-divergence loss ensures that when different robots perform the same task stage, their representations in the shared subspace remain nearly identical.
  5. Skill Transfer via Reward Shaping: After learning these subspaces on a simple training task, the target agent receives an additional "shaping reward" if its shared latent factors align with the trajectories of a successful source agent.

Experimental Setup and Datasets

The authors validated PVED across four distinct pairs of agents using the MuJoCo physics engine and OpenAI Gym, ranging from simple reachers to complex locomotion transfers.

  • Reacher Pair: 3-link to 4-link reacher (Button pushing).
  • Robotic Arm Pair: Jaco3 (7 DoF) to Fetch robot (4 DoF) (Peg insertion).
  • Locomotion Pair 1: Walker2d to Hopper (Climbing a curved plane).
  • Locomotion Pair 2: Humanoid to Ant (Climbing a curved plane).

Key Results and Insights

  • Superior Performance: PVED consistently outperformed standard PPO baselines and previous state-of-the-art methods. In complex tasks like "Fetch peg insertion," baseline agents often failed entirely, while PVED-enabled agents achieved high success rates rapidly.
  • Handling Extreme Heterogeneity: In the most challenging case—transferring skills from a bipedal Humanoid to a quadrupedal Ant—PVED was the only method capable of identifying shared control factors to facilitate learning.
  • Interpretable Latents: t-SNE visualizations confirmed that the shared subspace organizes itself by task stages (e.g., "swing phase"), independent of the robot's specific morphology.
  • Theoretical Foundation: The paper provides a mathematical upper bound on the performance gap between source and target agents, showing that success depends on the quality of the shared subspace and the degree of morphological difference.

Conclusion and Future Work

PVED demonstrates that disentangling task intent from physical execution is a powerful strategy for cross-robot skill transfer. While the current model requires paired trajectories from a simpler training task, future research could explore learning these subspaces from unaligned data or explicitly incorporating morphology as an input to generalize to entirely new robot designs without task-specific data.

Summary updated

BibTeX
@misc{hu2019skill,
  author = {Yang Hu and Giovanni Montana},
  title = {{Skill Transfer in Deep Reinforcement Learning under Morphological Heterogeneity}},
  year = {2019},
  eprint = {1908.05265},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1908.05265},
}
Figure