🤖 AI Summary
This study addresses the high computational cost of traditional musculoskeletal simulation–based estimation of hip muscle forces and joint moments, which hinders real-time clinical application. The authors establish a unified deep learning benchmark that directly predicts OpenSim-derived hip muscle forces and joint moments from ten bilateral lower-limb joint angles. They systematically evaluate the performance of LSTM, Transformer, and Mamba architectures across multiple sampling frequencies and, for the first time, validate zero-shot cross-population generalization using subject-level data splits and standardized preprocessing. Results demonstrate that the Transformer achieves the best performance in healthy individuals (muscle force R² = 0.819, joint moment R² = 0.862) and exhibits effective generalization to patients with osteonecrosis of the femoral head (muscle force R² = 0.537, joint moment R² = 0.569).
📝 Abstract
Estimating hip muscle forces and joint moments during gait typically relies on musculoskeletal simulation, which is informative but time-consuming and difficult to apply in clinical settings. This study developed a deep learning framework to predict these hip dynamics parameters directly from lower-limb gait kinematics and compared three representative sequence models under a unified protocol. Gait data were collected from 60 healthy adults under three metronome-guided cadence conditions. Ten bilateral lower-limb joint angles were used as inputs, and OpenSim-derived hip muscle forces and hip joint moments were used as reference outputs. Three deep learning models of LSTM, Transformer, and Mamba were trained and evaluated using the same subject-level split, preprocessing pipeline, and metrics. The best model was then directly tested on an external cohort of 9 patients with osteonecrosis of the femoral head (ONFH) without retraining. In the healthy-subject benchmark, Transformer achieved the best subject-level mean performance for both hip muscle force prediction (RMSE = 1.33 N/kg, MAE = 0.57 N/kg, R2 = 0.819) and hip joint moment prediction (RMSE = 0.11 Nm/kg, MAE = 0.07 Nm/kg, R2 = 0.862), with similar advantages across walking cadences. In zero-shot external validation, Transformer retained moderate predictive ability in ONFH for hip muscle force prediction (RMSE = 1.51 N/kg, MAE = 0.70 N/kg, R2 = 0.537) and hip joint moment prediction (RMSE = 0.17 Nm/kg, MAE = 0.12 Nm/kg, R2 = 0.569). These findings support the feasibility of estimating hip dynamics from gait kinematics, identify Transformer as a strong baseline, and highlight the need for broader pathological validation and improved generalization before clinical application.