A Theoretical Analysis of Deep Q-Learning

Jianqing Fan, Zhaoran Wang, Yuchen Xie, Zhuoran Yang

Introduction

Reinforcement learning (RL) attacks the multi-stage decision-making problems by interacting with the environment and learning from the experiences. With the breakthrough in deep learning, deep reinforcement learning (DRL) demonstrates tremendous success in solving highly challenging problems, such as the game of Go (Silver et al. 2016; Silver et al. 2017), computer games (Vinyals et al. 2019), robotics (Kober and Peters 2012), dialogue systems (Chen et al. 2017). In DRL, the value or policy functions are often represented as deep neural networks and the related deep learning techniques can be readily applied. For example, deep Q-network (DQN) (Mnih et al. 2015), asynchronous advantage actor-critic (A3C) (Mnih et al. 2016), trust region policy optimization (TRPO) (Schulman et al. 2015), proximal policy optimization (PPO) (Schulman et al. 2017) build upon classical RL methods (Watkins and Dayan 1992; Sutton et al. 2000; Konda and Tsitsiklis 2000) and have become benchmark algorithms for artificial intelligence.

Despite its great empirical success, there exists a substantial gap between the theory and practice of DRL. In particular, most existing theoretical work on reinforcement learning focuses on the tabular case where the state and action spaces are finite, or the case where the value function is linear. Under these restrictive settings, the algorithmic and statistical perspectives of reinforcement learning are well-understood via the tools developed for convex optimization and linear regression. However, in presence of nonlinear function approximators such as deep neural network, the theoretical analysis of reinforcement learning becomes intractable as it involves solving a highly nonconvex statistical optimization problem.

To bridge such a gap in DRL, we make the first attempt to theoretically understand DQN, which can be cast as an extension of the classical Q-learning algorithm (Watkins and Dayan 1992) that uses deep neural network to approximate the action-value function. Although the algorithmic and statistical properties of the classical Q-learning algorithm are well-studied, theoretical analysis of DQN is highly challenging due to its differences in the following two aspects.

First, in online gradient-based temporal-difference reinforcement learning algorithms, approximating the action-value function often leads to instability. Baird 1995 proves that this is the case even with linear function approximation. The key technique to achieve stability in DQN is experience replay (Lin 1992; Mnih et al. 2015). In specific, a replay memory is used to store the trajectory of the Markov decision process (MDP). At each iteration of DQN, a mini-batch of states, actions, rewards, and next states are sampled from the replay memory as observations to train the Q-network, which approximates the action-value function. The intuition behind experience replay is to achieve stability by breaking the temporal dependency among the observations used in training the deep neural network.

Second, in addition to the aforementioned Q-network, DQN uses another neural network named the target network to obtain an unbiased estimator of the mean-squared Bellman error used in training the Q-network. The target network is synchronized with the Q-network after each period of iterations, which leads to a coupling between the two networks. Moreover, even if we fix the target network and focus on updating the Q-network, the subproblem of training a neural network still remains less well-understood in theory.

In this paper, we focus on a slight simplification of DQN, which is amenable to theoretical analysis while fully capturing the above two aspects. In specific, we simplify the technique of experience replay with an independence assumption, and focus on deep neural networks with rectified linear units (ReLU) (Nair and Hinton 2010) and large batch size. Under this setting, DQN is reduced to the neural fitted Q-iteration (FQI) algorithm (Riedmiller 2005) and the technique of target network can be cast as the value iteration. More importantly, by adapting the approximation results for ReLU networks to the analysis of Bellman operator, we establish the algorithmic and statistical rates of convergence for the iterative policy sequence obtained by DQN. As shown in the main results in §3, the statistical error characterizes the bias and variance that arise from approximating the action-value function using neural network, while the algorithmic error geometrically decays to zero as the number of iteration goes to infinity.

Furthermore, we extend DQN to two-player zero-sum Markov games (Shapley 1953). The proposed algorithm, named Minimax-DQN, can be viewed as a combination of the Minimax-Q learning algorithm for tabular zero-sum Markov games (Littman 1994) and deep neural networks for function approximation. Compared with DQN, the main difference lies in the approaches to compute the target values. In DQN, the target is computed via maximization over the action space. In contrast, the target obtained computed by solving the Nash equilibrium of a zero-sum matrix game in Minimax-DQN, which can be efficiently attained via linear programming. Despite such a difference, both these two methods can be viewed as approximately applying the Bellman operator to the Q-network. Thus, borrowing the analysis of DQN, we also establish theoretical results for Minimax-DQN. Specifically, we quantify the suboptimality of policy returned by the algorithm by the difference between the action-value functions associated with this policy and with the Nash equilibrium policy of the Markov game. For this notion of suboptimality, we establish the both algorithmic and statistical rates of convergence, which implies that the action-value function converges to the optimal counterpart up to an unimprovable statistical error in geometric rate.

Our contribution is three-fold. First, we establish the algorithmic and statistical errors of the neural FQI algorithm, which can be viewed as a slight simplification of DQN. Under mild assumptions, our results show that the proposed algorithm obtains a sequence of Q-networks that geometrically converges to the optimal action-value function up to an intrinsic statistical error induced by the approximation bias of ReLU network and finite sample size. Second, as a byproduct, our analysis justifies the techniques of experience replay and target network used in DQN, where the latter can be viewed as a single step of the value iteration. Third, we propose the Minimax-DQN algorithm that extends DQN to two-player zero-sum Markov games. Borrowing the analysis for DQN, we establish the algorithmic and statistical convergence rates of the action-value functions associated with the sequence of policies returned by the Minimax-DQN algorithm.

There is a huge body of literature on deep reinforcement learning, where these algorithms are based on Q-learning or policy gradient (Sutton et al. 2000). We refer the reader to Arulkumaran et al. 2017 for a survey of the recent developments of DRL. In addition, the DQN algorithm is first proposed in Mnih et al. 2015, which applies DQN to Artari 2600 games (Bellemare et al. 2013). The extensions of DQN include double DQN (van Hasselt et al. 2016), dueling DQN (Wang et al. 2016), deep recurrent Q-network (Hausknecht and Stone 2015), asynchronous DQN (Mnih et al. 2016), and variants designed for distributional reinforcement learning (Bellemare et al. 2017; Dabney et al. 2018b; Dabney et al. 2018a). All of these algorithms are corroborated only by numerical experiments, without theoretical guarantees. Moreover, these algorithms not only inherit the tricks of experience replay and the target network proposed in the original DQN, but develop even more tricks to enhance the performance. Furthermore, recent works such as Schaul et al. 2016; Andrychowicz et al. 2017; Liu and Zou 2018; Zhang and Sutton 2017; Novati and Koumoutsakos 2019 study the effect of experience replay and propose various modifications.

In addition, our work is closely related to the literature on batch reinforcement learning (Lange et al. 2012), where the goal is to estimate the value function given transition data. These problems are usually formulated into least-squares regression, for which various algorithms are proposed with finite-sample analysis. However, most existing works focus on the settings where the value function are approximated by linear functions. See Bradtke and Barto 1996; Boyan 2002; Lagoudakis and Parr 2003; Lazaric et al. 2016; Farahmand et al. 2010; Lazaric et al. 2012; Tagorti and Scherrer 2015 and the references therein for results of the least-squares policy iteration (LSPI) and Bellman residue minimization (BRM) algorithms. Beyond linear function approximation, a recent work (Farahmand et al. 2016) studies the performance of LSPI and BRM when the value function belongs to a reproducing kernel Hilbert space. However, we study the fitted Q-iteration algorithm, which is a batch RL counterpart of DQN. The fitted Q-iteration algorithm is proposed in Ernst et al. 2005, and Riedmiller 2005 proposes the neural FQI algorithm. Finite-sample bounds for FQI have been established in Murphy 2005; Munos and Szepesvári 2008 for large classes of regressors. However, their results are not applicable to ReLU networks due to the huge capacity of deep neural networks. Furthermore, various extensions of FQI are studied in Antos et al. 2008a; Farahmand et al. 2009; Tosatto et al. 2017; Geist et al. 2019 to handle continuous actions space, ensemble learning, and entropy regularization. The empirical performances of various batch RL methods have been examined in Levine et al. 2017; Agarwal et al. 2019; Fujimoto et al. 2019.

Moreover, Q-learning, and reinforcement learning methods in general, have been widely applied to dynamic treatment regimes (DTR) (Chakraborty 2013; Laber et al. 2014; Tsiatis 2019), where the goal is to find sequential decision rules for individual patients that adapt to time-evolving illnesses. There is a huge body of literature on this line of research. See, e.g., Murphy 2003; Zhao et al. 2009; Qian and Murphy 2011; Zhao et al. 2011; Zhang et al. 2012; Zhao et al. 2012; Goldberg and Kosorok 2012; Nahum-Shani et al. 2012; Goldberg et al. 2013; Schulte et al. 2014; Song et al. 2015; Zhao et al. 2015; Linn et al. 2017; Zhou et al. 2017; Shi et al. 2018; Zhu et al. 2019 and the references therein. Our work provides a theoretical underpinning for the application of DQN to DTR (Liu et al. 2019b) and motivates the principled usage of DRL methods in healthcare applications (Yu et al. 2019).

Furthermore, our work is also related to works that apply reinforcement learning to zero-sum Markov games. The Minimax-Q learning is proposed by Littman 1994, which is an online algorithm that is an extension Q-learning. Subsequently, for Markov games, various online algorithms are also proposed with theoretical guarantees. These works consider either the tabular case or linear function approximation. See, e.g., Bowling 2001; Conitzer and Sandholm 2007; Prasad et al. 2015; Wei et al. 2017; Pérolat et al. 2018; Srinivasan et al. 2018; Wei et al. 2017 and the references therein. In addition, batch reinforcement learning is also applied to zero-sum Markov games by Lagoudakis and Parr 2002; Pérolat et al. 2015; Pérolat et al. 2016a; Pérolat et al. 2016b; Zhang et al. 2018, which are closely related to our work. All of these works consider either linear function approximation or a general function class with bounded pseudo-dimension (Anthony and Bartlett 2009). However, there results cannot directly imply finite-sample bounds for Minimax-DQN due to the huge capacity of deep neural networks.

Finally, our work is also related a line of research on the model capacity of ReLU deep neural networks, which leads to understanding the generalization property of deep learning (Mohri et al. 2012; Kawaguchi et al. 2017). Specifically, Bartlett 1998; Neyshabur et al. 2015b; Neyshabur et al. 2015a; Bartlett et al. 2017; Golowich et al. 2018; Liang et al. 2019 propose various norms computed from the networks parameters and establish capacity bounds based upon these norms. In addition, Maass 1994; Bartlett et al. 1999; Schmidt-Hieber 2020+; Bartlett et al. 2019; Klusowski and Barron 2016; Barron and Klusowski 2018; Suzuki 2019; Bauer et al. 2019 study the Vapnik-Chervonenkis (VC) dimension of neural networks and Dziugaite and Roy 2017; Neyshabur et al. 2018 establish the PAC-Bayes bounds for neural networks. Among these works, our work is more related to Schmidt-Hieber 2020+; Suzuki 2019, which relate the VC dimension of the ReLU networks to a set of hyperparameters used to define the networks. Based on the VC dimension, they study the statistical error of nonparametric regression using ReLU networks. In sum, theoretical understanding of deep learning is pertinent to the study of DRL algorithms. See Kawaguchi et al. 2017; Neyshabur et al. 2017; Fan et al. 2019 and the references therein for recent developments on theoretical analysis of the generalization property of deep learning.

2 Notation

Background

In this section, we introduce the background. We first lay out the formulation of the reinforcement learning problem, and then define the family of ReLU neural networks.

A policy π ⁣:S→P(A)\pi\colon{\mathcal{S}}\rightarrow\mathcal{P}(\mathcal{A}) for the MDP maps any state s∈Ss\in{\mathcal{S}} to a probability distribution π(⋅ ∣ s)\pi(\cdot{\,|\,}s) over A\mathcal{A}. For a given policy π\pi, starting from the initial state S0=sS_{0}=s, the actions, rewards, and states evolve according to the law as follows:

The policy π\pi can be controlled by decision makers, yet the functions PP and RR are given by the nature or the system that are unknown to decision makers.

By the law of iterative expectation, for any policy π\pi,

where Qπ(s,a)Q^{\pi}(s,a), called an action value function, is given by

and define the Bellman operator TπT^{\pi} by (TπQ)(s,a)=r(s,a)+γ⋅(PπQ)(s,a).(T^{\pi}Q)(s,a)=r(s,a)+\gamma\cdot(P^{\pi}Q)(s,a). Then QπQ^{\pi} in (2.3) is the unique fixed point of TπT^{\pi}.

The goal of reinforcement learning is to find the optimal policy, which achieves the largest cumulative reward via dynamically learning from the acquired data. To characterize optimality, by (2.2), we naturally define the optimal action-value function Q∗Q^{*} as

Based on Q∗Q^{*}, we define the optimal policy π∗\pi^{*} as any policy that is greedy with respect to Q∗Q^{*}. It can be shown that Q∗=Qπ∗Q^{*}=Q^{\pi^{*}}. Finally, we define the Bellman optimality operator TT via

Then we have the Bellman optimality equation TQ∗=Q∗TQ^{*}=Q^{*}.

2 Deep Neural Network

