Context-Specific Representation Abstraction for Deep Option Learning

Marwa Abdulhai, Dong-Ki Kim, Matthew Riemer, Miao Liu, Gerald Tesauro, Jonathan P. How

Abstract

Hierarchical reinforcement learning has focused on discovering temporally extended actions, such as options, that can provide benefits in problems requiring extensive exploration. One promising approach that learns these options end-to-end is the option-critic (OC) framework. We examine and show in this paper that OC does not decompose a problem into simpler sub-problems, but instead increases the size of the search over policy space with each option considering the entire state space during learning. This issue can result in practical limitations of this method, including sample inefficient learning. To address this problem, we introduce Context-Specific Representation Abstraction for Deep Option Learning (CRADOL), a new framework that considers both temporal abstraction and context-specific representation abstraction to effectively reduce the size of the search over policy space. Specifically, our method learns a factored belief state representation that enables each option to learn a policy over only a subsection of the state space. We test our method against hierarchical, non-hierarchical, and modular recurrent neural network baselines, demonstrating significant sample efficiency improvements in challenging partially observable environments.

Introduction

Hierarchical Reinforcement Learning (HRL) aims to decompose complex, long-horizon tasks into manageable sub-tasks, commonly referred to as options. While frameworks like Option-Critic (OC) have successfully enabled end-to-end learning of these temporal abstractions, they often suffer from a critical oversight: the lack of state abstraction. In standard OC implementations, every option is forced to process the entire state space. Mathematically, if an agent has $|\Omega|$ options, the resulting search space for policies becomes significantly larger than that of non-hierarchical learning. This often leads to "lazy" options that fail to specialize, resulting in poor sample efficiency and unstable learning.

Methodology: The CRADOL Framework

To overcome the limitations of standard OC, we propose CRADOL (Context-Specific Representation Abstraction for Deep Option Learning). CRADOL integrates temporal abstraction with context-specific representation abstraction, allowing each option to focus only on the environmental factors relevant to its specific sub-goal.

Factored Belief States

The core of CRADOL is the learning of a factored belief state. Instead of a monolithic hidden state, the agent's internal world model is divided into independent "mechanisms" using Recurrent Independent Mechanisms (RIMs). These $K$ separate LSTM modules specialize in different aspects of the environment.

Option Attention and Sparse Communication

A learnable Option Attention Module maps each active option to a specific subset of these mechanisms. When an option is selected, it only observes and updates its assigned factors. Information sharing between mechanisms is kept sparse, ensuring that specialization is maintained (e.g., one mechanism tracks a key's location while another tracks door status).

Conceptual overview of CRADOL: Options like 'Get Key' or 'Open Door' are mapped to specific subsets of factored state representations (circles), effectively reducing the policy search space complexity.

Key Insights: Complexity Reduction

The primary theoretical contribution of CRADOL is the reduction of the policy search space. By employing context-specific abstraction, the sum of the complexities of all sub-policies becomes smaller than the complexity of a single, flat policy. This "divide and conquer" approach to state representation ensures that options naturally claim specific mechanisms, leading to more distinct and durable behaviors.

Experimental Evaluation

We evaluated CRADOL across three environments designed to test abstraction capabilities:

  1. MiniGrid (KeyDoor): A partially observable grid world requiring the agent to find a key and unlock a door. CRADOL achieved a success reward of 0.87, significantly outperforming standard OC (0.55) and flat A2C (0.04).
  2. Moving Bandit: A navigation task with noisy "distractor" goals. CRADOL demonstrated superior robustness, successfully ignoring irrelevant features that caused performance degradation in standard OC.
  3. Reacher (Sparse Reward): A robotic arm task with a low-dimensional state space. Here, CRADOL performed similarly to OC, highlighting that the benefits of factoring are most pronounced in high-dimensional or noisy environments where abstraction is possible.

Conclusion and Future Work

CRADOL demonstrates that state abstraction is as vital as temporal abstraction in HRL. By forcing options to specialize on relevant factors, we achieve significant gains in sample efficiency and robustness. Future research will explore dynamic adjustment of the number of mechanisms and the integration of learned initiation sets to further prune the policy search space.

Summary updated

BibTeX
@inproceedings{abdulhai2022context,
  author = {Marwa Abdulhai and Dong-Ki Kim and Matthew Riemer and Miao Liu and Gerald Tesauro and Jonathan P. How},
  title = {{Context-Specific Representation Abstraction for Deep Option Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  url = {https://openreview.net/forum?id=Bfq_G1ApyCh},
}
Figure