Abstract
We present a method for learning a human-robot collaboration policy from human-human collaboration demonstrations. An effective robot assistant must learn to handle diverse human behaviors shown in the demonstrations and be robust when the humans adjust their strategies during online task execution. Our method co-optimizes a human policy and a robot policy in an interactive learning process: the human policy learns to generate diverse and plausible collaborative behaviors from demonstrations while the robot policy learns to assist by estimating the unobserved latent strategy of its human collaborator. Across a 2D strategy game, a human-robot handover task, and a multi-step collaborative manipulation task, our method outperforms the alternatives in both simulated evaluations and when executing the tasks with a real human operator in-the-loop.
Introduction
For robots to be useful in homes, hospitals, or factories, they need to seamlessly collaborate with humans. However, humans are highly unpredictable: we change our minds, react to what the robot is doing, and use wildly different strategies to accomplish the exact same task. Traditional Multi-Agent Reinforcement Learning (MARL) struggles here because hand-engineering a reward function for "good collaboration" is notoriously difficult. Alternatively, Imitation Learning (IL) is promising, but existing methods usually treat the human as a static part of the environment, failing to model the reciprocal, adaptive nature of human-robot interaction. Standard IL models also suffer from mode collapse, overfitting to the most common human strategy and failing when a human attempts a less common approach.
Methods: The Co-GAIL Framework
The authors propose Co-GAIL, an interactive co-optimization process that trains both a human policy and a robot policy simultaneously using human-human demonstration data.
The system consists of several key components:
- Multi-Agent GAIL (MA-GAIL): A multi-agent extension of Generative Adversarial Imitation Learning, where a shared co-policy network outputs actions for both the human and the robot to fool a discriminator.
- Latent Strategy Space: To handle diverse behaviors, a latent variable $z$ (the "strategy") is introduced. A recognition network $\psi$ observes the human's recent history of actions and estimates this hidden strategy, which is then fed back into the policy.
- Behavior Reconstruction Loss: Standard latent models often ignore rare strategies. Co-GAIL introduces a novel reconstruction loss $L_a$ that forces the human policy network to act as a decoder, reconstructing the exact expert action from the predicted strategy. This ensures the model learns the inverse mapping from human behavior to the strategy space, covering all demonstrated strategies.
- Human-in-the-loop Execution: During evaluation, the simulated human policy is replaced by a real human. The robot uses the trained recognition network to infer the human's strategy on the fly and assists accordingly.
Experimental Setup
The authors evaluate Co-GAIL on three collaborative tasks, ranging from 2D grid worlds to high-dimensional 3D physics simulations:
- 2D-Fetch-Quest: A grid game requiring coordination to unlock rooms and fetch treasures (4 distinct strategies).
- HR-Handover: A 3D continuous control task where a human hands an object to a robot, using demonstrations collected via the RoboTurk teleoperation system.
- HR-SeqManip: A multi-step 3D manipulation task where agents collaborate to pick up an object and place it in a drawer (2 distinct strategies).
Key Results and Insights
Co-GAIL demonstrates significant improvements over baselines like Behavior Cloning (BC), MA-GAIL, and MA-InfoGAIL.
- Superior Performance: In the HR-Handover task, Co-GAIL achieved a 43.9% success rate, significantly higher than MA-InfoGAIL (27.8%) and BC (13.3%).
- Robustness to Unbalanced Data: When training data was skewed (some strategies appearing twice as often as others), Co-GAIL was the only method capable of recovering all four strategies, whereas others suffered from mode collapse.
- Meaningful Latent Spaces: The learned strategy space naturally clusters into semantically meaningful behaviors. In the handover task, latent codes separated into "left," "middle," and "right" handovers without explicit labels.
- Real Human Evaluation: In studies with real human operators, Co-GAIL consistently achieved the highest success rates, reaching 80-100% in the 2D game compared to 45-65% for MA-GAIL.
Conclusion
Co-GAIL effectively learns diverse collaborative strategies by co-evolving human and robot policies and utilizing a behavior reconstruction loss. While current work assumes fixed roles (leader/follower), future research could explore dynamic role-switching and bridging the sim-to-real gap for deployment on physical hardware.
Summary updated