Abstract
Human-robot cooperation requires robots to accurately infer human intentions and respond dynamically. Traditional methods often rely on temporal alignment, which is computationally expensive and struggles with partial observations. We propose a nonparametric motion flow model that treats trajectories as mappings from positions to velocities using Gaussian Processes. This alignment-free approach enables early intention recognition and real-time trajectory optimization. Our Intention Aware Apprenticeship Learning (IAAL) framework demonstrates superior performance in early-stage motion recognition and effective obstacle avoidance in collaborative tasks.
Introduction
Effective collaboration between humans and robots, particularly in shared workspaces like factory floors, hinges on the robot's ability to predict human actions and react appropriately. A significant challenge in human motion recognition is the inherent inconsistency in human movement; individuals vary in speed and timing. Conventional models typically employ Dynamic Time Warping (DTW) to synchronize trajectories before comparison. However, DTW is computationally intensive and often fails when only the initial portion of a movement is observed. To facilitate fluid cooperation, robots must be able to recognize intent from partial trajectories without waiting for the completion of a motion.
Methodology
The core of our approach is a Nonparametric Motion Flow Model that eliminates the need for explicit time-alignment. Instead of viewing a trajectory as a time-indexed sequence of points, we model it as a "flow"—a vector field mapping spatial positions to velocities.
- Motion Flow Similarity: We utilize Gaussian Processes (GPs) to model these flows. Similarity between a current observation and learned demonstrations is determined by both temporal similarity (alignment of velocity directions via the GP mean) and spatial similarity (proximity in space via GP variance).
- Clustering and Latent Mapping: Spectral clustering groups human demonstrations into distinct task modes. New trajectories are mapped to a latent vector representing the probability of belonging to each cluster.
- Intention Aware Apprenticeship Learning (IAAL): The robot learns a reward function from these motion descriptors using Inverse Reinforcement Learning.
- Trajectory Optimization: Gaussian Random Paths (GRPs) are used to sample and optimize smooth robot trajectories that maximize the learned reward while adhering to environmental constraints.
Experimental Setup
We evaluated our model using a custom dataset of human-human interactions, where one participant mimicked robotic constraints. Data was captured at 10Hz using a Vicon motion capture system across four modes: Center-hand-over, Right-hand-over, Right-swipe, and Left-swipe. Each mode included 20 demonstrations, split into training and test sets.
Results and Discussion
The proposed IAAL method significantly outperforms the state-of-the-art Mixture of Interaction Primitives (MIP) in early recognition tasks. While MIP's error increases sharply when only 20-40% of a trajectory is visible, IAAL maintains a low and stable RMS error. This robustness stems from the alignment-free nature of the motion flow model, which focuses on the relationship between position and velocity rather than absolute timestamps. Using the predictive variance of the GP as a proxy for spatial distance allows the robot to handle non-parametric data effectively.
Furthermore, the system demonstrates effective obstacle avoidance. In Baxter robot simulations, the model successfully planned detours around obstacles during hand-over tasks, maintaining a safe distance of at least 180mm. The entire pipeline—from intent recognition to path planning—operates in under 400ms on a standard quad-core processor, supporting real-time interaction.
Conclusion
The nonparametric motion flow model provides a robust framework for real-time human-robot cooperation. By bypassing temporal alignment, it achieves high accuracy in early intention recognition. Future work will address the model's spatial extrapolation limits—as the robot currently fails when targets are placed far outside the training region—and explore its scalability to higher-dimensional inputs, such as full-arm joint configurations, to support more complex collaborative scenarios.
Summary updated