arXiv:2610.40165cs.LGOct 2026

Manuscript Offprint

arXiv:2610.40165

Closing the Log Gap: Minimax-Optimal Regret for Episodic RL

Guy Zamir, Victor Boone, Matthew Zurek, Yudong Chen

Abstract

In this paper, we study the regret minimization problem in episodic tabular MDPs. Our algorithm achieves the first expected regret bound scaling as H3SAK\sqrt{H^3SAK} for sufficiently large KK, where HH is the episode length, KK is the number of episodes, and SS and AA are the numbers of states and actions, respectively. Our method is the first to match the minimax lower bound without extra polylog factors. We introduce a variant of UCBVI which does not maintain strictly optimistic estimates, and uses MOSS-style exploration bonuses whose logarithmic terms adapt to both visit counts and estimated variances. A key challenge is controlling the propagation of errors caused by under-optimism, which we accomplish in an occupancy-weighted way, avoiding logarithmic overhead that would be incurred by uniform-over-rows concentration. Our analysis develops time-uniform and variance-aware concentration bounds that may be of independent interest. As a corollary we also develop an algorithm for (ε,δ)(\varepsilon, \delta)-PAC best-policy identification, which is the first to match the Ω(H3SAlog⁡(1δ)ε−2)\Omega\left(H^3SA\log\left(\frac{1}{\delta}\right)\varepsilon^{-2}\right) minimax lower bound up to constants in some regimes.

1 Introduction

In online reinforcement learning (RL), the balance of exploration and exploitation is one of the most central and investigated problems. A canonical setting for the study of the exploration-exploitation tradeoff is that of finite-horizon Markov decision processes (MDPs), and in particular the problem of regret minimization in such environments. In regret minimization, the learning agent dynamically explores the unknown environment by playing actions, and its performance is measured by comparing its aggregate reward with that of an omniscient agent that knows the environment in advance. In this work, we are interested in the derivation of formal bounds of the worst-case regret (a.k.a. minimax regret) in expectation and in the time-inhomogeneous setting, where rewards and transitions are time-dependent.

This problem has been extensively studied. In the class of tabular MDPs with SS states, AA actions per state and fixed horizon HH, it is known [Domingues et al., 2021] that the minimax regret of every learning algorithm is at least Ω(H3SAK)\Omega(\sqrt{H^3SAK}), where KK is the total number of episodes. In the community, UCBVI [Azar et al., 2017] is recognized as the first algorithm to reach the minimax lower bound of Domingues et al. [2021]. It was succeeded by many others, such as Euler [Zanette and Brunskill, 2019] or MVP [Zhang et al., 2021], with better second order terms or better dependency with respect to the episode horizon HH (see Table 1 for a more comprehensive list). Although these algorithms are claimed to be minimax optimal, all their regret guarantees are O~(H3SAK)\widetilde{O}(\sqrt{H^3SAK}), where O~(−)\widetilde{O}(-) is a variant of O(−)O(-) that ignores logarithmic factors. Unraveling what the O~(−)\widetilde{O}(-) hides, the true regret bounds of these methods are O(H3SAKlog⁡(HSAK)γ)O(\sqrt{H^3SAK\log(HSAK)^\gamma}) for γ>0\gamma > 0 (Table 1). As such, no algorithm reaches the true minimax optimal rate prior to this work.

AlgorithmExpected regret scaling as K→∞K\to\inftyOriginal work is time-inhomogeneousOptimistic with high probability
UCBVI Azar et al. [2017]H3SAKlog⁡(K)2\sqrt{H^3SAK\log(K)^2}NoYes
Euler Zanette and Brunskill [2019]H3SAKlog⁡(K)6\sqrt{H^3SAK\log(K)^6}NoYes
UCB-Advantage Zhang et al. [2020]H3SAKlog⁡(K)+H3Klog⁡(K)3\sqrt{H^3SAK\log(K)}+\sqrt{H^3K\log(K)^3}YesYes
UCBMQ Ménard et al. [2021]H3SAKlog⁡(K)3\sqrt{H^3SAK\log(K)^3}YesYes
MVP Zhang et al. [2021]H3SAKlog⁡(K)2\sqrt{H^3SAK\log(K)^2}NoYes
Modified MVP Zhang et al. [2025]H3SAKlog⁡(K)5\sqrt{H^3SAK\log(K)^5}YesYes
SSR Xiong et al. [2022]H3SAKlog⁡(K)3\sqrt{H^3SAK\log(K)^3}YesYes
OPSRL Tiapkin et al. [2022]H3SAKlog⁡(K)3\sqrt{H^3SAK\log(K)^3}YesYes
EQO Lee and Oh [2025], EQO+ Lee and Oh [2026]H3SAKlog⁡(HSA)log⁡(K)\sqrt{H^3SAK\log(HSA)\log(K)}NoNo
MORE-UCBVI (ours)H3SAK\sqrt{H^3SAK}YesNo
Lower Bound Domingues et al. [2021]H3SAK\sqrt{H^3SAK}——

