Next Article in Journal
Review of Novel and Emerging Proximal Soil Moisture Sensors for Use in Agriculture
Next Article in Special Issue
Early Detection of Exposure to Toxic Chemicals Using Continuously Recorded Multi-Sensor Physiology
Previous Article in Journal
Using Convolutional Neural Networks with Multiple Thermal Sensors for Unobtrusive Pose Recognition
Previous Article in Special Issue
Application of Modern Multi-Sensor Holter in Diagnosis and Treatment
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Real-Time Prediction of Joint Forces by Motion Capture and Machine Learning

by
Georgios Giarmatzis
*,
Evangelia I. Zacharaki
and
Konstantinos Moustakas
VVR Group, Department of Electrical and Computer Engineering, University of Patras, 26504 Patras, Greece
*
Author to whom correspondence should be addressed.
Sensors 2020, 20(23), 6933; https://doi.org/10.3390/s20236933
Submission received: 21 October 2020 / Revised: 27 November 2020 / Accepted: 2 December 2020 / Published: 4 December 2020

Abstract

:
Conventional biomechanical modelling approaches involve the solution of large systems of equations that encode the complex mathematical representation of human motion and skeletal structure. To improve stability and computational speed, being a common bottleneck in current approaches, we apply machine learning to train surrogate models and to predict in near real-time, previously calculated medial and lateral knee contact forces (KCFs) of 54 young and elderly participants during treadmill walking in a speed range of 3 to 7 km/h. Predictions are obtained by fusing optical motion capture and musculoskeletal modeling-derived kinematic and force variables, into regression models using artificial neural networks (ANNs) and support vector regression (SVR). Training schemes included either data from all subjects (LeaveTrialsOut) or only from a portion of them (LeaveSubjectsOut), in combination with inclusion of ground reaction forces (GRFs) in the dataset or not. Results identify ANNs as the best-performing predictor of KCFs, both in terms of Pearson R (0.89–0.98 for LeaveTrialsOut and 0.45–0.85 for LeaveSubjectsOut) and percentage normalized root mean square error (0.67–2.35 for LeaveTrialsOut and 1.6–5.39 for LeaveSubjectsOut). When GRFs were omitted from the dataset, no substantial decrease in prediction power of both models was observed. Our findings showcase the strength of ANNs to predict simultaneously multi-component KCF during walking at different speeds—even in the absence of GRFs—particularly applicable in real-time applications that make use of knee loading conditions to guide and treat patients.

1. Introduction

Musculoskeletal diseases, along with natural age-related sensorimotor decline, affect the lower limbs’ soft tissue homeostasis and/or skeletal integrity, resulting in pain [1], muscle loss [2] and functional decline [3,4] along with elevated fall [5,6] and fracture risk [7]. Even though knowledge discovery has been immense during recent decades, the scientific community has been unsuccessful in treating musculoskeletal diseases, and current prevalence, incidence, and socioeconomic burden still impose a significant threat to healthcare systems [8,9]. Measures to counter their adverse effects include pharmacological and rehabilitation interventions, mainly utilized when health status has already diminished, and the patient seeks medical help. On the other hand, exercise has proven a lifetime successful surrogate strategy for prevention and treatment of numerous pathologies [10], since it can trigger an anabolic response to muscle and bone matrix and improve neuromotor function, followed by improvement in key cardiovascular indicators [11] and overall quality of life [12]. Research interest has focused on characterizing the mechanical loading exerted during exercise in important skeletal sites, in order to elucidate the interplay between external forces and biological response of the human skeleton [13,14,15].
Forces acting on joints and resulting bone deformation (strain) can lead to degeneration of impact-absorbing cartilage [16] or regulate fracture-protective bone mass and shape [15]; hence, their exploration constitutes an urgent matter for prevention of major diseases, such as osteoarthritis (OA) and osteoporosis. Important descriptors of joint loading are joint contact forces, which are highly affected by individual motion strategy [17,18,19,20], aberrant bone geometry [21,22], and are also related to cartilage stress distribution [23,24,25] and joint osteoarthritis initiation and progression [26,27]. As a result, the joint contact forces have been extensively used to assess joint malfunction [28], disease-driven gait alterations [29] and joint replacement design [30,31]. Medial knee force calculation has particularly attracted research efforts due to the high prevalence of medial knee osteoarthritis compared to the lateral compartment [32], thus medial knee contact force (KCF) reduction has been the focus of numerous gait modification regimens [33,34]. However, knowledge of inter-compartmental knee loading patterns and force direction during locomotion will uplift the design of knee rehabilitation programs for lateral osteoarthritis patients as well, and help towards the investigation of the mechanical factors of knee prostheses’ loosening phenomenon [35].
The lack of actual forces/strains acting on bone, caused due to the invasiveness of available acquisition techniques [36,37], has led to their estimation via modeling algorithms of muscle function and bone mechanical response. Musculoskeletal models provide validated, clinically relevant, subject-specific information, although their demand for high expertise, comprehensive collection of input variables and excessive computational cost has inhibited their widespread use in the clinical world. Moreover, standard modeling methods can be rather time-consuming—ranging from several minutes to hours—thus being unsuitable for real-time applications. A representative example involves the assessment and guidance of knee-osteoarthritic patients in self-managing their condition through medial knee offloading while performing daily activities [33,34]. Consequently, new approaches must emerge to facilitate prevention and treatment of major musculoskeletal deficits, integrating sensor-based biomedical technologies coupled with computational models of muscle and bone.
As an alternative to biophysics-driven modeling approaches, data-driven techniques are rapidly evolving to meet healthcare needs. The advancement of sensing devices that allow one to monitor health-related parameters [38], as well as the increase in computation capacity permitting real-time simulation and modelling of human body functions [39], has opened numerous opportunities for machine learning (ML) in healthcare. ML methods’ strength lies on their ability to leverage non-linear relationships between a set of inputs and outputs and build a model to “learn” the interaction between them through a rigorous training phase on—usually large—acquired datasets. Once the formulation and parameters of the model have been selected, it can offer predictions very fast, highlighting ML’s usability as tool to predict key biomechanical variables. ML-based models can easily be embedded in digital tools to become suitable for real-time applications.
Artificial neural networks are commonly used to predict lower limb joint angles and moments [40,41,42,43,44], ground reaction forces [45], joint forces or impulses [46,47,48,49] and contact pressures [50,51,52]. On the other hand, support vector machines have also demonstrated promising prediction performance in various regression biomechanical problems, such as electromyography (EMG)-based prediction of lumbosacral joint loads [53] and optical marker-based prediction of lower limb joint angles and moments [54,55], standing out for their substantial generalization ability to unseen datasets [56]. For an analytic review on ML applications in human movement biomechanics, including also unsupervised learning techniques, we refer to the survey of Halilaj et al. [57]. Since a trained ML model is as good as its training dataset, and most studies have used a very limited dataset of patient population or limited range of walking speeds [47,48], generalization of their predictions may be restricted. In most cases, input datasets were related to the motion capture (mocap) system used for motion analysis, for example, the original trajectories from markers or inertial measurement unit (IMU) signal were primarily included, thus limiting the usage of the trained models beyond the specific marker set protocol or IMU placement and signal processing. Finally, the output variables were usually restricted to single medial KCF [47,48], and no multi output regression techniques were utilized to promote understanding of overall, multi-component knee joint loading.
Thus, the aim of this paper is to establish an ML-empowered, mocap-agnostic framework to predict all components of medial and lateral KCFs during different gait speeds, based on data fusion of calculated variables through motion analysis and musculoskeletal modelling. The predictive capability of two common regression ML methods—artificial neural network (ANN) and support vector regression (SVR)—will be researched to elucidate their applicability on prediction of important biomechanical parameters in real time.

2. Experimental Procedure and Biomechanical Simulations

2.1. Participants

Fifty-four (54) healthy, university students and community-dwelling citizens of two distinct age groups—young (n = 40) and elderly (n = 14), (see Table 1)—provided informed consent to participate in the study, approved by the local Ethics Committee. None of them had prior lower-limb defect that could affect their performance.

2.2. Experimental Protocol

