Computationally Efficient Horizon-Free Reinforcement Learning for Linear Mixture MDPs

Dongruo Zhou, Quanquan Gu

Introduction

In Reinforcement Learning (RL), the "horizon" ($H$) represents the number of steps in an episode. Traditionally, the difficulty of an RL problem—measured by "regret," or the difference in performance between an optimal agent and the learner—scales polynomially with $H$. This phenomenon is often referred to as the "curse of horizon."

Recent breakthroughs have demonstrated that for tabular MDPs (where states and actions are small enough to fit in a table), it is possible to design "horizon-free" algorithms where regret only depends on $H$ logarithmically. However, real-world problems feature massive state spaces that require function approximation, such as linear models.

Until this paper, existing horizon-free algorithms for linear models forced researchers to choose between two significant compromises:

  1. Statistical Inefficiency: The regret still scaled poorly with the horizon.
  2. Computational Inefficiency: The algorithms required solving non-convex optimization problems, making them practically impossible to compute in a reasonable timeframe.

This paper bridges this gap, introducing the first computationally efficient "horizon-free" reinforcement learning algorithm for linear mixture Markov Decision Processes (MDPs). By using a novel variance-and-uncertainty-aware weighting scheme, the authors achieve near-optimal regret that does not explode as the planning horizon increases.

Proposed Methods

The authors propose two primary algorithms: WeightedOFUL+ (for linear bandits) and HF-UCRL-VTR+ (for RL). The core innovation lies in how they estimate the unknown dynamics of the environment.

Variance-Uncertainty-Aware Weighting

Standard algorithms use weighted least squares to estimate model parameters. This paper introduces a weighting mechanism that considers both the variance of the noise and the uncertainty of the current estimate. This dual-awareness allows the algorithm to build tighter, convex "confidence sets" around its estimates using a refined version of the Bernstein-type inequality. Because these confidence sets remain ellipsoidal (convex), they can be optimized over efficiently using standard quadratic programming, bypassing the computational bottlenecks of prior work.

High-order Moment Estimator (HOME)

To achieve horizon-free bounds in RL, an algorithm needs highly precise estimates of the variance of the transition dynamics. Since the true variance is unknown, the authors introduce a recursive technique to estimate higher-order moments of the value function. By estimating the $2^m$-th moment using the $(2^{m+1})$-th moment, they can "bootstrap" their way to high-precision variance estimates, tightening the bounds enough to remove the polynomial $H$ dependence.

Value Targeted Regression (VTR)

The authors build upon the VTR framework, which treats learning the transition model as a supervised regression problem where the "targets" are the estimated values of future states.

Key Results and Algorithm Comparison

Algorithm Comparison Table

The paper mathematically proves that complex RL problems can be as statistically and computationally efficient as simpler multi-armed bandit problems, provided the total reward in an episode is bounded.

  • Near-Optimal Regret: The proposed RL algorithm, HF-UCRL-VTR+, achieves a regret of $\tilde{O}(d\sqrt{K} + d^2)$, where $d$ is the dimension of the feature space and $K$ is the number of episodes. For the bandit setting, WeightedOFUL+ achieves an $\tilde{O}(d\sqrt{\sum_{k=1}^K \sigma_k^2} + d)$ regret.
  • Horizon-Free: The regret has only a polylogarithmic dependence on the horizon $H$, matching the efficiency of tabular methods but scaling to much larger, linear-represented state spaces.
  • Computational Efficiency: Unlike its predecessors (such as VARLin and VARLin2), HF-UCRL-VTR+ runs in polynomial time, making it practically implementable.
  • Theoretical Lower Bound: The authors proved a lower bound of $\Omega(d\sqrt{K})$, demonstrating that their algorithm's dependence on the number of episodes and dimensions is essentially optimal.

Limitations and Future Work

While a significant step forward, the paper outlines a few areas for future refinement:

  • Known Noise Variance in Bandits: For the simpler bandit case (WeightedOFUL+), the algorithm currently requires knowing the noise variance $\sigma_k$ beforehand. Extending this to unknown variances remains future work.
  • Gap in Tabular Specialization: When the algorithm is applied to a simple tabular MDP (by setting $d = |S|^2|A|$), the resulting regret is slightly higher than the best-known specialized tabular algorithms. Creating a single algorithm that is perfectly optimal for both general linear models and specific tabular cases is an open challenge.
  • Assumptions on Reward: The "horizon-free" property relies on the assumption that the total reward per episode is bounded by 1. If rewards scale linearly with $H$, the horizon-free property naturally vanishes.

Summary updated

BibTeX
@inproceedings{zhou2022computationally,
  author = {Dongruo Zhou and Quanquan Gu},
  title = {{Computationally Efficient Horizon-Free Reinforcement Learning for Linear Mixture MDPs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=wQvnxH9PoT},
}
Figure