Here we focus on functions that are uniformly bounded because the value functions in (2.1) and (2.3) are always bounded by Vmax⁡=Rmax⁡/(1−γ)V_{\max}=R_{\max}/(1-\gamma). We also assume that the network weights are uniformly bounded and bounded by one without loss of generality. In the sequel, we write F(L,{dj}j=0L+1,s,Vmax⁡)\mathcal{F}(L,\{d_{j}\}_{j=0}^{L+1},s,V_{\max}) as F(L,{dj}j=0L+1,s)\mathcal{F}(L,\{d_{j}\}_{j=0}^{L+1},s) to simplify the notation. In addition, we restrict the networks weights to be sparse, i.e., ss is much smaller compared with the total number of parameters. Such an assumption implies that the network has sparse connections, which are useful for applying deep learning in memory-constrained situations such as mobile devices (Han et al. 2016; Liu et al. 2015). Empirically, sparse neural networks are realized via various regularization techniques such as Dropout (Srivastava et al. 2014), which randomly sets a fixed portion of the network weights to zero. Moreover, sparse network architectures have recently been advocated by the intriguing lottery ticket hypothesis (Frankle and Carbin 2019), which states that each dense network has a subnetwork with the sparse connections, when trained in isolation, achieves comparable performance as the original network. Thus, focusing on the class of sparse ReLU networks does not sacrifice the statistical accuracy.

Moreover, we introduce the notion of Hölder smoothness as follows, which is a generalization of Lipschitz continuity, and is widely used to characterize the regularity of functions.

Finally, we conclude this section by defining functions that can be written as a composition of multiple Hölder functions, which captures complex mappings in real-world applications such as multi-level feature extraction.

with gjk∈Ctj([aj,bj]tj,βj,Hj)g_{jk}\in\mathcal{C}_{t_{j}}([a_{j},b_{j}]^{t_{j}},\beta_{j},H_{j}) for each k∈[pj+1]k\in[p_{j+1}] and j∈[q]j\in[q].

Here ff in (2.10) is a composition of qq vector-valued mappings {gj}j∈[q]\{g_{j}\}_{j\in[q]} where each gjg_{j} has pj+1p_{j+1} components and its kk-th component, gjkg_{jk}, ∀k∈[pj+1]\forall k\in[p_{j+1}], is a Hölder smooth function defined on [aj,bj]pj[a_{j},b_{j}]^{p_{j}}. Moreover, it is well-known the statistical rate for estimating a Hölder smooth function depends on the input dimension (Tsybakov 2008). Here we assume that gjkg_{jk} only depends on tjt_{j} of its inputs, where tj∈[pj]t_{j}\in[p_{j}] can be much smaller than pjp_{j}, which enables us to obtain a more refined analysis that adapts to the effective smoothness of ff. In particular, Definition 2.3 covers the family of Hölder smooth functions and the additive model (Friedman and Stuetzle 1981) on r^{r} as two special cases, where the former suffers from the curse of dimensionality whereas the latter does not.

Understanding Deep Q-Network

First, DQN use the trick of experience replay (Lin 1992). Specifically, at each time tt, we store the transition (St,At,Rt,St+1)(S_{t},A_{t},R_{t},S_{t+1}) into the replay memory M\mathcal{M}, and then sample a minibatch of independent samples from M\mathcal{M} to train the neural network via stochastic gradient descent. Since the trajectory of MDP has strong temporal correlation, the goal of experience replay is to obtain uncorrelated samples, which yields accurate gradient estimation for the stochastic optimization problem.

Another trick is to use a target network Qθ⋆Q_{\theta^{\star}} with parameter θ⋆\theta^{\star} (current estimate of parameter). With independent samples {(si,ai,ri,si′)}i∈[n]\{(s_{i},a_{i},r_{i},s^{\prime}_{i})\}_{i\in[n]} from the replay memory (we use si′s^{\prime}_{i} instead of si+1s_{i+1} for the next state right after sis_{i} and aia_{i} to avoid notation crash with next independent sample si+1s_{i+1} in the state space), to update the parameter θ\theta of the Q-network, we compute the target

(compare with Bellman optimality operator (2.7)), and update θ\theta by the gradient of

Whereas parameter θ⋆\theta^{\star} is updated once every TtargetT_{\text{target}} steps by letting θ⋆=θ\theta^{\star}=\theta. That is, the target network is hold fixed for TtargetT_{\text{target}} steps and then updated it by the current weights of the Q-network.

To demystify DQN, it is crucial to understand the role played by these two tricks. For experience replay, in practice, the replay memory size is usually very large. For example, the replay memory size is 10610^{6} in Mnih et al. 2015. Moreover, DQN use the ϵ\epsilon-greedy policy, which enables exploration over S×A{\mathcal{S}}\times\mathcal{A}. Thus, when the replay memory is large, experience replay is close to sampling independent transitions from an explorative policy. This reduces the variance of the ∇L(θ)\nabla L(\theta), which is used to update θ\theta. Thus, experience replay stabilizes the training of DQN, which benefits the algorithm in terms of computation.

Furthermore, to further understand the necessity of the target network, let us first neglect the target network and set θ⋆=θ\theta^{\star}=\theta. Using bias-variance decomposition, the the expected value of L(θ)L(\theta) in (3.1) is

To resolve this problem, we use a target network in (3.1), which has expectation

where the variance of Y1Y_{1} does not depend on θ\theta. Thus, minimizing L(θ)L(\theta) is close to solving

where Θ\Theta is the parameter space. Note that in DQN we hold θ⋆\theta^{\star} still and update θ\theta for TtargetT_{\text{target}} steps. When TtargetT_{\text{target}} is sufficiently large and we neglect the fact that the objective in (3.3) is nonconvex, we would update θ\theta by the minimizer of (3.3) for fixed θ⋆\theta^{\star}.

Therefore, in the ideal case, DQN aims to solve the minimization problem (3.3) with θ⋆\theta^{\star} fixed, and then update θ⋆\theta^{\star} by the minimizer θ\theta. Interestingly, this view of DQN offers a statistical interpretation of the target network. In specific, if {Qθ ⁣:θ∈Θ}\{Q_{\theta}\colon\theta\in\Theta\} is sufficiently large such that it contains TQθ⋆TQ_{\theta^{\star}}, then (3.3) has solution Qθ=TQθ⋆Q_{\theta}=TQ_{\theta^{\star}}, which can be viewed as one-step of value iteration (Sutton and Barto 2011) for neural networks. In addition, in the sample setting, Qθ⋆Q_{\theta^{\star}} is used to construct {Yi}i∈[n]\{Y_{i}\}_{i\in[n]}, which serve as the response in the regression problem defined in (3.1), with (TQθ⋆)(TQ_{\theta^{\star}}) being the regression function.

Furthermore, turning the above discussion into a realizable algorithm, we obtain the neural fitted Q-iteration (FQI) algorithm, which generates a sequence of value functions. Specifically, let F\mathcal{F} be a class of function defined on S×A{\mathcal{S}}\times\mathcal{A}. In the kk-th iteration of FQI, let Q~k\widetilde{Q}_{k} be current estimate of Q∗Q^{*}. Similar to (3.1) and (3.3), we define Yi=Ri+γ⋅max⁡a∈AQ~k(Si′,a)Y_{i}=R_{i}+\gamma\cdot\max_{a\in\mathcal{A}}\widetilde{Q}_{k}(S_{i}^{\prime},a), and update Q~k\widetilde{Q}_{k} by

This gives the fitted-Q iteration algorithm, which is stated in Algorithm 1.

The step of minimization problem in (3.4) essentially finds Q~k+1\widetilde{Q}_{k+1} in F\mathcal{F} such that Q~k+1≈TQ~k\widetilde{Q}_{k+1}\approx T\widetilde{Q}_{k}. Let us denote Q~k+1=T^kQ~k\widetilde{Q}_{k+1}=\widehat{T}_{k}\widetilde{Q}_{k} where T^k\widehat{T}_{k} is an approximation of the Bellman optimality operator TT learned from the training data in the kk-th iteration. With the above notation, we can now understand our Algorithm 1 as follows. Starting from the initial estimator Q~0\widetilde{Q}_{0}, collect the data {(Si,Ai,Ri,Si′)}i∈[n]\{(S_{i},A_{i},R_{i},S^{\prime}_{i})\}_{i\in[n]} and learn the map T^1\widehat{T}_{1} via (3.4) and get Q~1=T^1Q~0\widetilde{Q}_{1}=\widehat{T}_{1}\widetilde{Q}_{0}. Then, get a new batch of sample and learn the map T^2\widehat{T}_{2} and get Q~2=T^2Q~1\widetilde{Q}_{2}=\widehat{T}_{2}\widetilde{Q}_{1}, and so on. Our final estimator of the action value is Q~K=T^K⋯T^1Q~0\widetilde{Q}_{K}=\widehat{T}_{K}\cdots\widehat{T}_{1}\widetilde{Q}_{0}, which resembles the updates of the value iteration algorithm at the population level.

When F\mathcal{F} is the family of neural networks, Algorithm 1 is known as the neural FQI algorithm, which is proposed in Riedmiller 2005. Thus, we can view neural FQI as a modification of DQN, where we replace experience replay with sampling from a fixed distribution σ\sigma, so as to understand the statistical property. As a byproduct, such a modification naturally justifies the trick of target network in DQN. In addition, note that the optimization problem in (3.4) appears in each iteration of FQI, which is nonconvex when neural networks are used. However, since we focus solely on the statistical aspect, we make the assumption that the global optima of (3.4) can be reached, which is also contained F\mathcal{F}. Interestingly, a recent line of research on deep learning (Du et al. 2019b; Du et al. 2019a; Zou et al. 2018; Chizat et al. 2019; Allen-Zhu et al. 2019a; Allen-Zhu et al. 2019b; Jacot et al. 2018; Cao and Gu 2019; Arora et al. 2019; Weinan et al. 2019; Mei et al. 2019; Yehudai and Shamir 2019) has established global convergence of gradient-based algorithms for empirical risk minimization when the neural networks are overparametrized. We provide more discussions on the computation aspect in §B. Furthermore, we make the i.i.d. assumption in Algorithm 1 to simplify the analysis. Antos et al. 2008b study the performance of fitted value iteration with fixed data used in the regression sub-problems repeatedly, where the data is sampled from a single trajectory based on a fixed policy such that the induced Markov chain satisfies certain conditions on the mixing time. Using similar analysis as in Antos et al. 2008b, our algorithm can also be extended to handled fixed data that is collected beforehand.

Theoretical Results

Following Definition 2.1, let F(L,{dj}j=0L+1,s)\mathcal{F}(L,\{d_{j}\}_{j=0}^{L+1},s) be the family of sparse ReLU networks defined on S{\mathcal{S}} with d0=rd_{0}=r and dL+1=1d_{L+1}=1. Then we define F0\mathcal{F}_{0} by

By this definition, for any function f∈F0f\in\mathcal{F}_{0} and any action a∈Aa\in\mathcal{A}, f(⋅,a)f(\cdot,a) is a ReLU network defined on S{\mathcal{S}}, which is standard for Q-networks. Moreover, G0\mathcal{G}_{0} contains a broad family of smooth functions on S×A{\mathcal{S}}\times\mathcal{A}. In the following, we make a mild assumption on F0\mathcal{F}_{0} and G0\mathcal{G}_{0}.

We assume that for any f∈F0f\in\mathcal{F}_{0}, we have Tf∈G0Tf\in\mathcal{G}_{0}, where TT is the Bellman optimality operator defined in (2.7). That is, for any f∈Ff\in\mathcal{F} and any a∈Aa\in\mathcal{A}, (Tf)(s,a)(Tf)(s,a) can be written as compositions of Hölder smooth functions as a function of s∈Ss\in{\mathcal{S}}.

This assumption specifies that the target function TQ~k{\mathcal{T}}\widetilde{Q}_{k} in each FQI step stays in function class G0\mathcal{G}_{0}. When G0\mathcal{G}_{0} can be approximated by functions in F0\mathcal{F}_{0} accurately, this assumption essentially implies that Q∗Q^{*} is close to F0\mathcal{F}_{0} and that F0\mathcal{F}_{0} is approximately closed under Bellman operator TT. Such an completeness assumption is commonly made in the literature on batch reinforcement learning under various forms and is conjectured to be indispensable in Chen and Jiang 2019.

We remark that this Assumption (4.2) holds when the MDP satisfies some smoothness conditions. For any state-action pair (s,a)∈S×A(s,a)\in{\mathcal{S}}\times\mathcal{A}, let P(⋅ ∣ s,a)P(\cdot{\,|\,}s,a) be the density of the next state. By the definition of the Bellman optimality operator in (2.7), we have

Then by (4.3) we have (Tf)(s,a)=g1(s)+h4∘h2(s,a)(Tf)(s,a)=g_{1}(s)+h_{4}\circ h_{2}(s,a). Then Assumption 4.2 holds if h4h_{4} is Hölder smooth and both g1g_{1} and h2h_{2} can be represented as compositions of Hölder functions. Thus, Assumption 4.2 holds if both the reward function and the transition density of the MDP are sufficiently smooth.

Moreover, even when the transition density is not smooth, we could also expect Assumption 4.2 to hold. Consider the extreme case where the MDP has deterministic transitions, that is, the next state s′s^{\prime} is a function of ss and aa, which is denoted by s′=h(s,a)s^{\prime}=h(s,a). In this case, for any ReLU network ff, we have (Tf)(s,a)=r(s,a)+γ⋅max⁡a′∈Af[h(s,a),a′].(Tf)(s,a)=r(s,a)+\gamma\cdot\max_{a^{\prime}\in\mathcal{A}}f[h(s,a),a^{\prime}]. Since

for any s1,s2∈Ss_{1},s_{2}\in{\mathcal{S}}, and network f(⋅,a)f(\cdot,a) is Lipschitz continuous for any fixed a∈Aa\in\mathcal{A}, function m1(s)=max⁡a′f(s,a′)m_{1}(s)=\max_{a^{\prime}}f(s,a^{\prime}) is Lipschitz on S{\mathcal{S}}. Thus, for any fixed a∈Aa\in\mathcal{A}, if both g1(s)=r(s,a)g_{1}(s)=r(s,a) and m2(s)=h(s,a)m_{2}(s)=h(s,a) are compositions of Hölder functions, so is (Tf)(s,a)=g1(s)+m1∘m2(s)(Tf)(s,a)=g_{1}(s)+m_{1}\circ m_{2}(s). Therefore, even if the MDP has deterministic dynamics, when both the reward function r(s,a)r(s,a) and the transition function h(s,a)h(s,a) are sufficiently nice, Assumption 4.2 still holds true.