All participants walked on a motor driven treadmill (Forcelink, Culemborg, The Netherlands) at a speed increasing from 3 to 7 km/h, with an increment of 1 km/h. A harness attached to the ceiling was utilized to ensure participants’ safety. Subjects were advised to walk casually and choose their last walking speed on their own. They stopped at a different maximum walking speed; 4 subjects walked up to 4 km/h, 13 subjects walked up to 5 km/h, 31 subjects walked up to 6 km/h and only 5 walked up to 7 km/h. Twenty walked only barefoot, eleven walked with both shoes and barefoot interchangeably and twenty five walked only with shoes. Due to continuous recordings between speeds and the lack of an automated way to count steps, data were collected for 10 s per speed following an adaptation period of 10 s, resulting in multiple gait cycles per subject and speed. More time for acclimation was given to the elderly group, but not more than 1 min, to avoid fatigue. Forty-two (42) retroreflective markers were placed on anatomical landmarks (Figure 1) and their spatial trajectories were recorded using a 10-camera VICON system (10–15 MX camera system, VICON, Oxford Metrics, Oxford, UK) with sampling rate of 100 Hz. Ground reaction forces (GRFs) and moments were captured through force plates integrated in the treadmill at 1000 Hz and filtered at 6 Hz. Clusters of 3 markers were placed on the femur and tibia of each side to improve capturing of respective body segment motion.

2.3. Musculoskeletal Modeling

The entire musculoskeletal procedure was implemented with the free open-source software, OpenSim (Stanford University, Stanford, CA, USA). First, a generic musculoskeletal model [58] consisting of 18 segments and 92 Hill-type musculotendon actuators was linearly scaled to each participant’s anatomy and body weight, based on recorded marker positions during a static trial while each participant was standing on a force plate in a neutral position. The included knee joint was modeled as a single degree of freedom (DOF) joint acting along the sagittal plane, specifying two distinct contact points between the femur and tibia lying on the medial and lateral compartment of a tibial plateau. Two revolute joints acting on the frontal plane were attached to each contact point, respectively, sharing the forces acting between the femur and tibia. Inter-compartmental forces were calculated via balancing the net reaction forces and frontal-plane torques around the knee joint. The distance between the contact points and femur–tibia alignment was kept at the default values (3.5 mm and 0, respectively) since relevant subject-specific information was not available (e.g., through medical imaging). The ankle and subtalar joints were modelled as revolute joints, whereas the hip was modelled as a ball and socket joint. Joint angles were calculated for every recorded motion using the inverse kinematics tool and, after low-pass filtering at 6 Hz, served as inputs—coupled with GRFs—to static optimization for muscle force estimation. The cost function was set to minimize the squared sum of all muscle activations. Reserve actuators were added at each joint of the model, to provide the additional torques if needed during static optimization, although their usage was penalized to avoid excessive activation. Finally, three medial and three lateral components of knee contact forces were calculated in the local coordinate system, using the calculated joint angles and muscle forces, along with the three components of GRFs, vertical GRF moment and two-dimensional coordinates of the center-of-pressure acting at each foot, as inputs to the Joint Reaction Analysis in OpenSim. These KCFs form the response variables that were subsequently used to train a regression model that takes as input the kinematic variables and the GRFs. Once trained, the model can be used for real-time prediction on new coming data.

2.4. Data Pre-Processing

Individual gait cycle was determined as the stance phase of each leg and obtained between heel-strike and following ipsilateral toe-off. Respective joint angles, GRFs and calculated KCFs of each leg were synchronized by downsampling the GRFs to match the frequency of the other two. All forces were normalized to individual body weight to account for inter-subject variability and represent the residual force variation per weight unit. To include both right and left leg data in the dataset, left mediolateral component of GRFs and KCFs was negated to match the right forces. No negation was needed for the joint angles since they were calculated as relative degrees between attached body segments, within the same range of values for both sides. The six components of right medial and lateral KCFs comprised the output feature set, whereas the rest formed the input feature set. Features with negligible standard deviation (less than 1 × 10−6) were considered as noise and were omitted from the dataset. These included the lateral KCF across the x-direction, thereby ending up with 16 features for the input and 5 features for the output dataset (see Figure 1 and Table 2).
The input data were stored in a 3D tensor X of size N x   ×   M   ×   T , where N x = 16 is the number of input variables, M = 4784 is the number of trials for all subjects, and T is the maximum number of time points. As the subjects walked with different speeds, some gait cycles are shorter than others and therefore the 3D tensor X is partially empty across its time dimension. We should underline that we do not temporally align the gait cycles because such an alignment can only been performed upon completion of the cycle. In an online prediction scenario where estimations should be provided for each time point, i.e., before the completion of the gait cycle, such an alignment is not feasible. The output data were stored in a similar way into a 3D tensor Y of size N y   ×   M   ×   T , where N y = 5 is the number of output variables. Upon data splitting into training and testing sets (as described in Section 3.4), the sub-tensors (for both input and output variables) were unfolded and linearized so that each time measurement could be used as an independent sample for prediction. A description of all data variables used for prediction by machine learning is shown in Table 2.

3. Prediction by Machine Learning

In the next sections, we describe how the kinetic variables computed by the previous biophysics-driven modeling approach can be predicted using the fusion of kinematic variables and data-driven techniques. We formulate our problem as a regression problem and apply machine learning to solve it. For a complete overview of our methodology see Figure 2.

3.1. Regression

Let us assume that f ( x , w ) is a family of functions parameterized by a vector w that transforms a vector x into a new space. As a note, we represent vectors as columns and use the superscript “t” to represent the transpose of a vector. Given a dataset of N s observations—namely, single time frames— D = { x i , y i } ,   i = 1 , ,   N s , where each observation i is expressed by an input vector ( x ) t = [ x 1 , x 2 , , x N x ] with N x variables and a response variable (scalar) y , our goal is to estimate w ^ that minimizes a loss function l between the transformed space representation y ^ = f ( x , w ^ ) and the observed values for the N s training instances, i.e.,
w ^ = a r g m i n i = 1 N s l ( f ( x i , w ) ,   y i )
As the true function that maps x into y (plus noise) is unknown, we will evaluate our results based on the residual of the predictions using the common root mean square error (RMSE) metric,
R M S E =   1 N s i = 1 N s ( f ( x i , w ^ ) y i ) 2
We examined two of the most popular methods for non-linear regression, the artificial neural networks [59] and the support vector regression [60]. Details on the transformation function and optimization mechanism for these two methods are provided next.

3.2. Artificial Neural Networks

ANNs have attracted the interest of the scientific community for classification of human movement [61,62] or prediction of meaningful biomechanical parameters [57] based on lower-level motion capture data, mainly owing to their significant ability to learn intermediate features over multiple levels of transformations. The generic structure a feed-forward ANN consists of multiple processor units, called neurons, organized in a series of layers including the first (input) layer, a set of intermediate (hidden) layers and the output layer. Each neuron is connected to the neurons of neighboring layers via numerical values (weights) and receives the weighted sum of all neuron outputs of the previous layer (except neurons from the input layer), after the application of an activation function. In our network, all the hidden neurons were activated using the “REctified Linear Unit–RELU” function according to the equation:
f ( x ) = max ( 0 , x ) ,
The neurons of the output layer were fed with the weighted sum of all neurons’ outputs of the last hidden layer, which were activated by a linear function. Adaptive moment estimation (Adam) [63] algorithm was used to train the network by iteratively updating the weights, aiming at the minimization of the loss function, set as the mean squared error between the network predictions and the target values. To avoid overfitting, early stopping was utilized when a minimum loss was achieved and stabilized for 10 consecutive epochs. The total network topology was a four-layer ANN with two hidden layers of 400 neurons each, with the number of neurons in the input/output layers equal to the size of the input and target variables, respectively.

3.3. Support Vector Regression

