Abstract
Upper limb motor dysfunction is a common consequence of stroke. During rehabilitation, patients frequently employ compensatory movements—unconscious "cheating" strategies—to complete tasks. While effective in the short term, these movements impede neurological recovery. This paper proposes a Graph Convolutional Long Short-Term Memory Attention (GCN-LSTM-ATT) network to automatically detect these movements using low-cost depth sensors. By integrating spatial graph convolutions, temporal memory, and attention mechanisms, the system achieves an accuracy of 85.8%, outperforming traditional machine learning approaches and offering a viable solution for automated, home-based rehabilitation monitoring.
1. Introduction
Stroke survivors often struggle with upper limb tasks, leading to the development of compensatory movements such as trunk leaning forward (TLF), torso rotation (TR), and shoulder elevation (SE). These habits hinder the reorganization of the central nervous system and can cause secondary physical issues. Traditional detection relies on constant therapist supervision, which is resource-intensive. Automated systems using wearable sensors or high-end motion capture are often impractical for home use. This study explores a deep learning approach using 3D skeleton data from affordable Kinect cameras to provide a scalable solution for movement correction.
2. Methodology
The core of the proposed system is the GCN-LSTM-ATT architecture, designed to process the complex spatio-temporal nature of human movement.
2.1 Spatial and Temporal Modeling
The model treats the human skeleton as a graph, where joints are nodes and bones are edges. A Graph Convolutional Network (GCN) extracts spatial features by analyzing the relationships between these nodes. To capture the progression of movement over time, a Long Short-Term Memory (LSTM) layer is employed. The LSTM tracks the trajectory of joints throughout the exercise sequence.
2.2 Attention Mechanism
An Attention (ATT) layer is integrated to weight the importance of different frames. Since compensatory movements often occur during specific phases of a task (e.g., at the end of a reach), the attention mechanism allows the model to focus on these critical moments while filtering out noise from less relevant parts of the movement.
3. Experimental Setup and Data Acquisition
Data was collected from 15 stroke patients performing three standard rehabilitation tasks: touching the mouth, arm abduction, and arm extension.
To mitigate self-occlusion—where a patient's body blocks the sensor's view—a multi-view setup was implemented using three Kinect cameras positioned at 0°, 45°, and 90° relative to the patient. 3D coordinates for 20 upper-body joints were extracted at a frequency of 30Hz. Ground truth labels were provided by two senior medical professionals.
4. Results and Discussion
The GCN-LSTM-ATT model was evaluated against several baseline machine learning models, including K-Nearest Neighbor (KNN), Random Forest (RF), and Support Vector Machines (SVM).
| Model | Accuracy | F1-Score |
|---|---|---|
| KNN | 64.81% | 0.6459 |
| RF | 68.52% | 0.6903 |
| SVM | 79.01% | 0.7887 |
| GCN-LSTM-ATT (Proposed) | 85.80% | 0.8603 |
The results demonstrate a significant performance boost over traditional methods. Ablation studies highlighted the necessity of the temporal component; removing the LSTM layer led to a drastic drop in accuracy, as the GCN alone cannot distinguish the dynamic phases of movement. The attention mechanism further refined the model, providing a 1.2% improvement in accuracy by focusing on key frames.
5. Conclusion
The GCN-LSTM-ATT framework provides a robust method for detecting compensatory movements in stroke patients using non-invasive, low-cost hardware. While the current study is limited by a small sample size and a specific set of movements, it establishes a foundation for intelligent diagnostic tools. Future research will focus on expanding the dataset to include more diverse patient populations and developing real-time feedback systems for clinical and home-based rehabilitation.
Summary updated