Deep reinforcement learning for modeling human locomotion control in neuromechanical simulation

Seungmoon Song, Łukasz Kidziński, Xue Bin Peng, Carmichael Ong, Jennifer L. Hicks, Sergey Levine, Christopher G. Atkeson, Scott L. Delp

Abstract

Modeling human motor control and predicting how humans will move in novel environments is a grand scientific challenge. Researchers in the fields of biomechanics and motor control have proposed and evaluated motor control models via neuromechanical simulations, which produce physically correct motions of a musculoskeletal model. Typically, researchers have developed control models that encode physiologically plausible motor control hypotheses and compared the resulting simulation behaviors to measurable human motion data. While such plausible control models were able to simulate and explain many basic locomotion behaviors (e.g. walking, running, and climbing stairs), modeling higher layer controls (e.g. processing environment cues, planning long-term motion strategies, and coordinating basic motor skills to navigate in dynamic and complex environments) remains a challenge. Recent advances in deep reinforcement learning lay a foundation for modeling these complex control processes and controlling a diverse repertoire of human movement; however, reinforcement learning has been rarely applied in neuromechanical simulation to model human control. In this paper, we review the current state of neuromechanical simulations, along with the fundamentals of reinforcement learning, as it applies to human locomotion. We also present a scientific competition and accompanying software platform, which we have organized to accelerate the use of reinforcement learning in neuromechanical simulations. This "Learn to Move" competition was an official competition at the NeurIPS conference from 2017 to 2019 and attracted over 1300 teams from around the world. Top teams adapted state-of-the-art deep reinforcement learning techniques and produced motions, such as quick turning and walk-to-stand transitions, that have not been demonstrated before in neuromechanical simulations without utilizing reference motion data. We close with a discussion of future opportunities at the intersection of human movement simulation and reinforcement learning and our plans to extend the Learn to Move competition to further facilitate interdisciplinary collaboration in modeling human motor control for biomechanics and rehabilitation research.

Introduction

Predicting how a human will move in a brand-new environment is a fundamental challenge in biomechanics and motor control. Historically, researchers have relied on "white-box" models based on physiological hypotheses, such as reflexes (feedback) and central pattern generators (CPGs; feedforward). While these models can explain steady-state walking or running, they struggle with "higher-layer" control: navigating obstacles, planning long-term strategies, or transitioning between different types of movement.

The conceptual framework comparing biological motor control with neuromechanical simulation components.

The gap lies in the complexity of the human body. With dozens of muscles and non-linear dynamics, manually designing a controller for every possible maneuver is nearly impossible. Deep reinforcement learning (DRL) can serve as a "black-box" controller to fill this gap, learning complex coordination patterns through trial and error within a physics-based simulation.

Neuromechanical Simulation and OpenSim-RL

The core of this research is neuromechanical simulation, specifically using the OpenSim-RL platform. This environment couples a high-fidelity musculoskeletal model with a DRL agent. These models are built with rigid segments and Hill-type muscle actuators, which realistically represent the force-length and force-velocity relationships of human muscle.

The musculoskeletal model and the Hill-type muscle actuator dynamics used in the simulation.

The "Learn to Move" Competition

To bridge the gap between the biomechanics and AI communities, the authors organized the "Learn to Move" competition series at the NeurIPS conference from 2017 to 2019. Attracting over 1,300 teams, the competition provided standardized resources like the OpenSim-RL package and the "Walk Around" benchmark—a 3D musculoskeletal model with 22 muscles and 7 segments that required agents to follow changing velocity vectors.

Algorithmic Approaches

Top-performing teams employed several sophisticated DRL techniques:

  • Model-free DRL: Algorithms like PPO (Proximal Policy Optimization) and SAC (Soft Actor-Critic) mapped high-dimensional sensory inputs to muscle excitations.
  • Off-policy Learning: Teams favored DDPG and TD3 for their sample efficiency, reusing past data to refine control policies.
  • Curriculum Learning: One winning strategy involved training the model to run at high speeds first, then gradually slowing it down to a walk—a counter-intuitive approach that helped agents avoid unnatural local optima.
  • Reward Shaping: To encourage natural gaits, winners penalized behaviors like "crossover" steps and minimized muscle effort to reduce fatigue.

Key Insights and Results

A significant breakthrough was the demonstration that DRL agents could produce agile maneuvers, such as rapid 180-degree turns, entirely from scratch. Previously, such motions in simulations almost always required "reference motion" (mimicking recorded human movement). Furthermore, the agents learned to compensate for physical simplifications; for instance, even when the model lacked an internal yaw degree of freedom in the torso, the DRL agents learned to "step-turn" effectively.

Limitations and Future Directions

Despite these successes, challenges remain. AI-controlled models often lack "human-likeness," appearing jittery or adopting energetically suboptimal gaits. Additionally, the computational cost of training these models is substantial.

Future work will focus on hierarchical control, where a DRL "higher layer" handles planning and environmental cues, while a "lower layer" uses physiologically plausible reflex models for basic motor skills. The authors also propose future competition tasks inspired by athletic activities like "World Chase Tag" to further push the limits of simulated human movement.

Conclusion

By integrating DRL with neuromechanical simulation, researchers are unlocking new ways to model the complexity of human motor control. The success of the "Learn to Move" competitions highlights the power of interdisciplinary collaboration in solving grand scientific challenges in biomechanics and rehabilitation.

Summary updated

Abstract

Modeling human motor control and predicting how humans will move in novel environments is a grand scientific challenge. Researchers in the fields of biomechanics and motor control have proposed and evaluated motor control models via neuromechanical simulations, which produce physically correct motions of a musculoskeletal model. Typically, researchers have developed control models that encode physiologically plausible motor control hypotheses and compared the resulting simulation behaviors to measurable human motion data. While such plausible control models were able to simulate and explain many basic locomotion behaviors (e.g. walking, running, and climbing stairs), modeling higher layer controls (e.g. processing environment cues, planning long-term motion strategies, and coordinating basic motor skills to navigate in dynamic and complex environments) remains a challenge. Recent advances in deep reinforcement learning lay a foundation for modeling these complex control processes and controlling a diverse repertoire of human movement; however, reinforcement learning has been rarely applied in neuromechanical simulation to model human control. In this paper, we review the current state of neuromechanical simulations, along with the fundamentals of reinforcement learning, as it applies to human locomotion. We also present a scientific competition and accompanying software platform, which we have organized to accelerate the use of reinforcement learning in neuromechanical simulations. This "Learn to Move" competition was an official competition at the NeurIPS conference from 2017 to 2019 and attracted over 1300 teams from around the world. Top teams adapted state-of-the-art deep reinforcement learning techniques and produced motions, such as quick turning and walk-to-stand transitions, that have not been demonstrated before in neuromechanical simulations without utilizing reference motion data. We close with a discussion of future opportunities at the intersection of human movement simulation and reinforcement learning and our plans to extend the Learn to Move competition to further facilitate interdisciplinary collaboration in modeling human motor control for biomechanics and rehabilitation research.
BibTeX
@article{song2021deep,
  author = {Seungmoon Song and Łukasz Kidziński and Xue Bin Peng and Carmichael Ong and Jennifer L. Hicks and Sergey Levine and Christopher G. Atkeson and Scott L. Delp},
  title = {{Deep reinforcement learning for modeling human locomotion control in neuromechanical simulation}},
  journal = {Journal of NeuroEngineering and Rehabilitation},
  year = {2021},
  doi = {10.1186/s12984-021-00919-y},
}
Figure