We investigated also support vector regression due to its high generalization ability, and because SVR optimization does not depend on the dimensionality of the input space, therefore is very well suited for datasets with a large number of independent variables. SVR, firstly proposed in [60], expands Vapnik’s concept of support vectors [64]. A basic (polynomial) transformation function for support vector machines can be expressed as
f ( x , w ) = i = 1 N s ( a i * a i ) ( x i t x + 1 ) p + b ,  
where x i represents the i-th training instance, x a new input vector, and the 2 N s   +   1 values of a i * , a i and b form the vector w . The optimization problem of Equation (1) also entails regularization constraints over the magnitude of w to control the flatness of the solution. Moreover, a convex ε-insensitive loss function is adopted to only penalize predictions that are farther than ε from the desired output.
Extending the original formulation of Equation (4) from linear, or polynomial, to non-linear mapping through the use of kernels, it is possible to achieve a higher accuracy if enough data are available to optimize for w and the kernel hyper-parameters. We chose a Gaussian (rbf) kernel with a fixed kernel scale of 0.6, avoiding optimization of hyperparameters. Since SVR does not support multi-output regression, five separate models were built for each target variable.

3.4. Assessment

The training and assessment of the regression models was performed in two different cross-validation settings. Firstly, we considered random data split over trials (LeaveTrialsOut), i.e., the trials of all subjects were divided in three equal parts and used to perform three-fold cross-validation, thereby allowing some trials from one subject to be in the training set and the other trials from the same subject in the test set. In the second setting, cross validation is performed across subjects (LeaveSubjectsOut), i.e., the subjects were divided in three equal parts such that all trials from each subject are either in the training set or in the test set. In both cases, the overall prediction accuracy was calculated by averaging the results over the three folds. Any method requiring tuning of hyperparameters exploited a small part of the training set only (to form a validation set), whereas the test set was left completely out for the final assessment of accuracy.
Assessment of the individual models trained for each KCF component was based on the error between predicted and calculated (based on musculoskeletal modeling) values. As the standard RMSE depends on the units, it impedes the results’ interpretation and comparison with others, if the data scale is unknown. Thus, we calculate the normalized RMSE (NRMSE), by dividing with the range of each variable (difference between maximum and minimum values) included in the dataset:
N R M S E = R M S E Δ y 100 %
where RMSE is the root mean squared error calculated in the original range of values, and Δ y is the range of values for each KCF component. Τhe Δ y values used for the results of this paper were 8.069, 12.164, 1.389, for the anteroposterior, distal proximal and mediolateral medial KCF, and 9.657, 0.007 for distal proximal and mediolateral lateral KCF, respectively.
Although the RMSE is the most representative metric for prediction accuracy, it is sensitive to outliers and to systematic errors such as baseline shifts. Therefore, we also calculated the Pearson’s correlation coefficient (R) as a measure of association strength between predicted and calculated values, which is less sensitive to outliers.

4. Results

4.1. Calculated KCFs Based on Musculoskeletal Modeling

All (M = 4784) trials were successfully processed in OpenSim using standard inverse dynamics and a dedicated musculoskeletal model as described in Section 2.3. To demonstrate the validity of the calculated KCFs and deem their suitability for training ML models, respective average curves and their peak values were calculated and compared with literature. Individual gait cycles were identified, and all data were time normalized to 100 points by quadratic interpolation. An averaging process of knee forces per gait cycle within and between subjects for each speed resulted in the ensemble curves for each component of medial and lateral KCFs, as shown in Figure 3. The resulting ensemble curves were calculated separately along the three directions, i.e., in the anteroposterial direction (x), distal–proximal direction (y) and mediolateral direction (z). Positive x values indicate backwards, positive y values downwards and positive z inwards.
Moreover, a double peak profile was found in both medial and lateral vertical components (med_y and lat_y), with first and second peak occurring at early and late stance phase, respectively. Mean peak KCF values were calculated for each force component by averaging identified first and second peak values for every gait cycle per speed, within and between subjects. Results (see Table 3) show that first and second peak of med_y increase with increasing speed, ranging from 2.18 to 3.30 body weight (BW) and 2.50 to 3.22 BW, respectively. The same finding applies to the first and second peak of lat_y, ranging from 0.71 to 1.84 BW and 0.70 to 1.73 BW, respectively.

4.2. ML-Based Prediction with and without GRFs

We chose to train ML models with two versions of inputs, i.e., with and without GRFs, on grounds of limited availability of GRF-measuring equipment in usual mocap settings. The ANN and SVR predictions were compared against calculated KCFs. Generally, ANN slightly outperformed SVR in most cases, both in terms of NRMSE and R. Average-across-folds values of NRMSE and Pearson’s R for every model with or without GRFs, are depicted in Table 4 and Table 5, respectively. Mean NRMSE values for ANN-GRF were smaller and R values larger than the corresponding from SVR-GRF. The same trend occurs when only joint angles are included in the input set: mean NRMSE values for ANN-noGRF were smaller than the corresponding values for SVR-noGRF, while R was mostly larger for both LeaveTrialsOut and LeaveSubjectsOut cross-validation settings. No substantial differences were noticed between the prediction accuracies of GRF and noGRF models per case, thus ensemble curves across trials of predictions and calculated KCFs were illustrated only for models using GRF, as depicted in Figure 4.
A review of previous outcomes on predictive capability of different ML models for KCFs is summarized in Table 6.

4.3. Robustness of Fit

Results from musculoskeletal modeling methods are highly sensitive to instantaneous error registration during motion capture, due to a faulty marker recording or noisy IMU signal. Although low pass filtering techniques can remove minor drifting and ensure smoothness of signals [67], joint force calculation remains susceptible to highly erroneous recording settings, propagating inconsistencies in equations of motion, thus abnormal values can infiltrate the training set. To evaluate the robustness to outliers of the proposed ML models, we selected the best performing model (i.e., the ANN) and examined its sensitivity to approximate the target variable with varying amount of introduced noise. Specifically, we artificially contaminated our dataset with outliers, generated by sampling from a Student-t distribution with zero mean and 2 degrees of freedom and scaled by the standard deviation of the original training data. The original samples were randomly replaced at proportions of 5%, 10%, 15%, 20%, 25% and 30% of the training samples [68]. Training of the ANN with the contaminated datasets was similar as before, and average values between folds were calculated for each target variable. Average values of R across folds for every contamination level are shown in Figure 5. As expected, increasing presence of outliers in the training set reduced the predictive capability of the ANN under different training scenarios, although not significantly in most cases, indicating its high prediction robustness, as also observed in previous work [69].

5. Discussion

