Abstract
Sim-to-real transfer is a powerful paradigm for robotic reinforcement learning, enabling safe exploration and large-scale data collection in simulation. However, accurately simulating human behavior remains an open problem, hindering the development of policies for tight-loop human-robot interaction (HRI). We propose Iterative-Sim-to-Real (i-S2R), a framework that bootstraps from a simple human behavior model and alternates between simulation training and real-world deployment. In each iteration, both the human behavior model and the robotic policy are refined. We apply a new evolutionary search algorithm, Blackbox Gradient Sensing (BGS), for policy training. Evaluated on a robotic table tennis task, i-S2R achieves rallies of up to 150 hits. For 80% of players, rally lengths improved by 70% to 175% compared to standard sim-to-real plus fine-tuning baselines.
Introduction
Training robots to interact seamlessly with humans presents a "chicken-and-egg" problem: a high-fidelity human model is required to train the robot in simulation, yet collecting the data necessary for such a model requires a robot already capable of interaction. Traditional sim-to-real approaches often bypass HRI due to the complexity of human behavior. This work introduces i-S2R to bridge this gap, using an iterative process to co-evolve the robot's policy and the simulated human model.
Methodology: The i-S2R Framework
The i-S2R framework breaks the cycle of model dependency through a three-step iterative loop:
- Sim Training: The robot policy is trained in a simulator against the current human behavior model.
- Real Fine-tuning: The policy is deployed on a physical robot and fine-tuned during live interaction with a human partner.
- Model Update: Data from real-world interactions is used to enrich the simulated human behavior model, making it more representative of actual human play.
For reinforcement learning, the authors developed Blackbox Gradient Sensing (BGS). Unlike standard gradient-based methods like PPO or SAC, BGS is an evolutionary search algorithm that uses orthogonal ensembles to reduce gradient variance. This proved essential for generating policies stable enough for high-speed physical hardware.
Experimental Setup
The system utilizes an 8-DOF robotic setup (an ABB IRB 120T 6-DOF arm on a 2D linear actuator) and a 75Hz stereo camera system for ball tracking. The training process began with an initial dataset ($D_0$) of humans hitting balls without a robot. Subsequent interaction datasets ($D_1, D_2, \dots$) were gathered from five players of varying skill levels (2 beginners, 2 intermediates, 1 advanced) over multiple iterations.
Key Results and Analysis
The i-S2R system demonstrated significant improvements in cooperative play, achieving an average of 22 successive hits and a peak of 150 hits.
As shown in the results, i-S2R significantly outperforms the standard Sim-to-Real plus Fine-Tuning (S2R+FT) baseline for beginner and intermediate players, who represent 80% of the test group. For these players, rally lengths increased by 70% to 175%. The system also showed strong zero-shot generalization, maintaining 70% of its performance when playing with unfamiliar humans, compared to only 30% for the baseline.
Discussion and Limitations
A key insight is the "Oracle" effect: the quality of the human model is the primary bottleneck in HRI sim-to-real. By iteratively improving this model, the robot encounters a wider distribution of trajectories, leading to more robust policies.
However, challenges remain. The current system does not perceive ball spin, which is why the "Advanced" player—capable of heavy topspin—could still outperform the robot. Additionally, the process is human-intensive, requiring approximately 20 hours of interaction time per player. Future research will focus on modeling complex human factors like intent and fatigue, as well as improving the robot's perception of ball dynamics.
For videos of the system in action, visit https://sites.google.com/view/is2r.
Summary updated