Abstract
The knee resultant joint moment is a critical indicator for assessing risk during the tennis serve. Traditional methods for obtaining this metric rely on laboratory-based equipment, limiting practical application. To address this limitation, this study proposes and validates a novel method for predicting the knee resultant joint moment method using a Graph Neural Network and Gated Recurrent Unit (GNN-GRU) model. An independent GRU model was used as a baseline for comparison. Biomechanical data were collected from 30 male tennis players (age: 20.30 ± 1.66 years, height: 176.60 ± 2.74 cm, weight: 70.80 ± 3.89 kg, BMI: 22.71 ± 1.38 kg/m2, training experience: 9.20 ± 2.81 years) during the performance of the tennis serve. Sagittal plane joint angles of both lower limbs were used as model inputs to predict the resultant joint moment of the supporting leg. A paired-sample t-test compared predicted and actual values. Layer-wise Relevance Propagation (LRP) was applied to quantify the contribution of individual joint angles. The GNN-GRU model demonstrated significantly better prediction performance than the standalone GRU model (p < 0.05). No significant differences were observed between predicted and actual values (p > 0.05). LRP results showed knee contribution close to 1 during the Preparation Phase (PP). In the Flight Phase (FP), ankle and hip contributions increased significantly, both approaching 1. During the Landing Phase (LP), the knee joint maintained a contribution above 0.4. This study supports the identification of potentially high-risk movements in real-world tennis training and competition and provides a reference for the early detection of knee joint injuries.
Keywords
Introduction
The tennis serve is among the most critical and technically demanding movements in this sport, 1 requiring efficient force transmission from lower extremities and core musculature upward toward the upper limbs to enable powerful ball striking. 2 During this process, the lower limbs are subjected to substantial mechanical loads, making them susceptible to sports injuries,3–5 with the knee joint being particularly vulnerable, 6 accounting for approximately 20% of all reported cases. 7 Several studies have identified abnormal joint moments as a high-risk factor for injury.8–10 Therefore, accurate estimation of knee joint moments is crucial. Resultant joint moment represents the combined influence of all internal and external forces and moments acting around a joint. 11 It enables the assessment of overall joint function without the need for invasive measurements, and has therefore been widely applied in sports and clinical gait analysis. 12 Changes in the resultant joint moment are closely associated with the mechanical loading of the joint. At the knee, an increased moment significantly elevates tissue stress, making it a key indicator for evaluating joint load and injury risk. 13 Knee joint injuries are often attributed to combined mechanical loads resulting from multi-planar displacements. 14 The resultant joint moment, generated by muscles, joint contact, and ligaments, can help identify tissues at risk of injury. 15 In this study, it was incorporated into injury risk assessment to provide a more comprehensive evaluation of knee joint loading.
Traditionally, joint moments are calculated using forward or inverse dynamic approaches, which depend on specialized lab-based tools like force platforms and motion tracking systems. 16 However, these measurements are difficult to implement during real tennis performances in court environments. In contrast, kinematic data are easier to collect.17,18 Therefore, dynamic parameters can be estimated based on kinematic data, enabling the indirect prediction of joint moments in non-laboratory settings. 19 This study selected resultant joint moments calculated through inverse dynamics in a laboratory setting for model training and validation. Although not yet applied in real on-court scenarios, the proposed method may offer a useful reference for future estimations of joint loading using wearable sensors in field environments. Many models capable of predicting continuous time-series variables have been introduced and widely applied in the estimation of biomechanical metrics like joint moments, ground reaction forces, and pressure center.20–24 In the field of tennis, numerous studies have begun to utilize neural networks to identify stroke patterns,25–27 analyze serving motions through wearable sensors, 28 or employ models to optimize training strategies. 29 Whiteside et al. 25 used support vector machines with inertial sensors to classify strokes, but their model focused only on shot type recognition without estimating biomechanical loads or offering interpretability. Li et al. 26 applied a CNN-based video system to evaluate joint angles during volley practice, yet it lacked kinetic prediction and biomechanical insight. Other studies28,29 explored wearable sensing or psychological modeling but did not address interpretable joint-level kinetic estimation. Overall, prior work mainly focuses on classification or monitoring tasks, while few studies have attempted to predict joint loading in tennis using interpretable models. Among these models, Long Short-Term Memory (LSTM) networks, valued for their robustness, have become one of the most commonly adopted models in this field.30,31 However, traditional LSTM models have complex architectures and suffer from gradually decaying temporal correlations across time steps, making it difficult to reliably capture long-range dependencies.32,33 Although this limitation may be less relevant for short-duration tennis movements, LSTM models are inherently unable to capture the topological relationships between joints, 34 which is critical for biomechanical applications. The Gated Recurrent Unit (GRU), considered a streamlined substitute for LSTM, utilizes only two gates, update and reset, while still preserving the ability to model temporal dependencies and avoiding these limitations. 35 Meanwhile, Graph Neural Networks (GNN) offer the ability to represent structural relationships between nodes. 36 The use of GNN in biomechanical analysis, including sports training and injury prevention, has been explored in recent investigations, which have confirmed its reliability.37,38 In theory, combining GNN with GRU enables the spatiotemporal modeling of graph-structured data. Existing research has shown that GNN-GRU models provide better interpretability and decision transparency than traditional LSTM models in motion prediction tasks based on joint angles. 39 However, like all neural network models, the GNN-GRU model also faces the black-box issue, thereby hindering the ability to assess the rationality of its decisions. 40
As a model interpretability technique, Layer-Wise Relevance Propagation (LRP) is capable of quantifying the contribution magnitude of each input variable to the model’s prediction, thereby enabling the evaluation of the plausibility of its outputs, 41 and it has already been applied in biomechanics. 42 Therefore, this study constructs a GNN-GRU model to predict the knee resultant joint moment, with LRP applied to evaluate the impact of variations in kinematic features on model predictions. In previous model-based predictions, kinematic parameters were typically collected using inertial measurement units (IMU) or conventional optical motion capture systems to improve ecological validity. 43 Considering the accuracy required during model training, this study employed a traditional optical motion capture system with higher precision. 44 To reduce input dimensionality and model complexity, only sagittal plane joint angles were selected. This strategy helps focus on evaluating model performance while improving training stability and reducing the risk of overfitting under limited data conditions.
This study aims to construct a GNN-GRU-based deep learning model to estimate knee resultant joint moment in the supporting limb throughout the tennis serve, and to quantify the contributions of kinematic features related to knee joint injury using LRP. To further evaluate the model’s effectiveness, a standalone GRU model was constructed as a baseline for comparison. The ultimate goal is to provide a basis for assessing knee injury risk in tennis and to offer guidance for future injury prevention. It is hypothesized that the GNN-GRU model, compared to the GRU model alone, can more effectively integrate spatiotemporal features to accurately predict the knee resultant joint moment and successfully apply LRP to reveal reliable associations between sagittal plane joint angles of both lower limbs and the predicted moment, with the supporting knee joint expected to show a high contribution in the prediction task.
Methods
In this study, lower limb biomechanical data during platform serves were collected from male tennis players. Raw data were preprocessed and categorized. Sagittal plane joint angles of both lower limbs and the knee resultant joint moment of the supporting leg were selected as model inputs. A GNN-GRU-based deep learning model was trained. LRP was then applied to identify kinematic features strongly associated with injury risk in the supporting knee joint (Figure 1).

