Provable Hierarchy-Based Meta-Reinforcement Learning

Kurtland Chua, Qi Lei, Jason D. Lee

Introduction

Reinforcement Learning (RL) faces significant hurdles in environments requiring long-term planning or exploration through sparse bottlenecks—such as a robot navigating a complex building where it must pass through specific doors to reach new wings. While Hierarchical RL (HRL) offers a solution by decomposing tasks into reusable "skills," most existing methods rely on human-designed hierarchies or black-box heuristics that lack theoretical guarantees. This paper provides the first provable guarantees for learning hierarchical structures in a meta-RL setting, bridging the gap between empirical success and theoretical understanding.

Methodology: Optimistic Imagination

The authors propose that environments often share a latent hierarchy. In this model, the state space is partitioned into clusters. Transitions within a cluster are consistent across tasks, but transitions at "exits" (bottlenecks) vary between tasks. Identifying these exits is the key to mastering the environment's structure.

The Gated Four-Room environment, where bottleneck exits (colored arrows) connect distinct state clusters.

To discover these exits, the paper introduces Optimistic Imagination. The process involves three phases:

  1. Reward-Free Exploration: The agent learns the "boring" parts of the world—the task-independent dynamics within clusters.
  2. Counterfactual Analysis: The agent uses a modified Value Iteration called BOAT-VI (Borrowing Optimistically Across Tasks).
  3. Exit Detection: The agent "imagines" borrowing dynamics from other tasks. If this borrowed knowledge significantly improves predicted rewards, the agent identifies the state-action pair as a critical bottleneck (an exit).

Key Results: Efficiency and Regret

The primary contribution is the proof of an exponential regret separation. In complex environments like deep binary trees, a standard RL agent suffers regret that grows exponentially with the horizon ($\Omega(2^{H/2})$). In contrast, an agent utilizing the learned hierarchy achieves regret that scales polynomially ($O(\sqrt{H^2N})$).

Comparison of paths using the learned hierarchy ($\pi^*$) versus a standard exploration strategy ($\pi_I$) in a navigation task.

Empirically, the algorithm demonstrated perfect accuracy in the "Gated Four-Room" benchmark, detecting 100% of the gates with zero false positives. This validates that the theoretical "optimistic imagination" translates effectively to practical discovery of environment structure, allowing for sample-efficient recovery of the latent hierarchy.

Discussion and Future Work

While this work establishes a rigorous foundation for HRL, it currently operates within the tabular setting (discrete states and actions). Scaling these provable guarantees to continuous state spaces common in deep RL remains a major challenge. Additionally, the theory assumes clusters are reachable during training; exploring hierarchy discovery in extremely sparse-reward environments where some areas are almost impossible to reach is a promising direction for future research.

Summary updated

BibTeX
@inproceedings{chua2023provable,
  author = {Kurtland Chua and Qi Lei and Jason D. Lee},
  title = {{Provable Hierarchy-Based Meta-Reinforcement Learning}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2023},
}
Figure