Efficient Bias-Span-Constrained Exploration-Exploitation in Reinforcement Learning

Ronan Fruit, Matteo Pirotta, Alessandro Lazaric, Ronald Ortner

TL;DR: SCAL is a novel reinforcement learning algorithm that bounds exploration-exploitation regret using the "bias span" of an environment rather than its diameter. By introducing a computationally tractable way to constrain optimistic value iteration, SCAL achieves sub-linear regret even in environments with infinite diameters, solving a decade-old open problem in RL theory.

The Problem: Diameter vs. Bias Span

In tabular Reinforcement Learning (RL), agents must balance exploring unknown states and exploiting known rewards. A standard approach is the Optimism in Face of Uncertainty (OFU) principle, utilized by classic algorithms like UCRL.

However, UCRL's performance—measured by "regret"—scales linearly with the Markov Decision Process (MDP) diameter ($D$). The diameter represents the worst-case expected time to navigate between any two states. In many environments, $D$ is massive or even infinite (e.g., if some states act as one-way traps). A much tighter measure of an environment's difficulty is the bias span ($sp\{h^*\}$), which measures the maximum difference in long-term potential reward between the best and worst states.

In 2009, a theoretical algorithm called REGAL.C proved that regret could scale with the bias span instead of $D$. Unfortunately, REGAL.C required solving a computationally intractable optimization problem. For nearly a decade, it remained an open question whether a computationally efficient algorithm could achieve this tighter, diameter-independent regret bound. This paper provides the answer.

Methods: Constraining Optimism

The authors introduce SCAL (Span-Constrained Algorithm for Learning), which modifies the traditional UCRL framework to make span-constrained optimization tractable.

The core innovation is a new planning algorithm called SCOPT (Span-Constrained Policy iTeration). Instead of standard Extended Value Iteration, SCOPT uses a span-constrained Bellman operator. If the difference in optimistic value between states exceeds a known upper bound $c$, the operator mathematically truncates the values to ensure the span never exceeds $c$.

To guarantee that this modified value iteration converges, the authors apply a clever theoretical trick: they slightly perturb the confidence intervals of the transition probabilities and rewards in the agent's internal model. This forces the modeled MDP to act as a "unichain" (guaranteeing a unique stationary distribution) and makes the Bellman operator a strict contraction. Consequently, SCOPT can efficiently find a near-optimal, span-constrained policy.

Empirical Setup

As a theoretical RL paper, the authors evaluate SCAL on a synthetic Three-State Domain designed specifically to expose the weaknesses of standard optimistic algorithms. They test both a communicating version (large diameter) and a non-communicating version (infinite diameter).

Three-state domain and UCRL regret scaling

Key Insights and Results

  • Optimism Needs a Leash: Pure optimism can be fatal. If an agent optimistically believes a hard-to-reach state is highly rewarding, it will waste enormous amounts of time trying to reach it. Constraining the bias span effectively puts a "leash" on this optimism, forcing the agent to cut its losses.
  • Theoretical Regret: SCAL achieves a regret bound of $\tilde{O}(c\sqrt{\Gamma S A T})$, where $c$ is the bias span bound, $S$ is states, $A$ is actions, and $\Gamma$ is the maximum support of transition probabilities. This completely removes the linear dependence on the diameter $D$.
  • Empirical Dominance: In the 3-state domain, UCRL's regret scales linearly with the diameter. SCAL's regret remains flat and scales only with the much smaller bias span $c$.
  • Surviving Infinite Diameters: When the environment's diameter is made infinite ($D=\infty$), UCRL suffers catastrophic linear regret. SCAL successfully recovers the optimal policy and maintains sub-linear regret, proving its robustness in weakly-communicating MDPs.
SCAL vs UCRL Cumulative Regret

Limitations and Future Work

The primary limitation of SCAL is its reliance on a known upper bound $c$ for the optimal bias span. If $c$ is chosen too small (smaller than the true span), the algorithm might converge to a highly suboptimal policy, breaking the theoretical guarantees.

Future work could extend this span-constrained approach to Posterior Sampling for Reinforcement Learning (PSRL) to drop the dependency on $\Gamma$. Additionally, a major open question remains whether the assumption of a known $c$ can be relaxed or learned dynamically on the fly.

Summary updated

BibTeX
@inproceedings{fruit2018efficient,
  author = {Ronan Fruit and Matteo Pirotta and Alessandro Lazaric and Ronald Ortner},
  title = {{Efficient Bias-Span-Constrained Exploration-Exploitation in Reinforcement Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2018},
  url = {https://openreview.net/forum?id=BybBojWdWB},
}
Figure