Research workflow. (a) Data collection and preprocessing. Kinematic and kinetic data were captured through a Vicon system with Kistler force plates, and processed using Visual3D. (b) GNN-GRU model training. A complete graph was constructed by combining node features and edge indices. Data were passed through three graph convolutional layers (GN1-GN3), then input into a GRU for temporal sequence modeling. The output was generated through a fully connected layer (Linear). (c) GRU architecture. (d) Model performance and prediction results.
Participants
This study enrolled 30 male tennis players (age: 20.30 ± 1.66 years, height: 176.60 ± 2.74 cm, weight: 70.80 ± 3.89 kg, BMI: 22.71 ± 1.38 kg/m2, training experience: 9.20 ± 2.81 years). All participants volunteered and provided written informed consent. All players were fully familiarized with testing procedures prior to data collection. Inclusion criteria were defined as follows: (1) a minimum of 3 years of structured tennis training; (2) the left leg served as the supporting leg during the LP; (3) no lower limb or foot injury or illness in the past 6 months; (4) no other factors affecting the execution of a platform serve. This study was approved by the institutional ethics committee.
Procedure
Lower limb biomechanics during the full platform serve were recorded using a 10-camera infrared Vicon motion capture system (Oxford Metrics Ltd, Oxford, UK) at 200 Hz and Kistler force plates (Kistler Instrumente AG, Winterthur, Switzerland) at 1000 Hz. After completing a dynamic warm-up (DWU), 45 each athlete simulated a platform serve on the force plate. A serve was deemed valid when the ball reached the designated service area (Figure 1(a)), and a standardized 5-s rest interval was enforced between serves to ensure consistency. 46
Data processing
All data were imported in “*c3d” format and processed using Visual 3d (version 6, C-Motion, Inc., Germantown, MD, USA). The entire tennis serve was defined as a single motion unit and was divided into three phases: the PP, the FP, and the LP (Figure 1(a)). 47 To account for bilateral coordination and the potential impact of the non-supporting leg on overall dynamic balance and load distribution, this study extracted joint angles of both lower limbs as input features. Considering the need to reduce input dimensionality and model complexity, and based on previous research 48 indicating that sagittal plane moments dominate during landing, only sagittal plane kinematic parameters were used for modeling. The resultant joint moment of the supporting knee was defined as the model’ s output variable to reflect the overall mechanical load on the knee joint. The computation was carried out according to the following equation:
Among them, momentx, momenty and momentz represent the joint moment components in the sagittal, frontal, and transverse planes, respectively. All motion signals were filtered using a fourth-order low-pass filter with a cutoff frequency of 10 Hz. 49 Each participant completed 12 trials, yielding 360 valid serves in total. The dataset was partitioned into training (288 samples), validation (36 samples) and test sets (36 samples) using a cross-validation algorithm, with a ratio of 8:1:1. 43 All time-series data were normalized to 101 points and exported as CSV files, yielding a 6 × 101 matrix for the input features and a 1 × 101 matrix for the resultant moment.
Graph neural networks and gate recurrent units
A GNN-GRU integrated model was constructed (Figure 1(b) and (c)), using Python (Python Software Foundation, Wilmington, DE, USA) with the PyTorch library (Meta Platforms Inc., Menlo Park, CA, USA) and torch-geometric (Stanford University, Stanford, CA, USA). The model input was a 6 × 101 feature matrix, where each column represented a node and each row corresponded to a specific feature dimension for that node. One serve cycle was represented as a graph consisting of 101 nodes, each with six feature dimensions. Since edge features were not explicitly assigned, the edge attribute matrix was initialized as an all-ones matrix. 50 A fully connected graph was constructed based on the uncontrolled manifold (UCM) theory, 51 which suggests that motor tasks involve structured joint coordination. Therefore, each node was connected to all others to capture potential global dependencies. 52
During model training, graph-structured data were first passed into graph convolutional layers, where spatial feature fusion was achieved by aggregating information from each target node and its neighbors. Three graph convolutional layers were used, each consisting of 64 neurons with ReLU activation. A GRU layer consisting of 64 units was subsequently applied to extract dynamic features across the temporal dimension (Figure 1(c)). The final output was produced through a fully connected layer. Model training used the Adam optimizer at a learning rate of 0.001 for 100 epochs. All model hyperparameters were optimized based on the results obtained through particle swarm optimization (PSO). 53 To enhance interpretability, LRP was employed to quantify the contribution of each input variable to the predicted knee resultant joint moment. 41 Model performance was evaluated by computing the MAE, MSE and R2 between predicted and actual values in the test set. 35
Statistics
After normality testing, the differences in MAE, MSE and R2 between the GNN-GRU model and the standalone GRU model were compared using SPSS 27.0.1 (IBM Corp, Armonk, NY, USA). To comprehensively analyze the temporal variation in the knee resultant joint moment, a paired-sample t-test was performed using the SPM1D toolbox in MATLAB (R2024a, The MathWorks, Natick, MA, USA) to compare the predicted and actual values generated by the GNN-GRU model. A significance threshold of 0.05 was applied.
Results
The prediction performance for the six sagittal plane joint angles was evaluated using MAE, MSE, and R2 (Table 1). The GNN-GRU model showed significantly lower MAE and MSE, and significantly higher R2 compared to the GRU model (p < 0.05). The GNN-GRU model showed good performance across the three metrics, with the exception of the left ankle, where R2 was less than 0.8.
Performance metrics for kinematic features predicted by the GNN-GRU and GRU models (n = 360).
Data are presented as mean (SD). MAE denotes mean absolute error, MSE denotes mean squared error, and R 2 denotes the coefficient of determination. d denotes Cohen’ s d, representing the effect size of the difference.
a,b,cDenote comparisons of MAE, MSE, and R2 between the two models, respectively.
SPM results showed no statistically significant difference between the measured and predicted knee resultant joint moment values (p > 0.05; Figure 2(a)). During the PP, the knee resultant joint moment of the supporting leg gradually decreased. In the FP, it increased to a peak and then declined. In the LP, it gradually increased.

