The Option-Critic Architecture

Pierre-Luc Bacon, Jean Harb, Doina Precup

Abstract

Temporal abstraction is key to scaling up learning and planning in reinforcement learning. While planning with temporally extended actions is well understood, creating such abstractions autonomously from data has remained challenging. We tackle this problem in the framework of options [Sutton, Precup and Singh, 1999; Precup, 2000]. We derive policy gradient theorems for options and propose a new option-critic architecture capable of learning both the internal policies and the termination conditions of options, in tandem with the policy over options, and without the need to provide any additional rewards or subgoals. Experimental results in both discrete and continuous environments showcase the flexibility and efficiency of the framework.

Introduction

In reinforcement learning (RL), agents typically learn to map states to primitive actions at every time step. However, complex tasks often require reasoning at multiple time scales—a concept known as temporal abstraction. While the Options Framework provides a mathematical foundation for such abstractions, discovering these options autonomously has traditionally required manually defined subgoals or auxiliary rewards. These manual methods often fail to scale to high-dimensional or continuous state spaces.

The Option-Critic architecture addresses this limitation by enabling an agent to learn what options should be, how to execute them, and when to terminate them, all simultaneously using only the external task reward. This end-to-end approach avoids the scalability issues of combinatorial discovery methods and generalizes to complex environments like Atari games.

The Option-Critic Architecture

The architecture extends the classic actor-critic framework. The "critic" estimates the value of state-option pairs, while the "actor" is responsible for two distinct components of the hierarchy updated via new policy gradient theorems:

  1. Intra-option Policy Gradient: This updates the internal policy of an option—the mapping from states to primitive actions—to maximize the overall expected return.
  2. Termination Gradient: This novel component learns the termination condition for each option. Mathematically, it suggests an option should terminate if its continuation value is lower than the expected value of switching to a new option (the advantage is negative).
The Option-Critic Architecture diagram showing the interaction between the policy over options, intra-option policies, and the critic.

This structure allows for flexible implementation, ranging from tabular representations to deep neural networks with shared convolutional features for high-dimensional input.

Experimental Results

The framework was evaluated across several domains, including navigation tasks and high-dimensional Atari games.

Adaptation in the Four-Rooms Domain

In the classic four-rooms gridworld, the agent must navigate to a goal. A key test of temporal abstraction is the ability to adapt to environmental changes. When the goal location was suddenly moved after 1000 episodes, the Option-Critic agent demonstrated significantly faster recovery compared to standard Actor-Critic or SARSA agents. This suggests that the learned options represent general-purpose skills that remain useful even when the specific task objective changes.

Performance comparison in the Four-rooms domain. The Option-Critic (OC) agents adapt much faster than baselines after the goal is moved at episode 1000.

High-Dimensional Control in Atari

The architecture was also applied to the Arcade Learning Environment (ALE). In games like Seaquest and Zaxxon, Option-Critic outperformed the standard Deep Q-Network (DQN). Notably, the agent learned specialized behaviors without explicit supervision; for instance, in Seaquest, specific options emerged for surfacing to replenish oxygen versus engaging enemies.

Discussion and Future Work

The Option-Critic architecture represents a significant step toward autonomous hierarchical RL. By deriving gradient theorems for all components of the options framework, the authors enable the discovery of abstractions that are optimized for the final task without incurring a performance penalty during initial learning.

However, several challenges remain. A theoretical tendency for options to "shrink" to primitive actions requires regularization (e.g., entropy or margin-based penalties). Additionally, while the current model assumes all options are available everywhere, future work could involve learning "initiation sets" to restrict options to relevant regions of the state space. Finally, automating the selection of the number of options remains an open area for research.

Summary updated

BibTeX
@inproceedings{bacon2017option,
  author = {Pierre-Luc Bacon and Jean Harb and Doina Precup},
  title = {{The Option-Critic Architecture}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  url = {https://openreview.net/forum?id=B1ZVEClOZS},
}
Figure