Abstract
Video-based human movement analysis holds potential for movement assessment in clinical practice and research. However, the clinical implementation and trust of multi-view markerless motion capture (MMMC) require that, in addition to being accurate, these systems produce reliable confidence intervals to indicate how accurate they are for any individual. Building on our prior work utilizing variational inference to estimate joint angle posterior distributions, this study evaluates the calibration and reliability of a probabilistic MMMC method. We analyzed data from 68 participants across two institutions, validating the model against an instrumented walkway and standard marker-based motion capture. We measured the calibration of the confidence intervals using the Expected Calibration Error (ECE). The model demonstrated reliable calibration, yielding ECE values generally < 0.1 for both step and stride length and bias-corrected gait kinematics. We observed a median step and stride length error of ~16 mm and ~12 mm respectively, with median bias-corrected kinematic errors ranging from 1.5 to 3.8 degrees across lower extremity joints. Consistent with the calibrated ECE, the magnitude of the model's predicted uncertainty correlated strongly with observed error measures. These findings indicate that, as designed, the probabilistic model reconstruction quantifies epistemic uncertainty, allowing it to identify unreliable outputs without the need for concurrent ground-truth instrumentation.
Introduction
Computer-vision-based markerless motion capture (MMMC) is democratizing biomechanics, allowing researchers to analyze human gait using standard video cameras instead of expensive, wearable reflective markers. However, a major barrier to using these systems in actual clinical decision-making is a lack of quantifiable trust. Current deep learning models typically output joint angles as point estimates. If a patient's leg is occluded by a walker, the model might "hallucinate" a physically plausible but incorrect pose. Without knowing the model is guessing, clinicians might make poor treatment decisions. This research addresses the need for calibrated uncertainty—ensuring that if a model claims 95% confidence, the true value falls within that range 95% of the time.
Methodology
Building on an end-to-end differentiable biomechanics pipeline, this study employs variational inference to make MMMC probabilistic. Instead of predicting static 3D keypoints, a neural network maps time to joint angles using an implicit trajectory representation. The model outputs a mean and covariance for the kinematic trajectory, generating a posterior distribution of joint angles.
The training process optimizes a composite loss function balancing the Evidence Lower Bound (ELBO) for probabilistic reconstruction, geometric regularizers (enforcing physical validity via the MuJoCo physics engine), and an explicit calibration penalty based on the Expected Calibration Error (ECE) of 2D keypoint detections.
Experimental Validation
The model was evaluated across two distinct clinical datasets:
- Shirley Ryan AbilityLab Dataset: 416 trials from 41 participants (including able-bodied, prosthetic users, and neurologic gait impairments). Validated against a GaitRite instrumented walkway for spatial metrics.
- Shriners Children's Dataset: 133 trials from 27 pediatric participants (primarily with Cerebral Palsy). Validated against a gold-standard 12-camera Vicon marker-based system for joint kinematics.
Key Results and Discussion
Calibrated Uncertainty as a Proxy for Accuracy
The model demonstrated excellent calibration, achieving an ECE of $< 0.1$ for most metrics. This indicates that the model's predicted uncertainty strongly correlates with actual observed errors—it effectively "knows what it doesn't know."
Spatial and Kinematic Accuracy
Across all participants, the median step length error was $\sim 16$ mm and stride length error was $\sim 12$ mm. A significant finding was the power of uncertainty-based filtering: removing the 50% most uncertain predictions reduced the median step length error to 12.01 mm and eliminated large outliers.
After correcting for systematic anatomical definition biases between the MuJoCo model and clinical marker models, median kinematic errors were remarkably low, ranging from $1.5^\circ$ to $3.8^\circ$ across lower extremity joints. Pelvis rotation remained a challenge (ECE of 0.18), likely due to Euler angle calculation discrepancies between systems.
Conclusion
This probabilistic MMMC system allows clinicians to automatically filter unreliable data without requiring concurrent ground-truth instrumentation. While current results were obtained in controlled lab environments, future work will focus on real-world clinical settings with severe occlusions. Additionally, refining the underlying biomechanical models to align anatomical definitions with clinical standards will further reduce systematic biases and improve calibration.
Summary updated