Learning Reusable Options for Multi-Task Reinforcement Learning

Francisco M. Garcia, Chris Nota, Philip S. ThomasarXiv 2020

Abstract

Reinforcement Learning (RL) agents typically operate on low-level primitive actions, leading to high sample complexity in complex environments. This paper introduces a framework to automatically discover "options"—temporally extended macro-actions—from a set of previously solved tasks. By optimizing an objective that balances trajectory likelihood, decision parsimony, and option diversity, the framework builds a library of reusable skills. Experimental results in the Four Rooms grid-world and Atari 2600 games show that these learned options significantly accelerate learning in new, related tasks, outperforming existing state-of-the-art option discovery methods like Eigenoptions and Option-Critic.

Introduction

Standard RL agents often struggle with the "data-hungry" nature of learning from scratch. While humans utilize temporal abstractions—high-level skills like "walking to a door" composed of many individual muscle movements—agents usually process every individual step. This work addresses the challenge of automatically discovering these abstractions to improve transfer learning across related tasks. The goal is to learn a reusable library of options from prior experience to make future learning more efficient.

Methodology

The authors propose an offline framework to learn options from trajectories of solved tasks. The core is a novel optimization objective, $\hat{J}$, designed to find options that are both effective and efficient.

Optimization Objective

The objective function balances three primary components:

  1. Likelihood: Ensures learned options can accurately reconstruct successful behaviors from training data.
  2. Parsimony: Minimizes the frequency of switching between options (terminations), encouraging the discovery of "long" macro-actions that capture meaningful sub-routines.
  3. Diversity: Uses a KL-divergence regularizer to ensure the library contains a varied set of behaviors rather than redundant skills.

Incremental Discovery

To avoid manually specifying the number of options, the algorithm starts with primitive actions and adds one option at a time. New options are incorporated only if they provide a significant improvement to the overall objective, allowing the agent to grow its skill library dynamically.

Training progression in the Four Rooms environment. The blue line shows the decreasing number of decisions needed as more options are added, while the red line shows the increasing probability of reproducing successful trajectories.

Experimental Results

The framework was evaluated on the Four Rooms grid-world and Atari 2600 games (Breakout and Amidar).

Four Rooms Performance

In the Four Rooms navigation task, the proposed method ("Option Learned + KL") demonstrated superior sample efficiency. It reached optimal performance significantly faster than agents using only primitive actions or those using alternative discovery methods. Visualizing the learned options shows they naturally align with the environment's geometry, such as navigating through hallways or moving toward specific corners.

Average performance on Four-Room testing tasks. The red dashed line (Option Learned + KL) shows the fastest convergence to optimal return compared to primitive actions and other baseline methods.

Atari Scalability

In Atari Breakout, the agent using learned options showed a much steeper learning curve in the early stages. The options specialized in critical sub-tasks, such as tracking the ball, which jump-started the exploration process in a way that primitive actions could not. This demonstrates the framework's ability to scale to high-dimensional, pixel-based inputs.

Discussion and Limitations

While the framework shows strong results, it currently operates in an offline setting, requiring pre-collected trajectories. Future work could extend this to an online setting where options are discovered and refined during active learning. Additionally, the sensitivity of the objective function to hyperparameters like the diversity weight suggests a need for more automated tuning methods.

Conclusion

This paper demonstrates that learning a library of reusable options through decision parsimony and trajectory likelihood is a powerful way to enhance RL efficiency. By discovering high-level skills that generalize across tasks, agents can significantly reduce the amount of data needed to master new environments.

Summary updated

BibTeX
@misc{garcia2020learning,
  author = {Francisco M. Garcia and Chris Nota and Philip S. Thomas},
  title = {{Learning Reusable Options for Multi-Task Reinforcement Learning}},
  year = {2020},
  eprint = {2001.01577},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.01577},
}
Figure