Abstract
To allow the development and assessment of physical rehabilitation by an intelligent tutoring system, we propose a medical dataset of clinical patients carrying out low back-pain rehabilitation exercises and benchmark on state of the art human movement analysis algorithms. This dataset is valuable because it includes rehabilitation motions in a clinical setting with patients in their rehabilitation program. This paper introduces the Keraal dataset, a clinically collected dataset to enable intelligent tutoring systems (ITS) for rehabilitation. It addresses four challenges in exercise monitoring: motion assessment, error recognition, spatial localization, and temporal localization.
Introduction
Physical rehabilitation is a cornerstone of managing chronic low-back pain, but its success depends heavily on patients performing exercises correctly. While Intelligent Tutoring Systems (ITS)—often involving humanoid robots or AI coaches—show promise, they lack high-quality, clinically relevant data to learn from.
Existing Human Activity Recognition (HAR) datasets typically suffer from three major flaws: a lack of clinical context (using healthy volunteers), coarse annotations (missing "correctness" labels), and a lack of temporal/spatial data regarding when and where errors occur. The Keraal dataset aims to fill these gaps by providing a "gold standard" for movement analysis in a medical context.
The Keraal Dataset
The primary contribution of this work is the Keraal dataset, collected during a four-week clinical program. The dataset includes 2,622 recordings from 12 patients with chronic low-back pain and 9 healthy volunteers. Participants performed three standard physiotherapy moves: torso rotations, flank stretches, and a breathing exercise with flexed arms ("hiding face").
Data was captured using a Microsoft Kinect V2 sensor (providing RGB, depth, and 3D skeletal joints), supplemented by 2D keypoints from OpenPose and BlazePose, and high-precision Vicon motion capture for a subset of sessions. Expert annotations were provided by a physiotherapist and a physician at three levels: global correctness, error type/severity, and exact start/end frames for each error.
Benchmarking Methodology
The authors benchmarked the dataset using three distinct algorithmic approaches:
- Gaussian Mixture Model (GMM): A traditional statistical approach modeled on a Riemannian manifold.
- Long Short-Term Memory (LSTM): A standard deep learning architecture for sequential data.
- Hyperformer: An advanced model utilizing hyper-graphs and ten layers of self-attention to capture complex spatial and temporal relationships.
The models were evaluated on global assessment (correct vs. incorrect) and error classification.
Results and Discussion
The benchmarking results showed a clear hierarchy in performance. The Hyperformer was the most effective, achieving the highest accuracies across all exercises, such as 74.28% for the "Hiding face" exercise. The LSTM followed, reaching up to 64.44% accuracy for torso rotations, significantly outperforming the GMM baseline, which struggled with accuracies between 25% and 33%.
A key insight from the confusion matrices is that both GMM and LSTM models were significantly better at identifying correct movements than incorrect ones. They frequently misclassified errors as "correct," suggesting that current AI lacks the sensitivity to catch subtle deviations in form. Furthermore, the study highlights that models trained on healthy volunteers often fail when applied to real patients, whose movements are constrained by pain.
Conclusion
The Keraal dataset provides a much-needed clinical benchmark for movement analysis in rehabilitation. While the Hyperformer shows promise, distinguishing subtle errors remains a major hurdle. Future work will focus on expanding the dataset to include more varied exercises and larger participant groups, as well as developing models capable of finer-grained error detection for applications in telemedicine and robotics.
Summary updated