Research
Why Personalization Matters: Cross-Subject Challenges in EMG-IMU-based HRI Activity Recognition
Robots that collaborate with humans in assembly or handover tasks need to know what the person intends to do next, and wearable EMG/IMU armbands are an attractive sensor choice for factories because…

- arXiv
- 2608.21620 · Preprint · not peer-reviewed
- Published
- 2026-08-21
- Authors
- Ruan Rithelle Chagas de Faria Carminati, Giovanni Braglia, Luigi Biagiotti, Ronnier Frates Rohrich, Andre Schneider de Oliveira, Mikael Nedel Hartmann, André Eugenio Lazzaretti
In plain words
Robots that collaborate with humans in assembly or handover tasks need to know what the person intends to do next, and wearable EMG/IMU armbands are an attractive sensor choice for factories because they are not affected by occlusion, lighting, or privacy concerns. The problem is that muscle and motion signals differ strongly between people, so a model trained on one group of workers may fail badly on a new worker.
AI summary
Overview
Research area: Wearable sensing for Human–Robot Interaction (HRI) — surface electromyography (EMG) plus inertial measurement (IMU) for recognizing hand gestures, handover actions, and assembly tasks, with a focus on cross-subject generalization.
Technical level: Intermediate (assumes familiarity with standard classifiers, cross-validation, and the train/test generalization problem; the signal-processing pipeline is described concretely enough to follow without a background in biomechanics).
Scope (one sentence): The paper introduces MAGIC-HRI, a 53-class EMG/IMU dataset collected from 11 participants during real interactions with a collaborative robot arm, and uses it to show that conventional train/test splits massively overestimate performance compared with Leave-One-Subject-Out (LOSO) evaluation, and that injecting a handful of samples from a new user recovers much of the lost accuracy.
What This Paper Is About
Robots that collaborate with humans in assembly or handover tasks need to know what the person intends to do next, and wearable EMG/IMU armbands are an attractive sensor choice for factories because they are not affected by occlusion, lighting, or privacy concerns. The problem is that muscle and motion signals differ strongly between people, so a model trained on one group of workers may fail badly on a new worker. The paper builds a much larger and more realistic activity set than prior HRI studies (53 classes instead of roughly 3–18) and measures how badly recognition degrades on an unseen person, then tests whether a small personalized calibration fixes it.
Key Contributions
- A new public dataset, MAGIC-HRI (Multimodal Activity, Gesture and Intention Collection), with 53 movement classes spanning LIBRAS numbers 0–9, hand gestures, object handover actions (pick up/give/hold), tool manipulation, and generic assembly/idle motions, collected from 11 participants with 10 samples per class (530 samples per participant, roughly 57 minutes of raw data each).
- A full recognition benchmark covering muscle-activation-based segmentation, time- and frequency-domain feature extraction, and a comparison of eight classical and deep classifiers tuned by cross-validated grid search, with Random Forest as the strongest baseline.
- A rigorous cross-subject evaluation protocol using LOSO over all 11 subjects, plus ablation-style experiments on window overlap (50%, 75%, 90%) and SHAP-based feature reduction, to quantify the generalization gap.
- A personalization experiment that incrementally injects 0–8 samples from the held-out subject into training, providing practical evidence for a short user-calibration stage before deployment.
Main Findings
- Random Forest is the strongest baseline: 74.73% accuracy and 74.95% F1-score across the 53 classes, using 150 estimators, maximum depth 30, minimum samples split 2, and square-root maximum features. It beat SVM (70.61% / 69.91%), 1D CNN (70.67% / 62.39%), MLP (63.83% / 63.35%), LDA (51.33% / 50.57%), Decision Tree (49.07% / 48.71%), LSTM (42.70% / 25.76%), and Naive Bayes (33.51% / 32.15%).
- The cross-subject gap is enormous: under a 75/25 split the F1-score was 81.17%, but under LOSO it collapsed to 20.29% — a discrepancy of more than 60%, indicating strong subject dependence and likely overfitting.
- More overlapping windows do not fix it: increasing overlap to 75% pushed the split F1-score to 91.15% and to 90% pushed it to 99.20%, while LOSO F1-score stayed flat at 20.19% and 19.87% respectively. Simply generating more training samples from the same subjects is not sufficient.
- Feature reduction does not fix it either: removing features with correlation above 0.7 shrank the feature set from 198 to 74, and SHAP analysis (on a 1 s window with 90% overlap, Random Forest with 50 estimators) was used to rank and prune features down to 40 for later experiments, but no significant performance improvement resulted.
- Personalization works: starting from 0 samples of the left-out subject and adding 1 at a time up to 8 (in chronological order, with 2 samples per class held out as an external test set), performance improved markedly, and the model recognized more than 65% of signals once at least 7 personalization samples were added — still below the 75/25 baseline but far above the uncalibrated LOSO level.
- Direct comparison with the closest prior work (Ref. [20]) on matched classes: without LOSO the proposed approach is competitive or better on all six matched classes (Need 97.99% vs 93.33%, Give 90.22% vs 94.44%, Stop 93.55% vs 90.00%, Continue 94.11% vs 93.33%, Speed up 92.99% vs 93.33%, Slow down 97.72% vs 90.00%); with LOSO it drops to 62.90%, 85.61%, 33.85%, 46.84%, 67.59%, and 57.98% respectively.
- No online validation yet: the authors state that a robot-in-the-loop online evaluation was not performed, though initial tests showed no hardware bottlenecks during inference.
Methodology in Plain English
Participants wore a Myo armband (model MYOD5, eight EMG electrodes plus a 3D accelerometer and 3D gyroscope, EMG up to 200 Hz and IMU up to 50 Hz) on the right forearm, with the channel 3 electrode over the flexor carpi ulnaris muscle; all participants were right-handed. A Techman Robot OMRON TM5-700 six-axis collaborative arm handed objects to and from the participants during recording, so the data reflects real handover dynamics rather than simulated interactions.
Rather than hand-trimming each recording, the authors detect when a muscle is actually active: they square the EMG from all eight channels, smooth it with a 50 ms moving average to form an energy envelope, average across channels, keep regions exceeding 10% of the peak, and discard activations shorter than 150 ms as noise. The retained segments are chopped into 1 s windows with 50% overlap by default, so variable-length movements become fixed-length classifier inputs.
From each window they compute 198 features in total: 10 time-domain and 5 frequency-domain features per EMG signal (RMS, MAV, zero crossings, waveform length, slope sign changes, Willison amplitude, DASDV, variance, log detector, sample entropy; mean/median/peak frequency, spectral entropy, total power), and 8 time-domain and 5 frequency-domain features per IMU signal. Frequency features are computed after estimating the power spectral density with Welch's method.
Eight classifiers are tuned with grid search under 5-fold cross-validation on a 75/25 train/test split. The critical second evaluation trains on 10 subjects and tests on the 11th, repeated for every subject (LOSO), which removes the optimistic bias of mixing the same person's data across train and test. Finally, the LOSO loop is extended with an incremental adaptation stage that adds the new user's samples one at a time.
Why This Matters
Impact on research: The paper reframes a methodological issue rather than just reporting a new model — it shows that the widely used random-split protocol in wearable HRI can inflate F1-scores by more than 60 percentage points, and that neither more data augmentation via overlap nor feature selection closes the gap. It also raises the bar for class diversity in HRI datasets, since most prior studies evaluated roughly 3–18 classes, some with a single subject.
Real-world applications:
- Industrial assembly cells where a collaborative arm must interpret a worker's handover intent (give, hold, pick up) without cameras.
- Tool-based tasks such as screwing, unscrewing, or using a hot glue gun or heat gun, where the robot must distinguish active tool use from idle motion.
- Accessible human–robot command interfaces using LIBRAS numbers 0–9 to select among many tools or commands when simpler gestures are insufficient.
- Factory floors where lighting, occlusion, and privacy rules make vision-based gesture recognition impractical.
Industry relevance: The personalization result translates into an operational recipe — a brief, roughly seven-sample-per-class calibration session per new operator — rather than an open-ended data-collection effort, which is a realistic onboarding cost for a shop-floor deployment. The absence of hardware bottlenecks during inference reported by the authors supports feasibility for real-time use, even though online validation is still pending.
Future Directions
- Online, robot-in-the-loop validation: the paper explicitly flags the lack of an assessment during actual HRI in an online setting as its main limitation, and calls for validating the approach in robot-in-the-loop experiments.
- Growing the dataset: expanding MAGIC-HRI with more subjects and possibly new movements, which the authors suggest could help mitigate overfitting.
- Better cross-subject transfer models: investigating model architectures or adaptation methods specifically suited to cross-subject transfer, rather than relying on feature engineering plus sample injection.
- Closing the remaining personalization gap: even with 7 samples the model reached only just over 65%, still short of the 75/25 baseline, leaving open how to reach baseline-level accuracy with minimal calibration.
Target Audience
Researchers and graduate students in wearable sensing, physical human–robot interaction, and industrial robotics; practitioners building gesture- or intent-recognition systems who need to know how much a lab-reported accuracy will drop on a new user; and dataset/methodology reviewers interested in evaluation protocols (LOSO versus random splits) for physiological signals. Readers looking for deep-learning architecture novelty will find little here — the value is in the dataset, the evaluation design, and the personalization evidence.
Authors’ abstract
This paper investigates wearable-based recognition of human activities and gestures to support Human-Robot Interaction (HRI) in object-handover and assembly-like scenarios. Electromyography (EMG) and Inertial Measurement Unit (IMU) signals were collected using a Myo armband, culminating in a novel dataset introduced as MAGIC-HRI (Multimodal Activity, Gesture and Intention Collection) with a large taxonomy of 53 movement classes, including Brazilian Sign Language (LIBRAS)…
The full abstract on arXivRelated papers
- Continuous Lower-Limb Joint-Angle Estimation from sEMG and IMU: The Conditional Value of Cross-Activity and Cross-Subject Data under Update-Matched Controls 2026-11-14 · cs.RO · Key terms of the title in common