In the following, we define the concentration coefficients, which measures the similarity between two probability distributions under the MDP.

Let ν1,ν2∈P(S×A)\nu_{1},\nu_{2}\in\mathcal{P}({\mathcal{S}}\times\mathcal{A}) be two probability measures that are absolutely continuous with respect to the Lebesgue measure on S×A{\mathcal{S}}\times\mathcal{A}. Let {πt}t≥1\{\pi_{t}\}_{t\geq 1} be a sequence of policies. Suppose the initial state-action pair (S0,A0)(S_{0},A_{0}) of the MDP has distribution ν1\nu_{1}, and we take action AtA_{t} according to policy πt\pi_{t}. For any integer mm, we denote by PπmPπm−1⋯Pπ1ν1P^{\pi_{m}}P^{\pi_{m-1}}\cdots P^{\pi_{1}}\nu_{1} the distribution of {(St,At)}t=0m\{(S_{t},A_{t})\}_{t=0}^{m}. Then we define the mm-th concentration coefficient as

where the supremum is taken over all possible policies.

Furthermore, let σ\sigma be the sampling distribution in Algorithm 1 and let μ\mu be a fixed distribution on S×A{\mathcal{S}}\times\mathcal{A}. We assume that there exists a constant ϕμ,σ<∞\phi_{\mu,\sigma}<\infty such that

where (1−γ)2(1-\gamma)^{2} in (4.5) is a normalization term, since ∑m≥1γm−1⋅m=(1−γ)−2\sum_{m\geq 1}\gamma^{m-1}\cdot m=(1-\gamma)^{-2}.

By definition, concentration coefficients in (4.4) quantifies the similarity between ν2\nu_{2} and the distribution of the future states of the MDP when starting from ν1\nu_{1}. Moreover, (4.5) is a standard assumption in the literature. See, e.g., Munos and Szepesvári 2008; Lazaric et al. 2016; Scherrer et al. 2015; Farahmand et al. 2010; Farahmand et al. 2016. This assumption holds for large class of systems MDPs and specifically for MDPs whose top-Lyapunov exponent is finite. Moreover, this assumption essentially requires that the sampling distribution σ\sigma has sufficient coverage over S×A{\mathcal{S}}\times\mathcal{A} and is shown to be necessary for the success of batch RL methods (Chen and Jiang 2019). See Munos and Szepesvári 2008; Antos et al. 2007; Chen and Jiang 2019 for more detailed discussions on this assumption.

Now we are ready to present the main theorem.

For the hyperparameters L∗L^{*}, {dj∗}j=0L∗+1\{d_{j}^{*}\}_{j=0}^{L^{*}+1}, and s∗s^{*} of the ReLU network, we set d0∗=0d_{0}^{*}=0 and dL∗+1∗=1d_{L^{*}+1}^{*}=1. Moreover, we set

This theorem implies that the statistical rate of convergence is the sum of a statistical error and an algorithmic error. The algorithmic error converges to zero in linear rate as the algorithm proceeds, whereas the statistical error reflects the fundamental difficulty of the problem. Thus, when the number of iterations satisfy

iterations, where C′C^{\prime} is a sufficiently large constant, the algorithmic error is dominated by the statistical error. In this case, if we view both γ\gamma and ϕμ,σ\phi_{\mu,\sigma} as constants and ignore the polylogarithmic term, Algorithm 1 achieves error rate

Furthermore, as a concrete example, we assume that both the reward function and the Markov transition kernel are Hölder smooth with smoothness parameter β\beta. As stated below Assumption 4.2, for any f∈F0f\in\mathcal{F}_{0}, we have (Tf)(⋅,a)∈Cr(S,β,H′)(Tf)(\cdot,a)\in\mathcal{C}_{r}({\mathcal{S}},\beta,H^{\prime}). Then Theorem 4.4 implies that Algorithm 1 achieves error rate ∣A∣⋅n−β/(2β+r)|\mathcal{A}|\cdot n^{-\beta/(2\beta+r)} when KK is sufficiently large. Since ∣A∣|\mathcal{A}| is finite, this rate achieves the minimax-optimal statistical rate of convergence within the class of Hölder smooth functions defined on d^{d} (Stone 1982) and thus cannot be further improved. As another example, when (Tf)(⋅,a)∈Cr(S,β,H′)(Tf)(\cdot,a)\in\mathcal{C}_{r}({\mathcal{S}},\beta,H^{\prime}) can be represented as an additive model over r^{r} where each component has smoothness parameter β\beta, (4.9) reduces to ∣A∣⋅n−β/(2β+1)|\mathcal{A}|\cdot n^{-\beta/(2\beta+1)}, which does not depends on the input dimension rr explicitly. Thus, by having a composite structure in G0\mathcal{G}_{0}, Theorem 4.4 yields more refined statistical rates that adapt to the intrinsic difficulty of solving each iteration of Algorithm 1.

In the sequel, we conclude this section by sketching the proof of Theorem 4.4; the detailed proof is deferred to §6.

Recall that πk\pi_{k} is the greedy policy with respect to Q~k\widetilde{Q}_{k} and QπKQ^{\pi_{K}} is the action-value function associated with πK\pi_{K}, whose definition is given in (2.3). Since {Q~k}k∈[K]\{\widetilde{Q}_{k}\}_{k\in[K]} is constructed by a iterative algorithm, it is crucial to relate ∥Q∗−QπK∥1,μ\|Q^{*}-Q^{\pi_{K}}\|_{1,\mu}, the quantity of interest, to the errors incurred in the previous steps, namely {Q~k−TQ~k−1}k∈[K]\{\widetilde{Q}_{k}-T\widetilde{Q}_{k-1}\}_{k\in[K]}. Thus, in the first step of the proof, we establish Theorem 6.1, also known as the error propagation (Munos and Szepesvári 2008; Lazaric et al. 2016; Scherrer et al. 2015; Farahmand et al. 2010; Farahmand et al. 2016) in the batch reinforcement learning literature, which provides an upper bound on ∥Q∗−QπK∥1,μ\|Q^{*}-Q^{\pi_{K}}\|_{1,\mu} using {∥Q~k−TQ~k−1∥σ}k∈[K]\{\|\widetilde{Q}_{k}-T\widetilde{Q}_{k-1}\|_{\sigma}\}_{k\in[K]}. In particular, Theorem 6.1 asserts that

where ϕμ,σ\phi_{\mu,\sigma}, given in (4.5), is a constant that only depends on distributions μ\mu and σ\sigma.

It remains to bound ∥Q~k−TQ~k−1∥σ\|\widetilde{Q}_{k}-T\widetilde{Q}_{k-1}\|_{\sigma} for any k∈[K]k\in[K]. We achieve such a goal using tools from nonparametric regression. Specifically, as we will show in Theorem 6.2, under Assumption 4.2, for any k∈[K]k\in[K] we have

for any δ>0\delta>0, where C>0C>0 is an absolute constant,

In the sequel, we fix δ=1/n\delta=1/n in (4.11), which implies that

where C′>0C^{\prime}>0 is an absolute constant.

In the subsequent proof, we establish upper bounds for dist(F0,G0)\text{dist}(\mathcal{F}_{0},\mathcal{G}_{0}) defined in (4.12) and log⁡Nδ\log N_{\delta}, respectively. Recall that the family of composite Hölder smooth functions G0\mathcal{G}_{0} is defined in (4.2).

By the definition of G0\mathcal{G}_{0} in (4.2), for any f∈G0f\in\mathcal{G}_{0} and any a∈Aa\in\mathcal{A}, f(⋅,a)∈G({(pj,tj,βj,Hj)}j∈[q])f(\cdot,a)\in\mathcal{G}(\{(p_{j},t_{j},\beta_{j},H_{j})\}_{j\in[q]}) is a composition of Hölder smooth functions, that is, f(⋅,a)=gq∘⋯∘g1.f(\cdot,a)=g_{q}\circ\cdots\circ g_{1}. Recall that, as defined in Definition 2.3, gjkg_{jk} is the kk-th entry of the vector-valued function gjg_{j}. Here gjk∈Ctj([aj,bj]tj,βj,Hj)g_{jk}\in\mathcal{C}_{t_{j}}([a_{j},b_{j}]^{t_{j}},\beta_{j},H_{j}) for each k∈[pj+1]k\in[p_{j+1}] and j∈[q]j\in[q]. To construct a ReLU network that is f(⋅,a)f(\cdot,a), we first show that f(⋅,a)f(\cdot,a) can be reformulated as a composition of Hölder functions defined on a hypercube. Specifically, let h1=g1/(2H1)+1/2h_{1}=g_{1}/(2H_{1})+1/2, hq(u)=gq(2Hq−1u−Hq−1)h_{q}(u)=g_{q}(2H_{q-1}u-H_{q-1}), and

for all j∈{2,…,q−1}j\in\{2,\ldots,q-1\}. Then we immediately have

Furthermore, by the definition of Hölder smooth functions in Definition 2.2, for any j∈[q]j\in[q] and k∈[pj+1]k\in[p_{j+1}], it is not hard to verify that hjk∈Ctj(tj,W),h_{jk}\in\mathcal{C}_{t_{j}}\bigl(^{t_{j}},W\bigr), where we define W>0W>0 by

To apply Lemma 6.3 we set m=η⋅⌈log⁡2n⌉m=\eta\cdot\lceil\log_{2}n\rceil for a sufficiently large constant η>1\eta>1, and set NN to be a sufficiently large integer that depends on nn, which will be specified later. In addition, we set Lj=8+(m+5)⋅(1+⌈log⁡2(tj+βj)⌉).L_{j}=8+(m+5)\cdot(1+\lceil\log_{2}(t_{j}+\beta_{j})\rceil). Then, by Lemma 6.3, there exists a ReLU network h~jk\widetilde{h}_{jk} such that ∥h~jk−hjk∥∞≲N−βj/tj.\|\widetilde{h}_{jk}-h_{jk}\|_{\infty}\lesssim N^{-\beta_{j}/t_{j}}. Furthermore, we have h~jk∈F(Lj,{tj,d~j,…,d~j,1},s~j),\widetilde{h}_{jk}\in\mathcal{F}(L_{j},\{t_{j},\widetilde{d}_{j},\ldots,\widetilde{d}_{j},1\},\widetilde{s}_{j}), with

Combining this with (4.17) and the fact that ∥h~jk−hjk∥∞≲N−βj/tj\|\widetilde{h}_{jk}-h_{jk}\|_{\infty}\lesssim N^{-\beta_{j}/t_{j}}, we obtain that

Moreover, using classical results on the covering number of neural networks (Anthony and Bartlett 2009), we further show that

where δ=1/n\delta=1/n. Therefore, combining (4.11), (4.13), (4.18), and (4.19), we conclude the proof. ∎

Extension to Two-Player Zero-Sum Markov Games

In this section, we propose the Minimax-DQN algorithm, which combines DQN and the Minimax-Q learning for two-player zero-sum Markov games. We first present the background of zero-sum Markov games and introduce the the algorithm in §5.1. Borrowing the analysis for DQN in the previous section, we provide theoretical guarantees for the proposed algorithm in §5.2.

Moreover, for joint policy (π,ν)(\pi,\nu) of two players, we define the Bellman operators Tπ,ν{T}^{\pi,\nu} and TT by

That is, πQ(⋅ ∣ s)\pi_{Q}(\cdot{\,|\,}s) and νQ(⋅ ∣ s)\nu_{Q}(\cdot{\,|\,}s) solves the zero-sum matrix game based on Q(s,⋅,⋅)Q(s,\cdot,\cdot) for all s∈Ss\in{\mathcal{S}}. By this definition, we obtain that the equilibrium joint policy with respect to the minimax function Q∗Q^{*} defined in (5.3) achieves the Nash equilibrium of the Markov game.

Therefore, to learn the Nash equilibrium, it suffices to estimate Q∗Q^{*}, which is the unique fixed point of the Bellman operator TT. Similar to the standard Q-learning for MDP, Littman 1994 proposes the Minimax-Q learning algorithm, which constructs a sequence of action-value functions that converges to Q∗Q^{*}. Specifically, in each iteration, based on a transition (s,a,b,s′)(s,a,b,s^{\prime}), Minimax-Q learning updates the current estimator of Q∗Q^{*}, denoted by QQ, via

which can be attained via linear programming. Then we update θ\theta in the direction of ∇θL(θ)\nabla_{\theta}L(\theta), where L(θ)=n−1∑i∈[n][Yi−Qθ(si,ai,bi)]2L(\theta)=n^{-1}\sum_{i\in[n]}[Y_{i}-Q_{\theta}(s_{i},a_{i},b_{i})]^{2}. Finally, the target network Qθ∗Q_{\theta^{*}} is updated every TtargetT_{\textrm{target}} steps by letting θ∗=θ\theta^{*}=\theta. For brevity, we defer the details of Minimax-DQN to Algorithm 4 in §A.

To understand the theoretical aspects of this algorithm, we similarly utilize the framework of batch reinforcement learning for statistical analysis. With the insights gained in §3, we consider a modification of Minimax-DQN based on neural fitted Q-iteration, whose details are stated in Algorithm 2. As in the MDP setting, we replace sampling from the replay memory by sampling i.i.d. state-action tuples from a fixed distribution σ∈P(S×A×B)\sigma\in\mathcal{P}({\mathcal{S}}\times\mathcal{A}\times\mathcal{B}), and estimate Q∗Q^{*} in (5.3) by solving a sequence of least-squares regression problems specified by (5.8). Intuitively, this algorithm approximates the value iteration algorithm for zero-sum Markov games (Littman 1994) by constructing a sequence of value functions {Q~k}k≥0\{\widetilde{Q}_{k}\}_{k\geq 0} such that Q~k+1≈TQ~k\widetilde{Q}_{k+1}\approx T\widetilde{Q}_{k} for all kk, where TT defined in (5.5) is the Bellman operator.

2 Theoretical Results for Minimax-FQI

