- Multimodal Interface for Service Robots: Pose Dataset & Classifier (
acso/multimodal_interface_poses)
Multimodal Interface for Service Robots: Pose Dataset & Classifier (acso/multimodal_interface_poses)
Scientific supplementary repository for the IEEE 2026 paper:
Multimodal Interface for Service Robots: Integrating Voice and Pose Perception in Nav2 Control
Authors: Gabrielle Carvalho, Vitória Matos, Enzo Schubach, Pedro de Jesus, Ana Patrícia Magalhães, Josemar Rodrigues
Institution: Centro de Pesquisa em Arquitetura de Computadores, Sistemas Inteligentes e Robótica (ACSO), Universidade do Estado da Bahia (UNEB), Salvador, Bahia, Brazil
Contact:teambahiart@gmail.com
Venue: Simpósio Brasileiro de Robótica (SBR) / IEEE, 2026 (979-8-3195-6846-5/26/$31.00 ©2026 IEEE)
1. Project Overview
This repository provides the open-access pose keypoints dataset, trained Random Forest pose classifier, label encoder, model configuration, reproducible training/evaluation/inference scripts, and structured experimental results developed for BILL (Bot, Intelligent, Large capacity and Low cost), the domestic service robot built at ACSO / UNEB for assistive robotics and RoboCup@Home scenarios.
To address single-sensor failure modes in unstructured domestic environments (such as overlapping acoustic noise or dynamic illumination), the paper introduces a ROS 2 multimodal navigation architecture that fuses parallel local Whisper ASR + NLP and YOLOv8-pose + Random Forest pipelines inside an asynchronous mission_control state machine. This repository serves as a unified scientific supplement enabling reviewers and researchers to inspect, reproduce, and extend the visual pose classification component.
Repository Structure
multimodal_interface_poses/
├── README.md # Scientific model card & supplementary documentation
├── requirements.txt # Python dependencies (scikit-learn 1.9.1, joblib, etc.)
├── .gitattributes # Git LFS tracking for model & image artifacts
├── dataset/
│ └── keypoints_dataset.csv # 1,581 labeled samples (28 normalized 2D keypoints)
├── model/
│ ├── pose_classifier_model.joblib # Trained scikit-learn RandomForestClassifier
│ ├── label_encoder.joblib # Fitted scikit-learn LabelEncoder (7 classes)
│ └── config.json # Exact model hyperparameters, features & Nav2 mappings
├── results/
│ ├── class_distribution.png # Dataset class balance chart (n = 1,581)
│ └── experimental_summary.csv # Structured summary of the 364 physical trials on BILL
├── examples/
│ ├── mean_pose_skeletons.png # Mean 2D anatomical skeleton per class from the dataset
│ └── sample_keypoints.csv # 7 representative samples (1 per class) for quick testing
└── src/
├── keypoints_extraction.py # Official YOLOv8m-pose keypoint extractor to CSV
├── training_model.py # Official Random Forest training & holdout evaluation script
├── realtime_detection.py # Standalone real-time webcam inference demo
└── pose_estimation.py # Official ROS 2 node used on BILL (reference; requires bill_interfaces)
2. Research Objectives
The underlying research investigates whether local sensory redundancy improves the safety and responsiveness of Human–Robot Interaction (HRI) in domestic mobile robotics:
- Mitigate single-modality perception failures caused by overlapping acoustic noise (appliances, background speech, low operator voice volume) and visual degradation (low light, backlighting, occlusions).
- Design a local, low-latency ROS 2 multimodal arbitration layer (
mission_control) using non-blocking polling and a 500 ms temporal fusion window (FUSION_WINDOW_NS) to synchronize asynchronous auditory and visual intents. - Enforce a strict safety-first conflict-resolution hierarchy where an emergency
Stopintent unconditionally preempts active or contradictory navigation commands via direct/cmd_velzero-velocity publication and Nav2 action cancellation. - Empirically benchmark isolated and integrated performance on a physical service robot (BILL) across 364 controlled trials spanning acoustic degradation, illumination variation, Actuator Response Time (ART), and intent conflict scenarios.
- Provide transparent, reproducible visual pose artifacts (keypoints dataset, trained classifier weights, and inference code) built upon and extending the gesture/pose framework of Estrela et al. (CoDIT 2026).
3. Dataset Description
The released dataset (dataset/keypoints_dataset.csv) adapts and extends the visual dataset foundation introduced in Estrela et al. (2026) from hand gesture sequences to full-body navigation poses captured for service robot control.
Dataset Summary
| Property | Value |
|---|---|
| File | dataset/keypoints_dataset.csv |
| Total Samples | 1,581 unique labeled frames |
| Coordinate System | Image-normalized 2D coordinates in (0, 1] (observed range: 0.0010 – 1.0000) |
| Keypoint Extractor | YOLOv8m-pose (yolov8m-pose.pt, 14 COCO anatomical landmarks: indices 3..16, excluding NOSE, LEFT_EYE, RIGHT_EYE) |
| Number of Classes | 7 (6 active navigation poses + 1 negative/no-action class nao_acao) |
Extracted Anatomical Features (28 Features = 14 Keypoints × 2D)
Each sample stores normalized (x, y) coordinates for the following 14 keypoints in exact order:
LEFT_EAR, RIGHT_EAR, LEFT_SHOULDER, RIGHT_SHOULDER, LEFT_ELBOW, RIGHT_ELBOW, LEFT_WRIST, RIGHT_WRIST, LEFT_HIP, RIGHT_HIP, LEFT_KNEE, RIGHT_KNEE, LEFT_ANKLE, RIGHT_ANKLE.
Class Distribution
In addition to the six active navigation poses described in the paper (stop, come_here, bedroom, living_room, follow_me, kitchen), the dataset intentionally includes a seventh negative / background class (nao_acao) comprising 42.00% of the samples. This class represents neutral postures and everyday natural movements so the classifier actively suppresses false activations during continuous camera operation.
| Encoded ID | Class Label | Role in System | Samples | Share (%) | Nav2 / Robot Behavior |
|---|---|---|---|---|---|
0 |
bedroom |
Active Pose | 124 | 7.84% | Navigate to Bedroom waypoint |
1 |
come_here |
Active Pose | 148 | 9.36% | Come to me (GoToPose to operator 3D position) |
2 |
follow_me |
Active Pose | 177 | 11.20% | Follow me (continuous tracking at 1.0 m standoff) |
3 |
kitchen |
Active Pose | 159 | 10.06% | Navigate to Kitchen waypoint |
4 |
living_room |
Active Pose | 172 | 10.88% | Navigate to Living Room waypoint |
5 |
nao_acao |
Negative Class | 664 | 42.00% | No action (idle / suppress false positives) |
6 |
stop |
Emergency Pose | 137 | 8.67% | Preemptive Stop (freeze /cmd_vel + cancel Nav2) |
| — | Total | — | 1,581 | 100.00% | — |
4. Proposed Methodology
The complete software stack runs locally inside ROS 2 on a Dell G15 notebook mounted on BILL, equipped with an Asus Xtion RGB-D camera and a Lark M2 microphone:
- Auditory Perception Module (
hearingnode):- Captures audio via the Lark M2 microphone and performs local Automatic Speech Recognition (ASR) using Whisper.
- Applies a static Python NLP dictionary to filter transcriptions into valid intents and maps semantic room labels (
Living Room,Bedroom,Kitchen) to pre-recorded Cartesian coordinates(x, y, yaw).
- Visual Perception Module (
visionnode):- Runs YOLOv8-pose on RGB-D frames to extract normalized 2D coordinates of the 14 anatomical keypoints.
- Feeds the 28-dimensional feature vector into the released Random Forest classifier (
model/pose_classifier_model.joblib) to classify the operator's posture into one of the 7 discrete classes. - For
come_hereandfollow_me, converts the detected operator's depth-camera coordinates from the optical frame into the robot reference frame to dispatch dynamicGoToPosegoals.
- Multimodal Arbitration & Nav2 Control (
mission_controlnode):- Operates as a strict non-blocking asynchronous state machine polling
_poll_voiceand_poll_vision. - Correlates near-simultaneous published intents using a dual-channel temporal synchronization window (
FUSION_WINDOW_NS = 500 ms). - Enforces a preemptive priority hierarchy:
- Priority 1 (Absolute Preemptive Override):
Stop(via either pose or voice) immediately publishes zero velocity directly to/cmd_veland cancels all active Nav2 goals. - Priority 2 (Non-Preemptive Navigation):
Come to me,Follow me, and room waypoint navigation (Bedroom,Living Room,Kitchen) execute when the robot is idle.
- Priority 1 (Absolute Preemptive Override):
- Localization and obstacle-safe motion rely on Nav2 with a static 2D occupancy grid, AMCL fused with wheel odometry, and a
keepout-mask.
- Operates as a strict non-blocking asynchronous state machine polling
5. Model Training
The pose classifier weights released in model/pose_classifier_model.joblib and model/label_encoder.joblib correspond to a scikit-learn (v1.9.1) Random Forest classifier trained on an 80/20 split (1,264 training samples / 317 holdout samples) of dataset/keypoints_dataset.csv.
All hyperparameters below are verified directly from the serialized artifact (also stored in model/config.json):
| Parameter | Value |
|---|---|
| Classifier | sklearn.ensemble.RandomForestClassifier |
| scikit-learn Version | 1.9.1 |
n_estimators |
100 |
criterion |
gini |
max_depth |
None (unrestricted expansion) |
min_samples_split |
2 |
min_samples_leaf |
1 |
max_features |
sqrt (5 of 28 features per split) |
bootstrap |
True |
oob_score |
True |
class_weight |
None |
random_state |
42 |
Training Samples (_n_samples) |
1,264 (80% of 1,581) |
Recorded Out-of-Bag (OOB) Accuracy (oob_score_) |
95.33% (0.9533) |
6. Experimental Results
In addition to the offline Random Forest OOB accuracy (95.33%), the integrated multimodal system was physically evaluated on BILL across 364 real-world trials in a domestic arena (operator positioned at 1.5 m). Machine-readable metrics are provided in results/experimental_summary.csv.
6.1 Visual Perception Under Illumination Degradation (n = 109 physical trials)
| Illumination Tier | Measured Lux | Detection Accuracy | Correct / Total | Key Error Observations |
|---|---|---|---|---|
| High / Backlight | 227–305 lux (~300 lux) | 100.0% | 25 / 25 | Perfect recognition |
| Medium | ~176 lux | 87.5% | 28 / 32 | 3/4 errors were false negatives; Living Room fell to 67% (4/6) |
| Normal | 87–89 lux (~88 lux) | 84.6% | 22 / 26 | 2 false positives + 2 misclassifications |
| Low | 17–19 lux (~19 lux) | 84.6% | 22 / 26 | 2 false positives + 2 misclassifications; Stop fell to 60% (3/5) |
| Combined | 17–305 lux | 89.0% | 97 / 109 | Positive linear trendline: approx. +0.056%/lux |
6.2 Auditory Perception Under Acoustic Degradation (n = 120 physical trials)
Background noise (overlapping conversations + appliances) was swept from -52.5 dBFS to -22.0 dBFS (mean -38.5 dBFS). Speech level proved to be the dominant performance factor:
- Zero-WER Trials: 70.0% of all 120 trials achieved
0%WER (median WER =0%; mean WER =150.8%due to insertion bursts at low speech amplitude). - Loud Speech (
> -5 dBpeak,n = 6): 100% action success rate,0%mean WER. - Quiet Speech (
< -15 dBpeak,n = 38): 42% failure rate, with severe WER spikes onBedroom(500%) andLiving Room(450%). - Low Speech (
-15 to -10 dBpeak,n = 40): Peak WER anomaly of925%onKitchen. - Local Whisper Inference Latency: Mean 8.06 s (median
6.9 s, range2.4–32.6 s,n = 120).
6.3 System Latency (ROS 2 Timestamps, Excluding Model Inference)
| Latency Metric | Trials (n) |
Mean | Median | Range / Breakdown |
|---|---|---|---|---|
Actuator Response Time (ART) (mission_control → /cmd_vel) |
30 valid | 47.1 ms | 49.7 ms | 11.6 – 70.3 ms (all < 71 ms) |
Nav2 Action Cancellation after Stop |
100 | 39.96 ms | — | 36.9 ms (Pose-Stop) / 43.0 ms (Voice-Stop) |
6.4 Multimodal Conflict Resolution (n = 100 trials; 50 per modality)
| Conflicting Navigation Intent | Visual Pose-Stop Override (n = 10 each) |
Auditory Voice-Stop Override (n = 10 each) |
|---|---|---|
| Bedroom | 70% | 30% |
| Come Here | 70% | 0% |
| Follow Me | 100% | 40% |
| Kitchen | 70% | 60% |
| Living Room | 70% | 10% |
Overall (n = 50 per modality) |
76.0% (38 / 50) | 28.0% (14 / 50) |
Acoustic resilience of
Pose-Stop: Visual preemption remained stable across noise bands — 72% in Quiet, 80% in Medium, and 75% in Loud environments.
Offline holdout evaluation: Runpython src/training_model.pyto reproduce the 80/20 stratified split (random_state=42) and print the per-class precision, recall, and F1-score report.
7. Visual Examples
The figure below visualizes the mean 2D anatomical skeleton computed directly from all 1,581 samples in dataset/keypoints_dataset.csv across all 7 classes, illustrating the geometric separation between the six navigation poses and the nao_acao negative class:
A ready-to-run subset containing one representative real sample per class is included in examples/sample_keypoints.csv.
8. Installation and Usage
8.1 Clone the Repository & Install Dependencies
git lfs install
git clone https://huggingface.co/acso/multimodal_interface_poses
cd multimodal_interface_poses
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
Compatibility note: The released
.joblibfiles were serialized withscikit-learn==1.9.1. If you use a differentscikit-learnversion, either installscikit-learn==1.9.1or re-train cleanly fromdataset/keypoints_dataset.csvusingpython src/training_model.py.
8.2 Quickstart: Load the Model in Python
import joblib
import pandas as pd
# Load trained classifier and label encoder
model = joblib.load("model/pose_classifier_model.joblib")
label_encoder = joblib.load("model/label_encoder.joblib")
# Load sample keypoints (28 normalized 2D features)
df = pd.read_csv("examples/sample_keypoints.csv")
feature_cols = list(model.feature_names_in_)
probs = model.predict_proba(df[feature_cols])
preds = label_encoder.inverse_transform(probs.argmax(axis=1))
for fname, true_label, pred_label, conf in zip(
df["filename"], df["pose_category"], preds, probs.max(axis=1)
):
print(f"{fname:28s} | true={true_label:11s} | pred={pred_label:11s} | conf={conf:.3f}")
8.3 Run Official Scripts
# 1. Reproduce Random Forest training & print holdout classification report (80/20 stratified split, seed=42)
python src/training_model.py
# 2. Real-time webcam pose recognition demo (YOLOv8m-pose + Random Forest)
python src/realtime_detection.py
# 3. Extract 2D keypoints from categorized image folders into dataset/keypoints_dataset.csv
python src/keypoints_extraction.py
ROS 2 Deployment Reference (
src/pose_estimation.py): The filesrc/pose_estimation.pyis the official ROS 2 node executed on BILL (subscribing to/camera/rgb/image_raw, tracking the operator via centroid EMAPersonTracker, and servingrecognize_pose). It is included for architectural transparency and requires ROS 2 and the internalbill_interfacespackage to run.
9. Citation
If you use this dataset, trained model, or experimental benchmark in your research, please cite our paper:
@inproceedings{carvalho2026multimodal,
author = {Carvalho, Gabrielle and Matos, Vit{\'o}ria and Schubach, Enzo and de Jesus, Pedro and Magalh{\~a}es, Ana Patr{\'i}cia and Rodrigues, Josemar},
title = {Multimodal Interface for Service Robots: Integrating Voice and Pose Perception in Nav2 Control},
booktitle = {Proceedings of the Brazilian Robotics Symposium (SBR)},
year = {2026},
publisher = {IEEE},
note = {Supplementary pose dataset and classifier available at \url{https://huggingface.co/acso/multimodal_interface_poses}}
}
Related Dataset Foundation
The visual pose dataset adapts and extends the gesture perception foundation from:
@inproceedings{estrela2026context,
author = {Estrela, A. C. and Oliveira, T. and Rekik, K. and Sim{\~o}es, M. and Silva, G.},
title = {Context-Aware Gesture Interpretation for Semi-Autonomous Robot Control: A Step Towards a Gesture Language for Robots},
booktitle = {2026 12th International Conference on Control, Decision and Information Technologies (CoDIT)},
year = {2026},
pages = {1853--1858}
}
10. License
This repository is distributed under the MIT License (update the license identifier in the YAML header and repository settings if your team selects CC-BY-4.0 or Apache-2.0 for the final Hugging Face release).
For questions, collaborations, or ROS 2 integration inquiries regarding BILL, please contact ACSO / UNEB at teambahiart@gmail.com.

