Artificial Intelligence for Prosthetics - challenge solutions

Lukasz Kidzinski, Carmichael F. Ong, Sharada Prasanna Mohanty, Jennifer L. Hicks, Sean F. Carroll, Bo Zhou, Hong-cheng Zeng, Fan Wang, Rongzhong Lian, Hao Tian, Wojciech Jaskowski, Garrett Andersen, Odd Rune Lykkebø, Nihat Engin Toklu, Pranav Shyam, Rupesh Kumar Srivastava, Sergey Kolesnikov, Oleksii Hrinchuk, Anton Pechenko, Mattias Ljungström, Zhen Wang, Xu Hu, Zehong Hu, Minghui Qiu, Jun Huang, Aleksei Shpilman, Ivan Sosin, Oleg Svidchenko, Aleksandra Malysheva, Daniel Kudenko, Lance Rane, Aditya Bhatt, Penghui Qi, Zeyang Yu, Peng Peng, Quan Yuan, Wenxin Li, Yunsheng Tian, Ruihan Yang, Pingchuan Ma, Shauharda Khadka, Somdeb Majumdar, Zach Dwiel, Yinyin Liu, Evren Tumer, Jeremy D. Watson, Marcel Salathé, Sergey Levine, Scott L. DelparXiv 2019

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.

Comparison of a real prosthetic user and the 3D musculoskeletal simulation model used in the challenge.

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.

Target velocity distributions used during different stages of curriculum learning to improve agent stability.

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

BibTeX
@misc{kidzinski2019artificial,
  author = {Lukasz Kidzinski and Carmichael F. Ong and Sharada Prasanna Mohanty and Jennifer L. Hicks and Sean F. Carroll and Bo Zhou and Hong-cheng Zeng and Fan Wang and Rongzhong Lian and Hao Tian and Wojciech Jaskowski and Garrett Andersen and Odd Rune Lykkebø and Nihat Engin Toklu and Pranav Shyam and Rupesh Kumar Srivastava and Sergey Kolesnikov and Oleksii Hrinchuk and Anton Pechenko and Mattias Ljungström and Zhen Wang and Xu Hu and Zehong Hu and Minghui Qiu and Jun Huang and Aleksei Shpilman and Ivan Sosin and Oleg Svidchenko and Aleksandra Malysheva and Daniel Kudenko and Lance Rane and Aditya Bhatt and Zhengfei Wang and Penghui Qi and Zeyang Yu and Peng Peng and Quan Yuan and Wenxin Li and Yunsheng Tian and Ruihan Yang and Pingchuan Ma and Shauharda Khadka and Somdeb Majumdar and Zach Dwiel and Yinyin Liu and Evren Tumer and Jeremy D. Watson and Marcel Salathé and Sergey Levine and Scott L. Delp},
  title = {{Artificial Intelligence for Prosthetics - challenge solutions}},
  year = {2019},
  eprint = {1902.02441},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1902.02441},
}
Figure