Following the theoretical results established in §4, in this subsection, we provide statistical guarantees for the Minimax-FQI algorithm with F\mathcal{F} being a family of deep neural networks with ReLU activation. Hereafter, without loss of generality, we assume S=r{\mathcal{S}}=^{r} with rr being a fixed integer, and the action spaces A\mathcal{A} and B\mathcal{B} are both finite. To evaluate the performance of the algorithm, we first introduce the best-response policy as follows.

Note that when the first player adopt a fixed policy π\pi, from the perspective of the second player, the Markov game becomes a MDP. Thus, νπ∗\nu_{\pi}^{*} is the optimal policy of the MDP induced by π\pi. Moreover, it can be shown that, for any policy π\pi, Q∗(s,a,b)≥Qπ,νπ∗(s,a,b)Q^{*}(s,a,b)\geq Q^{\pi,\nu^{*}_{\pi}}(s,a,b) holds for every state-action tuple (s,a,b)(s,a,b). Thus, by considering the adversarial case where the opponent always plays the best-response policy, the difference between Qπ.νπ∗Q^{\pi.\nu_{\pi}^{*}} and Q∗Q^{*} servers as a characterization of the suboptimality of π\pi. Hence, to quantify the performance of Algorithm 2, we consider the closeness between Q∗Q^{*} and QπK,νπK∗Q^{\pi_{K},\nu_{\pi_{K}}^{*}}, which will be denoted by QK∗Q_{K}^{*} hereafter for simplicity. Specifically, in the following we establish an upper bound for ∥Q∗−QK∗∥1,μ\|Q^{*}-Q_{K}^{*}\|_{1,\mu} for some distribution μ∈P(S×A×B)\mu\in\mathcal{P}({\mathcal{S}}\times\mathcal{A}\times\mathcal{B}).

We first specify the function class F\mathcal{F} in Algorithm 2 as follows.

Following Definition 4.1, let F(L,{dj}j=0L+1,s)\mathcal{F}(L,\{d_{j}\}_{j=0}^{L+1},s) and G({pj,tj,βj,Hj}j∈[q])\mathcal{G}(\{p_{j},t_{j},\beta_{j},H_{j}\}_{j\in[q]}) be the family of sparse ReLU networks and the set of composition of Hölder smooth functions defined on S{\mathcal{S}}, respectively. Similar to (4.1), we define F1\mathcal{F}_{1} by

For the Bellman operator TT defined in (5.5), we assume that for any f∈F1f\in\mathcal{F}_{1} and any state-action tuple (s,a,b)(s,a,b), we have (Tf)(⋅,a,b)∈G({pj,tj,βj,Hj}j∈[q])(Tf)(\cdot,a,b)\in\mathcal{G}(\{p_{j},t_{j},\beta_{j},H_{j}\}_{j\in[q]}).

We remark that this Assumption is in the same flavor as Assumption 4.2. As discussed in §4, this assumption holds if both the reward function and the transition density of the Markov game are sufficiently smooth.

In the following, we define the concentration coefficients for Markov games.

Let {τt ⁣:S→P(A×B)}\{\tau_{t}\colon{\mathcal{S}}\rightarrow\mathcal{P}(\mathcal{A}\times\mathcal{B})\} be a sequence of joint policies for the two players in the zero-sum Markov game. Let ν1,ν2∈P(S×A×B)\nu_{1},\nu_{2}\in\mathcal{P}({\mathcal{S}}\times\mathcal{A}\times\mathcal{B}) be two absolutely continuous probability measures. Suppose the initial state-action pair (S0,A0,B0)(S_{0},A_{0},B_{0}) has distribution ν1\nu_{1}, the future states are sampled according to the Markov transition kernel, and the action (At,Bt)(A_{t},B_{t}) is sampled from policy τt\tau_{t}. For any integer mm, we denote by PτmPτm−1⋯Pτ1ν1P^{\tau_{m}}P^{\tau_{m-1}}\cdots P^{\tau_{1}}\nu_{1} the distribution of {(St,At,Bt)}t=0m\{(S_{t},A_{t},B_{t})\}_{t=0}^{m}. Then, the mm-th concentration coefficient is defined as

where the supremum is taken over all possible joint policy sequences {τt}t∈[m]\{\tau_{t}\}_{t\in[m]}.

Furthermore, for some μ∈P(S×A×B)\mu\in\mathcal{P}({\mathcal{S}}\times\mathcal{A}\times\mathcal{B}), we assume that there exists a finite constant ϕμ,σ\phi_{\mu,\sigma} such that (1−γ)2⋅∑m≥1γm−1⋅m⋅κ(m;μ,σ)≤ϕμ,σ,(1-\gamma)^{2}\cdot\sum_{m\geq 1}\gamma^{m-1}\cdot m\cdot\kappa(m;\mu,\sigma)\leq\phi_{\mu,\sigma}, where σ\sigma is the sampling distribution in Algorithm 2 and κ(m;μ,σ)\kappa(m;\mu,\sigma) is the mm-th concentration coefficient defined in (5.10).

We remark that the definition of the mm-th concentration coefficient is the same as in (4.4) if we replace the action space A\mathcal{A} of the MDP by A×B\mathcal{A}\times\mathcal{B} of the Markov game. Thus, Assumptions 4.3 and 5.3 are of the same nature, which are standard in the literature.

Now we are ready to present the main theorem.

where ξ∗\xi^{*} appears in (4.7), α∗=max⁡j∈[q]tj/(2βj∗+tj)\alpha^{*}=\max_{j\in[q]}t_{j}/(2\beta_{j}^{*}+t_{j}) and ϕμ,σ\phi_{\mu,\sigma} is specified in Assumption 5.3.

Similar to Theorem 4.4, the bound in (5.11) shows that closeness between (πK,νK)(\pi_{K},\nu_{K}) returned by Algorithm 2 and the Nash equilibrium policy (πQ∗,νQ∗)(\pi_{Q^{*}},\nu_{Q^{*}}), measured by ∥Q∗−QK∗∥1,μ\|Q^{*}-Q_{K}^{*}\|_{1,\mu}, is bounded by the sum of statistical error and an algorithmic error. Specifically, the statistical error balances the bias and variance of estimating the value functions using the family of deep ReLU neural networks, which exhibits the fundamental difficulty of the problem. Whereas the algorithmic error decay to zero geometrically as KK increases. Thus, when KK is sufficiently large, both γ\gamma and ϕμ,σ\phi_{\mu,\sigma} are constants, and the polylogarithmic term is ignored, Algorithm 2 achieves error rate

Proof of the Main Theorem

In this section, we present a detailed proof of Theorem 4.4.

The proof requires two key ingredients. First in Theorem 6.1 we quantify how the error of action-value function approximation propagates through each iteration of Algorithm 1. Then in Theorem 6.2 we analyze such one-step approximation error for ReLU networks.

Recall that {Q~k}0≤k≤K\{\widetilde{Q}_{k}\}_{0\leq k\leq K} are the iterates of Algorithm 1. Let πK\pi_{K} be the one-step greedy policy with respect to Q~K\widetilde{Q}_{K}, and let QπKQ^{\pi_{K}} be the action-value function corresponding to πK\pi_{K}. Under Assumption 4.3, we have

where we define the maximum one-step approximation error as εmax⁡=max⁡k∈[K]∥TQ~k−1−Q~k∥σ\varepsilon_{\max}=\max_{k\in[K]}\|T\widetilde{Q}_{k-1}-\widetilde{Q}_{k}\|_{\sigma}. Here ϕμ,σ\phi_{\mu,\sigma} is a constant that only depends on the probability distributions μ\mu and σ\sigma.

We remark that similar error propagation result is established for the state-value function in Munos and Szepesvári 2008 for studying the fitted value iteration algorithm, which is further extended by Lazaric et al. 2016; Scherrer et al. 2015; Farahmand et al. 2010; Farahmand et al. 2016 for other batch reinforcement learning methods.

In the sequel, we establish an upper bound for the one-step approximation error ∥TQ~k−1−Q~k∥σ\|T\widetilde{Q}_{k-1}-\widetilde{Q}_{k}\|_{\sigma} for each k∈[K]k\in[K].

Let F⊆B(S×A,Vmax⁡)\mathcal{F}\subseteq\mathcal{B}({\mathcal{S}}\times\mathcal{A},V_{\max}) be a class of measurable functions on S×A{\mathcal{S}}\times\mathcal{A} that are bounded by Vmax⁡=Rmax⁡/(1−γ)V_{\max}=R_{\max}/(1-\gamma), and let σ\sigma be a probability distribution on S×A{\mathcal{S}}\times\mathcal{A}. Also, let {(Si,Ai)}i∈[n]\{(S_{i},A_{i})\}_{i\in[n]} be nn i.i.d. random variables in S×A{\mathcal{S}}\times\mathcal{A} following σ\sigma. For each i∈[n]i\in[n], let RiR_{i} and Si′S_{i}^{\prime} be the reward and the next state corresponding to (Si,Ai)(S_{i},A_{i}). In addition, for any fixed Q∈FQ\in\mathcal{F}, we define Yi=Ri+γ⋅max⁡a∈AQ(Si′,a)Y_{i}=R_{i}+\gamma\cdot\max_{a\in\mathcal{A}}Q(S_{i}^{\prime},a). Based on {(Xi,Ai,Yi)}i∈[n]\{(X_{i},A_{i},Y_{i})\}_{i\in[n]}, we define Q^\widehat{Q} as the solution to the least-squares problem

where CC and C′C^{\prime} are two positive absolute constants and ω(F)\omega(\mathcal{F}) is defined as

This theorem characterizes the bias and variance that arise in estimating the action-value functions using deep ReLU networks. Specifically, ω(F)\omega(\mathcal{F}) in (6.4) corresponds to the bias incurred by approximating the target function TfTf using ReLU neural networks. It can be viewed as a measure of completeness of F\mathcal{F} with respect to the Bellman operator TT. In addition, Vmax⁡2/n⋅log⁡Nδ+Vmax⁡⋅δV_{\max}^{2}/n\cdot\log N_{\delta}+V_{\max}\cdot\delta controls the variance of the estimator, where the covering number NδN_{\delta} is used to obtain a uniform bound over F0\mathcal{F}_{0}.

To obtain an upper bound for ∥TQ~k−1−Q~k∥σ\|T\widetilde{Q}_{k-1}-\widetilde{Q}_{k}\|_{\sigma} as required in Theorem 6.1, we set Q=Q~k−1Q=\widetilde{Q}_{k-1} in Theorem 6.2. Then according to Algorithm 1, Q^\widehat{Q} defined in (6.2) becomes Q~k\widetilde{Q}_{k}. We set the function class F\mathcal{F} in Theorem 6.2 to be the family of ReLU Q-networks F0\mathcal{F}_{0} defined in (4.1). By setting ϵ=1\epsilon=1 and δ=1/n\delta=1/n in Theorem 6.2, we obtain

where CC is a positive absolute constant and

is the 1/n1/n-covering number of F0\mathcal{F}_{0}. In the subsequent proof, we establish upper bounds for ω(F0)\omega(\mathcal{F}_{0}) defined in (6.4) and log⁡N0\log N_{0}, respectively. Recall that the family of composite Hölder smooth functions G0\mathcal{G}_{0} is defined in (4.2). By Assumption 4.2, we have Tg∈G0Tg\in\mathcal{G}_{0} for any g∈F0g\in\mathcal{F}_{0}. Hence, we have

By the definition of G0\mathcal{G}_{0} in (4.2), for any f∈G0f\in\mathcal{G}_{0} and any a∈Aa\in\mathcal{A}, f(⋅,a)∈G({(pj,tj,βj,Hj)}j∈[q])f(\cdot,a)\in\mathcal{G}(\{(p_{j},t_{j},\beta_{j},H_{j})\}_{j\in[q]}) is a composition of Hölder smooth functions, that is, f(⋅,a)=gq∘⋯∘g1f(\cdot,a)=g_{q}\circ\cdots\circ g_{1}. Recall that, as defined in Definition 2.3, gjkg_{jk} is the kk-th entry of the vector-valued function gjg_{j}. Here gjk∈Ctj([aj,bj]tj,βj,Hj)g_{jk}\in\mathcal{C}_{t_{j}}([a_{j},b_{j}]^{t_{j}},\beta_{j},H_{j}) for each k∈[pj+1]k\in[p_{j+1}] and j∈[q]j\in[q]. In the sequel, we construct a ReLU network to approximate f(⋅,a)f(\cdot,a) and establish an upper bound of the approximation error on the right-hand side of (6.7). We first show that f(⋅,a)f(\cdot,a) can be reformulated as a composition of Hölder functions defined on a hypercube. We define h1=g1/(2H1)+1/2h_{1}=g_{1}/(2H_{1})+1/2,

and hq(u)=gq(2Hq−1u−Hq−1)h_{q}(u)=g_{q}(2H_{q-1}u-H_{q-1}). Then we immediately have

Furthermore, by the definition of Hölder smooth functions in Definition 2.2, for any k∈[p2]k\in[p_{2}], we have that h1kh_{1k} takes value in $andandh_{1k}\in\mathcal{C}_{t_{1}}(^{t_{1}},\beta_{1},1).Similarly,forany. Similarly, for anyj\in\{2,\ldots,q-1\}andandk\in[p_{j+1}],,h_{jk}alsotakesvalueinalso takes value in$ and

Finally, recall that we use the convention that pq+1=1p_{q+1}=1, that is, hqh_{q} is a scalar-valued function that satisfies

In the following, we show that the composition function in (6.8) can be approximated by an element in F(L∗,{dj∗}j=1L+1,s∗)\mathcal{F}(L^{*},\{d_{j}^{*}\}_{j=1}^{L+1},s^{*}) when the network hyperparameters are properly chosen. Our proof consists of three steps. In the first step, we construct a ReLU network h~jk\widetilde{h}_{jk} that approximates each hjkh_{jk} in (6.9). Then, in the second step, we approximate f(⋅,a)f(\cdot,a) by the composition of {h~j}j∈[q]\{\widetilde{h}_{j}\}_{j\in[q]} and quantify the architecture of this network. Finally, in the last step, we prove that this network can be embedded into class F(L∗,{dj∗}j=1L+1,s∗)\mathcal{F}(L^{*},\{d_{j}^{*}\}_{j=1}^{L+1},s^{*}) and characterize the final approximation error.

