Goal Space Abstraction in Hierarchical Reinforcement Learning via Set-Based Reachability Analysis

Mehdi Zadem, Sergio Mover, Sao Mai Nguyen · DOI

Introduction

Hierarchical Reinforcement Learning (HRL) decomposes complex, long-horizon tasks into a hierarchy of subproblems. A high-level agent (manager) sets subgoals, while a low-level agent (worker) executes actions to achieve them. While effective for sparse-reward environments, HRL faces a significant challenge: the "goal discovery" problem. Most existing methods either rely on manually defined goal spaces—which limits scalability—or use the raw, continuous state space as the goal space, which is often too high-dimensional and noisy for efficient high-level planning.

This paper introduces GARA (Goal Abstraction via Reachability Analysis), a framework that automatically discovers symbolic, discrete goal representations from continuous environments. By leveraging formal verification techniques, GARA partitions the state space into interpretable regions, improving data efficiency and enabling transfer learning.

Methodology: Reachability-Based Abstraction

GARA operates within a Feudal HRL architecture where the high-level policy selects a discrete "goal set" (a region in space), and the low-level policy (a Universal Value Function Approximator) attempts to reach it. The core innovation lies in how these goal sets are defined and refined using Set-Based Reachability Analysis.

The $k$-Forward Model and Stability

The algorithm trains a neural network to predict the agent's state after $k$ steps of following the low-level policy. To discretize the space, GARA seeks "stable" regions. A region is considered stable if the low-level policy behaves consistently across all states within it—specifically, if states within the region are likely to reach the same target set.

Recursive Splitting via Formal Verification

GARA uses a formal verification tool, Ai2, to analyze the $k$-forward neural network. It performs a "preimage" calculation to identify which starting states reach a specific target. If a region is found to be "unstable"—meaning only a portion of the states within it reach the target—the algorithm recursively splits that region into smaller, more stable subsets.

The recursive splitting logic: regions are partitioned based on reachability thresholds to ensure stability within each goal set.

This process gradually transforms the continuous environment into a directed graph of reachable goals. Initial goal sets are seeded using DBSCAN clustering on frequently visited areas, providing a starting point for the refinement process.

Experimental Evaluation

The authors evaluated GARA on two continuous navigation benchmarks with sparse rewards: a U-shaped Maze and a 4-Rooms Maze. The state space includes position $(x, y)$ and velocity $(v_x, v_y)$, creating a 4D continuous challenge.

Key Results

  1. Improved Data Efficiency: In the U-maze, GARA significantly outperformed HIRO, a state-of-the-art HRL baseline. HIRO's difficulty stemmed from the complexity of picking subgoals in a continuous 4D space, whereas GARA’s discrete regions simplified the high-level decision-making process.
  2. Transferability: A major strength of GARA is its ability to transfer learned abstractions. The goal representation learned in the U-maze was successfully applied to the 4-rooms maze. GARA with transfer (GARA-T) performed nearly as well as agents using manually handcrafted representations.
  3. Interpretability: The learned goal spaces are human-readable, typically represented as axis-aligned boxes (intervals) across position and velocity.
The final learned goal space abstraction for the 4-rooms maze using GARA-T, demonstrating how the environment is partitioned into functional regions.

Discussion and Limitations

GARA demonstrates that stability can serve as a mathematical proxy for "symbol emergence." By defining symbols as regions where specific action sequences produce predictable outcomes, the agent builds a functional "mental map" of its environment.

However, some limitations remain. Currently, GARA represents goal sets as simple intervals, which may not capture non-convex or highly complex regions. Additionally, the computational cost of reachability analysis scales with dimensionality, posing challenges for high-dimensional robotic tasks or pixel-based inputs. Future work will explore more flexible set representations to extend GARA's applicability to even more complex domains.

Summary updated

BibTeX
@inproceedings{zadem2023goal,
  author = {Mehdi Zadem and Sergio Mover and Sao Mai Nguyen},
  title = {{Goal Space Abstraction in Hierarchical Reinforcement Learning via Set-Based Reachability Analysis}},
  booktitle = {ICDL},
  year = {2023},
  url = {https://openreview.net/forum?id=pd0cgjSE7F},
}
Figure