Cross-Embodiment Robot Manipulation Skill Transfer using Latent Space Alignment

Tianyu Wang, Dwait Bhatt, Xiaolong Wang, Nikolay AtanasovarXiv 2024 · DOI

Abstract

Reinforcement Learning (RL) has demonstrated significant potential in robotic manipulation, yet policies remain highly specific to the robot's physical configuration. This paper introduces a novel framework for transferring skills across different robot embodiments without task-specific retraining or paired demonstrations. By aligning the state and action spaces of disparate robots into a shared, embodiment-independent latent space, a policy trained on a source robot (e.g., a simulated Panda arm) can be deployed zero-shot on a target robot with different degrees of freedom and dynamics (e.g., a physical xArm6).

Introduction

Traditional Reinforcement Learning is notoriously "brittle." A policy optimized for a 7-degree-of-freedom (DoF) Panda arm cannot be directly applied to a 6-DoF xArm6 because their joint configurations, link lengths, and underlying dynamics differ significantly. Standard transfer methods typically rely on paired data—demonstrations showing the same movement on both robots—or extensive fine-tuning in the target domain using reward functions. However, collecting paired data is logistically challenging, and retraining is computationally expensive and requires a predefined reward function for every new environment.

Overview of cross-embodiment transfer from a simulated source robot to different target robots and real-world hardware.

This research addresses these challenges by proposing a method to transfer skills across different morphologies using only unpaired, unaligned, and randomly collected data from the target robot. The core idea is to decouple the task-specific policy from the robot-specific embodiment through latent space alignment.

Methodology

The proposed framework utilizes a three-stage approach to achieve latent space alignment:

1. Source Domain Policy Learning

The source robot (e.g., a simulated Panda) learns the target task. Instead of mapping raw states to actions, the system learns encoders ($F_s$) and decoders ($G_s$) that project states and actions into a "latent space." The policy is trained entirely within this latent space using three primary objectives: a standard RL task loss, a latent dynamics loss to ensure predictable transitions, and a reconstruction loss to ensure the encoders and decoders are accurate inverses.

2. Target Domain Latent Alignment

To integrate a new robot, target-specific encoders ($ ilde{F}^t$) and decoders ($ ilde{G}^t$) are trained while the source policy and latent dynamics remain frozen. This alignment is achieved through:

  • Adversarial Loss (GAN): A discriminator attempts to distinguish between latent state-action pairs from the source and target; the target encoders learn to produce distributions that "fool" the discriminator.
  • Cycle Consistency Loss: This ensures that a state translated from source to target and back returns to its original value, enabling learning from unpaired data.
  • Latent Dynamics Consistency: This forces the target robot's movements to adhere to the "latent physics" established during source training.
The latent space alignment architecture, showing the mapping between source/target domains and the shared latent representation.

3. Target Deployment

During deployment, the target encoder is swapped in, while the latent policy remains unchanged. The target decoder then executes the actions. This results in functional skill transfer where the target robot performs the task without ever having received a reward signal in its own domain.

Experimental Evaluation

The framework was evaluated using the Robosuite simulation environment across four manipulation tasks: Reach, Lift, PickPlace, and Stack. The source robot was a simulated 7-DoF Franka Emika Panda, while target robots included a simulated 7-DoF Sawyer and a 6-DoF xArm6. Real-world validation was conducted on a physical 6-DoF xArm6 equipped with an RGBD camera and force-sensing resistors (FSRs) for tactile feedback. Alignment was facilitated by 10,000 random trajectories collected for each robot.

Key Results and Insights

  • High-Precision Transfer: In the Reach task, the model achieved an $\ell_1$ error of just 0.7 cm in a sim-to-sim transfer, significantly outperforming the "Invariance through Latent Alignment" (ILA) baseline of 3.9 cm.
  • Cross-Morphology Success: The model successfully transferred Lift, PickPlace, and Stack policies from the Panda to the Sawyer and xArm6. While performance was slightly below an "Oracle" policy trained specifically for the target, it demonstrated functional skill transfer (e.g., a reward of 132 for xArm6 Lift vs. 171 for the Oracle).
  • Sim-to-Real Performance: On physical hardware, the transferred policy achieved a 70% success rate for the Lift task and a 60% success rate for PickPlace, despite the source policy being trained entirely on simulated data.
  • Dynamics as an Anchor: A critical finding was that latent dynamics consistency is vital for successful alignment. Without ensuring the latent space respects the laws of physics, performance degrades significantly.

Conclusion

By treating the latent space as a "universal translator," this framework allows robots to become body-agnostic. While the system currently faces challenges with millimeter-level precision and recovery from out-of-distribution states, it proves that self-supervised alignment can bypass the need for expensive paired data or reward engineering in new domains. Future work will focus on incorporating more robust visual features to improve resilience to real-world noise.

Summary updated

BibTeX
@misc{wang2024cross,
  author = {Tianyu Wang and Dwait Bhatt and Xiaolong Wang and Nikolay Atanasov},
  title = {{Cross-Embodiment Robot Manipulation Skill Transfer using Latent Space Alignment}},
  year = {2024},
  eprint = {2406.01968},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.01968},
}
Figure