The current study demonstrates for the first time a mocap-agnostic, ML-empowered framework for prediction of multi-component KCFs during different speeds of walking and showcases the advantages of using supervised learning coupled with musculoskeletal modeling in mapping the kinematic to joint force space. Multi-output regression enabled us to leverage correlations between the different KCF components and improve the predictive accuracy rather than depending on separate regressions that could overlook intra-component relation [70]. The prediction capability of artificial neural network and support vector regression models was examined under different training schemes with two levels of exposure to the dataset, identifying ANN as the best ML method among the investigated ones. Last, testing different model configurations with artificially contaminated training sets with outliers in different proportions indicated that ANN can successfully approximate the nonlinear function mapping joint angles with or without GRFs to KCFs, even when errors are present in the measurements.
Reference values of inter-compartmental peak KCFs in different speeds during walking are of significant importance for scientists exploring the dynamic loading of the musculoskeletal system and its effects on local tissue response. Resultant and vertical forces are rarely distinguished in the literature, probably because of the high similarity between their magnitudes since mediolateral and anteroposterior components show negligible values. Nonetheless, the current work presents the three components separately for a complete overview of healthy knee loading milieu. Average medial and lateral force values for both peaks during stance phase fit well within the range of other modeling studies or in vivo data, despite the large differences in cohorts’ profile or modeling practices of previous work, as reviewed from Fregly et al. [71]. Few studies report peak values in certain gait speeds. Specifically, Zhao et al. [72] reported in vivo medial peak forces of 1.51, 1.58 BW and 1.63 BW at speeds of ~3, 4.5 and 5.5 km/h of one total knee arthroplasty (TKA) patient during gait, that are similar to the lower bounds of our estimations. Our results also compare favorably with mean peak medial knee forces of 2.08 BW and 2.25 BW as reported by Kutzner et al. [73], for the first and second peak, respectively, at an average gait speed of ~4 km/h from three TKA patients. Regarding modeling efforts, most studies focused on building sophisticated subject-specific knee models to reproduce in vivo loads from TKA patients, leaving loading of the healthy knee mostly unexplored. Winby et al. [74] first introduced a computationally efficient way to estimate inter-compartmental forces of healthy gait, reporting—similar to ours—peak medial and lateral values of 2.0–3.0 BW and 1.0–1.4, respectively, during level walking. Kumar et al. [75] also reported comparable average values from a healthy elderly cohort, namely, 2.37 and 1.80 BW for the first and second peak of medial KCFs, respectively, along with 1.30 and 0.45 BW for the first and second peak of lateral KCFs, at the walking speed of 5.6 km/h. In conclusion, the current study has provided valid results of healthy knee loading on treadmill walking, providing previously unexplored medial and lateral forces on a wide range of speeds.
Our prediction results showed that multidimensional medial and lateral KCF can be sufficiently predicted by ANN or SVR based on joint angle data—with or without GRFs—although ANN performed better in both cases. The prediction errors were determined in respect to the level of exposure to the full dataset, being low when the model was partially exposed to some trials of the testing subject (LeaveTrialsOut) and relatively high when no information from the testing subject was used during training (LeaveSubjectsOut). The implemented ANN achieved a good to excellent prediction score in the case of the compressive medial KCF in the distal–proximal (vertical) direction regardless of training scenario, which is of significant importance since that force component is the main determinant of medial knee loading and is considered an important risk factor for local cartilage degeneration. This finding can be attributed to its steady-across-trials double peak profile and the resulting similarity between training and test distributions. Hence, the regression model managed to sufficiently map inputs and outputs and achieve good estimation accuracy, even when the training was artificially contaminated with outliers in different amounts. Although comparisons between studies are problematic due to variations in datasets and methods, the present study generally outperformed earlier efforts to predict medial KCFs (see Table 6), possibly the main reason being the extensive dataset used in this study and the range of speeds or shod conditions incorporated, thus substantial pattern variation was induced. Based on comparisons of R values between our method and Ardestani et al.’s [48] (see Table 6), inclusion of subject-specific EMGs in the training set by the latter seem to enhance model predictive power in the LeaveSubjectsOut scenario, yet, respectively, a higher NRMSE% may indicate limitations in that approach. Moreover, EMG acquisition requires advanced equipment and high expertise, which is impractical in common clinical settings, in contrast with our approach that provides prediction of KCFs solely based on joint angles estimation, irrespective of the mocap system used. Hence, IMUs or even video-based mocap systems that are inexpensive, portable and can offer real-time joint angle estimations, are appropriate for providing the necessary input to our trained models.
Different models’ exposure levels to the dataset revealed that their generalization capability was compromised when all the trials of the testing subjects were excluded from the training dataset, which is in accordance with previous findings [47,48]. Although ANN’s predictive power of medial KCF was only slightly diminished in the LeaveSubjectsOut setting, it reaches moderate prediction level for lateral KCFs and medial anteroposterior force. This can be partially explained by the lack of consistent relationship between kinematic and kinetic variables in the lateral KCF or the noise level is a serious confounding factor that hinders the discovery of any underlying relationship. Additionally, uniqueness of individual joint motion characteristics during gait [69] may be an additional challenge when the models are tested in data of unseen subjects. Strategies to overcome such limitations may include larger datasets from larger cohorts or appropriate data augmentation techniques to induce adequate variability within the training set, along with deeper architectures allowing a higher degree of non-linearities.
The current study outlines the possibility to use only kinematic variables to predict KCFs during walking, as indicated from the high prediction accuracy of the trained models when GRFs were excluded from the training set. Such redundancy may be indicative of the dissociation between GRFs and joint loading found in earlier studies [76,77], pinpointing kinematics and associated overall motion strategy as most relevant. Using only kinematics for KCF estimation seems promising in all cases when synchronous joint angle estimation and GRF acquisition is not feasible due to equipment/space restrictions. For instance, IMU-based on-field measurements could be utilized in combination with our model to explore outdoors’ mobility in terms of knee loading, and thereby gain more insight to real-world gait dynamics in environments inappropriate for dedicated mocap equipment. Within the same context and in contrast with standard physics-based modeling, the ML-empowered method requires no further knowledge on muscle physiology and overall anatomy, outlining its attractiveness for KCF prediction in real time.
Limitations of the current study mainly lie on the development of a rich and representative training dataset, a task extremely challenging in the context of musculoskeletal modeling. Owing to lack of in vivo data, especially in healthy populations, knee forces had to be calculated under a rigorous and time-consuming modeling framework, yet inherently limited to the subject sample, motion capture protocol, and simulation process. Calculation of KCFs require sophisticated musculoskeletal models, nonetheless, being a mere approximation of the actual human function, hence affecting their calculation. No subject-specific information on knee geometry was available, hence overestimation of actual knee forces might have infiltrated our results, as shown in [58], where estimated medial knee forces were compared between a generic (uninformed) knee model and a (fully informed) model with known contact point distance and tibiofemoral alignment, extrapolated from medical images. Our future plans include the exploitation of previous work of our group on the automatic generation of subject-specific and anatomically adopted knee geometry meshes [78] that allow one to personalize the KCF computations, if imaging information is available. Additionally, the reported forces in the anteroposterial and mediolateral directions must be cautiously considered, since no mathematical formulation is incorporated in the knee model that allows the sharing of the prescribed loads between the two knee contact points in the respective planes of motion. Hence, infinite couples of individual values could sum up correctly to the net reaction forces. A systematic analysis of the synergetic nature of the joint is a challenging direction for future work, as an extension of similar work for muscle synergies found in [79]. Moreover, ANN prediction accuracy relies heavily on the network topology. As a costly brute-force search allowed us to examine only a few parameter values, detailed fine-tuning in search of the optimal settings may have resulted in better results. Nonetheless, high correlation coefficients and low NRMSE support the validity of the selected parameters. Last, the choice of joint angles as inputs (versus marker trajectories) was made upon the rationale that KCF prediction should be independent of motion tracking system, so that the trained ML models could be used in various settings. However, this introduces the need to calculate the joint angles (via inverse kinematics) prior to KCF estimation. Although this is an easy and computationally fast processing step, the introduced biomechanical modelling procedure might insert more variability than the variability introduced by the differences in markers’ placement. Therefore, we cannot be sure if the original input data (marker coordinates) can lead to improved prediction power of the used ML models. A follow-up study may address this issue.
Our study showed that integration of advanced musculoskeletal modeling techniques and artificial intelligence algorithms proved to be successful in predicting knee joint loading profiles during gait stance phase for different walking speeds. The selected ML model was able to predict multi-component KCFs instantaneously relying solely on motion-specific joint angles, also outlining the redundancy of GRF data. In addition, prediction of medial and lateral KCF components was in good agreement with calculated data, especially in the case of clinically relevant medial vertical KCF, highlighting the potential of machine learning approaches in contrast with standard musculoskeletal modeling techniques.
Predictive power was compromised in the case of lateral KCFs and especially for the LeaveSubjectOut scenario, indicating that inclusion of subject-specific motion data in the training set seems imperative to achieve the highest prediction accuracy within the current methodology. This imposes a hindrance in the analysis since it requires the acquisition of new data and model re-calibration every time a new subject is going to be assessed. Thus, future work should address the need for more sophisticated machine learning models and architectures to approximate more abstract kinematic to kinetic variables’ relationship and attain acceptable prediction rates of important variables for previously unseen subjects.
Finally, our method can be extended to real-time prediction of other motions and loading variables solely based on joint angles, such as hip/ankle joint, ligament or muscle forces, once provided with the appropriate dataset and musculoskeletal modeling workflow. Thus, well-informed decision making will be facilitated for clinical settings with limited equipment, enabling medical professionals to explore real-world motion dynamics for the design of targeted training protocols, or subject-specific rehabilitation programs. For example, the current methodology can be implemented in a framework that can train a professional athlete to perform landings in a joint-protective fashion to avoid injury while exercising in an athletic environment or seamlessly guide osteoarthritic patients to offload joint structures and address local cartilage degeneration during outdoor activities.

