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

Mehdi Zadem, Sergio Mover, Sao Mai Nguyen

Abstract

Open-ended learning benefits immensely from the use of symbolic methods for goal representation as they offer ways to structure knowledge for efficient and transferable learning. However, the existing Hierarchical Reinforcement Learning (HRL) approaches relying on symbolic reasoning are often limited as they require a manual goal representation. The challenge in autonomously discovering a symbolic goal representation is that it must preserve critical information, such as the environment dynamics. In this paper, we propose a developmental mechanism for goal discovery via an emergent representation that abstracts (i.e., groups together) sets of environment states that have similar roles in the task. We introduce a Feudal HRL algorithm that concurrently learns both the goal representation and a hierarchical policy. The algorithm uses symbolic reachability analysis for neural networks to approximate the transition relation among sets of states and to refine the goal representation. We evaluate our approach on complex navigation tasks, showing the learned representation is interpretable, transferrable and results in data efficient learning.

Introduction

One of the primary challenges in robotics and artificial intelligence is symbol emergence: the ability of an agent to autonomously partition a continuous, complex environment into discrete, meaningful symbols or "goals." While Hierarchical Reinforcement Learning (HRL) is designed to solve complex tasks by decomposing them into subgoals, most current systems rely on human designers to manually define these goals. This manual bottleneck limits the scalability and autonomy of HRL agents.

To address this, we introduce GARA (Goal Abstraction via Reachability Analysis), a developmental mechanism for goal discovery. GARA builds an emergent representation that abstracts sets of environment states with similar roles in a task, creating an interpretable and transferable goal space that captures the underlying dynamics of the world.

The GARA Framework

GARA utilizes a "Feudal" HRL architecture where a high-level policy (the "lord") selects targets for a low-level policy (the "serf"). The core innovation lies in how the algorithm refines the goal space partition using formal methods.

Set-Based Reachability Analysis

Instead of evaluating individual state points, GARA analyzes sets of states, typically represented as intervals or "boxes." The agent learns a k-Forward Model—a neural network that predicts the state after $k$ steps given a starting state and a target goal. Using the Ai2 formal verification tool, GARA computes the "preimage" of a goal to determine which states can successfully reach it.

The refinement process of the goal space partition based on reachability analysis.

Refining the Partition

Inspired by the concept of bisimulation, GARA groups states that behave identically under the current policy. If the reachability analysis reveals that only a portion of a symbolic region can reach a target goal, the algorithm splits that region into "Reachable" and "Unreachable" components. This iterative refinement ensures that symbolic regions are stable and reliable for high-level planning.

Experimental Evaluation

We evaluated GARA on continuous navigation benchmarks with sparse rewards, where the agent only receives a signal upon reaching the final exit. The state space is 4-dimensional, comprising position $(x, y)$ and velocity $(v_x, v_y)$.

  • U-Shaped Maze: A standard test for navigation and obstacle avoidance.
  • 4-Rooms Maze: A complex environment used to test the transferability of learned goal representations.

Results and Discussion

Experimental results demonstrate that GARA significantly outperforms state-of-the-art HRL methods like HIRO in terms of data efficiency. By creating a discrete, structured goal space, GARA enables more effective exploration in sparse-reward environments.

Evolution of the goal space representation learned by GARA in a U-maze environment.

Interpretability and Transferability

Because the discovered goals are tied to physical regions and reachability, the resulting representation is a directed graph that is human-interpretable. One of the most significant findings is the transferability of these symbols. When an agent trained in a U-maze was moved to a 4-rooms maze, the transferred goal space (GARA-T) allowed for much faster learning than starting from scratch, as the underlying symbols for movement and velocity remained valid in the new layout.

Conclusion

GARA demonstrates that formal reachability analysis—traditionally used for safety verification—can be a powerful tool for structuring agent knowledge. While current limitations include the curse of dimensionality and convexity constraints for state sets, GARA represents a significant step toward autonomous symbol emergence in reinforcement learning. Future work will focus on extending these methods to higher-dimensional inputs and stochastic environments.

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