For any integers m≥1m\geq 1 and N≥max⁡{(β+1)r,(H+1)er}N\geq\max\{(\beta+1)^{r},(H+1)e^{r}\}, let L=8+(m+5)⋅(1+⌈log⁡2(r+β)⌉)L=8+(m+5)\cdot(1+\lceil\log_{2}(r+\beta)\rceil), d0=rd_{0}=r, dj=6(r+⌈β⌉)Nd_{j}=6(r+\lceil\beta\rceil)N for each j∈[L]j\in[L], and dL+1=1d_{L+1}=1. For any g∈Cr(r,β,H)g\in\mathcal{C}_{r}(^{r},\beta,H), there exists a ReLU network f∈F(L,{dj}j=0L+1,s,Vmax⁡)f\in\mathcal{F}(L,\{d_{j}\}_{j=0}^{L+1},s,V_{\max}) as defined in Definition 2.1 such that

where the parameter ss satisfies s≤141⋅(r+β+1)3+r⋅N⋅(m+6)s\leq 141\cdot(r+\beta+1)^{3+r}\cdot N\cdot(m+6).

See Appendix B in Schmidt-Hieber 2020+ for a detailed proof. The idea is to first approximate the Hölder smooth function by polynomials via local Taylor expansion. Then, neural networks are constructed explicitly to approximate each monomial terms in these local polynomials. ∎

We apply Lemma 6.3 to hjk ⁣:tj→h_{jk}\colon^{t_{j}}\rightarrow for any j∈[q]j\in[q] and k∈[pj+1]k\in[p_{j+1}]. We set m=η⋅⌈log⁡2n⌉m=\eta\cdot\lceil\log_{2}n\rceil for a sufficiently large constant η>1\eta>1, and set NN to be a sufficiently large integer depending on nn, which will be specified later. In addition, we set

We will later verify that N≥max⁡{(β+1)tj,(W+1)etj}N\geq\max\{(\beta+1)^{t_{j}},(W+1)e^{t_{j}}\} for all j∈[q]j\in[q]. Then by Lemma 6.3, there exists a ReLU network h^jk\widehat{h}_{jk} such that

Furthermore, we have h^jk∈F(Lj,{tj,d~j,…,d~j,1},s~j)\widehat{h}_{jk}\in\mathcal{F}(L_{j},\{t_{j},\widetilde{d}_{j},\ldots,\widetilde{d}_{j},1\},\widetilde{s}_{j}) with

Moreover, since both h~jk\widetilde{h}_{jk} and hjkh_{jk} take value in $$, by (6.12) we have

where the constant WW is defined in (6.11). Since we can set the constant η\eta in (6) to be sufficiently large, the second term on the right-hand side of (6) is the leading term asymptotically, that is,

Thus, in the first step, we have shown that there exists h~jk∈F(Lj+2,{tj,d~j,…,d~j,1},s~j+4)\widetilde{h}_{jk}\in\mathcal{F}(L_{j}+2,\{t_{j},\widetilde{d}_{j},\ldots,\widetilde{d}_{j},1\},\widetilde{s}_{j}+4) satisfying (6.16).

where we define L~=∑j=1q(Lj+2)\widetilde{L}=\sum_{j=1}^{q}(L_{j}+2), d~=max⁡j∈[q]d~j⋅pj+1\widetilde{d}=\max_{j\in[q]}\widetilde{d}_{j}\cdot p_{j+1}, and s~=∑j=1q(s~j+4)⋅pj+1\widetilde{s}=\sum_{j=1}^{q}(\widetilde{s}_{j}+4)\cdot p_{j+1}. Recall that LjL_{j} is defined in (6.10). Then when nn is sufficiently large, we have

where ξ>0\xi>0 is an absolute constant. Here the last inequality follows from (4.6). Moreover, for d~\widetilde{d} defined in (6.17), by (4.6) we have

In addition, combining (6.13), (4.6), and the fact that tj≤pjt_{j}\leq p_{j}, we obtain

Step (iii). In the last step, we show that the function class in (6.17) can be embedded in F(L∗,{dj∗}j=1L∗+1,s∗)\mathcal{F}(L^{*},\{d_{j}^{*}\}_{j=1}^{L^{*}+1},s^{*}) and characterize the final approximation bias, where L∗L^{*}, {dj∗}j=1L∗+1\{d_{j}^{*}\}_{j=1}^{L^{*}+1}, and s∗s^{*} are specified in (4.7). To this end, we set

where the absolute constant C>0C>0 is sufficiently large. Note that we define α∗=max⁡j∈[q]tj/(2βj∗+tj)\alpha^{*}=\max_{j\in[q]}t_{j}/(2\beta_{j}^{*}+t_{j}). Then (6.21) implies that N≍nα∗N\asymp n^{\alpha^{*}}. When nn is sufficiently large, it holds that N≥max⁡{(β+1)tj,(W+1)etj}N\geq\max\{(\beta+1)^{t_{j}},(W+1)e^{t_{j}}\} for all j∈[q]j\in[q]. When ξ∗\xi^{*} in (4.7) satisfies ξ∗≥1+2ξ\xi^{*}\geq 1+2\xi, by (6) we have

In addition, (6.19) and (4.7) implies that we can set dj∗≥d~d_{j}^{*}\geq\widetilde{d} for all j∈[L∗]j\in[L^{*}]. Finally, by (6) and (6.21), we have s~≲nα∗⋅(log⁡n)ξ∗,\widetilde{s}\lesssim n^{\alpha^{*}}\cdot(\log n)^{\xi^{*}}, which implies s~+(L∗−L~)⋅r≤s∗\widetilde{s}+(L^{*}-\widetilde{L})\cdot r\leq s^{*}. For an L~\widetilde{L}-layer ReLU network in (6.17), we can make it an L∗L^{*}-layer ReLU network by inserting L∗−L~L^{*}-\widetilde{L} identity layers, since the inputs of each layer are nonnegative. Thus, ReLU networks in (6.17) can be embedded in

which is a subset of F(L∗,{dj∗}j=1L+1,s∗)\mathcal{F}(L^{*},\{d_{j}^{*}\}_{j=1}^{L+1},s^{*}) by (4.7).

To obtain the approximation error ∥f~−f(⋅,a)∥∞\|\widetilde{f}-f(\cdot,a)\|_{\infty}, we define Gj=hj∘⋯∘h1G_{j}=h_{j}\circ\cdots\circ h_{1} and G~j=h~j∘⋯∘h~1\widetilde{G}_{j}=\widetilde{h}_{j}\circ\cdots\circ\widetilde{h}_{1} for any j∈[q]j\in[q]. By triangle inequality, for any j>1j>1 we have

where the constant WW is defined in (6.11). Here in (6.23) we use the fact that (a+b)α≤aα+bα(a+b)^{\alpha}\leq a^{\alpha}+b^{\alpha} for all α∈\alpha\in and a,b>0a,b>0.

Thus, we combine (6.7), (6.21), and (6.24) to obtain

As the final step of the proof, it remains to control the covering number of F0\mathcal{F}_{0} defined in (4.1). By definition, for any f∈F0f\in\mathcal{F}_{0}, we have f(⋅,a)∈F(L∗,{dj∗}j=1L∗+1,s∗)f(\cdot,a)\in\mathcal{F}(L^{*},\{d_{j}^{*}\}_{j=1}^{L^{*}+1},s^{*}) for any a∈Aa\in\mathcal{A}. For notational simplicity, we denote by Nδ\mathcal{N}_{\delta} the δ\delta-covering of F(L∗,{dj∗}j=1L∗+1,s∗)\mathcal{F}(L^{*},\{d_{j}^{*}\}_{j=1}^{L^{*}+1},s^{*}), that is, we define

Now we utilize the following lemma in Anthony and Bartlett 2009 to obtain an upper bound of the cardinality of Nδ\mathcal{N}_{\delta}.

See Theorem 14.5 in Anthony and Bartlett 2009 for a detailed proof. ∎

Recall that we denote N(1/n,F0,∥⋅∥∞)\mathcal{N}(1/n,\mathcal{F}_{0},\|\cdot\|_{\infty}) by N0N_{0} in (6.6). By combining (6.26) with Lemma 6.4 and setting δ=1/n\delta=1/n, we obtain that

Finally, combining (6.1), (6.5), (6.25), and (6.27), we conclude the proof of Theorem 4.4. ∎

Conclusion

We study deep Q-network from the statistical perspective. Specifically, by neglecting the computational issues, we consider the fitted Q-iteration algorithm with ReLU networks, which can be viewed as a modification of DQN that fully captures its key features. Under mild assumptions, we show that DQN creates a sequence of policies whose corresponding value functions converge to the optimal value function, when both the sample size and the number of iteration go to infinity. Moreover, we establish a precise characterization of both the statistical and the algorithmic rates of convergence. As a byproduct, our results provide theoretical justification for the trick of using a target network in DQN. Furthermore, we extend DQN to two-player zero-sum Markov games by proposing the Minimax-DQN algorithm. Utilizing the analysis of DQN, we establish theoretical guarantees for Minimax-DQN. To further extend this work, one future direction is to analyze reinforcement learning methods targeting at MDP with continuous action spaces, e.g., example, soft Q-learning (Haarnoja et al. 2017) and deep deterministic policy gradient (DDPG) (Lillicrap et al. 2016). Another promising direction is to combine results on optimization for deep learning with our statistical analysis to gain a unified understanding of the statistical and computational aspects of DQN.

Appendix A Deep Q-Network

We first present the DQN algorithm for MDP in details, which is proposed by Mnih et al. 2015 and adapted here to discounted MDP. As shown in Algorithm 3 below, DQN features two key tricks that lead to its empirical success, namely, experience replay and target network.

Furthermore, in the following, we present the details of the Minimax-DQN algorithm that extends DQN to two-player zero-sum Markov games introduced in §5. Similar to DQN, this algorithm also utilizes the experience replay and target networks. The main difference is that here the target YiY_{i} in (5.7) is obtained by solving a zero-sum matrix game. In Algorithm 4 we present the algorithm for the second player, which can be easily modified for the first player. We note that for the second player, similar to (5.6),the equilibrium joint policy is defined as

Appendix B Computational Aspect of DQN

Recall that in Algorithm 1 we assume the global optima of the nonlinear least-squares problem in (3.1) is obtained in each iteration. We make such an assumption as our focus is on the statistical analysis. In terms of optimization, it has been shown recently that, when the neural network is overparametrized, (stochastic) gradient descent converges to the global minima of the empirical function. Moreover, the generalization error of the obtained neural network can also be established. The intuition behind these results is that, when the neural network is overparametrized, it behaves similar to the random feature model (Rahimi and Recht 2008; Rahimi and Recht 2009). See, e.g., Du et al. 2019b; Du et al. 2019a; Zou et al. 2018; Chizat et al. 2019; Allen-Zhu et al. 2019a; Allen-Zhu et al. 2019b; Jacot et al. 2018; Cao and Gu 2019; Arora et al. 2019; Weinan et al. 2019; Mei et al. 2019; Yehudai and Shamir 2019; Bietti and Mairal 2019; Yang and Salman 2019; Yang 2019; Gao et al. 2019; Bai and Lee 2019; Huang et al. 2020 and the references therein. Also see Fan et al. 2019 for a detailed survey. In this section, we make an initial attempt in providing a unified statistical and computational analysis of DQN.

We represent the Q-network by the family of two-layer neural networks

For such class of neural networks, for any k≥1k\geq 1, in kk-th iteration of the neural FQI algorithm, the optimization problem in (3.1) becomes

where Yi=Ri+γ⋅max⁡a∈AQ~k−1(Si′,a)Y_{i}=R_{i}+\gamma\cdot\max_{a\in\mathcal{A}}\widetilde{Q}_{k-1}(S_{i}^{\prime},a) is the target and Q~k−1\widetilde{Q}_{k-1} is the Q-network computed in the previous iteration. Notice that this problem is a least-squares regression with overparameterized neural networks. For computational efficiency, we propose to solve (B.2) via stochastic gradient descent (SGD). Specifically, in each iteration of SGD, we sample a fresh observation (S,A,R,S′)(S,A,R,S^{\prime}) with (S,A)(S,A) drawn from the sampling distribution σ\sigma, R∼R(⋅ ∣ S,A)R\sim R(\cdot{\,|\,}S,A), and S′∼P(⋅ ∣ S,A)S^{\prime}\sim P(\cdot{\,|\,}S,A). Then an estimator of the gradient is computed based on (S,A,R,S′)(S,A,R,S^{\prime}), which is used to update the network parameters. We run the SGD updates for a total of nn iterations and denote the output by Q~k\widetilde{Q}_{k}.

where BB is a sufficiently large constant. Thus, the population version of the kk-th iteration of the FQI algorithm becomes

where (S,A)∼σ(S,A)\sim\sigma and YY is computed using Q~k−1\widetilde{Q}_{k-1}. We solve this optimization problem via projected SGD, which generates a sequence of weight matrices {W(t)}t≥0⊆BB\{W^{(t)}\}_{t\geq 0}\subseteq\mathcal{B}_{B} satisfying

where ΠBB\Pi_{\mathcal{B}_{B}} is the projection operator onto BB\mathcal{B}_{B} with respect to the Frobenius norm, η>0\eta>0 is the step size, and (St,At,Yt)(S_{t},A_{t},Y_{t}) is a random observation. We present the details of fitted Q-iteration method with projected SGD in Algorithm 5.

To understand the convergence of the projected SGD updates in (B.5), we utilize the fact that the dynamics of training overparametrized neural networks is captured by the neural tangent kernel (Jacot et al. 2018) when the width is sufficiently large. Specifically, since σ(u)=u⋅\ind{u>0}\sigma(u)=u\cdot\ind\{u>0\}, the gradient of the Q-network in (B.1) is given by

