Position: Constants are Critical in Regret Bounds for Reinforcement Learning


                               Simone Drago 1 Marco Mussi 1 Alberto Maria Metelli 1


                        Abstract                                   2017), RL has been subject to a lot of attention from the
                                                                   research community from the theoretical standpoint, obtain-
     Mainstream research in theoretical RL is currently            ing significant understanding on its fundamental statistical
     focused on designing online learning algorithms               challenges (Azar et al., 2017; Domingues et al., 2021).
     with regret bounds that match the corresponding
     regret lower bound up to multiplicative constants             Taking inspiration from the multi-armed bandit (MAB) lit-
     (and, sometimes, logarithmic terms). In this posi-            erature (Lattimore & Szepesvári, 2020), theoretical research
     tion paper, we constructively question this trend,            in RL has focused on characterizing online RL algorithms
     arguing that algorithms should be designed to                 through the cumulative regret, which represents the subop-
     at least minimize the amount of unnecessary ex-               timality of the played policy summed over a given horizon
     ploration, and we highlight the significant role              of interaction. This performance index is particularly mean-
     constants play in algorithms’ actual performances.            ingful as it quantifies how quickly the learning algorithm
     This trend also exacerbates the misalignment be-              converges to the optimal policy. The conventional path in
     tween theoretical researchers and practitioners.              this literature consists of (i) characterizing the statistical
     As an emblematic example, we consider the case                complexity of the problem by deriving regret lower bounds
     of regret minimization in finite-horizon tabular              and (ii) designing and analyzing algorithms to provide re-
     MDPs. Starting from the well-known UCBVI                      gret upper bounds. The comparison between upper bounds
     algorithm, we improve the bonus terms and the                 and lower bounds allows to establish whether the problem
     corresponding regret analysis. Additionally, we               is closed. It is conventionally accepted that a problem is
     compare our version of UCBVI with both its                    closed when upper and lower bounds match in the charac-
     original version and the state-of-the-art MVP al-             teristic parameters of the problem, apart from constant (and,
     gorithm. Our empirical validation successfully                sometimes, logarithmic) multiplicative factors.
     demonstrates how improving the multiplicative                 Consider, for instance, the emblematic case of finite-horizon
     constants has significant positive effects on the             tabular RL, where we
     actual empirical performances of the algorithm un-                                 ? have a well-established lower bound
                                                                   in the order of Ωp HSAT q, where S is the number of
     der analysis. This raises the question of whether             states, A is the number of actions, H is the horizon of
     ignoring constants when assessing whether algo-               the episode, and T “ HK where K is the number of
     rithms match is the proper approach.                          episodes (Domingues et al., 2021).1 At present, we have
                                                                   learning algorithms that match this lower bound. The first
                                                                   approach that succeeded in achieving order-optimal regret
1. Introduction                                                    is UCBVI (Azar et al., 2017), combining the classical value
                                                                   iteration approach with the famous optimism in the face
Reinforcement Learning (RL, Sutton & Barto, 2018) has
                                                                   of uncertainty mechanism, borrowed from bandits. The
emerged as a powerful methodology for addressing sequen-
                                                                   algorithm is very intuitive (although its analysis is quite
tial decision-making problems under uncertainty. Besides
                                                                   convoluted)
                                                                       ?         and manages to achieve the same order of
the successful applications of RL in the last decades, in-
                                                                   Op
                                                                    r HSAT q under the assumption that the time horizon
cluding robotic locomotion (Kober et al., 2013), continu-
                                                                   T is sufficiently large (T ě OpH 3 S 3 Aq).2 This latter lim-
ous system control (Schulman et al., 2015; Lillicrap et al.,
                                                                   itation has been recently overcome by MVP (Zhang et al.,
2016; Haarnoja et al., 2018), autonomous driving (Kiran
                                                                      1
et al., 2021), and games (Mnih et al., 2015; Silver et al.,              In this paper, we consider stage-independent transition prob-
                                                                                ? stage-dependent ones, the lower bound presents an
                                                                   abilities. For
  1
    Politecnico di Milano, Milan, Italy.                           additional H multiplicative term. From the algorithmic perspec-
Correspondence to: Simone Drago <simone.drago@polimi.it>.          tive, we can easily adapt the upper bound results by considering
                                                                   an MDP with an augmented state space of size SH.
Proceedings of the 42 nd International Conference on Machine           2
                                                                         The Op¨q notation ignores constants, while Op¨q
                                                                                                                    r also ignores
Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025        logarithmic factors.
by the author(s).

                                                               1
                         Position: Constants are Critical in Regret Bounds for Reinforcement Learning

2024) at the price of a less intuitive algorithm that is forced       Notation. Given a measurable set X , we denote with
to discard previously collected sample because of the use of          ∆pX q the set of probability measures over X . For n P N,
a doubling trick. Thus, in the sense defined above, we can            we denote the set t1, . . . , nu as JnK. We denote the L1 norm
say that finite-horizon tabular RL is a closed problem.               of a vector as } ¨ }1 .
In this paper, we constructively question this statement.             Markov Decision Processes. An undiscounted, finite-
Indeed, as intuition suggests, ignoring multiplicative con-           horizon Markov Decision Process (MDP, Puterman, 1994)
stants when evaluating whether an algorithm matches                   is a tuple M :“ pS, A, P, R, Hq, where S is the state space,
the problem’s lower bound may lead to disappointing                   A is the action space, P : S ˆ A Ñ ∆pSq represents the
results when using such an algorithm. Constants matter                state transition probability, R : S ˆ A Ñ R represents
in two key moments:                                                   the reward function, and H P Ną0 is the length of each
 (i) Algorithm design: the exploration strategy of the al-            episode.3
     gorithm should be designed to enforce the minimal                We assume the state space and the action space to be finite
     exploration required to achieve the desired regret per-          sets, and we denote their cardinalities as |S| “ S and |A| “
     formance. For example, in an optimistic algorithm like           A. We assume that the state transition probability and the
     UCBVI (Azar et al., 2017), the exploration bonuses               reward do not depend on the stage. Moreover, we assume the
     should be as small as possible;                                  reward to be deterministic, known, and bounded in r0, 1s.4
(ii) Algorithm analysis: the analysis of the algorithm
     should be conducted using the most accurate analytical           Interaction with the Environment. The agent interacts
     tools possible in order to obtain a regret upper bound           with the environment in a sequence of K episodes. Denote
     that closely approximates the actual regret suffered by          as xk,h the state occupied by the agent at stage h P JHK
                                                                      of episode k P JKK, and as aπk,h k
                                                                                                         the action played by the
     the algorithm.
                                                                      agent at stage h of episode k according to the policy πk . We
While (ii) impacts the regret bounds and, to a certain extent,        assume the policies to be deterministic and stage-dependent,
can be considered a secondary requirement, (i) has far more           i.e., π : S ˆ JHK Ñ A.
dramatic effects. Indeed, an inaccurate and overly conserva-
tive design of the exploration strategy significantly affects         The interaction of the k-th episode starts from state xk,1 P
the algorithm’s empirical performances, wasting samples               S, then, the agent selects which action to play as aπk,h
                                                                                                                             k
                                                                                                                                “
and ultimately leading to unnecessary over-exploration.               πk pxk,h , hq for h P JHK, and observes a sequence of next-
                                                                      states and reward, until the end of the episode.
To support these claims, in this paper, we will consider
as a case study the UCBVI algorithm (Azar et al., 2017),              The function Vhπ : S Ñ R denotes the value function at
and we compare it with the state of the art for this setting,         stage h P JHK, such that Vhπ pxq represents the expected
MVP (Zhang et al., 2024). MVP employs a doubling trick,               sum of the H ´ h returns received under policy π starting
that, while convenient in terms of regret analysis, negatively        from state x P S. Under the assumptions above, there exists
affects the efficiency of the algorithm in practice, leading          a deterministic policy π ˚ which attains the best possible
to an inevitable over-exploration and a higher regret. We             value function Vh˚ pxq :“ supπ Vhπ pxq for every state x P S.
will provide an improvement of UCBVI, in its advanced                 We measure the performance of a learning algorithm A after
solution with Bernstein-Freedman bonus, with the goal of (i)          K episodes by means of the cumulative regret:
deriving an exploration bonus that is as tight as possible and                                    K
                                                                                                  ÿ
(ii) conducting a regret upper bound analysis that generates                    RegpA, Kq :“            V1˚ pxi,1 q ´ V1πi pxi,1 q.
the smallest constants possible. We show empirically how                                          i“1
a more careful design of the exploration bonus delivers
dramatic improvements in the empirical performance with a             We denote as T “ KH the total number of interactions.
reduction of the regret by a factor of 1.87 on average.
Additionally, in Appendix A, we support our discussion by             3. A Refined UCBVI Algorithm and Analysis
reporting works from the MAB literature that devise algo-             In this section, we consider the UCBVI algorithm, intro-
rithms optimizing both constants and lower order terms, thus          duced in (Azar et al., 2017), for which we provide a more
demonstrating an interest in their empirical performance
                                                                         3
which is well reflected in their experimental validation.                   Let x, y P S and a P A, we denote as P py|x, aq the probabil-
                                                                      ity of observing y as the next state after playing action a in state x,
                                                                      and Rpx, aq the reward obtained after playing action a in state x.
2. Preliminaries                                                          4
                                                                            The assumption on the knowledge of the reward can be re-
                                                                      moved without relevant drawbacks on the algorithm’s theoretical
In this section, we briefly introduce the notation and con-           guarantees, as learning the stochastic transition model is more
cepts employed in the rest of this work.                              challenging than learning the reward function.

                                                                  2
                         Position: Constants are Critical in Regret Bounds for Reinforcement Learning

  Algorithm 1: UCBVI.
                                                   1
 1 Initialize: Nk px, a, yq “ 0, Nk px, aq “ 0, Nk,h  pxq “ 0, @px, a, yq P S ˆ A ˆ S
 2             Q0,h px, aq “ H ´ h ` 1, @px, a, hq P S ˆ A ˆ JHK
 3 for k P JKK do
 4     Estimate Ppk py|x, aq “ Nk px, a, yq{Nk px, aq
 5     Initialize Vk,H`1 pxq “ 0, @x P S
 6     for h “ tH, H ´ 1, . . . , 1u do
 7          for x P S do
                                                              ř
 8              Qk,h px, aq “ mintQk´1,h px, aq, Rpx, aq ` yPS Ppk py|x, aqVk,h`1 pyq ` bk,h px, aqu, @a P A
 9              Vk,h pxq “ maxaPA Qk,h px, aq
10          end
11     end
12     Agent observes state xk,1
13     for h P JHK do
14          Agent plays action ak,h P arg maxaPA Qk,h pxk,h , aq
15          Environment returns reward rk,h and next state xk,h`1
                                                                               1
16          Increment counters Nk pxk,h , ak,h , xk,h`1 q, Nk pxk,h , ak,h q, Nk,h pxk,h q
17     end
18 end




compact (but equivalent) pseudocode in Algorithm 1. In                 not change between the two theorems. However, our analy-
Theorems 3.1 and 3.2, we provide results on the regret upper           sis provides a smaller value for the constants.6 Moreover,
bound under the usage of bonuses defined via the Chernoff-             observe how the minimum value of T for which the regret
Hoeffding and the Bernstein-Freedman inequalities, respec-             bound holds according to our analysis is H times higher
tively. Our contribution consists of refining the analysis to          than the one reported in the original theorem. This is due to
obtain tighter bonuses and, as a direct consequence, tighter           the fact that the minimum T in the statement of Theorem 1
regret bounds.                                                         of (Azar et al., 2017) is incorrect, although the derivation
                                                                       in the appendix provides the same minimum value of T we
Regret Bounds. We now state the results of the refined
                                                                       obtain.
regret upper bound analysis. Let us start with the Chernoff-
Hoeffding version, taking the opportunity to fix some typos            Let us move to the Bernstein-Freedman bonus.
of the original analysis of (Azar et al., 2017).
                                                                       Theorem 3.2 (Regret for UCBVI with Bernstein-Freedman
Theorem 3.1 (Regret for UCBVI with Chernoff-Hoeffding                  bound). Let δ P p0, 1q. Considering:5
bound). Let δ P p0, 1q. Considering:5
                                                                                       d
                               2HL                                                         4L Vary„P̂k p¨|x,aq pVk,h`1 pyqq
            bk,h px, aq “ a                  ,                         bk,h px, aq “                                               `
                           maxtNk px, aq, 1u                                                      maxtNk px, aq, 1u
                                                                                       looooooooooooooooooomooooooooooooooooooon
then, w.p. at least 1´δ, the regret of UCBVI-CH is bounded                                               (A)
by:                                                                                   7HL
                                                                       `                                 `
                        ?                                                3 maxtNk px, aq ´ 1, 1u
                              8                                          loooooooooooooomoooooooooooooon
RegpUCBVI-CH, Kq ď 10eHL SAT ` eH 2 S 2 AL2 ,                                          (B)
                              3                                          g
                                                                         f ř           ´                     !                             )¯
                                                                                                                 842 H 3 S 2 AL2         2
where L “ ln p5HSAT
                  ?   {δq. For T ě H 2 S 3 A, this bound                 f4
                                                                         e       yPS     P̂ py|x,  aq ¨ min              1
                                                                                                               maxt1,Nk,h`1 pyqu    , H
translates to OpH
              r     SAT q.                                             `                                                                      ,
                                                                                                  maxtN    k px, aq, 1u
                                                                         looooooooooooooooooooooooooooooooomooooooooooooooooooooooooooooooooon
Theorem 3.1 should be compared to Theorem 1 of (Azar                                                      (C)
et al., 2017). Since the analysis is a refinement of the origi-
nal analysis in terms of constants, the order of the regret does       then, w.p. at least 1 ´ δ, the regret of UCBVI-BF-I is
     5                                                                    6
     We assume that, by definition, bk,H ps, aq “ 0, as at the             To the best of the authors’ knowledge, the original analysis of
last stage there is no need for exploration and the rewards are        (Azar et al., 2017) is missing a multiplicative e factor in the regret
deterministic.                                                         bound.

                                                                   3
                         Position: Constants are Critical in Regret Bounds for Reinforcement Learning

bounded by:                                                            paper. The resulting exploration bound is:
                         ?                                                                 d
                                                                                                                            1
RegpUCBVI-BF-I, Kq ď 24eL HSAT `                                                      460 Vary„P̂k p¨|x,aq pVk,h`1 pyqq log δ
                                                 ?                      bMVP
                                                                         k,h px, aq “                                         `
                           ` 616eH 2 S 2 AL2 ` 4e H 2 T L,                              9            maxtN px, aq, 1u
                                                                                                              544   H log 1δ
                                            3   3                                                         `                       .
where L “ lnp5HSAT {δq. For   ? T ě H S A and SA ě                                                             9 maxtN px, aq, 1u
H, this bound translates to Op
                            r HSAT q.
                                                                       4.1. Illustrative Environments
Theorem 3.2 should be compared to Theorem 2 of (Azar
et al., 2017). Again, as the analysis is a refinement in terms         As a first experimental evaluation, we consider a set of illus-
of constants, the order of the regret does not change. More-           trative environments. We consider an MDP with parameters
over, also the minimum value of T under which the regret               S “ 3, A “ 3, H P t5, 10u, and we consider a number of
bound holds in unchanged between the two analyses. It is               episodes K P t105 , 106 u.
important to notice, however, the strictly smaller constant            We evaluate each experiment by averaging over 10 runs.
                                                               6
                                                    ? 2017).
terms of our analysis w.r.t. the ones of (Azar et al.,                 In each run, the rewards and transition probabilities of the
   term (A) we show a multiplicative factor of 4 instead
In ?                                                                   MDP are randomly generated. Then, the clairvoyant opti-
of 8, in term (B) we have a multiplicative
                                       ?         term 7 instead        mum is calculated for the purpose of regret computation,
of 14, and in term
                ?    (C)   we  have a    4  multiplicative  fac-       and the algorithms are evaluated.
tor instead of 8 and a multiplicative term 842 inside the
minimum instead of 1002 . Such a reduction in the constant             Results. Figure 1 shows the cumulative regret of the
values directly affects the behavior of the algorithm by re-           evaluated algorithms in the first experimental evaluation for
ducing the confidence intervals and reducing, in turn, the             different values of H and K. From these results, we can
unnecessary exploration.                                               observe that UCBVI with the Chernoff-Hoeffding bonus and
                                                                       MVP begin to show a sub-linear regret for K “ 106 , whereas
The reader shall refer to Appendices E and F for the proofs            both versions of UCBVI with the Bernstein-Freedman bonus
of Theorems 3.1 and 3.2, respectively. The derivations pro-            greatly outperform the other algorithms in all the evalu-
vided in the appendices closely follow the proofs of (Azar             ated scenarios. In particular, the use of a tighter Bernstein-
et al., 2017), focusing on lowering the constant terms. A              Freedman bonus (UCBVI-BF-I) translates into a cumula-
full description of the notation employed throughout the               tive regret that is, although of the same order, lower than
paper is reported in Appendix B. Both proofs are conducted             with the usage of a larger bonus (UCBVI-BF), highlight-
under the condition that concentration inequalities hold for           ing the fundamental importance of lower order terms and
the next state estimator and its variance. Those conditions            constants in empirical performance. A further discussion is
fall under event E, which is presented in Appendix B.4                 postponed to Section 5.8
of (Azar et al., 2017) and restated in Appendix C. Finally,
additional lemmas necessary to show the regret decomposi-
                                                                       4.2. RiverSwim
tion and to bound the summation of the terms it comprises
are demonstrated in Appendix D.                                        We now consider the RiverSwim environment (Strehl &
                                                                       Littman, 2008). This environment emulates a swimmer
4. Numerical Validation                                                that has to swim against the current, where the agent has
                                                                       2 options: try to swim to the other side or turn back. In
In this section, we numerically compare the performances               this scenario, the rewards and the transition probabilities
of UCBVI, both with the Chernoff-Hoeffding and Bernstein-              are designed such that the optimal policy corresponds to
Freedman bonuses of (Azar et al., 2017) and with the im-               trying to swim and reach the other side of the “river”. This
proved Bernstein-Freedman bonus of this paper, against the             is considered a challenging benchmark for exploration. We
MVP algorithm.7                                                        consider the scenario with S “ 5 and H “ 10. The reward
                                                                       model and the transition probability are designed such that
In order to fairly compare to the MVP algorithm, all the
                                                                       the suboptimality gap between the optimal action and the
Nk,h px, aq terms are considered as Nk px, aq, removing the
                                                                       other one in the initial state is very low („ 0.1, with a scale
discriminant of the stage from the algorithm, and the c2
                                                                       of the problem in the order of H “ 10).
constant (which refers to the uncertainty in the estimation
of the rewards) is set to 0, to remove the exploration factor          Results. Figure 2 compares the results when using MVP
needed due to the stochasticity of the reward in the original          and UCBVI in its original version (UCBVI-BF) and the
    7                                                                     8
      The code to reproduce the experiments can be found at:                In Appendix G, we provide additional results on environments
https://github.com/marcomussi/position constants.                      with larger state and action spaces.

                                                                   4
                                                      Position: Constants are Critical in Regret Bounds for Reinforcement Learning

                                         ¨105                                                                                        ¨106
                                                                                                                         1.2
                                 2               UCBVI-BF                                                                                    UCBVI-BF
                                                 UCBVI-BF-I                                                                  1               UCBVI-BF-I
                                                 UCBVI-CH                                                                                    UCBVI-CH
                             1.5                 MVP                                                                                         MVP
        Cumulative Regret




                                                                                                     Cumulative Regret
                                                                                                                         0.8

                                 1                                                                                       0.6

                                                                                                                         0.4
                             0.5
                                                                                                                         0.2

                                 0                                                                                           0
                                     0           0.2       0.4      0.6   0.8          1                                         0           0.2    0.4      0.6    0.8               1
                                                             Episodes           ¨105                                                                  Episodes            ¨106

                                                (a) H “ 5, K “ 105 .                                                                        (b) H “ 5, K “ 106 .

                                     ¨105                                                                                        ¨106
                                                                                                                         3
                             4                  UCBVI-BF                                                                                    UCBVI-BF
                                                UCBVI-BF-I                                                                                  UCBVI-BF-I
                                                UCBVI-CH                                                                                    UCBVI-CH
                             3                  MVP                                                                                         MVP
         Cumulative Regret




                                                                                                     Cumulative Regret
                                                                                                                         2

                             2

                                                                                                                         1
                             1


                             0                                                                                           0
                                 0              0.2       0.4      0.6    0.8          1                                     0              0.2     0.4      0.6    0.8           1
                                                            Episodes            ¨105                                                                  Episodes            ¨106
                                                (c) H “ 10, K “ 105 .                                                                       (d) H “ 10, K “ 106 .

Figure 1. Performances in terms of cumulative regret in toy environments with S “ 3 states and A “ 3 actions (10 runs, mean ˘ 95%
C.I.).


one we propose with tighter bounds (UCBVI-BF-I). MVP                                                                                 ¨104
confirms its poor empirical performance, failing to deliver a                                                                2               UCBVI-BF
                                                                                                                                             UCBVI-BF-I
sublinear trend for the considered horizon. Instead, UCBVI,                                                                                  MVP
in both versions, shows a clear sublinear trend, with the
                                                                                                     Cumulative Regret




                                                                                                                         1.5
improved version (UCBVI-BF-I) showing a cumulative
regret approximately half of the original one (UCBVI-BF).
                                                                                                                             1
5. Discussion
                                                                                                                         0.5
In this section, we discuss the results we have obtained from
both theoretical and empirical standpoints. A summary of
the improvements, expressed in terms of improvement ratios                                                                   0
                                                                                                                                 0            0.2    0.4      0.6     0.8                 1
in the bonuses, regret upper bounds, and empirical regret,
                                                                                                                                                       Episodes             ¨10   5
is reported in Table 1. First, we compare our versions of
the UCBVI algorithms with the original ones from (Azar
et al., 2017). The algorithmic structure remains the same,                                     Figure 2. Performances in terms of cumulative regret in the River-
                                                                                               Swim environment with S “ 5 states and horizon H “ 10 (4 runs,
though we re-derived the bonus terms to make them as   ? tight                                 mean ˘ 95% C.I.).
as possible, resulting in an improvement of 7{2 and 2 for
the Chernoff-Hoeffding and Bernstein-Freedman bonuses,


                                                                                           5
                          Position: Constants are Critical in Regret Bounds for Reinforcement Learning

                                   Bonus ratio      Regret upper bound ratio       Empirical regret ratio
                             CH       7{2                      2                             -
                                      ?
                             BF         2                     5{4                     1.87 ˘ 0.03

Table 1. Improvement ratios in bonuses, regret bounds, and empirical regret between our analysis and the original (Azar et al., 2017).


in the dominant terms, respectively. This reduction in over-           novel mathematical tools, which may enable the analysis of
exploration has significant empirical effects, as shown in the         complex settings.
experiments in Section 4, where, as reported in Table 1, we
achieve a reduction in the empirical regret by a factor of 1.87.       6. Alternative Views
Additionally, this impacts the regret analysis, where we were
able to reduce the regret bound by a factor of 2 and 5{4 for           In contrast with the perspectives presented in this work,
the Chernoff-Hoeffding and Bernstein-Freedman bonuses,                 some alternative views may exist.
respectively, w.r.t. dominant terms. However, lower order
                                                                       Firstly, one could argue that the significance of an algo-
terms also have an impact on the performance, and through
                                                                       rithm, such as MVP, designed to achieve certain theoretical
a refined analysis, we were able to reduce them by a factor
                                                                       guarantees, extends beyond the tightness of those guaran-
of „ 90 and „ 4 for the Chernoff-Hoeffding and Bernstein-
                                                                       tees (especially regarding constants). Such algorithms may
Freedman bonuses, respectively.
                                                                       introduce (i) novel technical tools (e.g., concentration in-
Indeed, it is important to highlight that the analyses of these        equalities) and (ii) innovative algorithmic solutions, which
algorithms rely on a well-established set of tools, primar-            could hold independent interest.
ily represented by concentration bounds for martingales.
                                                                       Secondly, it may be argued that pursuing algorithms with
This is particularly evident in the algorithmic approach of
                                                                       tight theoretical guarantees should not be regarded as the
MVP (Zhang et al., 2024). The algorithm employs a dou-
                                                                       optimal path for advancing this field. Worst-case guarantees
bling trick, which is known for its sample inefficiency, as
                                                                       are often overly conservative, focusing on ensuring perfor-
it requires discarding previously collected samples, albeit
                                                                       mance in pathological problem instances that rarely occur
at the cost of only a multiplicative constant in the final re-
                                                                       in practice. Consequently, a substantial portion of the scien-
gret (Besson & Kaufmann, 2018). This seems to contradict
                                                                       tific community is shifting toward prioritizing the empirical
the intuition commonly held in machine learning that the
                                                                       performance of algorithms to effectively address real-world
more samples, the better, raising the question of whether the
                                                                       problems. These algorithms, while potentially lacking gen-
current probabilistic tools are strong enough to effectively
                                                                       eral theoretical guarantees, often perform as intended in
capture the properties of the estimators involved.
                                                                       practical problems.
As a first step towards mitigating this issue, algorithm de-
signers should incorporate not only upper bounds but also              7. Conclusions
fixed-algorithm regret lower bounds. These lower bounds
illustrate the minimum regret that the algorithm can incur un-         In conclusion, the objective of this paper is not to undervalue
der the most challenging scenarios. This approach provides             the research efforts aimed at reducing the regret order of
valuable insight into the tightness of both the algorithm and          state-of-the-art algorithms. Instead, it seeks to highlight the
its analysis, enabling a deeper understanding of its perfor-           importance of considering lower-order terms and constants
mances and limitations.                                                when transitioning algorithms from theoretical frameworks
                                                                       to experimental settings. We hope this position paper serves
Moreover, we conjecture that, if the performance difference
                                                                       to reduce the gap between theoretical guarantees and real-
ascribable to tighter constants and lower order terms is con-
                                                                       world performance, leading to a more integrated view within
siderable in tabular RL environments, it will be exacerbated
                                                                       the RL community.
when considering more complex algorithms, such as deep
RL ones. We believe that, with the necessary mathemati-
cal tools and due precautions, it could be possible to apply           Impact Statement
refinements similar to those we discussed in this paper to
                                                                       This position paper explores the current advancements and
such complex settings. Two possible directions to achieve
                                                                       future directions in the field of Machine Learning (ML).
such a result, in the authors’ opinion, are (i) to try to study
                                                                       Our work aims to provide an analysis of emerging trends,
the theoretical guarantees of existing algorithms to gain a
                                                                       challenges, and opportunities in ML. There are many poten-
deeper knowledge of the settings and in turn allow the defi-
                                                                       tial societal consequences of our work, none which we feel
nition of better-performing algorithms and (ii) to research
                                                                       must be specifically highlighted here.

                                                                   6
                       Position: Constants are Critical in Regret Bounds for Reinforcement Learning

Acknowledgments                                                      Transactions on Intelligent Transportation Systems, 23
                                                                     (6):4909–4926, 2021.
Funded by the European Union – Next Generation EU
within the project NRPP M4C2, Investment 1.3 DD. 341               Kober, J., Bagnell, J. A., and Peters, J. Reinforcement
– 15 March 2022 – FAIR – Future Artificial Intelligence              learning in robotics: A survey. The International Journal
Research – Spoke 4 – PE00000013 – D53C22002380006.                   of Robotics Research, 32(11):1238–1274, 2013.
                                                                   Lattimore, T. and Szepesvári, C. Bandit algorithms. Cam-
References                                                           bridge University Press, 2020.
Abbasi-Yadkori, Y., Pál, D., and Szepesvári, C. Improved
                                                                   Lillicrap, T. P., Hunt, J. J., Pritzel, A., Heess, N., Erez, T.,
  algorithms for linear stochastic bandits. In Advances in
                                                                     Tassa, Y., Silver, D., and Wierstra, D. Continuous con-
 Neural Information Processing Systems (NIPS), 2011.
                                                                     trol with deep reinforcement learning. In International
Auer, P., Cesa-Bianchi, N., and Fischer, P. Finite-time              Conference on Learning Representations (ICLR), 2016.
  analysis of the multiarmed bandit problem. Machine
                                                                   Maurer, A. and Pontil, M. Empirical bernstein bounds and
 Learning, 2002.
                                                                    sample-variance penalization. In Annual Conference on
Azar, M. G., Osband, I., and Munos, R. Minimax regret               Learning Theory (COLT), 2009.
  bounds for reinforcement learning. In Proceedings of the
                                                                   Mnih, V., Kavukcuoglu, K., Silver, D., Rusu, A. A., Veness,
  International Conference on Machine Learning (ICML),
                                                                    J., Bellemare, M. G., Graves, A., Riedmiller, M., Fidje-
  volume 70 of Proceedings of Machine Learning Research,
                                                                    land, A. K., Ostrovski, G., et al. Human-level control
  pp. 263–272. PMLR, 2017.
                                                                    through deep reinforcement learning. Nature, 518(7540):
Besson, L. and Kaufmann, E. What doubling tricks can and            529–533, 2015.
  can’t do for multi-armed bandits. CoRR, abs/1803.06971,
  2018.                                                            Puterman, M. L. Markov Decision Processes: Discrete
                                                                     Stochastic Dynamic Programming. John Wiley & Sons,
Blitzstein, J. K. and Hwang, J. Introduction to Probability          Inc., 1994.
  Second Edition. Chapman and Hall/CRC, 2019.
                                                                   Schulman, J., Levine, S., Abbeel, P., Jordan, M., and Moritz,
Bubeck, S. Bandits games and clustering foundations. PhD             P. Trust region policy optimization. In Proceedings of the
  thesis, Université des Sciences et Technologie de Lille-          International Conference on Machine Learning (ICML),
  Lille, 2010.                                                       Proceedings of Machine Learning Research, pp. 1889–
                                                                     1897. PMLR, 2015.
Cesa-Bianchi, N. and Lugosi, G. Prediction, Learning, and
  Games. Cambridge University Press, 2006.                         Silver, D., Schrittwieser, J., Simonyan, K., Antonoglou,
                                                                      I., Huang, A., Guez, A., Hubert, T., Baker, L., Lai, M.,
Dani, V., Hayes, T. P., and Kakade, S. M. Stochastic linear
                                                                      Bolton, A., et al. Mastering the game of go without
  optimization under bandit feedback. In Annual Confer-
                                                                      human knowledge. Nature, 550(7676):354–359, 2017.
  ence on Learning Theory (COLT), pp. 355–366, 2008.
                                                                   Strehl, A. L. and Littman, M. L. An analysis of model-
Domingues, O. D., Ménard, P., Kaufmann, E., and Valko, M.
                                                                     based interval estimation for markov decision processes.
  Episodic reinforcement learning in finite mdps: Minimax
                                                                     Journal of Computer and System Sciences, 74(8):1309–
  lower bounds revisited. In Algorithmic Learning Theory
                                                                     1331, 2008.
 (ALT), Proceedings of Machine Learning Research, pp.
  578–598. PMLR, 2021.                                             Sutton, R. S. and Barto, A. G. Reinforcement learning: An
                                                                     introduction. MIT Press, 2018.
Garivier, A. and Cappé, O. The kl-ucb algorithm for
  bounded stochastic bandits and beyond. In Annual Con-            Weissman, T., Ordentlich, E., Seroussi, G., Verdu, S., and
  ference on Learning Theory (COLT), pp. 359–376, 2011.             Weinberger, M. J. Inequalities for the l1 deviation of the
Haarnoja, T., Zhou, A., Hartikainen, K., Tucker, G., Ha, S.,        empirical distribution. Hewlett-Packard Labs, Tech. Rep,
  Tan, J., Kumar, V., Zhu, H., Gupta, A., Abbeel, P., and           pp. 125, 2003.
  Levine, S. Soft actor-critic algorithms and applications.        Zhang, Z., Chen, Y., Lee, J. D., and Du, S. S. Settling
  CoRR, abs/1812.05905, 2018.                                        the sample complexity of online reinforcement learning.
Kiran, B. R., Sobh, I., Talpaert, V., Mannion, P., Al Sal-           In Annual Conference on Learning Theory (COLT), Pro-
  lab, A. A., Yogamani, S., and Pérez, P. Deep reinforce-           ceedings of Machine Learning Research, pp. 5213–5219.
  ment learning for autonomous driving: A survey. IEEE               PMLR, 2024.

                                                               7
                       Position: Constants are Critical in Regret Bounds for Reinforcement Learning

A. Additional Examples in the Bandit Literature
In this section, we present and discuss examples from the MAB literature of works that, by focusing on deriving tighter
constants and lower-order terms, achieve significant performance improvements.

Multi-Armed Bandits. In the MAB setting, an agent selects an arm to pull and receives a scalar reward as feedback.
(Auer et al., 2002) propose the well-known UCB1 algorithm, which adopts the optimism in the face of uncertainty principle
to guide the exploration of the agent. The original version of UCB1 derives its confidence bound via an argument based
on Boole’s inequality, later using such a confidence bound to derive its regret bound. Later, (Bubeck, 2010) develop an
improved version of the algorithm and, through a more convoluted analysis, improve the confidence bound by a factor 4
                  a based on Martingales and to a Peeling argument. As a result, the confidence bound of (Auer et al.,
thanks to arguments
2002) contains a 2 logpT q{n term, where T is the learninga    horizon and n is the number of times an arm has been pulled,
whereas the confidence bound of (Bubeck, 2010) contains a α logptq{n term, where t is the current round, and provides
a regret bound for any α ą 1{2. This modification does not change the order of the regret, which is equal for both the
minimax and instance-dependent perspectives (up to constants). However, this refinement has the paramount effect of
reducing unnecessary exploration, thus significantly improving the empirical performance of the algorithm. In support of
this argument, in Figure 3 we show a comparison between the two versions of the UCB1 algorithm, for a varying number
of actions A P t3, 5, 10u and time horizon T P t104 , 5 ¨ 104 , 105 u. This simple experiment demonstrates the impact that
improvements can have on the empirical performance of an algorithm, even if they cannot be observed in the order of the
regret. The two versions of the UCB1 algorithm discussed above work in the settings in which the reward is drawn from a
subgaussian distribution.
Additionally, in the specific case in which the reward is sampled from a Bernoulli distribution, (Garivier & Cappé, 2011)
further improves the performance achievable by an agent. The authors propose the KL-UCB algorithm, an optimistic
algorithm that employs the Kullback-Leibler (KL) divergence to compute the upper confidence bound of each arm at
each round. Through a tight analysis, the authors derive an asymptotically optimal regret bound. Moreover, the authors
demonstrate the superior empirical performance of their algorithm against several baselines, among which the original
version of UCB1, in different scenarios.

Linear Bandits. Abbasi-Yadkori et al. (2011) study Linear Bandits, i.e., the setting in which the agent selects an action
Xt P Rd and receives a reward Yt “ xXt , θ˚ y ` ηt , where θ˚ P Rd is an unknown parameter that the agent wants to
estimate, and ηt is a zero-mean random noise. The authors improve  a on the work of Dani et al. (2008), modifying it to
employ a novel confidence set, which reduces the regret bound of a logpT q multiplicative factor, where T is the learning
horizon. Although improving the analysis by a lower-order term, the authors then show that the empirical improvement is
far more significant, thus demonstrating that modifications affecting lower-order terms in the regret analysis can have a
meaningful impact on the practical performance of an algorithm.




                                                            8
                                                      Position: Constants are Critical in Regret Bounds for Reinforcement Learning




                                 Auer et al. 2002                                                                  Auer et al. 2002                                                                  Auer et al. 2002
                    100          Bubeck 2010                                                                       Bubeck 2010                                                                       Bubeck 2010
                                                                                                      150                                                                               300
Cumulative Regret




                                                                                  Cumulative Regret




                                                                                                                                                                    Cumulative Regret
                    80

                    60                                                                                100                                                                               200


                    40
                                                                                                       50                                                                               100
                    20

                     0                                                                                  0                                                                                 0
                          0       0.2       0.4     0.6       0.8             1                             0       0.2       0.4     0.6       0.8             1                             0       0.2       0.4     0.6       0.8          1
                                               Rounds               ¨10   4                                                      Rounds               ¨10   4                                                      Rounds               ¨104

                               (a) A “ 3, T “ 104 .                                                              (b) A “ 5, T “ 104 .                                                              (c) A “ 10, T “ 104 .

                    200
                                                                                                      300                                                                               600
                                 Auer et al. 2002                                                                  Auer et al. 2002                                                                  Auer et al. 2002
                                 Bubeck 2010                                                                       Bubeck 2010                                                                       Bubeck 2010
                    150
Cumulative Regret




                                                                                  Cumulative Regret




                                                                                                                                                                    Cumulative Regret
                                                                                                      200                                                                               400

                    100

                                                                                                      100                                                                               200
                     50



                      0                                                                                 0                                                                                 0
                          0       1          2            3   4               5                             0       1          2            3   4               5                             0        1         2            3   4            5
                                                 Rounds             ¨104                                                           Rounds             ¨104                                                           Rounds             ¨104

                              (d) A “ 3, T “ 5 ¨ 104 .                                                          (e) A “ 5, T “ 5 ¨ 104 .                                                          (f) A “ 10, T “ 5 ¨ 104 .


                                 Auer et al. 2002                                                                  Auer et al. 2002                                                                  Auer et al. 2002
                    200          Bubeck 2010                                                                       Bubeck 2010                                                                       Bubeck 2010
                                                                                                      300                                                                               600
Cumulative Regret




                                                                                  Cumulative Regret




                                                                                                                                                                    Cumulative Regret




                    150
                                                                                                      200                                                                               400
                    100

                                                                                                      100                                                                               200
                    50


                     0                                                                                  0                                                                                 0
                          0       0.2       0.4     0.6       0.8             1                             0       0.2       0.4     0.6       0.8             1                             0       0.2       0.4     0.6       0.8          1
                                               Rounds               ¨105                                                         Rounds               ¨105                                                         Rounds               ¨105

                               (g) A “ 3, T “ 105 .                                                              (h) A “ 5, T “ 105 .                                                              (i) A “ 10, T “ 105 .

Figure 3. Performances in terms of cumulative regret for a stochastic bandit problem with A P t3, 5, 10u for T P t104 , 5 ¨ 104 , 105 u (50
runs, mean ˘ 95% C.I.).




                                                                                                                                9
                        Position: Constants are Critical in Regret Bounds for Reinforcement Learning

B. Notation
In this section, we collect the notation used throughout the main paper and the appendices with the related meaning.


  Symbol                    Meaning
  S                         State space
  A                         Action space
  P                         Transition distribution
  R                         Reward function
  H                         Length of the episode
  K                         Total number of episodes
  T                         Total number of steps
  Tk                        Total number of steps up to episode k
  S                         Cardinality of the state space
  A                         Cardinality of the action space
  xk,h                      State occupied at stage h of episode k
  aπk,h                     Action played at stage h of episode k under policy π
  Rπ pxq                    Reward obtained by playing according to policy π in state x
  Nk px, aq                 Number of visits to state-action pair px, aq up to episode k
  Nk px, a, yq              Number of transitions to state y from state x after playing action a, up to episode k
     1
  Nk,h   pxq                Number of visits to state x at stage h up to episode k
  Pk
  p                         Estimated transition distribution
  bk,h                      Exploration bonus
                                    2  3 2
                                           AL2
  b1k,h pxq                 mint 84 NH1 Spxq   , H 2u
                                      k,h

  πk                        Policy played during episode k
  π˚                        Optimal policy
  Qk,h                      Optimistic state-action value function
  Vh˚                       Value function of the optimal policy at stage h
  Vhπ                       Value function under policy π at stage h
  Vk,h                      Optimistic estimator of the optimal value function at stage h of episode k
  ∆k,h pxq                  Regret in state x, at stage h of episode k, following policy πk
  ∆
  r k,h pxq                 Pseudo-regret in state x, at stage h of episode k, following policy πk
  RegpUCBVI-CH, kq          Regret of UCBVI using Chernoff-Hoeffding bonus after k episodes
  RegpUCBVI-CH,
  Ą                 kq      Pseudo-regret of UCBVI using Chernoff-Hoeffding bonus after k episodes
  RegpUCBVI-BF-I, kq        Regret of UCBVI using Bernstein-Freedman bonus after k episodes
  RegpUCBVI-BF-I,
  Ą                    kq   Pseudo-regret of UCBVI using Bernstein-Freedman bonus after k episodes
  E                         Concentration inequalities event
  Ω, Ωk,h                   Optimism events
  ε, ε                      Martingale differences sequences
  rkstyp , rkstyp,x         Sets of typical episodes
  Hk,h                      History of the interactions up to, and including, stage h of episode k
  L                         Logarithmic term lnp5HSAT {δq
  Vπhk px, aq               Next-state variance of V πk
  V˚h                       Next-state variance of V ˚
  V
  p k,h                     Empirical next-state variance of Vk,h
  p˚
  V                         Empirical next-state variance of V ˚
    k,h
                                                                           ř                             ˚
  ξk,j px, aq               State-action wise model error ξk,j px, aq :“ yPS rPpk py|x, aq ´ P py|x, aqsVh`1 pyq

                                                  Table 2. Table of notation.

                                                              10
                         Position: Constants are Critical in Regret Bounds for Reinforcement Learning

We define the empirical next state variance of V as:


                                           p k,h`1 px, aq :“
                                           V                        Var          rVk,h`1 pyqs.
                                                                 y„Ppk p¨|x,aq



We define the next state variance of V ˚ as:


                                               V˚h`1 px, aq :“      Var        ˚
                                                                             rVh`1 pyqs.
                                                                 y„P p¨|x,aq



We define the next state variance of V π as:


                                               Vπh`1 px, aq :“      Var        π
                                                                             rVh`1 pyqs.
                                                                 y„P p¨|x,aq



Finally, we define the empirical next state variance of V ˚ as:


                                           p˚                                       ˚
                                           V k,h`1 px, aq :“          Var         rVh`1 pyqs.
                                                                  y„Ppk p¨|x,aq


C. High Probability Events
In this section, we restate the high probability event E under which the concentration inequalities hold, presented in
Appendix B.4 of (Azar et al., 2017).
Event E is defined as:



                           č č „        ´             ¯č     ˆ
                                                                         1
                                                                               ˙č     ´                ¯
                                                                 1
                E :“ EPp             Eaz F∆,k,h
                                          r     , H, L   Eaz   F∆,k,h
                                                                      , ?   , L   Eaz   F∆,k,h,x
                                                                                          r      , H, L
                                                                          L
                                                                 r
                             kPJKK
                             hPJHK
                              xPS
                                           ˆ                    ˙č
                                     č                    1             `                     ˘
                                              1
                                       Eaz F∆,k,h,x    , ? ,L      Efr GV,k,h , H 4 T, H 3 , L
                                                            L
                                              r
                                     č `                                  ˘č     `                 ˘
                                                         5 1
                                       Efr GV,k,h,x , H Nk,h pxq, H 3 , L    Eaz Fb1 ,k,h , H 2 , L
                                     č                          ȷ
                                           `              2
                                                              ˘
                                       Eaz Fb ,k,h,x , H , L
                                              1




We refer the reader to Lemma 1 of (Azar et al., 2017) for the proof that event E holds with high probability. Let, for ease of
reading x “ xi,j , x1 “ xi,j`1 , and a “ aπi,ji We now restate the definition of the events that compose E:


                    !                                                                                    )
              EPp :“ Ppk py|x, aq P Ppk, h, Nk px, aq, x, a, yq, @k P JKK, h P JHK, px, a, yq P S ˆ A ˆ S ,


where Ppk, h, n, x, a, yq is defined as the subset of the set of all probability distributions P over S such that:

                                                                   11
                                   Position: Constants are Critical in Regret Bounds for Reinforcement Learning


                                                      #                                                                   c
                                                                                                                                SL
                    Ppk, h, n, x, a, yq :“ Prp¨|x, aq P P : }Prp¨|x, aq ´ P p¨|x, aq}1 ď 2                                         ,                                          (1)
                                                                                                                                 n
                                                          ÿ
                                                      |         pPrpy|x, aq ´ P py|x, aqqVh˚ pyq|
                                                          yPS
                                                                   ¨d
                                                                                                                                                                              (2)
                                                                                                                   c    ˛
                                                                           p˚
                                                                          2V                          ˚
                                                                             k,h`1 px, aqL
                                                                                        7HL        2V h`1 px, aqL   2HL ‚
                                                       ď min ˝                      `          ,                  `
                                                                          n           3pn ´ 1q           n           3n
                                                                                  c                    +
                                                                                    2pp1 ´ pqL 2L
                                                      |P py|x, aq ´ P py|x, aq| ď
                                                       r                                         `    , ,                                                                     (3)
                                                                                         n         3n

where Equation (1) follows by applying the result of Theorem 2.1 of (Weissman et al., 2003), Equation (2) follows by
applying both Bernstein’s inequality (see, e.g., Cesa-Bianchi & Lugosi, 2006) and the empirical Bernstein inequality (Maurer
& Pontil, 2009) ,and Equation (3) follows by applying Lemma D.1.

                                                  #             «                                                              ff   +
                    ´                ¯                    k H´1
                                                          ÿ ÿ ÿ                                                       a   1
                                                                                                      r i,j`1 px q ď 2 kpH ´ hqH 2 L ,
              Eaz       F∆,k,h
                         r     , H, L :“                                                r i,j`1 pyq ´ ∆
                                                                              P py|x, aq∆
                                                      i“1 j“h           yPS

                                                                              d
                              ˆ                 ˙   "ÿk ÿ H „ ÿ                                                ȷ
                                   1        1                                      Ipy P rysi,j q r
                    Eaz           F∆,k,h , ? , L :“                P py|x, aq                       ∆i,j`1 pyq
                                   r
                                             L       i“1 j“h yPS
                                                                                Ni px, aqP py|x, aq
                                                       d                                      d                  *
                                                             Ipy P rysi,j q r          1                     1
                                                     ´                        ∆i,j`1 px q ď 2 kpH ´ hq ? 2 L ,
                                                          Ni px, aqP py|x, aq                                L
                                      #                                  «                                            ff                     +
      ´                  ¯                k
                                          ÿ                        H´1
                                                                   ÿ          ÿ                                           b
                                                                                                                    1       1              2
Eaz       F∆,k,h,x
           r       , H, L :“                    Ipxi,h “ xq                         P py|x, aq∆i,j`1 pyq ´ ∆i,j`1 px q ď 2 Nk,h pxqpH ´ hqH L ,
                                                                                              r            r
                                          i“1                      j“h        yPS

                                              #                 «                       d
                    ˆ                    ˙       k                 H „ ÿ                                                 ȷ
                         1          1           ÿ                  ÿ                         Ipy P rysi,j q r
              Eaz       F∆,k,h,x , ?   ,L  :“       Ipxi,h “ xq             P py|x, aq                        ∆i,j`1 pyq
                         r
                                     L          i“1               j“h yPS
                                                                                          Ni px, aqP py|x, aq
                                                  d                                  ff   d                            +
                                                        Ipy P rysi,j q r                                          1
                                               ´                         ∆i,j`1 px1 q ď 2 Nk,h  1 pxqpH ´ hq
                                                                                                               ? 2L ,
                                                     Ni px, aqP py|x, aq                                          L


                                                                        #             «                            ff                                    +
                                                                            k
                                                                            ÿ         H´1
                                                                                      ÿ                                    k H´1
                                                                                                                           ÿ ÿ
                                                                                                Vπj`1                                     Vπj`1
                               `                    ˘
                         Efr GV,k,h , H 4 T, H 3 , L :“                           E                k
                                                                                                      px, aq|Hk,h ´                          k
                                                                                                                                                px, aq
                                                                            i“1           j“h                             i“1 j“h
                                                                             a           4H 3 L
                                                                          ď 2 H 4 Tk L `        ,
                                                                                           3


                                                           #                               «                              ff                                              +
                                                                 k
                                                                 ÿ                              H´1
                                                                                                ÿ                                   k
                                                                                                                                    ÿ                    H´1
                                                                                                                                                         ÿ
                                                                                                      Vπj`1                                                    Vπj`1
      `                  5
                                                  ˘
 Efr GV,k,h,x , H             1
                             Nk,h pxq, H 3 , L        :“               Ipxi,h “ xqE                      k
                                                                                                            px, aq|Hk,h        ´          Ipxi,h “ xq             k
                                                                                                                                                                     px, aq
                                                                 i“1                            j“h                                 i“1                  j“h
                                                                           3
                                                               1 pxqL ` 4H L ,
                                                         b
                                                      ď 2 H 5 Nk,h
                                                                          3



                                                                                            12
                         Position: Constants are Critical in Regret Bounds for Reinforcement Learning
                                                         #                                                       +
                                                             k H´1
                                                             ÿ ÿ ÿ
                              `                 ˘
                          Eaz Fb1 ,k,h , H 2 , L :“                          P py|x, aqb1i,j`1 pyq ´ b1i,j`1 px1 q
                                                             i“1 j“h yPS
                                                      a
                                                   ď 2 kpH ´ hqH 4 L


                                               #                                                                         ȷ+
                                                   k
                                                   ÿ                    „ H´1
                                                                          ÿ ÿ
                     `                   ˘
                 Eaz Fb1 ,k,h,x , H 2 , L :“             Ipxi,h “ xq                P py|x, aqb1i,j`1 pyq ´ b1i,j`1 px1 q
                                                   i“1                    j“h yPS
                                            b
                                              1 pxqpH ´ hqH 4 L
                                         ď 2 Nk,h



D. Technical Lemmas
Lemma D.1 (Bernstein inequality for Bernoulli random variables). Let p be the parameter of a Bernoulli random variable,
and let pp be its estimator. Let δ ą 0. Then, w.p. at least 1 ´ δ, it holds that:
                                                                   c
                                                                       2pp1 ´ pqL 2L
                                                    p ´ p| ď
                                                   |p                            `    ,
                                                                            n      3n
where n represents the number of observations, and L “ lnp2{δq.

Proof. Let tYi ui“1...,n be the set of i.i.d. realizations of a Bernoulli with parameter p. Define the auxiliary random variable:

                                                                             Yi
                                                                   Xi “         .
                                                                             n
Observe that X1 , . . . , Xn are independent random variables, and that 0 ď Xi ď 1{n. Let Sn be their sum, and En be the
expected value of Sn :


                                                              n
                                                              ÿ
                                                    Sn “           Xi “ pp,
                                                             i“1
                                                                          n
                                                                          ÿ
                                                   En “ ErSn s “                ErXi s “ p.
                                                                         i“1


Let Vn be the variance of Sn :

                                                     n                       n ˆ          ˙
                                                     ÿ                       ÿ   1p1 ´ pq           pp1 ´ pq
                              Vn “ VarrSn s “                VarrXi s “                         “            .
                                                     i“1                     i“1
                                                                                      n2               n

By applying Bernstein’s inequality, we obtain that:

                                                                      ϵ2 {2
                                                                                ˆ                   ˙
                                      Prp|Sn ´ En | ą ϵq ă 2 exp ´                                      ,                     (4)
                                                                   Vn ` Cpϵ{3q

where C is the range of values of the addends in Sn (i.e., C “ 1{n). By setting this probability to be equal to δ, we can
derive that:

                                                   ϵ2
                                                                   ˆ ˙         ˆ ˙
                                                                    2     ϵ     2
                                                      “ Vn ln          `    ln     .
                                                   2                δ    3n     δ

                                                                        13
                       Position: Constants are Critical in Regret Bounds for Reinforcement Learning

Let L “ lnp2{δq, by solving the second order polynomial we get that:



                                                                      c
                                                          L               L2
                                                       ϵ“    ˘                ` 2Vn L.
                                                          3n              9n2



We can discard the equation with the minus, as it would result in ϵ ă 0, and consequently in the inequality in Equation (4)
holding w.p. 1. As such, we derive that:



                                                           c
                                                      L        L2
                                                   ϵ“    `         ` 2Vn L
                                                      3n      9n2
                                                           c         c
                                                      L        L2      2pp1 ´ pqL
                                                    ď    `       2
                                                                   `
                                                      3n      9n            n
                                                      c
                                                        2pp1 ´ pqL 2L
                                                    “               `     ,
                                                             n        3n


thus completing the proof.




Lemma D.2 (Regret decomposition upper bound). Let k P JKK and h P JHK. Assume events E and Ωk,h hold. Then the
regret from stage h onward of all episodes up to k can be upper bounded as follows:



                      k
                      ÿ                      k
                                             ÿ                        k H´1
                                                                      ÿ ÿ ”         ?
                            ∆i,h pxi,h q ď         ∆
                                                   r i,h pxi,h q ďe         εi,j ` 2 Lεi,j ` bi,j pxi,j , aπi,ji q
                      i“1                    i“1                      i“1 j“h

                                                                                                8H 2 SL ı
                                                                  ` ξi,j pxi,j , aπi,ji q `                        .
                                                                                              3Ni pxi,j , aπi,ji q




Proof. We begin the proof by considering a single value of k P JKK. Under Ωk,h , we observe that:


                                              ∆k,h pxk,h q “ Vh˚ pxk,h q ´ Vhπk pxk,h q
                                                              ď Vk,h pxk,h q ´ Vhπk pxk,h q
                                                              “∆r k,h pxk,h q.



As such, we bound the pseudo-regret ∆
                                    r k,h pxk,h q:

                                                                       14
                         Position: Constants are Critical in Regret Bounds for Reinforcement Learning



             r k,h pxk,h q “ Vk,h pxk,h q ´ V πk pxk,h q
             ∆                                h
                                                  ÿ                                  ÿ
                           “ bk,h pxk,h , aπk q `
                                               k,h   Ppk py|xk,h , aπk qVk,h`1 pyq ´
                                                                               k,h     P py|xk,h , aπk qV πk pyq     k,h   h`1
                                                        yPS                                        yPS
                                                          ÿ”                                           ı
                          “ bk,h pxk,h , aπk,h
                                            k
                                               q`           Ppk py|xk,h , aπk,h
                                                                             k
                                                                                q ´ P py|xk,h , aπk,h
                                                                                                   k
                                                                                                      q Vk,h`1 pyq
                                                        yPS
                                   ÿ
                                         P py|xk,h , aπk,h                    πk
                                                               “                     ‰
                               `                        k
                                                           q    Vk,h`1 pyq ´ Vh`1 pyq
                                   yPS
                                                          ÿ”                                           ı
                          “ bk,h pxk,h , aπk,h
                                            k
                                               q`           Ppk py|xk,h , aπk,h
                                                                             k
                                                                                q ´ P py|xk,h , aπk,h
                                                                                                   k     ˚
                                                                                                      q Vh`1 pyq
                                                        yPS
                                 ÿ”                                           ı“
                                   Ppk py|xk,h , aπk,h q ´ P py|xk,h , aπk,h                 ˚
                                                                                                    ‰
                               `                    k                     k
                                                                             q Vk,h`1 pyq ´ Vh`1 pyq
                                   yPS
                                   ÿ
                               `         P py|xk,h , aπk,h
                                                        k
                                                           q∆
                                                            r k,h`1 pyq
                                   yPS
                           r k,h`1 pxk,h`1 q ` bk,h pxk,h , aπk q ` εk,h
                          “∆                                                                                                      (5)
                                                             k,h
                           ÿ”                                            ı
                                              πk
                                Pk py|xk,h , ak,h q ´ P py|xk,h , aπk,h
                                p                                    k     ˚
                                                                        q Vh`1 pyq
                               yPS
                                   ÿ”                                           ı“
                                     Ppk py|xk,h , aπk,h q ´ P py|xk,h , aπk,h                 ˚
                                                                                                       ‰
                               `                      k                     k
                                                                               q Vk,h`1 pyq ´ Vh`1 pyq
                                   yPS
                           r k,h`1 pxk,h`1 q ` bk,h pxk,h , aπk q ` ξk,h pxk,h , aπk q
                          ď∆                                      k,h                    k,h
                                     ÿ”                     πk                     πk
                                                                                         ı“                              ‰
                                                                                                                 ˚
                           ` εk,h `        Pk py|xk,h , ak,h q ´ P py|xk,h , ak,h q Vk,h`1 pyq ´ Vh`1
                                            p                                                                        pyq ,        (6)
                                     yPS
                                     looooooooooooooooooooooooooooooooooooooooomooooooooooooooooooooooooooooooooooooooooon
                                                                                     paq


where, in Equation (5) we apply the definition εk,h :“ P p¨|xk,h , aπk,h
                                                                      k Tr
                                                                         q ∆k,h`1 p¨q ´ ∆
                                                                                        r k,h`1 pxk,h`1 q, and in Equation (6)
                                         πk
we apply the definition of ξk,h pxk,h , ak,h q:

                                                      ÿ”                                           ı
                             ξk,h pxk,h , aπk,h
                                             k
                                                q“      Ppk py|xk,h , aπk,h
                                                                         k
                                                                            q ´ P py|xk,h , aπk,h
                                                                                               k     ˚
                                                                                                  q Vh`1 pyq.
                                                      yPS


Let Hk,h be the history of the interactions up to, and including, stage h of episode k. Observing that |εk,h | ď H ď `8 and
Erεk,h |Hk,h s “ 0, we can derive that εk,h is a Martingale difference sequence.
We now focus on bounding term paq:

                         ÿ”                                           ı“
                           Ppk py|xk,h , aπk,h q ´ P py|xk,h , aπk,h                 ˚
                                                                                             ‰
                 paq “                      k                     k
                                                                     q Vk,h`1 pyq ´ Vh`1 pyq
                         yPS
                               «d                                                                                ff
                         ÿ           2P py|xk,h , aπk,h
                                                     k
                                                        qp1 ´ P py|xk,h , aπk,h
                                                                             k
                                                                                qqL                2L
                     ď                                                                     `                        ∆
                                                                                                                    r k,h`1 pyq   (7)
                         yPS
                                                     Nk pxk,h , aπk,h
                                                                   k
                                                                      q                      3Nk pxk,h , aπk,h
                                                                                                            k
                                                                                                               q
                               d
                         ÿ         2P py|xk,h , aπk,h
                                                   k
                                                      qL                             2L           ÿ
                     ď                                       ∆
                                                             r k,h`1 pyq `                            ∆
                                                                                                      r k,h`1 pyq                 (8)
                         yPS
                                     Nk pxk,h , aπk,h
                                                   k
                                                      q                                     πk
                                                                               3Nk pxk,h , ak,h q yPS
                                      d
                         ?        ÿ       2P py|xk,h , aπk,h
                                                          k
                                                             qL                     2SHL
                     ď       2L                            πk    ∆r k,h`1 pyq `             πk ,                                  (9)
                                  yPS
                                             N   px
                                               k k,h k,h, a   q                 3N k k,h , ak,h q
                                                                                    px
                                  looooooooooooooooooooomooooooooooooooooooooon
                                                       pbq


                                                                          15
                         Position: Constants are Critical in Regret Bounds for Reinforcement Learning

where Equation (7) is obtained by applying Lemma D.1 to bound Ppk ´ P , Equation (8) is obtained by splitting the terms
and observing that 1 ´ P py|x, aq ď 1 for every x, y P S and a P A, and finally Equation (9) is obtained by upper bounding
r k,h`1 pyq with H. To bound term pbq, we first need to define the following set of states:
∆


                                  rysk,h :“ ty P S : Nk pxk,h , aπk,h
                                                                   k
                                                                      qP py|xk,h , aπk,h
                                                                                      k
                                                                                         q ě 2H 2 Lu.

As such, we can rewrite:

                                  d                                                           d
                         ÿ            2P py|xk,h , aπk,h
                                                      k
                                                         qL                          ÿ            2P py|xk,h , aπk,h
                                                                                                                  k
                                                                                                                     qL
               pbq “                                            ∆
                                                                r k,h`1 pyq `                                           ∆r k,h`1 pyq .   (10)
                                       Nk pxk,h , aπk,h
                                                     k
                                                        q                                          Nk pxk,h , aπk,h
                                                                                                                 k
                                                                                                                    q
                       yPrysk,h                                                    yRrysk,h
                       loooooooooooooooooooooooomoooooooooooooooooooooooon         loooooooooooooooooooooooomoooooooooooooooooooooooon
                                                  pcq                                                      pdq


We now bound term pcq as:


                                              d
                                      ÿ           2P py|xk,h , aπk,h
                                                                  k
                                                                     qL
                         pcq “                                            ∆
                                                                          r k,h`1 pyq
                                                    Nk pxk,h , aπk,h
                                                                  k
                                                                     q
                                  yPrysk,h
                                                                 d
                                      ÿ                                                 1
                              “               P py|xk,h , aπk,h
                                                             k
                                                                q                                           ∆
                                                                                                            r k,h`1 pyq
                                                                      Nk pxk,h , aπk,h
                                                                                    k
                                                                                       qP py|xk,h , aπk,h
                                                                                                       k
                                                                                                          q
                                  yPrysk,h
                                             d
                                                      Ipxk,h`1 P rysk,h q
                              “ εk,h `                                                 ∆
                                                                                       r k,h`1 pxk,h`1 q                                 (11)
                                                 Nk pxk,h , aπk,h
                                                               k
                                                                  qP py|xk,h , aπk,h
                                                                                  k
                                                                                     q
                                             c
                                                   1 r
                              ď εk,h `                  ∆k,h`1 pxk,h`1 q,                                                                (12)
                                                 2H 2 L

where Equation (11) is obtained by applying the definition of εk,h :


                                                                 d
                                      ÿ                                       Ipy P rysk,h q
                           εk,h :“          P py|xk,h , aπk,h
                                                           k
                                                              q                                            ∆
                                                                                                           r k,h`1 pyq
                                      yPS
                                                                     Nk pxk,h , aπk,h
                                                                                   k
                                                                                      qP py|xk,h , aπk,h
                                                                                                      k
                                                                                                         q
                                        d
                                                      Ipy P rysk,h q
                                    ´                                              ∆
                                                                                   r k,h`1 pxk,h`1 q,
                                             Nk pxk,h , aπk,h
                                                           k
                                                              qP py|xk,h , aπk,h
                                                                              k
                                                                                 q


and Equation (12) is obtained by bounding the indicator function with 1, and by applying the definition of rysk,h . With the
same reasoning of εk,h , we can prove that εk,h is also a Martingale difference sequence.
We can now bound term pdq as follows:


                                                         d
                                                  ÿ          P py|xk,h , aπk,h
                                                                            k
                                                                               q
                                   pdq “                                           ∆
                                                                                   r k,h`1 pyq
                                                             Nk pxk,h , aπk,h
                                                                           k
                                                                              q
                                              yRrysk,h
                                                         d
                                                  ÿ          Nk pxk,h , aπk,h
                                                                           k
                                                                              qP py|xk,h , aπk,h
                                                                                              k
                                                                                                 q
                                          “                                                           ∆
                                                                                                      r k,h`1 pyq
                                                                     pNk pxk,h , aπk,h
                                                                                    k
                                                                                       qq2
                                              yRrysk,h
                                                     ?
                                               H 2 S 2L
                                          ď                      ,                                                                       (13)
                                              Nk pxk,h , aπk,h
                                                            k
                                                               q

                                                                          16
                           Position: Constants are Critical in Regret Bounds for Reinforcement Learning

where Equation (13) is obtained by bounding ∆ r k,h`1 pyq with H, and by applying the definition of rysk,h . We can now plug
the bounds of pcq and pdq into Equation (10) to obtain that:
                                                           c                                    ?
                                                                 1 r                      H 2 S 2L
                                        pbq ď εk,h `                  ∆k,h`1 pxk,h`1 q `                    .
                                                               2H 2 L                    Nk pxk,h , aπk,h
                                                                                                       k
                                                                                                          q

By plugging the bound of pbq into Equation (9), we obtain that:

                                                   ?              1 r                     8H 2 SL
                                        paq ď          2Lεk,h `     ∆k,h`1 pxk,h`1 q `                     .
                                                                  H                    3Nk pxk,h , aπk,h
                                                                                                      k
                                                                                                         q

Finally, substituting the bound on paq into Equation (6), we obtain that:


                                                                                                                                      8H 2 SL
                  ˆ            ˙
                           1                                                                                        ?
∆
r k,h pxk,h q ď       1`           r k,h`1 pxk,h`1 q ` bk,h pxk,h , aπk q ` ξk,h pxk,h , aπk q ` εk,h `
                                   ∆                                                                                    2Lεk,h `                       .
                           H                                         k,h                  k,h
                                                                                                                                   3Nk pxk,h , aπk,h
                                                                                                                                                  k
                                                                                                                                                     q

We now apply an inductive argument on ∆
                                      r k,h pxk,h q to isolate the term.
               r k,H`1 pxk,H`1 q “ 0 by definition, we can rewrite:
Observing that ∆

                                               «                                                                                       ff
                               H´1
                               ÿ                                                                      ?               8H 2 SL
          ∆
          r k,h pxk,h q ď             γj´h     bk,j pxk,j , aπk,j
                                                               k
                                                                  q ` ξk,j pxk,j , aπk,j
                                                                                      k
                                                                                         q ` εk,j `       2Lεk,j `                        ,
                               j“h
                                                                                                                   3Nk pxk,j , aπk,j
                                                                                                                                  k
                                                                                                                                     q

                       1 j´h
                `        ˘
where γj´h “ 1 ` H            . Notice that the summation is limited to H ´ 1. This will be recurrent throughout the paper and
is due to the fact that, the reward being deterministic, there is no uncertainty at h “ H. As such, we can assume that the
policies πk for k P JKK always play greedily at the last stage of each episode.
                      1
                                                                                                            `      ˘x
Observing that 1 ` H     ą 1, we trivially derive that γj´h ď γH for j P Jh, HK. Recalling that limxÑ`8 1 ` x1 “ e, we
can bound γH ď e, and rewrite:

                                           «                                                                                         ff
                                     H´1
                                     ÿ                                                              ?               8H 2 SL
            r k,h pxk,h q ď e
            ∆                                bk,j pxk,j , aπk,j
                                                             k
                                                                q ` ξk,j pxk,j , aπk,j
                                                                                    k
                                                                                       q ` εk,j `       2Lεk,j `                        ,           (14)
                                     j“h
                                                                                                                 3Nk pxk,j , aπk,j
                                                                                                                                k
                                                                                                                                   q

To conclude the proof, we need now to show that this holds for any value of k P JKK. Recalling the definition of Ωk,h :

                                                  ␣                                                (
                                           Ωk,h :“ Vi,j pxq ě Vj˚ pxq, @pi, jq P rk, hshist , x P S ,

where rk, hshist :“ tpi, jq : i P JKK, j P JHK, pi ă kq _ pi “ k, j ě hqu, we observe that, if Ωk,h holds, then also the
events Ωi,j hold for pi, jq P rk, hshist . As such, we can sum up the previous bound of Equation (14) over all the episodes
i P JkK, thus concluding the proof.
Lemma D.3. Let k P JKK and h P JHK. Let events E and Ωk,h hold. Then the following bounds hold:
                                                                 H
                                                               k ÿ
                                                               ÿ               a
                                                                       εi,j ď 2 H 2 Tk L,
                                                             i“1 j“h
                                                                 H
                                                               k ÿ
                                                               ÿ               a
                                                                       εi,j ď 2 Tk ,
                                                             i“1 j“h

where Tk “ kH.

                                                                           17
                         Position: Constants are Critical in Regret Bounds for Reinforcement Learning

Proof. Let us first recall the definitions of εi,j and εi,j :

  εi,j :“ P p¨|xi,j , aπi,ji qT ∆
                                r i,j`1 p¨q ´ ∆
                                              r i,j`1 pxi,j`1 q,
                                    d                                                d
          ÿ
                                πi             Ipy P rysi,j q                                 Ipy P rysi,j q
  εi,j :“     P py|xi,j , ai,j q                  πi                 πi ∆i,j`1 pyq ´
                                                                           r                    πi                πi ∆i,j`1 pxi,j`1 q,
                                                                                                                        r
          yPS
                                      N   px
                                         i i,j , ai,j qP py|x i,j , ai,j q             N i i,j ai,j qP py|xi,j , ai,j q
                                                                                          px  ,


where:


                                 rysk,h :“ ty P S : Nk pxk,h , aπk,h
                                                                  k
                                                                     qP py|xk,h , aπk,h
                                                                                     k
                                                                                        q ě 2H 2 Lu.

Under event E the following events hold:
                                                                                        1
                                                                                                  ?
                                        Eaz pF∆,k,h
                                              r     , H, Lq,              and     Eaz pF∆,k,h
                                                                                        r     , 1{ L, Lq.


Event Eaz pF∆,k,h
            r     , H, Lq is defined as the event such that:


                          «                                                                      ff
                    k H´1
                    ÿ ÿ ÿ                                                                                a
                                     P py|xi,j , aπi,ji q∆
                                                         r i,j`1 pyq ´ ∆
                                                                       r i,j`1 pxi,j`1 q              ď 2 kpH ´ 1 ´ hqH 2 L
                    i“1 j“h    yPS
                                                                                                         a
                                                                                                      ď 2 H 2 Tk L.

Under this event, we can apply the definition of εi,j and derive that:

                                                         k H´1
                                                         ÿ ÿ                 a
                                                                     εi,j ď 2 H 2 Tk L.
                                                         i“1 j“h


            1
                      ?
Event Eaz pF∆,k,h
            r     , 1{ L, Lq, on the other hand, is defined as the event such that:


                                                                     d
                              H „ ÿ
                            k ÿ                                                                                            ȷ
                            ÿ                                                     Ipy P rysi,j q
                                              P py|xi,j , aπi,ji q                                               ∆i,j`1 pyq
                                                                                                                 r
                            i“1 j“h     yPS
                                                                         Ni pxi,j , aπi,ji qP py|xi,j , aπi,ji q
                                               d
                                                            Ipy P rysi,j q
                                           ´                                               ∆
                                                                                           r i,j`1 pxi,j`1 q
                                                   Ni pxi,j , aπi,ji qP py|xi,j , aπi,ji q
                                              d
                                                      1
                                        ď 2 kpH ´ hq ? 2 L
                                                      L
                                           a
                                        ď 2 Tk .

Under this event, we can apply the definition of εi,j and derive that:

                                                             k H´1
                                                             ÿ ÿ                   a
                                                                           εi,j ď 2 Tk ,
                                                            i“1 j“h


thus concluding the proof.

                                                                             18
                           Position: Constants are Critical in Regret Bounds for Reinforcement Learning

Lemma D.4. Let k P JKK, h P JHK, and x P S. Let events E and Ωk,h hold. Then the following bounds hold:
                                                   k
                                                   ÿ                    H
                                                                        ÿ             a
                                                       Ipxi,h “ xq            εi,j ď 2 H 2 Tk L,
                                                 i“1                   j“h
                                                   k
                                                   ÿ                    H
                                                                        ÿ             a
                                                       Ipxi,h “ xq            εi,j ď 2 Tk ,
                                                 i“1                   j“h

where Tk “ kH.

Proof. In a similar way to the proof of Lemma D.3, we recall the definitions of εi,j and εi,j :

                               εi,j :“ P p¨|xi,j , aπi,ji qT ∆
                                                             r i,j`1 p¨q ´ ∆
                                                                           r i,j`1 pxi,j`1 q,
                                                                 d
                                       ÿ                                    Ipy P rysi,j q
                               εi,j :“     P py|xi,j , aπi,ji q                   πi              πi ∆i,j`1 pyq
                                                                                                       r
                                       yPS
                                                                   N  i i,j ai,j qP py|xi,j , ai,j q
                                                                       px   ,
                                         d
                                                         Ipy P rysi,j q
                                      ´                                             ∆
                                                                                    r i,j`1 pxi,j`1 q,
                                            Ni pxi,j , aπi,ji qP py|xi,j , aπi,ji q

where:


                                  rysk,h :“ ty P S : Nk pxk,h , aπk,h
                                                                   k
                                                                      qP py|xk,h , aπk,h
                                                                                      k
                                                                                         q ě 2H 2 Lu.

Under event E the following events hold:
                                                                                         1
                                                                                                     ?
                                      Eaz pF∆,k,h,x
                                            r       , H, Lq,           and         Eaz pF∆,k,h,x
                                                                                         r       , 1{ L, Lq.

Event Eaz pF∆,k,h,x
            r       , H, Lq is defined as the event such that:

                                         «                                                                    ff
                k
                ÿ                  H´1
                                   ÿ         ÿ                                                                        b
                     Ipxi,h “ xq                 P py|xi,j , aπi,ji q∆
                                                                     r i,j`1 pyq ´ ∆
                                                                                   r i,j`1 pxi,j`1 q               ď 2 H 3 Nk,h
                                                                                                                            1 pxqL.

               i“1                 j“h    yPS


Under this event, we can apply the definition of εi,j and derive that:

                                             k
                                             ÿ                     H´1
                                                                   ÿ             b
                                                   Ipxi,h “ xq           εi,j ď 2 H 3 Nk,h
                                                                                       1 pxqL.

                                             i“1                   j“h

            1
                        ?
Event Eaz pF∆,k,h,x
            r       , 1{ L, Lq, on the other hand, is defined as the event such that:

                                                                              d
                      k                  H „ ÿ                                                                                          ȷ
                      ÿ                  ÿ                                                 Ipy P rysi,j q
                           Ipxi,h “ xq                 P py|xi,j , aπi,ji q                                               ∆
                                                                                                                          r i,j`1 pyq
                     i“1                 j“h     yPS
                                                                                  Ni pxi,j , aπi,ji qP py|xi,j , aπi,ji q
                                                        d
                                                                     Ipy P rysi,j q
                                                    ´                                               ∆
                                                                                                    r i,j`1 pxi,j`1 q
                                                            Ni pxi,j , aπi,ji qP py|xi,j , aπi,ji q
                                                       d
                                                        1 pxqpH ´ hq 1 L
                                                   ď 2 Nk,h         ? 2
                                                                     L
                                                      b
                                                           1 pxq.
                                                   ď 2 HNk,h


                                                                          19
                            Position: Constants are Critical in Regret Bounds for Reinforcement Learning

Under this event, we can apply the definition of εi,j and derive that:

                                                k
                                                ÿ                           H´1
                                                                            ÿ             b
                                                     Ipxi,h “ xq                             1 pxq,
                                                                                  εi,j ď 2 HNk,h
                                               i“1                          j“h


thus concluding the proof.



Lemma D.5. Let k P JKK and h P JHK. Let πk be the policy followed during episode k. Under the events E and Ωk,h , the
following holds for every x P S:


                                     k H´1
                                     ÿ ÿ                                     a          4
                                             Vπj`1
                                                k
                                                   pxi,j , aπi,ji q ď HTk ` 2 H 4 Tk L ` H 3 L,
                                     i“1 j“h
                                                                                        3
                      k                   H´1
                                                                                             1 pxqL ` 4 H 3 L.
                      ÿ                   ÿ                                            b
                            Ipxi,h “ xq       Vπj`1
                                                 k
                                                    pxi,j , aπi,ji q ď H 2 Nk,h
                                                                            1
                                                                                pxq ` 2 H 5 Nk,h
                      i“1                 j“h
                                                                                                      3


Proof. We begin the proof by restating the definition of Vπj`1
                                                            k
                                                               pxi,j , aπi,ji q:


                                               Vπj`1
                                                  k
                                                     pxi,j , aπi,ji q :“                Var  πi
                                                                                                     πk
                                                                                                  rVj`1 pyqs
                                                                               y„P p¨|xi,j ,ai,j q


Under event E, the following events hold:


                               Efr pG´V,k,h , H 4 Tk , H 3 , Lq and                    Efr pG´V,k,h,x , H 5 Nk,h
                                                                                                             1
                                                                                                                 , H 3 , Lq.

Event Efr pG´V,k,h , H 4 Tk , H 3 , Lq is defined as the event such that:

                                                                  «                                       ff
                  k H´1                                 k         H´1
                  ÿ ÿ                                   ÿ         ÿ                                               a           4H 3 L
                             Vπj`1
                                k
                                   pxi,j , aπi,ji q ´         E             Vπj`1
                                                                               k
                                                                                  pxi,j , aπi,ji q|Hk,h        ď 2 H 4 Tk L `        ,
                  i“1 j“h                               i“1           j“h
                                                                                                                                3

which implies that:

                                                                  «                                       ff
                  k H´1                                 k             H´1
                  ÿ ÿ                                   ÿ             ÿ                                           a           4H 3 L
                             Vπj`1
                                k
                                   pxi,j , aπi,ji q ď         E             Vπj`1
                                                                               k
                                                                                  pxi,j , aπi,ji q|Hk,h        ` 2 H 4 Tk L `        .            (15)
                  i“1 j“h                               i“1           j“h
                                                                                                                                3


On the other hand, event Efr pG´V,k,h,x , H 5 Nk,h
                                               1
                                                   , H 3 , Lq is defined as the event such that:


                                                                                                     «                                       ff
                   k
                   ÿ                   H´1
                                       ÿ                                     k
                                                                             ÿ                        H´1
                                                                                                      ÿ
                         Ipxi,h “ xq          Vπj`1
                                                 k
                                                    pxi,j , aπi,ji q ´             Ipxi,h “ xqE                Vπj`1
                                                                                                                  k
                                                                                                                     pxi,j , aπi,ji q|Hk,h
                   i“1                  j“h                                  i“1                         j“h
                                                                                             3
                                                                                 1 pxqL ` 4H L ,
                                                                           b
                                                                        ď 2 H 5 Nk,h
                                                                                            3

which implies that:

                                                                                  20
                            Position: Constants are Critical in Regret Bounds for Reinforcement Learning



                                                                                 «                                                ff
  k                   H´1                                  k                        H´1                                                                     3
                                                                                                                                                1 pxqL ` 4H L .
  ÿ                   ÿ                                    ÿ                        ÿ                                                     b
        Ipxi,h “ xq         Vπj`1
                               k
                                  pxi,j , aπi,ji q ď             Ipxi,h “ xqE                  Vπj`1
                                                                                                  k
                                                                                                     pxi,j , aπi,ji q|Hk,h             ` 2 H 5 Nk,h
  i“1                 j“h                                  i“1                        j“h
                                                                                                                                                           3
                                                                                                                                                             (16)

Observe that by applying the Law of Total Variance (LTV) (see e.g., Theorem 9.5.4 of Blitzstein & Hwang, 2019), we can
write:


                                         «                         ff           «                             «       ffff
                                             H´1
                                             ÿ                                                              ˇ     H´1
                                                                                                                  ÿ
                                                       π
                                                                                                            ˇ             π
                            Var                  R pxi,j q “ Var              E                 R pxi,j qˇxi,h`1
                                                                                                            ˇ
                  xi,h`1 ,...,xi,H´1                        xi,h`1 xi,h`2 ,...,xi,H´1
                                             j“h                                           j“h
                                                            looooooooooooooooooooooooooooomooooooooooooooooooooooooooooon
                                                                                                              paq
                                                                                    »                                                                fi
                                                                                                                                                             (17)
                                                                                 —                    «                           ffffi
                                                                                 —                      H´1
                                                                                                         ÿ              ˇ
                                                                                                                        ˇ           ffi
                                                                                                               π
                                                                                                            R pxi,j qˇˇxi,h`1 ffi .
                                                                                 —                                                  ffi
                                                                         ` E —          Var
                                                                          xi,h`1 —xi,h`2 ,...,xi,H´1                                ffi
                                                                                                        j“h
                                                                                 –looooooooooooooooooooooomooooooooooooooooooooooon fl
                                                                                                                        pbq



Term paq can be rewritten as:


                                                   «                                               «                            ffff
                                                                                                        H´1
                                                                                                        ÿ
                                                                                                                        ˇ
                                                           π                                                        π
                                                                                                                        ˇ
                                paq “ Var              R pxi,h q `                E                            R pxi,j qˇxi,h`1
                                                                                                                        ˇ
                                         xi,h`1                           xi,h`2 ,...,xi,H´1
                                                                                                      j“h`1
                                            “ πk          ‰
                                      “ Var Vh`1 pxi,h`1 q                                                                                                   (18)
                                         xi,h`1

                                      “ Vπh`1
                                           k
                                              pxi,h , aπi,h
                                                          i
                                                            q,                                                                                               (19)


where Equation (18) is obtained by observing that Rπ pxi,h q has zero variance w.r.t. xi,h`1 , and by applying the definition
of value function.
We can then recursively apply the LTV to term pbq and, considering the expectation over the trajectory generated following
policy π from stage h onward, we can write:

                                                               «                    ff            «                                    ff
                                                                 H´1
                                                                 ÿ                                 H´1
                                                                                                   ÿ
                                              Var                         π
                                                                         R pxi,j q “ E                      Vπj`1
                                                                                                               k
                                                                                                                  pxi,j , aπi,ji q          .                (20)
                                     xi,h`1 ,...,xi,H´1
                                                                   j“h                                j“h


By applying the result of Equation (20) to Equations (15) and (16), we get:


                                             «                                           ff                   «                                 ff
                                   k
                                   ÿ          H´1
                                              ÿ                                                   k
                                                                                                  ÿ               H´1
                                                                                                                  ÿ
                                         E             Vπj`1
                                                          k
                                                             pxi,j , aπi,ji q|Hk,h            “         Var                   π
                                                                                                                          R pxi,j q
                                   i“1           j“h                                              i“1           j“h`1

                                                                                              ď kpH ´ hq2
                                                                                              ď HTk ,                                                        (21)


and:

                                                                                  21
                               Position: Constants are Critical in Regret Bounds for Reinforcement Learning


                                              «                                       ff                                «                    ff
                   k
                   ÿ                            H´1
                                                ÿ                                               k
                                                                                                ÿ                           H´1
                                                                                                                            ÿ
                         Ipxi,h “ xqE                   Vπj`1
                                                           k
                                                              pxi,j , aπi,ji q|Hk,h        “          Ipxi,h “ xq Var                  π
                                                                                                                                     R pxi,j q
                   i“1                            j“h                                           i“1                       j“h`1
                                                                                              1
                                                                                           ď Nk,h pxqpH ´ hq2
                                                                                           ď H 2 Nk,h
                                                                                                  1
                                                                                                      pxq.                                        (22)

Finally, we can plug Equations (21) and (22) into Equations (15) and (16), respectively, obtaining:


                                            k H´1
                                            ÿ ÿ                                     a          4
                                                    Vπj`1
                                                       k
                                                          pxi,j , aπi,ji q ď HTk ` 2 H 4 Tk L ` H 3 L,
                                            i“1 j“h
                                                                                               3
                         k                        H´1
                                                                                                     1 pxqL ` 4 H 3 L,
                         ÿ                        ÿ                                            b
                               Ipxi,h “ xq            Vπj`1
                                                         k
                                                            pxi,j , aπi,ji q ď H 2 Nk,h
                                                                                    1
                                                                                        pxq ` 2 H 5 Nk,h
                         i“1                      j“h
                                                                                                              3

thus concluding the proof.
Lemma D.6. Let k P JKK and h P JHK. Let πk be the policy played during episode k. Under the events E and Ωk,h , the
following holds for every x P S:
                 k H´1
                 ÿ ÿ `                                                              k H´1
                                                                                    ÿ ÿ                       a
                               V˚j`1 pxi,j , aπi,ji q ´ Vπj`1 pxi,j , aπi,ji q ď 2H
                                                                              ˘
                                                           k                              r i,j pxi,j q ` 4H 2 Tk L,
                                                                                          ∆
                 i“1 j“h                                                                       i“1 j“h
 k
 ÿ                   H´1
                     ÿ                                                              k
                                                                                    ÿ             H´1
                                                                                                  ÿ                       b
                               V˚j`1 pxi,j , aπi,ji q ´ Vπj`1 pxi,j , aπi,ji q ď 2H
                           `                                                  ˘
       Ipxi,h “ xq                                         k
                                                                                      Ipxi,h “ xq     r i,h pxi,h q ` 4H 2 HN 1 pxqL.
                                                                                                      ∆                      k,h
 i“1                 j“h                                                                       i“1                j“h


Proof. We demonstrate the result by providing an upper bound to V˚j`1 ´ Vπj`1
                                                                           k
                                                                              first, and then bounding its summation over
episodes and stages. We can demonstrate that:


                   V˚j`1 pxi,j , aπi,ji q ´ Vπj`1
                                               k
                                                  pxi,j , aπi,ji q “             Var        π
                                                                                                    ˚
                                                                                                 rVj`1 pyqs ´           Var     π
                                                                                                                                        π
                                                                                                                                     rVj`1 pyqs
                                                                                          iq
                                                                          y„P p¨|xi,j ,ai,j                                       iq
                                                                                                                  y„P p¨|xi,j ,ai,j
                                                                                                              π
                                                                                                ˚
                                                                      ď Ey„P p¨|xi,j ,aπi q rpVj`1 pyqq2 ´ pVj`1 pyqq2 s                          (23)
                                                                                                i,j
                                                                                                 ˚          π
                                                                      ď 2HEy„P p¨|xi,j ,aπi q rVj`1 pyq ´ Vj`1 pyqs,                              (24)
                                                                                                      i,j


                                                                                            ˚          π
where Equation (23) is obtained by applying the definition of variance and observing that Vj`1 pxq ě Vj`1 pxq by definition,
                                                                                π            ˚
and Equation (24) is obtained by expanding the square and by observing that Vj`1 pxq ď Vj`1 pxq ď H.
Using the argument of Equation (24), we obtain the following inequalities:


                           k H´1
                           ÿ ÿ `                                                                 ÿk H´1
                                                                                                      ÿ
                                            V˚j`1 pxi,j , aπi,ji q ´ Vπj`1 pxi,j , aπi,ji q ď 2H
                                                                                           ˘
                                                                        k
                                                                                                            Ey„P p¨|xi,j ,aπi q r∆i,j`1 pyqs,
                                                                                                                           i,j
                           i“1 j“h                                                               i“1  j“h                                         (25)
                                                                                                 looooooooooooooooooooomooooooooooooooooooooon
                                                                                                                               paq
            k
            ÿ                     H´1
                                  ÿ
                                            V˚j`1 pxi,j , aπi,ji q ´ Vπj`1 pxi,j , aπi,ji q
                                        `                                                  ˘
                 Ipxi,h “ xq                                            k

           i“1                    j“h
                                                                           k
                                                                           ÿ                  H´1
                                                                                               ÿ                                                  (26)
                                                                  ď 2H        Ipxi,h “ xq            Ey„P p¨|xi,j ,aπi q r∆i,j`1 pyqs .
                                                                                                                    i,j
                                                                          i“1                  j“h
                                                                          looooooooooooooooooooooooooooomooooooooooooooooooooooooooooon
                                                                                                            pbq


                                                                                 22
                               Position: Constants are Critical in Regret Bounds for Reinforcement Learning

We now bound term paq as follows:



                                                         k H´1
                                                         ÿ ÿ
                                                 paq ď             Ey„P p¨|xi,j ,aπi q r∆
                                                                                        r i,j`1 pyqs                              (27)
                                                                                  i,j
                                                         i“1 j“h

                                                        a           k H´1
                                                                    ÿ ÿ
                                                     ď 2 H 2 Tk L `       ∆
                                                                          r i,j`1 pxi,j`1 q                                       (28)
                                                                          i“1 j“h



                                                                          ˚
where Equation (27) is obtained because, under Ωk,h , it holds that Vj`1    pyq ď Vi,j`1 pyq. Equation (28) is obtained by
considering that, under event E, the event Eaz pF∆,k,h
                                                 r     , H, Lq holds, as shown in Lemma D.3.
Following a similar procedure, we bound term pbq by considering event Eaz pF∆,k,h,x
                                                                            r       , H, Lq, obtaining:


                                                 b                    k
                                                                      ÿ                    H´1
                                                                                           ÿ
                                     pbq ď 2H          1 pxqL `
                                                     HNk,h                  Ipxi,h “ xq           ∆
                                                                                                  r i,j`1 pxi,j`1 q.              (29)
                                                                      i“1                  j“h



We can then plug Equations (28) and (29) into Equations (25) and (26), respectively, to write:



               k H´1
               ÿ ÿ `                                                                k H´1
                                                                                    ÿ ÿ                       a
                               V˚j`1 pxi,j , aπi,ji q ´ Vπj`1 pxi,j , aπi,ji q ď 2H
                                                                              ˘
                                                           k                              r i,j pxi,j q ` 4H 2 Tk L,
                                                                                          ∆
              i“1 j“h                                                             i“1 j“h
 k
 ÿ                   H´1
                     ÿ                                                              k
                                                                                    ÿ             H´1
                                                                                                  ÿ                       b
                               V˚j`1 pxi,j , aπi,ji q ´ Vπj`1 pxi,j , aπi,ji q ď 2H
                           `                                                  ˘
       Ipxi,h “ xq                                         k
                                                                                      Ipxi,h “ xq     r i,h pxi,h q ` 4H 2 HN 1 pxqL,
                                                                                                      ∆                      k,h
 i“1                 j“h                                                          i“1                  j“h



thus concluding the proof.



Lemma D.7. Let k P JKK and h P JHK. Let πk denote the policy followed during episode k. Under events E and Ωk,h , the
following inequalities hold for every x P S:



                k H´1
                ÿ ÿ                                                                     a           k H´1
                                                                                                    ÿ ÿ
                           p i,j`1 pxi,j , aπi q ´ Vπi pxi,j , aπi q ď 7H 2 S
                           V                                                             ATk L ` 2H       ∆
                                                                                                          r i,j`1 pxi,j`1 q,
                                            i,j     j`1         i,j
               i“1 j“h                                                                                    i“1 j“h
             k
             ÿ                      H´1
                                    ÿ
                   Ipxi,j “ xq            p i,j`1 pxi,j , aπi q ´ Vπi pxi,j , aπi q
                                          V                i,j     j`1         i,j
             i“1                    j“h
                                                              b               k
                                                                              ÿ             H´1
                                                                                            ÿ
                                                   ď 7H 2 S       1 pxqL ` 2H
                                                               HANk,h           Ipxi,h “ xq     ∆
                                                                                                r i,j`1 pxi,j`1 q.
                                                                                            i“1                j“h




                                                                                                     p i,j`1 ´ Vπk first,
Proof. Similarly to the proof of Lemma D.6, we demonstrate the result by providing an upper bound to V          j`1
and then bounding its summation over episodes and stages.

                                                                          23
                             Position: Constants are Critical in Regret Bounds for Reinforcement Learning




        p i,j`1 pxi,j , aπi q ´ Vπi pxi,j , aπi q
        V                i,j     j`1         i,j
                                                                                                        πi
                                   “          Var     π
                                                           rVi,j`1 pyqs ´              Var    π
                                                                                                     rVj`1 pyqs
                                                         iq                                     iq
                                                                                y„P p¨|xi,j ,ai,j
                                       y„Ppi p¨|xi,j ,ai,j

                                   “ Ey„Ppi p¨|xi,j ,aπi q rpVi,j`1 pyqq2 s ´ Ey„Ppi p¨|xi,j ,aπi q rVi,j`1 pyqs2
                                                          i,j                                            i,j
                                                                        πi                                  πi
                                       ´E                 πi
                                            y„P p¨|xi,j ,ai,j q     rpVj`1 pyqq2 s ` Ey„P p¨|xi,j ,aπi q rVj`1 pyqs2
                                                                                                    i,j
                                                                                                     πi
                                   ď Ey„Ppi p¨|xi,j ,aπi q rpVi,j`1 pyqq2 s ´ Ey„P p¨|xi,j ,aπi q rVj`1 pyqs2
                                                          i,j                                           i,j
                                                                                                                                                            (30)
                                                                ˚
                                       ` Ey„P p¨|xi,j ,aπi q rVj`1 pyqs2 ´ Ey„Ppi p¨|xi,j ,aπi q rVj`1
                                                                                                    ˚
                                                                                                       pyqs2
                                                              i,j                                      i,j

                                   ď Ey„Ppi p¨|xi,j ,aπi q rpVi,j`1 pyqq2 s ´ Ey„P p¨|xi,j ,aπi q rpVi,j`1 pyqq2 s
                                                          i,j                                           i,j

                                                                                 2                      πi
                                       ` Ey„P p¨|xi,j ,aπi q rpVi,j`1 pyqq s ´ Ey„P p¨|xi,j ,aπi q rVj`1   pyqs2
                                                        i,j                                        i,j                                                      (31)
                                            ÿ
                                       ` 2H     pP py|xi,j , aπi,ji q ´ Ppi py|xi,j , aπi,ji qqVj`1
                                                                                                 ˚
                                                                                                    pyq
                                               yPS

                                   ď Ey„Ppi p¨|xi,j ,aπi q rpVi,j`1 pyqq2 s ´ Ey„P p¨|xi,j ,aπi q rpVi,j`1 pyqq2 s
                                                          i,j                                           i,j
                                                                                                                                d
                                                                                                                                        H 2L                (32)
                                                                                 2                    πi
                                       ` Ey„P p¨|xi,j ,aπi q rpVi,j`1 pyqq s ´ Ey„P p¨|xi,j ,aπi q rVj`1 pyqs2 ` 4H
                                                        i,j                                   i,j                                   Ni pxi,j , aπi,ji q




where Equation (30) follows from the fact that, under Ωk,h , Vi,j pyq ě Vj˚ pyq ě Vjπi pyq. Equation (31) is obtained by
adding and subtracting Ey„P p¨|xi,j ,aπi q rpVi,j`1 pyqq2 s, and by observing that Vj˚ pyq ď H. Equation (32) is obtained by
                                      i,j
bounding the model error via Hoeffding’s inequality.
Putting this result into the double summation, we get:




  k H´1
  ÿ ÿ
       Vp i,j`1 pxi,j , aπi q ´ Vπi pxi,j , aπi q
                             i,j           j`1             i,j
 i“1 j“h

               ÿk H´1
                    ÿ ”                                                                                        ı
           ď               Ey„Ppi p¨|xi,j ,aπi q rpVi,j`1 pyqq2 s ´ Ey„P p¨|xi,j ,aπi q rpVi,j`1 pyqq2 s
                                             i,j                                        i,j
               i“1  j“h
               looooooooooooooooooooooooooooooooooooooooooooooomooooooooooooooooooooooooooooooooooooooooooooooon                                            (33)
                                                                      paq
                                                                                                                                 d
                   k H´1                                                                                          k H´1
                   ÿ ÿ
                                                                            2             πi
                                                                                                                  ÿ ÿ                    H 2L
               `             Ey„P p¨|xi,j ,aπi q rpVi,j`1 pyqq s ´ Ey„P p¨|xi,j ,aπi q rVj`1 pyqs2 `                         4H                         .
                   i“1 j“h
                                            i,j                                   i,j
                                                                                                                  i“1  j“h
                                                                                                                                    Ni pxi,j , aπi,ji q
                   looooooooooooooooooooooooooooooooooooooooooomooooooooooooooooooooooooooooooooooooooooooon      loooooooooooooooomoooooooooooooooon
                                                                      pbq                                                          pcq




We begin by bounding term paq:

                                                                                  24
                       Position: Constants are Critical in Regret Bounds for Reinforcement Learning



                                             k H´1
                                             ÿ ÿ
                                    paq ď               H 2 }Ppi p¨|xi,j , aπi,ji q ´ P p¨|xi,j , aπi,ji q}1
                                             i“1 j“h
                                             k H´1
                                                                   d
                                             ÿ ÿ
                                                               2            SL
                                         ď              2H                                                         (34)
                                             i“1 j“h
                                                                       Ni pxi,j , aπi,ji q

                                               ?   ÿ ÿ Niÿ
                                                         px,aq
                                         “ 2H 2 SL             n´1{2
                                                              xPS aPA        n“1
                                                                            kH
                                               ?   ÿ ÿ ÿ                    SA

                                         ď 2H 2 SL       n´1{2
                                                              xPS aPA n“1
                                                    a
                                                2
                                         ďH S           ATk L,

where Equation (34) follows by applying the result of Theorem 2.1 of (Weissman et al., 2003), which holds under event E.
We now bound term pbq:

                              k H´1
                              ÿ ÿ                                            πk                     πk
                      pbq “             Ey„P p¨|xi,j ,aπi q rpVi,j`1 pyq ` Vj`1 pyqqpVi,j`1 pyq ´ Vj`1 pyqqs
                                                        i,j
                              i“1 j“h
                                 k H´1
                                 ÿ ÿ
                          ď 2H               Ey„P p¨|xi,j ,aπi q r∆
                                                                  r i,j`1 pyqs
                                                               i,j
                                 i“1 j“h
                                  k H´1
                                  ÿ ÿ                                            a
                          ď 2Hp              r i,j`1 pxi,j`1 q ` 2H
                                             ∆                                    Tk Lq,                           (35)
                                  i“1 j“h



where Equation (35) is obtained because under events E, also event Eaz pF∆,k,h
                                                                         r     , H, Lq holds. We now bound term pcq:


                                                                                       kH
                                                           ? ÿ ÿ ÿ
                                                                 SA

                                                 pcq ď 4H 2 L       n´1{2
                                                                            xPS aPA n“1
                                                          a
                                                                   2
                                                     ď 2H  SATk L.

Finally, by plugging the bounds of terms paq, pbq, and pcq into Equation (33), we get:


                       k H´1
                       ÿ ÿ
                                 p i,j`1 pxi,j , aπi q ´ Vπi pxi,j , aπi q
                                 V                i,j     j`1         i,j
                       i“1 j“h

                                                                       a           k H´1
                                                                                   ÿ ÿ
                                                        ď H 2S          ATk L ` 2H       ∆
                                                                                         r i,j`1 pxi,j`1 q
                                                                                             i“1 j“h
                                                                   a           a
                                                                        2
                                                              ` 4H  Tk L ` 2H 2 SATk L
                                                                         a           k H´1
                                                                                     ÿ ÿ
                                                        ď 7H 2 S          ATk L ` 2H       ∆
                                                                                           r i,j`1 pxi,j`1 q.
                                                                                              i“1 j“h


Using the same procedure, we can bound the following summation as:

                                                                            25
                         Position: Constants are Critical in Regret Bounds for Reinforcement Learning




                k
                ÿ                   H´1
                                    ÿ
                      Ipxi,j “ xq         p i,j`1 pxi,j , aπi q ´ Vπi pxi,j , aπi q
                                          V                i,j     j`1         i,j
                i“1                 j“h
                                                      b                              k
                                                                                     ÿ                    H´1
                                                                                                          ÿ
                                           ď 7H 2 S          1 pxqL ` 2H
                                                          HANk,h                           Ipxi,h “ xq          ∆
                                                                                                                r i,j`1 pxi,j`1 q,
                                                                                     i“1                  j“h




thus concluding the proof.




Lemma D.8 (Summation over typical episodes of state-action wise model errors). Let k P JKK and h P JHK. Let πk be the
policy followed during episode k. Under events E and Ωk,h , the following inequalities hold for every x P S:



                                     k                      H´1
                                     ÿ                      ÿ                                                   ‰T ˚
                                                                   Ppi p¨|xi,j , aπi,ji q ´ P p¨|xi,j , aπi,ji q Vj`1
                                                                  “
                                           Ipi P rkstyp q                                                             p¨q
                                     i“1                    j“h
                                                                a              2
                                                            ď     6HSATk L2 ` HSAL2                                                  (36)
                                                                   g           3
                                                                             k
                                                                            ÿ H´1
                                                                   f
                                                                   f             ÿ
                                                                ` 2eHSAL2 p        ∆
                                                                                   r i,j pxi,j qq,
                                                                                    i“1 j“h
                       k                                    H´1
                       ÿ                                    ÿ                                                   ‰T ˚
                                                                   Ppi p¨|xi,j , aπi,ji q ´ P p¨|xi,j , aπi,ji q Vj`1
                                                                  “
                             Ipi P rkstyp,x , xi,h “ xq                                                               p¨q
                       i“1                                  j“h

                                                                          1 pxqL2 ` 2 HSAL2
                                                                b
                                                            ď     6H 2 SANk,h                                                        (37)
                                                                   g                3
                                                                   f
                                                                   f          k
                                                                              ÿ         H´1
                                                                                         ÿ
                                                                ` 2eHSAL2 p Ipxi,h “ xq     ∆
                                                                                            r i,j pxi,j qq,
                                                                                    i“1                  j“h




where:




                        rkstyp :“ ti P JkK : pxi,h , aπi,h
                                                         i
                                                           q P rpx, aqsk , i ě 250HS 2 AL, @h P JHKu,
                      rkstyp,x :“ ti P JkK : pxi,h , aπi,h
                                                         i                  1
                                                           q P rpx, aqsk , Nk,h pxq ě 250HS 2 AL, @h P JHKu,
                                                                   1
                    rpx, aqsk :“ tpx, aq P S ˆ A : Nk px, aq ě H, Nk,h pxq ě H, @h P JHKu.




Proof. We begin by demonstrating the bound of Equation (36):

                                                                         26
                          Position: Constants are Critical in Regret Bounds for Reinforcement Learning



                  k                     H´1
                  ÿ                     ÿ                                                      ‰T ˚
                                                  Ppi p¨|xi,j , aπi,ji q ´ P p¨|xi,j , aπi,ji q Vj`1
                                              “
                       Ipi P rkstyp q                                                                p¨q
                 i“1                    j“h
                                                                            «d                                          ff
                                           k
                                           ÿ                          2V˚j`1 pxi,j , aπi,ji qL
                                                                     H´1
                                                                     ÿ                                  2HL
                                        ď     Ipi P rkstyp q                                   `                                   (38)
                                          i“1                j“h
                                                                          Ni pxi,j , aπi,ji q      3Ni pxi,j , aπi,ji q
                                               g                               g
                                               f k H´1                         f k                     H´1
                                          ? fÿ         ÿ
                                                              ˚           πi f
                                                                               fÿ                      ÿ              1
                                        ď 2Lf  f            Vj`1 pxi,j , ai,j qf Ipi P rkstyp q
                                               fi“1 j“h                                                     Ni pxi,j , aπi,ji q
                                               elooooooooooooomooooooooooooonei“1                      j“h
                                                                               f
                                                                                 looooooooooooooooooooomooooooooooooooooooooon
                                                                      paq                                    pbq
                                                                                                                                   (39)
                                              k                        H´1
                                              ÿ                        ÿ       2HL
                                          `       Ipi P rkstyp q                        πi ,
                                              i“1                   j“h
                                                                        3N  i px i,j , ai,j q
                                              looooooooooooooooooooomooooooooooooooooooooon
                                                                       pcq


where Equation (38) is obtained by applying Bernstein’s inequality (see, e.g., Cesa-Bianchi & Lugosi, 2006), and Equa-
tion (39) is obtained by apllying Cauchy-Schwarz’s inequality. We now bound terms paq, pbq, and pcq.
By adding and subtracting Vπj`1
                             i
                                pxi,j , aπi,ji q to term paq, we can rewrite it as:

                                k H´1
                                ÿ ÿ                                ÿk H´1
                                                                        ÿ `
                                          Vπj`1 pxi,j , aπi,ji q `             V˚j`1 pxi,j , aπi,ji q ´ Vπj`1 pxi,j , aπi,ji q .
                                              i                                                            i
                                                                                                                              ˘
                        paq “
                                i“1  j“h
                                looooooooooooomooooooooooooon      i“1  j“h
                                                                   looooooooooooooooooooooooooomooooooooooooooooooooooooooon
                                              pdq                                                  peq


As events E and Ωk,h hold, we can apply Lemmas D.5 and D.6 to bound terms pdq and peq, respectively, thus obtaining:


                                                                          k H´1
                                                      a      4           ÿ   ÿ                       a
                          paq ď HTk ` 2H 2             Tk L ` H 3 L ` 2H         r i,j pxi,j q ` 4H 2 Tk L
                                                                                 ∆
                                                             3           i“1 j“h
                                                       k H´1
                                                       ÿ ÿ
                                ď 3Tk H ` 2H                      ∆
                                                                  r i,j pxi,j q,                                                   (40)
                                                       i“1 j“h


where Equation (40) holds under the condition of rkstyp .
We now bound terms pbq and pcq as follows:


                                                                     ÿ ÿ kH
                                                                         ÿ
                                                            pbq ď                   n´1
                                                                     xPS aPA n“1
                                                                 ď SAL,                                                            (41)


                                                                     2    ÿ ÿ kH  ÿ
                                                            pcq ď      HL             n´1
                                                                     3    xPS aPA n“1
                                                                     2
                                                                 ď     HSAL2 .                                                     (42)
                                                                     3

Finally, by plugging the results of Equations (40), (41), and (42) into Equation (39), we get:

                                                                             27
                         Position: Constants are Critical in Regret Bounds for Reinforcement Learning



                  k                      H´1
                  ÿ                      ÿ                                                      ‰T ˚
                                                   Ppi p¨|xi,j , aπi,ji q ´ P p¨|xi,j , aπi,ji q Vj`1
                                               “
                        Ipi P rkstyp q                                                                p¨q
                  i“1                    j“h
                                             g
                                           ?
                                             f            k H´1               ?
                                                                 r i,j pxi,j q SAL ` 2 HSAL2
                                             f           ÿ   ÿ
                                         ď 2Le3Tk H ` 2H         ∆                                                    (43)
                                                         i“1 j“h
                                                                                           3
                                                        g
                                                        f            k H´1
                                                                              r i,j pxi,j qq ` 2 HSAL2 ,
                                          a             f           ÿ    ÿ
                                         ď 6HSATk L2 ` 2eHSAL2 p              ∆                                       (44)
                                                                   i“1 j“h
                                                                                               3


where Equation (44) is obtained by computing the product of the square roots and by the subadditivity of the square root.
                                                                                                                  1
Following the same procedure, we can obtain the upper bound of Equation (37) by substituting terms Tk with HNk,h     pxq,
          řk řH´1 r                      řk             řH´1 r
and terms   i“1   j“h  ∆i,j pxi,j q with    Ipxi,h “ xq
                                                   i“1        ∆i,j pxi,j q.    j“h

Lemma D.9 (Summation over typical episodes of bonus terms). Let k P JKK and h P JHK. Let πk be the policy followed
during episode k. Let the UCB bonus be defined as:

                                                   d
                                                       4L Vary„Ppk p¨|x,aq rVk,h`1 pyqs                 7HL
                               bk,h px, aq “                                                   `
                                                           Nk px, aq                               3pNk px, aq ´ 1q
                                                  g
                                                  f 4 mintEy„Pp p¨|x,aq r 84N2 H 3 S 2 AL2
                                                  f
                                                                               1           s, H 2 u
                                                  e            k               k,h`1 pyq
                                                `                                                   .
                                                                  Nk px, aq

Under the events E and Ωk,h the following inequalities hold for every x P S:


                        k
                        ÿ                      H´1
                                               ÿ
                              Ipi P rkstyp q           bi,j pxi,j , aπi,ji q
                        i“1                    j“h
                                                    a             7               ?
                                               ď      28HSATk L2 ` HSAL2 ` 2 842 H 3 S 4 A2 L4                        (45)
                                                      g           3
                                                      f
                                                      f         k
                                                               ÿ ÿH´1
                                                    ` e8HSAL2         ∆
                                                                      r i,j`1 pxi,j`1 q,
                                                                           i“1 j“h
                     k
                     ÿ                                        H´1
                                                              ÿ
                          Ipi P rkstyp,x ,xi,h “ xq                  bi,j pxi,j , aπi,ji q
                    i“1                                        j“h
                                                                                     ?
                                                          1 pxqL2 ` 7 HSAL2 ` 2 842 H 3 S 4 A2 L4
                                                b
                                               ď 28H 2 SANk,h                                                         (46)
                                                  g                    3
                                                  f
                                                  f         ÿk             H´1
                                                                           ÿ
                                                ` e8HSAL2      Ipxi,h “ xq     ∆
                                                                               r i,j`1 pxi,j`1 q,
                                                                           i“1               j“h


where:


                        rkstyp :“ ti P JkK : pxi,h , aπi,h
                                                         i
                                                           q P rpx, aqsk , i ě 250HS 2 AL, @h P JHKu,
                    rkstyp,x :“ ti P JkK : pxi,h , aπi,h
                                                       i                  1
                                                         q P rpx, aqsk , Nk,h pxq ě 250HS 2 AL, @h P JHKu,
                                                                  1
                   rpx, aqsk :“ tpx, aq P S ˆ A : Nk px, aq ě H, Nk,h pxq ě H, @h P JHKu.

                                                                               28
                        Position: Constants are Critical in Regret Bounds for Reinforcement Learning

Proof. We begin by demonstrating the bound of Equation (45). We can rewrite the summation as:


                                                                                       g
                                                                                                                  πi
              k                   H´1                         k                    H´1
                                                                                       f
                                                                                       e 4LVi,j`1 pxi,j , ai,j q
              ÿ                   ÿ                           ÿ                    ÿ f       p
                                                   πi
                  Ipi P rkstyp q     bi,j pxi,j , ai,j q “     Ipi P rkstyp q
              i“1                j“h                       i“1                   j“h
                                                                                              Ni pxi,j , aπi,ji q
                                                           looooooooooooooooooooooooooomooooooooooooooooooooooooooon
                                                                                         paq
                                                                 k                    H´1
                                                                 ÿ                    ÿ                7HL
                                                             `        Ipi P rkstyp q
                                                                 i“1                   j“h
                                                                                             3pNi pxi,j , aπi,ji q ´ 1q              (47)
                                                                 loooooooooooooooooooooooooomoooooooooooooooooooooooooon
                                                                                          pbq
                                                                                            g
                                                                                  ÿ f 4Ey„Ppi p¨|xi,j ,aπi,ji q b1i,j`1 pyq
                                                                 k                H´1
                                                                                            f
                                                                 ÿ
                                                             `     Ipi P rkstyp q     e                                     ,
                                                               i“1                j“h
                                                                                            Ni pxi,j , aπi,ji q
                                                                 looooooooooooooooooooooooooooooomooooooooooooooooooooooooooooooon
                                                                                                 pcq


                              2   2   2     2
                                   AL
where b1i,j`1 pyq “ mint 84NH1 S pyq  , H 2 u. First of all, we observe that we can bound term pbq by using a pigeonhole
                             i,j`1
argument as:

                                                                     7
                                                             pbq ď     HSAL2 .                                                       (48)
                                                                     3

We now bound term paq. By applying Cauchy-Schwarz’s inequality, we obtain:

                                    g                                g
                                    f k H´1                          f k                   H´1
                              ?     fÿ ÿ
                                                                πi f
                                                                     fÿ                    ÿ            1
                      paq ď       4Lf
                                    f           Vi,j`1 pxi,j , ai,j qf Ipi P rkstyp q
                                                p                                                                   .                (49)
                                    fi“1 j“h                         fi“1                  j“h
                                                                                                Ni pxi,j , aπi,ji q
                                    eloooooooooooooomoooooooooooooonelooooooooooooooooooooomooooooooooooooooooooon
                                                       pdq                                       peq



By applying the same argument as that of Equation (41) of Lemma D.8, we bound term peq with SAL.
We can rewrite term pdq as follows:

                             k H`1
                             ÿ ÿ                               ÿk H´1
                                                                    ÿ
                                         πi
                    pdq “              Vj`1 pxi,j , aπi,ji q `            p i,j`1 pxi,j , aπi q ´ Vπi pxi,j , aπi qs
                                                                         rV                  i,j     j`1            i,j`1            (50)
                            i“1  j“h
                            looooooooooooomooooooooooooon      i“1 j“h
                                                               looooooooooooooooooooooooooooomooooooooooooooooooooooooooooon
                                            pf q                                           pgq


Under events E and Ωk,h , we can apply Lemmas D.5 and D.7 to upper bound terms pf q and pgq respectively, obtaining the
following:


                                                        a           4H 3 L
                                          pf q ď HTk ` 2 H 4 Tk L `        ,
                                                                      3
                                                      a             k H´1
                                                                    ÿ  ÿ
                                          pgq ď 7H 2 S ATk L ` 2H            ∆
                                                                             r i,j`1 pxi,j`1 q.
                                                                           i“1 j“h



Plugging the bounds of pf q and pgq into Equation (50), we get:

                                                                      29
                         Position: Constants are Critical in Regret Bounds for Reinforcement Learning




                                                                        k H´1
                                a           4H 3 L         a           ÿ   ÿ
                   pdq ď HTk ` 2 H 4 Tk L `        ` 7H 2 S ATk L ` 2H         ∆
                                                                               r i,j`1 pxi,j`1 q
                                              3                        i“1 j“h
                                             k H´1
                                             ÿ ÿ
                        ď 4HTk ` 2H                       ∆
                                                          r i,j`1 pxi,j`1 q,                                                                (51)
                                             i“1 j“h




where Equation (51) holds under the condition of rkstyp . Combining the bounds of terms pdq and peq, we can rewrite
Equation (49) as:



                                               g
                                         ?
                                               f
                                               f          k H´1
                                                          ÿ ÿ                    ?
                                 paq ď       4Le4HTk ` 2H       r i,j`1 pxi,j`1 q SAL
                                                                ∆
                                                                     i“1 j“h
                                                    g
                                       a
                                                    f
                                                    f       k H´1
                                                            ÿ ÿ
                                                 2
                                      ď 16HSATk L ` e8HSAL2       ∆
                                                                  r i,j`1 pxi,j`1 q,                                                        (52)
                                                                                  i“1 j“h




where Equation (52) is obtained by expanding the products and applying the subadditivity of the square root.
To bound term pcq, we apply Cauchy-Schwarz’s inequality, obtaining:


                           g                                           g
                           f k H´1                                     f k                     H´1
                           fÿ ÿ
                                                              1
                                                                       fÿ                      ÿ            1
                    pcq ď 2f
                           f           Ey„Ppi p¨|xi,j ,a i q bi,j`1 pyqf
                                                        π                     Ipi P rkstyp q                      πi .                      (53)
                           fi“1 j“h                     i,j
                                                                       f                            N  i i,j , ai,j q
                                                                                                        px
                           eloooooooooooooooooooomoooooooooooooooooooonei“1                    j“h
                                                                       f
                                                                         looooooooooooooooooooomooooooooooooooooooooon
                                                      phq                                           piq




Similar to term peq, we can bound term piq with SAL. We now bound term phq. We can rewrite the term as:



                  k H´1
                  ÿ ÿ ÿ
          phq “                  Ppi py|xi,j , aπi,ji qb1i,j`1 pyq
                  i“1 j“h yPS
                  k H´1
                  ÿ ÿ ÿ                                                                       ÿk H´1
                                                                                                  ÿ ÿ
              “                  pPpi py|xi,j , aπi,ji q ´ P py|xi,j , aπi,ji qqb1i,j`1 pyq `             P py|xi,j , aπi,ji qb1i,j`1 pyq
                  i“1  j“h yPS
                  loooooooooooooooooooooooooooooooooomoooooooooooooooooooooooooooooooooon     i“1 j“h yPS

                                                    pjq
                          k H´1
                          ÿ ÿ                                                              ÿk H´1
                                                                                                ÿ
              “ pjq `               Ey„P p¨|xi,j ,aπi q b1i,j`1 pyq ´ b1i,j`1 pxi,j`1 q `             b1i,j“1 pxi,j`1 q .                   (54)
                                                     i,j
                         i“1  j“h
                         looooooooooooooooooooooooooooooomooooooooooooooooooooooooooooooon i“1  j“h
                                                                                           loooooooooooomoooooooooooon
                                                          pkq                                             plq




We bound term pjq as follows:

                                                                        30
                        Position: Constants are Critical in Regret Bounds for Reinforcement Learning



                                               k H´1
                                               ÿ ÿ
                                   pjq ď H 2                 }Ppi p¨|xi,j , aπi,ji q ´ P p¨|xi,j , aπi,ji q}1            (55)
                                               i“1 j“h

                                             ?   k H´1
                                                 ÿ ÿ
                                       ď 2H 2 SL      pNi pxi,j , aπi,ji qq´1{2                                          (56)
                                                            i“1 j“h
                                                                       kH

                                               2
                                                   ?            SA
                                                            ÿ ÿ ÿ
                                       ď 2H            SL                   n´1{2
                                                            xPS aPA n“1
                                                   a
                                       ď H 2S       ATk L,                                                               (57)


where Equation (55) is obtained by bounding b1i,j`1 pyq with H 2 , Equation (56) follows by applying the result of Theorem 2.1
of (Weissman et al., 2003), which holds under event E, and Equation (57) follows from a derivation similar to that of term
paq of Lemma D.7.
To bound term pkq, we first observe that it is a Martingale difference sequence, and as such we can bound it via the event
Eaz pFb1 ,k,h , H 2 , Lq, which holds under E, obtaining:

                                                                            a
                                                            pkq ď 2H 2       Tk L.


By applying the definition of b1 , we can bound term plq as:


                                                                       k H´1
                                                                       ÿ ÿ           1
                                       plq ď 842 H 3 S 2 AL2                     1
                                                                       i“1 j“h
                                                                               N     px
                                                                                i,j`1 i,j`1 q

                                                                         T
                                                                       ÿ ÿ
                                           ď 842 H 3 S 2 AL2                     n´1
                                                                       xPS n“1
                                                   2    3    3     3
                                           ď 84 H S AL .


Plugging the bounds of terms pjq, pkq, and plq into Equation (54), we get:


                                                   a            a
                                   phq ď H 2 S      ATk L ` 2H 2 Tk L ` 842 H 3 S 3 AL3 .


By applying the bounds of terms phq and piq to Equation (53), we get:


                                     b     a            a                      ?
                              pcq ď 2 H 2 S ATk L ` 2H 2 Tk L ` 842 H 3 S 3 AL3 SAL
                                     a             ?
                                  ď 2 3HSATk L ` 2 842 H 3 S 4 A2 L4 ,                                                   (58)


where Equation (58) is obtained by expanding the products, applying the subadditivity of the square root, and applying the
definition of rkstyp .
Finally, we can combine the bounds of terms paq, pbq, and pcq into Equation (47), obtaining the following bound:

                                                                       31
                              Position: Constants are Critical in Regret Bounds for Reinforcement Learning



                           k
                           ÿ                      H´1
                                                  ÿ
                                 Ipi P rkstyp q         bi,j pxi,j , aπi,ji q
                           i“1                    j“h
                                                                g
                                                   a
                                                                f
                                                                f       k H´1
                                                                        ÿ ÿ
                                                             2
                                                  ď 16HSATk L ` e8HSAL2       ∆
                                                                              r i,j`1 pxi,j`1 q
                                                                                             i“1 j“h

                                                     7         a                 ?
                                                   ` HSAL2 ` 2 3HSATk L ` 2 842 H 3 S 4 A2 L4
                                                     3
                                                   a             7
                                                  ď 28HSATk L2 ` HSAL2
                                                     g           3
                                                     f
                                                     f        k
                                                             ÿ ÿH´1                      ?
                                                   ` e8HSAL2        r i,j`1 pxi,j`1 q ` 2 842 H 3 S 4 A2 L4 ,
                                                                    ∆
                                                                            i“1 j“h


thus demonstrating the result of Equation (45). By following the same procedure, we can obtain an upper bound to
řk                               řH´1               πi
  i“1 Ipi P rkstyp,x , xi,h “ xq  j“h bi,j pxi,j , ai,j q as:



                  k
                  ÿ                                     H´1
                                                        ÿ
                        Ipi P rkstyp,x ,xi,h “ xq             bi,j pxi,j , aπi,ji q
                  i“1                                   j“h

                                                    1 pxqL2 ` 7 HSAL2
                                          b
                                         ď 28H 2 SANk,h
                                            g                    3
                                            f
                                            f         ÿk             H´1
                                                                     ÿ                        ?
                                          ` e8HSAL2      Ipxi,h “ xq     r i,j`1 pxi,j`1 q ` 2 842 H 3 S 4 A2 L4 ,
                                                                         ∆
                                                                    i“1                j“h


thus concluding the proof. Following the same procedure, we can obtain the upper bound of Equation (46) by substituting
                   1
                                   řk řH´1 r                       řk               řH´1 r
terms Tk with HNk,h  pxq and terms i“1 j“h ∆      i,j pxi,j q with  i“1 Ipxi,h “ xq  j“h ∆i,j pxi,j q.




E. Proof of Theorem 3.1
Theorem 3.1 (Regret for UCBVI with Chernoff-Hoeffding bound). Let δ P p0, 1q. Considering:9
                                                                             2HL
                                                          bk,h px, aq “ a                  ,
                                                                         maxtNk px, aq, 1u
then, w.p. at least 1 ´ δ, the regret of UCBVI-CH is bounded by:
                                                               ?   8
                                   RegpUCBVI-CH, Kq ď 10eHL SAT ` eH 2 S 2 AL2 ,
                                                                   3
                                           2 3
                                                                     ?
where L “ ln p5HSAT {δq. For T ě H S A, this bound translates to OpH
                                                                 r     SAT q.

We begin the proof by demonstrating optimism under the UCBVI-CH algorithm (i.e., every optimistic value function
is an upper bound of the true optimal value function), which requires us to show that, with high probability, the event
Ω :“ tVk,h pxq ě Vh˚ pxq, @k P JKK, h P JHK, x P Su.
Lemma E.1 (Optimism under Chernoff-Hoeffding bonus). Let the optimistic bonus be defined as:
                                                                                 2HL
                                                                 bk,h px, aq “ a          .
                                                                                Nk px, aq
   9
       We assume that, by definition, bk,H ps, aq “ 0, as at the last stage there is no need for exploration and the rewards are deterministic.

                                                                                  32
                        Position: Constants are Critical in Regret Bounds for Reinforcement Learning

Then, under event E, the following event holds:


                                   Ω :“ tVk,h pxq ě Vh˚ pxq, @k P JKK, h P JHK, x P Su.

Proof. We demonstrate the result by induction. Let Vk,h be the optimistic value function at stage h computed using the
history up to the end of episode k ´ 1, and let Vh˚ be the true optimal value function at stage h.
                               ˚                                                                   ˚
By definition, Vk,H`1 pxq “ VH`1   pxq “ 0 for every x P S, and thus the inequality Vk,H`1 ě VH`1       trivially holds. To
                                                                    ˚
prove the inductive step, we need to demonstrate that, if Vk,h`1 ě Vh`1 holds, then it also holds that Vk,h ě Vh˚ . We can
drive this result as follows:


                Vk,h pxq ´ Vh˚ “ max Qk,h px, aq ´ Vh˚ pxq
                                    aPA
                                                ˚
                                ě Qk,h px, aπk,h q ´ Vh˚ pxq
                                  ÿ                ˚                           ˚      ÿ            ˚
                                “    Ppk py|x, aπk,h qVk,h`1 pyq ` bk,h px, aπk,h q ´   P py|x, aπk,h qVh`1
                                                                                                        ˚
                                                                                                            pyq
                                  yPS                                                            yPS
                                  ÿ”             ˚                 ˚
                                                                               ı              ˚
                                ě   Ppk py|x, aπk,h q ´ P py|x, aπk,h qVh`1
                                                                        ˚
                                                                            pyq ` bk,h px, aπk,h q                                                 (59)
                                  yPS
                                                          d
                                              ˚            H 2L
                                ě bk,h px, aπk,h q ´ 2              ˚                                                                              (60)
                                                      Nk pxk,h , aπk,h q
                                  d                      d
                                         H 2L                      H 2L
                                ě2              π ˚   ´2                  ˚
                                    Nk pxk,h , ak,h q       Nk pxk,h , aπk,h q
                                ě 0,

where Equation (59) follows by the inductive hypothesis, Equation (60) is obtained because, under E, we can bound
              ˚                 ˚
|Ppk py|x, aπk,h q ´ P py|x, aπk,h qVh`1
                                     ˚
                                         pyq| by applying Azuma-Hoeffding’s inequality, allowing us to simplify terms and show
optimism.

Our objective is to bound the regret after K episodes (i.e., RegpUCBVI-CH, Kq). We can observe that, under event Ω, it
holds that:

                                                                      ÿ
                                  RegpUCBVI-CH, Kq “                        V1˚ pxk,1 q ´ V1πk pxk,1 q
                                                                    kPJKK
                                                                      ÿ
                                                                ď           Vk,1 pxk,1 q ´ V1πk pxk,1 q
                                                                    kPJKK
                                                                      ÿ
                                                                “           ∆
                                                                            r k,1 pxk,1 q
                                                                    kPJKK

                                                                “ RegpUCBVI-CH,
                                                                  Ą             Kq.

As such, we can now focus on finding an upper bound to RegpUCBVI-CH,
                                                       Ą             Kq. By applying Lemma D.2, we can write:

                                    ÿ
        RegpUCBVI-CH,
        Ą             Kq “                ∆
                                          r k,1 pxk,1 q
                                  kPJKK
                                    K H´1
                                      ÿ „                                                                                  8H 2 SL
                                                                                                                                              ȷ
                                    ÿ                      ?
                               ďe               εi,j ` 2       Lεi,j ` bi,j pxi,j , aπi,ji q ` ξi,j pxi,j , aπi,ji q `                         .   (61)
                                    i“1 j“1
                                                                                                                         3Ni pxi,j , aπi,ji q


                                                                      33
                       Position: Constants are Critical in Regret Bounds for Reinforcement Learning

To find an upper bound to the regret, we can thus bound the summation of each of the terms individually.
By applying Lemma D.3, we obtain the following bounds:




                                                      K H´1
                                                      ÿ ÿ                  ?
                                                                   εi,j ď 2 H 2 T L,
                                                      i“1 j“1
                                                K H´1
                                                ÿ ÿ        ?         ?
                                                          2 Lεi,j ď 4 T L.
                                                i“1 j“1




Then, we can derive the following bound:




                                  K ÿ
                                  ÿ H
                                             8H 2 SL           8 2 ÿ ÿ NKÿ  px,aq

                                                         πi “ H SL                n´1                                 (62)
                                  i“1 j“1
                                          3N i px i,j , ai,j q 3   xPS aPA n“1
                                                                                           KH
                                                                                 SA
                                                                8       ÿ ÿ ÿ
                                                               ď H 2 SL             n´1                               (63)
                                                                3       xPS aPA n“1
                                                                   8 2 2 2
                                                               ď     H S AL
                                                                   3



where Equation (62) is obtained by rearranging the terms to isolate the summation of n´1 for n from 1 to NK px, aq (i.e.,
the total number of times each state-action pair has been observed up to the end of episode K), and Equation (63) derives
from the observation that the summation can be upper bounded by considering a uniform state-action visit distribution. This
derivation produces the same result as applying the well-known pigeonhole principle.
By applying a similar reasoning, we bound the remaining summations over the bonus terms:




                                    K ÿ
                                      H                        K ÿ
                                                                 H
                                                                              d
                                    ÿ                          ÿ                        L
                                              bi,j pxi,j q “             2H
                                    i“1 j“1                    i“1 j“1
                                                                                  Ni pxi,j , aπi,ji q

                                                              ? ÿ ÿ NKÿ
                                                                      px,aq
                                                          “ 2H L            n´1{2
                                                                         xPS aPA       n“1
                                                                                     KH
                                                              ? ÿ ÿ ÿ ´1{2           SA

                                                          ď 2H L     n
                                                                         xPS aPA n“1
                                                             ?
                                                          ď 2 H 2 SAT L,



and over the model error terms:

                                                                   34
                         Position: Constants are Critical in Regret Bounds for Reinforcement Learning



                                    K ÿ
                                      H                                K ÿ
                                                                         H
                                                                                      d
                                    ÿ                                  ÿ                        L
                                             ξi,j pxi,j , aπi,ji q ď             2H                                          (64)
                                   i“1 j“1                             i“1 j“1
                                                                                          Ni pxi,j , aπi,ji q

                                                                     ? ÿ ÿ NKÿ
                                                                             px,aq
                                                                 “ 2H L            n´1{2
                                                                                 xPS aPA       n“1
                                                                                          KH
                                                                               ÿ ÿ ÿ      SA

                                                                 ď 2HL                         n´1{2
                                                                               xPS aPA n“1
                                                                    ?
                                                                 ď 2 H 2 SAT L,


where Equation (64) is obtained by bounding ξi,j pxi,j , aπi,ji q using the Chernoff-Hoeffding inequality. Finally, we can put all
the bounds together and rewrite Equation (61) as:


                                „ ?                   ?             ?                        ȷ
                                              ?                                 8
            RegpUCBVI-CH,
            Ą             Kq ď e 2 H 2 T L ` 4 T L ` 2 H 2 SAT L ` 2 H 2 SAT L ` H 2 S 2 AL2
                                                                                3
                                „ ?                         ȷ
                                                 8
                             ď e 10 H 2 SAT L ` H 2 S 2 AL2 ,
                                                 3

thus completing the proof.

F. Proof of Theorem 3.2
Theorem 3.2 (Regret for UCBVI with Bernstein-Freedman bound). Let δ P p0, 1q. Considering:5
                                                  d
                                                      4L Vary„P̂k p¨|x,aq pVk,h`1 pyqq
                                 bk,h px, aq “                                                     `
                                                             maxtNk px, aq, 1u
                                                  looooooooooooooooooomooooooooooooooooooon
                                                                        (A)
                                                 7HL
                                  `                                 `
                                    3 maxtN      k px, aq ´ 1, 1u
                                    loooooooooooooomoooooooooooooon
                                                   (B)
                                    g             ´                    !                              )¯
                                    f ř                                     842 H 3 S 2 AL2
                                    f4              P̂ py|x,  aq ¨ min                         , H  2
                                    e       yPS                                     1
                                                                         maxt1,Nk,h`1 pyqu
                                  `                                                                      ,
                                                             maxtNk px, aq, 1u
                                    looooooooooooooooooooooooooooooooomooooooooooooooooooooooooooooooooon
                                                                         (C)


then, w.p. at least 1 ´ δ, the regret of UCBVI-BF-I is bounded by:
                                                          ?
                                 RegpUCBVI-BF-I, Kq ď 24eL HSAT `
                                                                                        ?
                                                                  ` 616eH 2 S 2 AL2 ` 4e H 2 T L,
                                                                                  ?
where L “ lnp5HSAT {δq. For T ě H 3 S 3 A and SA ě H, this bound translates to Op
                                                                               r HSAT q.

                                                                         ? the upper bound of UCBVI-BF-I, we first
Similarly to the proof of Theorem 3.1 in Appendix E, in order to demonstrate
need to demonstrate optimism. However, in order to remove the additional H term, we are required to both demonstrate
optimism as well as to bound by how much the optimistic value function estimator exceeds the true optimal value function.
We start by observing that:

                                                                        35
                           Position: Constants are Critical in Regret Bounds for Reinforcement Learning


                                                                            ÿ
                                      RegpUCBVI-BF-I, Kq “                         V1˚ pxk,1 q ´ V1πk pxk,1 q
                                                                           kPJKK
                                                                            ÿ
                                                                       ď           Vk,1 pxk,1 q ´ V1πk pxk,1 q
                                                                           kPJKK
                                                                            ÿ
                                                                       “           ∆
                                                                                   r k,1 pxk,1 q
                                                                           kPJKK

                                                                       “ RegpUCBVI-BF-I,
                                                                         Ą               Kq.

According to Lemma D.2, under the events E and Ωk,h , we can decompose the pseudo-regret as:
                                               «                                                                                      ff
           k                         k H´1                 ?                                                           2
           ÿ                         ÿ ÿ                                                                           8H    SL
                 ∆
                 r i,h pxi,h q ď e              εi,j ` 2 Lεi,j ` bi,j pxi,j , aπi,ji q ` ξi,j pxi,j , aπi,ji q `                         .                  (65)
           i“1                       i“1 j“h
                                                                                                                 3Ni pxi,j , aπi,ji q

We also define, by trivially modifying the derivation of Lemma D.2, the pseudo-regret considering only the episodes in
which, at stage h P JHK a specific state x P S was occupied:


                     k
                     ÿ                                     k
                                                           ÿ
                          Ipxi,h “ xq∆i,h pxi,h q ď              Ipxi,h “ xq∆
                                                                            r i,h pxi,h q
                    i“1                                    i“1
                                                             k
                                                             ÿ                    H´1
                                                                                  ÿ „               ?
                                                       ďe          Ipxi,h “ xq              εi,j ` 2 Lεi,j ` bi,j pxi,j , aπi,ji q
                                                             i“1                   j“h
                                                                                                                                                            (66)
                                                                                         8H 2 SL
                                                                                                            ȷ
                                                           ` ξi,j pxi,j , aπi,ji q `                          .
                                                                                       3Ni pxi,j , aπi,ji q

By applying Lemmas D.3 and D.4, we can upper bound Equations (65) and (66) as:

                                                            «                                                                       ff
                       k                        k H´1
                       ÿ                        ÿ ÿ                                                    8H 2 SL
                           ∆
                           r i,h pxi,h q ď e         bi,j pxi,j , aπi,ji q ` ξi,j pxi,j , aπi,ji q `
                       i“1                   i“1 j“h
                                                                                                     3Ni pxi,j , aπi,ji q
                                                a                a
                                           ` 2e H 2 Tk L ` 4e Tk L
                                         “ Uk,h ,

and:

                                                                            «                                                                          ff
         k                                     k                     H´1
         ÿ                                     ÿ                     ÿ                                                            8H 2 SL
               Ipxi,h “ xq∆
                          r i,h pxi,h q ď e          Ipxi,h “ xq              bi,j pxi,j , aπi,ji q ` ξi,j pxi,j , aπi,ji q `
         i“1                                   i“1                    j“h
                                                                                                                                3Ni pxi,j , aπi,ji q
                                                b                b
                                            ` 2e H 3 Nk,h
                                                      1 pxqL ` 4e HN 1 pxqL
                                                                    k,h

                                         “ Uk,h,x ,

                                               řk                           řk
where we denote the upper bounds of                i“1 ∆i,h pxi,h q and         i“1 Ipxi,h “ xq∆i,h pxi,h q as Uk,h and Uk,h,x , respectively,
                                                       r                                              r
for ease of notation.
We now demonstrate optimism, which requires us to show that, with high probability, the event Ωk,h holds.

                                                                           36
                          Position: Constants are Critical in Regret Bounds for Reinforcement Learning

Lemma F.1 (Optimism under Bernstein-Freedman bonus). Let the optimistic bonus be defined as:


                                              d
                                                  4L Vary„Ppk p¨|x,aq rVk,h`1 pyqs               7HL
                              bk,h px, aq “                                             `
                                                              Nk px, aq                     3pNk px, aq ´ 1q
                                                g
                                                f 4 mintEy„Pp p¨|x,aq r 84N2 H 3 S 2 AL2
                                                f
                                                                             1           s, H 2 u
                                                e            k               k,h`1 pyq
                                              `                                                   .
                                                                Nk px, aq


Then, under event E, the following set of events hold:

                                           ␣                                                (
                                    Ωk,h :“ Vi,j pxq ě Vj˚ pxq, @pi, jq P rk, hshist , x P S ,

for k P JKK and h P JHK, where:


                                 rk, hshist :“ tpi, jq P JKK ˆ JHK : i ă k _ pi “ h, j ě hqu .

                                                                                             ˚
Proof. We demonstrate the result by induction. We begin by observing that Vk,H`1 pxq “ VH`1      pxq “ 0 for every k P JKK
and x P S. To prove the induction, we need to prove that, if Ωk,h holds, then also Ωk,h´1 holds. We prove this for a generic
k P JKK, and we can then apply this procedure for increasing values of k, starting from k “ 1.
If Ωk,h holds, then Vk,h pxq ě Vh˚ pxq for every x P S. We now bound the estimation error due to the optimistic approach:


                                                                     k
                                                             1       ÿ
                               Vk,h pxq ´ Vh˚ pxq “      1 pxq           Ipxi,h “ xqpVk,h pxq ´ Vh˚ pxqq
                                                        Nk,h   i“1
                                                                  k
                                                           1     ÿ
                                                    ď    1           Ipxi,h “ xqpVi,h pxq ´ Vhπi pxqq                           (67)
                                                        Nk,h pxq i“1
                                                                     k
                                                             1       ÿ
                                                    “    1 pxq           Ipxi,h “ xq∆
                                                                                    r i,h pxi,h q,                              (68)
                                                        Nk,h   i“1


where Equation (67) follows from the fact that Vk,h is monotonically decreasing in k by definition, and by observing that
Vh˚ ě Vhπi .
                            řk
Recalling the upper bound of i“1 Ipxi,h “ xq∆  r i,h pxi,h q:


                k
                ÿ
                                 r i,h pxi,h q ď Uk,h,x
                      Ipxi,h “ xq∆
                i“1
                                                       k
                                                       ÿ                  H´1
                                                                          ÿ „
                                               “e          Ipxi,h “ xq          bi,j pxi,j , aπi,ji q ` ξi,j pxi,j , aπi,ji q
                                                     i“1                  j“h
                                                                 2
                                                                          ȷ
                                                         8H SL                   b                 b
                                                                                    3 N 1 pxqL ` 4e HN 1 pxqL,
                                                   `                        ` 2e  H
                                                       3Ni pxi,j , aπi,ji q            k,h            k,h



we now bound the summations over the terms in the summation over episodes and stages. By applying Lemma D.9, we can
bound the summation over typical episodes of the bonus terms as:

                                                                     37
                        Position: Constants are Critical in Regret Bounds for Reinforcement Learning



                      k
                      ÿ                                 H´1
                                                        ÿ
                            Ipi P rkstyp,x ,xi,h “ xq         bi,j pxi,j , aπi,ji q
                      i“1                               j“h
                                                                              ?
                                                         1 pxqL2 ` 7 HSAL2 ` 2 842 H 3 S 4 A2 L4
                                               b
                                           ď    28H 2 SANk,h
                                                b                  3
                                                     2    2
                                               ` 8H SAL Uk,h,x ,

                   řk
by observing that i“1 Ipxi,h “ xq∆i,h pxi,h q ď Uk,h,x and that the series of Uk,h,x terms is decreasing in h, as each
                                                                                                    řH´1
term Uk,h,x is a summation of elements which includes the next term, and as such we can upper bound j“h Uk,j,x with
HUk,h,x .
In a similar way, we can apply the result of Lemma D.8 to bound the summation over typical episodes of the state-action
wise model error terms as:


                         k                                 H´1
                         ÿ                                 ÿ                                                    ‰T ˚
                                                                   Ppi p¨|xi,j , aπi,ji q ´ P p¨|xi,j , aπi,ji q Vj`1
                                                                  “
                              Ipi P rkstyp,x , xi,h “ xq                                                              p¨q
                        i“1                                j“h

                                                                         1 pxqL2 ` 2 HSAL2
                                                               b
                                                           ď     6H 2 SANk,h
                                                                  b                3
                                                                       2   2
                                                               ` 2 H SAL Uk,h,x .


With the same procedure as in the proof of Lemma E.1, we obtain the following upper bound:

                                                 H
                                               K ÿ
                                               ÿ       8H 2 SL          8 2 2 2
                                                                  πi ď H S AL .                                             (69)
                                             i“1 j“1
                                                     3Ni pxi,j , ai,j q 3


By combining these result, and accounting for the regret on non-typical episodes, we can write:


                k
                ÿ
                     Ipxi,h “ xq∆i,h pxi,h q ď Uk,h,x
               i“1
                                                  „b                                      ?
                                               ďe               1 pxqL2 ` 7 HSAL2 ` 168 H 3 S 4 A2 L4
                                                      28H 2 SANk,h
                                                                          3
                                                                                   1 pxqL2 ` 2 HSAL2
                                                   b                   b
                                                 ` 8H 2 SAL2 Uk,h,x ` 6H 2 SANk,h
                                                                                              3
                                                                       8 2 2 2
                                                    b                                 b
                                                        2     2
                                                 ` 2 H SAL Uk,h,x ` H S AL ` 2 H Nk,h pxqL 3  1
                                                                       3         ȷ
                                                    b
                                                 ` 4 HNk,h pxqL ` 100H 2 S 2 AL2
                                                           1

                                                  „ b                      b
                                               ď e 12 H 2 SANk,h1 pxqL2 ` 5 H 2 SAL2 U
                                                                                        k,h,x
                                                                                   ȷ
                                                   821 2 2 2        b
                                                 `     H S AL ` 2 H 3 Nk,h 1 pxqL .
                                                    3

Letting:

                                                                       38
                         Position: Constants are Critical in Regret Bounds for Reinforcement Learning




                               „ b                                                       ȷ
                                               1 pxqL2 ` 821 H 2 S 2 AL2 ` 2 H 3 N 1 pxqL ,
                                                                            b
                          α “ e 12 H 2 SANk,h                                     k,h
                                                          3
                                ?
                          β “ 5e H 2 S 2 AL2 ,



we can solve for Uk,h,x and obtain the following upper bound:



                                                      Uk,h,x ď β 2 ` 2α,



which we can write as:




                                                       1 pxqL2 ` 1642 eH 2 S 2 AL2 ` 4e H 3 N 1 pxqL
                                              b                                        b
              Uk,h,x ď 25e2 H 2 S 2 AL2 ` 24e H 2 SANk,h                                     k,h
                                                                     3
                                       1 pxqL2 ` 1846 eH 2 S 2 AL2 ` 4e H 3 N 1 pxqL
                           b                                           b
                     ď 24e H 2 SANk,h                                        k,h
                                                   3
                                       1 pxqL2 ` 1846 eH 2 S 2 AL2
                           b
                     ď 28e H 2 SANk,h                                                                                         (70)
                                                   3
                           12 b 3 2
                     ď 28 ¨ e H S ANk,h pxqL2
                                            1                                                                                 (71)
                         b11
                     ď 84 H 3 S 2 ANk,h1 pxqL2 ,




where Equation (70) holds if SA ě H, and Equations (71) holds under the condition of rkstyp,x .
Plugging this result into Equation (68), and observing that the error cannot be greater than H, we get the following upper
bound to the estimation error due to the optimistic approach:


                                                                # d                      +
                                                                         H 3 S 2 AL2
                                     Vk,h pxq ´ Vh˚ pxq ď min       84       1 pxq , H       .                                (72)
                                                                          Nk,h



                                                   ˚
Using this result, we now prove that Vk,h´1 pxq ě Vh´1 pxq. Let us recall the definition of Vk,h´1 pxq:



                                                                          πk
                                                      ␣                          (
                                      Vk,h´1 pxq “ min Vk´1,h´1 pxq, H, Th´1 Vk,h ,


        πk
where Th´1 Vk,h :“ Rπk pxk,h´1 q ` bk,h´1 pxk,h´1 , aπk,h´1
                                                       k
                                                            q ` Ey„Ppk p¨|xk,h´1 ,aπk       Vk,h pyq. Observe that, if Vk,h´1 pxq “
                                                                                  k,h´1 q
H, the optimism holds trivially. Also, if Vk,h´1 pxq “ Vk´1,h´1 pxq, the optimism hold trivially under Ωk,h . As such, we
                                                          πk
only need to demonstrate the case in which Vk,h´1 pxq “ Th´1  Vk,h . As such, we derive the following:

                                                               39
                        Position: Constants are Critical in Regret Bounds for Reinforcement Learning


                                                 #                                                               +
                                                                                     ÿ
                               ˚
                 Vk,h´1 pxq ´ Vh´1 pxq “ max         Rpx, aq ` bk,h´1 px, aq `            Ppk py|x, aqVk,h pyq
                                         aPA
                                                                                    yPS
                                                     ˚               ÿ              ˚
                                           ´ Rpx, aπk,h´1 q ´            P py|x, aπk,h´1 qVh˚ pyq
                                                                  yPS
                                                         ˚           ÿ                  ˚
                                         ě bk,h´1 px, aπk,h´1 q `          Ppk py|x, aπk,h´1 qVk,h pyq
                                                                     yPS
                                               ÿ                ˚
                                           ´         P py|x, aπk,h´1 qVh˚ pyq
                                               yPS
                                                            ˚        ÿ                  ˚
                                         “ bk,h´1 px, aπk,h´1 q `          Ppk py|x, aπk,h´1 q rVk,h pyq ´ Vh˚ pyqs
                                                                     yPS
                                             ÿ”             ˚
                                                                                               ı
                                                                                   π˚
                                           `   Ppk py|x, aπ     k,h´1 q ´ P py|x, ak,h´1 q         Vh˚ pyq
                                               yPS
                                                            ˚        ÿ                  ˚
                                         ě bk,h´1 px, aπk,h´1 q `          Ppk py|x, aπk,h´1 q rVk,h pyq ´ Vh˚ pyqs   (73)
                                                                     yPS


where Equation (73) follows from the induction assumption.
Under event E, we can apply the empirical Bernstein inequality (Maurer & Pontil, 2009):

                       ˇ                                    ˇ d
                       ˇÿ ”                        ı        ˇ    p ˚ px, aqL
                                                                2V                  7HL
                                                       ˚           k,h
                            P       aq   P       aq  V                                          ,
                       ˇ                                    ˇ
                            p py|x,    ´   py|x,         pyq  ď              `
                       ˇyPS k                          h
                       ˇ                                    ˇ
                                                            ˇ     Nk px, aq    3pNk px, aq ´ 1q

      p ˚ px, aq :“ Var p
where V                               ˚
        k,h            y„Pk p¨|x,aq rVh pyqs. As such, we obtain:


                                                            g
                                                                 p px, aπ˚ qL
                                                            f ˚
                                                            f 2V                               7HL
                           ˚                     π˚               k,h      k,h´1
             Vk,h´1 pxq ´ Vh´1 pxq ě bk,h´1 px, ak,h´1 q ´  e
                                                                          π ˚       ´              ˚
                                                                  Nk px, ak,h´1 q      3pNk px, aπk,h´1 q ´ 1q
                                     g                           g
                                         p k,h px, aπ˚ qL f 4LEy„Ppk p¨|x,aπ˚ q b1k,h pyq
                                     f                           f
                                     f 4V           k,h´1                         k,h´1
                                   “ e
                                                     ˚        `e                    ˚
                                          Nk px, aπk,h´1 q                Nk px, aπk,h´1 q
                                       g                                                                              (74)
                                            p px, aπ˚ qL
                                       f ˚
                                       f 2V  k,h       k,h´1
                                     ´ e
                                                        ˚      .
                                             Nk px, aπk,h´1 q


             p ˚ in terms of V
We now bound V               p k,h . Observing that:
               k,h




                                VarrXs “ ErX ´ ErXss2
                                        “ ErX ˘ Y ´ ErXs ˘ ErY ss2
                                        “ ErpX ´ Y q ´ ErX ´ Y s ` Y ´ ErY ss2
                                        ď 2ErpX ´ Y q ´ ErX ´ Y ss2 ` 2ErY ´ ErY ss2
                                        “ VarrX ´ Y s ` 2 VarrY s,

we can then rewrite:

                                                                40
                        Position: Constants are Critical in Regret Bounds for Reinforcement Learning



                                       p k,h px, aπ˚ q ` 2
                      p ˚ px, aπ˚ q ď 2V
                      V                                                    Var ˚         rVh˚ pyq ´ Vk,h pyqs
                        k,h    k,h´1              k,h´1
                                                                   y„Ppk p¨|x,aπ
                                                                               k,h´1 q

                                          p k,h px, aπ˚ q ` 2                         ˚
                                                                   ÿ
                                       ď 2V          k,h´1               Ppk p¨|x, aπk,h´1 qpVk,h pyq ´ Vy˚ q2 .
                                                                   yPS


By plugging this result into Equation (74), we get:

                                 g                               g
                                 f 4LEy„Ppk p¨|x,aπ˚ q b1k,h pyq f 4LEy„Ppk p¨|x,aπ˚ q pVk,h pyq ´ Vh˚ pyqq2
                                 f                               f
                       ˚                          k,h´1                           k,h´1
         Vk,h´1 pxq ´ Vh´1 pxq ě e
                                                    ˚           ´e                         ˚                 .
                                       Nk px, aπk,h´1 q                          Nk px, aπk,h´1 q

                                                                                                              ˚
By applying the result of Equation (72) and the definition of b1k,h pyq, we finally obtain that Vk,h´1 pxq ´ Vh´1 pxq ě 0, thus
demonstrating optimism.


Having demonstrated optimism, we now prove the upper bound of the regret RegpUCBVI-BF-I, Kq:



           RegpUCBVI-BF-I,
           Ą               Kq ď UK,1
                                 „?                          ?
                                                   7
                              “ e 28HSAT L2 ` HSAL2 ` 2 842 H 3 S 4 A2 L4
                                                   3
                                  a                  ?          2
                                ` 8HSAL2 UK1 ` 6HSAT L2 ` HSAL2
                                                                3                                                         (75)
                                   b
                                                      8         ?
                                ` 2 HSAL2 UK,1 ` H 2 S 2 AL2 ` 2 H 2 T L
                                                      3 ȷ
                                   ?
                                ` 4 T L ` 100H 2 S 2 AL
                                 „ ?                                            ?     ȷ
                                                                  821 2 2 2
                                                    b
                                             2           2 2
                              ď e 12 HSAT L ` 5 H SAL UK,1 `                      2
                                                                      H S AL ` 2 H T L
                                                                   3

where Equation (75) is obtained by applying the results of Lemmas D.9 and D.8, by applying the result of Equation (69),
and by accounting for the regret of non-typical episodes.
As done in Lemma F.1, by letting:


                                      „ ?                            ?     ȷ
                                                      2
                                                        821 2 2 2      2
                                 α “ e 12 HSAT L `         H S AL ` 2 H T L ,
                                                         3
                                       ?
                                 β “ 5e H 2 S 2 AL2 ,

we can solve for UK,1 and obtain:


                                              ?          1846 2 2 2          ?
                      RegpUCBVI-BF-I,
                      Ą               Kq ď 24e HSAT L2 `     eH S AL ` 4e H 2 T L
                                              ?            3                ?
                                         ď 24e HSAT L ` 616eH 2 S 2 AL2 ` 4e H 2 T L
                                                     2



thus completing the proof.

                                                              41
                                                     Position: Constants are Critical in Regret Bounds for Reinforcement Learning

G. Additional Illustrative Experiments
In this section, we report additional experiments for the illustrative environment presented in Section 4.1, comparing the
UCBVI-BF, UCBVI-BF-I, and MVP algorithms in the case of larger state and action spaces. In particular, we compare
the three algorithms in environments with state and action spaces with cardinalities S, A P t3, 5, 10u, time horizon H “ 5
(Figure 4) and H “ 10 (Figure 5), and number of episodes K “ 105 . The results are averaged over 5 runs, with a 95%
confidence interval.
As we can see from the figures, both UCBVI-BF and UCBVI-BF-I outperform MVP in all the evaluated settings. Ad-
ditionally, we can observe that the performance gap between UCBVI-BF and UCBVI-BF-I increases with the size of
the environment, showing that the reduction in unnecessary exploration of UCBVI-BF-I provides a greater performance
improvement in larger environments.
                              ¨105                                                                               ¨105                                                                                     ¨105
                    2.5              UCBVI-BF                                                                            UCBVI-BF                                                                 3               UCBVI-BF
                                     UCBVI-BF-I                                                        2.5               UCBVI-BF-I                                                                               UCBVI-BF-I
                                     MVP                                                                                 MVP                                                                                      MVP
                     2
Cumulative Regret




                                                                                   Cumulative Regret




                                                                                                                                                                              Cumulative Regret
                                                                                                         2
                                                                                                                                                                                                  2
                    1.5
                                                                                                       1.5

                     1                                                                                   1
                                                                                                                                                                                                  1
                    0.5                                                                                0.5

                     0                                                                                   0                                                                                        0
                          0           0.2   0.4      0.6   0.8          1                                    0            0.2   0.4      0.6   0.8          1                                         0           0.2    0.4      0.6   0.8          1
                                              Episodes           ¨105                                                             Episodes           ¨105                                                                  Episodes           ¨105

                                     (a) S “ 3, A “ 3.                                                                   (b) S “ 3, A “ 5.                                                                        (c) S “ 3, A “ 10.

                              ¨105                                                                               ¨105                                                                                     ¨105
                                     UCBVI-BF                                                                           UCBVI-BF                                                             2.5                  UCBVI-BF
                                     UCBVI-BF-I                                                        1.5              UCBVI-BF-I                                                                                UCBVI-BF-I
                    1.5              MVP                                                                                MVP                                                                                       MVP
                                                                                                                                                                                                  2
Cumulative Regret




                                                                            Cumulative Regret




                                                                                                                                                                Cumulative Regret



                                                                                                        1
                     1                                                                                                                                                                       1.5

                                                                                                                                                                                                  1
                    0.5                                                                                0.5
                                                                                                                                                                                             0.5

                     0                                                                                  0                                                                                         0
                          0           0.2   0.4      0.6   0.8          1                                    0           0.2    0.4      0.6   0.8          1                                         0           0.2    0.4      0.6   0.8          1
                                              Episodes           ¨105                                                             Episodes           ¨105                                                                  Episodes           ¨105

                                     (d) S “ 5, A “ 3.                                                                  (e) S “ 5, A “ 5.                                                                        (f) S “ 5, A “ 10.

                              ¨105                                                                               ¨105                                                                                     ¨105
                                                                                                       2.5
                    1.2              UCBVI-BF                                                                           UCBVI-BF                                                             2.5                  UCBVI-BF
                                     UCBVI-BF-I                                                                         UCBVI-BF-I                                                                                UCBVI-BF-I
                     1               MVP                                                                2               MVP                                                                                       MVP
                                                                                                                                                                                                  2
Cumulative Regret




                                                                            Cumulative Regret




                                                                                                                                                                Cumulative Regret




                    0.8                                                                                1.5
                                                                                                                                                                                             1.5
                    0.6
                                                                                                        1                                                                                         1
                    0.4
                                                                                                       0.5                                                                                   0.5
                    0.2

                     0                                                                                  0                                                                                         0
                          0           0.2   0.4      0.6   0.8          1                                    0           0.2    0.4      0.6   0.8          1                                         0           0.2    0.4      0.6   0.8          1
                                              Episodes           ¨105                                                             Episodes           ¨105                                                                  Episodes           ¨105

                                     (g) S “ 10, A “ 3.                                                                 (h) S “ 10, A “ 5.                                                                       (i) S “ 10, A “ 10.

Figure 4. Performances in terms of cumulative regret in toy environments with S P t3, 5, 10u states and A P t3, 5, 10u actions for H “ 5
and K “ 105 (5 runs, mean ˘ 95% C.I.).


                                                                                                                                42
                                                        Position: Constants are Critical in Regret Bounds for Reinforcement Learning




                            ¨105                                                                              ¨105                                                                         ¨105
                    5                                                                                 6
                                       UCBVI-BF                                                                      UCBVI-BF                                                                     UCBVI-BF
                                                                                                                                                                                   6
                                       UCBVI-BF-I                                                                    UCBVI-BF-I                                                                   UCBVI-BF-I
                    4                  MVP                                                                           MVP                                                                          MVP
Cumulative Regret




                                                                                  Cumulative Regret




                                                                                                                                                               Cumulative Regret
                                                                                                      4
                    3                                                                                                                                                              4


                    2
                                                                                                      2                                                                            2
                    1


                    0                                                                                 0                                                                            0
                        0              0.2     0.4      0.6   0.8             1                           0          0.2    0.4      0.6   0.8             1                           0          0.2    0.4      0.6   0.8          1
                                                 Episodes           ¨105                                                      Episodes           ¨105                                                      Episodes           ¨105

                                       (a) S “ 3, A “ 3.                                                             (b) S “ 3, A “ 5.                                                            (c) S “ 3, A “ 10.

                            ¨105                                                                              ¨105                                                                         ¨105
                                       UCBVI-BF                                                                      UCBVI-BF
                                                                                                                                                                                   5              UCBVI-BF
                    3                  UCBVI-BF-I                                                                    UCBVI-BF-I                                                                   UCBVI-BF-I
                                       MVP                                                            3              MVP                                                                          MVP
                                                                                                                                                                                   4
Cumulative Regret




                                                                                  Cumulative Regret




                                                                                                                                                               Cumulative Regret
                    2                                                                                                                                                              3
                                                                                                      2

                                                                                                                                                                                   2
                    1                                                                                 1
                                                                                                                                                                                   1


                    0                                                                                 0                                                                            0
                        0              0.2     0.4      0.6   0.8             1                           0          0.2    0.4      0.6   0.8             1                           0          0.2    0.4      0.6   0.8          1
                                                 Episodes           ¨105                                                      Episodes           ¨105                                                      Episodes           ¨105

                                       (d) S “ 5, A “ 3.                                                             (e) S “ 5, A “ 5.                                                            (f) S “ 5, A “ 10.

                                                                                                              ¨105                                                                         ¨105
                                ¨105                                                                  5
                                                                                                                     UCBVI-BF                                                                     UCBVI-BF
                    2.5                 UCBVI-BF                                                                                                                                   5
                                                                                                                     UCBVI-BF-I                                                                   UCBVI-BF-I
                                        UCBVI-BF-I
                                                                                                      4              MVP                                                                          MVP
                                        MVP
                        2                                                                                                                                                          4
                                                                                  Cumulative Regret




                                                                                                                                                               Cumulative Regret
Cumulative Regret




                                                                                                      3
                    1.5                                                                                                                                                            3

                                                                                                      2
                        1                                                                                                                                                          2


                    0.5                                                                               1                                                                            1


                        0                                                                             0                                                                            0
                            0           0.2    0.4      0.6   0.8             1                           0          0.2    0.4      0.6   0.8             1                           0          0.2    0.4      0.6   0.8          1
                                                 Episodes           ¨10   5                                                   Episodes           ¨10   5                                                   Episodes           ¨105

                                       (g) S “ 10, A “ 3.                                                            (h) S “ 10, A “ 5.                                                           (i) S “ 10, A “ 10.

Figure 5. Performances in terms of cumulative regret in toy environments with S P t3, 5, 10u states and A P t3, 5, 10u actions for
H “ 10 and K “ 105 (5 runs, mean ˘ 95% C.I.).




                                                                                                                             43