(a) SPM analysis comparing the knee resultant joint moment predicted by the GNN-GRU model with the actual computed values. (b) Temporal variation in the contributions of six input features determined by LRP. Contribution values were normalized to a range between 0 and 1. PP, FP, and LP represent the Preparation Phase, Flight Phase, and Landing Phase, respectively.
LRP was applied to identify the temporal dynamics of six input features’ contributions throughout the tennis serve (Figure 2(b)). Contribution scores ranged from 0 to 1, with 0 representing no effect on the dependent variable (the knee resultant joint moment of the supporting leg), and 1 representing maximum influence. During the PP, the contributions of the left ankle and right knee gradually increased, the left knee remained stable and close to 1, while the left hip, right ankle, and right hip gradually decreased. In the FP, the ankle and hip joints of both lower limbs showed a rise in contribution scores approaching 1, followed by a gradual decline, while the contributions of both knees decreased from near 1 to 0 and then increased again to near 1. In the LP, the contributions of the left ankle and left hip gradually increased. The right ankle and right hip initially remained stable but then decreased to near 0. The contributions of both knees declined from near 1.
Discussion
This study implemented a GNN-GRU model combined with LRP to predict knee resultant joint moment of the supporting leg during the tennis serve using sagittal plane joint angles of both lower limbs as input. The results indicated that the GNN-GRU model, compared to the GRU model alone, more accurately predicted the knee resultant joint moment of the supporting leg and, through LRP, revealed the temporal variation in the influence of six kinematic variables on the predicted values. The model exhibited good overall performance.
Model performance and prediction results
Compared to the standalone GRU model, the GNN-GRU model achieved superior prediction performance in terms of MAE, MSE, and R2. This improvement may be attributed to the GNN’ s ability to capture spatial dependencies among joints, 54 which enhances the temporal modeling capability of GRU. Such spatiotemporal modeling is particularly beneficial for complex coordinated movements like the tennis serve. The GNN-GRU model developed in the current study exhibited strong predictive capacity, with the left knee achieving the highest R2 and relatively low MSE, reflecting strong predictive accuracy and explanatory power. This may be attributed to the substantial sagittal-plane flexion-extension activity of the supporting knee, which contributes directly to energy generation and transmission during serving actions.2,55 This process subjects the knee joint to high flexion-extension demands, increasing joint load and injury susceptibility. The model effectively captured the functional contribution of the right knee and hip as components of the lower limb kinetic chain. The left ankle showed slightly lower R2, while the right ankle exhibited the highest MAE with greater prediction variability, possibly due to individual differences in serving patterns among players. 56 As the terminal segment of the lower limb kinetic chain, the ankle undertakes complex dynamic tasks during the tennis serve, being especially susceptible to variation arising from individual technical styles and landing strategies. 57 This high degree of movement individuality increases data variability and may limit the model’s fitting capacity.
The results showed no significant difference between predicted and actual values, which suggests that the GNN-GRU model with simplified input features achieved high accuracy and reliability in predicting the resultant joint moment. During the PP, the moment of supporting knee gradually decreased, which may reflect a state of pre-activation in preparation for subsequent force generation. During the FP, the knee resultant joint moment first increased to a peak and then declined. In this phase, athletes must actively exert force during take-off to control movement stability and direction, while gradually unloading joint load during the aerial phase. The large moment fluctuation results in high instantaneous loading on the knee, elevating the risk of injury. 10 However, this lower-limb–driven force generation is an essential technical element of the serve, critical for pre-impact energy storage and upward transfer. 2 While preserving technical integrity, coordinated training may help reduce joint stress and injury risk. During the LP, the knee resultant joint moment increased again. At this stage, ground reaction force rises rapidly as the lower limbs touch down, requiring the knee muscles to absorb the impact. 58 Inadequate control of this buffering process may lead to stress accumulation in knee structures and increase the risk of chronic injury. 59
Feature contribution rates
Following model validation, LRP was applied to quantify the contributions of six kinematic features. During the PP, both knees showed maximal contribution toward the end of the stage, indicating that sagittal plane knee angles played a dominant role in the prediction. This pattern aligns with task-specific demands, as athletes enter a phase of knee flexion at the end of PP, 47 to generate greater racket speed through knee bending. 2 Although knee loading increases during this motion, the injury risk remains lower than in the LP due to its active, performance-driven nature.
During the FP, ankle contribution peaked at the midpoint (64%) before declining, reflecting its role in propulsion via rapid plantarflexion. 57 As the serve transitioned, both ankle and hip contributions decreased, while the knees gradually became the primary load-bearing joints. This shift corresponds to the body’s preparation for landing, where knee flexion plays a key role in absorbing impact forces and stabilizing motion. 58
During the LP, the contribution of the left ankle gradually increased, suggesting a stronger role in knee load modulation and a possible association with injury risk. The ankle can assist in absorbing ground reaction forces through plantarflexion to aid in impact attenuation, 60 but the rising contribution also suggests increased involvement in knee load regulation. Fong et al. 46 similarly reported that limited ankle flexion-extension might contribute to a heightened likelihood of ACL injury. The contribution of the left hip also showed a gradual increase during the LP, indicating that hip flexion-extension played a contributory role in the occurrence of injury. Under normal conditions, the hip stabilizes pelvic and trunk posture, helping to distribute ground reaction forces while alleviating loading on the knee joint. 61 Impaired hip motion can result in increased knee valgus and adduction moment, thereby raising injury risk. 62 Leppänen et al. 63 also identified a significant association between smaller hip flexion angles and a greater probability of ACL injury. In contrast, the contributions of the right, non-supporting ankle and hip showed a declining trend during this phase, suggesting a reduced role in impact absorption. At the beginning of the LP, both knees exhibited contribution values close to 1, which then slightly declined but remained at a relatively high level. This pattern indicates a strong association between knee flexion-extension and variations in the knee resultant joint moment. Inadequate flexion control before landing buffering is completed may lead to abnormal joint loading and increased injury risk. 64 Targeted training to enhance knee flexion-extension control may help reduce landing-related injury risk.
The LRP visualization clearly illustrated the contributions of different lower limb joint features to the knee resultant joint moment of the supporting leg across the serve phases. In particular, the high contribution of knee flexion-extension during the LP suggests a strong association with knee loading and injury risk. Meanwhile, other joint kinematic features also showed certain levels of relevance to the knee resultant joint moment, reflecting the coordinated regulation among joints in the lower limb. During the tennis serve, the lower limb joints function as an integrated, dynamically regulated kinetic chain. 65 Regular training should emphasize the coordinated development of the entire lower limb kinetic chain, with emphasis on key joints while also ensuring that the synergistic roles of other joints are not overlooked. Especially during landing buffering, sagittal plane coordination of lower limb joints plays a critical role in dispersing ground reaction forces, 66 which helps mitigate injury risk. Therefore, enhancing the coordination of the whole kinetic chain should be considered a key objective for both injury prevention and performance optimization. 67 Moreover, the difference in joint contributions between the supporting and non-supporting legs may reflect the inherent functional differentiation in unilateral actions such as the tennis serve. It has been reported that during the landing phase of the serve, the supporting leg plays a primary role in impulse absorption. 47 The findings of this study are, to some extent, consistent with these biomechanical patterns.
Understanding the underlying mechanisms of the human musculoskeletal system is essential for biomechanical research on injury prevention and functional restoration. 9 As machine learning techniques have advanced, numerous studies have concentrated on extracting human movement features and evaluating injury risk using data from video or inertial sensors.38,43 However, limited research has applied machine learning to infer joint moments based on kinematic input, and these attempts still exhibit notable prediction errors.68,69 In the study by Johnson and Ballard, 68 the best-performing model achieved an RMSE slightly below 60 Nm. This study employed an LRP-based GNN-GRU model to assess the relative contributions of kinematic features associated with supporting leg knee injury to the prediction output. Using only sagittal plane joint angles of both lower limbs as input, the model accurately predicted the knee resultant joint moment during the tennis serve. The use of single-plane kinematic features simplifies data acquisition and processing. In future practical training and competition, this method could potentially be combined with existing approaches that estimate joint angles from images or videos, 38 theoretically reducing dependence on complex measurement equipment and aiding in injury risk management. However, this study has certain limitations. The model relied solely on sagittal plane features, potentially overlooking contributions from movements in other planes to knee loading. Future research may incorporate multi-plane features to enhance prediction comprehensiveness. Additionally, laboratory-based experiments may not fully capture real-world tennis variability, and video-based prediction applications still require further validation. In the future, data collected from actual training or competition scenarios, including match videos, could be incorporated to enhance model robustness and verify its generalizability in practical applications. Moreover, this study evaluated only a single model without comparison to other modeling approaches. Future research could introduce multiple models for comparative analysis to better assess and optimize performance.
Conclusions
This study employed a GNN-GRU model with LRP to accurately predict the knee resultant joint moment of the supporting leg during the tennis serve, using sagittal plane joint angles of both lower limbs as input. Compared to the baseline GRU model, the GNN-GRU model achieved superior performance across all evaluation metrics, demonstrating high goodness-of-fit, with no significant difference between predicted and actual values. These results highlight the spatiotemporal variations in joint coordination across different serve phases, indicating that different joint groups contribute to the modulation of knee joint moments at specific time points. This may provide a reference for developing targeted monitoring tools or preventive strategies in tennis-specific training. Future studies should validate these findings in real-world sports environments and explore the potential integration with wearable devices or vision-based recognition systems to support on-court biomechanical monitoring.
Footnotes
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: National Key Research and Development Program of China (2024YFC3607305), Ningbo key R&D Program (2022Z196), Zhejiang Provincial Natural Science Foundation of China for Distinguished Young Scholars (LR22A020002), the Zhejiang Provincial Key Research and Development Program of China (2023C03197), the Ningbo Natural Science Foundation (20221JCGY010532, 20221JCGY010607), the Public Welfare Science &Technology Project of Ningbo, China (2023s145).
Ethical considerations
This study was approved by the Ningbo University Research Ethics Committee (approval no. TY2024044) on December 01, 2024.
Consent to participate
All participants provided written informed consent prior to participating.
Data availability
The datasets generated during and/or analyzed during the current study are not publicly available due to privacy concerns but are available from the corresponding author on reasonable request.