Recall that we initialize parameters bb and WW as b(0)b^{(0)} and W(0)W^{(0)} and that we only update WW during training. We define a function class FB,m(t)\mathcal{F}_{B,m}^{(t)} as

By (B.6), for each function Q^(⋅,⋅;W)∈FB,m(t)\widehat{Q}(\cdot,\cdot;W)\in\mathcal{F}_{B,m}^{(t)}, we can write it as

which is the first-order linearization of Q(⋅,⋅;W(t))Q(\cdot,\cdot;W^{(t)}) at W(t)W^{(t)}. Furthermore, since BB in (B.3) is a constant, for each weight matrix WW in BB\mathcal{B}_{B}, when mm goes to infinity, ∥Wj−Wj(0)∥2\|W_{j}-W_{j}^{(0)}\|_{2} would be small for almost all j∈[2m]j\in[2m], which implies that \ind{Wj⊤(s,a)>0}=\ind{(Wj(0))⊤(s,a)>0}\ind\{W_{j}^{\top}(s,a)>0\}=\ind\{(W_{j}^{(0)})^{\top}(s,a)>0\} holds with high probability for all j∈[2m]j\in[2m] and (s,a)∈S×A(s,a)\in{\mathcal{S}}\times\mathcal{A}. As a result, when mm is sufficiently large, FB,m(t)\mathcal{F}_{B,m}^{(t)} defined in (B.7) is close to

where b(0)b^{(0)} and W(0)W^{(0)} are the initial parameters. Specifically, as proved in Lemma A.2 in Wang et al. 2019, when the sampling distribution σ\sigma is regular in the sense that Assumption (B.2) specified below is satisfied, for any W1,W2∈BBW_{1},W_{2}\in\mathcal{B}_{B}, we have

Besides, for all j∈[2m]j\in[2m], we let ϕj\phi_{j} denote ϕ(⋅,⋅;bj(0),Wj(0))\phi(\cdot,\cdot;b^{(0)}_{j},W^{(0)}_{j}). Due to the symmetric initialization scheme, {ϕj}j∈[m]\{\phi_{j}\}_{j\in[m]} are i.i.d. random feature functions and ϕj=−ϕj+m\phi_{j}=-\phi_{j+m} for all j∈[m]j\in[m]. Thus, each Q^(⋅,⋅;W)\widehat{Q}(\cdot,\cdot;W) in (B.8) can be equivalently written as

Let Wj′=(Wj−Wj+m)/2W_{j}^{\prime}=(W_{j}-W_{j+m})/\sqrt{2}. Since W∈BBW\in\mathcal{B}_{B}, we have

where we use the fact that Wj(0)=Wj+m(0)W_{j}^{(0)}=W_{j+m}^{(0)} for all j∈[m]j\in[m]. Thus, combining (B.10) and (B.11), we conclude that FB,m(0)\mathcal{F}_{B,m}^{(0)} in (B.8) is a subset of FB,m\mathcal{F}_{B,m} defined as

For two functions fα1f_{\alpha_{1}} and fα2f_{\alpha_{2}} in H\mathcal{H} represented by α1\alpha_{1} and α2\alpha_{2}, respectively, their inner product is given by

We let ∥⋅∥H\|\cdot\|_{\mathcal{H}} denote the RKHS norm of H\mathcal{H}. Then, when mm goes to infinity, FB,m\mathcal{F}_{B,m} in (B.12) converges to the RKHS norm ball HB={f∈H ⁣:∥f∥H≤B}\mathcal{H}_{B}=\{f\in\mathcal{H}\colon\|f\|_{\mathcal{H}}\leq B\}.

Therefore, from the perspective of neural tangent kernel, when the Q-network is represented by the class of overparametrized neural networks given in (B.1) with a sufficiently large number of neurons, each population problem associated with each FQI iteration in (B.4) becomes

where the minimization is over a subset of HB\mathcal{H}_{B} as FB,m(0)\mathcal{F}^{(0)}_{B,m} is a subset of FB,m\mathcal{F}_{B,m}.

Utilizing the connection between neural network training and RKHS, in the sequel, we provide a jointly statistical and computational analysis of Algorithm 5. To this end, we define a function class GB\mathcal{G}_{B} as

We assume that that TQ(⋅,⋅;W)∈GBTQ(\cdot,\cdot;W)\in\mathcal{G}_{B} for all for all W∈BBW\in\mathcal{B}_{B}, where TT is the Bellman optimality operator and Q(⋅,⋅;W)Q(\cdot,\cdot;W) is given in (B.1).

This assumption specifies that TT maps any neural network with weight matrix WW in BB\mathcal{B}_{B} to a subset GB\mathcal{G}_{B} of the RKHS H\mathcal{H}. When mm is sufficiently large, this assumption is similar to stating that GB\mathcal{G}_{B} is approximately closed under TT.

We also impose the following regularity condition on the sampling distribution σ\sigma.

We assume that there exists an absolute constant C>0C>0 such that

Assumption B.2 states that the density of σ\sigma is sufficiently regular, which holds when the density is upper bounded.

Now we are ready to present the main result of this section, which characterizes the performance of πK\pi_{K} returned by Algorithm 5.

In Algorithm 5, we assume that each step of the fitted-Q iteration is solved by TT steps of projected SGD updates with a constant stepsize η>0\eta>0. We set T=C1mT=C_{1}m and η=C2/T\eta=C_{2}/\sqrt{T}, where C1C_{1}, C2C_{2} are absolute constants that are properly chosen. Then, under Assumptions 4.3, B.1, and B.2, we have

Finally, we remark that focus on the class of two-layer overparametrized ReLU neural networks only for the simplicity of presentation. The theory of neural tangent kernel can be extended to feedforward neural networks with multiple layers and neural networks with more complicated architectures (Gao et al. 2019; Frei et al. 2019; Yang and Salman 2019; Yang 2019; Huang et al. 2020).

where ϕμ,σ\phi_{\mu,\sigma}, specified in Assumption 4.3, is a constant that only depends on the concentration coefficients. Thus, it remains to characterize ∥TQ~k−1−Q~k∥σ\|T\widetilde{Q}_{k-1}-\widetilde{Q}_{k}\|_{\sigma} for each kk, which corresponds to the prediction risk of the estimator constructed by TT projected SGD steps.

In the sequel, we characterize the prediction risk of the projected SGD method via the framework of neural tangent kernel. Our proof technique is motivated by recent work (Gao et al. 2019; Cai et al. 2019; Liu et al. 2019a; Wang et al. 2019; Xu and Gu 2019) which analyze the training of overparametrized neural networks via projected SGD for adversarial training and reinforcement learning. We focus on the case where the target network is Q~k−1\widetilde{Q}_{k-1} and bound ∥TQ~k−1−Q~k∥σ\|T\widetilde{Q}_{k-1}-\widetilde{Q}_{k}\|_{\sigma}.

To begin with, recall that we define function classes FB,m(t)\mathcal{F}_{B,m}^{(t)}, FB,m\mathcal{F}_{B,m}, and GB\mathcal{G}_{B} in (B.7), (B.12), and (B.14), respectively. Notice that Q~k−1=Q(⋅,⋅;Wk)\widetilde{Q}_{k-1}=Q(\cdot,\cdot;W_{k}) is a neural network where Wk∈BBW_{k}\in\mathcal{B}_{B} due to projection. Then, by Assumption B.1, TQ~k−1T\widetilde{Q}_{k-1} belongs to GB\mathcal{G}_{B}, which is a subset of the RKHS H\mathcal{H}. Thus, it suffices to study the least-squares regression problem where the target function is in GB\mathcal{G}_{B} and the neural network is trained via projected SGD.

In the following, we use function class FB,m\mathcal{F}_{B,m} to connect GB\mathcal{G}_{B} and Q~k\widetilde{Q}_{k}. Specifically, we show that any function g∈GBg\in\mathcal{G}_{B} as well as Q~k\widetilde{Q}_{k} can be well approximated by functions in FB,m\mathcal{F}_{B,m} and quantify the approximation errors. Finally, we focus on the projected SGD algorithm within the linearized function class FB,m\mathcal{F}_{B,m} and establish the statistical and computational error. The proof is divided into three steps as follows.

Let BB\mathcal{B}_{B} be defined in (B.3). Under Assumption B.2, for any W(1),W(2)∈BBW^{(1)},W^{(2)}\in\mathcal{B}_{B}, we have

See Lemma A.2 in Wang et al. 2019 for a detailed proof. ∎

Notice that we have Q~k(⋅,⋅)=⟨∇WQ(⋅,⋅;Wk+1),Wk+1⟩\widetilde{Q}_{k}(\cdot,\cdot)=\langle\nabla_{W}Q(\cdot,\cdot;W_{k+1}),W_{k+1}\rangle and Q^k(⋅,⋅)=⟨∇WQ(⋅,⋅;W(0)),Wk+1⟩\widehat{Q}_{k}(\cdot,\cdot)=\langle\nabla_{W}Q(\cdot,\cdot;W^{(0)}),W_{k+1}\rangle. Applying Lemma B.4 with W(1)=W(2)=Wk+1W^{(1)}=W^{(2)}=W_{k+1}, we obtain that

Thus, we have constructed a function in FB,m\mathcal{F}_{B,m} that is close to Q~k\widetilde{Q}_{k} when mm is sufficiently large, which completes the first step of the proof.

Step (2). In the second step, we show that each function in GB\mathcal{G}_{B} can also be well approximated by functions in FB,m\mathcal{F}_{B,m}. To this end, similar to the definition of GB\mathcal{G}_{B} in (B.14), we define a function class F‾B,m\overline{\mathcal{F}}_{B,m} as

which is a subset of FB,m\mathcal{F}_{B,m} by definition. Intuitively, as mm goes to infinity, F‾B,m\overline{\mathcal{F}}_{B,m} becomes GB\mathcal{G}_{B}. The following Lemma, obtained from (Rahimi and Recht 2009), provides a rigorous characterization of this argument.

Let QQ be any fixed function in GB\mathcal{G}_{B} and define Π‾B,mQ∈F‾R,m\overline{\Pi}_{B,m}Q\in\overline{\mathcal{F}}_{R,m} as the solution to

Then, there exists a constant C>0C>0 such that, for any t>B/mt>B/\sqrt{m}, we have

See Rahimi and Recht 2009 for a detailed proof. ∎

where in the second equality we let u=t⋅m/B−1u=t\cdot\sqrt{m}/B-1. Thus, by (B.1) we have

where T~Q~k−1=Π‾B,mTQ~k−1\widetilde{T}\widetilde{Q}_{k-1}=\overline{\Pi}_{B,m}T\widetilde{Q}_{k-1}. Thus, we conclude the second step.

Step (3). Finally, in the last step, we utilize the existing analysis of projected SGD over function class FB,m\mathcal{F}_{B,m} to obtain an upper bound on ∥T~Q~k−1−Q^k∥\|\widetilde{T}\widetilde{Q}_{k-1}-\widehat{Q}_{k}\|.

In Algorithm 5, let TT be the number of iterations of projected SGD steps for solving each iteration of the FQI update and we set η=O(1/T)\eta=\mathcal{O}(1/\sqrt{T}). Under Assumption B.2, it holds that

See Theorem 4.5 in Liu et al. 2019a for a detailed proof. ∎

Finally, combining (B.17), (B.21), and (B.22) we obtain that

Setting T≍mT\asymp m in (B.1), we obtain that

Combining (B.16) and (B.24), we conclude the proof of Theorem B.3. ∎

Appendix C Proofs of Auxiliary Results

In this section, we present the proofs for Theorems 6.1 and 6.2, which are used in the §6 to establish our main theorem.

Before we present the proof, we introduce some notation. For any k∈{0,…,K−1}k\in\{0,\ldots,K-1\}, we denote TQ~kT\widetilde{Q}_{k} by Qk+1Q_{k+1} and define

In addition, we define the operator TπT^{\pi} by

Finally, we denote Rmax⁡/(1−γ)R_{\max}/(1-\gamma) by Vmax⁡V_{\max}. Now we are ready to present the proof, which consists of three key steps.

Step (i): In the first step, we establish a recursion that relates Q∗−Q~k+1Q^{*}-\widetilde{Q}_{k+1} with Q∗−Q~kQ^{*}-\widetilde{Q}_{k} to measure the sub-optimality of the value function Q~k\widetilde{Q}_{k}. In the following, we first establish an upper bound for Q∗−Q~k+1Q^{*}-\widetilde{Q}_{k+1} as follows. For each k∈{0,…,K−1}k\in\{0,\ldots,K-1\}, by the definition of ϱk+1\varrho_{k+1} in (C.1), we have

where π∗\pi^{*} is the greedy policy with respect to Q∗Q^{*}. Now we leverage the following lemma to show Tπ∗Q~k≤TQ~kT^{\pi^{*}}\widetilde{Q}_{k}\leq T\widetilde{Q}_{k}.

Note that we have max⁡a′Q(s′,a′)≥Q(s′,a′)\max_{a^{\prime}}Q(s^{\prime},a^{\prime})\geq Q(s^{\prime},a^{\prime}) for any s′∈Ss^{\prime}\in{\mathcal{S}} and a′∈Aa^{\prime}\in\mathcal{A}. Thus, it holds that

Recall that πQ\pi_{Q} is the greedy policy with respect to QQ such that

which concludes the proof of Lemma C.1. ∎

By Lemma C.1, we have TQ~k≥Tπ∗Q~kT\widetilde{Q}_{k}\geq T^{\pi^{*}}\widetilde{Q}_{k}. Also note that Q∗Q^{*} is the unique fixed point of Tπ∗T^{\pi^{*}}. Thus, by (C.1) we have