6. Conclusions

This paper presents the use of machine learning techniques to obtain surrogate models of biophysics-driven simulations for real-time biomechanical computations. Such ML-empowered models can be used whenever the original computational modelling approaches are too slow or resource demanding. Their application can be combined with finite element analyses or augmented reality technologies to explore force-driven, local bone deformation levels or facilitate balance and mobility rehabilitation and support treatment strategies for gait alteration for pathological populations. Integration of such trained models in digital tools will augment clinical practice and evidence-based decision making. Seamless streaming of important scientific information via advanced visualization interfaces or game-like platforms in real world settings, will enhance user experience and engage involved parties, however, meticulous collection and processing of input data from portable devices for offline or real-time analysis remains a challenge. Our results indicate the high potential of the ANN model even for recordings of new subjects, while the SVR model requires the incorporation of previous trials of the test subject for stable performance. In the future, we plan to investigate also other machine learning techniques, such as convolutional neural networks with sparse coding for acceleration [80], and graph neural networks [81].

Author Contributions

Conceptualization, G.G. and E.I.Z.; methodology, G.G. and E.I.Z.; validation, G.G.; formal analysis, G.G. and E.I.Z.; investigation, G.G.; resources, K.M.; data curation, G.G.; writing—original draft preparation, G.G. and E.I.Z.; writing—review and editing, G.G., E.I.Z. and K.M.; visualization, G.G.; supervision, K.M.; funding acquisition, K.M. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the EC Horizon 2020 project OACTIVE Grant Agreement No.777159. The dataset analyzed in the current study was acquired through funding by the Fund of Scientific Research to S. Verschueren (FWO-Vlaanderen—G0526512).

Acknowledgments

