Hierarchical visuomotor control of humanoids

Josh Merel, Arun Ahuja, Vu Pham, Saran Tunyasuvunakool, Siqi Liu, Dhruva Tirumala, Nicolas Heess, Greg Wayne

Abstract

Training high-degree-of-freedom (DoF) humanoids to navigate complex 3D environments using only egocentric vision is a significant challenge in reinforcement learning. This paper presents a hierarchical architecture that decouples high-level visual reasoning from low-level motor execution. By sequencing short, pre-trained "control fragments" derived from human motion capture data, a 56-DoF humanoid agent successfully learns to perform sophisticated tasks such as gap jumping, obstacle avoidance, and maze navigation—scenarios where traditional end-to-end reinforcement learning methods typically fail.

Introduction

In Deep Reinforcement Learning (RL), researchers frequently encounter the "dual curse of dimensionality": the simultaneous requirement to process high-dimensional sensory inputs (such as raw pixel data from a first-person camera) and manage high-dimensional action spaces (such as the dozens of joints in a humanoid body). While RL has succeeded in training vision-based policies for simpler agents or complex bodies using clean state data, mastering both from scratch is notoriously unstable.

Furthermore, a camera mounted on a running humanoid's head bounces violently, creating a noisy visual stream that is difficult to process. This research aims to bridge the gap between low-level motor control—often the domain of animation and robotics—and high-level visual reasoning to create a fully integrated, embodied agent capable of perception, memory, and action.

Methods: A Hierarchical Approach

The authors propose a hierarchical architecture that factors the control problem into two distinct levels: a low-level "motor cortex" and a high-level visual "commander."

Low-Level Motor Control (The "Motor Cortex")

Instead of learning basic locomotion from scratch, the agent first learns to imitate human motion capture (mocap) data using proprioceptive inputs like joint angles and velocities. The authors explored three distinct ways to structure these low-level skills:

  • Steerable Controller: A single policy that executes a behavior (like running) but accepts a continuous parameter to modulate its turning radius.
  • Switching Controller: A policy trained to switch between full, discrete behaviors (e.g., running straight, turning left) at the end of a gait cycle, guided by a hand-designed transition graph.
  • Control Fragments: The most successful approach, where mocap clips are chopped into tiny, 0.1-second "micro-behaviors." Transitions between these fragments occur without explicit training or blending, a method the authors call "cold-switching."
Low-level motor control through imitation of motion capture data.

High-Level Controller (The "Commander")

The high-level policy receives raw egocentric RGB images processed via a ResNet, alongside proprioceptive data and past rewards. These inputs are fed into a Long Short-Term Memory (LSTM) network to provide the agent with temporal memory. Every few timesteps, the commander outputs a discrete choice, selecting which low-level Control Fragment to execute next. This abstraction allows the high-level policy to focus on navigation and task strategy rather than the mechanics of balance.

Comparison of hierarchical control architectures: Steerable (A), Switching (B), and Control Fragments (C, D).

Evaluation and Tasks

The agents were evaluated in the MuJoCo physics engine using a 56-DoF humanoid model. Training data for the motor cortex was sourced from the CMU Motion Capture Database. The agents faced several challenging 3D environments:

  • Walls and Gaps: Navigating around solid obstacles and jumping across separated platforms.
  • Forage: A procedurally generated maze where the agent must collect reward objects.
  • Heterogeneous Forage: A memory-intensive task where the agent must probe objects to learn which color yields a positive reward in the current episode and then adapt its strategy accordingly.

Key Insights and Results

The Power of Control Fragments

The discrete selection of Control Fragments outperformed both the Steerable and Switching controllers across all core tasks. This approach allowed for sharper turns and more rapid adjustments to the environment. Remarkably, the system scaled to manage a repertoire of 359 distinct fragments—including eight different types of jumps—to navigate the Gaps task.

"Cold-Switching" and Hierarchy

Historically, animation has relied on hand-crafted transition graphs to blend movements smoothly. This paper demonstrates that if behaviors are fragmented into small enough pieces (roughly 0.09 seconds), a high-level RL policy can learn to sequence them effectively without explicit transition training. Furthermore, the authors found that hierarchy is mandatory; end-to-end RL mapping pixels directly to joint torques failed entirely on the complex Forage tasks.

Robustness to Visual Noise

Despite the significant "head bounce" inherent in humanoid locomotion, the ResNet + LSTM architecture successfully extracted stable sensorimotor affordances. In the Heterogeneous Forage task, the agent used its memory to recall randomized reward associations, altering its physical trajectory in real-time based on a single initial interaction.

Limitations and Future Work

While highly effective, the "cold-switching" method results in movements that appear jittery and less graceful than traditional animation. Future work will focus on automatically reducing these artifacts without requiring intensive human labor. Additionally, the authors aim to apply this hierarchical foundation to compositional tasks involving object manipulation while walking.

Summary updated

BibTeX
@inproceedings{merel2019hierarchical,
  author = {Josh Merel and Arun Ahuja and Vu Pham and Saran Tunyasuvunakool and Siqi Liu and Dhruva Tirumala and Nicolas Heess and Greg Wayne},
  title = {{Hierarchical visuomotor control of humanoids}},
  booktitle = {International Conference on Learning Representations},
  year = {2019},
  url = {https://openreview.net/forum?id=onHV8xdVB2},
}
Figure