Learning Abstract Options

Matthew Riemer, Miao Liu, Gerald Tesauro

Reinforcement Learning (RL) agents often struggle with two major hurdles in complex environments: exploration and long-term credit assignment. If an agent only thinks in terms of "primitive actions" (e.g., individual motor torques or single grid moves), learning a complex task like "making a cup of coffee" becomes an impossibly long sequence of trial-and-error steps.

The Options Framework was originally designed to solve this by allowing agents to learn "options"—sequences of actions that represent high-level behaviors (like "walk to the kitchen"). However, most previous work, specifically the standard Option-Critic architecture, has been limited to a two-level hierarchy: one layer of options over primitive actions.

Because real-world tasks are often nested much deeper (e.g., "Make Coffee" $\rightarrow$ "Grind Beans" $\rightarrow$ "Push Button"), this paper introduces the Hierarchical Option-Critic (HOC) framework. HOC allows agents to autonomously learn an arbitrarily deep hierarchy of temporal abstractions end-to-end, using only the environment's reward signal and without requiring hand-crafted subgoals.

Methodology: The Hierarchical Option-Critic Architecture

The core technical contribution of the paper is the derivation of two generalized policy gradient theorems that enable learning at any hierarchical depth $N$:

  1. Hierarchical Intra-option Policy Gradient Theorem: This dictates how the agent should update its policy at any level of the hierarchy to maximize the expected return.
  2. Hierarchical Termination Gradient Theorem: This determines when a specific option at any level should stop, allowing a higher-level option to select a new one.
The Hierarchical Option-Critic (HOC) architecture, illustrating top-down policy selection and multi-level gradient updates.

HOC relies on a "call-and-return" structure characterized by two key features:

  • Top-Down Selection: A high-level option picks a mid-level option, which in turn picks a low-level option, eventually cascading down to a primitive action.
  • Bottom-Up Termination: Crucially, a high-level option can only terminate if all the options below it have finished. By forcing higher-level options to wait for lower-level ones, the hierarchy naturally organizes itself into different temporal resolutions (e.g., seconds vs. minutes).

Unlike many hierarchical RL methods, HOC does not rely on intrinsic rewards or pre-defined subgoals. It learns the entire structure simply by trying to maximize the final environmental reward.

Experimental Insights

The authors evaluated HOC across four distinct environments, ranging from tabular navigation to complex multi-task benchmarks.

  • Efficiency over Parameters: The authors ensured that their 3-level HOC didn't outperform baselines simply by having more parameters. In many tests, a 2-level version actually had more total options available, yet the 3-level version still learned faster and reached higher scores. This suggests that the hierarchical structure itself acts as a powerful inductive bias.
  • Specialization through Hierarchy: In multi-task Atari experiments, high-level options learned to specialize in types of games (e.g., one option for maze-like games, another for shooters), while low-level options handled specific maneuvers within those games.
  • Interpretability: The agent learned different "rhythms" for different games. For example, in Tutankham, high-level options switched every ~9.7 steps, while in BeamRider, they switched every ~3.2 steps, showing the hierarchy adapts its abstraction level to the task's complexity.

Key Results

The HOC architecture demonstrated significant improvements in both navigation and complex multi-tasking:

  • Multistory Building Navigation: In a partially observed 11x17 grid across a 7-level building, the agent had to find stairs to move between floors and reach a roof goal. HOC ($N=3$) successfully learned to navigate to the roof, while standard Option-Critic ($N=2$) and primitive Actor-Critic ($N=1$) failed to achieve any significant reward, essentially only learning not to hit walls.
  • Multi-task Atari 21: A single agent was trained to play 21 different Atari games simultaneously. HOC achieved a mean clipped reward of 13.12, significantly outperforming the Asynchronous Advantage Option-Critic (A2OC) and the standard A3C (primitive actions).
Performance comparison on the Multi-task Atari 21 benchmark, showing A2HOC outperforming baseline architectures.

Limitations and Future Work

While HOC represents a significant step forward for hierarchical RL, it has limitations. The number of levels ($N$) is a fixed hyperparameter that must be set in advance; in simpler tasks, adding too many levels can lead to diminishing returns. Furthermore, while the paper proves the necessary gradients exist, implementing very deep hierarchies (e.g., $N=10$) significantly increases the computational complexity of the critic (value function).

Future work will likely focus on dynamic hierarchies that can organically grow or shrink based on the complexity of the data, removing the need to hardcode the architectural depth in advance.

Summary updated

BibTeX
@inproceedings{riemer2018learning,
  author = {Matthew Riemer and Miao Liu and Gerald Tesauro},
  title = {{Learning Abstract Options}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=BJbN0wWubH},
}
Figure