Adversarial Motion Priors Make Good Substitutes for Complex Reward Functions
Alejandro Escontrela, Xue Bin Peng, Wenhao Yu, Tingnan Zhang, Atil Iscen, Ken Goldberg, Pieter Abbeel
TL;DR
This work tackles the challenge of under-specified rewards in high-dimensional legged robotics by replacing hand-crafted, task-specific rewards with a learned style reward derived from motion-capture data via Adversarial Motion Priors (AMP). The style prior is trained through adversarial imitation against a dataset (as little as 4.5 seconds) and combined with a task reward to yield policies that resemble natural locomotion while achieving desired tasks. In simulation and on a real quadruped, AMP-enabled policies show energy-efficient gait transitions and robust transfer, outperforming hand-designed style rewards and avoiding the violent dynamics seen with no-style baselines. The approach reduces the need for labor-intensive reward engineering and offers a practical path toward naturalistic, transferable locomotion in real robots.
Abstract
Training a high-dimensional simulated agent with an under-specified reward function often leads the agent to learn physically infeasible strategies that are ineffective when deployed in the real world. To mitigate these unnatural behaviors, reinforcement learning practitioners often utilize complex reward functions that encourage physically plausible behaviors. However, a tedious labor-intensive tuning process is often required to create hand-designed rewards which might not easily generalize across platforms and tasks. We propose substituting complex reward functions with "style rewards" learned from a dataset of motion capture demonstrations. A learned style reward can be combined with an arbitrary task reward to train policies that perform tasks using naturalistic strategies. These natural strategies can also facilitate transfer to the real world. We build upon Adversarial Motion Priors -- an approach from the computer graphics domain that encodes a style reward from a dataset of reference motions -- to demonstrate that an adversarial approach to training policies can produce behaviors that transfer to a real quadrupedal robot without requiring complex reward functions. We also demonstrate that an effective style reward can be learned from a few seconds of motion capture data gathered from a German Shepherd and leads to energy-efficient locomotion strategies with natural gait transitions.
