State Space Decomposition and Subgoal Creation for Transfer in Deep Reinforcement Learning

Himanshu Sahni, Saurabh Kumar, Farhan Tejani, Yannick Schroecker, Charles Lee Isbell Jr.arXiv 2017

Abstract

Deep Reinforcement Learning (RL) often struggles with generalization across varying state space dimensions. This paper introduces a hierarchical framework utilizing a meta-controller with a recurrent attention mechanism to decompose large environments into localized subtasks. By focusing on a constrained "glimpse" of the environment and generating subgoals for a lower-level agent, the proposed architecture enables efficient learning in dynamic environments and provides a pathway for skill transfer between domains of different scales.

Introduction

Standard Deep Reinforcement Learning (RL) agents often exhibit brittleness, with policies typically tied to specific reward functions and fixed state dimensions. When transitioned from small-scale training environments to larger, more complex spaces, the resulting state space explosion usually leads to policy failure. This research addresses the challenge of generalization and scale by proposing a hierarchical reinforcement learning (HRL) framework. The core objective is to enable agents to learn high-level strategies that remain invariant to the overall environment size by focusing exclusively on immediately relevant local information through state space decomposition.

Methodology

The proposed architecture consists of a two-tier hierarchy: a high-level meta-controller and a lower-level underlying agent.

Architecture of the State Processor Network and the hierarchical LSTM-based controller.

The Meta-Controller

The Meta-Controller functions as the system's strategic layer. Rather than processing the entire environment, it utilizes an attention mechanism—a $5\times5$ "glimpse" window—to observe parts of a $10\times5$ grid. A Long Short-Term Memory (LSTM) network maintains an internal representation of previously observed glimpses, allowing the controller to build a mental map of the environment. The meta-controller's primary outputs are the movement of the attention window and a specific subgoal (e.g., a target room color) for the worker agent.

The Underlying Agent

The Underlying Agent operates strictly within the $5\times5$ window provided by the meta-controller. In this study, the authors assume the agent possesses an optimal policy for these localized subtasks, which could be pre-trained using methods like Universal Value Function Approximators. This allows the research to focus specifically on the meta-controller's ability to decompose the state space.

Experimental Setup

The framework was evaluated in a custom Grid World environment featuring four colored rooms. Two primary paradigms were tested:

  1. Partial State Decomposition: The agent can move freely across the entire grid, but subgoals must reside within the meta-controller's current attention window.
  2. Constrained Attention: A more realistic and difficult setting where the agent can only move if both it and its subgoal are within the $5\times5$ glimpse. This requires the meta-controller to "shepherd" the agent across the map by iteratively moving the window.

Results and Discussion

Experimental results demonstrate that the meta-controller successfully converges to an optimal policy in all configurations, including dynamic environments where room layouts are randomized per episode.

Comparison of episode lengths across different meta-controller configurations and environment types.

While a meta-controller with global vision (no attention) converges fastest, the attention-based models prove that complex navigation tasks can be solved even with severely restricted sensory input. In the "Constrained" setup, the meta-controller learned a sophisticated shepherding behavior: it places the attention window over the agent, sets a subgoal to move the agent to the edge of that window, and then "steps" the window down the grid to lead the agent to the final destination. This behavior proves the model is not merely memorizing paths but is actively "reading" the environment through its attention window.

Conclusion

This work demonstrates that attention-driven state space decomposition is a viable strategy for managing large environments without requiring manual feature engineering. By limiting the agent's view, the system effectively transforms a large-scale problem into a series of manageable sub-problems. Future research will focus on training the underlying agent and meta-controller concurrently to create a fully end-to-end hierarchical system capable of operating in high-dimensional visual environments like 3D simulators and robotics.

Summary updated

BibTeX
@misc{sahni2017state,
  author = {Himanshu Sahni and Saurabh Kumar and Farhan Tejani and Yannick Schroecker and Charles Lee Isbell Jr.},
  title = {{State Space Decomposition and Subgoal Creation for Transfer in Deep Reinforcement Learning}},
  year = {2017},
  eprint = {1705.08997},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1705.08997},
}
Figure