We thank all the participants of this study for their outstanding cooperation and their permission to utilize the data for research purposes. We particularly would like to thank Sabine Verschueren and Ilse Jonkers from KUL for providing the motion capture system and offering their permission to use the motion data.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Dreinhöfer, K.E.; Reichel, H.; Käfer, W. Lower limb pain. Best Pract. Res. Clin. Rheumatol. 2007, 21, 135–152. [Google Scholar] [CrossRef] [PubMed]
  2. Nascimento, C.; Ingles, M.; Salvador-Pascual, A.; Cominetti, M.; Gomez-Cabrera, M.; Viña, J. Sarcopenia, frailty and their prevention by exercise. Free. Radic. Biol. Med. 2019, 132, 42–49. [Google Scholar] [CrossRef] [PubMed]
  3. Winter, D.A. Biomechanics of normal and pathological gait: Implications for understanding human locomotor control. J. Mot. Behav. 1989, 21, 337–355. [Google Scholar] [CrossRef] [PubMed]
  4. Quadri, P.; Tettamanti, M.; Bernasconi, S.; Trento, F.; Loew, F. Lower limb function as predictor of falls and loss of mobility with social repercussions one year after discharge among elderly inpatients. Aging Clin. Exp. Res. 2005, 17, 82–89. [Google Scholar] [CrossRef]
  5. Neville, C.; Nguyen, H.; Ross, K.; Wingood, M.; Peterson, E.W.; DeWitt, J.E.; Moore, J.; King, M.J.; Atanelov, L.; White, J.; et al. Lower-Limb Factors Associated with Balance and Falls in Older Adults: A Systematic Review and Clinical Synthesis. J. Am. Podiatr. Med. Assoc. 2019, 110. [Google Scholar] [CrossRef]
  6. Steinman, B.A.; Pynoos, J.; Nguyen, A.Q.D. Fall risk in older adults: Roles of self-rated vision, home modifications, and limb function. J. Aging Health 2009, 21, 655–676. [Google Scholar] [CrossRef]
  7. Gregg, E.W.; Pereira, M.A.; Caspersen, C.J. Physical Activity, Falls, and Fractures Among Older Adults: A Review of the Epidemiologic Evidence. J. Am. Geriatr. Soc. 2000, 48, 883–893. [Google Scholar] [CrossRef]
  8. Hunter, D.J.; Schofield, D.J.; Callander, E.J. The individual and socioeconomic impact of osteoarthritis. Nat. Rev. Rheumatol. 2014, 10, 437–441. [Google Scholar] [CrossRef]
  9. Pisani, P.; Renna, M.D.; Conversano, F.; Casciaro, E.; Di Paola, M.; Quarta, E.; Muratore, M.; Casciaro, S. Major osteoporotic fragility fractures: Risk factor updates and societal impact. World J. Orthop. 2016, 7, 171–181. [Google Scholar] [CrossRef]
  10. Pedersen, B.K. The Physiology of Optimizing Health with a Focus on Exercise as Medicine. Annu. Rev. Physiol. 2019, 81, 607–627. [Google Scholar] [CrossRef]
  11. Lavie, C.J.; Arena, R.; Swift, D.L.; Johannsen, N.M.; Sui, X.; Lee, D.C.; Earnest, C.P.; Church, T.S.; O’Keefe, J.H.; Milani, R.V.; et al. Exercise and the cardiovascular system: Clinical science and cardiovascular outcomes. Circ. Res. 2015, 117, 207–219. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  12. Berger, B.G.; McInman, A. Exercise and the quality of life. Handb. Res. Sport Psychol. 1993, 729–760. [Google Scholar]
  13. Sañudo, B.; de Hoyo, M.; del Pozo-Cruz, J.; Carrasco, L.; del Pozo-Cruz, B.; Tejero, S.; Firth, E. A systematic review of the exercise effect on bone health: The importance of assessing mechanical loading in perimenopausal and postmenopausal women. Menopause 2017, 24, 1208–1216. [Google Scholar] [CrossRef] [PubMed]
  14. Kersh, M.E.; Martelli, S.; Zebaze, R.; Seeman, E.; Pandy, M.G. Mechanical loading of the femoral neck in human locomotion. J. Bone Minber Res. 2018, 33, 1999–2006. [Google Scholar] [CrossRef] [Green Version]
  15. Carina, V.; Della Bella, E.; Costa, V.; Bellavia, D.; Veronesi, F.; Cepollaro, S.; Fini, M.; Giavaresi, G. Bone’s Response to Mechanical Loading in Aging and Osteoporosis: Molecular Mechanisms. Calcif. Tissue Int. 2020, 107, 301–318. [Google Scholar] [CrossRef]
  16. Musumeci, G. The Effect of Mechanical Loading on Articular Cartilage. J. Funct. Morphol. Kinesiol. 2016, 1, 154–161. [Google Scholar] [CrossRef] [Green Version]
  17. Kinney, A.L.; Besier, T.F.; Silder, A.; Delp, S.L.; D’Lima, D.D.; Fregly, B.J. Changes in in vivo knee contact forces through gait modification. J. Orthop. Res. 2013, 31, 434–440. [Google Scholar] [CrossRef] [Green Version]
  18. Simic, M.; Hinman, R.S.; Wrigley, T.V.; Bennell, K.L.; Hunt, M.A. Gait modification strategies for altering medial knee joint load: A systematic review. Arthritis Rheum. 2010, 63, 405–426. [Google Scholar] [CrossRef]
  19. Trepczynski, A.; Kutzner, I.; Kornaropoulos, E.; Taylor, W.R.; Duda, G.N.; Bergmann, G.; Heller, M.O. Patellofemoral joint contact forces during activities with high knee flexion. J. Orthop. Res. 2011, 30, 408–415. [Google Scholar] [CrossRef]
  20. Giarmatzis, G.; Jonkers, I.; Baggen, R.R.; Verschueren, S. Less hip joint loading only during running rather than walking in elderly compared to young adults. Gait Posture 2017, 53, 155–161. [Google Scholar] [CrossRef]
  21. Clouthier, A.L.; Smith, C.R.; Vignos, M.F.; Thelen, D.G.; Deluzio, K.J.; Rainbow, M.J. The effect of articular geometry features identified using statistical shape modelling on knee biomechanics. Med. Eng. Phys. 2019, 66, 47–55. [Google Scholar] [CrossRef] [PubMed]
  22. Lenaerts, G.; De Groote, F.; Demeulenaere, B.; Mulier, M.; Van Der Perre, G.; Spaepen, A.; Jonkers, I. Subject-specific hip geometry affects predicted hip joint contact forces during gait. J. Biomech. 2008, 41, 1243–1252. [Google Scholar] [CrossRef]
  23. Halonen, K.S.; Dzialo, C.M.; Mannisi, M.; Venäläinen, M.S.; De Zee, M.; Andersen, M.S. Workflow assessing the effect of gait alterations on stresses in the medial tibial cartilage-combined musculoskeletal modelling and finite element analysis. Sci. Rep. 2017, 7, 1–14. [Google Scholar] [CrossRef] [PubMed]
  24. Adouni, M.; Shirazi-Adl, A.; Shirazi, R. Computational biodynamics of human knee joint in gait: From muscle forces to cartilage stresses. J. Biomech. 2012, 45, 2149–2156. [Google Scholar] [CrossRef]
  25. Arokoski, J.P.A.; Jurvelin, J.S.; Väätäinen, U.; Helminen, H.J. Normal and pathological adaptations of articular cartilage to joint loading. Scand. J. Med. Sci. Sports 2000, 10, 186–198. [Google Scholar] [CrossRef] [PubMed]
  26. Andriacchi, T.P.; Mündermann, A. The role of ambulatory mechanics in the initiation and progression of knee osteoarthritis. Curr. Opin. Rheumatol. 2006, 18, 514–518. [Google Scholar] [CrossRef] [PubMed]
  27. Wu, J.; Herzog, W.; Epstein, M. Joint contact mechanics in the early stages of osteoarthritis. Med. Eng. Phys. 2000, 22, 1–12. [Google Scholar] [CrossRef]
  28. D’Lima, D.D.; Fregly, B.J.; Patil, S.; Steklov, N.; Colwell, J.C.W. Knee joint forces: Prediction, measurement, and significance. Proc. Inst. Mech. Eng. Part H J. Eng. Med. 2012, 226, 95–102. [Google Scholar] [CrossRef] [Green Version]
  29. Fregly, B.J. Gait Modification to Treat Knee Osteoarthritis. HSS J. 2012, 8, 45–48. [Google Scholar] [CrossRef] [Green Version]
  30. Zingde, S.M.; Slamin, J. Biomechanics of the knee joint, as they relate to arthroplasty. Orthop. Trauma 2017, 31, 1–7. [Google Scholar] [CrossRef]
  31. Andriacchi, T.P.; Hurwitz, D.E. Gait biomechanics and the evolution of total joint replacement. Gait Posture 1997, 5, 256–264. [Google Scholar] [CrossRef]
  32. Felson, D.T.; Nevitt, M.C.; Zhang, Y.; Aliabadi, P.; Baumer, B.; Gale, D.; Li, W.; Yu, W.; Xu, L. High prevalence of lateral knee osteoarthritis in Beijing Chinese compared with Framingham Caucasian subjects. Arthritis Rheum. 2002, 46, 1217–1222. [Google Scholar] [CrossRef] [PubMed]
  33. Eddo, O.; Lindsey, B.; Caswell, S.V.; Cortes, N. Current Evidence of Gait Modification with Real-time Biofeedback to Alter Kinetic, Temporospatial, and Function-Related Outcomes: A Review. Int. J. Kinesiol. Sports Sci. 2017, 5, 35. [Google Scholar] [CrossRef] [Green Version]
  34. Noort, J.C.V.D.; Steenbrink, F.; Roeles, S.; Harlaar, J. Real-time visual feedback for gait retraining: Toward application in knee osteoarthritis. Med. Biol. Eng. Comput. 2015, 53, 275–286. [Google Scholar] [CrossRef] [PubMed]
  35. Hilding, M.B.; Lanshammar, H.; Ryd, L. Knee joint loading and tibial component loosening. RSA and gait analysis in 45 osteoarthritic patients before and after TKA. J. Bone Jt. Surg. Ser. B 1996, 78, 66–73. [Google Scholar] [CrossRef] [Green Version]
  36. Komistek, R.D.; Kane, T.R.; Mahfouz, M.; Ochoa, J.A.; Dennis, D.A. Knee mechanics: A review of past and present techniques to determine in vivo loads. J. Biomech. 2005, 38, 215–228. [Google Scholar] [CrossRef] [PubMed]
  37. Al Nazer, R.; Lanovaz, J.; Kawalilak, C.; Johnston, J.; Kontulainen, S. Direct in vivo strain measurements in human bone—A systematic literature review. J. Biomech. 2012, 45, 27–40. [Google Scholar] [CrossRef]
  38. Papagiannaki, A.; Zacharaki, E.I.; Kalouris, G.; Kalogiannis, S.; Deltouzos, K.; Ellul, J.; Megalooikonomou, V. Recognizing Physical Activity of Older People from Wearable Sensors and Inconsistent Data. Sensors 2019, 19, 880. [Google Scholar] [CrossRef] [Green Version]
  39. Pellicer-Valero, O.J.; Rupérez, M.J.; Martínez-Sanchis, S.; Martín-Guerrero, J.D. Real-time biomechanical modeling of the liver using Machine Learning models trained on Finite Element Method simulations. Expert Syst. Appl. 2020, 143, 113083. [Google Scholar] [CrossRef]
  40. Mundt, M.; Thomsen, W.; Witter, T.; Koeppe, A.; David, S.; Bamer, F.; Potthast, W.; Markert, B. Prediction of lower limb joint angles and moments during gait using artificial neural networks. Med. Biol. Eng. Comput. 2020, 58, 211–225. [Google Scholar] [CrossRef]
  41. Ardestani, M.M.; Zhang, X.; Wang, L.; Lian, Q.; Liu, Y.; He, J.; Li, D.; Jin, Z. Human lower extremity joint moment prediction: A wavelet neural network approach. Expert Syst. Appl. 2014, 41, 4422–4433. [Google Scholar] [CrossRef]
  42. Favre, J.; Hayoz, M.; Erhart-Hledik, J.C.; Andriacchi, T.P. A neural network model to predict knee adduction moment during walking based on ground reaction force and anthropometric measurements. J. Biomech. 2012, 45, 692–698. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  43. Ren, L.; Jones, R.K.; Howard, D. Whole body inverse dynamics over a complete gait cycle based only on measured kinematics. J. Biomech. 2008, 41, 2750–2759. [Google Scholar] [CrossRef]
  44. Lim, H.; Kim, B.; Park, S. Prediction of Lower Limb Kinetics and Kinematics during Walking by a Single IMU on the Lower Back Using Machine Learning. Sensors 2020, 20, 130. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  45. Sim, T.; Kwon, H.; Oh, S.E.; Joo, S.-B.; Choi, A.; Heo, H.M.; Kim, K.; Mun, J.H. Predicting Complete Ground Reaction Forces and Moments During Gait With Insole Plantar Pressure Information Using a Wavelet Neural Network. J. Biomech. Eng. 2015, 137, 091001. [Google Scholar] [CrossRef]
  46. De Brabandere, A.; Emmerzaal, J.; Timmermans, A.; Jonkers, I.; Vanwanseele, B.; Davis, J. A Machine Learning Approach to Estimate Hip and Knee Joint Loading Using a Mobile Phone-Embedded IMU. Front. Bioeng. Biotechnol. 2020, 8, 320. [Google Scholar] [CrossRef] [Green Version]
  47. Rane, L.; Ding, Z.; McGregor, A.H.; Bull, A.M.J. Deep Learning for Musculoskeletal Force Prediction. Ann. Biomed. Eng. 2019, 47, 778–789. [Google Scholar] [CrossRef] [Green Version]
  48. Ardestani, M.M.; Chen, Z.; Wang, L.; Lian, Q.; Liu, Y.; He, J.; Li, D.; Jin, Z. Feed forward artificial neural network to predict contact force at medial knee joint: Application to gait modification. Neurocomputing 2014, 139, 114–129. [Google Scholar] [CrossRef]
  49. Cleather, D.J. Neural network based approximation of muscle and joint contact forces during jumping and landing. J. Hum. Perform. Health 2019, 1, 1–13. [Google Scholar]
  50. Ardestani, M.M.; Moazen, M.; Chen, Z.; Zhang, J.; Jin, Z. A real-time topography of maximum contact pressure distribution at medial tibiofemoral knee implant during gait: Application to knee rehabilitation. Neurocomputing 2015, 154, 174–188. [Google Scholar] [CrossRef]
  51. Lu, Y.; Pulasani, P.R.; Derakhshani, R.; Guess, T.M. Application of neural networks for the prediction of cartilage stress in a musculoskeletal system. Biomed. Signal Process. Control 2013, 8, 475–482. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  52. Hambli, R. Application of Neural Networks and Finite Element Computation for Multiscale Simulation of Bone Remodeling. J. Biomech. Eng. 2010, 132, 114502. [Google Scholar] [CrossRef] [PubMed]
  53. Li, S.S.; Chu, C.C.; Chow, D.H. EMG-based lumbosacral joint compression force prediction using a support vector machine. Med. Eng. Phys. 2019, 74, 115–120. [Google Scholar] [CrossRef] [PubMed]
  54. Dey, S.; Yoshida, T.; Ernst, M.; Schmalz, T.; Schilling, A.F. A support vector regression approach for continuous prediction of joint angles and moments during walking: An implication for controlling active knee-ankle prostheses/orthoses. In Proceedings of the 2019 IEEE International Conference on Cyborg and Bionic Systems (CBS), Munich, Germany, 18–20 September 2019; pp. 66–71. [Google Scholar]
  55. Ahuja, S.; Jirattigalachote, W.; Tosborvorn, A. Improving Accuracy of Inertial Measurement Units using Support Vector Regression. Cs229.Stanford.Edu. 2011. Available online: http://www.wisitmax.com/img/researchexp/stanford/wearablegait/cs229poster.pdf (accessed on 3 December 2020).
  56. Smola, A.J.; Schölkopf, B. A tutorial on support vector regression. Stat. Comput. 2004, 14, 199–222. [Google Scholar] [CrossRef] [Green Version]
  57. Halilaj, E.; Rajagopal, A.; Fiterau, M.; Hicks, J.L.; Hastie, T.J.; Delp, S.L. Machine learning in human movement biomechanics: Best practices, common pitfalls, and new opportunities. J. Biomech. 2018, 81, 1–11. [Google Scholar] [CrossRef]
  58. Lerner, Z.F.; Demers, M.S.; Delp, S.L.; Browning, R.C. How tibiofemoral alignment and contact locations affect predictions of medial and lateral tibiofemoral contact forces. J. Biomech. 2015, 48, 644–650. [Google Scholar] [CrossRef] [Green Version]
  59. Haykin, S. Neural Networks and Learning Machines, 3rd ed.; Pearson Education India: Delhi, India, 2010; Available online: http://repository.fue.edu.eg/xmlui/bitstream/handle/123456789/3421/5618.pdf?sequence=1 (accessed on 3 December 2020).
  60. Drucker, H.; Burges, C.J.C.; Kaufman, L.; Smola, A.J.; Vapnik, V. Support vector regression machines. In Advances in Neural Information Processing Systems; The MIT Press: Cambridge, MA, USA, 1997; pp. 155–161. [Google Scholar]
  61. Preece, S.J.; Goulermas, J.Y.; Kenney, L.P.J.; Howard, D.; Meijer, K.; Crompton, R. Activity identification using body-mounted sensors—A review of classification techniques. Physiol. Meas. 2009, 30, R1–R33. [Google Scholar] [CrossRef]
  62. Evrigkas, M.; Nikou, C.; Kakadiaris, I.A. A Review of Human Activity Recognition Methods. Front. Robot. AI 2015, 2, 28. [Google Scholar]
  63. Kingma, D.P.; Ba, J.L. Adam: A method for stochastic optimization. In Proceedings of the 3rd International Conference on Learning Representations, San Diego, CA, USA, 7–9 May 2015; pp. 1–15. [Google Scholar]
  64. Vapnik, V. The Nature of Statistical Learning Theory; Springer Science & Business Media: New York, NY, USA, 2013. [Google Scholar]
  65. Stetter, B.J.; Ringhof, S.; Krafft, F.C.; Sell, S.; Stein, T. Estimation of Knee Joint Forces in Sport Movements Using Wearable Sensors and Machine Learning. Sensors 2019, 19, 3690. [Google Scholar] [CrossRef] [Green Version]
  66. Zhu, Y.; Xu, W.; Luo, G.; Wang, H.; Yang, J.; Lu, W. Random Forest enhancement using improved Artificial Fish Swarm for the medial knee contact force prediction. Artif. Intell. Med. 2020, 103, 101811. [Google Scholar] [CrossRef]
  67. Kristianslund, E.; Krosshaug, T.; Bogert, A.J.V.D. Effect of low pass filtering on joint moments from inverse dynamics: Implications for injury prevention. J. Biomech. 2012, 45, 666–671. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  68. Mattos, C.L.C.; Dai, Z.; Damianou, A.; Barreto, G.A.; Lawrence, N.D. Deep recurrent Gaussian processes for outlier-robust system identification. J. Process. Control 2017, 60, 82–94. [Google Scholar] [CrossRef]
  69. Horst, F.; Lapuschkin, S.; Samek, W.; Müller, K.-R.; Schöllhorn, W.I. Explaining the unique nature of individual gait patterns with deep learning. Sci. Rep. 2019, 9, 1–13. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  70. Breiman, L.; Friedman, J.H. Predicting Multivariate Responses in Multiple Linear Regression. J. R. Stat. Soc. Ser. B Stat. Methodol. 1997, 59, 3–54. [Google Scholar] [CrossRef]
  71. Fregly, B.J.; Besier, T.F.; Lloyd, D.G.; Delp, S.L.; Banks, S.A.; Pandy, M.G.; D’Lima, D.D. Grand challenge competition to predict in vivo knee loads. J. Orthop. Res. 2012, 30, 503–513. [Google Scholar] [CrossRef] [Green Version]
  72. Zhao, D.; Banks, S.A.; Mitchell, K.H.; D’lima, D.D.; Colwell, C.W.; Fregly, B.J. Correlation between the knee adduction torque and medial contact force for a variety of gait patterns. J. Orthop. Res. 2007, 25, 789–797. [Google Scholar] [CrossRef]
  73. Kutzner, I.; Küther, S.; Heinlein, B.; Dymke, J.; Bender, A.; Halder, A.M.; Bergmann, G. The effect of valgus braces on medial compartment load of the knee joint–in vivo load measurements in three subjects. J. Biomech. 2011, 44, 1354–1360. [Google Scholar] [CrossRef]
  74. Winby, C.; Lloyd, D.; Besier, T.; Kirk, T. Muscle and external load contribution to knee joint contact loads during normal gait. J. Biomech. 2009, 42, 2294–2300. [Google Scholar] [CrossRef]
  75. Kumar, D.; Manal, K.; Rudolph, K.S. Knee joint loading during gait in healthy controls and individuals with knee osteoarthritis. Osteoarthr. Cartil. 2013, 21, 298–305. [Google Scholar] [CrossRef] [Green Version]
  76. Giarmatzis, G.; Jonkers, I.; Wesseling, M.; Van Rossom, S.; Verschueren, S. Loading of Hip Measured by Hip Contact Forces at Different Speeds of Walking and Running. J. Bone Miner. Res. 2015, 30, 1431–1440. [Google Scholar] [CrossRef]
  77. Matijevich, E.S.; Branscombe, L.M.; Scott, L.R.; Zelik, K.E. Ground reaction force metrics are not strongly correlated with tibial bone load when running across speeds and slopes: Implications for science, sport and wearable tech. PLoS ONE 2019, 14, e0210000. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  78. Nikolopoulos, F.P.; Zacharaki, E.I.; Moustakas, K.; Moustakas, K. Personalized Knee Geometry Modeling Based on Multi-Atlas Segmentation and Mesh Refinement. IEEE Access 2020, 8, 56766–56781. [Google Scholar] [CrossRef]
  79. Stanev, D.; Moustakas, K. Modeling musculoskeletal kinematic and dynamic redundancy using null space projection. PLoS ONE 2019, 14, e0209171. [Google Scholar]
  80. Ntalianis, V.; Fakotakis, N.D.; Nousias, S.; Lalos, A.S.; Birbas, M.; Zacharaki, E.; Moustakas, K. Deep CNN Sparse Coding for Real Time Inhaler Sounds Classification. Sensors 2020, 20, 2363. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  81. Shi, L.; Zhang, Y.; Cheng, J.; Lu, H. Skeleton-based action recognition with directed graph neural networks. In Proceedings of the 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA, 15–20 June 2019; pp. 7904–7913. [Google Scholar]
