Calibration of Neuromusculoskeletal Models Using Differentiable Physics: Recommendations for Improving Model Accuracy

Philip Sanderink, Yingfan Zhou, Shuzhen Luo, Cheng FangarXiv 2026

TL;DR

Calibrating computer models of the human body used to take hours of brute-force guessing, until differentiable physics brought fast, neural-network-style backpropagation to biomechanics. Because we can now optimize dozens of anatomical parameters in minutes, this paper asks a crucial practical question: which parameters should we actually tune? By testing 16 combinations on real human arm movements, the authors reveal a clear recipe—showing which biomechanical add-ons dramatically boost accuracy and which ones actually make things worse.

What Problem Does This Paper Address?

If you want to build smart exoskeletons or design personalized physical therapy, you need to know the internal forces acting on a person’s joints and muscles. Since we can’t stick force gauges onto living tendons, researchers rely on neuromusculoskeletal (NMS) models—digital twins of human anatomy.

To personalize an NMS model, you calibrate it by aligning two independent calculations of joint torque:

  1. Inverse Dynamics (ID): Working outside-in from 3D motion capture and estimated bone masses to calculate the torque required to produce a movement.
  2. Forward Dynamics (FD): Working inside-out from stick-on muscle sensors—surface Electromyography (sEMG)—to estimate muscle contractions and resulting torques.

Minimizing the gap between these two torques is a gnarly, nonlinear problem. Traditionally, researchers used slow, random-search algorithms (like simulated annealing) that took hours, severely limiting how many parameters could be tuned. Recently, differentiable physics changed the game: by writing physics equations in auto-differentiable frameworks like PyTorch, we can compute exact gradients and calibrate models over 20 times faster.

Suddenly, researchers can afford to add complex new learnable modules to narrow the sim-to-real gap. Several upgrades have been proposed in isolation across different papers, leaving an open question: how do these modules interact, and which combination actually builds the best digital twin?

Methods

The authors built a fully differentiable PyTorch version of a standard OpenSim upper-limb model (a 3-DoF shoulder and 2-DoF elbow driven by 11 superficial muscles and 5 deep, unmeasurable muscles).

Fig. 1: Overview of the differentiable physics-based neuromusculoskeletal (NMS) model calibration pipeline. The NMS model parameters are calibrated by minimizing the joint torque loss (l) with automatic differentiation and backpropagation. Four addable modules (green) can be included in a baseline pipeline (blue) for accuracy improvement of the calibrated model. Gradient backpropagation is shown with dashed arrows.

They started with a baseline pipeline (blue in Fig. 1) that tunes standard muscle-tendon properties while holding bone inertia and muscle routing constant, and simply copies superficial sEMG signals onto deep muscles. Using the Adam optimizer, they systematically mixed and matched four addable modules (green in Fig. 1) across 16 total configurations (ranging from 40 to 115 learnable parameters):

  • Muscle Synergy Extrapolation (SYN): Uses Non-negative Matrix Factorization (NMF) to extract core activation patterns ("synergies") from surface muscles and learns weights to reconstruct hidden deep-muscle signals. Tested both by retraining weights on new movements (R-SYN) and freezing weights learned during calibration (T-SYN).
  • Learnable Bone Parameters (CB): Simultaneously optimizes bone mass, center of mass, and inertia tensors (within physiological bounds) alongside muscle parameters, recognizing that scaled template skeletons aren't ground truth.
  • Optimizable Wrap Objects (CG): Tunes the radii and semi-axes of virtual cylinders, spheres, and ellipsoids that guide how muscles wrap around joints (Fig. 2), directly altering muscle lengths and lever arms.
  • Kinematic Constraint Torques (CID): Accounts for virtual "gearbox" torques introduced by mathematically coupled joints in complex shoulder models.
Fig. 2: Examples of two wrap objects showing the learnable cylinder radius (a) and ellipsoid semi-axes (b) in purple.

Datasets

The authors collected a custom experimental dataset from four healthy male subjects using 100 Hz OptiTrack optical motion capture and 1 kHz Delsys surface EMG sensors:

  • Calibration Set: Four diverse, coordinated shoulder-elbow movements designed to excite the arm's dynamics.
  • Testing Set: Nine distinct movements not seen during calibration—three elbow-dominated, three shoulder-dominated, and three coordinated movements—to rigorously test generalization and rule out overfitting.