Table 1: A compendium of algorithms which are minimax optimal up to at most log factors.

In this paper, we close this longstanding gap and construct the first algorithm with minimax regret O(H3SAK)O(\sqrt{H^3SAK}) for sufficiently large KK.

Our contributions. We introduce MORE-UCBVI, a variant of UCBVI Azar et al. [2017] that uses MOSS-style bonuses Audibert and Bubeck [2009] in place of UCB-style bonuses Agrawal [1995], Auer et al. [2002].

  • We derive a MOSS-style bonus for UCBVI whose logarithmic term adapts to both visit counts and estimated variances. The resulting algorithm (Section 5, Algorithm 1) deviates from the UCBVI framework by allowing for under-optimism; that is, its value estimates may underestimate the optimal value function.

  • We obtain an expected regret bound of O(H3SAK)O(\sqrt{H^3SAK}) for sufficiently large KK without logarithmic factors, thereby matching the minimax rate up to a universal constant for the first time (Section 6, Theorem 6.1).

  • Our main result requires a sharper analysis. We replace the standard monotonicity-based optimism induction with a stability argument that controls how under-optimism propagates through Bellman updates. This argument enables us to bound the cumulative cost of under-optimism without the logarithmic overhead induced by a union bound. We provide a more detailed proof sketch in Section 7.

  • As a corollary, we construct an algorithm for (ε,δ)(\varepsilon, \delta)-PAC best-policy identification which is the first to match the minimax sample complexity lower bound of Ω(H3SAlog⁡(1δ)ε−2)\Omega(H^3SA\log(\frac{1}{\delta})\varepsilon^{-2}) established by Domingues et al. [2021] in some regime, improving the logarithmic factor relative to prior works (Section 6, Corollary 6.2).

  • Along the way, we prove a time-uniform Bernstein inequality with a linear drift, giving an analogue of [Lattimore and Szepesvári, 2020, Lemma 9.3] for sub-gamma random variables (Section 4, Theorem 4.1). This variance-aware concentration result may be of independent interest.

Related work. The literature of regret minimization in RL is vast. Focusing on episodic MDPs, Table 1 lists existing algorithms matching the minimax lower bound up to logarithmic factors. Some are originally for the homogeneous setting, in which all P1,…,PHP_1,\ldots ,P_H are equal, in which case they can be applied to the inhomogeneous setting by augmenting all states with a time index in [H][H], thus multiplying the size of the state space by HH. Many of these have been introduced to enrich regret minimization with parallel considerations. MVP [Zhang et al., 2021] is meant to improve on the dependency in the horizon HH, for what is known as horizon-free RL. EQO+ [Lee and Oh, 2025, 2026] provides regret guarantees in probability simultaneously for every confidence level δ>0\delta > 0. UCBMQ [Ménard et al., 2021] is a variant of Q-Learning [Watkins and Dayan,

1992] with near minimax optimal guarantees; it is model-free and therefore has a cheaper memory cost. As discussed in Section 3, the logarithmic factors incurred by these algorithms are inherent to their construction.

Beyond the nearly minimax optimal algorithms in Table 1, there exists a large range of methods with formal guarantees that are interesting in their own right, such as the line of works on model-free methods [Ménard et al., 2021] or that on Bayesian methods [Osband et al., 2013, Tiapkin et al., 2022].

Furthermore, parallel to minimax regret bounds, there is a growing literature on problem-dependent regret analysis with bounds scaling as log⁡(K)\log(K) rather than K\sqrt{K}, see for instance Xu et al. [2021], Tirinzoni et al. [2021], Dann et al. [2021], Yang et al. [2021]. We also note that many episodic RL algorithms have analogues in average-reward RL. For instance, the analogue of UCBVI [Azar et al., 2017] is FOCUS [Zamir et al., 2026], although the dominant template there is rather UCRL2 [Auer et al., 2008] and its variants [Filippi et al., 2010, Bourel et al., 2020, Boone and Zhang, 2024].