Skip to Content
SensorsSensors
  • Article
  • Open Access

2 January 2026

17 Pages

Dual-Stream STGCN with Motion-Aware Grouping for Rehabilitation Action Quality Assessment

,
,
,
and
1
College of Computer Science and Technology, Changchun University, Changchun 130022, China
2
Jilin Provincial Key Laboratory of Human Health Status Identification Function & Enhancement, Changchun 130022, China
3
Key Laboratory of Intelligent Rehabilitation and Barrier-Free for the Disabled, Changchun University, Ministry of Education, Changchun 130022, China
4
College of Computer Science and Technology, Jilin University, Changchun 130012, China

Abstract

Action quality assessment automates the evaluation of human movement proficiency, which is vital for applications like sports training and rehabilitation, where objective feedback enhances patient outcomes. Action quality assessment processes motion capture data to generate quality scores for action execution. In rehabilitation exercises, joints typically work synergistically in functional groups. However, existing methods struggle to accurately model the collaborative relationships between joints. Fixed joint grouping is not flexible enough, while fully adaptive grouping lacks the guidance of prior knowledge. In this paper, based on rehabilitation theory in clinical medicine, we propose a dynamic, motion-aware grouping strategy. A two-stream architecture independently processes joint position and orientation information. Fused features are adaptively clustered into 6 functional groups by a joint motion energy-driven learnable mask generator, and intra-group temporal modeling and inter-group spatial projection are achieved through two-stage attention interaction. Our method achieves competitive results and obtains the best scores on most exercises of KIMORE, while remaining comparable on UI-PRMD. Experimental results using the KIMORE dataset show that the model outperforms current methods by reducing the mean absolute deviation by 26.5%. Ablation studies validate the necessity of dynamic grouping and the two-stream design. The core design principles of this study can be extended to fine-grained action-understanding tasks such as surgical operation assessment and motor skill quantification.

1. Introduction

Action quality assessment (AQA) is a task that evaluates the quality of action execution, often modeled as a fractional regression problem. Unlike tasks such as action recognition and action localization, AQA is a fine-grained action-understanding task that requires not only recognizing actions, but also distinguishing fine-grained differences between actions [1].
AQA is a computational task aimed at understanding and evaluating the quality of human movements [2], providing objective insights for various fields such as sports, rehabilitation, and skill training. In sports, AQA systems analyze video clips to rate performances in figure skating and diving [3,4,5]. In professional skill training, such as surgical training, AQA technology uses video assessments to provide detailed feedback on doctors’ movements, significantly improving the technical skills of residents [6,7]. The role of AQA in rehabilitation lies in its ability to provide quantitative metrics that reflect patient progress and the effectiveness of rehabilitation interventions [8,9]. Using AQA to analyze patients’ movements ensures they perform exercises correctly, minimizing the risk of further injury and maximizing recovery potential [10,11,12].
Early GCN approaches [13], while effective for action recognition, fail to capture time-varying functional connectivity in rehabilitation movements [14]. GCN can explicitly encode structural features of the skeleton by modeling joints and bones as nodes and edges of a graph, but its graph structure is usually fixed, making it difficult to capture high-order or dynamic spatial relationships between non-adjacent joints. Existing methods using convolutional neural networks do not make use of the spatial connectivity information of the human body, which limits the accuracy of these assessments [15].
Existing studies have improved evaluation accuracy through multimodal fusion [16,17], spatio-temporal attention mechanisms [18], and graph convolutional networks [14]. For instance, the Progressive Adaptive Multimodal Fusion Network proposed by Zeng et al. [16] leverages audio as a supplement to visual information, significantly enhancing the accuracy of score regression. Recent work by Chen et al. [17] combined inertial measurement units (IMUs) and surface electromyography (sEMG) with attention mechanisms to predict ligament fatigue, validating the efficacy of multimodal fusion in biomechanical assessment. This supports our dual-stream design for capturing complementary kinematic features. Meanwhile, Tube Self-Attention Network proposed by Wang et al. [18] generates rich spatio-temporal contextual information through sparse feature interactions, achieving optimal results on the Spearman’s rank correlation metric.
Precise AQA technology is crucial for health monitoring in an aging society. For instance, the KIMORE dataset [19] provides quantitative support for rehabilitation training by integrating kinematic data with clinical scores, but its real-time feedback capability is limited. In the field of sports, Liu et al. [20] evaluated figure skating jump movements by combining expert gaze positions with kinematic data, demonstrating the potential of AQA in improving training efficiency and competition fairness.
Current AQA research is mostly based on static skeleton topology or fixed joint grouping. Although it performs well in recognition and evaluation tasks, it is difficult to capture the dynamic changes in individual differences and joint synergy patterns of patients in the rehabilitation training process, resulting in a decline in accuracy on complex motion sequences. On the other hand, most existing methods only use position features, ignoring the important supplement of direction features to rehabilitation scoring, which limits the discrimination of the model. In rehabilitation, patients exhibit significant kinematic variability due to factors like injury severity or recovery stage. Fixed joint groupings fail to adapt to these individual differences, while ignoring orientation features (e.g., joint rotation angles) overlooks clinically critical aspects such as movement plane stability. For instance, in shoulder abduction exercises, scapulohumeral rhythm varies across patients, and rigid groupings cannot capture such dynamic synergies. This directly impacts assessment accuracy and personalized feedback.
The AQA method is typically evaluated using metrics such as Spearman’s rank correlation ( ρ ) to measure the alignment between predictions and ground truth values, Mean Squared Error (MSE) for regression tasks, and accuracy for classification methods. Performance is benchmarked on datasets such as UI-PRMD and KIMORE, where state-of-the-art methods achieve ρ = 0.80–0.90. However, current techniques face three key limitations: (1) Insufficient modeling of temporal dependencies in multi-phase movements, (2) poor generalization across different movement patterns, and (3) a reliance on handcrafted features, which reduces clinical interpretability. These gaps hinder deployment in real-world rehabilitation, where fine-grained feedback on movement phases is crucial for tracking patient progress. Our work addresses these issues in the following ways.
This paper proposes a dynamic functional grouping mechanism based on motion amplitude, which automatically aggregates joint groups with functional relevance through learnable masks. Combined with a two-stream architecture, it achieves complementary modality modeling, more closely aligning with the range of motion and stability of the plane of motion that physicians focus on in clinical rehabilitation assessments. To address the limitations of single-modality features, inflexible fixed grouping, and insufficient spatio-temporal modeling, we propose a three-stage framework: (1) A dual-stream architecture extracts and fuses joint position and orientation features to capture complementary motion semantics; (2) a motion-aware dynamic grouping mechanism replaces rigid topologies through learnable joint clustering; (3) two-stage attention interaction models intra-group dependencies and inter-group synergies. This design enables precise quantification of clinically significant rehabilitation patterns.
To summarize, the key contributions of our work are as follows:
  • A feature extraction module that integrates joint position information and angle information is proposed.
  • A dynamic grouping module is proposed to replace traditional fixed or uniform grouping. The adaptive allocation of joint nodes is implemented by a learnable mask generator, which differs from the fixed grouping of GCN. We group joint nodes based on the range of motion of each joint.
  • A cross-head attention module is proposed to model intra-group spatial features and inter-group temporal features. Prior knowledge of motion magnitude is introduced into the model.
  • Our method achieves the new state-of-the-art performance on two benchmark datasets and overall provides interesting insights. The implementations are released, hoping to facilitate future research.