Fig. 3: Calibration (a) and testing movement (b-d) examples.

Key Insights and Ideas

  • Theory vs. reality on constraint torques: In pure simulation studies, accounting for kinematic constraint torques (CID) is mathematically necessary. On real human data, however, adding it increased testing error by 4% on average. Theoretical perfection doesn't always survive real-world sensor noise and modeling simplifications.
  • Inverse Dynamics isn't sacred: Calibrations usually treat motion-capture ID torques as fixed targets for muscles to match. Allowing bone inertia (CB) to adapt brought the ID torque curves closer to the muscle curves—proving that letting the skeleton and muscles meet in the middle yields a much more consistent model.
  • Overlapping roles of routing and synergies: Tuning wrap geometries (CG) helps slightly, but its benefit shrinks when paired with muscle synergies (SYN), while adding ~28 minutes of compute time. Because both tweak final muscle torque (via lever arms vs. muscle forces), muscle synergies effectively compensate for minor geometric routing errors at a fraction of the computational cost.

Key Results

  • Best Overall Pipeline: Combining retrained synergies, bone optimization, and wrap geometry (R-SYN_ID_CB_CG) performed best, slashing joint torque error by 43.05% on elbow flexion, 29.73% on shoulder elevation, and 26.62% on coordinated movements compared to the baseline.
  • Individual Module Impact (Average Test Error):
  • Muscle Synergies: -23.6% error when retrained on test movements (R-SYN), or -9.6% with frozen calibration weights (T-SYN).
  • Bone Dynamics (CB): -10.9% error.
  • Wrap Geometry (CG): -1.4% error.
  • Constraint Torques (CID): +4.0% error (worse).
  • Calibration Speed: The baseline median calibration took just 258 seconds (~4.3 minutes) on a standard laptop CPU. Adding synergies (-43s) or bone parameters (+46s) barely budged the clock, whereas wrap geometry optimization (CG) added +1708 seconds (~28.5 minutes).
  • Recommended Sweet Spot: Incorporate muscle synergies and learnable bone parameters, skip constraint torques, and omit wrap geometry tuning if calibration speed matters.

Limitations and Future Work

  • Small, uniform cohort: Data was limited to four healthy male subjects; broader demographics and clinical populations remain untested.
  • Synergy evaluation trade-off: Retraining synergy weights (R-SYN) during testing yielded a larger error drop (23.6%) than training itself (15.6%), likely because simpler test movements are easier to fit and may absorb some parameter inaccuracies. Freezing weights (T-SYN) avoids this, though optimal handling of unmeasured muscles across arbitrary tasks remains nuanced.
  • Future Work: The authors plan to investigate how the specific choice and design of calibration movements impact final model accuracy.

Summary updated

Abstract

Differentiable physics has shown potential to usher in a new paradigm in human neuromusculoskeletal (NMS) model calibration. Early results from pioneering works have demonstrated that auto-differentiable NMS models can greatly reduce NMS model calibration time while achieving comparable accuracy compared to traditional calibration methods. The efficient gradient-based optimizers have enabled calibration of increasingly sophisticated human models with a large number of parameters, which seek to narrow the gap between simulation and reality. Several modules have been evaluated separately in different studies, but have never been directly compared within the same study. In this work, these modules are compared on the same differentiable upper limb model with a 3-DoF shoulder, a 2-DoF elbow, and 11 superficial and 5 deep muscles in the calibration to find an optimal pipeline for improving model accuracy. The considered modules include muscle synergy, learnable bone parameters, optimizable geometry of wrap objects, and constraint torque of the differentiable arm model. To evaluate the effect and interplay between the modules on calibration accuracy, one or more modules were used in each of 16 calibration configurations, which were compared in terms of the error between two joint torques calculated by the forward and inverse dynamics with the calibrated model on 9 distinctive testing movements across 4 subjects. Results showed that torque loss was reduced by 23.6% on average using muscle synergy extrapolation to estimate deep muscle activities, and by 10.9% on average through bone dynamic parameter optimization, which are both recommended to be incorporated in the calibration.
BibTeX
@misc{sanderink2026calibration,
  author = {Philip Sanderink and Yingfan Zhou and Shuzhen Luo and Cheng Fang},
  title = {{Calibration of Neuromusculoskeletal Models Using Differentiable Physics: Recommendations for Improving Model Accuracy}},
  year = {2026},
  eprint = {2611.34428},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.34428},
}
Figure