From Simplified Markers to Muscle Function: A Deep Learning Approach for Personalized Cervical Biomechanics Assessment Powered by Massive Musculoskeletal Simulation
Yuanyuan He, Siyu Liu, Miao Li

TL;DR
This paper introduces a deep learning method to estimate cervical muscle forces using personalized simulations, enabling non-invasive and accurate biomechanical assessments for clinical use.
Contribution
A novel data-driven framework combining large-scale musculoskeletal simulations and a neural network for personalized cervical muscle force estimation.
Findings
The FNN model achieved an R2 score exceeding 0.95 for all 72 cervical muscle forces.
The framework accurately identifies motion deficits by comparing real and simulated head trajectories.
The method is validated on both healthy and restricted mobility subjects, showing clinical translatability.
Abstract
Accurate, subject-specific estimation of cervical muscle forces is a critical prerequisite for advancing spinal biomechanics and clinical diagnostics. However, this task remains challenging due to substantial inter-individual anatomical variability and the invasiveness of direct measurement techniques. In this study, we propose a novel data-driven biomechanical framework that addresses these limitations by integrating massive-scale personalized musculoskeletal simulations with an efficient Feedforward Neural Network (FNN) model. We generated an unprecedented dataset comprising one million personalized OpenSim cervical models, systematically varying key anthropometric parameters (neck length, shoulder width, head mass) to robustly capture human morphological diversity. A random subset was selected for inverse dynamics simulations to establish a comprehensive, physics-based training…
Genes, proteins, chemicals, diseases, species, mutations and cell lines named across the full text — each resolved to its canonical identifier and authoritative record.
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7- —National Key R&D Program of China
- —Wuhan Key R&D Project: Research and Application of High-Burst Multimodal Humanoid Robots in Extreme Environments
- —Interdisciplinary Innovative Talents Foundation of Renmin Hospital, Wuhan University
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMuscle activation and electromyography studies · Cervical and Thoracic Myelopathy · Motor Control and Adaptation
1. Introduction
Accurate assessment of cervical spine function necessitates a comprehensive understanding of the forces generated by the neck muscles. Estimating these forces provides crucial insights into cervical biomechanics, facilitates the identification of functional impairments, and informs the development of effective rehabilitation strategies [1,2,3]. However, direct measurement of muscle forces remains challenging due to the complex anatomy of the cervical spine and the limitations inherent in non-invasive measurement techniques [4,5]. These challenges have motivated the development of computational models aimed at more accurately estimating muscle forces.
Several methodologies have been proposed to estimate muscle forces in the cervical spine. Traditional approaches often involve physical models combined with optimization techniques, encompassing both static and dynamic optimization combined with inverse dynamics analysis. Previous studies [6,7] have demonstrated that the integration of inverse dynamics with static optimization yields reasonable approximations of muscle forces and activation patterns. More recently, to improve the adaptability and physiological realism of these models, electromyography (EMG)-driven neuromusculoskeletal models have been introduced. These models integrate neural-driven forward dynamics with static optimization [8,9], enabling personalized calibration of muscle-tendon properties and more accurate estimation of joint torques [10]. Despite their promising advantages, such models often necessitate individualized anatomical data, precise calibration of muscle parameters, and complex fine-tuning of model dynamics. Consequently, they can be resource-intensive in terms of both time and financial costs [11].
To overcome these limitations, recent advancements have introduced data-driven approaches that predict muscle activation and joint forces directly from kinematic data or surface electromyography (sEMG) signals. These methods typically require only a single forward pass through the model, making them particularly suitable for real-time applications. Such data-driven approaches are based on Artificial Intelligence (AI) and its subfields. AI is a broad computer science field focused on developing systems capable of performing tasks that typically require human intelligence. Machine Learning (ML), a principal subfield of AI, enables systems to learn from experience and improve performance without explicit programming, thereby allowing algorithms to identify patterns and generate predictions. Deep Learning (DL), a specialized subset of ML, has gained prominence due to its use of deep neural networks with multiple layers to learn complex data representations, achieving state-of-the-art results in domains such as computer vision and natural language processing. This hierarchical learning capability makes DL particularly well-suited for modeling the intricate relationships between kinematic inputs and muscle forces in biomechanics.
For instance, Rane et al. (2019) [12] employed deep neural networks—a core DL architecture—to map motion space to muscle space, enabling muscle force estimation based exclusively on kinematic data. Burton et al. (2021) [13] utilized various machine learning models—including recurrent neural networks (RNNs), convolutional neural networks (CNNs), both of which are DL architectures, fully connected neural networks, and principal component regression—to estimate joint contact forces and muscle force trends. Despite the advantages of these data-driven approaches, challenges remain in terms of interpretability and generalizability, primarily because these methods often lack explicit physiological or mechanical constraints [14,15]. Moreover, most studies rely on datasets derived from specific populations, thereby limiting the applicability of these models across diverse body types and muscle conditions [16]. This limitation is particularly pronounced in the cervical region, where the complex anatomy and the scarcity of available data impede the development of accurate models for estimating deep muscle forces [17,18].
To address these challenges, we propose a framework that integrates personalized musculoskeletal simulations with deep neural networks. Unlike previous approaches to rely on generic models or limited datasets, our method incorporates subject-specific anatomical parameters—such as neck length, shoulder width, and head mass—to generate millions of individualized models. This anatomically diverse training dataset enables robust, nonlinear mappings from kinematics and individual parameters to the forces of 72 cervical muscles. Importantly, our approach includes a functional assessment module that identifies regions of potential muscle impairment beyond the individual’s accessible range of motion. Validation using concurrent motion capture and electromyography data demonstrates both prediction accuracy and individual adaptability. This approach overcomes prior generalizability limitations by leveraging anatomical diversity, providing a scalable, non-invasive tool for personalized assessment of cervical muscle forces.
The remainder of this paper is organized as follows: Section 2 describes the materials and methods employed for data collection, musculoskeletal modeling, and neural network training. Section 3 presents the performance of our model alongside the results of the validation studies. Section 4 discusses the implications of our findings, study limitations, and comparisons with existing work. Finally, Section 5 concludes the paper and outlines future research directions.
2. Methods
Figure 1 illustrates the overall framework of the proposed method, which integrates large-scale personalized simulation with neural network modeling to estimate neck muscle forces from head motion and individual parameters, as well as to identify potential functional impairments.
2.1. Participants
This study involved six healthy subjects (3 males and 3 females; age 25.0 ± 1.6 years; weight 63.5 ± 8.6 kg). None of these individuals had cervical spine lesions or diseases. Additionally, one patient with restricted cervical spine movement due to cervical spine disease was included. The inclusion criteria for the healthy subjects were: (1) no history of cervical spine injury or disease, (2) absence of current neck pain or functional limitations, and (3) ability to perform standardized cervical spine movement tasks. The inclusion criteria for the patient participant were: (1) clinical diagnosis of cervical spine disease, (2) having a clear restriction in cervical spine range of motion, and (3) willingness to participate in the research protocol. All participants underwent screening to ensure they met the inclusion criteria and had no contraindications for motion capture or electromyography (EMG) recording. All participants had signed the informed consent form before participating.
2.2. Experimental Protocol and Data Collection
Data collection was performed in two stages: Stage 1 supplied standardized kinematic inputs for Module A in Figure 1, whereas Stage 2 was intended for model validation and functional assessment in Module B.
In Stage 1, six participants performed standardized neck movements—including flexion–extension, lateral bending, axial rotation, and combined motions (Figure 2)—encompassing the full physiological range. These movements were recorded using a 12-camera optical motion capture system (NOKOV, Beijing, China) following the Upper Body marker protocol, which involves multiple markers placed on the head and torso. Specifically, three specific markers were positioned on the head: TP (top of the head), LH (left side of the head), and RH (right side of the head), in accordance with the marker placement guidelines of the XINGYING 4.4-CN protocol (see XINGYING 4.4-CN marker placement (https://docs.nokov.com/xingying/XINGYING4.4-CN accessed on 22 November 2025). These data were sampled at 100 Hz. Joint kinematics were subsequently extracted using the OpenSim neck musculoskeletal model, which represents the cervical spine as a chain of joints extending from the occiput (C0) to the thoracic spine (T1), with degrees of freedom in flexion–extension, lateral bending, and axial rotation. Trajectories from all participants were temporally aligned and interpolated via Dynamic Time Warping (DTW), and the averaged joint angles were used as unified kinematic inputs for simulation.
In Stage 2, one healthy subject and one patient with limited cervical mobility performed the same standardized tasks as in Stage 1, followed by additional spontaneous head movements to capture natural motion patterns. For validation, three markers were placed on the head (TP, LH, and RH) to record three-dimensional head trajectories, which directly define the motion envelope central to our framework. This marker configuration ensures consistency with Stage 1 while also capturing the dynamic range of motion during both standardized and spontaneous movements. Although this setup does not capture all possible cervical rotations, it provides a practical and robust representation of the functional head motion range. Importantly, our approach does not aim to recover exact joint angles or absolute muscle strengths, but rather to identify relative activation patterns and regions of motion limitation.
Motion was recorded using the same optical motion capture system at 100 Hz. Simultaneously, surface electromyography (sEMG) signals were acquired from four superficial neck muscles to validate the neural network predictions and evaluate their physiological plausibility. Detailed specifications regarding the EMG acquisition system, electrode placement, and signal processing procedures are provided in Section 2.3.
2.3. EMG Measurement and Processing
Surface EMG signals were simultaneously acquired from four superficial neck muscles: the left and right sternocleidomastoid and the left and right upper trapezius (Figure 2). Data acquisition was performed using a wireless acquisition system (Huoxinwei Technology, Wuxi, China) at a sampling frequency of 1000 Hz, with electrode placement following the SENIAM (Surface Electromyography for the Non-Invasive Assessment of Muscles) guidelines [19]. A reference electrode was positioned on the right acromion process to minimize common-mode noise.
All signals were synchronously processed at a sampling frequency of 1000 Hz. Raw sEMG signals were band-pass filtered (20–450 Hz) using a fourth-order Butterworth filter, full-wave rectified, then low-pass filtered at 10 Hz to obtain the linear envelope [20]. Thereafter, the sEMG data were normalized to each participant’s maximal voluntary contraction (MVC) to enable comparisons across subjects and conditions, while ensuring alignment with the TOH coordinate system for consistent representation.
2.4. Personalized OpenSim Model Generation
This study employs the cervical musculoskeletal model developed by Mortensen et al. [21]. To account for anatomical variability, three critical parameters were individualized: neck length, shoulder width, and head mass.
To account for inter-individual variability, three critical morphological parameters were selected for model personalization: neck length, shoulder width, and head mass. These parameters were chosen due to their direct influence on the mechanical loading and force-generating conditions of the cervical musculature.
(a)Neck length: An increased cervical segment length extends the lever arm between the head’s center of mass and the cervical joints. For a given head weight and posture, a longer lever arm necessitates greater stabilizing muscle force to maintain equilibrium. In addition, neck length influences the effective path and resting length of muscles spanning the cervical spine, which affects their ability to generate force [22].(b)Shoulder width: A wider shoulder base modifies the lateral attachment sites of several neck muscles. This modification changes their moment arms and fiber orientations, consequently impacting both the efficiency and magnitude of force production, particularly during lateral bending and axial rotation [23].(c)Head mass: An increased head mass elevates the gravitational load that cervical muscles must counteract. Consequently, the muscles are required to generate proportionally greater forces to support static posture and to execute dynamic head movements [24].
These three parameters were therefore identified as the most relevant individual factors for accurately capturing subject-specific variations in neck muscle loading within our simulation framework.
Based on the ANSUR II dataset [25], which includes measurements from 4082 males and 1986 females, the mean vector and covariance matrix of selected anatomical parameters were extracted (Table 1). The covariance matrix captures the variances of each parameter as well as their correlations, thereby ensuring that the generated samples preserve realistic anatomical relationships. A multivariate normal distribution was then used to generate samples reflecting natural anatomical variability. One million plausible models were created, each automatically scaled and adjusted for quality parameters using the OpenSim API. The anthropometric parameters are defined in Figure 3. Head mass was estimated as 8% of body weight [26].
These models established a statistically driven ensemble of musculoskeletal representations that comprehensively encompass human anatomical diversity, ensuring that subsequent representative sampling reflects a wide range of anatomical configurations. This diverse model pool is essential for accurate individual assessments and for effectively representing the full spectrum of human variability in musculoskeletal simulations.
2.5. Musculoskeletal Simulation and Muscle Force Estimation
OpenSim 4.4 (https://simtk.org/projects/opensim, accessed on 3 July 2025; official release 27 July 2022) was employed as the primary platform for musculoskeletal modeling and simulation. Utilizing the personalized model library described in Section 2.4, we input the standardized cervical joint trajectories detailed in Section 2.1, which were obtained by averaging time-aligned motion capture data from six healthy subjects. The PointKinematics tool was employed to compute the three-dimensional trajectories of markers in the head coordinate system. These ToH trajectories provided a compact description of overall head motion and were employed to characterize subject-specific ranges of motion.
It is important to note that, although the input joint angles remain consistent, the anatomical parameters of the models vary, leading to changes in muscle length and cervical intervertebral spacing. Consequently, the same joint angle inputs produce different sets of 3D head marker trajectories. These simulations serve as input data for the subsequent neural network, encompassing not only a broad range of achievable head movements but also incorporating individual anatomical variability. This approach ensures that the network learns the nonlinear mapping between kinematics and anatomy, thereby enhancing the model’s generalization capabilities.
To obtain muscle force outputs for each motion frame and to ensure sufficient neural network training samples, 200 models were randomly selected from the personalized musculoskeletal library. This random sampling approach, drawn from the extensive one-million-model library, is essential to mitigate selection bias and to capture a broad spectrum of anatomical variability within the training dataset. The selection of 200 models was a trade-off between computational feasibility and data sufficiency for neural network training. For each model, inverse dynamics (ID) was employed to calculate cervical spine net joint moments based on joint angles, velocities, accelerations, and external loads. The governing rigid-body dynamics of the musculoskeletal system can be expressed as:
where denotes the joint angle vector, and represent the joint velocities and accelerations, is the mass matrix, accounts for Coriolis and centrifugal effects, is the gravitational torque, denotes the muscle moment arm matrix, corresponds to the vector of muscle forces, represents passive joint moments arising from ligaments and connective tissues, and corresponds to the generalized forces induced by external loads.
Static optimization (SO) was then subsequently performed to resolve muscle redundancy by distributing the net joint moments among the 72 cervical muscles. To better capture physiological realism and temporal smoothness, several enhancements were incorporated beyond the classical formulation [27,28]. Specifically, a weighted muscle activation term was introduced to emphasize deep stabilizing muscles (e.g., multifidus and longus colli) relative to larger superficial muscles (e.g., sternocleidomastoid and trapezius). Additionally, a metabolic energy term was incorporated to approximate the human tendency to minimize energy expenditure rather than activation alone, and a force rate penalty was included to improve temporal smoothness and prevent abrupt frame-to-frame fluctuations. The combined optimization problem can be formulated as:
subject to
where denotes the force of the i-th muscle, is its maximum isometric force, is a weighting factor emphasizing deep or superficial muscles, represents the metabolic energy expenditure of the i-th muscle, is the rate of change of muscle force, and are weight coefficients for the energy and force rate penalties, and constrains co-activation or symmetry between muscles. The weighting factors were set to for deep stabilizing muscles and for superficial muscles to prioritize deep stabilizers. The penalty coefficients and were chosen to balance metabolic efficiency and temporal smoothness, while enforced bilateral symmetry. In this study, was selected to be exactly 1.0.
These enhancements improve the physiological fidelity and temporal stability of the predicted muscle forces: weighted activations prevent the underestimation of deep muscles, the energy cost term promotes realistic coordination, the force rate penalty ensures temporal smoothness, and co-activation constraints capture neural control characteristics [29].
This procedure yielded over 8.64 million labeled muscle force samples, which, together with the coordinate positions of the three head markers and individual anatomical parameters, constituted a large-scale dataset for training high-dimensional regression models (the dataset generated in this study is not publicly available but can be shared upon reasonable request from the corresponding author).
2.6. Neural Network Training
2.6.1. Data Preprocessing
To prevent imbalance arising from differences in scale and physical units among the input variables, all variables were standardized using Z-score normalization:
where denotes the original value, and and represent the mean and standard deviation across all samples. This normalization procedure was applied independently to the ToH coordinates.
The input features, together with muscle forces computed from static optimization, formed a supervised learning dataset. This dataset was first randomly partitioned into a combined training and validation set (80%) and an independent testing set (20%). Subsequently, the combined training and validation set was further split, with 80% used for training and the remaining 20% allocated for validation, which was utilized for hyperparameter tuning and early stopping. This data partitioning strategy is also applied in related studies on gait recognition [30], human activity recognition [31], and treatment outcome evaluation [32].
2.6.2. Neural Network Architecture
A Feedforward Neural Network (FNN) was employed to predict cervical muscle forces, as shown in Figure 1. The network architecture was carefully designed to account for the complexity and nonlinearity inherent in biomechanical data, utilizing a standard four-layer sequential structure comprising one input layer, two hidden layers, and one output layer.
The twelve input features consist of two main components. First, the tri-axial coordinates of three optical motion capture markers placed on the top of the head, totaling nine features, which represent the head’s instantaneous posture in three-dimensional space. Second, three anthropometric parameters are included to account for inter-subject variability, thereby improving the model’s generalizability and predictive accuracy. This 12-dimensional input space ( ) provides sufficient information to map observable kinematics onto unobservable muscle forces.
The first hidden layer contains 64 neurons, designed to capture the complex nonlinear relationships among the input features. The second hidden layer, consisting of 32 neurons, further refines and optimizes the high-dimensional feature representations by extracting the most relevant components. To enhance nonlinear modeling capabilities and address the vanishing gradient problem, the Rectified Linear Unit (ReLU) activation function is applied to both hidden layers. The output layer contains a single neuron with a linear activation function, which predicts the muscle force exerted by the corresponding cervical muscle.
To avoid interference arising from biomechanical variability among muscles, an independent modeling approach was employed whereby a distinct network was trained for each of the 72 muscles. Although multi-output networks are possible, the muscle-specific differences in activation, force magnitude, and function favor specialized models. All networks shared the same input structure and predicted frame-wise force for the corresponding muscle.
2.6.3. Evaluation Metrics
Following the completion of neural network training, its performance was evaluated using the following two metrics:
- (a)Coefficient of determination ( ): Quantifies the proportion of variance in the target variable that is explained by the model.
- (b)Normalized Root Mean Square Error (NRMSE): Quantifies the relative deviation between predicted forces and reference values obtained from static optimization. The RMSE is normalized by the range of the reference data, making the metric comparable across muscles.
The calculation is as follows:
where denotes the muscle force predicted by the neural network at time frame t, and represents the corresponding reference value obtained from the OpenSim static optimization (SO). denotes the mean of all , and N is the total number of time frames. Each value corresponds to the force of a single muscle at a specific frame.
2.7. Model Validation: Comparative Analysis Based on sEMG
To evaluate physiological plausibility, the sEMG was employed to compare activation patterns. As sEMG reflects neural drive rather than force—which also depends on length, velocity, and maximal strength—an inverse mapping from predicted force to activation was applied for interpretability. Given the limitations of sEMG, including inter-muscle crosstalk and its restriction to superficial muscles, the validation focused on whether the predicted temporal variations aligned with the general timing and relative modulation of measured the recorded signals, rather than focusing on absolute amplitude values.
For one healthy subject and one patient with cervical dysfunction (Section 2.1), personalized OpenSim models were developed based on captured 3D motion data. Muscle lengths and contraction velocities were estimated via inverse kinematics and muscle analysis. Concurrently, head coordinates and anatomical parameters were input into the trained neural network to predict the time-varying muscle force .
The corresponding muscle activation was subsequently calculated using the Hill-type muscle model:
where denotes the predicted muscle force at time t, represents the muscle’s maximal isometric force, and are normalized force–length and force–velocity multipliers as functions of muscle length l and contraction velocity v, respectively. The resulting activation is a unitless scalar indicating relative muscle excitation.
2.8. Exploratory Mapping of Motion Deficits to Muscle Function
To investigate the relationship between observed motion limitations and underlying muscle function, spatial motion envelopes were generated for each subject using the Alpha Shape algorithm [33] applied to the 3D trajectories of the three head markers (TP, LH, RH) obtained from the simulation database. For each marker, a corresponding local motion envelope was created to represent its range of motion. A maximal envelope was then derived from all motion trials for each subject and compared with the simulation envelope using the intersection-over-union (IoU) metric:
and represent the intersection and union volumes of the two envelopes. To identify the simulation model most closely matching the subject’s motion capacity, the maximum IoU value for each of the three markers was computed. Since TP primarily reflects flexion–extension and lateral bending, and LH and RH primarily capture rotational movement (axial rotation), each marker’s IoU value was treated with equal importance.
The final similarity score for each subject was calculated by summing the maximum IoU values across all three markers. The simulation model with the highest total IoU score was identified as the closest match to the subject’s motion capacity.
Predicted muscle forces corresponding to the reference envelope were obtained by inputting the respective head position and anatomical parameters into the neural network. These predicted forces were then compared qualitatively with the forces predicted from the subject’s actual motion envelope. Specifically, muscle forces that exhibited significant deviations—either consistently elevated or reduced—when comparing the subject’s actual motion envelope to the reference envelope were interpreted as potential contributors to motion restrictions or compensatory actions.
This analysis did not precisely identify the affected muscles because only the coordinates of the head markers were used, and the movement of the intervertebral joints was not recorded. However, it established a preliminary verification framework for linking overall movement defects with muscle-level trends. Future studies that include more comprehensive movement measurement data are required to further refine and validate this method.
2.9. Statistical Analysis
To quantitatively evaluate the framework’s performance in distinguishing cervical mobility patterns, a focused statistical analysis was performed on the similarity metrics. Specifically, a paired t-test was employed to compare the Intersection over Union (IoU) values of the three primary head markers (TP, RH, and LH) between the patient and the healthy subject. This paired design was selected to account for the inherent spatial correspondence between the markers across different subjects. All statistical computations were conducted using MATLAB 2023a. The statistical significance level was predefined at . Given the specific focus on individual functional assessment in this validation stage, this statistical test serves as a rigorous benchmark for validating the framework’s diagnostic sensitivity.
3. Results
3.1. Neural Networks Predict Performance
A representative full neck motion cycle from the validation set was selected, with the OpenSim simulation serving as the reference for model comparison. Four neck muscles—superficial sternocleidomastoid, trapezius (trap_cl), deep longus capitis (long_cap_sklc4), and semispinalis capitis (semi_cap_sklc5)—were analyzed to evaluate performance across different muscle depths and functional roles. For clarity, only right-side results are shown, as the simulated motions exhibited bilateral symmetry with consistent patterns on both sides. Figure 4 compares the predicted and OpenSim force trajectories, illustrating that the network accurately captured the temporal evolution of muscle forces.
Table 2 presents the RMSE and values for each muscle to quantify the prediction performance. The accuracy of the model was evaluated on the test set. For 72 types of muscle strength, the coefficient of determination exceeded 0.95. Predictions for superficial muscles (e.g., sternocleidomastoid, trapezius) demonstrated high stability, while deep muscles also demonstrated strong consistency. These results suggest that the proposed network reliably predicts muscle forces across different anatomical depths and functional roles.
3.2. Model Validation
The predicted muscle forces demonstrated strong concordance with sEMG recordings from the bilateral sternocleidomastoid and trapezius muscles, yielding an average Pearson correlation of 0.8234. As illustrated in Figure 5a–d, the model accurately reproduced the expected activation patterns in the healthy subject: the sternocleidomastoid exhibited increased activation during flexion, while the upper trapezius was activated during extension, consistent with their established functional roles [34].
Figure 6a–d presents the results for the impaired subject. Significant discrepancies were observed in the right trapezius: sEMG recordings indicated increased activity, which may reflect a compensatory strategy to stabilize the head and shoulder complex. Conversely, the model predicted a reduced force output for this muscle, as the limited range of motion constrained its mechanical demand [35]. Increased activity was also observed in the left trapezius (contralateral side) and the right sternocleidomastoid (ipsilateral side), suggesting that these muscles contributed to maintaining head posture when the primary movers were insufficient. Although sEMG measurements are susceptible to crosstalk—particularly from adjacent superficial neck and shoulder muscles such as the levator scapulae and splenius—the observed activation patterns are consistent with physiologically plausible compensatory mechanisms.
3.3. Identification of Impaired Muscles
The intersection over union (IoU) values were calculated for the three head markers (TH, LH, and RH) of both the patient and the healthy subject by comparing their motion trajectories to those in the simulation database. The model with the highest IoU value for each marker was selected for further analysis. Specifically, IoU was calculated by comparing the range of motion of the patient’s actual trajectory with the corresponding range in the simulation database. The model that achieved the highest cumulative IoU value across these three markers was identified as the best match. As presented in Table 3, the average IoU for the patient’s three head markers was 0.7720, while the healthy subject’s average IoU was 0.9275.
To provide a more intuitive comparison of head motion range, Figure 7a,c present a three-dimensional visual comparison of the head trajectory ranges for the patient and the healthy subject, respectively, with the best-matched models from the simulation database. Notably, the patient exhibited restricted motion in right anterior flexion as well as posterior-lateral flexion.
For the muscle-level analysis, we calculated the ratio of peak muscle forces predicted from the actual trajectory of the subject to those predicted from the ideal trajectory generated by the selected model (Figure 7b). Several deep extensor and rotator muscles on the right side—namely, the longus capitis, semispinalis capitis, and obliquus capitis inferior—exhibited significantly reduced force ratios, indicating underactivation. Components of the right trapezius (trap_acr, trap_cl) also demonstrated diminished force output, suggesting limited torque generation during extension and rotation attributable to restricted range of motion. Conversely, compensatory increases in muscle activation were observed in the right levator scapulae, sternocleidomastoid, and scalene group (force ratios > 1), potentially reflecting the need for stabilization or force redistribution [36].
For the healthy subject, the muscle force ratios (Figure 7d) remained close to 1 across all muscles (ranging from 0.7866 to 1.1732), with no evident signs of compensation. This comparison highlights the model’s ability to detect abnormal force distribution, further supporting its use in identifying potential functional impairments.
3.4. Statistical Analysis of Functional Deficits
A statistical comparison was conducted to verify the framework’s efficacy in capturing restricted mobility. The results of the paired t-test, as summarized in Table 3, revealed a statistically significant difference in marker IoUs between the patient and the healthy subject ( ).
This significant reduction in IoU values for the patient group quantitatively substantiates the observed restriction in cervical range of motion compared to the healthy control. Such statistical evidence further demonstrates the framework’s capability to distinguish between normal and impaired cervical function, providing a robust data-driven foundation for personalized biomechanical assessment.
4. Discussion
This study presents a novel method for the personalized estimation of neck muscle forces and the non-invasive assessment of functional impairments. The method primarily utilizes individual anthropometric parameters and three-dimensional coordinate data from three relative head markers to predict the forces generated by 72 neck muscles. By utilizing non-invasive data acquisition from the physical world, this approach reduces the reliance on extensive hardware setups. Our framework integrates neural networks with OpenSim simulations to compare and validate the accuracy of neck muscle force predictions. During typical head movements, the model accurately reproduced movement times and overall activation patterns comparable to physiological measurements. The predicted muscle activation was in close agreement with both simulation results and actual surface electromyography (sEMG) recordings. This indicates that combining head top trajectory with anatomical features provides valuable insights into the dynamics of neck muscles.
The primary contribution of this study is the development of an extensive dataset containing one million personalized OpenSim cervical models. By systematically altering three critical anatomical parameters—neck length, shoulder width, and head mass—we effectively simulated the wide range of individual variations commonly observed within populations. This parameterization method ensured both anatomical accuracy and diversity across the generated models.
Another fundamental methodological aspect is the application of spatial motion envelopes for inverse analysis. By comparing the observed head motion in subjects with reference envelopes derived from the simulation database, the framework identifies regions with restricted motion. Based on these underutilized regions, corresponding muscle forces are inferred, thus allowing for the estimation of muscles that may be functionally impaired. While this approach cannot provide precise muscle-specific deficits, it serves as a useful indicator of which muscles might contribute to the restricted motion, including those undetectable by surface electromyography.
In this study, the output data used for model training were obtained through static optimization in OpenSim. It is important to emphasize that the models in OpenSim are primarily based on the assumption of rigid body dynamics, meaning that the components of the body (such as bones and joints) are treated as rigid objects. This assumption neglects the slight deformations that occur in cervical tissues during actual movement, which may influence the accuracy of model training. However, previous studies have shown that even with this simplification, data generated using OpenSim remain reliable [37].
Although optical motion capture systems provide high spatial and temporal resolution for tracking head motion, they do have limitations. These systems are sensitive to variations in illumination, which can affect marker detection, and marker occlusion during certain movements can lead to missing or interpolated data [30,31]. Additionally, the portability of optical systems is restricted by the need for a fixed laboratory setup with calibrated camera arrays, limiting their use in clinical or field settings [32]. Despite these challenges, the optical system was chosen for its superior accuracy and temporal resolution, which are crucial for capturing the detailed kinematic data needed for training the neural network model.
The current validation sample size is relatively small (comprising one healthy subject and one patient), and the subjects are relatively young adults. This limitation may not adequately reflect the variability observed in older populations or those with pathological conditions. Structural degeneration and age-related neuromuscular adaptations could potentially affect neck muscle behavior. Future work should aim to expand the clinical cohort, particularly by including more patients with various types of cervical disorders and individuals across different age groups, in order to comprehensively assess the robustness and clinical diagnostic value of the model.
Future work will enhance the personalized model by integrating muscle morphology data obtained from advanced imaging techniques and expanding the simulation database to encompass a wider range of ages, body types, and clinical conditions. These enhancements are expected to improve anatomical realism and generalizability, thereby supporting applications in wearable devices and clinical systems. We also aim to explore functional connectivity analysis using predicted muscle activation patterns and sEMG data to construct cervical muscle networks. This will enable extraction of graph-theory indices like degree centrality and clustering coefficient, offering insights into muscle synergy and control mechanisms [38,39]. Finally, we will assess the clinical relevance of these metrics for evaluating motor control impairments and rehabilitation outcomes in cervical disorder patients, inspired by studies on perilaryngeal-cranial muscle coherence in vocal tasks [40].
5. Conclusions
This study presents a personalized and non-invasive framework for estimating cervical muscle forces by integrating large-scale musculoskeletal simulations with neural network-based predictions. A principal methodological contribution is the reverse analysis of the three-dimensional head movement range envelope, which allows identification of regions with limited movement and facilitates inference of muscles that may be functionally constrained, including those inaccessible through surface EMG.
The framework was evaluated using motion capture and sEMG data, demonstrating a reasonable concordance between predicted muscle force patterns and experimental observations. By incorporating individual anatomical variations and observable head motion trajectories, this approach provides a non-invasive strategy for assessing cervical muscle function and establishes a foundation for quantitative, individualized evaluations in rehabilitation, wearable technologies, and clinical applications. This framework may further support the development of future clinical assessment tools and assistive robotics applications.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Malakoutian M. Noonan A.M. Dehghan-Hamani I. Yamamoto S. Fels S. Wilson D. Doroudi M. Schutz P. Lewis S. Ailon T. Dysfunctional paraspinal muscles in adult spinal deformity patients lead to increased spinal loading Eur. Spine J.2022312383239810.1007/s 00586-022-07292-x 35842491 PMC 9288260 · doi ↗ · pubmed ↗
- 2Goislard de Monsabert B. Herbaut A. Cartier T. Vigouroux L. Electromyography-informed musculoskeletal modeling provides new insight into hand tendon forces during tennis forehand Scand. J. Med. Sci. Sport 2023331958197510.1111/sms.1443437340897 · doi ↗ · pubmed ↗
- 3Dong S. Lu K.Q. Sun J.Q. Rudolph K. Adaptive force regulation of muscle strengthening rehabilitation device with magnetorheological fluids IEEE Trans. Neural Syst. Rehabil. Eng.20061455631656263210.1109/TNSRE.2005.863839 PMC 2268717 · doi ↗ · pubmed ↗
- 4Krašna S. Marhold M. Zupan S. A Novel Approach to Measuring Muscle Mechanics in the Neck Sensors 20171713892861326510.3390/s 17061389 PMC 5492481 · doi ↗ · pubmed ↗
- 5Carnaz L. Furlan R.M.M. Sacco I.C.N. A Review of Direct Neck Measurement in Occupational Biomechanics Int. J. Environ. Res. Public Health 2010743234340
- 6Zargham A. Afschrift M. De Schutter J. Jonkers I. De Groote F. Inverse dynamic estimates of muscle recruitment and joint contact forces are more realistic when minimizing muscle activity rather than metabolic energy or contact forces Gait Posture 20197422323010.1016/j.gaitpost.2019.08.01931563823 · doi ↗ · pubmed ↗
- 7Farahani S.D. Andersen M.S. de Zee M. Rasmussen J. Optimization-based dynamic prediction of kinematic and kinetic patterns for a human vertical jump from a squatting position Multibody Syst. Dyn.201636376510.1007/s 11044-015-9468-5 · doi ↗
- 8Zhao J. Yu Y. Wang X. Ma S. Sheng X. Zhu X. A musculoskeletal model driven by muscle synergy-derived excitations for hand and wrist movements J. Neural Eng.20221901602710.1088/1741-2552/ac 485134986472 · doi ↗ · pubmed ↗