3. Method

3.1. Problem

Equation (1) represents a sequence of skeletal joint data from a rehabilitation exercise, characterized by a duration of T and J collected joints. The vector x j , t p o s is a three-dimensional vector [ x , y , z ] specifying the position coordinates of joint j at time t within a Cartesian coordinate system. Concurrently, the quaternion x j , t o r i = [ w , u x , u y , u z ] represents the orientation of joint j at time t as a rotation, where w is the cosine of half the rotation angle and [ u x , u y , u z ] forms a unit vector delineating the rotation axis (see Figure 1).
X = { X p o s , X o r i } = { x j , t p o s , x j , t o r i } j = 1 , t = 1 J , T .
Figure 1. The overall pipeline of our network. The goal is to predict a continuous quality score from a sequence of human actions. Initially, we extract spatio-temporal features by concatenating positional and directional information along the channel dimension, followed by applying a group-wise mask through matrix multiplication. Subsequently, these grouped features are processed through a two-layer attention mechanism for effective feature fusion, though only one attention module is illustrated for clarity. Finally, the attention weights are projected back to the original skeleton structure via matrix multiplication with the group mask. After establishing a residual connection with the initial features, the resulting representation is passed to a regression head to generate the final quality score.
The goal of the task is to return a sequence of successive actions to a score Y, which can be mathematically defined as
Y = f ( X ; θ ) ,
where f ( · ) represents the neural network model, and θ denotes the parameters of the model. During training, Equation (3) is used to measure the error between the model’s predicted output and the ground truth. Backpropagation is employed to compute gradients, and gradient descent is applied to update the parameters θ , allowing them to gradually converge to a local optimum. The mathematical definition of this loss function is as follows:
L ( θ ) = 1 N i = 1 N ( f ( x i ; θ ) , y i ) ,
where N is the batch size, ( · ) = 1 2 y ^ y 2 2 is the sample-level loss.

3.2. Dual-Stream STGCN Network

The proposed Dual-Stream STGCN architecture aims to capture spatio-temporal features from joint positions and orientations. The dual-stream architecture processes positional coordinates X p o s R T × J × 3 and orientation quaternions X o r i R T × J × 4 through parallel STGCN branches. A single STGCN module follows a three-stage hierarchy consisting of spatial graph convolutional, temporal convolution, and residual connection.
In the first stage of model training, the model aggregates features in the spatial domain of the action sequence while capturing temporal characteristics. The hierarchical architecture uses three cascaded STGCN blocks to expand the channel count from 64 to 256 for both branches. The last two STGCN blocks perform downsampling with a stride of 2 in the temporal dimension. The positional and directional information from the two branches are concatenated along the channel dimension.
Spatial aggregation is achieved by lightweight 2D convolution (kernel size is set to 1 times 1) operating along the spatial dimension, using convolution kernels to perform feature transformations along the joint dimension, which is equivalent to performing a fully connected transformation on each joint individually [13].
Temporal convolution uses 2D convolution along the time dimension, with a kernel size of 3 times 1 to capture a 3-frame time window. A stride of 2 is used for downsampling in the time dimension, and padding of 1 is used to maintain feature map alignment.
A temporal kernel K t R 3 × C i n × C o u t captures local features:
F t e m p = Conv 2 D ( F s p a t i a l , K t ) R T / 2 × J × C o u t .
Residual connection adjusts feature variance, suppressing gradient vanishing:
X o u t = ReLU ( X t e m p o r a l + X r e s i d u a l ) .
Position and orientation stream outputs are concatenated along the channel dimension:
X = Concat ( X pos , X ori ) R B × T × J × C , T = T 4 ,
where X p o s R B × T × J × 256 and X o r i R B × T × J × 256 denote feature streams that encode positional and directional information, respectively. These streams are concatenated along the channel dimension to form the fused feature representation X.