Figure 1. Marker set used for motion capture and joint angle/external force definition.
Figure 1. Marker set used for motion capture and joint angle/external force definition.
Sensors 20 06933 g001
Figure 2. Our methodology for creation of the training set and development of the regression models.
Figure 2. Our methodology for creation of the training set and development of the regression models.
Sensors 20 06933 g002
Figure 3. Ensemble curves of the 6 components of medial and lateral KCFs along the stance phase.
Figure 3. Ensemble curves of the 6 components of medial and lateral KCFs along the stance phase.
Sensors 20 06933 g003aSensors 20 06933 g003b
Figure 4. Ensemble curves along the duration of the stance phase for the 5 different components of knee joint forces computed by inverse dynamics (in blue) and predicted by ANN and SVR based on LeaveTrialsOut and LeaveSubjectsOut training scenarios. The graphs illustrate the distribution of time normalized testing trials of one (out of three) fold summarized by the mean curve (solid line) and range of variation (5–95% percentile of the distribution).
Figure 4. Ensemble curves along the duration of the stance phase for the 5 different components of knee joint forces computed by inverse dynamics (in blue) and predicted by ANN and SVR based on LeaveTrialsOut and LeaveSubjectsOut training scenarios. The graphs illustrate the distribution of time normalized testing trials of one (out of three) fold summarized by the mean curve (solid line) and range of variation (5–95% percentile of the distribution).
Sensors 20 06933 g004
Figure 5. Line charts for the R values related to the predictions of the different models on test data with different levels of data contamination by outliers.
Figure 5. Line charts for the R values related to the predictions of the different models on test data with different levels of data contamination by outliers.
Sensors 20 06933 g005
Table 1. Participant characteristics.
Table 1. Participant characteristics.
No. SubjectsMean Age (SD) (Years)Body Mass Index (kg/m2)Percent Female
Young
40
Elderly
14
Young
22 (1.66)
Elderly
69.6 (3.5)
Young
22.8 (2.8)
Elderly
24.4 (2.3)
Young
60%
Elderly
100%
Total = 54
Table 2. Input and target tensors characteristics.
Table 2. Input and target tensors characteristics.
Anatomical LocationAbbreviationComponentUnits
torso (lumbrosacral joint)lumbarextension
bending
rotation
degrees
pelvispelvistilt
list
rotation
hip jointhipflexion
adduction
rotation
knee jointkneeflexion
patella knee anglepatellaflexion
ankle jointankleflexion
subtalar jointsubtalareversion
Force Description
ground reaction forceGRFanteroposterior (x)
distal proximal (y)
mediolateral (z)
body weight (BW)
medial knee contact forceKCF (med)anteroposterior (x)
distal proximal (y)
mediolateral (z)
lateral knee contact forceKCF (lat)anteroposterior (x)
distal proximal (y)
mediolateral (z)
Table 3. Mean peak vertical medial and lateral knee contact forces (standard deviation) during different gait speeds.
Table 3. Mean peak vertical medial and lateral knee contact forces (standard deviation) during different gait speeds.
Medial ForceLateral Force
1st Peak2nd Peak1st Peak2nd Peak
3 km/h2.18 (0.58)2.50 (0.75)0.71(0.34)0.70 (0.39)
4 km/h2.22 (0.58)2.76 (0.82)0.92 (0.45) 0.81 (0.49)
5 km/h2.48 (0.63)3.06 (0.86)1.15 (0.49)1.02 (0.49)
6 km/h2.82 (0.71)3.25 (0.96)1.44 (0.63)1.36 (0.79)
7 km/h3.30 (0.65)3.22 (1.05)1.84 (0.68)1.73 (0.77)
Table 4. N R M S E   ( % ) for medial (med) and lateral (lat) KCF components in x, y and z.
Table 4. N R M S E   ( % ) for medial (med) and lateral (lat) KCF components in x, y and z.
med_xmed_ymed_zlat_ylat_z
LeaveTrialsOut
GRFnoGRFGRFnoGRFGRFnoGRFGRFnoGRFGRFnoGRF
SVR1.041.362.683.922.032.652.803.442.793.44
ANN0.670.91.712.351.451.821.612.041.612.04
LeaveSubjectsOut
GRFnoGRFGRFnoGRFGRFnoGRFGRFnoGRFGRFnoGRF
SVR1.531.734.635.853.423.804.414.664.414.65
ANN1.601.814.545.393.493.854.194.594.194.59
Table 5. R for medial (med) and lateral (lat) KCF components in x, y and z direction.
Table 5. R for medial (med) and lateral (lat) KCF components in x, y and z direction.
med_xmed_ymed_zlat_ylat_z
LeaveTrialsOut
GRFnoGRFGRFnoGRFGRFnoGRFGRFnoGRFGRFnoGRF
SVR0.850.730.940.880.940.890.830.730.830.73
ANN0.940.890.980.960.970.950.950.910.950.91
LeaveSubjectsOut
GRFnoGRFGRFnoGRFGRFnoGRFGRFnoGRFGRFnoGRF
SVR0.640.500.830.730.820.770.520.440.520.44
ANN0.630.480.850.760.830.760.580.450.580.45
Table 6. Review of machine learning (ML)-based KCF prediction methodologies.
Table 6. Review of machine learning (ML)-based KCF prediction methodologies.
SubjectsTest TrialsClassifier InputsY 2Mean Pearson’s R
(NRMSE%) 3
LeaveTrialsOut LeaveSubjectsOut
Ardestani et al. (2014) [48]4 (knee replacement patients)75ANN-GRFs
-marker 3D coordinates
-EMG
in vivo0.96
(10.5)
0.94
(13.3)
Rane et al. (2019) [47]healthy and knee OA patients58
63
28
CNN-CoP 1
-GRFs
-marker 3D coordinates
ID0.900.90
0.87
Stetter et al. (2019) [65]13 healthy athletes (young)198ANN-2 IMUsID-0.87
Zhu et al. (2019) [66]3 (knee replacement patients)135Random Forest-GRFs
-marker 3D coordinates
-EMG
in vivo0.97-
Proposed method54 healthy (young and elderly)4784ANN-GRFs
-Joint angles
ID0.98
(1.71)
0.85
(4.54)
1 CoP: center of pressure. 2 Y: ML model trained on inverse dynamic (ID) modelling or instrumented knee prosthesis (in vivo) data. 3 For fair comparison, the accuracy is reported only for the common (across studies) target variable, i.e., vertical KCF.
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Giarmatzis, G.; Zacharaki, E.I.; Moustakas, K. Real-Time Prediction of Joint Forces by Motion Capture and Machine Learning. Sensors 2020, 20, 6933. https://doi.org/10.3390/s20236933

AMA Style

Giarmatzis G, Zacharaki EI, Moustakas K. Real-Time Prediction of Joint Forces by Motion Capture and Machine Learning. Sensors. 2020; 20(23):6933. https://doi.org/10.3390/s20236933

Chicago/Turabian Style

Giarmatzis, Georgios, Evangelia I. Zacharaki, and Konstantinos Moustakas. 2020. "Real-Time Prediction of Joint Forces by Motion Capture and Machine Learning" Sensors 20, no. 23: 6933. https://doi.org/10.3390/s20236933

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop