eLifeNeurosciencePeer-reviewed journal article
MotorNet: a Python toolbox for controlling differentiable biomechanical effectors with artificial neural networks
Olivier CodoliD, Jonathan A. MichaelsiD, Mehrdad KashefiiD, J. Andrew PruszynskiiD, Paul L. GribbleiD
Abstract
Artificial neural networks (ANNs) are a powerful class of computational models for unravelling neural mechanisms of brain function. However, for neural control of movement, they currently must be integrated with software simulating biomechanical effectors, leading to limiting impracticalities: (1) researchers must rely on two different platforms and (2) biomechanical effectors are not generally differentiable, constraining researchers to reinforcement learning algorithms despite the existence and potential biological relevance of faster training methods. To address these limitations, we developed MotorNet, an open-source Python toolbox for creating arbitrarily complex, differentiable, and biomechanically realistic effectors that can be trained on user-defined motor tasks using ANNs. MotorNet is designed to meet several goals: ease of installation, ease of use, a high-level user-friendly API, and a modular architecture to allow for flexibility in model building. MotorNet requires no dependencies outside Python, making it easy to get started with. For instance, it allows training ANNs on typically used motor control models such as a two joint, six muscle, planar arm within minutes on a typical desktop computer. MotorNet is built on PyTorch and therefore can implement any network architecture that is possible using the PyTorch framework. Consequently, it will immediately benefit from advances in artificial intelligence through PyTorch updates. Finally, it is open source, enabling users to create and share their own improvements, such as new effector and network architectures or custom task designs. MotorNets focus on higher order model and task design will alleviate overhead cost to initiate computational projects for new researchers by providing a standalone, ready-to-go framework, and speed up efforts of established computational teams by enabling a focus on concepts and ideas over implementation.
- research focus: software / tool
- research focus: benchmarking
- research focus: dimensionality reduction
- approach: machine learning (classical)
- Citations
- 23
- FWCI
- 3.44
- Field percentile
- top 7%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Artificial physics engine for real-time inverse dynamics of arm and hand movement
Mykhailo Manukian, Serhii Bahdasariants, Sergiy Yakovenko·PLoS ONEPeer-reviewed·Dec 13, 2023
- muSim: A goal-driven framework for elucidating the neural control of movement through musculoskeletal modeling
Muhammad Noman Almani, John Lazzari, Shreya Saxena·bioRxiv·Feb 2, 2024
- Leveraging joint mechanics simplifies the neural control of movement
Daniel Ludvig, Mariah W. Whitmore, Eric Jon Perreault·Frontiers in Integrative NeurosciencePeer-reviewed·Mar 21, 2022
- Neuromechanical Simulation with NEURON and MuJoCo
Chris Fietkiewicz, Linh Tran, … Peter J. Thomas·bioRxiv·Jun 17, 2025
- Deep reinforcement learning for modeling human locomotion control in neuromechanical simulation
S. Song, Łukasz Kidzinski, … S. Delp·bioRxiv·Aug 11, 2020
- A Deep Reinforcement Learning based approach for movement training of neuro-musculoskeletal systems
R. Sesha Iyengar, K. Mallampalli, M. Raghavan·bioRxiv·Mar 28, 2021