Human demonstrations as prompts are a powerful way to program robots to do long-horizon manipulation tasks. However, translating these demonstrations into robot-executable actions presents significant challenges due to execution mismatches in movement styles and physical capabilities. Existing methods either depend on robot-demonstrator paired data, which is infeasible to scale, or rely too heavily on frame-level visual similarities that often break down in practice. To address these challenges, we propose RHyME, a novel framework that automatically aligns robot and demonstrator task executions using optimal transport costs. Given long-horizon robot demonstrations, RHyME synthesizes semantically equivalent demonstrator videos by retrieving and composing short-horizon demonstrator clips. This approach facilitates effective policy training without the need for paired data. We demonstrate that RHyME outperforms a range of baselines across cross-embodiment datasets, showing a 52% increase in task recall over prior cross-embodiment learning methods.
We compare RHyME to XSkill for one-shot robot imitation from human videos. The key difference: XSkill trains policies using only robot data and struggles with execution mismatches, while RHyME creates synthetic paired human-robot data by pairing robot videos with similar human segments from unpaired data. Our approach better handles differences in embodiment and execution style, resulting in more accurate task imitation as shown in the videos below.
Key Observation: As demonstrated in the videos above, when conditioned on the same human demonstration (input), RHyME's policy enables the robot to more accurately complete the sequence of tasks.
Key Observation: XSkill attempts tasks that weren't specified in the human demonstration, showing that it lacks precision in following the intended sequence. RHyME maintains higher fidelity to the exact tasks demonstrated by the human.
The Franka Kitchen simulation environment allows us to precisely control execution mismatch levels. In our experiments, we created three demonstrators that are sphere agents, which look visually different from the robot, and established three distinct levels of mismatch:
The results show RHyME's robustness to increasing mismatch levels, outperforming XSkill especially in the most challenging scenarios where the sphere agents' execution differs significantly from the robot's capabilities.
Key Observation: RHyME successfully imitates tasks from sphere agents despite their significant visual and execution differences from the robot, enabling more robust generalization across varying levels of embodiment mismatch.