3.3. Self Attention for Dynamic Groups

The proposed Self-Attention for Dynamic Groups (SADG) module aims to model spatio-temporal features from joints and groups. In rehabilitation training, joints typically work synergistically in functional groups. However, traditional fixed grouping cannot adapt to individual patient differences. In our current implementation, the range of motion index serves as a computationally efficient proxy metric to prioritize joints with higher kinematic variability. Our dynamic grouping strategy automatically identifies functionally related joint clusters through the range of motion, thereby more accurately capturing the synergistic patterns during the rehabilitation process. We quantify the dynamic variation of each joint point for specific movements by analyzing the positional changes in joint points along the time dimension, where M indicates the range of the motion:
M = 1 T t = 1 T ( X b , t , j , c μ b , j , c ) 2 R B × J × C ,
X R B × T × J × C is the input feature tensor, through which the motion intensity is captured by calculating the standard deviation along the time axis T, where μ b , j , c = 1 T t = 1 T X b , t , j , c represents the mean along the time dimension. As shown in Table 1, we list the assignment probabilities for 25 joints corresponding to 6 groups. It should be noted that the joint assignment here is a soft assignment.
Table 1. The group assignment probability for the joints of ex1 on KIMORE.
The dynamic group mask α is generated through a two-stage linear transformation that maps the range of joint motion M to group assignment probabilities:
α = Softmax g ( W 2 · ReLU ( W 1 · M + b 1 ) + b 2 ) ,
The learnable parameters { W 1 , W 2 } implement feature projection across hidden dimensions, where d denotes the latent representation space dimensionality. The bias terms { b 1 , b 2 } introduce translational invariance to accommodate inter-subject kinematic variations. The resulting tensor α represents probabilistic assignments of J anatomical joints to G functional groups. We conducted ablation study on the impact of the number of groups on model performance (table in Section 6), and from this, we determined the number of groups to be 6.
Intra-group attention captures joints activation patterns while inter-group projection models motions across functional groups.
X b , t , g , c ( g ) = j = 1 J α b , g , j X b , t , j , c ,
the formula is actually to project the joint J dimension to the group G dimension. The purpose of this operation is to aggregate the features of each joint into the corresponding group according to the group-assigned probability weighting.
A b , t , g , h , k = Softmax k 1 C d = 1 D Q b , t , g , h , d K b , t , g , k , d ,
where Q R B × T × G × H × D is query matrix, obtained by grouping feature X group via linear transformation. K R B × T × G × H × D is the key matrix. D is the dimension of key vector, D = C / H .
We concatenate the H head outputs along the head dimension to obtain the group feature, where V R B × T × G × K × D is matrix of values for the dynamic representation of joint features:
Z b , t , g , h , d = k = 1 K A b , t , g , h , k V b , t , g , k , d .
The fused feature maintains consistency with the number of input channels and provides conditions for residual connection. The fused group representation is redistributed to the original joint through a learnable mask, retaining the “local coordination–global compensation” principle [19]. The grouping feature is Z ˜ ( g ) R B × T × G × C and the grouping mask is α R B × G × J , then the back projection operation is
Z b , t , j , c = g = 1 G Z ˜ b , t , g , c ( g ) · α b , g , j R B × T × J × C .
The grouped features are mapped back to the original joint dimensions to preserve the tensor structure, which ensures that subsequent layers can directly process standard skeletal structures. As shown in Figure 2, we visualized the attention weights at different time steps. As shown in Figure 3, we also visualized the attention weights for different exercises on KIMORE.
Figure 2. Different groups have different attention weights at different time steps.
Figure 3. The left figure shows the attention weights visualization on ex2, and the right figure shows the attention weights visualization on ex5.

3.4. Regression Head

The regression head is a sequence of two linear layers, ReLU activation. The input dimension is set to 512; after the first linear layer is set to 128, then ReLU, the output dimension, is 1 because it is a regression task. The linear layer is responsible for transforming the feature space, while ReLU introduces nonlinearity:
f r e g ( x ) = W 2 · ( σ ( W 1 · x + b 1 ) ) + b 2 ,
where x R 512 is the input feature, W 1 R 128 × 512 , and b 1 R 128 , σ is the ReLU activation function, W 2 R 1 × 128 , b 2 R . The first linear layer projects high-dimensional spatio-temporal features (512D) into lower dimensions (128D), which suppresses noise by dimensionality reduction and improves generalization. The second linear layer outputs the final score. The dimensional compression ratio 128 512 = 0.25 . Experience shows that this ratio strikes a balance between information retention and overfitting control.

