Abstract
A hug is a tight embrace and an expression of warmth, sympathy and camaraderie. Despite the fact that a hug often only takes a few seconds, it is filled with details and nuances and is a highly complex process of coordination between two agents. For human-robot collaborative tasks, it is necessary for humans to develop trust and see the robot as a partner to perform a given task together. Datasets representing agent-agent interaction are scarce and, if available, of limited quality. To study the underlying phenomena and variations in a hug between a person and a robot, we deployed Baxter humanoid robot and wearable sensors on persons to record 353 episodes of hugging activity. 33 people were given minimal instructions to hug the humanoid robot for as natural hugging interaction as possible. In the paper, we present our methodology and analysis of the collected dataset. The use of this dataset is to implement machine learning methods for the humanoid robot to learn to anticipate and react to the movements of a person approaching for a hug. In this regard, we show the significance of the dataset by highlighting certain features in our dataset.
Introduction
While robots are becoming increasingly common in manufacturing, they remain socially awkward in domestic or healthcare settings. Most Human-Robot Interaction (HRI) is currently limited to "turn-taking" where the robot waits for a command before executing. However, true collaborative and empathetic interaction—like a hug—requires continuous, proactive physical coordination. Hugging involves complex intention recognition, gait analysis, and force regulation. To date, there has been a lack of high-quality, multimodal data that captures both the robot’s state and the human’s physiological cues during a hug. This research addresses this gap by providing a foundational dataset for training machine learning models to make robots feel natural and safe during physical contact.
Methodology
The experimental setup utilized a Baxter research robot, chosen for its anthropomorphic arms and series elastic actuators, which provide inherent safety for human contact. To capture the human side of the interaction, participants were outfitted with a suite of wearable sensors integrated into a unified data logging system.
Sensor Suite
- Myo Armbands: Captured electromyography (EMG) for muscle activity and Inertial Measurement Unit (IMU) data for arm orientation.
- Pressure-Sensing Shoes: Custom-rigged sport shoes with barometric sensors to track gait and determine if a person was walking toward, standing with, or walking away from the robot.
- Motion-Capture Hat: A hat with reflective markers tracked by an OptiTrack system to provide ground-truth positioning.
- Robot Telemetry: The team recorded 14 joint angles and data from Force Sensitive Resistors (FSRs) mounted on the forearms and wrists to measure the intensity and location of the touch.
During the study, a human operator manually controlled the robot (a "Wizard of Oz" setup) to ensure the hugging motion felt natural and responsive to the participant while collecting expert-level interaction data.
Dataset Characteristics
The resulting Multimodal Dataset of Human-Robot Hugging Interaction consists of 353 hugging episodes from 33 individuals, primarily graduate students aged 25–35. The data is provided in synchronized CSV streams of robot telemetry and human wearable data. Unlike previous studies using toy-sized robots or non-contact gestures, this dataset focuses on full-sized humanoid interaction and physical force.
Key Insights and Analysis
Analysis of the multimodal data revealed several critical features for autonomous hugging:
- The "Z-Axis" Trigger: The Z-orientation signal from the Myo armband proved to be a highly reliable indicator of hug initiation. As a person raises their arms to embrace the robot, the signal peaks, providing a clear feature for a robot to learn when to close its arms.
- Gait as Context: Pressure-sensing shoes provide the robot with necessary context to anticipate interaction. By identifying the "walking state," the robot can prepare to initiate a hug before the person even reaches it.
- Coordinated Degrees of Freedom (DOF): Correlation analysis showed that "human-like" hugging requires high synchronization between specific joints, such as the elbow pitch and shoulder roll. This suggests that future autonomous controllers must treat the arms as a unified system.
Results and Discussion
The average hug duration was 20.11 seconds, a figure influenced by the robot’s safe operating speed limit (0.2 rad/s). The FSR sensors successfully distinguished between varying levels of touch intensity, from no-touch to hard touch (yielding ADC values up to 700).
Qualitatively, participants reported an immersive experience, often treating the robot as an autonomous agent despite the manual control setup. This indicates a high level of trust and the potential for humanoid robots to serve as social partners.
Conclusion
This dataset provides a vital resource for Learning from Demonstration (LfD) in social robotics. Future work will focus on using this data to develop autonomous controllers that can sense a human's approach, predict their intention, and execute a safe, warm, and reactive hug in real-time. While the current participant pool is relatively homogenous, the methodology establishes a framework for expanding HRI research to broader demographics.
Summary updated