In the following, we establish a lower bound for Q∗−Q~k+1Q^{*}-\widetilde{Q}_{k+1} based on Q~∗−Q~k\widetilde{Q}^{*}-\widetilde{Q}_{k}. Note that, by Lemma C.1, we have TπkQ~k=TQ~kT^{\pi_{k}}\widetilde{Q}_{k}=T\widetilde{Q}_{k} and TQ∗≥TπkQ∗TQ^{*}\geq T^{\pi_{k}}Q^{*}. Similar to (C.1), since Q∗Q^{*} is the unique fixed point of TT, it holds that

Thus, combining (C.4) and (C.1) we obtain that, for any k∈{0,…,K−1}k\in\{0,\ldots,K-1\},

The inequalities in (C.6) show that the error Q∗−Q~k+1Q^{*}-\widetilde{Q}_{k+1} can be sandwiched by the summation of a term involving Q∗−Q~kQ^{*}-\widetilde{Q}_{k} and the error ϱk+1\varrho_{k+1}, which is defined in (C.1) and induced by approximating the action-value function. Using PπP^{\pi} defined in (C.2), we can write (C.6) in a more compact form,

Meanwhile, note that PπP^{\pi} defined in (C.2) is a linear operator. In fact, PπP^{\pi} is the Markov transition operator for the Markov chain on S×A{\mathcal{S}}\times\mathcal{A} with transition dynamics

By the linearity of the operator PπP^{\pi} and the one-step error bound in (C.6), we have the following characterization of the multi-step error.

Here ϱi+1\varrho_{i+1} is defined in (C.1) and we use PπPπ′P^{\pi}P^{\pi^{\prime}} and (Pπ)k(P^{\pi})^{k} to denote the composition of operators.

Note that PπP^{\pi} is a linear operator for any policy π\pi. We obtain (C.8) and (C.9) by iteratively applying the inequalities in (C.7). ∎

Lemma C.2 gives the upper and lower bounds for the propagation of error through multiple iterations of Algorithm 1, which concludes the first step of our proof.

Step (ii): The results in the first step only concern the propagation of error Q∗−Q~kQ^{*}-\widetilde{Q}_{k}. In contrast, the output of Algorithm 1 is the greedy policy πk\pi_{k} with respect to Q~k\widetilde{Q}_{k}. In the second step, our goal is to quantify the suboptimality of QπkQ^{\pi_{k}}, which is the action-value function corresponding to πk\pi_{k}. In the following, we establish an upper bound for Q∗−QπkQ^{*}-Q^{\pi_{k}}.

To begin with, we have Q∗≥QπkQ^{*}\geq Q^{\pi_{k}} by the definition of Q∗Q^{*} in (2.5). Note that we have Q∗=Tπ∗Q∗Q^{*}=T^{\pi^{*}}Q^{*} and Qπk=TπkQπk.Q^{\pi_{k}}=T^{\pi_{k}}Q^{\pi_{k}}. Hence, it holds that

Now we quantify the three terms on the right-hand side of (C.1) respectively. First, by Lemma C.1, we have

Meanwhile, by the definition of the operator PπP^{\pi} in (C.2), we have

Plugging (C.11) and (C.12) into (C.1), we obtain

Here II is the identity operator. Since TπT^{\pi} is a γ\gamma-contractive operator for any policy π\pi, I−γ⋅PπI-\gamma\cdot P^{\pi} is invertible. Thus, we obtain

Then we plug (C.14) and (C.15) into (C.13) and obtain

One can show that ∑i=0Kαi=1\sum_{i=0}^{K}\alpha_{i}=1. Meanwhile, we define K+1K+1 linear operators {Ok}k=0K\{O_{k}\}_{k=0}^{K} by

Using this notation, for any (s,a)∈S×A(s,a)\in{\mathcal{S}}\times\mathcal{A}, by (C.1) we have

where both Oi∣ϱi+1∣O_{i}|\varrho_{i+1}| and OK∣Q∗−Q~0∣O_{K}|Q^{*}-\widetilde{Q}_{0}| are functions defined on S×A{\mathcal{S}}\times\mathcal{A}. Here (C.1) gives a uniform upper bound for Q∗−QπKQ^{*}-Q^{\pi_{K}}, which concludes the second step.

By the linearity of expectation, (C.1) implies

Moreover, for any i∈{0,…,K−1}i\in\{0,\ldots,K-1\}, by expanding (1−γPπK)−1(1-\gamma P^{\pi_{K}})^{-1} into a infinite series, we have

To upper bound the right-hand side of (C.1), we consider the following quantity

Here τ1,…,τm\tau_{1},\ldots,\tau_{m} are mm policies. Recall that PπP^{\pi} is the transition operator of a Markov process defined on S×A{\mathcal{S}}\times\mathcal{A} for any policy π\pi. Then the integral on the right-hand side of (C.24) corresponds to the expectation of the function f(Xt)f(X_{t}), where {Xt}t≥0\{X_{t}\}_{t\geq 0} is a Markov process defined on S×A{\mathcal{S}}\times\mathcal{A}. Such a Markov process has initial distribution X0∼μX_{0}\sim\mu. The first mm transition operators are {Pτj}j∈[m]\{P^{\tau_{j}}\}_{j\in[m]}, followed by jj identical transition operators PπKP^{\pi_{K}}. Hence, (PπK)j(PτmPτm−1⋯Pτ1)μ(P^{\pi_{K}})^{j}(P^{\tau_{m}}P^{\tau_{m-1}}\cdots P^{\tau_{1}})\mu is the marginal distribution of Xj+mX_{j+m}, which we denote by μ~j\widetilde{\mu}_{j} for notational simplicity. Hence, (C.24) takes the form

for any measurable function ff on S×A{\mathcal{S}}\times\mathcal{A}. By Cauchy-Schwarz inequality, we have

Now we combine (C.21), (C.22), and (C.1) to obtain

Recall that in Theorem 6.1 and (C.1) we define εmax⁡=max⁡i∈[K]∥ϱi∥σ\varepsilon_{\max}=\max_{i\in[K]}\|\varrho_{i}\|_{\sigma}. We have that ∥Q∗−QπK∥1,μ\|Q^{*}-Q^{\pi_{K}}\|_{1,\mu} is further upper bounded by

where the last equality follows from the definition of {αi}0≤i≤K\{\alpha_{i}\}_{0\leq i\leq K} in (C.18). We simplify the summation on the right-hand side of (C.28) and use Assumption 4.3 to obtain

where the last inequality follows from (4.5) in Assumption 4.3. Finally, combining (C.28) and (C.1), we obtain

which concludes the third step and hence the proof of Theorem 6.1. ∎

C.2 Proof of Theorem 6.2

For notational simplicity, in the sequel we denote (Si,Ai)(S_{i},A_{i}) by XiX_{i} for all i∈[n]i\in[n]. For any f∈Ff\in\mathcal{F}, we define ∥f∥n2=1/n⋅∑i=1n[f(Xi)]2\|f\|_{n}^{2}=1/n\cdot\sum_{i=1}^{n}[f(X_{i})]^{2}. Since both Q^\widehat{Q} and TQTQ are bounded by Vmax⁡=Rmax⁡/(1−γ)V_{\max}=R_{\max}/(1-\gamma), we only need to consider the case where log⁡Nδ≤n\log N_{\delta}\leq n. Here NδN_{\delta} is the cardinality of N(δ,F,∥⋅∥∞)\mathcal{N}(\delta,\mathcal{F},\|\cdot\|_{\infty}). Moreover, let f1,…,fNδf_{1},\ldots,f_{N_{\delta}} be the centers of the minimal δ\delta-covering of F\mathcal{F}. Then by the definition of δ\delta-covering, there exists k∗∈[Nδ]k^{*}\in[N_{\delta}] such that ∥Q^−fk∗∥∞≤δ\|\widehat{Q}-f_{k^{*}}\|_{\infty}\leq\delta. It is worth mentioning that k∗k^{*} is a random variable since Q^\widehat{Q} is obtained from data.

For each i∈[n]i\in[n], we define ξi=Yi−(TQ)(Xi)\xi_{i}=Y_{i}-(TQ)(X_{i}). Then (C.31) can be written as

In addition, by triangle inequality and (C.33), we have

where fk∗f_{k^{*}} satisfies ∥fk∗−Q^∥∞≤δ\|f_{k^{*}}-\widehat{Q}\|_{\infty}\leq\delta. In the following, we upper bound the two terms on the right-hand side of (C.2) respectively. For the first term, by applying Cauchy-Schwarz inequality twice, we have

It remains to upper bound the second term on the right-hand side of (C.2). We first define NδN_{\delta} self-normalized random variables

for all j∈[Nδ]j\in[N_{\delta}]. Here recall that {fj}j∈[Nδ]\{f_{j}\}_{j\in[N_{\delta}]} are the centers of the minimal δ\delta-covering of F\mathcal{F}. Then we have

where the first inequality follows from triangle inequality and the second inequality follows from the fact that ∥Q^−fk∗∥∞≤δ\|\widehat{Q}-f_{k^{*}}\|_{\infty}\leq\delta. Then applying Cauchy-Schwarz inequality to the last term on the right-hand side of (C.2), we obtain

By the definition of ZjZ_{j} in (C.37), conditioning on {Xi}i∈[n]\{X_{i}\}_{i\in[n]}, ξi⋅[fj(Xi)−(TQ)(Xi)]\xi_{i}\cdot[f_{j}(X_{i})-(TQ)(X_{i})] is a centered and sub-Gaussian random variable with

Moreover, since ZjZ_{j} is a summation of independent sub-Gaussian random variables, by Lemma 5.9 of Vershynin 2010, the ψ2\psi_{2}-norm of ZjZ_{j} satisfies

where C>0C>0 is an absolute constant. Furthermore, by Lemmas 5.14 and 5.15 of Vershynin 2010, Zj2Z_{j}^{2} is a sub-exponential random variable, and its the moment-generating function is bounded by

for any tt satisfying C′⋅∣t∣⋅Hξ2⋅Vmax⁡2≤1C^{\prime}\cdot|t|\cdot H_{\xi}^{2}\cdot V_{\max}^{2}\leq 1, where CC and C′C^{\prime} are two positive absolute constants. Moreover, by Jensen’s inequality, we bound the moment-generating function of max⁡j∈[Nδ]Zj2\max_{j\in[N_{\delta}]}Z_{j}^{2} by

where C>0C>0 is an absolute constant. Hence, plugging (C.42) into (C.2) and (C.2), we upper bound the second term of the right-hand side of (C.33) by

Finally, combining (C.32), (C.36) and (C.2), we obtain the following inequality

where CC and C′C^{\prime} are two positive absolute constants. Here in the first inequality we take the infimum over F\mathcal{F} because (C.31) holds for any f∈Ff\in\mathcal{F}, and the second inequality holds because log⁡Nδ≤n\log N_{\delta}\leq n.

where CC and C′C^{\prime} are two positive absolute constants. Now we conclude the first step.

where the last inquality follows from the fact that ∥TQ∥∞≤Vmax⁡\|TQ\|_{\infty}\leq V_{\max} and ∥f∥∞≤Vmax⁡\|f\|_{\infty}\leq V_{\max} for any f∈Ff\in\mathcal{F}. Then by the definition of ∥Q^−TQ∥σ2\|\widehat{Q}-TQ\|_{\sigma}^{2} and (C.2), we have

where we apply (C.2) to obtain the first inequality, and in the last equality we define

where σ2=∑i=1n\Var(Ui)\sigma^{2}=\sum_{i=1}^{n}\Var(U_{i}) is the variance of ∑i=1nUi\sum_{i=1}^{n}U_{i}.

We first apply Bernstein’s inequality by setting Ui=hj(Xi,X~i)/ΥU_{i}=h_{j}(X_{i},\widetilde{X}_{i})/\Upsilon for each i∈[n]i\in[n]. Then we take a union bound for all j∈[Nδ]j\in[N_{\delta}] to obtain

where the last inequality holds when log⁡Nδ≥4.\log N_{\delta}\geq 4. Moreover, the definition of Υ\Upsilon in (C.50) implies that Υ≤max⁡[2Vmax⁡log⁡Nδ/n,∥Q^−TQ∥σ+δ].\Upsilon\leq\max[2V_{\max}\sqrt{\log N_{\delta}/n},\|\widehat{Q}-TQ\|_{\sigma}+\delta]. In the following, we only need to consider the case where Υ≤∥Q^−TQ∥σ+δ\Upsilon\leq\|\widehat{Q}-TQ\|_{\sigma}+\delta, since we already have (6.3) if ∥Q^−TQ∥σ+δ≤2Vmax⁡log⁡Nδ/n\|\widehat{Q}-TQ\|_{\sigma}+\delta\leq 2V_{\max}\sqrt{\log N_{\delta}/n}, which concludes the proof.

Then, when Υ≤∥Q^−TQ∥σ+δ\Upsilon\leq\|\widehat{Q}-TQ\|_{\sigma}+\delta holds, combining (C.52) and (C.55) we obtain

which concludes the second step of the proof.

Finally, combining these two steps together, namely, (C.46) and (C.2), we conclude that

where C1C_{1} and C2C_{2} are two absolute constants. Moreover, since Q∈FQ\in\mathcal{F}, we have

which concludes the proof of Theorem 6.2. ∎

Appendix D Proof of Theorem 5.4

In this section, we present the proof of Theorem 5.4. The proof is similar to that of Theorem 4.4, which is presented in §6 in details. In the following, we follow the proof in §6 and only highlight the differences for brevity.

The proof requires two key ingredients, namely the error propagation and the statistical error incurred by a single step of Minimax-FQI. We note that Pérolat et al. 2015 establish error propagation for the state-value functions in the approximate modified policy iteration algorithm, which is more general than the FQI algorithm.

Recall that {Q~k}0≤k≤K\{\widetilde{Q}_{k}\}_{0\leq k\leq K} are the iterates of Algorithm 2 and (πK,νK)(\pi_{K},\nu_{K}) is the equilibrium policy with respect to Q~K\widetilde{Q}_{K}. Let QK∗Q_{K}^{*} be the action-value function corresponding to (πK,νπK∗)(\pi_{K},\nu_{\pi_{K}}^{*}), where νπK∗\nu_{\pi_{K}}^{*} is the best-response policy of the second player against πK\pi_{K}. Then under Assumption 5.3, we have

