A Provably Efficient Option-Based Algorithm for both High-Level and Low-Level Learning

Gianluca Drappo, Alberto Maria Metelli, Marcello Restelli

TL;DR

This paper introduces HLML (High-Level/Low-level Meta-Learning), the first hierarchical reinforcement learning algorithm that provably minimizes regret while simultaneously learning both high-level strategies and low-level option policies from scratch. By alternating learning phases between levels in geometrically increasing blocks, the authors provide a formal mathematical characterization of exactly when hierarchical learning outperforms standard "flat" reinforcement learning.

What Problem Does This Paper Address?

Hierarchical Reinforcement Learning (HRL) is highly effective at solving complex, long-horizon tasks by breaking them down into sub-tasks (known as options). However, existing theoretical guarantees for HRL usually "cheat" by assuming that a set of optimal, pre-trained options already exists, leaving the agent to only learn the high-level master policy.

In reality, an agent must learn both the high-level manager policy and the low-level worker policies simultaneously from scratch. This joint learning introduces a severe non-stationarity problem: from the manager's perspective, the workers' behaviors are constantly changing, and from the workers' perspective, the manager's goals are shifting. This paper provides the first rigorous theoretical framework and regret bounds to tackle this dual-learning challenge in finite-horizon settings.

Methods

The authors propose a two-layered approach consisting of a new base algorithm and a meta-learning schedule:

  1. Options-UCBVI (O-UCBVI): A novel model-based regret minimizer designed for Finite-Horizon Semi-Markov Decision Processes (FH-SMDPs). Standard backward induction fails here because options have random temporal durations. O-UCBVI solves this by introducing a unique backward-forward induction mechanism that projects value functions across variable time steps, paired with a tailored Bernstein-Freedman exploration bonus.
  2. High-Level/Low-Level Meta-Learning (HLML): The core meta-algorithm that coordinates the learning of both levels. Instead of updating both levels simultaneously, HLML divides time into $N$ distinct phases. In each phase, it freezes the low-level options and runs O-UCBVI to optimize the high-level policy, then freezes the high-level policy and runs standard UCBVI to optimize the low-level options. Crucially, the number of episodes in each phase grows geometrically ($2^{n-1}$), which mitigates non-stationarity and ensures convergence.
HLML Meta-Algorithm

Datasets

None used. This is a purely theoretical paper focused on proving mathematical regret upper bounds.

Key Insights and Ideas

  • Freezing to Fight Non-Stationarity: The "aha moment" of the meta-algorithm is that you can stabilize a two-level non-stationary system simply by alternating which level is allowed to learn, using geometrically expanding time blocks. This allows each level to treat the other as a stationary environment for long enough to minimize regret.
  • The Local-to-Global Alignment Assumption: To make HRL provably efficient, the authors introduce a structural assumption (Assumption 4.1): the optimal policies found by optimizing sub-tasks locally must align with the globally optimal policies of the flat problem. This mathematically formalizes why sub-task decomposition (like "driving" in the classic taxi problem) works without sacrificing overall optimality.
  • Quantifying the HRL Tipping Point: The paper explicitly defines the mathematical boundary where HRL becomes superior to flat RL. HRL wins when the number of options ($O$) is smaller than primitive actions ($A$), and their durations significantly shorten the effective planning horizon ($d \ll H$, where $d$ is the average number of options played per episode).

Key Results

  • O-UCBVI Regret Bound: The authors prove that O-UCBVI achieves a tight high-level regret bound of $\tilde{O}(H\sqrt{SOKd})$, where $S$ is the state space size, $K$ is the number of episodes, and $d$ is the average number of options played per episode. Because $d \ll H$, this is significantly smaller than flat RL bounds when options are fixed.
  • HLML Total Regret Bound: For the full simultaneous learning problem, HLML achieves a sublinear total regret bound of: $$\tilde{O}(C^L H \sqrt{SOKd} + C^H H_O \sqrt{OSAKH_O})$$ where $H_O$ is the maximum option duration, and $C^L, C^H$ are concentrability coefficients.

  • HRL vs. Flat RL: By comparing their bound against the flat RL lower bound, they show that HRL from scratch is provably more efficient whenever the option structure guarantees that $Od \ll AH$ and the normalized option duration is small.

Limitations and Future Work

The primary limitation of this work is its dependence on concentrability coefficients ($C^H$ and $C^L$) in the final regret bound. These coefficients account for the distribution shifts caused by freezing one policy layer while the other learns. They require that all state-stage pairs are visited with a non-zero probability under any policy, which might not hold in environments with sparse rewards or strict bottlenecks.

The authors note that a major direction for future work is determining whether these coefficients are merely an artifact of their proof techniques or an inherent mathematical penalty of learning two policy abstractions simultaneously.

Summary updated

BibTeX
@inproceedings{drappo2024provably,
  author = {Gianluca Drappo and Alberto Maria Metelli and Marcello Restelli},
  title = {{A Provably Efficient Option-Based Algorithm for both High-Level and Low-Level Learning}},
  booktitle = {RLC},
  year = {2024},
  url = {https://openreview.net/forum?id=8AWsxCNdIH},
}
Figure