4. Experiments

We adopt three complementary metrics:
MAD (Mean Absolute Deviation): By quantifying the average deviation from actual action quality scores, it provides a simple and intuitive measure of prediction accuracy:
M A D = 1 N i = 1 N | y i y ^ i | ,
where y i are the actual values, y i ^ are the predicted values, and N is the number of observations.
RMSE (Root Mean Square Error): It is particularly useful when large errors are highly undesirable. It quantifies the square root of the average squared difference between predicted and actual values:
R M S E = 1 N i = 1 N ( y i y ^ i ) 2 .
MAPE (Mean Absolute Percentage Error): Provides a scale-independent measure of accuracy, facilitating comparisons across different datasets or models:
M A P E = 100 % N i = 1 N y i y ^ i y i .
SRC (Spearman’s Rank Correlation): The Spearman correlation indicates that the model accurately predicted the order of actions based on quality scores, which is crucial for ranking and prioritization tasks. It calculates the correlation based on the rank values of the variables rather than their original values:
S R C = i = 1 n Q i Q ¯ Y i Y ¯ i = 1 n Q i Q ¯ 2 i = 1 n Y i Y ¯ 2 ,
where Q and Y are the mean ranks of the predicted and actual values, respectively.

4.1. Experimental Settings

We used the KIMORE dataset [19] and the UI-PRMD dataset [33] for training and evaluation, and the KIMORE dataset for ablation experiments. Experiments on the KIMORE dataset used a fixed random seed [34], while experiments on the UI-PRMD dataset did not fix the random seed and averaged the results over five runs.
The KIMORE rehabilitation assessment dataset [19] contains 3827 sample sequences across five clinically significant exercises. The first (ex1) involves upper-limb extension movements, the second (ex2) involves lateral flexion movements of the upper limbs and trunk, the third (ex3) involves rotational movements of the upper limbs and trunk, the fourth (ex4) involves rotational movements of the pelvis in the transverse plane, and the last one (ex5) involves squat movements of the lower limbs and trunk. KIMORE uses the Microsoft Kinect v2 as its RGB-D visual sensor. Subjects were required to continuously repeat each exercise 5 times. They were placed 3 m in front of the Kinect sensor, and distances and angles were calculated in the frontal and sagittal planes, respectively. The Microsoft Windows v2 sensor uses Time-of-Flight (ToF) technology, whereas the previous sensor (Kinect v1) belongs to the category of structured light (SL) cameras. Compared to cameras based on SL technology, ToF cameras have a longer range, and the image appears more accurate when there are no holes in the depth map. Compared to the previous version, the Kinect v2 provides a higher depth map resolution (512 × 424 vs. 320 × 240), enabling it to recognize thin objects and resolve some ambiguities. Depth features allow for the recognition of different subjects and body parts within the field of view, while the increased resolution allows for the recognition of 3D points of 25 different body parts at 30 fps. Each sample provides synchronized 3D positional coordinates and orientation quaternions for 25 joints, captured at 30 Hz with sequence lengths normalized to 100 frames through cubic interpolation. The KIMORE label score (0 to 100) is obtained by clinicians and experts in musculoskeletal and neurological diseases evaluating each exercise (Cohen’s Kappa test which reached a K-value > 0.8 [35]). To ensure class balance, we implement stratified sampling, with samples divided 8:1:1 into train/validation/test sets.
The UI-PRMD dataset [33] involves 10 healthy subjects performing 10 repetitions of different physical therapy movements using a Vicon optical tracker and a Microsoft Kinect sensor for motion capture. The label score (0 to 100) of UI-PRMD is a mean squared deviation value that has undergone time and dimension normalization. As an objective quantitative metric, it is primarily used to study the consistency and variability of movement execution in physical rehabilitation exercises, providing benchmark data for assessing patient rehabilitation progress or algorithm performance. As shown in Table 2, we list the exercise names and movement descriptions. The movements in UI-PRMD were obtained simultaneously through Vicon and Kinect systems. The software programs Nexus 2 and Brekel recorded the actions using Vicon and Kinect systems, respectively. The motion capture frame rate for Vicon is 100 Hz, while the frame rate for Kinect is 30 Hz. For measurements from both Vicon and Kinect, the Cartesian position values of the joints are in millimeters, and the joint angles are in degrees. The values in the dataset are presented in record form. The only preprocessing step was to correct large jumps in the Kinect angle measurements, because the angles are limited to the range (−180°, +180°). For values exceeding these limits, the value continues on the other side of the limit. No other data processing was performed. The Vicon optical tracker captures 39 human joints, while the Kinect sensor captures 22. We conducted experiments using the data captured by the Vicon optical tracker. Unlike the KIMORE dataset, the joint angles in UI-PRMD are quantified using Euler angles, which, like the joint position information, are represented as triplets. The dataset division follows the same stratified sampling method as KIMORE. On UI-PRMD, we did not use normalization.
Table 2. Exercises and descriptions in the UI-PRMD dataset.

4.2. Implementation Details