where we define the maximum one-step approximation error εmax⁡=max⁡k∈[K]∥TQ~k−1−Q~k∥σ\varepsilon_{\max}=\max_{k\in[K]}\|T\widetilde{Q}_{k-1}-\widetilde{Q}_{k}\|_{\sigma}, and constant ϕμ,ν\phi_{\mu,\nu} is specified in Assumption 5.3.

We note that the proof of Theorem 6.1 cannot be directly applied to prove this theorem. The main reason is that here we also need to consider the role played by the opponent, namely player two. Different from the MDP setting, here QK∗Q_{K}^{*} is a fixed point of a nonlinear operator due to the fact that player two adopts the optimal policy against πK\pi_{K}. Thus, we need to conduct a more refined analysis. See §D.1 for a detailed proof. ∎

By this theorem, we need to derive an upper bound of εmax⁡\varepsilon_{\max}. We achieve such a goal by studying the one-step approximation error ∥TQ~k−1−Q~k∥σ\|T\widetilde{Q}_{k-1}-\widetilde{Q}_{k}\|_{\sigma} for each k∈[K]k\in[K].

Let F⊆B(S×A×B,Vmax⁡)\mathcal{F}\subseteq\mathcal{B}({\mathcal{S}}\times\mathcal{A}\times\mathcal{B},V_{\max}) be a family of measurable functions on S×A×B{\mathcal{S}}\times\mathcal{A}\times\mathcal{B} that are bounded by Vmax⁡=Rmax⁡/(1−γ)V_{\max}=R_{\max}/(1-\gamma). Also, let {(Si,Ai,Bi)}i∈[n]\{(S_{i},A_{i},B_{i})\}_{i\in[n]} be nn i.i.d. random variables following distribution σ∈P(S×A×B)\sigma\in\mathcal{P}({\mathcal{S}}\times\mathcal{A}\times\mathcal{B}). . For each i∈[n]i\in[n], let RiR_{i} and Si′S_{i}^{\prime} be the reward obtained by the first player and the next state following (Si,Ai,Bi)(S_{i},A_{i},B_{i}). In addition, for any fixed Q∈FQ\in\mathcal{F}, we define the response variable as

Based on {(Xi,Ai,Yi)}i∈[n]\{(X_{i},A_{i},Y_{i})\}_{i\in[n]}, we define Q^\widehat{Q} as the solution to the least-squares problem

Then for any ϵ∈(0,1]\epsilon\in(0,1] and any δ>0\delta>0, we have

By the definition of YiY_{i} in (D.2), for any (s,a,b)∈S×A×min⁡ν′∈P(B)(s,a,b)\in{\mathcal{S}}\times\mathcal{A}\times\min_{\nu^{\prime}\in\mathcal{P}(\mathcal{B})}, we have

Thus, TQTQ can be viewed as the ground truth of the nonlinear least-squares regression problem in (D.3). Therefore, following the same proof of Theorem 6.2, we obtain the desired result. ∎

Now we let F\mathcal{F} be the family of ReLU Q-networks F1\mathcal{F}_{1} defined in (5.9) and set Q=Q~k−1Q=\widetilde{Q}_{k-1} in Theorem D.2. In addition, setting ϵ=1\epsilon=1 and δ=1/n\delta=1/n in (D.4), we obtain

where CC is a positive absolute constant, N1N_{1} is the 1/n1/n-covering number of F1\mathcal{F}_{1}, and function class G1\mathcal{G}_{1} is defined as

Here the second inequality follows from Assumption 5.2.

By the definition of G1\mathcal{G}_{1} in (D.6), for any f∈G1f\in\mathcal{G}_{1} and any (a,b)∈A×B(a,b)\in\mathcal{A}\times\mathcal{B}, we have f(⋅,a,b)∈G({(pj,tj,βj,Hj)}j∈[q])f(\cdot,a,b)\in\mathcal{G}(\{(p_{j},t_{j},\beta_{j},H_{j})\}_{j\in[q]}). Following the same construction as in §C.2, we can find a function f~\widetilde{f} in F(L∗,{dj∗}j=1L∗+1,s∗)\mathcal{F}(L^{*},\{d_{j}^{*}\}_{j=1}^{L^{*}+1},s^{*}) such that

Combining (D.8) with Lemma 6.4 and setting δ=1/n\delta=1/n, we obtain that

Finally, combining (D.1), (D), (D.7), and (D), we conclude the proof of Theorem 5.4. ∎

The proof is similar to the that of Theorem D.1. Before presenting the proof, we first introduce the following notation for simplicity. For any k∈{0,…,K−1}k\in\{0,\ldots,K-1\}, we denote TQ~kT\widetilde{Q}_{k} by Qk+1Q_{k+1} and define ϱk=Qk−Q~k.\varrho_{k}=Q_{k}-\widetilde{Q}_{k}. In addition, throughout the proof, for two action-value functions Q1Q_{1} and Q2Q_{2}, we write Q1≤Q2Q_{1}\leq Q_{2} if Q1(s,a,b)≥Q2(s,a,b)Q_{1}(s,a,b)\geq Q_{2}(s,a,b) for any (s,a,b)∈S×A×B(s,a,b)\in{\mathcal{S}}\times\mathcal{A}\times\mathcal{B}, and define Q1≥Q2Q_{1}\geq Q_{2} similarly. Furthermore, we denote by (πk,νk)(\pi_{k},\nu_{k}) and (π∗,ν∗)(\pi^{*},\nu^{*}) the equilibrium policies with respect to Q~k\widetilde{Q}_{k} by Q∗Q^{*}, respectively. Besides, in addition to the Bellman operators Tπ,νT^{\pi,\nu} and TT defined in (5.4) and (5.5), for any policy π\pi of the first player, we define

corresponds to the case where the first player follows policy π\pi and player 2 adopts the best policy in response to π\pi. By this definition, it holds that Q∗=Tπ∗Q∗Q^{*}=T^{\pi^{*}}Q^{*}. Unlike the MDP setting, here TπT^{\pi} is a nonlinear operator due to the minimization in (D.10). Furthermore, for any fixed action-value function QQ, we define the best-response policy against π\pi with respect to QQ, denote by ν(π,Q)\nu(\pi,Q), as

Using this notation, we can write (D.10) equivalently as

Notice that Pπ,ν(π,Q)P^{\pi,\nu(\pi,Q)} is a linear operator and that νQ=ν(πQ,Q)\nu_{Q}=\nu(\pi_{Q},Q) by definition.

Now we are ready to present the proof, which can be decomposed into three key steps.

Step (i): In the first step, we establish recursive upper and lower bounds for {Q∗−Q~k}0≤k≤K\{Q^{*}-\widetilde{Q}_{k}\}_{0\leq k\leq K}. For each k∈{0,…,K−1}k\in\{0,\ldots,K-1\}, similar to the decomposition in (C.1), we have

where π∗\pi^{*} is part of the equilibrium policy with respect to Q∗Q^{*} and Tπ∗T^{\pi^{*}} is defined in (D.10).

Similar to Lemma C.1, we utilize the following lemma to show Tπ∗Q~k≥TQ~kT^{\pi^{*}}\widetilde{Q}_{k}\geq T\widetilde{Q}_{k}.

Furthermore, for any policy π ⁣:S→P(A)\pi\colon{\mathcal{S}}\rightarrow\mathcal{P}(\mathcal{A}) of player one and any action-value function QQ, we have

for any policy ν ⁣:S→P(B)\nu\colon{\mathcal{S}}\rightarrow\mathcal{P}(\mathcal{B}), where ν(π,Q)\nu(\pi,Q) is the best-response policy defined in (D.11).

Note that for any s′∈Ss^{\prime}\in{\mathcal{S}}, by the definition of equilibrium policy, we have

Thus, for any state-action tuple (s,a,b)(s,a,b), taking conditional expectations of ss with respect to P(⋅ ∣ s,a,b)P(\cdot{\,|\,}s,a,b) on both ends of this equation, we have

which proves TπQQ=TQT^{\pi_{Q}}Q=TQ. Moreover, for any policy π\pi of the first player, it holds that

Taking expectations with respect to s′∼P(⋅ ∣ s,a,b)s^{\prime}\sim P(\cdot{\,|\,}s,a,b) on both ends, we establish TQ≥TπQTQ\geq T^{\pi}Q.

It remains to show the second part of Lemma D.3. By the definition of ν(π,Q)\nu(\pi,Q), we have

which, combined with the definition of TπT^{\pi} in (D.10), implies that Tπ,ν(π,Q)Q=TπQT^{\pi,\nu(\pi,Q)}Q=T^{\pi}Q. Finally, for any policy ν\nu of player two, we have

which yields TπQ≤Tπ,νQT^{\pi}Q\leq T^{\pi,\nu}Q. Thus, we conclude the proof of this lemma. ∎

Hereafter, for notational simplicity, for each kk, let (πk,νk)(\pi_{k},\nu_{k}) be the equilibrium joint policy with respect to Q~k\widetilde{Q}_{k}, and we denote ν(π∗,Q~k)\nu(\pi^{*},\widetilde{Q}_{k}) and ν(πk,Q∗)\nu(\pi_{k},Q^{*}) by ν~k\widetilde{\nu}_{k} and νˉk\bar{\nu}_{k}, respectively. Applying Lemma D.3 to (D.12) and utilizing the fact that Q∗=Tπ∗Q∗Q^{*}=T^{\pi^{*}}Q^{*}, we have

where the last inequality follows from (D.13). Furthermore, for a lower bound of Q∗−Q~k+1Q^{*}-\widetilde{Q}_{k+1}, similar to (C.1), we have

where the both inequalities follow from Lemma D.3. Thus, combining (D.1) and (D.1) we have

for any k∈{0,…,K−1}k\in\{0,\ldots,K-1\}. Similar to the proof of Lemma C.2 , by applying recursion to (D.16), we obtain the following upper and lower bounds for the error propagation of Algorithm 2.

The desired results follows from applying the inequalities in (D.16) multiple times and the linearity of the operator Pπ,νP^{\pi,\nu} for any joint policy (π,ν)(\pi,\nu). ∎

The above lemma establishes recursive upper and lower bounds for the error terms {Q∗−Q~k}0≤k≤K−1\{Q^{*}-\widetilde{Q}_{k}\}_{0\leq k\leq K-1}, which completes the first step of the proof.

Step (ii): In the second step, we characterize the suboptimality of the equilibrium policies constructed by Algorithm 2. Specifically, for each πk\pi_{k}, we denote by Qk∗Q_{k}^{*} the action-value function obtained when agent one follows πk\pi_{k} while agent two adopt the best-response policy against πk\pi_{k}. In other words, Qk∗Q^{*}_{k} is the fixed point of Bellman operator TπkT^{\pi_{k}} defined in (D.10). In the following, we obtain an upper bound of Q∗−Qk∗Q^{*}-Q_{k}^{*}, which establishes the a notion of suboptimality of policy (πk,νk)(\pi_{k},\nu_{k}) from the perspective of the first player.

To begin with, for any kk, we first decompose Q∗−Qk∗Q^{*}-Q_{k}^{*} by

Since πk\pi_{k} is the equilibrium policy with respect to Q~k\widetilde{Q}_{k}, by Lemma D.3, we have Tπ∗Q~k≤TπkQ~k.T^{\pi^{*}}\widetilde{Q}_{k}\leq T^{\pi_{k}}\widetilde{Q}_{k}. Recall that (π∗,ν∗)(\pi^{*},\nu^{*}) is the joint equilibrium policy with respect to Q∗Q^{*}. The second argument of Lemma D.3 implies that

where ν~k=ν(π∗,Q~k)\widetilde{\nu}_{k}=\nu(\pi^{*},\widetilde{Q}_{k}) and we define ν^k=ν(πk,Qk∗)\widehat{\nu}_{k}=\nu(\pi_{k},Q_{k}^{*}). Thus, combining (D.19) and (D.20) yields that

Furthermore, since I−γ⋅Pπk,ν^kI-\gamma\cdot P^{\pi_{k},\widehat{\nu}_{k}} is invertible, by (D.1) we have

To simplify the notation, we define {αi}i=0K\{\alpha_{i}\}_{i=0}^{K} as in (C.18). Note that we have ∑i=0Kαi=1\sum_{i=0}^{K}\alpha_{i}=1 by definition. Moreover, we define K+1K+1 linear operators {Ok}k=0K\{O_{k}\}_{k=0}^{K} as follows. For any i≤K−1i\leq K-1, let

Therefore, taking absolute values on both sides of (D.25), we obtain that

for any (s,a,b)∈S×A×B(s,a,b)\in{\mathcal{S}}\times\mathcal{A}\times\mathcal{B}, which concludes the second step of the proof.

By the definition of OiO_{i}, we can write μ(Oi∣ϱi+1∣)\mu(O_{i}|\varrho_{i+1}|) as

To upper bound the right-hand side of (D.28), we consider the following quantity

where {τt ⁣:S→P(A×B)}t∈[m]\{\tau_{t}\colon{\mathcal{S}}\rightarrow\mathcal{P}(\mathcal{A}\times\mathcal{B})\}_{t\in[m]} are mm joint policies of the two-players. By Cauchy-Schwarz inequality, it holds that

where κ(m;μ,σ)\kappa(m;\mu,\sigma) is the mm-th concentration parameter defined in (5.10). Thus, by (D.28)we have

Finally, combining (D.27), (D.29), and (D.30), we obtain that

where the last inequality follows from the fact that εmax⁡=max⁡i∈[K]∥ϱi∥σ\varepsilon_{\max}=\max_{i\in[K]}\|\varrho_{i}\|_{\sigma}. Note that in (C.1) we show that it holds under Assumption 5.3 that

Hence, we obtain (D.1) and thus conclude the proof of Theorem D.1. ∎

References