Abstract
Simulating biological movement with high fidelity remains a significant challenge in biomechanics and robotics. This paper presents a procedurally generated musculoskeletal model of a dog developed for the MuJoCo physics engine. By introducing a novel differentiable muscle dynamics model and an automated method for generating anatomically realistic lines of action, we enable gradient-based controllers to track complex animal motions. Our results demonstrate successful tracking of various behaviors, from walking to jumping, while maintaining biological plausibility in muscle activation patterns.
Introduction
The grace and efficiency of biological quadrupeds are difficult to replicate in digital simulations. Muscles are complex actuators with non-linear dynamics and intricate paths that wrap around skeletal structures. Traditional muscle models often employ non-differentiable "hard switches" between activation states, which pose significant challenges for gradient-based optimization algorithms like Iterative Linear Quadratic Gaussian (iLQG) control.
To address these challenges, researchers from DeepMind and the Royal Veterinary College have developed a highly detailed canine model that bridges the gap between anatomical accuracy and computational tractability. This work facilitates the study of neuromuscular control and provides a robust framework for simulating realistic animal locomotion.
Methodology
The development of the musculoskeletal canine model involved three primary innovations:
1. Procedural Muscle Generation
To avoid the labor-intensive process of manual muscle placement, an algorithm was developed to "slice" 3D muscle meshes along their longitudinal axes. By identifying the centroids of these slices and utilizing kd-trees to prevent bone penetration, the system automatically generates anatomically realistic Lines of Action (LoA).
2. Differentiable Muscle Dynamics
A critical hurdle in using standard muscle models (e.g., the Millard model) for optimization is the discontinuity in activation logic. The authors replaced these "hard switches" with a sigmoid function. This smoothing makes the entire system differentiable, allowing iLQG planners to converge effectively even with a complex system of 133 muscles.
3. Motion Retargeting
The team utilized a new dataset of 53 reflective markers recorded from a Border Collie. An optimization loop was used to map these 3D positions onto the model’s joints, ensuring the digital dog’s proportions and kinematics matched the real-world subject before control was applied.
Results and Validation
The model was evaluated on its ability to track 28 motion capture clips, including walking, sprinting, and jumping.
- Tracking Accuracy: The model achieved high kinematic accuracy for steady-state movements like walking and sprinting, with average errors below 0.4 meters. However, explosive movements like jumping proved more challenging, with errors increasing to 1.0 meter, likely due to limitations in peak force production and contact dynamics.
- Biological Plausibility: Simulated muscle activations (EMG) were validated against historical biomechanics literature. The model correctly predicted peak activity in the Biceps Femoris during the swing phase and the Triceps Brachii during the stance phase, aligning with known biological functions.
Discussion and Future Work
While the model represents a significant step forward, several limitations remain. The morphological mismatch between the Border Collie mocap subject and the Pharaoh Dog skeletal model introduces tracking discrepancies. Additionally, estimating peak muscle force solely from geometry remains difficult, requiring reliance on MuJoCo’s scaled force estimates.
Future work will focus on refining force-production models and exploring more diverse canine morphologies. The release of the model and the retargeted motion clips provides a new benchmark for the research community in the fields of biomechanics and reinforcement learning.
Summary updated