Minimax Regret Bounds for Reinforcement Learning II: High-Probability Regret Bound for UCBVI with a Bernstein–Freedman BonusResearch Paper
Why finite-horizon reinforcement learning needs a variance-sensitive bound
An agent can learn to act in an unknown environment by repeatedly running a finite episode, observing the states reached after its actions, and updating its model of the environment. The agent must trade off rewards in the current episode against information that may improve later decisions. A regret bound measures the cumulative value lost relative to an optimal policy that knows the true transition probabilities. Its dependence on the number of states, actions, episode steps, and interactions says how much exploration that uncertainty can force.
Azar, Osband, and Munos study this question for a finite-horizon Markov decision process with known, bounded rewards and an unknown, stationary transition kernel. Their UCBVI algorithm estimates action values from observed transitions and adds an exploration bonus. Their second version, UCBVI-BF, uses the empirical variance of the next-state value in that bonus. Their Theorem 2 gives an explicit high-probability regret bound whose leading dependence on the horizon is smaller than the bound they give for the simpler UCBVI-CH bonus. The paper states that, in a sufficiently long-run regime, its leading order matches the cited lower-bound scale up to logarithmic factors. This mission targets the explicit theorem, including its lower-order terms, rather than only that asymptotic comparison.
The MDP, interaction, and algorithm
Let and be nonempty finite state and action sets with cardinalities and . A stationary transition kernel is a probability distribution on next states for every current state and action . The reward is deterministic, known to the learner, and lies in . These are the conditions of Assumption 1 and §2. Episodes have steps; episodes comprise interactions.
A policy chooses an action for each state and step. Its value is the expected reward from step through the final step when the state at is ; the terminal value is . The optimal value ranges over all deterministic policies of this form. At the start of episode , the environment may choose the initial state using the completed episodes. The learner then fixes a policy , observes transitions during the episode, and updates counts for the next episode. Its regret is
For each state-action pair, counts transitions to in episodes before , and . When the latter is positive, . The count records previous episodes whose state at step was . Algorithms 2 and 4 compute optimistic backward from zero terminal value, take a minimum with the previous episode's estimate and with , and choose a maximizing action at every state. Previously unseen pairs receive . The Bernstein–Freedman bonus uses the empirical variance of under and an additional term based on ; the algorithm uses .
Formalization targets
The goal is Theorem 2 on p. 5. For any MDP and interaction described above and every , write . The target is the exact bad-event form of the printed high-probability bound:
The milestone list contains three empirical-transition deviations from the proof of Lemma 1: Eq. (9) for a value-weighted transition error, the displayed count bound before Eq. (11), and Eq. (12) for the full transition row's error. It also contains Lemma 2's variance comparison and Eq. (26), which relates cumulative conditional next-value variance to the variance of an episode return. These are source-indexed targets, with their printed constants retained.
What the result and its formalization supply
The theorem gives a quantitative guarantee for a particular executable decision rule: its regret grows sublinearly in in the leading term, with explicit dependence on , , and . The result lets one compare the horizon dependence of a variance-sensitive bonus with a value-agnostic bonus under the same finite-horizon model. It also fixes which logarithm belongs in the algorithm and which appears in the reported bound; replacing either changes the claim.
A formal proof would connect a fully specified adaptive interaction to its finite probability law, empirical counts, backward value iteration, and the stated high-probability conclusion. The local prior-art search found reusable transition-kernel vocabulary and general concentration tools, but no published formal statement of this exact UCBVI-BF algorithm or theorem. The mission's finite path and variance definitions can also support other episodic reinforcement-learning bounds that use conditional variance.
Where the difficulty lies
The bonus is computed using a value function that itself depends on earlier observations and the same episode's backward recursion. A concentration inequality for a fixed transition row and a fixed test function therefore does not directly control every value estimate encountered by the algorithm. The number of samples in a row is also random and changes with the learner's past actions. The regret compares a policy's value at an environment-chosen initial state with a supremum over all policies, while the learner's greedy action must be defined at states it never visits. These dependencies are the central obstacle to turning local concentration statements into the episode-level bound.
Formalization scope and conventions
The Lean model uses finite sums rather than measure theory. A published predicate supplies the stationary, real-valued transition kernel; a local MDP adds the known deterministic reward. State and action types are finite and nonempty. Policies are deterministic and depend on the step. The supremum defining ranges over their finite function type. A theorem quantifies over every maximizing tie-breaking rule and every initial-state rule that reads only completed episodes. The probability of an event is constructed as a sum over finite outcome sequences, each weighted by the product of true transition probabilities. Counts use all past transitions and no current or future outcomes. These choices rule out a trivialization that assumes the desired law or optimizes over an unbounded class of arbitrary functions.
Lean indexes the steps from zero, while the paper indexes them from one. The last observed next state is kept because Algorithm 4 counts states at the terminal index . At , Algorithm 4's quotient is interpreted as infinite and the capped term is ; Lean's ordinary division by zero would incorrectly produce zero. The algorithm uses , while Theorem 2's bound uses . For Eq. (26), the appendix ends its sums at under a shifted terminal convention; the local statement includes all reward steps and the terminal value used by Algorithm 2. The milestone text remains the printed text. The count milestone is the display before Eq. (11), since Eq. (11) drops a factor of under the square root present in that display.
Theorem 2 retains its printed term. The appendix's displayed Lemma 13 calculation does not reproduce that second-order constant when propagated to Lemma 14; this is a source proof gap, not a hypothesis of the theorem. Work on the probability normalization, random-count concentration, adaptive value estimates, variance identity, and a valid route to the printed explicit constants is welcome. A proof with altered constants or an asymptotic-only conclusion would be a different target.
Selected references
- M. G. Azar, I. Osband, and R. Munos, Minimax Regret Bounds for Reinforcement Learning, arXiv:1703.05449v2, 2017. Preprint.