Compositional Transfer in Hierarchical Reinforcement Learning

Markus Wulfmeier, Abbas Abdolmaleki, Roland Hafner, Jost Tobias Springenberg, Michael Neunert, Noah Y. Siegel, Tim Hertweck, Thomas Lampe, Nicolas Heess, Martin A. Riedmiller

Introduction

Reinforcement Learning (RL) has demonstrated remarkable capabilities in controlled simulations, yet its application to physical robotics remains a significant challenge. Real-world environments demand high data efficiency and stability, as physical hardware is subject to wear and tear, and training time is constrained by real-world clock cycles. Furthermore, multi-task learning often suffers from negative interference, where progress in one task inadvertently degrades performance in another. To address these issues, researchers have developed Regularized Hierarchical Policy Optimization (RHPO), a framework designed to facilitate compositional transfer and robust learning in complex manipulation tasks.

Methods: The RHPO Framework

RHPO is built upon a hierarchical architecture that enforces a strict division of labor between high-level task selection and low-level motor execution. This modularity is achieved through three primary mechanisms:

1. Hierarchical Policy Architecture

The agent's policy is structured into two distinct levels. A high-level controller observes the task and selects which skill to employ, while a set of low-level mixture components (skills) executes the physical actions. This separation allows the robot to reuse fundamental motor skills across diverse tasks.

2. Information Asymmetry

A critical innovation in RHPO is the use of information asymmetry. As illustrated in the architecture diagram below, low-level skills are intentionally shielded from task-specific identifiers. They only receive observations related to the robot's physical state. This constraint forces the skills to learn general-purpose behaviors—such as reaching, grasping, or lifting—that are applicable across multiple scenarios rather than over-fitting to a single task.

The RHPO hierarchical architecture with information asymmetry.

3. Robust Off-Policy Learning

To maintain stability, RHPO utilizes a variant of Maximum A-Posteriori Policy Optimization (MPO) with trust-region constraints (KL-divergence) at both levels of the hierarchy. This ensures that policy updates remain incremental, preventing the catastrophic forgetting often associated with deep RL. Additionally, the system employs a form of hindsight for skills, where data from any task can be used to train every skill, maximizing data utility.

Experimental Evaluation

The researchers evaluated RHPO across several domains to test its versatility and efficiency:

  • Simulated Suites: Three distinct environments—Pile1 (7 tasks), Pile2 (10-block stacking), and Cleanup2 (13 tasks)—were used to measure multi-task performance.
  • DeepMind Control Suite: Single-task ablations were conducted on Humanoid-run and Humanoid-stand benchmarks.
  • Real-World Hardware: A physical Sawyer robot arm with a Robotiq gripper was tasked with learning cube stacking from scratch. The setup utilized raw sensor data and fiducial markers for object tracking.

Key Results and Insights

RHPO demonstrated significant improvements in both learning speed and final performance compared to monolithic baselines. In complex real-world "stack and leave" tasks, the framework achieved a 3x performance boost over standard methods.

Performance comparison on the LIFT_O1 task.

As shown in the LIFT_O1 benchmark (Figure 6), RHPO (pink curve) reaches higher average returns more quickly than independent or monolithic SAC-U baselines. On physical hardware, the system successfully learned to stack blocks within approximately one week of training—a feat that baseline methods failed to achieve in the same timeframe.

Key insights from the study include:

  • Compositionality: Modularizing policies prevents the need to relearn basic movements for every new task.
  • Stability through Constraints: Trust regions are essential for training on real hardware, where instability can lead to physical damage or total failure.
  • Multi-Task Synergy: While hierarchy is highly effective in multi-task settings, single-task scenarios require specific initialization or auxiliary rewards to prevent the model from collapsing into a flat policy.

Conclusion and Future Work

RHPO represents a significant step toward making deep RL practical for real-world robotics. By leveraging hierarchical structures and information asymmetry, the framework enables robots to acquire a library of reusable skills. Future research will explore multi-level hierarchies and automated methods for identifying the optimal set of basis behaviors to further enhance generalization across an even broader range of tasks.

Summary updated

BibTeX
@inproceedings{wulfmeier2020compositional,
  author = {Markus Wulfmeier and Abbas Abdolmaleki and Roland Hafner and Jost Tobias Springenberg and Michael Neunert and Noah Y. Siegel and Tim Hertweck and Thomas Lampe and Nicolas Heess and Martin A. Riedmiller},
  title = {{Compositional Transfer in Hierarchical Reinforcement Learning}},
  booktitle = {Robotics: Science and Systems},
  year = {2020},
  doi = {10.15607/rss.2020.xvi.054},
}
Figure