Abstract
In the NeurIPS 2018 Artificial Intelligence for Prosthetics challenge, participants were tasked with building a controller for a musculoskeletal model with a goal of matching a given time-varying velocity vector. Top participants were invited to describe their algorithms. In this work, we describe the challenge and present thirteen solutions that used deep reinforcement learning approaches. Many solutions use similar relaxations and heuristics, such as reward shaping, frame skipping, discretization of the action space, symmetry, and policy blending. However, each team implemented different modifications of the known algorithms by, for example, dividing the task into subtasks, learning low-level control, or by incorporating expert knowledge and using imitation learning.
Introduction
Designing effective prosthetics is traditionally a slow, expensive process of trial and error, complicated by the fact that we don't fully understand how humans adapt their movement to new devices. Physics-based biomechanical simulations offer a low-cost sandbox for experimentation, but controlling these models is a significant challenge: they involve high-dimensional action spaces (dozens of muscles), complex biological dynamics (like delayed muscle activation), and highly non-linear interactions.
The NeurIPS 2018 challenge tasked participants with building a controller for a 3D musculoskeletal model—featuring 14 degrees of freedom and 19 muscles—to follow a time-varying velocity vector. This essentially required teaching a virtual human with a prosthetic leg how to walk, run, and turn on command.
Methods and Strategies
The top solutions primarily relied on two deep reinforcement learning (RL) workhorses: Deep Deterministic Policy Gradient (DDPG) and Proximal Policy Optimization (PPO). However, the success of these models depended heavily on specific heuristics used to achieve stable, human-like movement.
Curriculum Learning
A key insight from the winning team, Firework, was that learning to walk slowly is often harder than running fast. They utilized curriculum learning, training agents to run at high speeds first and then gradually "dialing down" or expanding the target velocity range to teach stable walking. This progression helped the agents generalize across different commanded speeds.
Reward Shaping and Imitation
Standard velocity-based rewards often led to "crab-walking" or other unnatural gaits. To counter this, teams added penalties for unnatural postures, such as crossing legs or failing to bend knees. Some teams also utilized imitation learning, using experimental human motion data to provide a "warm start" for their policies, which significantly reduced training time.
Computational Infrastructure
To handle the computationally expensive OpenSim environment, teams employed distributed frameworks like ApeX or Ray, with some utilizing up to 130,000 CPU-hours for a single model. Feature engineering was also critical; raw state vectors were often transformed to be relative to the pelvis to induce spatial invariance, helping the agent generalize across the environment.
Key Results
The challenge successfully moved the field from 2D "stick-figure" simulations to 3D, physiologically accurate gait synthesis. The top 10 teams all achieved scores above 9800 out of 10,000.
- Efficiency: While massive compute helped the top teams, the most efficient solution used imitation learning to achieve 7th place with only 100 CPU-hours—a 1,300x improvement in sample efficiency.
- Generalization: The best controllers demonstrated robustness by adapting to "unseen" environments with randomized physical parameters, proving that RL can produce versatile controllers rather than just overfitted trajectories.
Discussion and Limitations
Despite these successes, bridging the gap between high-scoring agents and clinically useful gaits remains an open challenge. RL agents are "lazy" optimizers and may find stable but bizarre strategies, such as hopping on one leg, that satisfy the mathematical goal but are not biologically viable.
Future work must focus on more realistic "metabolic cost" functions to replicate human energy-saving gaits. Additionally, the high computational fidelity of OpenSim remains a bottleneck for moving toward real-time control on actual prosthetic hardware.
Summary updated