DHP: Discrete Hierarchical Planning for Hierarchical Reinforcement Learning Agents

Shashank Sharma, Janina Hoffmann, Vinay P. NamboodiriarXiv 2025 · DOI

Abstract

Hierarchical Reinforcement Learning (HRL) aims to solve long-horizon tasks by decomposing them into subgoals. Traditional HRL often relies on continuous temporal distance metrics, which suffer from coupled learning dynamics and exploratory mismatch. We present Discrete Hierarchical Planning (DHP), a framework that replaces continuous distance estimation with a binary "reachability" check. By utilizing recursive tree-structured planning and a "weakest link" reward scheme, DHP demonstrates significant performance improvements, achieving a 100% success rate in complex 2D navigation and substantial gains in high-dimensional humanoid benchmarks.

Introduction

The primary challenge in HRL is the effective decomposition of long-range goals into manageable subtasks. Most existing agents utilize continuous temporal distance metrics—estimating the number of steps between states. However, these estimates are often unreliable because they are tightly coupled with the current, potentially suboptimal, policy. Furthermore, the rewards for exploration often conflict with the objective of precise distance measurement. In high-dimensional visual environments, these errors compound, leading to planning failures.

Methodology: Discrete Hierarchical Planning

DHP shifts the focus from "how far" to "can I reach it?" using discrete reachability.

Agent Architecture and GCSR

The core of DHP is the Goal-Conditioned State Recall (GCSR) module. It employs a Conditional Variational AutoEncoder (CVAE) to predict a "midway" state between a start and a goal. This process is applied recursively to construct a hierarchy of subgoals.

The DHP agent architecture, including the GCSR module and subgoal prediction mechanism.

Unlike standard RL which sums rewards, DHP calculates the return of a planning node as the minimum of its children’s returns. This "weakest link" logic ensures a plan is only deemed successful if every constituent subtask is feasible. A subtask receives a reward of 1 if the agent can reach the subgoal within a fixed horizon $K$ in imagination; otherwise, it receives 0.

Recursive tree-structured planning in DHP, showing the decomposition of a goal into a hierarchy of subgoals.

Experimental Evaluation

DHP was evaluated across several diverse domains:

  • 25-Room Navigation: Long-range planning from 64x64 pixel observations.
  • OGBench: Includes high-dimensional tasks like AntMaze and HumanoidMaze (Large and Giant), involving up to 17 degrees of freedom.
  • RoboYoga: Momentum-based orientation tasks for Walker and Quadruped agents.
  • Lightsout Puzzle: A combinatorial logic puzzle testing raw planning capability.

Key Results and Insights

  • Performance Gains: DHP achieved a 100% success rate in the 25-room maze. On the "Giant" HumanoidMaze, it delivered a 71.2% absolute performance gain over the previous state-of-the-art method, HIQL.
  • Local vs. Global Learning: Learning local reachability (e.g., within 8 steps) is significantly more robust than estimating global distances across hundreds of steps.
  • Efficiency: The tree-structured approach allows for logarithmic replanning complexity ($\log N$), making it suitable for real-time applications.
  • Zero-Shot Generalization: The learned value function generalizes to deeper planning trees than those seen during training.

Limitations and Future Work

While DHP is highly effective, it faces challenges with "hallucinations" in the online version, where the CVAE might predict plausible but physically unreachable states. Current mitigation involves using an offline goal buffer. Future work will focus on improving online state prediction, scaling exploration in open-ended environments, and extending the framework to handle dynamic goals and multimodal instructions.

Summary updated

BibTeX
@misc{sharma2025dhp,
  author = {Shashank Sharma and Janina Hoffmann and Vinay P. Namboodiri},
  title = {{DHP: Discrete Hierarchical Planning for Hierarchical Reinforcement Learning Agents}},
  year = {2025},
  eprint = {2502.01956},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.01956},
}
Figure