Introduction
In reinforcement learning (RL), the fundamental challenge lies in balancing the exploration of unknown environments with the exploitation of known rewards. This balance is typically quantified through regret: the difference between the cumulative reward an optimal agent would achieve and the reward collected by the learning agent. While significant progress has been made in "ergodic" or "communicating" Markov Decision Processes (MDPs)—where an agent can eventually reach any state from any other—many real-world scenarios fall into the more complex category of weakly communicating MDPs. These environments may contain transient states or "trap" regions that are difficult or impossible to return from, posing a significant hurdle for traditional RL algorithms.
In this work, Peter L. Bartlett and Ambuj Tewari introduce REGAL (REGularization-based Algorithm for Reinforcement Learning), a theoretical framework that achieves near-optimal regret bounds in these broad environment classes. By shifting the focus from the physical "diameter" of the environment to the mathematical "span" of the bias vector, REGAL provides tighter performance guarantees than previously possible.
The Problem: Beyond Diameter
Previous state-of-the-art algorithms, such as UCRL2, relied heavily on the diameter ($D$) of an MDP to provide regret bounds. The diameter is defined as the maximum expected time required to transition between any two states. However, in weakly communicating MDPs, the diameter can be extremely large or even infinite, rendering diameter-based bounds loose or practically useless.
Furthermore, existing approaches often struggled with environments that were not strictly communicating. Weakly communicating MDPs are the most general class for which state-independent regret guarantees can be derived, making them a critical frontier for RL theory. The challenge is to find a metric that more accurately reflects the inherent difficulty of learning in these environments without relying on the restrictive assumption of a small diameter.
The REGAL Algorithm
REGAL introduces a novel regularization technique to manage the agent's uncertainty. Operating in episodes, the algorithm maintains a set of "plausible" models of the world consistent with observed data. Unlike traditional "optimistic" algorithms that simply pick the model with the highest potential reward, REGAL selects a model that maximizes a regularized objective:
$$\text{Reward} - \text{Penalty} \times \text{Span}(h^*)$$
Here, $h^*$ is the bias vector, which represents the long-term relative values of different states. The span is the difference between the maximum and minimum values in this vector. By penalizing models with a high span, REGAL avoids overly complex or unstable interpretations of the environment. This regularization acts as a stabilizer, ensuring that the agent's optimism is tempered by the structural complexity of the model it assumes.
The authors propose two versions of the algorithm:
- REGAL.C: Used when an upper bound $H$ on the span is known a priori.
- REGAL.D: Utilizes a "doubling trick" to iteratively estimate the span when it is unknown.
Key Insights: Span vs. Diameter
The central theoretical contribution of the paper is the demonstration that the span of the bias vector is a more fundamental and tighter quantity for RL performance than the diameter. The authors prove that $sp(h^*) \leq D$, meaning that REGAL’s bounds are inherently at least as strong as diameter-based bounds and significantly better in environments where the diameter is large but the relative value of states is stable.
To bridge these concepts, the authors introduce the "one-way diameter" ($D_{ow}$)—the time required to reach the best possible state from any other state. This metric helps characterize the lower bounds of regret in weakly communicating systems.
Results and Optimality
REGAL achieves a regret bound of $\tilde{O}(HS\sqrt{AT})$ for an MDP with $S$ states and $A$ actions over $T$ time steps. This result is significant for several reasons:
- Time-Dependence: It matches the optimal $\sqrt{T}$ scaling.
- Tightness: By using the span $H$ instead of diameter $D$, the bound remains informative even in complex, weakly communicating environments.
- Lower Bounds: The authors provide a lower bound of $\Omega(D_{ow}\sqrt{SAT})$, proving that REGAL is near-optimal in its class.
Conclusion and Future Directions
REGAL represents a major step forward in RL theory, providing the first near-optimal regret bounds for weakly communicating MDPs. However, several challenges remain. While statistically efficient, the regularized optimization problem REGAL solves in each episode is computationally intensive. Future work is needed to develop more computationally tractable versions of this regularization approach.
Additionally, there remains a small gap in how the bounds scale with the number of states ($S$). While REGAL.C scales with $S$, the version for unknown spans (REGAL.D) scales with $S^{1.5}$. Closing this gap and refining the "doubling trick" for span estimation remains an open area for research in the quest for truly universal reinforcement learning algorithms.
Summary updated