We conduct experiments on a computer equipped with an Intel i5 CPU at 2.5 GHz (Santa Clara, CA, USA), NVIDIA GeForce GTX 5060 GPU (Santa Clara, CA, USA), and the RAM of 32 GB. We use PyTorch 2.8 and CUDA 12.9 to implement our model. We apply preprocessing method of z-score to the data in KIMORE.
We use grid search to perform hyperparameter tuning on the two datasets separately. Both datasets use a cosine annealing learning rate scheduler, with KIMORE using AdamW as the optimizer and a weight decay of 0.0001, and UI-PRMD using SGD as the optimizer without weight decay. For the KIMORE dataset, the initial learning rate is set to 0.0001, decaying by 0.0001 per epoch, and the batch size is set to 32. For the UI-PRMD dataset, the initial learning rate is set to 0.1, and the batch size is set to 1. The two datasets are completely separate, and training and evaluation are also conducted independently for each dataset. We trained for 100 epochs on each of the two datasets, respectively. As shown in Figure 4, we visualized the training loss of the model on UI-PRMD’s ex1 after 100 epochs.
Figure 4. The training loss for the model over 100 epochs, where the dark curve in the figure represents the average loss value from 3 experiments, and the light-colored area’s upper and lower bounds are the maximum and minimum values, respectively.

5. Comparison with Existing Methods

Following evaluation metrics from previous work, our model is trained on each of the five exercises in KIMORE dataset. In Table 3, we show the performance comparison of our proposed method with other state-of-the-art methods on the KIMORE dataset. Our model, which combines multimodal spatio-temporal feature extraction for positional and orientational information, a dynamic grouping attention mechanism based on motion amplitude, outperforms competing methods in most exercises.
Table 3. Performance comparison on KIMORE dataset: the best values being bolded. ‘-’ indicates the vacancy value not reported.
As evidenced in Table 3, D2STA achieves superior performance across most rehabilitation exercises in the KIMORE dataset, with an average MAD of 0.119 representing a 26.5% improvement over the best existing methods. This performance enhancement primarily stems from the synergistic interaction between the dynamic functional grouping strategy and dual-stream architecture.
Specifically, our method achieved the lowest MAD, RMSE, and MAPE across most exercises in the KIMORE dataset. Compared to the state-of-the-art methods, our model generally performed better. Only on ex4 did our model exhibit slightly higher error than the model by Kuang et al. [9]. Our model’s performance on ex4 is relatively poorer compared to other actions, which may depend on the ex4 action itself. ex4 is a rotation action of the pelvis in the transverse plane. Compared to other actions, the range of motion for ex4 is relatively small, and the model may not be able to accurately capture the action features. Overall, our model demonstrated significant improvements, reducing MAD by approximately 26.52%, RMSE by 16.76%, and MAPE by 33.86% compared to the best existing methods. These results highlight the accuracy and effectiveness of our approach in action quality assessment.
To further demonstrate the robustness of our model, we evaluated it on the UI-PRMD dataset. UI-PRMD provides positional (39 joints) and orientational (22 joints) data with incompatible dimensionality. To ensure input consistency, only orientation features were used. We maintained the same model architecture, with all inputs being directional data. For the UI-PRMD, the data was not preprocessed in any other way, ensuring consistency with the methods of others, such as [31,36]. As shown in Table 4 and Table 5, our model achieves competitive results compared to the existing best methods. These results demonstrate the effectiveness and robustness of our model, even when directly applied to other similar datasets without data normalization and using only unimodal data.
Table 4. Performance comparison of different methods on UI-PRMD dataset based on MAD: the best values being bolded.
Table 5. Performance comparison of different methods on UI-PRMD dataset based on RMSE and MAPE: the best values being bolded.
As shown in Figure 5, we visualize the correlation between the model’s predicted scores and the actual scores on the ex1 of KIMORE. The strong agreement between the predicted and actual values is evident, demonstrating the model’s accuracy. The Spearman’s Rank Correlation further quantifies this relationship, yielding a high correlation coefficient of 0.9497. This high SRC value indicates a strong correlation between the predicted and actual scores. The Spearman’s Rank Correlation for the other exercises, ex2 to ex5, are 0.9643, 0.9849, 0.9635, and 0.9631, respectively. This high SRC value indicates that the model consistently assigns high scores to high-quality performances and low scores to low-quality performances.
Figure 5. The correlation between the model’s predicted scores and the actual scores on the ex1 of KIMORE.

6. Ablation Study

