# CONVEX REGULARIZATION IN MONTE-CARLO TREE SEARCH
Anonymous authors Paper under double-blind review
# ABSTRACT
Monte-Carlo planning and Reinforcement Learning (RL) are essential to sequential decision making. The recent AlphaGo and AlphaZero algorithms have shown how to successfully combine these two paradigms to solve large scale sequential decision problems. These methodologies exploit a variant of the well-known UCT algorithm to trade off the exploitation of good actions and the exploration of unvisited states, but their empirical success comes at the cost of poor sample-efficiency and high computation time. In this paper, we overcome these limitations by studying the benefit of convex regularization in Monte-Carlo Tree Search (MCTS) to drive exploration efficiently and to improve policy updates, as already observed in RL. First, we introduce a unifying theory on the use of generic convex regularizers in MCTS, deriving the first regret analysis of regularized MCTS and showing that it guarantees an exponential convergence rate. Second, we exploit our theoretical framework to introduce novel regularized backup operators for MCTS, based on the relative entropy of the policy update and on the Tsallis entropy of the policy. We provide an intuitive demonstration of the effect of each regularizer empirically verifying the consequence of our theoretical results on a toy problem. Finally, we show how our framework can easily be incorporated in AlphaGo and AlphaZero, and we empirically show the superiority of convex regularization w.r.t. representative baselines, on well-known RL problems across several Atari games.
# 1 INTRODUCTION
Monte-Carlo Tree Search (MCTS) is a well-known algorithm to solve decision-making problems through the combination of Monte-Carlo planning with an incremental tree structure (Coulom, 2006). Although standard MCTS is only suitable for problems with discrete state and action spaces, recent advances have shown how to enable MCTS in continuous problems (Silver et al., 2016; Yee et al., 2016). Most remarkably, AlphaGo (Silver et al., 2016) and AlphaZero (Silver et al., 2017b;a) couple MCTS with neural networks trained using Reinforcement Learning (RL) (Sutton & Barto, 1998) methods, e.g., Deep $Q$ -Learning (Mnih et al., 2015), to speed up learning of large scale problems with continuous state space. In particular, a neural network is used to compute value function estimates of states as a replacement of time-consuming Monte-Carlo rollouts, and another neural network is used to estimate policies as a probability prior for the therein introduced PUCT action selection method, a variant of well-known UCT sampling strategy commonly used in MCTS for exploration (Kocsis et al., 2006). Despite AlphaGo and AlphaZero achieving state-of-the-art performance in games with high branching factor like Go (Silver et al., 2016) and Chess (Silver et al., 2017a), both methods suffer from poor sample-efficiency, mostly due to the polynomial convergence rate of PUCT (Xiao et al., 2019). This problem, combined with the high computational time to evaluate the deep neural networks, significantly hinder the applicability of both methodologies.
In this paper, we provide a unified theory of the use of convex regularization in MCTS, which proved to be an efficient solution for driving exploration and stabilizing learning in RL (Schulman et al., 2015; 2017a; Haarnoja et al., 2018; Buesing et al., 2020). In particular, we show how a regularized objective function in MCTS can be seen as an instance of the Legendre-Fenchel transform, similar to previous findings on the use of duality in RL (Mensch & Blondel, 2018; Geist et al., 2019; Nachum & Dai, 2020) and game theory (Shalev-Shwartz & Singer, 2006; Pavel, 2007). Establishing our theoretical framework, we can derive the first regret analysis of regularized MCTS, and prove that a generic convex regularizer guarantees an exponential convergence rate to the solution of the regularized objective function, which improves on the polynomial rate of PUCT. These results provide a theoretical ground for the use of arbitrary entropy-based regularizers in MCTS until now limited to maximum entropy (Xiao et al., 2019), among which we specifically study the relative entropy of policy updates, drawing on similarities with trust-region and proximal methods in RL (Schulman et al., 2015; 2017b), and the Tsallis entropy, used for enforcing the learning of sparse policies (Lee et al., 2018). Moreover, we provide an empirical analysis of the toy problem introduced in Xiao et al. (2019) to intuitively evince the practical consequences of our theoretical results for each regularizer. Finally, we empirically evaluate the proposed operators in AlphaGo and AlphaZero on problems of increasing complexity, from classic RL problems to an extensive analysis of Atari games, confirming the benefit of our novel operators compared to maximum entropy and, in general, the superiority of convex regularization in MCTS w.r.t. classic methods.
# 2 PRELIMINARIES
# 2.1 MARKOV DECISION PROCESSES
We consider the classical definition of a finite-horizon Markov Decision Process (MDP) as a 5- tuple $\mathcal { M } = \langle \mathcal { S } , \mathcal { A } , \mathcal { R } , \mathcal { P } , \gamma \rangle$ , where $s$ is the state space, $\mathcal { A }$ is the finite discrete action space, $\mathcal { R } : \mathcal { S } \times \mathcal { A } \times \mathcal { S } \to \mathbb { R }$ is the reward function, $\mathcal { P } : \mathcal { S } \times \mathcal { A } \mathcal { S }$ is the transition kernel, and $\gamma \in [ 0 , 1 )$ is the discount factor. A policy $\pi \in \Pi : \mathcal { S } \times \mathcal { A } \mathbb { R }$ is a probability distribution of the event of executing an action $a$ in a state $s$ . A policy $\pi$ induces a value function corresponding to the expected cumulative discounted reward collected by the agent when executing action $a$ in state s, and following the policy π thereafter: Qπ(s, a) , E -P∞k=0 γkri+k+1|si = s, ai = a, π, timal policy $\pi ^ { * }$ , which is the policy that maximizes the expected cumulative discounted reward. The optimal policy corresponds to the one satisfying the optimal Bellman equation (Bellman, 1954) $\begin{array} { r } { Q ^ { * } ( s , a ) \triangleq \int _ { S } \mathcal { P } ( s ^ { \prime } | s , a ) \left[ \mathcal { R } ( s , a , s ^ { \prime } ) + \gamma \operatorname* { m a x } _ { a ^ { \prime } } Q ^ { * } ( s ^ { \prime } , a ^ { \prime } ) \right] d s ^ { \prime } } \end{array}$ , and is the fixed point of the optimal Bellman operator $\begin{array} { r } { \mathcal { T } ^ { * } Q ( s , a ) \triangleq \int _ { S } \mathcal { P } ( s ^ { \prime } | s , a ) \left[ \mathcal { R } ( s , a , s ^ { \prime } ) + \gamma \operatorname* { m a x } _ { a ^ { \prime } } Q ( s ^ { \prime } , a ^ { \prime } ) \right] d s ^ { \prime } } \end{array}$ . Additionally, we define the Bellman operator under the policy $\pi$ as ${ \mathcal { T } } _ { \pi } Q ( s , a )$ , $\begin{array} { r } { \int _ { \mathcal { S } } \mathcal { P } ( s ^ { \prime } | s , a ) \left[ \mathcal { R } ( s , a , s ^ { \prime } ) + \gamma \int _ { \mathcal { A } } \pi ( a ^ { \prime } | s ^ { \prime } ) Q ( s ^ { \prime } , a ^ { \prime } ) d a ^ { \prime } \right] d s ^ { \prime } } \end{array}$ , the optimal value function $V ^ { \ast } ( s )$ , $\operatorname* { m a x } _ { a \in \mathcal { A } } Q ^ { * } ( s , a )$ , and the value function under the policy $\pi$ as $V ^ { \pi } ( s ) \triangleq \operatorname* { m a x } _ { a \in \mathcal { A } } Q ^ { \pi } ( s , a )$ .
# 2.2 MONTE-CARLO TREE SEARCH AND UPPER CONFIDENCE BOUNDS FOR TREES
Monte-Carlo Tree Search (MCTS) is a planning strategy based on a combination of Monte-Carlo sampling and tree search to solve MDPs. MCTS builds a tree where the nodes are the visited states of the MDP, and the edges are the actions executed in each state. MCTS converges to the optimal policy (Kocsis et al., 2006; Xiao et al., 2019), iterating over a loop composed of four steps:
1. Selection: starting from the root node, a tree-policy is executed to navigate the tree until a node with unvisited children, i.e. expandable node, is reached;
2. Expansion: the reached node is expanded according to the tree policy;
3. Simulation: run a rollout, e.g. Monte-Carlo simulation, from the visited child of the current node to the end of the episode;
4. Backup: use the collected reward to update the action-values $Q ( \cdot )$ of the nodes visited in the trajectory from the root node to the expanded node.
The tree-policy used to select the action to execute in each node needs to balance the use of already known good actions, and the visitation of unknown states. The Upper Confidence bounds for Trees (UCT) sampling strategy (Kocsis et al., 2006) extends the use of the well-known UCB1 sampling strategy for multi-armed bandits (Auer et al., 2002), to MCTS. Considering each node corresponding to a state $s \in S$ as a different bandit problem, UCT selects an action $a \in { \mathcal { A } }$ applying an upper bound to the action-value function
$$
\mathrm { U C T } ( s , a ) = Q ( s , a ) + \epsilon \sqrt { \frac { \log N ( s ) } { N ( s , a ) } } ,
$$
where $N ( s , a )$ is the number of executions of action $a$ in state $s$ , $\begin{array} { r } { N ( s ) = \sum _ { a } N ( s , a ) } \end{array}$ , and $\epsilon$ is a constant parameter to tune exploration. UCT asymptotically converges to the optimal action-value function $Q ^ { * }$ , for all states and actions, with the probability of executing a suboptimal action at the root node approaching 0 with a polynomial rate $\textstyle { \dot { O } } ( { \frac { 1 } { t } } )$ , for a simulation budget $t$ (Kocsis et al., 2006; Xiao et al., 2019).
# 3 REGULARIZED MONTE-CARLO TREE SEARCH
The success of RL methods based on entropy regularization comes from their ability to achieve state-of-the-art performance in decision making and control problems, while enjoying theoretical guarantees and ease of implementation (Haarnoja et al., 2018; Schulman et al., 2015; Lee et al., 2018). However, the use of entropy regularization is MCTS is still mostly unexplored, although its advantageous exploration and value function estimation would be desirable to reduce the detrimental effect of high-branching factor in AlphaGo and AlphaZero. To the best of our knowledge, the MENTS algorithm (Xiao et al., 2019) is the first and only method to combine MCTS and entropy regularization. In particular, MENTS uses a maximum entropy regularizer in AlphaGo, proving an exponential convergence rate to the solution of the respective softmax objective function and achieving state-of-the-art performance in some Atari games (Bellemare et al., 2013). In the following, motivated by the success in RL and the promising results of MENTS, we derive a unified theory of regularization in MCTS based on the Legendre-Fenchel transform (Geist et al., 2019), that generalizes the use of maximum entropy of MENTS to an arbitrary convex regularizer. Notably, our theoretical framework enables to rigorously motivate the advantages of using maximum entropy and other entropy-based regularizers, such as relative entropy or Tsallis entropy, drawing connections with their RL counterparts TRPO (Schulman et al., 2015) and Sparse DQN (Lee et al., 2018), as MENTS does with Soft Actor-Critic (SAC) (Haarnoja et al., 2018).
# 3.1 LEGENDRE-FENCHEL TRANSFORM
Consider an MDP $\mathcal { M } = \langle \mathcal { S } , \mathcal { A } , \mathcal { R } , \mathcal { P } , \gamma \rangle$ , as previously defined. Let $\Omega : \Pi \mathbb { R }$ be a strongly convex function. For a policy $\pi _ { s } = \pi ( \cdot | s )$ and $\bar { Q } _ { s } = Q ( \bar { s } , \cdot ) \in \mathbb { R } ^ { 4 }$ , the Legendre-Fenchel transform (or convex conjugate) of $\Omega$ is $\Omega ^ { * } : \mathbb { R } ^ { A } \xrightarrow [ ] { } \mathbb { R }$ , defined as:
$$
\Omega ^ { \ast } ( Q _ { s } ) \triangleq \operatorname* { m a x } _ { \pi _ { s } \in \Pi _ { s } } \mathcal { T } _ { \pi _ { s } } Q _ { s } - \tau \Omega ( \pi _ { s } ) ,
$$
where the temperature $\tau$ specifies the strength of regularization. Among the several properties of the Legendre-Fenchel transform, we use the following (Mensch & Blondel, 2018; Geist et al., 2019).
Proposition 1 Let $\Omega$ be strongly convex.
• Unique maximizing argument: $\nabla \Omega ^ { * }$ is Lipschitz and satisfies
$$
\nabla \Omega ^ { * } ( Q _ { s } ) = \arg \operatorname* { m a x } _ { \pi _ { s } \in \Pi _ { s } } \mathcal { T } _ { \pi _ { s } } Q _ { s } - \tau \Omega ( \pi _ { s } ) .
$$
• Boundedness: if there are constants $L _ { \Omega }$ and $U _ { \Omega }$ such that for all $\pi _ { s } \in \Pi _ { s }$ , we have $L _ { \Omega } \leq$ $\Omega ( \pi _ { s } ) \leq U _ { \Omega }$ , then
$$
\operatorname* { m a x } _ { a \in \mathcal { A } } Q _ { s } ( a ) - \tau U _ { \Omega } \le \Omega ^ { * } ( Q _ { s } ) \le \operatorname* { m a x } _ { a \in \mathcal { A } } Q _ { s } ( a ) - \tau L _ { \Omega } .
$$
• Contraction: for any $Q _ { 1 } , Q _ { 2 } \in \mathbb { R } ^ { S \times A }$
$$
\parallel \Omega ^ { * } ( Q _ { 1 } ) - \Omega ^ { * } ( Q _ { 2 } ) \parallel _ { \infty } \leq \gamma \parallel Q _ { 1 } - Q _ { 2 } \parallel _ { \infty } .
$$
Although the Legendre-Fenchel transform $\Omega ^ { * }$ applies to every strongly convex function, for the purpose of this work we only consider a representative set of entropic regularizers.
# 3.2 REGULARIZED BACKUP AND TREE POLICY
In MCTS, each node of the tree represents a state $s \in S$ and contains a visitation count $N ( s , a )$ . Given a trajectory, we define $n \big ( s _ { T } \big )$ as the leaf node corresponding to the reached state $s _ { T }$ . Let $s _ { 0 } , a _ { 0 } , s _ { 1 } , a _ { 1 } . . . , s _ { T }$ be the state action trajectory in a simulation, where $n { \left( { { s _ { T } } } \right) }$ is a leaf node of $\tau$ . Whenever a node $n { \left( { { s _ { T } } } \right) }$ is expanded, the respective action values (Equation 6) are initialized as $Q _ { \Omega } ( s _ { T } , a ) = 0$ , and $\dot { N } ( \dot { s } _ { T } , a ) = 0$ for all $a \in { \mathcal { A } }$ . For all nodes in the trajectory, the visitation count is updated by $N ( s _ { t } , a _ { t } ) = N ( s _ { t } , a _ { t } ) + 1$ , and the action-values by
$$
Q _ { \Omega } ( s _ { t } , a _ { t } ) = \left\{ \begin{array} { l l } { r ( s _ { t } , a _ { t } ) + \gamma \rho } & { \mathrm { i f ~ } t = T } \\ { r ( s _ { t } , a _ { t } ) + \gamma \Omega ^ { * } ( Q _ { \Omega } ( s _ { t + 1 } ) / \tau ) ) } & { \mathrm { i f ~ } t < T } \end{array} \right.
$$
where $Q _ { \Omega } ( s _ { t + 1 } ) \in \mathbb { R } ^ { A }$ with components $Q _ { \Omega } ( s _ { t + 1 } , a ) , \forall a \in \mathcal { A }$ , and $\rho$ is an estimate returned from an evaluation function computed in $s _ { T }$ , e.g. a discounted cumulative reward averaged over multiple rollouts, or the value-function of node $n ( s _ { T + 1 } )$ returned by a value-function approximator, e.g. a neural network pretrained with deep $Q$ -learning (Mnih et al., 2015), as done in (Silver et al., 2016; Xiao et al., 2019). We revisit the E2W sampling strategy limited to maximum entropy regularization (Xiao et al., 2019) and, through the use of the convex conjugate in Equation (6), we derive a novel sampling strategy that generalizes to any convex regularizer
$$
\pi _ { t } ( a _ { t } | s _ { t } ) = ( 1 - \lambda _ { s _ { t } } ) \nabla \Omega ^ { \ast } ( Q _ { \Omega } ( s _ { t } ) / \tau ) ( a _ { t } ) + \frac { \lambda _ { s _ { t } } } { | \mathcal { A } | } ,
$$
where $\lambda _ { s _ { t } } = \epsilon | \boldsymbol { \mathcal { A } } | \big / \mathrm { l o g } ( \sum _ { a } N ( s _ { t } , a ) + 1 )$ with $\epsilon > 0$ as an exploration parameter, and $\nabla \Omega ^ { * }$ depends on the measure in use (see Table 1 for maximum, relative, and Tsallis entropy). We call this sampling strategy Extended Empirical Exponential Weight (E3W) to highlight the extension of E2W from maximum entropy to a generic convex regularizer.
# 3.3 CONVERGENCE RATE TO REGULARIZED OBJECTIVE
We show that the regularized value $V _ { \Omega }$ can be effectively estimated at the root state $s \in { \mathcal { S } }$ , with the assumption that each node in the tree has a $\sigma ^ { 2 }$ -subgaussian distribution. This result extends the analysis provided in (Xiao et al., 2019), which is limited to the use of maximum entropy.
Theorem 1 At the root node s where $N ( s )$ is the number of visitations, with $\epsilon > 0$ , $V _ { \Omega } ( s )$ is the estimated value, with constant $C$ and $\hat { C }$ , we have
$$
\mathbb { P } ( | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | > \epsilon ) \le C \exp \{ - \frac { N ( s ) \epsilon } { \hat { C } \sigma ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} ,
$$
where $V _ { \Omega } ( s ) = \Omega ^ { * } ( Q _ { s } )$ and $V _ { \Omega } ^ { * } ( s ) = \Omega ^ { * } ( Q _ { s } ^ { * } )$ . From this theorem, we obtain that the convergence rate of choosing the best action $a ^ { * }$ at the root node, when using the E3W strategy, is exponential.
Theorem 2 Let $a _ { t }$ be the action returned by E3W at step t. For large enough t and constants $C , { \hat { C } }$
$$
\mathbb { P } ( a _ { t } \neq a ^ { * } ) \leq C t \exp \{ - \frac { t } { \hat { C } \sigma ( \log ( t ) ) ^ { 3 } } \} .
$$
# 4 ENTROPY-REGULARIZATION BACKUP OPERATORS
From the introduction of a unified view of generic strongly convex regularizers as backup operators in MCTS, we narrow the analysis to entropy-based regularizers. For each entropy function, Table 1 shows the Legendre-Fenchel transform and the maximizing argument, which can be respectively replaced in our backup operation (Equation 6) and sampling strategy E3W (Equation 7). Using maximum entropy retrieves the maximum entropy MCTS problem introduced in the MENTS algorithm (Xiao et al., 2019). This approach closely resembles the maximum entropy RL framework used to encourage exploration (Haarnoja et al., 2018; Schulman et al., 2017a). We introduce two novel MCTS algorithms based on the minimization of relative entropy of the policy update, inspired by trust-region (Schulman et al., 2015) and proximal optimization methods (Schulman et al., 2017b) in RL, and on the maximization of Tsallis entropy, which has been more recently introduced in RL as an effective solution to enforce the learning of sparse policies (Lee et al., 2018). We call these algorithms RENTS and TENTS. Contrary to maximum and relative entropy, the definition of the
Legendre-Fenchel and maximizing argument of Tsallis entropy is non-trivial, being
$$
\begin{array} { r l } & { ~ \Omega ^ { * } ( Q _ { t } ) = \tau \cdot \mathrm { s p m a x } ( Q _ { t } ( s , \cdot ) / \tau ) , } \\ & { ~ \nabla \Omega ^ { * } ( Q _ { t } ) = \operatorname* { m a x } \Bigg ( \displaystyle \frac { Q _ { t } ( s , a ) } { \tau } - \displaystyle \frac { \sum _ { a \in { \mathcal { K } } } Q _ { t } ( s , a ) / \tau - 1 } { | { \mathcal { K } } | } , 0 \Bigg ) , } \end{array}
$$
where spmax is defined for any function $f : \mathcal { S } \times \mathcal { A } \mathbb { R }$ as
$$
\operatorname { s p m a x } ( f ( s , \cdot ) ) \triangleq \sum _ { a \in { \mathcal { K } } } \left( { \frac { f ( s , a ) ^ { 2 } } { 2 } } - { \frac { ( \sum _ { a \in { \mathcal { K } } } f ( s , a ) - 1 ) ^ { 2 } } { 2 | K | ^ { 2 } } } \right) + { \frac { 1 } { 2 } } ,
$$
and $\kappa$ is the set of actions that satisfy $\begin{array} { r } { 1 + i f ( s , a _ { i } ) > \sum _ { j = 1 } ^ { i } f ( s , a _ { j } ) } \end{array}$ , with $a _ { i }$ indicating the action with the $i$ -th largest value of $f ( s , a )$ (Lee et al., 2018).
Table 1: List of entropy regularizers with Legendre-Fenchel transforms and maximizing arguments.
| Entropy | Regularizer Ω2(πs) | Legendre-Fenchel Ω*(Q s) | Max argument VΩ*(Qs) |
| Maximum | ∑π(a|s)logπ(a|s) | log∑e Q(s,a) T | Q(s,a) e T |
| Qt(s,a) | Ωe Q(s,b) T Qt(s,a) |
| Relative | DkL(πt(a|s)llπt-1(a|s))log∑aTt-1(als)e | T | Tt-1(a|s)e T |
| ∑Tt-1(b|s)e Qt(s,b) T |
| Tsallis | ( π(a|s) -1) | Equation (10) | Equation (11) |
# 4.1 REGRET ANALYSIS
At the root node, let each children node $i$ be assigned with a random variable $X _ { i }$ , with mean value $V _ { i }$ , while the quantities related to the optimal branch are denoted by $^ *$ , e.g. mean value $V ^ { * }$ . At each nthe root node, at timestep n, is defined as RUCTn = nV ∗ − Pnt=1 Vit . Similarly, we define the regret timestep $n$ , the mean value of variable $X _ { i }$ is $V _ { i _ { n } }$ . The pseudo-regret (Coquelin $\&$ Munos, 2007) at of $\mathrm { E } 3 \mathrm { W }$ at the root node of the tree as
$$
R _ { n } = n V ^ { * } - \sum _ { t = 1 } ^ { n } V _ { i _ { t } } = n V ^ { * } - \sum _ { t = 1 } ^ { n } \mathbb { I } ( i _ { t } = i ) V _ { i _ { t } } = n V ^ { * } - \sum _ { i } V _ { i } \sum _ { t = 1 } ^ { n } { \hat { \pi } } _ { t } ( a _ { i } | s ) ,
$$
where $\hat { \pi } _ { t } ( \cdot )$ is the policy at time step $t$ , and $\mathbb { I } ( \cdot )$ is the indicator function.
Theorem 3 Let $\begin{array} { r } { \kappa _ { i } = \nabla \Omega ^ { * } ( a _ { i } | s ) + \frac { L } { p } \sqrt { \dot { C } \sigma ^ { 2 } \log \frac { C } { \delta } } / 2 n _ { i } } \end{array}$ , and $\begin{array} { r } { \chi _ { i } = \nabla \Omega ^ { * } ( a _ { i } | s ) - \frac { L } { p } \sqrt { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } / 2 n } , } \end{array}$ where $\nabla \Omega ^ { * } ( . | s )$ is the policy with respect to the mean value vector $V ( \cdot )$ at the root node s. For any $\delta > 0$ , with probability at least $1 - \delta$ , ∃ constant $L , p , C , { \hat { C } }$ so that the pseudo regret $R _ { n }$ satisfies
$$
n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \kappa _ { i } + \frac { L } { p } \big ( \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \gamma } \big ) \Big ) \leq R _ { n } \leq n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \chi _ { i } - \frac { L } { p } \big ( \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \gamma } \big ) \Big ) .
$$
This theorem provides bounds for the regret of E3W using a generic convex regularizer $\Omega$ ; thus, we can easily retrieve from it the regret bound for each entropy regularizer. Let $\begin{array} { r } { m = \operatorname* { m i n } _ { a } \nabla \Omega ^ { * } ( a | s ) } \end{array}$ .
Corollary 1 Maximum entropy: $\begin{array} { r } { n V ^ { * } - \tilde { n } \sum _ { i } V _ { i } \Big ( \kappa _ { i } + L \big ( \frac { \tau \log | A | } { 1 - \gamma } \big ) \Big ) \leq R _ { n } \leq n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \chi _ { i } - L \big ( \frac { \tau \log | A | } { 1 - \gamma } \big ) \Big ) . } \end{array}$
$\begin{array} { r } { n V ^ { * } - \tilde { n } \sum _ { i } V _ { i } \Big ( \kappa _ { i } + L \big ( \frac { \tau ^ { \langle \log | A | - \frac { 1 } { m } \rangle } } { 1 - \gamma } \big ) \Big ) \leq R _ { n } \leq n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \chi _ { i } - L \big ( \frac { \tau ( \log | A | - \frac { 1 } { m } ) } { 1 - \gamma } \big ) \Big ) . } \end{array}$
# Corollary 3 Tsallis entropy:
$$
\begin{array} { r } { n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \kappa _ { i } + \frac { L } { 2 } \big ( \frac { | A | - 1 } { 2 | A | } \frac { \tau } { 1 - \gamma } \big ) \Big ) \leq R _ { n } \leq n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \chi _ { i } - \frac { L } { 2 } \big ( \frac { | A | - 1 } { 2 | A | } \frac { \tau } { 1 - \gamma } \big ) \Big ) . } \end{array}
$$
Remarks. The regret bound of UCT and its variance have already been analyzed for nonregularized MCTS with binary tree (Coquelin & Munos, 2007). On the contrary, our regret bound analysis in Theorem 3 applies to generic regularized MCTS. From the specialized bounds in the corollaries, we observe that the maximum and relative entropy share similar results, although the bounds for relative entropy are slightly smaller due to $\textstyle { \frac { 1 } { m } }$ . Remarkably, the bounds for Tsallis entropy become tighter for increasing number of actions, which translates in limited regret in problems with high branching factor. This result establishes the advantage of Tsallis entropy in complex problems w.r.t. to other entropy regularizers, as empirically confirmed by the positive results in several Atari games described in Section 5.
# 4.2 ERROR ANALYSIS
We analyse the error of the regularized value estimate at the root node $n ( s )$ w.r.t. the optimal value: $\varepsilon _ { \Omega } = \dot { V _ { \Omega } } ( s ) - \dot { V ^ { \ast } } ( s )$ .
Theorem 4 For any $\delta > 0$ and generic convex regularizer $\Omega$ , with some constant $C , { \hat { C } }$ , with probability at least $1 - \delta$ , $\varepsilon _ { \Omega }$ satisfies
$$
- \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } - \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \gamma } \leq \varepsilon _ { \Omega } \leq \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } .
$$
To give a better understanding of the effect of each entropy regularizer in Table 1, we specialize the bound in Equation 14 to each of them. From (Lee et al., 2018), we know that for maximum entropy $\begin{array} { r } { \Omega ( { \boldsymbol \pi } _ { t } ) \stackrel { - } { = } \sum _ { a } \pi _ { t } \log \pi _ { t } } \end{array}$ , we have $- \log | \mathcal { A } | \ \leq \ \Omega ( \pi _ { t } ) \ \leq \ 0$ ; for relative entropy $\Omega ( \pi _ { t } ) =$ $\mathrm { K L } ( \pi _ { t } | | \pi _ { t - 1 } )$ , if we define $m = \mathrm { m i n } _ { a } \pi _ { t - 1 } ( a | s )$ , then we can derive $0 \leq \Omega ( \pi _ { t } ) \leq - \log | \mathcal { A } | +$ $\log { \frac { 1 } { m } }$ ; and for Tsallis entropy $\Omega ( \pi _ { t } ) = { \textstyle { \frac { 1 } { 2 } } } ( \parallel \pi _ { t } \parallel _ { 2 } ^ { 2 } - 1 )$ , we have $- \frac { | \ r _ { A } | - 1 } { 2 | \ r _ { A } | } \le \Omega ( \pi _ { t } ) \le 0$ . Then,
Corollary 5 relative entropy error: − $- \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log { \frac { C } { \delta } } } { 2 N ( s ) } } - \frac { \tau ( \log | A | - \log \frac { 1 } { m } ) } { 1 - \gamma } \leq \varepsilon _ { \Omega } \leq \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } .$
Corollary 6 Tsallis entropy error: $- \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } - \frac { | A | - 1 } { 2 | A | } \frac { \tau } { 1 - \gamma } \leq \varepsilon _ { \Omega } \leq \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } .$
These results show that when the number of actions $| { \cal { A } } |$ is large, TENTS enjoys the smallest error;
moreover, we also see that lower bound of RENTS is always smaller than for MENTS.
# 5 EMPIRICAL EVALUATION
In this section, we empirically evaluate the benefit of the proposed entropy-based MCTS regularizers. First, we complement our theoretical analysis with an empirical study of the synthetic tree toy problem introduced in Xiao et al. (2019), which serves as a simple scenario to give an interpretable demonstration of the effects of our theoretical results in practice. Second, we compare to AlphaGo and AlphaZero (Silver et al., 2016; 2017a), recently introduced to enable MCTS to solve large scale problems with high branching factor. Our implementation is a simplified version of the original algorithms, where we remove various tricks in favor of better interpretability. For the same reason, we do not compare with the most recent and state-of-the-art variant of AlphaZero known as MuZero (Schrittwieser et al., 2019), as this is a slightly different solution highly tuned to maximize performance, and a detailed description of its implementation is not available.
# 5.1 SYNTHETIC TREE
This toy problem is introduced in Xiao et al. (2019) to highlight the improvement of MENTS over UCT. It consists of a tree with branching factor $k$ and depth $d$ . Each edge of the tree is assigned a random value between 0 and 1. At each leaf, a Gaussian distribution is used as an evaluation function resembling the return of random rollouts. The mean of the Gaussian distribution is the sum of the values assigned to the edges connecting the root node to the considered leaf, while the standard deviation is $\bar { \sigma } = 0 . 0 5 ^ { 1 }$ . For stability, all the means are normalized between 0 and 1. As in Xiao et al. (2019), we create 5 trees on which we perform 5 different runs in each, resulting in 25 experiments, for all the combinations of branching factor $k = \{ 2 , 4 , 6 , 8 , 1 0 , 1 2 , 1 4 , 1 6 \}$ and depth $d = \{ 1 , 2 , 3 , 4 , 5 \}$ , computing: (i) the value estimation error at the root node w.r.t. the regularized optimal value: $\begin{array} { r } { \varepsilon _ { \Omega } = V _ { \Omega } - V * ; } \end{array}$ (ii) the value estimation error at the root node w.r.t. the unregularized optimal value: $\varepsilon _ { \mathrm { U C T } } = V _ { \Omega } - V * _ { \mathrm { U C T } } $ ; (iii) the regret $R$ as in Equation (13). For a fair comparison, we use fixed $\tau = 0 . 1$ and $\epsilon = 0 . 1$ across all algorithms. Figure 1 and 2 show how UCT and each regularizer behave for different configurations of the tree. We observe that, while RENTS and MENTS converge slower for increasing tree sizes, TENTS is robust w.r.t. the size of the tree and almost always converges faster than all other methods to the respective optimal value. Notably, the optimal value of TENTS seems to be very close to the one of UCT, i.e. the optimal value of the unregularized objective, and also converges faster than the one estimated by UCT, while MENTS and RENTS are considerably further from this value. In terms of regret, UCT explores less than the regularized methods and it is less prone to high regret, at the cost of slower convergence time. Nevertheless, the regret of TENTS is the smallest between the ones of the other regularizers, which seem to explore too much. These results show a general superiority of TENTS in this toy problem, also confirming our theoretical findings about the advantage of TENTS in terms of approximation error (Corollary 6) and regret (Corollary 3), in problems with many actions.

Figure 1: For each algorithm, we show the convergence of the value estimate at the root node to the respective optimal value (top), to the UCT optimal value (middle), and the regret (bottom).

Figure 2: For different branching factor $k$ (rows) and depth $d$ (columns), the heatmaps show: the absolute error of the value estimate at the root node after the last simulation of each algorithm w.r.t. the respective optimal value (a), and w.r.t. the optimal value of UCT (b); regret at the root node (c).

Figure 3: Cumulative rewards of AlphaZero with UCT and entropy-based operators, in CartPole (a) and Acrobot (b). Results are averaged over 5 and 10 seeds and show $9 5 \%$ confidence intervals.
# 5.2 ENTROPY-REGULARIZED ALPHAZERO
In its standard form, AlphaZero (Silver et al., 2017a) uses the PUCT sampling strategy, a variant of UCT (Kocsis et al., 2006) that samples actions according to the policy
$$
\mathit { P U C T } ( s , a ) = { Q } ( s , a ) + \epsilon { P } ( s , a ) { \frac { \sqrt { N ( s ) } } { 1 + N ( s , a ) } } ,
$$
where $P$ is a prior probability on action selection, and $\epsilon$ is an exploration constant. A value network and a policy network are used to compute, respectively, the action-value function $Q$ and the prior policy $P$ . We use a single neural network, with 2 hidden layers composed of 128 ELU units, and two output layer respectively for the action-value function and the policy. We run 500 AlphaZero episodes, where each episode is composed of 300 steps. A step consists of running 32 MCTS simulations from the root node, as defined in Section 2, using the action-value function computed by the value network instead of using Monte-Carlo rollouts. At the end of each cycle, the average action-value of the root node is computed and stored, the tree is expanded using the given sampling strategy, and the root node is updated with the reached node. At the end of the episode, a minibatch of 32 samples is built from the 300 stored action-values, and the network is trained with one step of gradient descent using RMSProp with learning rate 0.001. The entropy-regularized variants of AlphaZero can be simply derived replacing the average backup operator, with the desired entropy function, and replacing PUCT with E3W using the respective maximizing argument and $\epsilon = 0 . 1$ .
Cartpole and Acrobot. Figure 3 shows the cumulative reward of standard AlphaZero based on PUCT, and the three entropy-regularized variants, on the Cartpole and Acrobot discrete control problems (Brockman et al., 2016). While standard AlphaZero clearly lacks good convergence and stability, the entropy-based variants behave differently according to the problem. First, although not significantly superior, RENTS exhibits the most stable learning and faster convergence, confirming the benefit of relative entropy in control problems as already known for trust-region methods in RL (Schulman et al., 2015). Second, considering the small number of discrete actions in the problems, TENTS cannot benefit from the learning of sparse policies and shows slightly unstable learning in Cartpole, even though the overall performance is satisfying in both problems. Last, MENTS solves the problems slightly slower than RENTS, but reaches the same final performance. Although the results on these simple problems are not conclusive to assert the superiority of one method over the other, they definitely confirm the advantage of regularization in MCTS, and hint at the benefit of the use of relative entropy in control problems. Further analysis on more complex control problems will be desirable (e.g. MuJoCo (Todorov et al., 2012)), but the need to account for continuous actions, a non-trivial setting for MCTS, makes it out of the scope of this paper.
Table 2: Average score in Atari over 100 seeds per game. Bold denotes no statistically significant difference to the highest mean (t-test, $p < 0 . 0 5$ ). Bottom row shows # no difference to highest mean.
| UCT | MaxMCTS | MENTS | RENTS | TENTS |
| Alien | 1, 486.80 | 1,461.10 | 1, 508.60 | 1,547.80 | 1, 568.60 |
| Amidar | 115.62 | 124.92 | 123.30 | 125.58 | 121.84 |
| Asterix | 4,855.00 | 5,484.50 | 5,576.00 | 5,743.50 | 5,647.00 |
| Asteroids | 873.40 | 899.60 | 1,414.70 | 1,486.40 | 1,642.10 |
| Atlantis | 35,182.00 | 35,720.00 | 36,277.00 | 35,314.00 | 35,756.00 |
| BankHeist | 475.50 | 458.60 | 622.30 | 636.70 | 631.40 |
| BeamRider | 2,616.72 | 2,661.30 | 2,822.18 | 2,558.94 | 2,804.88 |
| Breakout | 303.04 | 296.14 | 309.03 | 300.35 | 316.68 |
| Centipede | 1, 782.18 | 1,728.69 | 2,012.86 | 2,253.42 | 2,258.89 |
| DemonAttack | 579.90 | 640.80 | 1,044.50 | 1,124.70 | 1,113.30 |
| Enduro | 129.28 | 124.20 | 128.79 | 134.88 | 132.05 |
| Frostbite | 1,244.00 | 1,332.10 | 2,388.20 | 2,369.80 | 2,260.60 |
| Gopher | 3,348.40 | 3,303.00 | 3,536.40 | 3,372.80 | 3,447.80 |
| Hero | 3,009.95 | 3,010.55 | 3,044.55 | 3,077.20 | 3,074.00 |
| MsPacman | 1,940.20 | 1,907.10 | 2,018.30 | 2,190.30 | 2,094.40 |
| Phoenix | 2,747.30 | 2,626.60 | 3,098.30 | 2,582.30 | 3,975.30 |
| Qbert | 7,987.25 | 8,033.50 | 8,051.25 | 8,254.00 | 8,437.75 |
| Robotank | 11.43 | 11.00 | 11.59 | 11.51 | 11.47 |
| Seaquest | 3,276.40 | 3,217.20 | 3,312.40 | 3,345.20 | 3,324.40 |
| Solaris | 895.00 | 923.20 | 1, 118.20 | 1,115.00 | 1,127.60 |
| SpaceInvaders | 778.45 | 835.90 | 832.55 | 867.35 | 822.95 |
| WizardOfWor | 685.00 | 666.00 | 1,211.00 | 1,241.00 | 1,231.00 |
| #Highest mean | 6/22 | 7/22 | 17/22 | 16/22 | 22/22 |
# 5.3 ENTROPY-REGULARIZED ALPHAGO
The learning time of AlphaZero can be slow in problems with high branching factor, due to the need of a large number of MCTS simulations for obtaining good estimates of the randomly initialized action-values. To overcome this problem, AlphaGo (Silver et al., 2016) initializes the action-values using the values retrieved from a pretrained network, which is kept fixed during the training.
Atari. Atari 2600 (Bellemare et al., 2013) is a popular benchmark for testing deep RL methodologies (Mnih et al., 2015; Van Hasselt et al., 2016; Bellemare et al., 2017) but still relatively disregarded in MCTS. We use a Deep $Q$ -Network, pretrained using the same experimental setting of Mnih et al. (2015), to initialize the action-value function of each node after expansion as $Q _ { i n i t } ^ { - } ( s , a ) = \left( Q ( s , a ) - V ( s ) \right) / \tau$ , for MENTS and TENTS, as done in Xiao et al. (2019). For RENTS we init Qi $\mathbf { \Phi } _ { n i t } ( s , a ) = \log { P _ { \mathrm { p r i o r } } ( a | s ) ) } + \left( Q ( s , a ) - V ( s ) \right) / \tau$ , where $P _ { \mathrm { p r i o r } }$ is the Boltzmann distribution induced by action-values $Q ( s , . )$ computed from the network. Each experimental run consists of 512 MCTS simulations. The temperature $\tau$ is optimized for each algorithm and game via grid-search between 0.01 and 1. The discount factor is $\gamma = 0 . 9 9$ , and for PUCT the exploration constant is $c = 0 . 1$ . Table 2 shows the performance, in terms of cumulative reward, of standard AlphaGo with PUCT and our three regularized versions, on 22 Atari games. Moreover, we test also AlphaGo using the MaxMCTS backup (Khandelwal et al., 2016) for further comparison with classic baselines. We observe that regularized MCTS dominates other baselines, in particular TENTS achieves the highest scores in all the 22 games, showing that sparse policies are more effective in Atari. This can be explained by Corollary 6 which shows that Tsallis entropy can lead to a lower error at the root node even with a high number of actions compared to relative or maximum entropy.
# 6 CONCLUSION
We introduced a theory of convex regularization in Monte-Carlo Tree Search (MCTS) based on the Legendre-Fenchel transform. Exploiting this theoretical framework, we studied the regret of MCTS when using a generic strongly convex regularizer, and we proved that it has an exponential convergence rate. We use these results to motivate the use of entropy regularization in MCTS, particularly considering maximum, relative, and Tsallis entropy. Finally, we test regularized MCTS algorithms in discrete control problems and Atari games, showing its advantages over other methods.
# REFERENCES
Peter Auer, Nicolo Cesa-Bianchi, and Paul Fischer. Finite-time analysis of the multiarmed bandit problem. Machine learning, 47(2-3):235–256, 2002.
Marc G Bellemare, Yavar Naddaf, Joel Veness, and Michael Bowling. The arcade learning environment: An evaluation platform for general agents. Journal of Artificial Intelligence Research, 47: 253–279, 2013.
Marc G Bellemare, Will Dabney, and Remi Munos. A distributional perspective on reinforcement ´ learning. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pp. 449–458. JMLR. org, 2017.
Richard Bellman. The theory of dynamic programming. Technical report, Rand corp santa monica ca, 1954.
Greg Brockman, Vicki Cheung, Ludwig Pettersson, Jonas Schneider, John Schulman, Jie Tang, and Wojciech Zaremba. Openai gym. arXiv preprint arXiv:1606.01540, 2016.
Lars Buesing, Nicolas Heess, and Theophane Weber. Approximate inference in discrete distributions with monte carlo tree search and value functions. In International Conference on Artificial Intelligence and Statistics, pp. 624–634. PMLR, 2020.
Guillaume Chaslot, Mark Winands, Jaap Van Den Herik, Jos Uiterwijk, and Bruno Bouzy. Progressive strategies for monte-carlo tree search. New Mathematics and Natural Computation, 4(03): 343–357, 2008.
Benjamin E Childs, James H Brodeur, and Levente Kocsis. Transpositions and move groups in monte carlo tree search. In 2008 IEEE Symposium On Computational Intelligence and Games. IEEE, 2008.
Pierre-Arnaud Coquelin and Remi Munos. Bandit algorithms for tree search. ´ arXiv preprint cs/0703062, 2007.
Remi Coulom. Efficient selectivity and backup operators in monte-carlo tree search. In ´ International conference on computers and games, pp. 72–83. Springer, 2006.
Matthieu Geist, Bruno Scherrer, and Olivier Pietquin. A theory of regularized markov decision processes. In International Conference on Machine Learning, pp. 2160–2169, 2019.
Sylvain Gelly and David Silver. Combining online and offline knowledge in uct. In Proceedings of the 24th international conference on Machine learning, pp. 273–280. ACM, 2007.
Sylvain Gelly and Yizao Wang. Exploration exploitation in go: Uct for monte-carlo go. In NIPS: Neural Information Processing Systems Conference On-line trading of Exploration and Exploitation Workshop, 2006.
Jean-Bastien Grill, Florent Altche, Yunhao Tang, Thomas Hubert, Michal Valko, Ioannis ´ Antonoglou, and Remi Munos. Monte-carlo tree search as regularized policy optimization. ´ arXiv preprint arXiv:2007.12509, 2020.
Tuomas Haarnoja, Aurick Zhou, Pieter Abbeel, and Sergey Levine. Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor. In International Conference on Machine Learning, pp. 1861–1870, 2018.
David P Helmbold and Aleatha Parker-Wood. All-moves-as-first heuristics in monte-carlo go. In IC-AI, pp. 605–610, 2009.
Jean-Baptiste Hoock, Chang-Shing Lee, Arpad Rimmel, Fabien Teytaud, Mei-Hui Wang, and Oliver Teytaud. Intelligent agents for the game of go. IEEE Computational Intelligence Magazine, 2010.
Piyush Khandelwal, Elad Liebman, Scott Niekum, and Peter Stone. On the analysis of complex backup strategies in monte carlo tree search. In International Conference on Machine Learning, 2016.
Levente Kocsis, Csaba Szepesvari, and Jan Willemson. Improved monte-carlo search, 2006. ´
Toma´s Kozelek. Methods of mcts and the game arimaa, 2009. ˇ
Kyungjae Lee, Sungjoon Choi, and Songhwai Oh. Sparse markov decision processes with causal sparse tsallis entropy regularization for reinforcement learning. IEEE Robotics and Automation Letters, 3(3):1466–1473, 2018.
Richard J Lorentz. Improving monte–carlo tree search in havannah. In International Conference on Computers and Games, pp. 105–115. Springer, 2010.
Jincheng Mei, Chenjun Xiao, Ruitong Huang, Dale Schuurmans, and Martin Muller. On princi- ¨ pled entropy exploration in policy optimization. In Proceedings of the 28th International Joint Conference on Artificial Intelligence, pp. 3130–3136. AAAI Press, 2019.
Arthur Mensch and Mathieu Blondel. Differentiable dynamic programming for structured prediction and attention. In International Conference on Machine Learning, pp. 3462–3471, 2018.
Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rusu, Joel Veness, Marc G Bellemare, Alex Graves, Martin Riedmiller, Andreas K Fidjeland, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. Nature, 518(7540):529–533, 2015.
Volodymyr Mnih, Adria Puigdomenech Badia, Mehdi Mirza, Alex Graves, Timothy Lillicrap, Tim Harley, David Silver, and Koray Kavukcuoglu. Asynchronous methods for deep reinforcement learning. In International conference on machine learning, pp. 1928–1937, 2016.
William H Montgomery and Sergey Levine. Guided policy search via approximate mirror descent. In Advances in Neural Information Processing Systems, pp. 4008–4016, 2016.
Ofir Nachum and Bo Dai. Reinforcement learning via fenchel-rockafellar duality. CoRR, abs/2001.01866, 2020.
Vlad Niculae and Mathieu Blondel. A regularized framework for sparse and structured neural attention. In Advances in Neural Information Processing Systems, pp. 3338–3348, 2017.
Lacra Pavel. An extension of duality to a game-theoretic framework. Automatica, 43(2):226 – 237, 2007.
Gavin Adrian Rummery. Problem solving with reinforcement learning. PhD thesis, University of Cambridge Ph. D. dissertation, 1995.
Julian Schrittwieser, Ioannis Antonoglou, Thomas Hubert, Karen Simonyan, Laurent Sifre, Simon Schmitt, Arthur Guez, Edward Lockhart, Demis Hassabis, Thore Graepel, Timothy Lillicrap, and David Silver. Mastering atari, go, chess and shogi by planning with a learned model, 2019.
John Schulman, Sergey Levine, Pieter Abbeel, Michael Jordan, and Philipp Moritz. Trust region policy optimization. In International Conference on Machine Learning (ICML), pp. 1889–1897, 2015.
John Schulman, Xi Chen, and Pieter Abbeel. Equivalence between policy gradients and soft qlearning. arXiv preprint arXiv:1704.06440, 2017a.
John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017b.
Shai Shalev-Shwartz and Yoram Singer. Convex repeated games and fenchel duality. Advances in neural information processing systems, 19:1265–1272, 2006.
David Silver, Aja Huang, Chris J Maddison, Arthur Guez, Laurent Sifre, George Van Den Driessche, Julian Schrittwieser, Ioannis Antonoglou, Veda Panneershelvam, Marc Lanctot, et al. Mastering the game of go with deep neural networks and tree search. nature, 529(7587):484, 2016.
David Silver, Thomas Hubert, Julian Schrittwieser, Ioannis Antonoglou, Matthew Lai, Arthur Guez, Marc Lanctot, Laurent Sifre, Dharshan Kumaran, Thore Graepel, et al. Mastering chess and shogi by self-play with a general reinforcement learning algorithm. arXiv preprint arXiv:1712.01815, 2017a.
David Silver, Julian Schrittwieser, Karen Simonyan, Ioannis Antonoglou, Aja Huang, Arthur Guez, Thomas Hubert, Lucas Baker, Matthew Lai, Adrian Bolton, et al. Mastering the game of go without human knowledge. Nature, 550(7676):354–359, 2017b.
Richard S Sutton and Andrew G Barto. Introduction to reinforcement learning, volume 135. MIT press Cambridge, 1998.
Gerald Tesauro, VT Rajan, and Richard Segal. Bayesian inference in monte-carlo tree search. arXiv preprint arXiv:1203.3519, 2012.
Fabien Teytaud and Olivier Teytaud. On the huge benefit of decisive moves in monte-carlo tree search algorithms. In Proceedings of the 2010 IEEE Conference on Computational Intelligence and Games, pp. 359–364. IEEE, 2010.
E. Todorov, T. Erez, and Y. Tassa. Mujoco: A physics engine for model-based control. In 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems, pp. 5026–5033, 2012.
David Tom. Investigating uct and rave: Steps towards a more robust method, 2010.
Hado Van Hasselt, Arthur Guez, and David Silver. Deep reinforcement learning with double q learning. In Thirtieth AAAI conference on artificial intelligence, 2016.
Tom Vodopivec, Spyridon Samothrakis, and Branko Ster. On monte carlo tree search and reinforcement learning. Journal of Artificial Intelligence Research, 60:881–936, 2017.
Martin J Wainwright. High-dimensional statistics: A non-asymptotic viewpoint, volume 48. Cambridge University Press, 2019.
Chenjun Xiao, Ruitong Huang, Jincheng Mei, Dale Schuurmans, and Martin Muller. Maximum ¨ entropy monte-carlo planning. In Advances in Neural Information Processing Systems, pp. 9516– 9524, 2019.
Timothy Yee, Viliam Lisy, Michael H Bowling, and S Kambhampati. Monte carlo tree search in \` continuous action spaces with execution uncertainty. In IJCAI, pp. 690–697, 2016.
# A RELATED WORK
Entropy regularization is a common tool for controlling exploration in Reinforcement Learning (RL) and has lead to several successful methods (Schulman et al., 2015; Haarnoja et al., 2018; Schulman et al., 2017a; Mnih et al., 2016). Typically specific forms of entropy are utilized such as maximum entropy (Haarnoja et al., 2018) or relative entropy (Schulman et al., 2015). This approach is an instance of the more generic duality framework, commonly used in convex optimization theory. Duality has been extensively studied in game theory (Shalev-Shwartz & Singer, 2006; Pavel, 2007) and more recently in RL, for instance considering mirror descent optimization (Montgomery & Levine, 2016; Mei et al., 2019), drawing the connection between MCTS and regularized policy optimization (Grill et al., 2020), or formalizing the RL objective via Legendre-Rockafellar duality (Nachum & Dai, 2020). Recently (Geist et al., 2019) introduced regularized Markov Decision Processes, formalizing the RL objective with a generalized form of convex regularization, based on the Legendre-Fenchel transform. In this paper, we provide a novel study of convex regularization in MCTS, and derive relative entropy (KL-divergence) and Tsallis entropy regularized MCTS algorithms, i.e. RENTS and TENTS respectively. Note that the recent maximum entropy MCTS algorithm MENTS (Xiao et al., 2019) is a special case of our generalized regularized MCTS. Unlike MENTS, RENTS can take advantage of any action distribution prior, in the experiments the prior is derived using Deep $Q$ -learning (Mnih et al., 2015). On the other hand, TENTS allows for sparse action exploration and thus higher dimensional action spaces compared to MENTS. In experiments, both RENTS and TENTS outperform MENTS.
Several works focus on modifying classical MCTS to improve exploration. UCB1-tuned (Auer et al., 2002) modifies the upper confidence bound of UCB1 to account for variance in order to improve exploration. (Tesauro et al., 2012) proposes a Bayesian version of UCT, which obtains better estimates of node values and uncertainties given limited experience. Many heuristic approaches based on specific domain knowledge have been proposed, such as adding a bonus term to value estimates (Gelly & Wang, 2006; Teytaud & Teytaud, 2010; Childs et al., 2008; Kozelek, 2009; Chaslot et al., 2008) or prior knowledge collected during policy search (Gelly & Silver, 2007; Helmbold & Parker-Wood, 2009; Lorentz, 2010; Tom, 2010; Hoock et al., 2010). (Khandelwal et al., 2016) formalizes and analyzes different on-policy and off-policy complex backup approaches for MCTS planning based on RL techniques. (Vodopivec et al., 2017) proposes an approach called SARSAUCT, which performs the dynamic programming backups using SARSA (Rummery, 1995). Both (Khandelwal et al., 2016) and (Vodopivec et al., 2017) directly borrow value backup ideas from RL to estimate the value at each tree node, but they do not provide any proof of convergence.
# B PROOFS
Let $\hat { r }$ and $r$ be respectively the average and the the expected reward at the leaf node, and the reward distribution at the leaf node be $\sigma ^ { 2 }$ -sub-Gaussian.
Lemma 1 For the stochastic bandit problem E3W guarantees that, for $t \geq 4$ ,
$$
\mathbb { P } \big ( \mathrm { \normalfont ~ } r - \hat { r } _ { t } \mathrm { \normalfont ~ } _ { \infty } \ge \frac { 2 \sigma } { \log ( 2 + t ) } \big ) \le 4 | A | \exp \Big ( - \frac { t } { ( \log ( 2 + t ) ) ^ { 3 } } \Big ) .
$$
Proof 1 Let us define $N _ { t } ( a )$ as the number of times action a have been chosen until time $t$ , and Nˆt(a) = Pts=1 πs(a), where πs(a) is the E3W policy at time step s. By choosing λs = l $\begin{array} { r } { \lambda _ { s } = \frac { \left. A \right. } { \log \left( 1 + s \right) } } \end{array}$ og(1+s) , it follows that for all $a$ and $t \geq 4$ ,
$$
\begin{array} { l } { \displaystyle \hat { N } _ { t } ( a ) = \sum _ { s = 1 } ^ { t } \pi _ { s } ( a ) \geq \sum _ { s = 1 } ^ { t } \frac { 1 } { \log ( 1 + s ) } \geq \sum _ { s = 1 } ^ { t } \frac { 1 } { \log ( 1 + s ) } - \frac { s / ( s + 1 ) } { ( \log ( 1 + s ) ) ^ { 2 } } } \\ { \displaystyle \geq \int _ { 1 } ^ { 1 + t } \frac { 1 } { \log ( 1 + s ) } - \frac { s / ( s + 1 ) } { ( \log ( 1 + s ) ) ^ { 2 } } d s = \frac { 1 + t } { \log ( 2 + t ) } - \frac { 1 } { \log 2 } \geq \frac { t } { 2 \log ( 2 + t ) } . } \end{array}
$$
From Theorem $2 . I 9$ in Wainwright (2019), we have the following concentration inequality:
$$
\mathbb { P } ( | N _ { t } ( a ) - \hat { N } _ { t } ( a ) | > \epsilon ) \le 2 \exp \{ - \frac { \epsilon ^ { 2 } } { 2 \sum _ { s = 1 } ^ { t } \sigma _ { s } ^ { 2 } } \} \le 2 \exp \{ - \frac { 2 \epsilon ^ { 2 } } { t } \} ,
$$
where $\sigma _ { s } ^ { 2 } \le 1 / 4$ is the variance of a Bernoulli distribution with $p = \pi _ { s } ( k )$ at time step $s$ . We define the event
$$
E _ { \epsilon } = \{ \forall a \in \mathcal { A } , | \hat { N } _ { t } ( a ) - N _ { t } ( a ) | \leq \epsilon \} ,
$$
and consequently
$$
\mathbb { P } ( | \hat { N } _ { t } ( a ) - N _ { t } ( a ) | \geq \epsilon ) \leq 2 | A | \exp ( - \frac { 2 \epsilon ^ { 2 } } { t } ) .
$$
Conditioned on the event $E _ { \epsilon }$ , for $\begin{array} { r } { \epsilon = \frac { t } { 4 \log ( 2 + t ) } } \end{array}$ , we have $\begin{array} { r } { N _ { t } ( a ) \geq \frac { t } { 4 \log ( 2 + t ) } } \end{array}$ . For any action a by the definition of sub-gaussian,
$$
\mathbb { P } \Bigg ( \vert r ( a ) - \hat { r } _ { t } ( a ) \vert > \sqrt { \frac { 8 \sigma ^ { 2 } \log ( \frac { 2 } { \delta } ) \log ( 2 + t ) } { t } } \Bigg ) \leq \mathbb { P } \Bigg ( \vert r ( a ) - \hat { r } _ { t } ( a ) \vert > \sqrt { \frac { 2 \sigma ^ { 2 } \log ( \frac { 2 } { \delta } ) } { N _ { t } ( a ) } } \Bigg ) \leq \delta
$$
by choosing a $\delta$ satisfying $\begin{array} { r } { \log ( \frac { 2 } { \delta } ) = \frac { 1 } { ( \log ( 2 + t ) ) ^ { 3 } } } \end{array}$ , we have
$$
\mathbb { P } \Bigg ( | r ( a ) - \hat { r } _ { t } ( a ) | > \sqrt { \frac { 2 \sigma ^ { 2 } \log \left( \frac { 2 } { \delta } \right) } { N _ { t } ( a ) } } \Bigg ) \leq 2 \exp \Bigg ( - \frac { 1 } { ( \log ( 2 + t ) ) ^ { 3 } } \Bigg ) .
$$
Therefore, for $t \geq 2$
$$
\begin{array} { r l } & { \mathbb { P } \Bigg ( \| r - \hat { r } _ { t } \| _ { \infty } > \frac { 2 \sigma } { \log ( 2 + t ) } \Bigg ) \leq \mathbb { P } \Bigg ( \| r - \hat { r } _ { t } \| _ { \infty } > \frac { 2 \sigma } { \log ( 2 + t ) } \Bigg | E _ { \epsilon } \Bigg ) + \mathbb { P } ( E _ { \epsilon } ^ { C } ) } \\ & { \leq \displaystyle \sum _ { k } \Bigg ( \mathbb { P } \Bigg ( | r ( a ) - \hat { r } _ { t } ( a ) | > \frac { 2 \sigma } { \log ( 2 + t ) } \Bigg ) + \mathbb { P } ( E _ { \epsilon } ^ { C } ) \leq 2 | A | \exp \Bigg ( - \frac { 1 } { ( \log ( 2 + t ) ) ^ { 3 } } \Bigg ) \Bigg ) } \\ & { + 2 | A | \exp \Bigg ( - \frac { t } { ( \log ( 2 + t ) ) ^ { 3 } } \Bigg ) = 4 | A | \exp \Bigg ( - \frac { t } { ( \log ( 2 + t ) ) ^ { 3 } } \Bigg ) . } \end{array}
$$
Lemma 2 Given two policies $\pi ^ { ( 1 ) } = \nabla \Omega ^ { * } ( r ^ { ( 1 ) } )$ and $\pi ^ { ( 2 ) } = \nabla \Omega ^ { * } ( r ^ { ( 2 ) } ) , \exists L ,$ , such that
$$
\parallel \pi ^ { ( 1 ) } - \pi ^ { ( 2 ) } \parallel _ { p } \leq L \parallel r ^ { ( 1 ) } - r ^ { ( 2 ) } \parallel _ { p } .
$$
Proof 2 This comes directly from the fact that $\pi = \nabla \Omega ^ { * } ( r )$ is Lipschitz continuous with $\ell ^ { p \ }$ -norm. Note that $p$ has different values according to the choice of regularizer. Refer to Niculae & Blondel (2017) for a discussion of each norm using Shannon entropy and Tsallis entropy regularizer. Relative entropy shares the same Properties with Shannon Entropy.
Lemma 3 Consider the E3W policy applied to a tree. At any node s of the tree with depth $d _ { \mathrm { { z } } }$ , Let us define $N _ { t } ^ { * } ( s , a ) = \pi ^ { * } ( a | s ) . t$ , and $\begin{array} { r } { \hat { N } _ { t } ( s , a ) = \sum _ { s = 1 } ^ { t } \pi _ { s } ( a | s ) } \end{array}$ , where $\pi _ { k } ( a | s )$ is the policy at time step $k$ . There exists some $C$ and $\hat { C }$ such that
$$
\mathbb { P } \big ( | \hat { N } _ { t } ( s , a ) - N _ { t } ^ { * } ( s , a ) | > \frac { C t } { \log t } \big ) \leq \hat { C } | A | t \exp \{ - \frac { t } { ( \log t ) ^ { 3 } } \} .
$$
Proof 3 We denote the following event,
$$
E _ { r _ { k } } = \{ \| r ( s ^ { \prime } , . ) - { \hat { r } } _ { k } ( s ^ { \prime } , . ) \| _ { \infty } < { \frac { 2 \sigma } { \log ( 2 + k ) } } \} .
$$
Thus, conditioned on the event $\textstyle \bigcap _ { i = 1 } ^ { t } E _ { r _ { t } }$ and for $t \geq 4 ,$ , we bound $\vert \hat { N } _ { t } ( s , a ) - N _ { t } ^ { \ast } ( s , a ) \vert$ as
$$
\begin{array} { r l } { \sum _ { k \in \partial _ { s } } \sum _ { i = 1 } ^ { N } \sum _ { j = 1 } ^ { N } \sum _ { k = 0 } ^ { N } \exp _ { i } ^ { - \beta } \sum _ { k = 0 } ^ { N } ( k ) \sum _ { k = 1 } ^ { N } \exp _ { i } ^ { - \beta } ( k ) \sum _ { k = 1 } ^ { N } \exp _ { i } ^ { - \beta } ( k ) \sum _ { k = 1 } ^ { N } } & { } \\ & { \leq \sum _ { k = 1 } ^ { N } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } ( k ) \exp _ { i } ^ { - \beta } \sum _ { k = 1 } ^ { N } } \\ & { \leq \sum _ { k = 1 } ^ { N } \sum _ { i = 0 } ^ { N } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \sum _ { k = 1 } ^ { N } } \\ & { \leq \sum _ { k = 1 } ^ { N } \sum _ { i = 0 } ^ { N } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \sum _ { k = 1 } ^ { N } \sum _ { i = 0 } ^ { N } \exp _ { i } ^ { - \beta } } \\ & \leq \sum _ { k = 1 } ^ { N } \sum _ { i = 0 } ^ { N } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \sum _ { k = 1 } ^ { N } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \sum _ { k = 1 } ^ { N } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \sum _ { k = 1 } ^ { N } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ - \beta \end{array}
$$
for some constant $C$ depending on $| A | , p , d , \sigma , L$ , and $\gamma$ . Finally,
$$
\begin{array} { r l } { { \mathbb { P } ( | \hat { N _ { t } } ( s , a ) - N _ { t } ^ { * } ( s , a ) | \geq \frac { C t } { \log t } ) \leq \sum _ { i = 1 } ^ { t } \mathbb { P } ( E _ { r _ { t } } ^ { c } ) = \displaystyle \sum _ { i = 1 } ^ { t } 4 | A | \exp ( - \frac { t } { ( \log ( 2 + t ) ) ^ { 3 } } ) } } \\ & { \leq 4 | A | t \exp ( - \frac { t } { ( \log ( 2 + t ) ) ^ { 3 } } ) } \\ & { = O ( t \exp ( - \frac { t } { ( \log ( t ) ) ^ { 3 } } ) ) . } \end{array}
$$
Lemma 4 Consider the $E 3 W$ policy applied to a tree. $A t$ any node s of the tree, Let us define $N _ { t } ^ { * } ( s , a ) = \pi ^ { * } ( a | s ) . t$ , and $N _ { t } ( s , a )$ as the number of times action $a$ have been chosen until time step $t$ . There exists some $C$ and $\hat { C }$ such that
$$
\mathbb { P } \big ( | N _ { t } ( s , a ) - N _ { t } ^ { * } ( s , a ) | > \frac { C t } { \log t } \big ) \le \hat { C } t \exp \{ - \frac { t } { ( \log t ) ^ { 3 } } \} .
$$
Proof 4 Based on the result from Lemma $^ 3$ , we have
$$
\begin{array} { r l } & { \mathbb { P } \big ( | N _ { t } ( s , a ) - N _ { t } ^ { * } ( s , a ) | > ( 1 + C ) \displaystyle \frac { t } { \log t } \big ) \leq C t \exp \{ - \displaystyle \frac { t } { ( \log t ) ^ { 3 } } \} } \\ & { \leq \mathbb { P } \big ( | \hat { N } _ { t } ( s , a ) - N _ { t } ^ { * } ( s , a ) | > \displaystyle \frac { C t } { \log t } \big ) + \mathbb { P } \big ( | N _ { t } ( s , a ) - \hat { N } _ { t } ( s , a ) | > \displaystyle \frac { t } { \log t } \big ) } \\ & { \leq 4 | A | t \exp \{ - \displaystyle \frac { t } { ( \log ( 2 + t ) ) ^ { 3 } } \} + 2 | A | \exp \{ - \displaystyle \frac { t } { ( \log ( 2 + t ) ) ^ { 2 } } \} ( L e m m a 3 a n d ( \log ( 2 + t ) ) ) } \\ & { \leq O ( t \exp ( - \displaystyle \frac { t } { ( \log t ) ^ { 3 } } ) ) . } \end{array}
$$
Theorem 1 At the root node s of the tree, defining $N ( s )$ as the number of visitations and $V _ { \Omega ^ { * } } ( s )$ as the estimated value at node $s$ , for $\epsilon > 0$ , we have
$$
\mathbb { P } ( | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | > \epsilon ) \le C \exp \{ - \frac { N ( s ) \epsilon } { \hat { C } ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} .
$$
Proof 5 We prove this concentration inequality by induction. When the depth of the tree is $D = 1$ , from Proposition $^ { l }$ , we get
$$
\left| V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) \right| = \mid \Omega ^ { * } ( Q _ { \Omega } ( s , . ) ) - \Omega ^ { * } ( Q _ { \Omega } ^ { * } ( s , . ) ) \mid \mid _ { \infty } \le \gamma \mid \mid \hat { r } - r ^ { * } \mid _ { \infty } ( C o n t r a c t i o n )
$$
where $\hat { r }$ is the average rewards and $r ^ { * }$ is the mean reward. So that
$$
\mathbb { P } ( | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | > \epsilon ) \le \mathbb { P } ( \gamma \parallel \hat { r } - r ^ { * } \parallel _ { \infty } > \epsilon ) .
$$
From Lemma $^ { l }$ , with $\begin{array} { r } { \epsilon = \frac { 2 \sigma \gamma } { \log ( 2 + N ( s ) ) } } \end{array}$ , we have
$$
\begin{array} { r l } & { \mathbb { P } ( | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | > \epsilon ) \le \mathbb { P } ( \gamma \parallel \hat { r } - r ^ { * } \parallel _ { \infty } > \epsilon ) \le 4 | A | \exp \{ - \frac { N ( s ) \epsilon } { 2 \sigma \gamma ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} } \\ & { \quad \quad \quad = C \exp \{ - \frac { N ( s ) \epsilon } { \hat { C } ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} . } \end{array}
$$
Let assume we have the concentration bound at the depth $D - 1$ , Let us define $V _ { \Omega } ( s _ { a } ) = Q _ { \Omega } ( s , a )$ , where $s _ { a }$ is the state reached taking action $a$ from state s. then at depth $D - 1$
$$
\mathbb { P } ( | V _ { \Omega } ( s _ { a } ) - V _ { \Omega } ^ { * } ( s _ { a } ) | > \epsilon ) \le C \exp \{ - \frac { N ( s _ { a } ) \epsilon } { \hat { C } ( \log ( 2 + N ( s _ { a } ) ) ) ^ { 2 } } \} .
$$
Now at the depth $D$ , because of the Contraction Property, we have
$$
\begin{array} { r l } & { | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | \leq \gamma \parallel Q _ { \Omega } ( s , . ) - Q _ { \Omega } ^ { * } ( s , . ) \parallel _ { \infty } } \\ & { \qquad = \gamma | Q _ { \Omega } ( s , a ) - Q _ { \Omega } ^ { * } ( s , a ) | . } \end{array}
$$
So that
$$
\begin{array} { r l r } & { } & { { \mathbb { P } } ( | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | > \epsilon ) \leq { \mathbb { P } } ( \gamma \parallel Q _ { \Omega } ( s , a ) - Q _ { \Omega } ^ { * } ( s , a ) \parallel > \epsilon ) } \\ & { } & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ & { } & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ & { } & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ & { } & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \hat { C } _ { a } ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \end{array}
$$
From $( I 7 )$ , we can have $\begin{array} { r } { \operatorname* { l i m } _ { t \to \infty } N ( s _ { a } ) = \infty } \end{array}$ because if $\exists L , N ( s _ { a } ) \ < \ L$ , we can find $\epsilon > 0$ for which (17) is not satisfied. From Lemma 4, when $N ( s )$ is large enough, we have $N ( s _ { a } ) $ $\pi ^ { * } ( a | s ) N ( s )$ (for example $\begin{array} { r } { N ( s _ { a } ) > \frac { 1 } { 2 } \pi ^ { * } ( a | s ) N ( s ) ) } \end{array}$ , that means we can find $C$ and $\hat { C }$ that satisfy
$$
\mathbb { P } ( | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | > \epsilon ) \le C \exp \{ - \frac { N ( s ) \epsilon } { \hat { C } ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} .
$$
Lemma 5 At any node s of the tree, $N ( s )$ is the number of visitations. We define the event
$$
E _ { s } = \{ \forall a i n \boldsymbol { A } , | N ( s , a ) - N ^ { * } ( s , a ) | < \frac { N ^ { * } ( s , a ) } { 2 } \} w h e r e \ N ^ { * } ( s , a ) = \pi ^ { * } ( a | s ) N ( s ) ,
$$
where $\epsilon > 0$ and $V _ { \Omega ^ { * } } ( s )$ is the estimated value at node $s$ . We have
$$
\mathbb { P } ( | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | > \epsilon | E _ { s } ) \le C \exp \{ - \frac { N ( s ) \epsilon } { \hat { C } ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} .
$$
Proof 6 The proof is the same as in Theorem 2. We prove the concentration inequality by induction. When the depth of the tree is $D = 1$ , from Proposition $^ { l }$ , we get
$$
\left| V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) \right| = \left\| \ \Omega ^ { * } ( Q _ { \Omega } ( s , . ) ) - \Omega ^ { * } ( Q _ { \Omega } ^ { * } ( s , . ) ) \ \right\| \leq \gamma \ \left\| \ \hat { r } - r ^ { * } \ \right\| _ { \infty } \left( C o n t r a c t i o n \ P r o p e r t i o n s \right) ,
$$
where $\hat { r }$ is the average rewards and $r ^ { * }$ is the mean rewards. So that
$$
\mathbb { P } ( | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | > \epsilon ) \le \mathbb { P } ( \gamma \parallel \hat { r } - r ^ { * } \parallel _ { \infty } > \epsilon ) .
$$
From Lemma $^ { l }$ , with $\begin{array} { r } { \epsilon = \frac { 2 \sigma \gamma } { \log ( 2 + N ( s ) ) } } \end{array}$ and given $E _ { s }$ , we have
$$
\begin{array} { r l } & { \mathbb { P } ( | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | > \epsilon ) \le \mathbb { P } ( \gamma \parallel \hat { r } - r ^ { * } \parallel _ { \infty } > \epsilon ) \le 4 | A | \exp \{ - \frac { N ( s ) \epsilon } { 2 \sigma \gamma ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} } \\ & { \quad \quad \quad = C \exp \{ - \frac { N ( s ) \epsilon } { \hat { C } ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} . } \end{array}
$$
Let assume we have the concentration bound at the depth $D - 1$ , Let us define $V _ { \Omega } ( s _ { a } ) = Q _ { \Omega } ( s , a )$ , where $s _ { a }$ is the state reached taking action a from state $s$ , then at depth $D - 1$
$$
\mathbb { P } ( | V _ { \Omega } ( s _ { a } ) - V _ { \Omega } ^ { * } ( s _ { a } ) | > \epsilon ) \le C \exp \{ - \frac { N ( s _ { a } ) \epsilon } { \hat { C } ( \log ( 2 + N ( s _ { a } ) ) ) ^ { 2 } } \} .
$$
Now at depth $D$ , because of the Contraction Property and given $E _ { s }$ , we have
$$
\begin{array} { r l } & { | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | \leq \gamma \parallel Q _ { \Omega } ( s , . ) - Q _ { \Omega } ^ { * } ( s , . ) \parallel _ { \infty } } \\ & { \qquad = \gamma | Q _ { \Omega } ( s , a ) - Q _ { \Omega } ^ { * } ( s , a ) | ( \exists a , s a t i s f t e d ) . } \end{array}
$$
So that
$$
\begin{array} { r l } & { \mathbb { P } ( | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | > \epsilon ) \leq \mathbb { P } ( \gamma \parallel Q _ { \Omega } ( s , a ) - Q _ { \Omega } ^ { * } ( s , a ) \parallel > \epsilon ) } \\ & { \qquad \leq C _ { a } \exp \{ - \frac { N ( s _ { a } ) \epsilon } { \hat { C } _ { a } ( \log ( 2 + N ( s _ { a } ) ) ) ^ { 2 } } \} } \\ & { \qquad \leq C _ { a } \exp \{ - \frac { N ( s _ { a } ) \epsilon } { \hat { C } _ { a } ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} } \\ & { \qquad \leq C \exp \{ - \frac { N ( s ) \epsilon } { \hat { C } ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} ( b e c a u s e o f E _ { s } ) } \end{array}
$$
Theorem 2 Let $a _ { t }$ be the action returned by algorithm E3W at iteration t. Then for t large enough, with some constants $C , { \hat { C } }$ ,
$$
\mathbb { P } ( a _ { t } \neq a ^ { * } ) \leq C t \exp \{ - \frac { t } { \hat { C } \sigma ( \log ( t ) ) ^ { 3 } } \} .
$$
Proof 7 Let us define event $E _ { s }$ as in Lemma 5. Let $a ^ { * }$ be the action with largest value estimate at the root node state $s$ . The probability that $E 3 W$ selects a sub-optimal arm at s is
$$
\begin{array} { r l } & { \displaystyle \mathbb { P } ( a _ { t } \neq a ^ { * } ) \leq \sum _ { a } \mathbb { P } ( V _ { \Omega } ( s _ { a } ) ) > V _ { \Omega } ( s _ { a ^ { * } } ) | E _ { s } ) + \mathbb { P } ( E _ { s } ^ { c } ) } \\ & { \displaystyle = \sum _ { a } \mathbb { P } ( ( V _ { \Omega } ( s _ { a } ) - V _ { \Omega } ^ { * } ( s _ { a } ) ) - ( V _ { \Omega } ( s _ { a ^ { * } } ) - V _ { \Omega } ^ { * } ( s _ { a ^ { * } } ) ) \geq V _ { \Omega } ^ { * } ( s _ { a ^ { * } } ) - V _ { \Omega } ^ { * } ( s _ { a } ) | E _ { s } ) + \mathbb { P } ( E _ { s } ^ { c } ) . } \end{array}
$$
Let us define $\Delta = V _ { \Omega } ^ { * } ( s _ { a ^ { * } } ) - V _ { \Omega } ^ { * } ( s _ { a } )$ , therefore for $\Delta > 0$ , we have
$$
\begin{array} { r l } & { \displaystyle \mathbb { P } ( a _ { t } \neq a ^ { * } ) \leq \sum _ { a } \mathbb { P } ( ( V _ { \Omega } ( s _ { a } ) - V _ { \Omega } ^ { * } ( s _ { a } ) ) - ( V _ { \Omega } ( s _ { a ^ { * } } ) - V _ { \Omega } ^ { * } ( s _ { a ^ { * } } ) ) \geq \Delta | E _ { s } ) + \mathbb { P } ( E _ { s } ^ { c } ) } \\ & { \leq \displaystyle \sum _ { a } \mathbb { P } ( | V _ { \Omega } ( s _ { a } ) - V _ { \Omega } ^ { * } ( s _ { a } ) | \geq \alpha \Delta | E _ { s } ) + \mathbb { P } ( | V _ { \Omega } ( s _ { a ^ { * } } ) - V _ { \Omega } ^ { * } ( s _ { a ^ { * } } ) | \geq \beta \Delta | E _ { s } ) + \mathbb { P } ( E _ { s } ^ { c } ) } \\ & { \leq \displaystyle \sum _ { a } C _ { a } \exp \{ - \frac { N ( s ) ( \alpha \Delta ) } { \hat { C } _ { a } ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} + C _ { a ^ { * } } \exp \{ - \frac { N ( s ) ( \beta \Delta ) } { \hat { C } _ { a ^ { * } } ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} + \mathbb { P } ( E _ { s } ^ { c } ) , } \end{array}
$$
where $\alpha + \beta = 1 , \alpha > 0 , \beta > 0 ,$ , and $N ( s )$ is the number of visitations the root node s. Let us define $\begin{array} { r } { \frac { 1 } { \hat { C } } = \operatorname* { m i n } \{ \frac { ( \alpha \Delta ) } { { C } _ { a } } , \frac { ( \beta \Delta ) } { { C } _ { a ^ { * } } } \} } \end{array}$ , and $\begin{array} { r } { C = \frac { 1 } { | A | } \operatorname* { m a x } \{ C _ { a } , C _ { a ^ { * } } \} } \end{array}$ we have
$$
\mathbb { P } ( a \neq a ^ { * } ) \leq C \exp \{ - \frac { t } { \hat { C } \sigma ( \log ( 2 + t ) ) ^ { 2 } } \} + \mathbb { P } ( E _ { s } ^ { c } ) .
$$
From Lemma 4, $\exists C ^ { ' } , \hat { C } ^ { \prime }$ for which
$$
\mathbb { P } ( E _ { s } ^ { c } ) \le C ^ { ' } t \exp \{ - \frac { t } { \hat { C } ^ { ' } ( \log ( t ) ) ^ { 3 } } \} ,
$$
so that
$$
\mathbb { P } ( a \neq a ^ { * } ) \leq O ( t \exp \{ - \frac { t } { ( \log ( t ) ) ^ { 3 } } \} ) .
$$
Theorem 3 Consider an $E 3 W$ policy applied to the tree. Let $\begin{array} { r } { \kappa _ { i } = \nabla \Omega ^ { * } ( a _ { i } | s ) + \frac { L } { p } \sqrt { { \hat { C } } \sigma ^ { 2 } \log \frac { C } { \delta } / 2 n } , } \end{array}$ $\begin{array} { r } { \chi _ { i } = \nabla \Omega ^ { * } ( a _ { i } | s ) - \frac { L } { p } \sqrt { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } / 2 n } , } \end{array}$ , where $\nabla \Omega ^ { * } ( . | s )$ is the policy with respect to the mean value vector $V ( \cdot )$ at the root node s. For any $\delta > 0$ , with probability at least $1 - \delta$ , ∃ constant $L , p , C , { \hat { C } }$ so that the pseudo regret $R _ { n }$ satisfies
$$
n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \kappa _ { i } + \frac { L } { p } \big ( \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \gamma } \big ) \Big ) \leq R _ { n } \leq n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \chi _ { i } - \frac { L } { p } \big ( \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \gamma } \big ) \Big ) .
$$
Proof 8 From Lemma 2 given two policies $\pi ^ { ( 1 ) } = \nabla \Omega ^ { * } ( r ^ { ( 1 ) } )$ and $\pi ^ { ( 2 ) } = \nabla \Omega ^ { * } ( r ^ { ( 2 ) } ) , \exists L ,$ , such that
$$
\parallel \pi ^ { ( 1 ) } - \pi ^ { ( 2 ) } \parallel _ { p } \leq L \parallel r ^ { ( 1 ) } - r ^ { ( 2 ) } \parallel _ { p } \leq L \frac { 1 } { p } \parallel r ^ { ( 1 ) } - r ^ { ( 2 ) } \parallel _ { \infty } .
$$
From (13), we have the regret
$$
R _ { n } = n V ^ { * } - \sum _ { i } V _ { i } \sum _ { t = 1 } ^ { n } { \hat { \pi } } _ { t } ( a _ { i } | s ) ,
$$
where $\hat { \pi } _ { t } ( \cdot )$ is the policy at time step $t$ , and $\mathbb { I } ( \cdot )$ is the indicator function. $V ^ { * }$ is the optimal branch at the root node, $V _ { i }$ is the mean value function of the branch with respect to action $i$ , $V ( \cdot )$ is the $| A |$
vector of value function at the root node. $\hat { V } ( \cdot )$ is the $| A |$ estimation vector of value function at the root node. $\pi ( . | s ) = \nabla \Omega ^ { * } ( V ( \cdot ) )$ is the policy with respect to the $V ( \cdot )$ vector at the root node.
Then for any $\delta > 0$ , with probability at least $1 - \delta$ , we have
$$
\begin{array} { l } { \displaystyle \lvert \pi ( a _ { i } \vert s ) - \hat { \pi } _ { t } ( a _ { i } \vert s ) \rvert \le \parallel \pi ( . \vert s ) - \hat { \pi } _ { t } ( . \vert s ) \parallel _ { \infty } \le \displaystyle \frac { L } { p } \parallel V ( \cdot ) - \hat { V } ( \cdot ) \parallel _ { \infty } ( L e m m a 2 ) } \\ { \displaystyle \le \displaystyle \frac { L } { p } \lvert V ( \cdot ) - \hat { V } ( \cdot ) \rvert \le \displaystyle \frac { L } { p } \biggl ( \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \delta } + \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } \biggr ) ( T h e o r e m 4 ) } \end{array}
$$
So that
$$
\tau ( a _ { i } | s ) - \frac { L } { p } \Bigg ( \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \delta } + \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } \Bigg ) \leq \hat { \pi } _ { t } ( a _ { i } | s ) \leq \pi ( a _ { i } | s ) + \frac { L } { p } \Bigg ( \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \delta } + \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } \Bigg ) .
$$
so that
$$
\begin{array} { l } { \displaystyle \mathfrak { l } _ { n } = n V ^ { * } - \sum _ { i } V _ { i } \sum _ { t = 1 } ^ { n } \hat { \pi } _ { t } ( a _ { i } | s ) \le n V ^ { * } - \sum _ { i } V _ { i } \sum _ { t = 1 } ^ { n } \left( \pi ( a _ { i } | s ) - \displaystyle \frac { L } { p } \big ( \displaystyle \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \delta } + \sqrt { \displaystyle \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 n } } \big ) \right) } \\ { \displaystyle \mathfrak { l } _ { n } \le n V ^ { * } - \sum _ { i } V _ { i } \sum _ { t = 1 } ^ { n } \left( \pi ( a _ { i } | s ) - \displaystyle \frac { L } { p } \big ( \displaystyle \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \delta } + \sqrt { \displaystyle \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 n } } \big ) \right) } \\ { \displaystyle \mathfrak { l } _ { n } \le n V ^ { * } - n \sum _ { i } V _ { i } \left( \pi ( a _ { i } | s ) - \displaystyle \frac { L } { p } \big ( \displaystyle \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \delta } + \sqrt { \displaystyle \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 n } } \big ) \right) } \end{array}
$$
And
$$
\begin{array} { l } { { R _ { n } \geq n V ^ { \ast } - \displaystyle \sum _ { i } V _ { i } \sum _ { t = 1 } ^ { n } \left( \pi ( a _ { i } | s ) + \frac { L } { p } \big ( \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \delta } + \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 n } } \big ) \right) } } \\ { { R _ { n } \geq n V ^ { \ast } - n \displaystyle \sum _ { i } V _ { i } \Big ( \pi ( a _ { i } | s ) + \frac { L } { p } \big ( \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \delta } + \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 n } } \big ) \Big ) } } \end{array}
$$
In case of Maximum Entropy and Relative Entropy $p = 1$ , because
$$
\parallel \pi ^ { ( 1 ) } - \pi ^ { ( 2 ) } \parallel _ { \infty } \leq L \parallel r ^ { ( 1 ) } - r ^ { ( 2 ) } \parallel _ { \infty } .
$$
So that we have for MENTS
$$
n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \kappa _ { i } + L \big ( \frac { \tau \log | A | } { 1 - \gamma } \big ) \Big ) \leq R _ { n } \leq n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \chi _ { i } - L \big ( \frac { \tau \log | A | } { 1 - \gamma } \big ) \Big ) .
$$
For RENTS, we have
$$
\imath V ^ { * } - n \sum _ { i } V _ { i } \Big ( \kappa _ { i } + L \big ( \frac { \tau ( \log | A | - \frac { 1 } { m } ) } { 1 - \gamma } \big ) \Big ) \leq R _ { n } \leq n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \chi _ { i } - L \big ( \frac { \tau ( \log | A | - \frac { 1 } { m } ) } { 1 - \gamma } \big ) \Big )
$$
where $\begin{array} { r } { m = \operatorname* { m i n } _ { a } \pi ( a | s ) } \end{array}$
In case of Tsallis Entropy $p = 2$ ( Niculae & Blondel (2017)), so that
$$
n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \kappa _ { i } + \frac { L } { 2 } \big ( \frac { | A | - 1 } { 2 | A | } \frac { \tau } { 1 - \gamma } \big ) \Big ) \leq R _ { n } \leq n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \chi _ { i } - \frac { L } { 2 } \big ( \frac { | A | - 1 } { 2 | A | } \frac { \tau } { 1 - \gamma } \big ) \Big )
$$
Before derive the next theorem, we state here the Theorem 2 in Geist et al. (2019)
• Boundedness: for two constants $L _ { \Omega }$ and $U _ { \Omega }$ such that for all $\pi \in \Pi$ , we have $L _ { \Omega } \leq \Omega ( \pi ) \leq$ $U _ { \Omega }$ , then
$$
V ^ { \ast } ( s ) - \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \gamma } \leq V _ { \Omega } ^ { \ast } ( s ) \leq V ^ { \ast } ( s ) .
$$
Where $\tau$ is the temperature and $\gamma$ is the discount constant.
Theorem 4 For any $\delta > 0$ , with probability at least $1 - \delta$ , the $\varepsilon _ { \Omega }$ satisfies
$$
- \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } - \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \gamma } \leq \varepsilon _ { \Omega } \leq \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } .
$$
Proof 9 From Theorem 2, let us define $\begin{array} { r } { \delta = C \exp \{ - \frac { 2 N ( s ) \epsilon ^ { 2 } } { \hat { C } \sigma ^ { 2 } } \} } \end{array}$ , so that $\begin{array} { r } { \epsilon = \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log { \frac { C } { \delta } } } { 2 N ( s ) } } } \end{array}$ then for any $\delta > 0$ , we have
$$
\mathbb { P } ( | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | \le \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } ) \ge 1 - \delta .
$$
Then, for any $\delta > 0$ , with probability at least $1 - \delta$ , we have
$$
\begin{array} { l } { \displaystyle | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | \leq \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } } \\ { - \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } \leq V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) \leq \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } } \\ { - \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } + V _ { \Omega } ^ { * } ( s ) \leq V _ { \Omega } ( s ) \leq \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } + V _ { \Omega } ^ { * } ( s ) . } \end{array}
$$
From Proposition $I$ , we have
$$
- \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } + V ^ { * } ( s ) - \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \gamma } \leq V _ { \Omega } ( s ) \leq \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } + V ^ { * } ( s ) .
$$