UniCon: Universal Neural Controller For Physics-based Character Motion

Tingwu Wang, Yunrong Guo, Maria Shugrina, Sanja FidlerarXiv 2020

Abstract

UniCon is a universal neural controller designed to empower physics-based virtual characters with the ability to master thousands of diverse motions—ranging from basic locomotion to complex acrobatics—within a single trained model. By leveraging a hierarchical framework that combines a high-level motion scheduler with a robust, reinforcement learning-powered low-level executor, UniCon achieves unprecedented generalization and zero-shot robustness to environmental perturbations and varying character proportions.

Introduction

In character animation, a persistent challenge exists in balancing kinematic quality (visual appeal) with physics-based simulation (realistic environmental interaction). While deep reinforcement learning (RL) has advanced physics-based control, most existing methods are "specialists," requiring specific training for individual motions. These models often struggle with unseen motions, transitions, or unexpected external forces.

UniCon addresses these limitations by creating a "generalist" controller capable of learning from massive, imbalanced motion datasets. This allows for real-time interactive applications, such as video games or VR, where characters must respond dynamically to user input and physical changes.

UniCon supports diverse input modalities including video streams and keyboard commands for real-time physics-based motion control.

Methods

UniCon utilizes a two-level hierarchical framework to bridge user intent and physical execution.

The UniCon hierarchical framework consisting of a high-level scheduler and a low-level executor.

High-Level Motion Scheduler

The scheduler translates user intent—provided via keyboard commands, motion stitching, or live video feeds—into a sequence of target "reference states."

Low-Level Motion Executor

The executor is the core RL policy, trained to output joint torques that drive the character to match target states while adhering to physical laws. Key innovations include:

  • Torque-based Control: Using raw torque instead of PD controllers forces the network to learn fundamental physical features, reducing overfitting.
  • Constrained Multi-objective Reward Optimization: This approach prevents "reward hacking" by ensuring balanced optimization across various objectives like joint rotation and root position.
  • Motion Balancer: A hierarchical sampling tree ensures the model learns effectively from imbalanced datasets (e.g., many walking clips vs. few acrobatic ones).
  • Reactive State Initialization (RSIS): Starting characters in slightly off-balance states during training encourages the emergent development of recovery skills.

Datasets and Training

The system was trained primarily on the CMU Graphics Lab Motion Capture Database, encompassing 2,758 training motions (over 750,000 frames). Data was categorized into sub-datasets (RunJumpWalk, Casual, SportDance, etc.) to evaluate performance across different skill types. Crucially, 20% of the data was reserved to test generalization to unseen motions.

Key Results and Insights

UniCon demonstrates significant advancements in scalability and robustness:

  • Scalability: The model successfully learned nearly 3,000 motions, a substantial increase over prior state-of-the-art models like DeepMimic.
  • Zero-Shot Robustness: Characters controlled by UniCon can resist projectile impacts and adapt to changes in body mass (up to 25% variance) without specific retraining.
  • Interactive Versatility: The framework enables real-time "teleportation" of human motion from video streams onto physics-based avatars and facilitates smooth transitions between disparate skills via keyboard input.
  • Generalization: Training on diverse data with RSIS allows recovery skills to emerge naturally, eliminating the need for separate recovery networks.

Discussion and Future Work

While UniCon represents a major step toward universal physics-based control, some limitations remain. The animation quality is currently bounded by the high-level scheduler; physically impossible targets provided by the scheduler cannot be perfectly resolved by the executor. Future research will focus on more complex environmental interactions (e.g., object manipulation) and training on larger, "in-the-wild" datasets extracted from sources like online video platforms.

Summary updated

BibTeX
@misc{wang2020unicon,
  author = {Tingwu Wang and Yunrong Guo and Maria Shugrina and Sanja Fidler},
  title = {{UniCon: Universal Neural Controller For Physics-based Character Motion}},
  year = {2020},
  eprint = {2011.15119},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.15119},
}
Figure