Ablation experiments use the same splits. To ensure reproducibility and account for the impact of random seeds on model performance, we fix the random seed to 3407 [34] and unify the training parameters: epoch is set to 100, learning rate is set to 0.0001, batch size is set to 32.
D2STA is regarded as the baseline model, aiming to evaluate its performance without the SADG module. Additionally, we replace the SADG module with an attention mechanism lacking dynamic grouping to verify the effectiveness of the dynamic grouping module. The effectiveness of the dual-stream architecture is verified by changing the dual-stream STGCN to single-stream STGCN.
As shown in Table 6, the experiments were conducted on exercises ex1 to ex5 of the KIMORE dataset, with the results averaged across the five exercises. The experimental results indicate that the absence of SADG leads to increased errors in MAE, RMSE, and MAPE. Replacing the SADG module with multi-head self-attention without dynamic grouping further degrades the performance of these metrics.
Table 6. Ablation Study: The baseline model is D2STA. Position stream represents the model with the orientation branch removed, and orientation stream represents the model with the orientation branch removed. MHSA represents the model with the grouping module removed, and Without SADG represents the model with the SADG module removed. The best value is bold. A check mark indicates that position data (pos) or orientation data (ori) is used, while a cross mark indicates the opposite.
When replacing the dual-stream STGCN with a single-stream STGCN, the performance significantly decreases. The single-stream architecture resulted in a 64% increase in MAPE, demonstrating the irreducible complementarity of the dual modality information. Ablation studies in Table 6 reveal that removing the dynamic grouping module increases MAPE by 90%. The dual-stream architecture’s necessity is validated by ablation experiments showing RMSE increases from 0.221 to 0.406 when using single-stream processing (Table 6). This degradation occurs because clinical scoring of rehabilitation movements simultaneously depends on joint trajectory (position stream) and movement plane stability (orientation stream). Through multimodal cascading, the dual-flow design makes up for the lack of single-modal information.
As shown in Table 7, we conducted an ablation study on the number of groups for the dynamic grouping module. With other parameters held constant, the grid search method was used to determine the number of groups to be 6 by only changing the group count.
Table 7. Ablation study: The impact of the number of groups in the dynamic grouping module on performance.
As shown in Table 8, we conducted an ablation study on the number of attention heads. With a constant total number of channels, too few attention heads may fail to capture multi-scale features, while too many may lead to insufficient representational capacity for each head.
Table 8. Ablation study: The impact of the number of heads in the SADG module on performance.

7. Conclusions

This study proposed a dual-stream spatio-temporal attention-based rehabilitation action quality assessment framework. By integrating dynamic functional grouping with spatio-temporal modeling, the proposed framework achieves competitive performance on the KIMORE dataset and the UI-PRMD dataset. The dual-stream independent modeling of position and orientation preserves modality specificity by soft-assigning joint points into 6 groups and then modeling intra-group spatial features and inter-group temporal features, thereby supplementing traditional spatio-temporal modeling methods. The ablation experiment shows that the single-flow architecture leads to a 90% increase in MAPE, verifying the necessity of the dual-stream design. Removing the SADG module caused a significant increase in MAPE, validating the effectiveness of the SADG module design. These results have provided intriguing insights overall and are hoped to promote the development of the community.
The dynamic functional grouping mechanism based on the range of motion automatically aggregates joint groups with functional correlations through learnable masks, more closely aligning with the range of motion and the stability of the motion plane in rehabilitation exercises. It is worth noting that, although the motion range index in this paper can effectively account for highly variable joints, it does not explicitly model the physiological constraints of specific joints (e.g., natural range of motion), nor does it normalize the displacement based on the body’s topological structure. Future work will integrate normalization relative to the root node and a clinical ROM database to address these limitations, especially for low-amplitude but high-precision joints that are crucial in cervical spine or hand rehabilitation.

Author Contributions

Z.K.: Supervision, Resources, Data curation, Conceptualization. Z.Y.: Software, Conceptualization, Methodology, Validation, Visualization, Writing—original draft. Y.Y.: Investigation, Methodology, Conceptualization, Software, Writing—review and editing. J.Z.: Supervision, Resources. L.S.: Resources, Supervision, Methodology. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Jilin Provincial Natural Science Foundation (YDZJ202501ZYTS619).

Institutional Review Board Statement

Not applicable.

Data Availability Statement

Data is available at https://www.webpages.uidaho.edu/ui-prmd/ (accessed on 7 October 2024) and https://vrai.dii.univpm.it/content/kimore-dataset (accessed on 29 December 2025). The source code of our model is available at https://github.com/BryceLoski21/D2STA (accessed on 29 December 2025).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Yang, T.; Zhu, Y.; Xie, Y.; Zhang, A.; Chen, C.; Li, M. AIM: Adapting Image Models for Efficient Video Action Recognition. arXiv 2023, arXiv:2302.03024. [Google Scholar] [CrossRef] [Scilit]
  2. Parmar, P.; Morris, B.T. Action Quality Assessment across Multiple Actions. In Proceedings of the 2019 IEEE Winter Conference on Applications of Computer Vision (WACV), Waikoloa, HI, USA, 7–11 January 2019. [Google Scholar]
  3. Zhang, B.; Chen, J.; Xu, Y.; Zhang, H.; Yang, X.; Geng, X. Auto-Encoding Score Distribution Regression for Action Quality Assessment. Neural Comput. Appl. 2024, 36, 929–942. [Google Scholar] [CrossRef] [Scilit]
  4. Yu, X.; Rao, Y.; Zhao, W.; Lu, J.; Zhou, J. Group-Aware Contrastive Regression for Action Quality Assessment. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Virtual, 11–17 October 2021; pp. 7919–7928. [Google Scholar]
  5. Zhang, S.; Dai, W.; Wang, S.; Shen, X.; Lu, J.; Zhou, J.; Tang, Y. LOGO: A Long-Form Video Dataset for Group Action Quality Assessment. arXiv 2024, arXiv:2404.05029. [Google Scholar] [CrossRef] [Scilit]
  6. Ke, X.; Xu, H.; Lin, X.; Guo, W. Two-Path Target-Aware Contrastive Regression for Action Quality Assessment. Inf. Sci. 2024, 664, 120347. [Google Scholar] [CrossRef] [Scilit]
  7. Gao, Y.; Vedula, S.S.; Reiley, C.E.; Ahmidi, N.; Varadarajan, B.; Lin, H.C.; Tao, L.; Zappella, L.; Bejar, B.; Yuh, D.D.; et al. JHU-ISI Gesture and Skill Assessment Working Set (JIGSAWS): A Surgical Activity Dataset for Human Motion Modeling. In MICCAI Workshop: M2cai; Springer: Berlin/Heidelberg, Germany, 2014. [Google Scholar]
  8. Liu, J.; Wang, H.; Stawarz, K.; Li, S.; Fu, Y.; Liu, H. Vision-Based Human Action Quality Assessment: A Systematic Review. Expert Syst. Appl. 2025, 263, 125642. [Google Scholar] [CrossRef] [Scilit]
  9. Kuang, Z.; Wang, J.; Sun, D.; Zhao, J.; Shi, L.; Zhu, Y. Hierarchical Contrastive Representation for Accurate Evaluation of Rehabilitation Exercises via Multi-View Skeletal Representations. IEEE Trans. Neural Syst. Rehabil. Eng. 2025, 33, 201–211. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  10. Yu, B.X.B.; Liu, Y.; Chan, K.C.C.; Chen, C.W. EGCN++: A New Fusion Strategy for Ensemble Learning in Skeleton-Based Rehabilitation Exercise Assessment. IEEE Trans. Pattern Anal. Mach. Intell. 2024, 46, 6471–6485. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  11. Sardari, S.; Sharifzadeh, S.; Daneshkhah, A.; Loke, S.W.; Palade, V.; Duncan, M.J.; Nakisa, B. LightPRA: A Lightweight Temporal Convolutional Network for Automatic Physical Rehabilitation Exercise Assessment. Comput. Biol. Med. 2024, 173, 108382. [Google Scholar] [CrossRef] [Scilit]
  12. Zaher, M.; Ghoneim, A.S.; Abdelhamid, L.; Atia, A. Rehabilitation Monitoring and Assessment: A Comparative Analysis of Feature Engineering and Machine Learning Algorithms on the UI-PRMD and KIMORE Benchmark Datasets. J. Inf. Telecommun. 2025, 9, 382–402. [Google Scholar] [CrossRef] [Scilit]
  13. Yan, S.; Xiong, Y.; Lin, D. Spatial Temporal Graph Convolutional Networks for Skeleton-Based Action Recognition. In Proceedings of the AAAI Conference on Artificial Intelligence, New Orleans, LA, USA, 2–7 February 2018. [Google Scholar]
  14. Zhou, K.; Ma, Y.; Shum, H.P.H.; Liang, X. Hierarchical Graph Convolutional Networks for Action Quality Assessment. IEEE Trans. Circuits Syst. Video Technol. 2023, 33, 7749–7763. [Google Scholar] [CrossRef]
  15. Du, C.; Graham, S.; Depp, C.; Nguyen, T. Assessing Physical Rehabilitation Exercises Using Graph Convolutional Network with Self-Supervised Regularization. In Proceedings of the 2021 43rd Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), Guadalajara, Mexico, 1–5 November 2021; pp. 281–285. [Google Scholar]
  16. Zeng, L.A.; Zheng, W.S. Multimodal Action Quality Assessment. IEEE Trans. Image Process. 2024, 33, 1600–1613. [Google Scholar] [CrossRef] [Scilit]
  17. Xu, D.; Zhou, H.; Jie, T.; Zhou, Z.; Yuan, Y.; Jemni, M.; Quan, W.; Gao, Z.; Xiang, L.; Gusztav, F.; et al. Data-driven deep learning for predicting ligament fatigue failure risk mechanisms. Int. J. Mech. Sci. 2025, 301, 110519. [Google Scholar] [CrossRef] [Scilit]
  18. Wang, S.; Yang, D.; Zhai, P.; Chen, C.; Zhang, L. TSA-net: Tube Self-Attention Network for Action Quality Assessment. In Proceedings of the 29th ACM International Conference on Multimedia, Virtual Event, China, 20–24 October 2021; pp. 4902–4910. [Google Scholar]
  19. Capecci, M.; Ceravolo, M.G.; Ferracuti, F.; Iarlori, S.; Monteriu, A.; Romeo, L.; Verdini, F. The KIMORE Dataset: KInematic Assessment of MOvement and Clinical Scores for Remote Monitoring of Physical REhabilitation. IEEE Trans. Neural Syst. Rehabil. Eng. 2019, 27, 1436–1448. [Google Scholar] [CrossRef] [Scilit]
  20. Liu, Y.; Cheng, X.; Ikenaga, T. A Hierarchical Joint Training Based Replay-Guided Contrastive Transformer for Action Quality Assessment of Figure Skating. IEICE Trans. Fundam. Electron. Commun. Comput. Sci. 2025, E108.A, 332–341. [Google Scholar]
  21. Aksan, E.; Kaufmann, M.; Cao, P.; Hilliges, O. A Spatio-Temporal Transformer for 3D Human Motion Prediction. In Proceedings of the 2021 International Conference on 3D Vision (3DV), London, UK, 1–3 December 2021; pp. 565–574. [Google Scholar]
  22. Lovanshi, M.; Tiwari, V. Human Skeleton Pose and Spatio-Temporal Feature-Based Activity Recognition Using ST-GCN. Multimed. Tools Appl. 2024, 83, 12705–12730. [Google Scholar] [CrossRef] [Scilit]
  23. Qiu, H.; Hou, B.; Ren, B.; Zhang, X. Spatio-Temporal Segments Attention for Skeleton-Based Action Recognition. Neurocomputing 2023, 518, 30–38. [Google Scholar] [CrossRef] [Scilit]
  24. Pan, J.H.; Gao, J.; Zheng, W.S. Action Assessment by Joint Relation Graphs. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea, 29 October–1 November 2019; pp. 6331–6340. [Google Scholar]
  25. Holmberg, D.; Airaksinen, M.; Marchi, V.; Guzzetta, A.; Kivi, A.; Haataja, L.; Vanhatalo, S.; Roos, T. Modeling 3D Infant Kinetics Using Adaptive Graph Convolutional Networks. arXiv 2024, arXiv:2402.14400. [Google Scholar] [CrossRef] [Scilit]
  26. Song, G.; Qian, Y.; Wang, Y. Stgcn-Pad: A Spatial-Temporal Graph Convolutional Network for Detecting Abnormal Pedestrian Motion Patterns at Grade Crossings. Pattern Anal. Appl. 2024, 28, 2. [Google Scholar] [CrossRef] [Scilit]
  27. Huang, K.; Tian, Y.; Yu, C.; Huang, Y. Dual-Referenced Assistive Network for Action Quality Assessment. Neurocomputing 2025, 614, 128786. [Google Scholar] [CrossRef] [Scilit]
  28. Alfasly, S.; Lu, J.; Xu, C.; Al-Huda, Z.; Jiang, Q.; Lu, Z.; Chui, C.K. FastPicker: Adaptive Independent Two-Stage Video-to-Video Summarization for Efficient Action Recognition. Neurocomputing 2023, 516, 231–244. [Google Scholar] [CrossRef] [Scilit]
  29. Gupta, S.; Agrawal, P.; Gupta, P. MAUCell: An Adaptive Multi-Attention Framework for Video Frame Prediction. arXiv 2025, arXiv:2501.16997. [Google Scholar] [CrossRef] [Scilit]
  30. Zheng, C.; Zhu, S.; Mendieta, M.; Yang, T.; Chen, C.; Ding, Z. 3D Human Pose Estimation with Spatial and Temporal Transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Virtual, 11–17 October 2021. [Google Scholar]
  31. Mourchid, Y.; Slama, R. D-STGCNT: A Dense Spatio-Temporal Graph Conv-GRU Network Based on Transformer for Assessment of Patient Physical Rehabilitation. Comput. Biol. Med. 2023, 165, 107420. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  32. Wang, W.; Wang, H.; Hao, Y.; Wang, Q. Action Quality Assessment with Multi-Scale Temporal Attention Mechanism. In Proceedings of the 2024 7th International Conference on Advanced Algorithms and Control Engineering (ICAACE), Shanghai, China, 1–3 March 2024; pp. 247–251. [Google Scholar]
  33. Vakanski, A.; Jun, H.p.; Paul, D.; Baker, R. A Data Set of Human Body Movements for Physical Rehabilitation Exercises. Data 2018, 3, 2. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  34. Picard, D. Torch.Manual_seed(3407) Is All You Need: On the Influence of Random Seeds in Deep Learning Architectures for Computer Vision. arXiv 2021, arXiv:2109.08203. [Google Scholar]
  35. Capecci, M.; Ceravolo, M.G.; Ferracuti, F.; Iarlori, S.; Kyrki, V.; Monteriù, A.; Romeo, L.; Verdini, F. A Hidden Semi-Markov Model Based Approach for Rehabilitation Exercise Assessment. J. Biomed. Inform. 2018, 78, 1–11. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  36. Deb, S.; Islam, M.F.; Rahman, S.; Rahman, S. Graph Convolutional Networks for Assessment of Physical Rehabilitation Exercises. IEEE Trans. Neural Syst. Rehabil. Eng. 2022, 30, 410–419. [Google Scholar] [CrossRef] [Scilit]
  37. Yao, L.; Lei, Q.; Zhang, H.; Du, J.; Gao, S. A Contrastive Learning Network for Performance Metric and Assessment of Physical Rehabilitation Exercises. IEEE Trans. Neural Syst. Rehabil. Eng. 2023, 31, 3790–3802. [Google Scholar] [CrossRef] [Scilit]
  38. Zhiguo, Z.; Wenhui, W.; Wenxin, W. Research on Lower Limb Movement Rehabilitation Assessment Based on Graph Convolutional Network. IEEE Access 2024, 12, 169194–169207. [Google Scholar] [CrossRef] [Scilit]
  39. Zhang, S.; Han, Q.; Wang, P.; Li, J. Frame Topology Fusion-Based Hierarchical Graph Convolution for Automatic Assessment of Physical Rehabilitation Exercises. Sci. Rep. 2025, 15, 26720. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.