neuROSym: Deployment and Evaluation of a ROS-based Neuro-Symbolic Model for Human Motion Prediction
Sariah Mghames, Luca Castri, Marc Hanheide, Nicola Bellotto
TL;DR
This work tackles the challenge of trustworthy, online human motion prediction for mobile robots operating in human environments. It introduces neuROSym, a ROS-based package that deploys and visualizes neural-only and neuro-symbolic predictors (SGAN and NeuroSyM) in real time, leveraging Qualitative Trajectory Calculus (QTC) to encode spatial interactions. Through hardware experiments on a TIAGo robot across two motion-pattern scenarios, NeuroSyM demonstrates lower ADE and FDE than SGAN, indicating improved prediction accuracy with a modest increase in runtime. The package provides a practical tool for real-time evaluation and underscores the benefits of neuro-symbolic context integration for safer, more reliable human-robot interaction in real-world settings.
Abstract
Autonomous mobile robots can rely on several human motion detection and prediction systems for safe and efficient navigation in human environments, but the underline model architectures can have different impacts on the trustworthiness of the robot in the real world. Among existing solutions for context-aware human motion prediction, some approaches have shown the benefit of integrating symbolic knowledge with state-of-the-art neural networks. In particular, a recent neuro-symbolic architecture (NeuroSyM) has successfully embedded context with a Qualitative Trajectory Calculus (QTC) for spatial interactions representation. This work achieved better performance than neural-only baseline architectures on offline datasets. In this paper, we extend the original architecture to provide neuROSym, a ROS package for robot deployment in real-world scenarios, which can run, visualise, and evaluate previous neural-only and neuro-symbolic models for motion prediction online. We evaluated these models, NeuroSyM and a baseline SGAN, on a TIAGo robot in two scenarios with different human motion patterns. We assessed accuracy and runtime performance of the prediction models, showing a general improvement in case our neuro-symbolic architecture is used. We make the neuROSym package1 publicly available to the robotics community.
