Model-Based Multi-Agent RL in Zero-Sum Markov Games with Near-Optimal Sample Complexity

Kaiqing Zhang, Sham M. Kakade, Tamer Başar, Lin F. Yang

Introduction

Recent years have witnessed numerous successes of reinforcement learning (RL) in many applications, e.g., playing strategy games (OpenAI, 2018; Vinyals et al., 2019), playing the game of Go (Silver et al., 2016, 2017), autonomous driving (Shalev-Shwartz et al., 2016), and security (Nguyen and Reddi, 2019; Zhang et al., 2019b). Most of these successful applications involve more than one decision-maker, giving birth to the surging interests and efforts in studying multi-agent RL (MARL) recently, especially on the theoretical side (Wei et al., 2017; Zhang et al., 2018a; Sidford et al., 2020; Zhang et al., 2019a; Xie et al., 2020; Shah et al., 2020; Bai and Jin, 2020; Bai et al., 2020). See also comprehensive surveys on MARL in Busoniu et al. (2008); Zhang et al. (2021a); Nguyen et al. (2020).

In general MARL, all agents affect both the state transition and the rewards of each other, while each agent may possess different, sometimes even totally conflicting objectives. Without knowledge of the model, the agents have to resort to data to either estimate the model, improve their own policy, and/or infer other agents’ policies. One fundamental challenge in MARL is the emergence of non-stationarity during the learning process (Busoniu et al., 2008; Zhang et al., 2021a): when multiple agents improve their policies concurrently and directly using samples, the environment becomes non-stationary from each agent’s perspective. This has posed great challenge to development of effective MARL algorithms based on single-agent ones, especially model-free ones, as the condition for guaranteeing convergence in the latter fails to hold in MARL. One tempting remedy for this non-stationarity issue is the simple while intuitive method — model-basedNote that we here follow the convention of model-based approach in the generative model setting (Azar et al., 2013; Agarwal et al., 2019a; Li et al., 2020), which separates these two stages explicitly. In general, model-based RL approaches do not have to separate the two stages, see e.g., Bayesian RL (Poupart et al., 2006; Ghavamzadeh et al., 2015), and model-based RL in online exploration settings (Azar et al., 2017; Bai and Jin, 2020). MARL: one first estimates an empirical model using data, and then finds the optimal, more specifically, equilibrium policies in this empirical model, via planning. Model-based MARL naturally decouples the learning and planning phases, and can be incorporated with any black-box planning algorithm that is efficient, e.g., value iteration (Shapley, 1953) and (generalized) policy iteration (Patek, 1997; Pérolat et al., 2015). More importantly, after estimating the model, this approach can potentially handle more than one MARL tasks with different reward functions but a common transition model, without re-sampling the data. Being able to handle this reward-agnostic case greatly expands the power of such a model-based approach.

Though intuitive and widely-used, rigorous theoretical justifications for these model-based MARL methods are relatively rare. In this work, our goal is to answer the following standing question: how good is the performance of this naïve “plug-in” method in terms of non-asymptotic sample complexity? To this end, we focus on arguably the most basic MARL setting since Littman (1994): two-player discounted zero-sum Markov games (MGs) with simultaneous-move agents, given only access to a generative model. This generative model allows agents to sample the MG, and query the next state from the transition process, given any state-action pair as input. The generative model setting has been a benchmark in RL when studying the sample efficiency of algorithms (Kearns and Singh, 1999; Kakade, 2003; Azar et al., 2013; Sidford et al., 2018; Agarwal et al., 2019a). Indeed, this model allows for the study of sample-based multi-agent planning over a long horizon, and helps develop better understanding of the statistical properties of the algorithms, decoupled from the exploration complexity.

Motivated by recent minimax optimal complexity results for single-agent model-based RL (Agarwal et al., 2019a), we address the question above with a positive answer: the model-based MARL approach can achieve near-minimax optimal sample complexity — in terms of dependencies on the size of the state space, the horizon, and the desired accuracy — for finding both the Nash equilibrium (NE) value and the NE policies. We also provide a separation in the achievable sample complexity, unique to the multi-agent setting, where, with regards to the dependencies on the number of actions, the naïve model-based approach is sub-optimal. A detailed description is provided next.

We establish the sample complexities of model-based MARL in zero-sum discounted Markov games, when a generative model is available. First, observing that the sampling process in this setting is agnostic to the reward function, we distinguish between two algorithmic frameworks: reward-aware and reward-agnostic cases, depending on whether the reward is revealed before or after the sampling. The model-based approach can inherently handle both cases, especially the latter case with multiple reward functions, without re-sampling the data. Second, by establishing lower bounds for both cases, we show that there is indeed a separation in sample complexity, which is unique in the multi-agent setting. Third, we show that up to some logarithmic factors, the model-based approach is indeed minimax optimal in all parameters in the more challenging reward-agnostic case, and has only a gap on the ∣A∣,∣B∣|\mathcal{A}|,|\mathcal{B}| (both agents’ action space size) dependence in the reward-aware case. This separation and the (near-)minimax results have not only justified the sample efficiency of this simple approach, but also highlighted both its power (easily handling multiple reward functions known in hindsight) and its limitation (less adaptive and can hardly achieve optimal complexity with reward knowledge), particularly arising in the multi-agent RL context. These results are first-of-their-kind in model-based MARL, and among the first (near-)minimax results in general MARL, to the best of our knowledge. We also believe that this separation may shed some light on the choice of model-free and model-based approaches in various MARL scenarios in practice, and provide new understandings for algorithm-design in other MARL settings, e.g., with no generative model, and going beyond two-player zero-sum MGs.

Related Work.

Stemming from the formative work Littman (1994), MARL has been mostly studied under the framework of Markov games (Shapley, 1953). There has been no shortage of provably convergent MARL algorithms ever since then (Littman, 2001; Hu and Wellman, 2003; Greenwald et al., 2003). However, most of these early results are Q-learning-based (thus model-free) and asymptotic, with no sample complexity guarantees. To establish non-asymptotic results, Pérolat et al. (2015, 2016a, 2016b); Fan et al. (2019); Zhang et al. (2018b) have studied the sample complexity of batch model-free MARL methods. There are also increasing interests in policy-based (thus also model-free) methods for solving special MGs with non-asymptotic convergence guarantees (Pérolat et al., 2018; Srinivasan et al., 2018; Zhang et al., 2019a). No result on the (near-)minimax optimality of these complexities has been established prior to the present work.

Specific to the two-player zero-sum setting, Jia et al. (2019) and Sidford et al. (2020) have considered turn-based MGs, a special case of the simultaneous-move MGs considered here, with a generative model. Specifically, Sidford et al. (2020) established near-optimal sample complexity of O~((1−γ)−3ϵ−2)\widetilde{\mathcal{O}}((1-\gamma)^{-3}\epsilon^{-2}) for a variant of Q-learning for this setting. More recently, Bai and Jin (2020); Xie et al. (2020) have established both regret and sample complexity guarantees for episodic zero-sum MGs, without a generative model, with focus on efficient exploration. The work in Shah et al. (2020) also focused on the turn-based setting, and combined Monte-Carlo Tree Search and supervised learning to find the NE values. In contrast, model-based MARL theory has relatively limited literature. Brafman and Tennenholtz (2002) proposed the R-MAX algorithm for average-reward MGs, with polynomial sample complexity. Wei et al. (2017) developed a model-based upper confidence algorithm with polynomial sample complexities for the same setting. These methods differ from ours, as they are either specific model-free approaches, or not clear yet if they are (near-)minimax optimal in the corresponding setups. Concurrent to our work, Bai et al. (2020) developed model-free algorithms with near-optimal sample complexities in episodic settings without a generative model. The results are optimal in ∣S∣,∣A∣,∣B∣|{\mathcal{S}}|,|\mathcal{A}|,|\mathcal{B}| dependence, but not in the horizon HH. Finally, we note that MARL in Markov games is not restricted to the competitive setting of two-player zero-sum, and the studies in (multi-player) cooperative/potential settings (Leonardos et al., 2021; Zhang et al., 2021b; Ding et al., 2022; Sayin et al., 2022) and general-sum settings (Hu and Wellman, 2003; Liu et al., 2021; Jin et al., 2021; Mao et al., 2022; Mao and Başar, 2023) also exist, and is not the focus of the present paper.

In the single-agent regime, there has been extensive literature on non-asymptotic efficiency of RL in MDPs; see Kearns and Singh (1999); Kakade (2003); Strehl et al. (2009); Jaksch et al. (2010); Azar et al. (2013); Osband and Van Roy (2014); Dann and Brunskill (2015); Azar et al. (2017); Wang (2017); Sidford et al. (2018); Jin et al. (2018); Li et al. (2020). Amongst them, we highlight the minimax optimal ones: Azar et al. (2013) and Azar et al. (2017) have provided minimax optimal results for sample complexity and regret in the settings with and without a generative model, respectively. Specifically, Azar et al. (2013) has shown that to achieve the ϵ\epsilon-optimal value in Markov decision processes (MDPs), at least Ω~(∣S∣∣A∣(1−γ)−3ϵ−2)\widetilde{\Omega}(|{\mathcal{S}}||\mathcal{A}|(1-\gamma)^{-3}\epsilon^{-2}) samples are needed, for ϵ∈(0,1]\epsilon\in(0,1]. They also showed that to find an ϵ\epsilon-optimal policy, the same minimax complexity order in 1−γ1-\gamma and ϵ\epsilon can be attained, if ϵ∈(0,(1−γ)−1/2∣S∣−1/2]\epsilon\in(0,(1-\gamma)^{-1/2}|{\mathcal{S}}|^{-1/2}] and the total sample complexity is O~(∣S∣2∣A∣)\widetilde{\mathcal{O}}(|{\mathcal{S}}|^{2}|\mathcal{A}|), which is in fact linear in the model size. Later, Sidford et al. (2018) has proposed a Q-learning based approach to attain this lower bound and remove the extra dependence on ∣S∣|{\mathcal{S}}|, for ϵ∈(0,1]\epsilon\in(0,1]. More recently, Agarwal et al. (2019a) developed new techniques based on absorbing MDPs, to show that model-based RL also achieves the lower bound for finding an ϵ\epsilon-optimal policy, with a larger ϵ\epsilon range of (0,(1−γ)−1/2](0,(1-\gamma)^{-1/2}]While preparing the present work, Li et al. (2020) has further improved the minimax optimal results in Agarwal et al. (2019a), in that they cover the entire range of sample sizes. We believe the improvement can also be incorporated in the MARL setting here, which is left as our future work.. Finally, our separation of the reward-agnostic case is motivated by the recent novel framework of reward-free RL in Jin et al. (2020).

Preliminaries

Consider a zero-sum MGWe will hereafter refer to this model simply as a MG. G\mathcal{G} characterized by (S,A,B,P,r,γ)({\mathcal{S}},\mathcal{A},\mathcal{B},P,r,\gamma), where S{\mathcal{S}} is the state space; A,B\mathcal{A},\mathcal{B} are the action spaces of agents 11 and 22, respectively; P:S×A×B→Δ(S)P:{\mathcal{S}}\times\mathcal{A}\times\mathcal{B}\to\Delta({\mathcal{S}}) denotes the transition probability of states; r:S×A×B→r:{\mathcal{S}}\times\mathcal{A}\times\mathcal{B}\to denotes the reward functionOur results can be generalized to other ranges of reward function by a standard reduction, see e.g., Sidford et al. (2018), and randomized reward functions. of agent 11 (thus −r-r is the bounded reward function of agent 22); and γ∈[0,1)\gamma\in[0,1) is the discount factor. The goal of agent 11 (agent 22) is to maximize (minimize) the long-term accumulative discounted reward. In MARL, the agents aim to achieve this goal using data samples collected from the model.

At each time tt, agent 11 (agent 22) has a stationary (not necessarily deterministic) policy μ:S→Δ(A)\mu:{\mathcal{S}}\to\Delta(\mathcal{A}) (ν:S→Δ(B)\nu:{\mathcal{S}}\to\Delta(\mathcal{B})), where Δ(X)\Delta(\mathcal{X}) denotes the space of all probability measures over X\mathcal{X}, so that at∼μ(⋅ ∣ st)a_{t}\sim\mu(\cdot{\,|\,}s_{t}) (bt∼ν(⋅ ∣ st)b_{t}\sim\nu(\cdot{\,|\,}s_{t})). The state makes a transition from sts_{t} to st+1s_{t+1} following the probability distribution P(⋅ ∣ st,at,bt)P(\cdot{\,|\,}s_{t},a_{t},b_{t}), given (at,bt)(a_{t},b_{t}). As in the MDP model, one can define the state-value function under a pair of joint policies (μ,ν)(\mu,\nu) as

Note that Vμ,ν(s)∈[0,1/(1−γ)]V^{\mu,\nu}(s)\in[0,1/(1-\gamma)] for any s∈Ss\in{\mathcal{S}} as r∈r\in, and the expectation is taken over the random trajectory produced by the joint policy (μ,ν)(\mu,\nu). Also, the state-action/Q-value function under (μ,ν)(\mu,\nu) is defined by

The solution concept considered is the (approximate) Nash equilibrium, as defined below.

For a zero-sum MG (S,A,B,P,r,γ)({\mathcal{S}},\mathcal{A},\mathcal{B},P,r,\gamma), a Nash equilibrium policy pair (μ∗,ν∗)(\mu^{*},\nu^{*}) satisfies the following pair of inequalitiesIn game theory, this pair is commonly referred to as saddle-point inequalities. for any s∈Ss\in{\mathcal{S}}, μ∈Δ(A)∣S∣\mu\in\Delta(\mathcal{A})^{|{\mathcal{S}}|}, and ν∈Δ(B)∣S∣\nu\in\Delta(\mathcal{B})^{|{\mathcal{S}}|}

If (1) holds with some ϵ>0\epsilon>0 relaxation, i.e., for some policy (μ′,ν′)(\mu^{\prime},\nu^{\prime}), such that

then (μ′,ν′)(\mu^{\prime},\nu^{\prime}) is an ϵ\epsilon-Nash equilibrium policy pair.

By Shapley (1953); Patek (1997), there exists a Nash equilibrium policy pair (μ∗,ν∗)∈Δ(A)∣S∣×Δ(B)∣S∣(\mu^{*},\nu^{*})\in\Delta(\mathcal{A})^{|{\mathcal{S}}|}\times\Delta(\mathcal{B})^{|{\mathcal{S}}|} for two-player discounted zero-sum MGs. The state-value V∗:=Vμ∗,ν∗V^{*}:=V^{\mu^{*},\nu^{*}} is referred to as the value of the game. The corresponding Q-value function is denoted by Q∗Q^{*}. The objective of the two agents is to find the NE policy of the MG, namely, to solve the saddle-point problem

for every s∈Ss\in{\mathcal{S}}, where the order of max⁡\max and min⁡\min can be interchanged (Von Neumann et al., 1953; Shapley, 1953). For notational convenience, for any policy (μ,ν)(\mu,\nu), we define

and denote the corresponding optimizers by ν(μ)\nu(\mu) and μ(ν)\mu(\nu), respectively. We refer to these values and optimizers as the best-response values and policies, given μ\mu and ν\nu, respectively.

Reward-Aware v.s. Reward-Agnostic.

We first differentiate between two algorithmic mechanisms in the generative-model setting. In the reward-aware case, the reward function is either known to the agents (Azar et al., 2013; Sidford et al., 2018; Agarwal et al., 2019a; Sidford et al., 2020; Li et al., 2020), or can at least be estimated from data. The reward knowledge can thus be used to potentially guide the sampling process, making the algorithm adaptive. In the reward-agnostic case, reward knowledge is not used to guide sampling, and is possibly only revealed after the sampling. This especially fits in the scenario when there is more than one reward function of interest, or when the reward function is engineered iteratively, since it can now handle a class of reward functions that are not pre-specified, without re-sampling the data for each of them. Existing works in single-agent settings have no such a separation (Azar et al., 2013; Sidford et al., 2018; Agarwal et al., 2019b; Li et al., 2020), as the sample complexity of estimating the reward function is typically of lower order, and the reward function is thus assumed to be known. In particular, the model-based approaches in Azar et al. (2013); Agarwal et al. (2019b); Li et al. (2020) are reward-agnostic, while the model-free approaches in Sidford et al. (2018, 2020) are reward-aware. Interestingly, in two-agent Markov games, whether the reward is known beforehand or not may lead to different sample complexity lower-bounds, as we will see in §3.1. We thus point out this separation here for clarity.

The reward-agnostic case we advocate here is closely related to the recent novel algorithmic framework of reward-free RL (Jin et al., 2020), where there are also two phases, exploration and planning, while trajectories are only collected in the exploration phase, without any reward knowledge, and various reward functions are fed to the algorithm for evaluation in the planning phase. One key difference is that the reward-free setting aims to be effective for all reward function in the planning phase simultaneously, while the reward-agnostic setting only focuses on handling the underlying single-reward (or a few, e.g., polynomial number of, reward functions) that is not pre-specified. Being less general than the pure reward-free setting, the sample complexity bounds are thus possibly better, as we will show in §3.

Model-Based Approach with Generative Model.

As a standard setting, suppose that we have access to a generative model/sampler, which can provide us with samples s′∼P(⋅ ∣ s,a,b)s^{\prime}\sim P(\cdot{\,|\,}s,a,b) for any (s,a,b)(s,a,b). The model-based MARL algorithm simply calls the sampler NN times at each state-joint-action pair (s,a,b)(s,a,b), and constructs an empirical estimate of the transition model PP, denoted by P^\widehat{P}, following

Here count(s′,s,a,b)\text{count}(s^{\prime},s,a,b) is the number of times the state-action pair (s,a,b)(s,a,b) forces a transition to state s′s^{\prime}. Note that the reward function is not estimated, in either the reward-aware or reward-agnostic cases, as for the former, the sample complexity of estimating rr is only a lower order term, and rr is thus typically assumed to be known (Azar et al., 2013; Sidford et al., 2018; Agarwal et al., 2019a; Li et al., 2020); while for the latter, no reward information is even available in the sampling processes. This model-based approach via estimating PP inherently handles both cases. Such a model-estimation can be implemented by both agents independently.

Planning Oracle.

The reward function, together with the empirical transition model P^\widehat{P} and the components (S,A,B,γ)({\mathcal{S}},\mathcal{A},\mathcal{B},\gamma) in the true model G\mathcal{G}, constitutes an empirical game model G^\widehat{\mathcal{G}}. As in Azar et al. (2013); Agarwal et al. (2019a); Jin et al. (2020); Li et al. (2020) for single-agent RL, we assume that an efficient planning oracle is available, which takes G^\widehat{\mathcal{G}} as input, and outputs a policy pair (μ^,ν^)(\widehat{\mu},\widehat{\nu}). This oracle decouples the statistical and computational aspects of the empirical model G^\widehat{\mathcal{G}}. The output policy pair, referred to as being near-equilibrium, is assumed to satisfy certain ϵopt\epsilon_{opt}-order of equilibrium, in terms of value functions, and we evaluate the performance of (μ^,ν^)(\widehat{\mu},\widehat{\nu}) on the original MG G\mathcal{G}. Common planning algorithms include value iteration (Shapley, 1953) and (generalized) policy iteration (Patek, 1997; Pérolat et al., 2015), which are efficient in finding the (ϵ\epsilon-)NE of G^\widehat{\mathcal{G}}. In addition, it is not hard to have an oracle that is smooth in generating policies, i.e., the change of the approximate NE policies can be bounded by the changes of the NE value. See our Definition 7 later for a formal statement. Finally, we note that our definition of model-based approach in the generative-model-setting follows from that in (Azar et al., 2013; Agarwal et al., 2019a; Li et al., 2020), which separates these two stages explicitly. In general, model-based RL approaches do not have to separate the two stages, see e.g., Bayesian RL (Ghavamzadeh et al., 2015), and model-based RL in online exploration settings (Azar et al., 2017; Bai and Jin, 2020).

Main Results

We now introduce the main results of this paper. For notational convenience, we use V^μ,ν\widehat{V}^{\mu,\nu}, V^μ,∗\widehat{V}^{\mu,*}, V^∗,ν\widehat{V}^{*,\nu}, and V^∗\widehat{V}^{*} to denote the value under (μ,ν)(\mu,\nu), the best-response value under μ\mu and ν\nu, and the NE value, under the empirical game model G^\widehat{\mathcal{G}}, respectively. A similar convention is also used for Q-functions.

We first establish lower bounds on both approximating the NE value function and learning the ϵ\epsilon-NE policy pair, in both reward-aware and reward-agnostic cases.

Let G\mathcal{G} be an unknown zero-sum MG, and the agents learn in a reward-aware case, i.e., the reward knowledge is available during sampling. Then, there exist ϵ0,δ0>0\epsilon_{0},\delta_{0}>0, such that for all ϵ∈(0,ϵ0)\epsilon\in(0,\epsilon_{0}), δ∈(0,δ0)\delta\in(0,\delta_{0}), the sample complexity of learning an ϵ\epsilon-NE policy pair, or an ϵ\epsilon-approximate NE value, i.e., finding a Q^\widehat{Q} such that ∥Q^−Q∗∥∞≤ϵ\|\widehat{Q}-Q^{*}\|_{\infty}\leq\epsilon for G\mathcal{G}, with a generative model with probability at least 1−δ1-\delta, is \widetilde{\Omega}\big{(}{|{\mathcal{S}}|(|\mathcal{A}|+|\mathcal{B}|)}{(1-\gamma)^{-3}\epsilon^{-2}}\log({1}/{\delta})\big{)}.

The proof of Lemma 3, via a straightforward adaptation from the lower bounds for MDPs (Azar et al., 2013; Feng et al., 2019), is provided in §A.1. In particular, one can design a two-player zero-sum Markov game such that one of the players is dummy – she has no control on the reward nor the transition dynamics. Then, the existing lower bound in Azar et al. (2013); Feng et al. (2019) for MDPs leads to the desired result. Note that as in Azar et al. (2013); Sidford et al. (2018, 2020); Agarwal et al. (2019a); Li et al. (2020), the reward function is known in this case. As we will show momentarily, our sample complexity is tight in 1−γ1-\gamma and ∣S∣|{\mathcal{S}}|, while has a gap in ∣A∣,∣B∣|\mathcal{A}|,|\mathcal{B}| dependence (O~(∣A∣∣B∣)\widetilde{\mathcal{O}}(|\mathcal{A}||\mathcal{B}|) versus Ω~(∣A∣+∣B∣)\widetilde{\Omega}(|\mathcal{A}|+|\mathcal{B}|)). In §A.1, we discuss that the Ω~(∣A∣+∣B∣)\widetilde{\Omega}(|\mathcal{A}|+|\mathcal{B}|) lower bound may not be improved in this reward-aware case, and might be attainable by model-free algorithms instead (as O~(∣A∣∣B∣)\widetilde{\mathcal{O}}(|\mathcal{A}||\mathcal{B}|) is inherent in model-based approaches due to estimating PP). Interestingly, in the concurrent work Bai et al. (2020), under a different MARL setting, such an Ω~(∣A∣+∣B∣)\widetilde{\Omega}(|\mathcal{A}|+|\mathcal{B}|) complexity is indeed shown to be attainable by a model-free algorithm with online updates.

On the other hand, note that our model-based approach can inherently also handle the more challenging reward-agnostic case. Indeed, estimating the transition model PP seems a bit of an overkill for the reward-aware case, in terms of sample complexity. A natural two-part question then becomes: what is the sample complexity lower bound in this more challenging reward-agnostic case, and can the model-based approach attain it? We formally answer the first part of the question in the following theorem, whose proof is deferred to §A.2, and answer the second part in §3.2 and §3.3.

Let G\mathcal{G} be an unknown zero-sum MG, and the agents learn in a reward-agnostic case, i.e., they first call the generative model for sampling, without reward knowledge, and then are fed with the reward function rr in G\mathcal{G}, for finding either an ϵ\epsilon-NE policy pair, or an ϵ\epsilon-approximate NE value for G\mathcal{G}. Then, there exist ϵ0,δ0>0\epsilon_{0},\delta_{0}>0, such that for all ϵ∈(0,ϵ0)\epsilon\in(0,\epsilon_{0}), δ∈(0,δ0)\delta\in(0,\delta_{0}), the sample complexity of achieving either goal with probability at least 1−δ1-\delta, is

Compared to Lemma 3, the dependence on ∣A∣,∣B∣|\mathcal{A}|,|\mathcal{B}| is increased from Ω~(∣A∣+∣B∣)\widetilde{\Omega}(|\mathcal{A}|+|\mathcal{B}|) to Ω~(∣A∣∣B∣)\widetilde{\Omega}(|\mathcal{A}||\mathcal{B}|). Several remarks are now in order. First, this suggests that without guidance from the reward, the reward-agnostic case can be more challenging to tackle. The intuition is that, when the reward is only given in hindsight, which might be chosen adversarially, costs the algorithm to at least sample at all ∣A∣∣B∣|\mathcal{A}||\mathcal{B}| elements in the Q-value Q(s,⋅,⋅)Q(s,\cdot,\cdot) at each state ss often enough. Second, when reduced to the single-agent setting (e.g., with ∣B∣=1|\mathcal{B}|=1), such a separation disappears, showing its unique emergence in the multi-agent setting, and explaining why these two cases were not differentiated explicitly in the single-agent literature. Third, this lower bound is also related to the reward-free setting (Jin et al., 2020) with a single unknown reward (not infinitely many as in Jin et al. (2020)).

The basic intuition regarding the separation between the lower bounds in reward-aware and reward-agnostic cases, when compared to the single-agent setting (where there is no such a separation), is the insensitivity of Nash equilibrium (NE) to the changes in payoff matrices in two-player zero-sum games (Jansen, 1981). In particular, NE in general depends on the joint behavior and preferences of both agents. Specifically, to construct the lower bound (even in the single-agent case, see e.g., Azar et al. (2013); Feng et al. (2019)), we needed to carefully perturb the Q-value function at each state-action pair of some null hypothesis instance, so that the solution (which is the maximum in the single-agent case, and Nash equilibrium in the multi-agent case) is also changed in the perturbed alternative hypothesis cases. Hence, for each alternative hypothesis case, we need to change the NE by only changing O(1)\mathcal{O}(1) elements in the payoff matrix, i.e., the Q-value table. In the reward-aware setting, since the reward is known (or can be estimated accurately with negligible sample complexity), we can only perturb the transition matrix to perturb the Q-value table, which share the same size (i.e., the degree-of-freedom). Due to the insensitivity, we can hardly construct Θ(∣A∣∣B∣)\Theta(|\mathcal{A}||\mathcal{B}|) different hard cases (as needed to construct a Ω(∣A∣∣B∣)\Omega(|\mathcal{A}||\mathcal{B}|) lower bound) while by only perturbing O(1)\mathcal{O}(1) elements in the transition matrix in each case. Note that such a perturbation can be effective in the single-agent MDP setting, as by only perturbing one element in the transition matrix, the maximum of the Q-value can be changed, see e.g., Azar et al. (2013); Feng et al. (2019).

In contrast, in the reward-agnostic setting, the reward information is given after the sampling phase and the estimation of the model. This way, more freedom is allowed to construct Θ(∣A∣∣B∣)\Theta(|\mathcal{A}||\mathcal{B}|) different hard cases, by adversarially choosing the reward function afterwards. In particular, the Q-value will be affected by both the transition matrix and the reward, and with polynomial number of reward functions, we were able to construct Q-value tables in Θ(∣A∣∣B∣)\Theta(|\mathcal{A}||\mathcal{B}|) different hard cases. Note that taking a union bound over the polynomial number of reward functions do not affect the total sample complexity, as it is still dominated by the sample complexity of estimating the transition matrix. In other words, the freedom of constructing and perturbing the reward functions adversarially afterwards forces the algorithm to estimate all the elements in the transition matrix well, in order to handle the reward-agnostic setting. This has been inherently done by our model-based approach. We defer more details about the lower bounds comparison in Appendix A.

2 Near-Optimality in Finding ϵitalic-ϵ\epsilon-Approximate NE Value

We now establish the near-minimax optimal sample complexities of model-based MARL. Note that theses results apply to both reward-aware and reward-agnostic cases, as the implementation of our model-based approach does not rely on the reward function. We start by showing the sample complexity to achieve an ϵ\epsilon-approximate NE value.

Suppose that the policy pair (μ^,ν^)(\widehat{\mu},\widehat{\nu}) is obtained from the Planning Oracle using the empirical model G^\widehat{\mathcal{G}}, which satisfies

Then, for any δ∈(0,1]\delta\in(0,1] and ϵ∈(0,1/(1−γ)1/2]\epsilon\in(0,1/(1-\gamma)^{1/2}], if

for some absolute constant cc, it holds that with probability at least 1−δ1-\delta,

Theorem 5 shows that if the planning error ϵopt\epsilon_{opt} is made small, e.g., with the order of O((1−γ)ϵ)\mathcal{O}((1-\gamma)\epsilon), then the Nash equilibrium Q-value can be estimated with a sample complexity of O~(∣S∣∣A∣∣B∣(1−γ)−3ϵ−2)\widetilde{\mathcal{O}}(|{\mathcal{S}}||\mathcal{A}||\mathcal{B}|(1-\gamma)^{-3}\epsilon^{-2}), as NN queries are made for each (s,a,b)(s,a,b) pair. This planning error can be achieved by performing any efficient black-box optimization technique over the empirical model G^\widehat{\mathcal{G}}. Examples of such oracles include value iteration (Shapley, 1953) and (generalized) policy iteration (Patek, 1997; Pérolat et al., 2015). Moreover, note that, in contrast to the single-agent setting, where only a max⁡\max operator is used, a min⁡max⁡\min\max (or max⁡min⁡\max\min) operator is used in these algorithms, which involves solving a matrix game at each state. This can be solved as a linear program (Osborne and Rubinstein, 1994), with at best polynomial runtime complexity (Grötschel et al., 1981; Karmarkar, 1984). This in total leads to an efficient polynomial runtime complexity algorithm.

As per Lemma 3, our O~(∣S∣∣A∣∣B∣(1−γ)−3ϵ−2)\widetilde{\mathcal{O}}(|{\mathcal{S}}||\mathcal{A}||\mathcal{B}|(1-\gamma)^{-3}\epsilon^{-2}) complexity is near-minimax optimal for the reward-aware case, in that it is tight in the dependence of 1−γ1-\gamma and ∣S∣|{\mathcal{S}}|, and sublinear in the model-size (which is ∣S∣2∣A∣∣B∣|{\mathcal{S}}|^{2}|\mathcal{A}||\mathcal{B}|). However, there is a gap on the ∣A∣, ∣B∣|\mathcal{A}|,~{}|\mathcal{B}| dependence (O~(∣A∣∣B∣)\widetilde{\mathcal{O}}(|\mathcal{A}||\mathcal{B}|) versus O~(∣A∣+∣B∣)\widetilde{\mathcal{O}}(|\mathcal{A}|+|\mathcal{B}|)). Unfortunately, without further assumption on the MG, e.g., being turn-based, the model-based algorithm can hardly avoid the O~(∣S∣∣A∣∣B∣)\widetilde{\mathcal{O}}(|{\mathcal{S}}||\mathcal{A}||\mathcal{B}|) dependence, as it is required to estimate each P^(⋅ ∣ s,a,b)\widehat{P}(\cdot{\,|\,}s,a,b) accurately to perform the planning. It is only minimax-optimal if the action-space size of one agent dominates the other’s (e.g., ∣A∣≫∣B∣|\mathcal{A}|\gg|\mathcal{B}|).

In the reward-agnostic case, as per Theorem 4, O~(∣S∣∣A∣∣B∣(1−γ)−3ϵ−2)\widetilde{\mathcal{O}}(|{\mathcal{S}}||\mathcal{A}||\mathcal{B}|(1-\gamma)^{-3}\epsilon^{-2}) is indeed minimax-optimal, and is tight in all ∣S∣,∣A∣,∣B∣|{\mathcal{S}}|,|\mathcal{A}|,|\mathcal{B}| and 1−γ1-\gamma dependence. More significantly, in this case, more than one reward functions can be handled simultaneously, as long as the transition model is estimated accurately enough. Specifically, with MM reward functions, by letting δ=δ/M\delta=\delta/M in Theorem 5 and using union bounds, the sample complexity of finding ϵ\epsilon-approximate NE value corresponding to all MM reward functions becomes O~(log⁡(M)∣S∣∣A∣∣B∣(1−γ)−3ϵ−2)\widetilde{\mathcal{O}}(\log(M)|{\mathcal{S}}||\mathcal{A}||\mathcal{B}|(1-\gamma)^{-3}\epsilon^{-2}), which, with MM being polynomial in ∣S∣, ∣A∣, ∣B∣|{\mathcal{S}}|,~{}|\mathcal{A}|,~{}|\mathcal{B}|, is of the same order as that in Theorem 5.

However, this (near-)optimal result does not necessarily lead to near-optimal sample complexity for obtaining the ϵ\epsilon-NE policies. We first use a direct translation to obtain such an ϵ\epsilon-NE policy pair based on Theorem 5, for any Planning Oracle.

Let (μ^,ν^)(\widehat{\mu},\widehat{\nu}) and NN satisfy the conditions in Theorem 5. Let

and (μ~,ν~)(\widetilde{\mu},\widetilde{\nu}) be the one-step Nash equilibrium of Q^μ^,ν^\widehat{Q}^{\widehat{\mu},\widehat{\nu}}, namely, for any s∈Ss\in{\mathcal{S}}

Then, with probability at least 1−δ1-\delta,

namely, (μ~,ν~)(\widetilde{\mu},\widetilde{\nu}) constitutes a 2ϵ~2\widetilde{\epsilon}-Nash equilibrium policy pair.

Corollary 6 is equivalently to saying that the sample complexity of achieving an ϵ\epsilon-NE policy pair is O~((1−γ)−5ϵ−2)\widetilde{\mathcal{O}}((1-\gamma)^{-5}\epsilon^{-2}). This is worse than the model-based single-agent setting (Agarwal et al., 2019a), and also worse than both the model-free single-agent (Sidford et al., 2018) and turn-based two-agent (Sidford et al., 2020) settings, where O~((1−γ)−3ϵ−2)\widetilde{\mathcal{O}}((1-\gamma)^{-3}\epsilon^{-2}) can be achieved for learning the optimal policy. This also has a gap from the lower bound in both Lemma 3 and Theorem 4. Note that the above sample complexity still matches that of the Empirical QVI in Azar et al. (2013) if ϵ∈(0,1]\epsilon\in(0,1] for single-agent RL, but with a larger choice of ϵ\epsilon of (0,(1−γ)−1/2](0,(1-\gamma)^{-1/2}]. As the Markov game setting is more challenging than MDPs, it is not clear yet if the lower bounds in Lemma 3 and Theorem 4 in finding ϵ\epsilon-NE policies can be achieved, using a general Planning Oracle. In contrast, we show next that a stable Planning Oracle can indeed (almost) match the lower bounds.

3 Near-Optimality in Finding ϵitalic-ϵ\epsilon-NE Policy

Admittedly, Corollary 6 does not fully exploit the model-based approach, since it finds the NE policy according to the Q-value estimate Q^μ^,ν^\widehat{Q}^{\widehat{\mu},\widehat{\nu}}, instead of using the output policy pair (μ^,ν^)(\widehat{\mu},\widehat{\nu}) directly. This loses a factor of 1−γ1-\gamma. To improve the sample complexity of obtaining the NE policies, we first introduce the following definition of a smooth Planning Oracle.

A smooth Planning Oracle generates policies that are smooth with respect to the NE Q-values of the empirical model. Specifically, for two empirical models G^1\widehat{\mathcal{G}}_{1} and G^2\widehat{\mathcal{G}}_{2}, the generated near-equilibrium policy pair (μ^1,ν^1)(\widehat{\mu}_{1},\widehat{\nu}_{1}) and (μ^2,ν^2)(\widehat{\mu}_{2},\widehat{\nu}_{2}) satisfy that for each s∈Ss\in{\mathcal{S}}, ∥μ^1(⋅ ∣ s)−μ^2(⋅ ∣ s)∥TV≤C⋅∥Q^1∗−Q^2∗∥∞\|\widehat{\mu}_{1}(\cdot{\,|\,}s)-\widehat{\mu}_{2}(\cdot{\,|\,}s)\|_{TV}\leq C\cdot\|\widehat{Q}_{1}^{*}-\widehat{Q}_{2}^{*}\|_{\infty} and ∥ν^1(⋅ ∣ s)−ν^2(⋅ ∣ s)∥TV≤C⋅∥Q^1∗−Q^2∗∥∞\|\widehat{\nu}_{1}(\cdot{\,|\,}s)-\widehat{\nu}_{2}(\cdot{\,|\,}s)\|_{TV}\leq C\cdot\|\widehat{Q}_{1}^{*}-\widehat{Q}_{2}^{*}\|_{\infty} for some constantWe allow CC to depend polynomially on ∣A∣, ∣B∣|\mathcal{A}|,~{}|\mathcal{B}|, which, as we will show later, does not affect the sample complexity as it appears as log⁡C\log C. C>0C>0, where Q^i∗\widehat{Q}_{i}^{*} is the NE Q-value of G^i\widehat{\mathcal{G}}_{i} for i=1,2i=1,2, and ∥⋅∥TV\|\cdot\|_{TV} is the total variation distance.

Such a smooth Planning Oracle can be readily obtained in several ways. For example, one simple (but possibly computationally expensive) approach is to output the average over the entire policy space, using a softmax randomization over best-response values induced by Q^∗\widehat{Q}^{*}. Specifically, for agent 11, the output μ^\widehat{\mu} is given by

Another more tractable way to obtain (μ^,ν^)(\widehat{\mu},\widehat{\nu}) is by directly solving a regularized matrix game induced by Q^∗\widehat{Q}^{*}. Specifically, one solves

for each s∈Ss\in{\mathcal{S}}, where Ωi\Omega_{i} is the regularizer for agent ii’s policy, usually a strongly convex function, τi>0\tau_{i}>0 are the temperature parameters. This strongly-convex-strongly-concave saddle point problem admits a unique solution, and can be solved efficiently (Facchinei and Pang, 2007; Cherukuri et al., 2017; Liang and Stokes, 2019). This regularization has been widely used in both single-agent MDPs (Neu et al., 2017; Haarnoja et al., 2018; Chow et al., 2018; Geist et al., 2019), and learning in games (Syrgkanis et al., 2015; Mertikopoulos and Sandholm, 2016; Grill et al., 2019), to improve both the exploration and convergence.

With small enough τi\tau_{i} (with the order of O(ϵ)\mathcal{O}(\epsilon), see §B.1), the solution to (6) will be ϵ\epsilon-close to that of the unregularized one (Geist et al., 2019). More importantly, many commonly used regularizations, including negative entropy (Neu et al., 2017), Tsallis entropy (Chow et al., 2018) and Rényi entropy with certain parameters (Mertikopoulos and Sandholm, 2016), naturally yield a smooth Planning Oracle; see Lemma 24 in §B.1 for a formal statement. Note that the smoothness of the oracle does not affect the sample complexity of our model-based MARL algorithm.

Now we present another theorem, which gives the ϵ\epsilon-Nash equilibrium policy pair directly, with the (near-)minimax optimal sample complexity of O~(∣S∣∣A∣∣B∣(1−γ)−3ϵ−2)\widetilde{\mathcal{O}}(|{\mathcal{S}}||\mathcal{A}||\mathcal{B}|(1-\gamma)^{-3}\epsilon^{-2}).

Suppose that the policy pair (μ^,ν^)(\widehat{\mu},\widehat{\nu}) is obtained from a smooth Planning Oracle using the empirical model G^\widehat{\mathcal{G}} (see Definition 7), which satisfies

Then, for any δ∈(0,1]\delta\in(0,1] and ϵ∈(0,1/(1−γ)1/2]\epsilon\in(0,1/(1-\gamma)^{1/2}], if

for some absolute constant cc, then, letting ϵ~:=ϵ+4ϵopt/(1−γ)\widetilde{\epsilon}:=\epsilon+{4\epsilon_{opt}}/({1-\gamma}), with probability at least 1−δ1-\delta,

namely, (μ^,ν^)(\widehat{\mu},\widehat{\nu}) constitutes a 2ϵ~2\widetilde{\epsilon}-Nash equilibrium policy pair.

Theorem 8 shows that the sample complexity of achieving an ϵ\epsilon-NE policy can be near-minimax optimal for the reward-aware case, and minimax-optimal for the reward-agnostic case, if a smooth Planning Oracle is used. The dependence on ∣S∣|{\mathcal{S}}| and 1−γ1-\gamma also matches the only known near-optimal complexity in MGs in Sidford et al. (2020), with a turn-based setting and a model-free algorithm. Inherited from Agarwal et al. (2019a), this improves the second result in Azar et al. (2013) that also has O~((1−γ)−3ϵ−2)\widetilde{\mathcal{O}}((1-\gamma)^{-3}\epsilon^{-2}) in finding an ϵ\epsilon-optimal policy, by removing the dependence on ∣S∣−1/2|{\mathcal{S}}|^{-1/2} and enlarging the choice of ϵ\epsilon from (0,(1−γ)−1/2∣S∣−1/2](0,(1-\gamma)^{-1/2}|{\mathcal{S}}|^{-1/2}] to (0,(1−γ)−1/2](0,(1-\gamma)^{-1/2}], and removing a factor of ∣S∣|{\mathcal{S}}| in the total sample complexity for any fixed ϵ\epsilon. In addition, Theorem 8 also applies to the multi-reward setting, as Theorem 5, by taking a union bound argument over all reward functions in the reward-agnostic case. If the number of reward functions MM is of order poly(∣S∣,∣A∣,∣B∣)\text{poly}(|{\mathcal{S}}|,|\mathcal{A}|,|\mathcal{B}|), the sample complexity of handling multiple reward functions has the same order as that in Theorem 8.

Theorems 5 and 8 together justify that, this simple model-based MARL algorithm is indeed sample-efficient, in approximating both the Nash equilibrium values and policies. Moreover, our separation of the reward-aware and reward-agnostic cases highlights both the power (easily handling multiple reward functions), and the limitation (less adaptive and can hardly achieve O~(∣A∣+∣B∣)\widetilde{\mathcal{O}}(|\mathcal{A}|+|\mathcal{B}|)) of the model-based approach, particularly arising in the multi-agent RL context.

Proofs

We first introduce some additional notation for convenience.

Hence, the Q-value function can be written as

Then, we define ΣGμ,ν\Sigma_{\mathcal{G}}^{\mu,\nu} to be the variance of the discounted reward under the MG G\mathcal{G}, i.e.,

It can be shown (see an almost identical formula for MDPs in (Azar et al., 2013, Lemma 6)) that ΣGμ,ν\Sigma_{\mathcal{G}}^{\mu,\nu} satisfies some Bellman-type equation for any policy pair (μ,ν)(\mu,\nu):

It can also be verified that ∥ΣGμ,ν∥∞≤γ2/(1−γ)2\|\Sigma_{\mathcal{G}}^{\mu,\nu}\|_{\infty}\leq\gamma^{2}/(1-\gamma)^{2} (Azar et al., 2013; Agarwal et al., 2019a). Before proceeding further, we provide a roadmap for the proof.

Proof Roadmap.

Our proof mainly consists of the following steps:

Helper lemmas and a crude bound. We first establish several important lemmas, including the component-wise error bounds for the final Q-value errors, the variance error bound, and a crude error bound that directly uses Hoeffding’s inequality. Some of the results are adapted from the single-agent setting to zero-sum MGs, see Agarwal et al. (2019a). See §4.1.

Establishing an auxiliary Markov game. To improve the crude bound, we build up an absorbing Markov game, in order to handle the statistical dependence between P^\widehat{P} and some value function generated by P^\widehat{P}, which occurs as a product in the component-wise bound above. By carefully designing the auxiliary game, we establish a Bernstein-like concentration inequality, despite this dependency. See §4.2, more precisely, Lemmas 17 and 18.

Final bound for ϵ\epsilon-approximate NE value. Lemma 17 in Step 2 allows us to exploit the variance bound, see Lemma 11, to obtain an O~(1/[(1−γ)3]N)\widetilde{\mathcal{O}}(\sqrt{1/[(1-\gamma)^{3}]N}) order bound on the Q-value error, leading to a O~((1−γ)−3ϵ−2)\widetilde{\mathcal{O}}((1-\gamma)^{-3}\epsilon^{-2}) near-minimax optimal sample complexity for achieving the ϵ\epsilon-approximate NE value. See §4.3.

Final bounds for ϵ\epsilon-NE policy. Based on the final bound in Step 3, we then establish a O~((1−γ)−5ϵ−2)\widetilde{\mathcal{O}}((1-\gamma)^{-5}\epsilon^{-2}) sample complexity for obtaining an ϵ\epsilon-NE policy pair, by solving an additional matrix game over the output Q-value Q^μ^,ν^\widehat{Q}^{\widehat{\mu},\widehat{\nu}}. See §4.4. In addition, given a smooth Planning Oracle, by Lemma 18 in Step 2, and more careful self-bounding techniques, we establish a O~((1−γ)−3ϵ−2)\widetilde{\mathcal{O}}((1-\gamma)^{-3}\epsilon^{-2}) sample complexity for achieving such an ϵ\epsilon-NE policy, directly using the output policies (μ^,ν^)(\widehat{\mu},\widehat{\nu}). See §4.5.

1 Important Lemmas

We start with the component-wise error bounds.

For any policy pair (μ,ν)(\mu,\nu), it follows that

where we recall that ν(μ)\nu(\mu) and μ(ν)\mu(\nu) denote the best-response policy given μ\mu and ν\nu, respectively (see (4)). Moreover, we have

Similar arguments yield the third inequality in the first argument.

which, combined with triangle inequality, yields the first inequality. Similarly, we have

Using triangle inequality proves the second inequality. For (10)-(11), we similarly have

Notice that for any μ∈Δ(A)∣S∣\mu\in\Delta(\mathcal{A})^{|{\mathcal{S}}|} and ν∈Δ(B)∣S∣\nu\in\Delta(\mathcal{B})^{|{\mathcal{S}}|},

Combining (12)-(13) and (14)-(15), together with triangle inequality, we arrive at (10)-(11), and complete the proof.

We establish the decomposition in (8)-(9) for the following intuition and reasons. The error in (8)-(9) contains three terms: the first and third terms ∥Qμ,ν−Q^μ,ν∥∞\|Q^{\mu,\nu}-\widehat{Q}^{\mu,\nu}\|_{\infty} and Q^∗∥∞−∥Q^μ∗,∗−Q∗∥∞\widehat{Q}^{*}\|_{\infty}-\|\widehat{Q}^{\mu^{*},*}-Q^{*}\|_{\infty} are the differences of the Q-value for some policy pairs in the true and estimated models, respectively, which will be handled later based on the statistical error of the model estimation; the second term ∥Q^μ,ν−Q^∗∥∞\|\widehat{Q}^{\mu,\nu}-\widehat{Q}^{*}\|_{\infty} is the optimization error we obtained from the algorithm that solves the empirical game, which will be controlled with an efficient Planning Oracle. To deal with the statistical errors, we first introduce the following lemma, which is adapted from Lemma 22 in Agarwal et al. (2019a).

Proof The proof is straightforward. Letting w=(I−γPμ,ν)−1vw=(I-\gamma P^{\mu,\nu})^{-1}v, we have v=(I−γPμ,ν)wv=(I-\gamma P^{\mu,\nu})w. Triangle inequality yields ∥v∥∞≥∥w∥∞−γ∥Pμ,νw∥∞≥∥w∥∞−γ∥w∥∞\|v\|_{\infty}\geq\|w\|_{\infty}-\gamma\|P^{\mu,\nu}w\|_{\infty}\geq\|w\|_{\infty}-\gamma\|w\|_{\infty}, which completes the proof.

Next we establish the Bellman property of a policy pair (μ,ν)(\mu,\nu)’s variance and its accumulation. This has been observed for MDPs before in Munos and Moore (1999); Lattimore and Hutter (2012); Azar et al. (2012); Agarwal et al. (2019a). We establish the counterpart for Markov games as follows.

For any policy pair (μ,ν)(\mu,\nu) and MG G\mathcal{G} with transition model PP, we have

Proof The proof follows that of (Agarwal et al., 2019a, Lemma 3). For any positive vector vv, by Jensen’s inequality, we have

In addition, by (7), we have ΣGμ,ν=γ2(I−γ2Pμ,ν)−1Var⁡P(VGμ,ν)\Sigma_{\mathcal{G}}^{\mu,\nu}=\gamma^{2}(I-\gamma^{2}P^{\mu,\nu})^{-1}\operatorname{{\rm Var}}_{P}(V_{\mathcal{G}}^{\mu,\nu}). Letting v=Var⁡P(VGμ,ν)v=\operatorname{{\rm Var}}_{P}(V_{\mathcal{G}}^{\mu,\nu}) in (18) and noticing that ∥ΣGμ,ν∥∞≤γ2/(1−γ)2\|\Sigma_{\mathcal{G}}^{\mu,\nu}\|_{\infty}\leq\gamma^{2}/(1-\gamma)^{2} completes the proof.

Finally, if we just apply Hoeffding’s inequality, we obtain the following concentration argument, upon which we will improve to obtain our final results.

Let (μ∗,ν∗)(\mu^{*},\nu^{*}) be the Nash equilibrium policy pair under the actual model G\mathcal{G}. Then, for any δ∈(0,1]\delta\in(0,1], with probability at least 1−δ1-\delta, we have

Proof First note that V∗V^{*} is fixed and independent of the randomness in P^\widehat{P}. Due to the boundedness of V∗V^{*} that ∥V∗∥∞≤(1−γ)−1\|V^{*}\|_{\infty}\leq(1-\gamma)^{-1}, and the union of Hoeffding bounds over S×A×B{\mathcal{S}}\times\mathcal{A}\times\mathcal{B}, we have that with probability at least 1−δ1-\delta

Similarly, let T^μ,ν\widehat{{\mathcal{T}}}_{\mu,\nu} be the corresponding operator defined under the estimated transition P^\widehat{P}. Note that Q^μ,ν\widehat{Q}^{\mu,\nu} and Q∗Q^{*} are the fixed points of T^μ,ν\widehat{{\mathcal{T}}}_{\mu,\nu} and Tμ∗,ν∗{\mathcal{T}}_{\mu^{*},\nu^{*}}, respectively. We thus have

To show the first argument, letting μ=μ∗\mu=\mu^{*} and ν=ν∗\nu=\nu^{*}, we have

Using (4.1) to bound the last term in (20), and solving for ∥Q∗−Q^μ∗,ν∗∥∞\|Q^{*}-\widehat{Q}^{\mu^{*},\nu^{*}}\|_{\infty} from (20), we obtain the first argument.

For the second argument, letting μ=μ∗\mu=\mu^{*} and ν=ν(μ∗)^\nu=\widehat{\nu(\mu^{*})} (note that Q^μ∗,∗=Q^μ∗,ν(μ∗)^\widehat{Q}^{\mu^{*},*}=\widehat{Q}^{\mu^{*},\widehat{\nu(\mu^{*})}}), we have

where the first inequality is due to the non-expansiveness of the min⁡\min operator. Using (4.1) to bound the last term in (20), and solving for ∥Q∗−Q^μ∗,∗∥∞\|Q^{*}-\widehat{Q}^{\mu^{*},*}\|_{\infty} from (20), we obtain the second argument. Similarly, we can obtain the third argument.

For the fourth argument, letting μ=μ^∗\mu=\widehat{\mu}^{*} and ν=ν^∗\nu=\widehat{\nu}^{*}, the NE policy under P^\widehat{P} (note that Q^μ^∗,ν^∗=Q^∗\widehat{Q}^{\widehat{\mu}^{*},\widehat{\nu}^{*}}=\widehat{Q}^{*}), we have

where the inequalities are due to the non-expansivenesses of both the max⁡\max and the min⁡\min operators. This, combined with (20), completes the proof.

The argument above will lead to a crude bound, with an additional 1/(1−γ)1/(1-\gamma) dependence compared to our main results in Theorem 5 and Theorem 8. The key reason is that we used some self-bounding of the error terms, e.g., ∥Q∗−Q^μ∗,ν∗∥∞\|Q^{*}-\widehat{Q}^{\mu^{*},\nu^{*}}\|_{\infty}, which appears on both sides of the inequality, with a γ\gamma discounting on the right-hand side. This way, by subtracting the term on the right-hand side, we have an additional 1/(1−γ)1/(1-\gamma) order after dividing (1−γ)(1-\gamma) on both sides. This was essentially due to the fact that the direct concentration argument can only deal with the concentration of \big{\|}(\widehat{P}-P)V^{*}\big{\|}_{\infty}, where P^\widehat{P} and V∗V^{*} are not dependent as V∗V^{*} is a fixed vector. To obtain sharper rates, one has to directly deal with the quantities as \big{\|}(\widehat{P}-P)\widehat{V}\big{\|}_{\infty}, where V^\widehat{V} denotes some value function obtained from the empirical model, and is correlated with P^\widehat{P}. Properly handling this interdependence will be the focus of our proof next.

2 An Auxiliary Markov Game

Motivated by the absorbing MDP technique in Agarwal et al. (2019a), we introduce an absorbing Markov game, in order to handle the interdependence between P^\widehat{P} and V^μ,ν\widehat{V}^{\mu,\nu}, for any μ,ν\mu,\nu (which may also depend on P^\widehat{P}), which will show up frequently in the analysis.

In addition, we define UsU_{s} for some state ss to choose uu from, which is a set of evenly spaced elements in the interval [V∗(s)−Δ,V∗(s)+Δ][V^{*}(s)-\Delta,V^{*}(s)+\Delta] for some Δ>0\Delta>0, i.e., Us⊂[V∗(s)−Δ,V∗(s)+Δ]U_{s}\subset[V^{*}(s)-\Delta,V^{*}(s)+\Delta]. An appropriately chosen size of ∣Us∣|U_{s}| will be the key in the proof. We also use P^Gs,u\widehat{P}_{\mathcal{G}_{s,u}} to denote the transition model of the absorbing MG for the empirical MG G^\widehat{\mathcal{G}}, denoted by G^s,u\widehat{\mathcal{G}}_{s,u}. Specifically, at all non-absorbing states, P^Gs,u\widehat{P}_{\mathcal{G}_{s,u}} is identical to P^\widehat{P}; while at the absorbing state, P^Gs,u(s ∣ s,a,b)=1\widehat{P}_{\mathcal{G}_{s,u}}(s{\,|\,}s,a,b)=1 for any (a,b)∈A×B(a,b)\in\mathcal{A}\times\mathcal{B}. The corresponding value functions are for short denoted by V^s,uμ,ν\widehat{V}^{\mu,\nu}_{s,u} and Q^s,uμ,ν\widehat{Q}^{\mu,\nu}_{s,u}. Similar as in the original MG, we also use V^s,u∗\widehat{V}^{*}_{s,u} to denote the NE value under the model G^s,u\widehat{\mathcal{G}}_{s,u}, and use V^s,uμ,∗\widehat{V}^{\mu,*}_{s,u} and V^s,u∗,ν\widehat{V}^{*,\nu}_{s,u} to denote the best-response values of some given μ\mu and ν\nu, under the model G^s,u\widehat{\mathcal{G}}_{s,u}. Now we first have the following lemma based on Bernstein’s inequality; see a similar argument in Lemma 5 in Agarwal et al. (2019a).

For fixed state ss, action (a,b)(a,b), a finite set UsU_{s}, and δ>0\delta>0, it holds that for all u∈Usu\in U_{s}, with probability greater than 1−δ1-\delta,

where Ps,a,bP_{s,a,b} and P^s,a,b\widehat{P}_{s,a,b} are the transition models extracted from the original game G\mathcal{G} and its empirical version G^\widehat{\mathcal{G}}, respectively (not related to either Gs,u\mathcal{G}_{s,u} or G^s,u\widehat{\mathcal{G}}_{s,u}), and (μ^s,a,ν^s,a)(\widehat{\mu}_{s,a},\widehat{\nu}_{s,a}) is the output of the Planning Oracle using the auxiliary empirical model G^s,u\widehat{\mathcal{G}}_{s,u}

Proof The key observation is that the random variables P^s,a,b\widehat{P}_{s,a,b} and V^s,u∗\widehat{V}^{*}_{s,u} are independent. Using Bernstein’s inequality along with a union bound over all u∈Usu\in U_{s}, we obtain the first inequality. The other inequalities follow similarly, as P^s,a,b\widehat{P}_{s,a,b} is independent of V^s,uμ∗,∗\widehat{V}^{\mu^{*},*}_{s,u}, V^s,u∗,ν∗\widehat{V}^{*,\nu^{*}}_{s,u}, V^s,uμ∗,ν∗\widehat{V}^{\mu^{*},\nu^{*}}_{s,u}, Vμ^s,u,∗{V}^{\widehat{\mu}_{s,u},*}, and V∗,ν^s,u{V}^{*,\widehat{\nu}_{s,u}}. This is because the latter terms are all decided by the original game G\mathcal{G}, and/or the auxiliary empirical game G^s,u\widehat{\mathcal{G}}_{s,u} (not the original empirical game G^\widehat{\mathcal{G}}).

Note that the arguments in Lemma 13 do not hold, if we replace V^s,u∗\widehat{V}^{*}_{s,u} by V^∗\widehat{V}^{*}, or V^s,uμ∗,∗\widehat{V}^{\mu^{*},*}_{s,u} by V^μ∗,∗\widehat{V}^{\mu^{*},*}, or V^s,u∗,ν∗\widehat{V}^{*,\nu^{*}}_{s,u} by V^∗,ν∗\widehat{V}^{*,\nu^{*}}. It will neither hold if we replace V^s,uμ∗,∗\widehat{V}^{\mu^{*},*}_{s,u} and Vμ^s,u,∗{V}^{\widehat{\mu}_{s,u},*} by some V^μ,∗\widehat{V}^{\mu,*} and Vμ,∗{V}^{\mu,*}, for any μ\mu that is dependent on P^\widehat{P}, e.g., the NE policy μ^∗\widehat{\mu}^{*} for the original empirical game G^\widehat{\mathcal{G}}. This is one of the key subtleties that are worth emphasizing.

Next we establish two helpful lemmas that help guide the choices of UsU_{s}, so that V^s,u∗\widehat{V}^{*}_{s,u} (resp. V^s,uμ∗,∗\widehat{V}^{\mu^{*},*}_{s,u}, V^s,u∗,ν∗\widehat{V}^{*,\nu^{*}}_{s,u}, and V^s,uμ∗,ν∗\widehat{V}^{\mu^{*},\nu^{*}}_{s,u}) will be a good approximate of V^∗\widehat{V}^{*} (resp. V^μ∗,∗\widehat{V}^{\mu^{*},*}, V^∗,ν∗\widehat{V}^{*,\nu^{*}}, and V^μ∗,ν∗\widehat{V}^{\mu^{*},\nu^{*}}).

For the absorbing state ss, and any joint policy (μ,ν)(\mu,\nu), suppose that u∗=VG∗(s)u^{*}=V^{*}_{\mathcal{G}}(s), uμ,∗=VGμ,∗(s)u^{\mu,*}=V^{\mu,*}_{\mathcal{G}}(s), u∗,ν=VG∗,ν(s)u^{*,\nu}=V^{*,\nu}_{\mathcal{G}}(s), and uμ,ν=VGμ,ν(s)u^{\mu,\nu}=V^{\mu,\nu}_{\mathcal{G}}(s). Then,

Proof For the first formula, we need to verify that VG∗V^{*}_{\mathcal{G}} satisfies the optimal (Nash equilibrium) Bellman equation for the game Gs,u∗\mathcal{G}_{s,u^{*}}. To this end, note that if s′=ss^{\prime}=s, then u∗=VG∗(s)u^{*}=V^{*}_{\mathcal{G}}(s) satisfies the Bellman equation trivially, since ss is absorbing with the value Vs,u∗∗(s)=u∗V^{*}_{s,u^{*}}(s)=u^{*}.

On the other hand, for any s′≠ss^{\prime}\neq s, the outgoing transition model at s′s^{\prime} in Gs,u∗\mathcal{G}_{s,u^{*}} is the same as that in G\mathcal{G}, and VG∗(s′)V^{*}_{\mathcal{G}}(s^{\prime}) per se satisfies the Bellman equation in G\mathcal{G} (which are the same for Gs,u∗\mathcal{G}_{s,u^{*}} at these states s′≠ss^{\prime}\neq s). Thus, VG∗V^{*}_{\mathcal{G}} satisfies the Bellman equation in Gs,u∗\mathcal{G}_{s,u^{*}} for all states. This proves the first equation. The proofs for the remaining three equations are analogous.

Perfect choices of uu have been specified in Lemma 14 above. Moreover, we need to quantify how the value changes if we deviate from these perfect choices, i.e., the robustness to misspecification of uu (Agarwal et al., 2019a). This result is formally established in the following lemma; see also Lemma 7 in Agarwal et al. (2019a) for a similar result.

Proof Note that ∥rs,u−rs,u′∥∞=(1−γ)∣u−u′∣\|r_{s,u}-r_{s,u^{\prime}}\|_{\infty}=(1-\gamma)|u-u^{\prime}|, since the reward functions only differ at ss, where rs,u(s,a,b)=(1−γ)ur_{s,u}(s,a,b)=(1-\gamma)u and rs,u′(s,a,b)=(1−γ)u′r_{s,u^{\prime}}(s,a,b)=(1-\gamma)u^{\prime}. We denote the NE policy pair in Gs,u\mathcal{G}_{s,u} by (μs,u∗,νs,u∗)(\mu^{*}_{s,u},\nu^{*}_{s,u}). Thus,

implying the relationships of the corresponding Q-values; (24) is by definition; (25) uses the observation that Ps,uμs,u∗,νs,u′∗P^{\mu^{*}_{s,u},\nu^{*}_{s,u^{\prime}}}_{s,u} is the same as Ps,u′μs,u∗,νs,u′∗P^{\mu^{*}_{s,u},\nu^{*}_{s,u^{\prime}}}_{s,u^{\prime}} (transition is not affected by the value of uu). Similarly, we can establish the lower bound that Qs,u∗−Qs,u′∗≥−∣u−u′∣Q^{*}_{s,u}-Q^{*}_{s,u^{\prime}}\geq-|u-u^{\prime}|, which proves ∥Qs,u∗−Qs,u′∗∥∞≤∣u−u′∣\|Q^{*}_{s,u}-Q^{*}_{s,u^{\prime}}\|_{\infty}\leq|u-u^{\prime}|. Moreover, we have

For the second one, recalling that the best-response policy of μ\mu under Gs,u\mathcal{G}_{s,u} being νs,u(μ)\nu_{s,u}(\mu), we have

where (27) uses the definition of a best-response value, (28) plugs in the best-response policy νs,u′(μ)\nu_{s,u^{\prime}}(\mu), and (29) also uses the fact that the transition does not depend on the value uu. A lower bound can be established by noticing that Qs,u′μ,∗=min⁡νQs,u′μ,ν≤Qs,u′μ,νs,u(μ)Q^{\mu,*}_{s,u^{\prime}}=\min_{\nu}Q^{\mu,\nu}_{s,u^{\prime}}\leq Q^{\mu,\nu_{s,u}(\mu)}_{s,u^{\prime}}. This proves ∥Qs,uμ,∗−Qs,u′μ,∗∥∞≤∣u−u′∣\|Q^{\mu,*}_{s,u}-Q^{\mu,*}_{s,u^{\prime}}\|_{\infty}\leq|u-u^{\prime}|. Furthermore, notice that

which proves the second inequality. Similar arguments can also be used to establish the third and the fourth inequalities. This completes the proof.

We are now ready to show the main result in this section.

For any state ss, joint action pair (a,b)(a,b), and a finite set UsU_{s}, with probability greater than 1−δ1-\delta, we have

Moreover, recalling that (μ^s,u,ν^s,u)(\widehat{\mu}_{s,u},\widehat{\nu}_{s,u}) is the output of the Planning Oracle using G^s,u\widehat{\mathcal{G}}_{s,u}, we have

Proof First, for all u∈Usu\in U_{s} and with probability greater than 1−δ1-\delta, we have

where (30)-(31) use triangle inequality, (32) is due to Lemma 13, and (33) uses the facts that Var⁡Ps,a,b(X+Y)≤Var⁡Ps,a,b(X)+Var⁡Ps,a,b(Y)\sqrt{\operatorname{{\rm Var}}_{P_{s,a,b}}(X+Y)}\leq\sqrt{\operatorname{{\rm Var}}_{P_{s,a,b}}(X)}+\sqrt{\operatorname{{\rm Var}}_{P_{s,a,b}}(Y)}, and Var⁡Ps,a,b(X)≤∥X∥∞\sqrt{\operatorname{{\rm Var}}_{P_{s,a,b}}(X)}\leq\|X\|_{\infty}. Moreover, by Lemmas 14 and 15, we obtain that

which, combined with (33) and taken minimization over all u∈Usu\in U_{s}, yields the first inequality. Proofs for the remaining inequalities are analogous, except that for the last two, the norms ∥Vμ^,∗−Vμ^s,u,∗∥∞\|{V}^{\widehat{\mu},*}-{V}^{\widehat{\mu}_{s,u},*}\|_{\infty} and ∥V∗,ν^−V∗,ν^s,u∥∞\|{V}^{*,\widehat{\nu}}-{V}^{*,\widehat{\nu}_{s,u}}\|_{\infty} are kept and not further bounded.

Next we establish the important result that characterizes the errors ∣(P−P^)V^∗∣|(P-\widehat{P})\widehat{V}^{*}|, ∣(P−P^)V^μ∗,∗∣|(P-\widehat{P})\widehat{V}^{\mu^{*},*}|, ∣(P−P^)V^∗,ν∗∣|(P-\widehat{P})\widehat{V}^{*,\nu^{*}}|, and ∣(P−P^)V^μ∗,ν∗∣|(P-\widehat{P})\widehat{V}^{\mu^{*},\nu^{*}}|, which could not have been handled without the arguments above, due to the dependence between P^\widehat{P} and V^∗\widehat{V}^{*} (and also V^μ∗,∗\widehat{V}^{\mu^{*},*}, V^∗,ν∗\widehat{V}^{*,\nu^{*}}, and V^μ∗,ν∗\widehat{V}^{\mu^{*},\nu^{*}}).

For any δ∈(0,1]\delta\in(0,1], with probability greater than 1−δ1-\delta, it holds that

where Δδ,N′\Delta_{\delta,N}^{\prime} is defined as

Proof Let UsU_{s} denote a set with evenly spaced elements in the interval [V∗(s)−Δδ/2,N,V∗(s)+Δδ/2,N][V^{*}(s)-\Delta_{\delta/2,N},V^{*}(s)+\Delta_{\delta/2,N}], with ∣Us∣=2/(1−γ)2|U_{s}|=2/(1-\gamma)^{2}, and Δδ,N\Delta_{\delta,N} being defined in Lemma 12. Lemma 12 shows that with probability greater than 1−δ/21-\delta/2,

for all s∈Ss\in{\mathcal{S}}. Since each subinterval determined by UsU_{s} is of length 2Δδ/2,N/(∣Us∣−1)2\Delta_{\delta/2,N}/(|U_{s}|-1), and V^∗(s)\widehat{V}^{*}(s) will fall into one of them, we know that

where we have used the fact that ∣Us∣≥1/(1−γ)2+1|U_{s}|\geq 1/(1-\gamma)^{2}+1. We then choose δ/2\delta/2 to be δ/(2∣S∣∣A∣∣B∣)\delta/(2|{\mathcal{S}}||\mathcal{A}||\mathcal{B}|) in Lemma 16, so that it holds for all states and joint actions with probability greater than 1−δ/21-\delta/2. By substitution and noting that the two events in Lemmas 12 and 16 both fail with probability δ/2\delta/2, we obtain the first inequality by properly choosing the constant cc. Similarly, for the other two inequalities, note that Lemma 12 can be applied to show that V^μ∗,∗(s)\widehat{V}^{\mu^{*},*}(s), V^∗,ν∗(s)\widehat{V}^{*,\nu^{*}}(s), and V^μ∗,ν∗(s)\widehat{V}^{\mu^{*},\nu^{*}}(s), all lie in the interval in (34) (centered at V∗(s)V^{*}(s)). By similar arguments, the remaining three inequalities can be proved (note that Lemma 16 can be applied to V^μ∗,∗(s)\widehat{V}^{\mu^{*},*}(s), V^∗,ν∗(s)\widehat{V}^{*,\nu^{*}}(s), and V^μ∗,ν∗(s)\widehat{V}^{\mu^{*},\nu^{*}}(s), as well).

Lastly, with a smooth Planning Oracle, see Definition 7, we can similarly establish the following error bounds on ∣(P−P^)Vμ^,∗∣|(P-\widehat{P})V^{\widehat{\mu},*}| and ∣(P−P^)V∗,ν^∣|(P-\widehat{P})V^{*,\widehat{\nu}}|, thanks to Lemma 16.

With a smooth Planning Oracle that has a smooth constant CC (see Definition 7), for any δ∈(0,1]\delta\in(0,1], with probability greater than 1−δ1-\delta, it holds that

where Δδ,N′′\Delta_{\delta,N}^{\prime\prime} is defined as

Proof Following the proof of Lemma 17, let UsU_{s} denote a set with evenly spaced elements in the interval [V∗(s)−Δδ/2,N,V∗(s)+Δδ/2,N][V^{*}(s)-\Delta_{\delta/2,N},V^{*}(s)+\Delta_{\delta/2,N}], with Δδ,N\Delta_{\delta,N} being defined in Lemma 12. By Lemma 12, we know that V^∗(s)\widehat{V}^{*}(s) lies in this interval with probability greater than 1−δ/21-\delta/2, for all s∈Ss\in{\mathcal{S}}. Now we choose ∣Us∣=(C+1)/(1−γ)4|U_{s}|=(C+1)/(1-\gamma)^{4}, where CC is the smooth coefficient in Definition 7. As V^∗(s)\widehat{V}^{*}(s) will fall into one of the subintervals determined by UsU_{s}, we have

which also uses the fact ∣Us∣≥C/(1−γ)4+1|U_{s}|\geq C/(1-\gamma)^{4}+1. Furthermore, by Definition 7 and the proof of Lemma 15, we have

where (37) uses Hölder’s inequality, and (38) follows by expanding the Q-value functions, using (36), and noticing that ∥Qμ^s,u,∗∥∞≤1/(1−γ)\|{Q}^{\widehat{\mu}_{s,u},*}\|_{\infty}\leq 1/(1-\gamma). Combining (38) and (35), and taking min⁡\min over u∈Usu\in U_{s}, we have

The rest of the proof follows the arguments of Lemma 17, which combines the last two inequalities in Lemma 16 to obtain the desired bound. Note that the absolute constant here might be different from that in Lemma 17. The proof for the second inequality is analogous.

Note that compared to Lemma 17, Lemma 18 has to additionally deal with the interdependence between P^\widehat{P} and Vμ^,∗V^{\widehat{\mu},*} (as well as that between P^\widehat{P} and V∗,ν^V^{*,\widehat{\nu}}). What can be guaranteed before, in the absorbing MGs, is that the value function can be controlled to be close to that in the original MG (see Lemmas 14 and 15, and the proof of Lemma 16). However, in general, it is unclear how much the NE policy changes, as well as how much the best-response value in the original true MG changes. This calls for some stability of the NE policy, and was made possible due to the smoothness of our Planning Oracle (see (36)-(38)). Lemma 18 will play an important role in obtaining the near-optimal sample complexity in Theorem 8 (see §4.5).

3 Proof of Theorem 5

We are now ready to prove Theorem 5. To this end, we first establish the following lemma.

For any policy pair (μ^,ν^)(\widehat{\mu},\widehat{\nu}) that satisfies the condition in Theorem 5, there exists some absolute constant cc such that

where (39) is due to Lemma 9; (40) uses triangle inequality; and (41) is due to the non-negativeness of the entries in (I−γPμ^,ν^)−1(I-\gamma P^{\widehat{\mu},\widehat{\nu}})^{-1}, the sub-optimality of (μ^,ν^)(\widehat{\mu},\widehat{\nu}), and Lemma 10. Since the first term in (41) can be bounded using Lemma 17, we have

where (42) uses the fact that Var⁡P(X+Y)≤Var⁡P(X)+Var⁡P(Y)\sqrt{\operatorname{{\rm Var}}_{P}(X+Y)}\leq\sqrt{\operatorname{{\rm Var}}_{P}(X)}+\sqrt{\operatorname{{\rm Var}}_{P}(Y)}; (43) is due to Lemma 11, the fact that Var⁡P(Vμ^,ν^−V^μ^,ν^)≤∥Vμ^,ν^−V^μ^,ν^∥∞\sqrt{\operatorname{{\rm Var}}_{P}({V}^{\widehat{\mu},\widehat{\nu}}-\widehat{V}^{\widehat{\mu},\widehat{\nu}})}\leq\|{V}^{\widehat{\mu},\widehat{\nu}}-\widehat{V}^{\widehat{\mu},\widehat{\nu}}\|_{\infty}, and ∥V^μ^,ν^−V^∗∥∞≤ϵopt\|\widehat{V}^{\widehat{\mu},\widehat{\nu}}-\widehat{V}^{*}\|_{\infty}\leq\epsilon_{opt}; (44) is due to ∥Vμ^,ν^−V^μ^,ν^∥∞≤∥Qμ^,ν^−Q^μ^,ν^∥∞\|{V}^{\widehat{\mu},\widehat{\nu}}-\widehat{V}^{\widehat{\mu},\widehat{\nu}}\|_{\infty}\leq\|{Q}^{\widehat{\mu},\widehat{\nu}}-\widehat{Q}^{\widehat{\mu},\widehat{\nu}}\|_{\infty}. Solving for ∥Qμ^,ν^−Q^μ^,ν^∥∞\|Q^{\widehat{\mu},\widehat{\nu}}-\widehat{Q}^{\widehat{\mu},\widehat{\nu}}\|_{\infty} in (45) yields the desired inequality.

For the second inequality, by Lemma 9, we first have

For the first term in the max⁡\max operator above, by similar arguments from (42)-(45), we have

where (47) is due to Lemma 17, (48) uses triangle inequality, and (50) uses Lemma 11. Solving for \big{\|}{Q}^{\mu^{*},\nu^{*}}-\widehat{Q}^{\mu^{*},\nu^{*}}\big{\|}_{\infty} gives the bound for it.

Similarly, the second term in the max⁡\max operator in (46) can be bounded by

which can be solved to obtain a bound for \big{\|}Q^{\mu^{*},\widehat{\nu(\mu^{*})}}-\widehat{Q}^{\mu^{*},*}\big{\|}_{\infty}. Combining the two bounds and (46), we prove the second inequality in the lemma. The proof for the third inequality is analogous.

With Lemma 19 in hand, we are ready to prove Theorem 5. Note that the condition on NN in Theorem 5 makes αδ,N<1/2\alpha_{\delta,N}<1/2. Thus, by (8)-(9) in Lemma 9 with (μ,ν)(\mu,\nu) being replaced by (μ^,ν^)(\widehat{\mu},\widehat{\nu}), we have

Substituting in the bounds of ∥Qμ^,ν^−Q^μ^,ν^∥∞\|Q^{\widehat{\mu},\widehat{\nu}}-\widehat{Q}^{\widehat{\mu},\widehat{\nu}}\|_{\infty}, ∥Q∗−Q^μ∗,∗∥∞\|Q^{*}-\widehat{Q}^{\mu^{*},*}\|_{\infty}, and ∥Q∗−Q^∗,ν∗∥∞\|Q^{*}-\widehat{Q}^{*,\nu^{*}}\|_{\infty} in Lemma 19, we arrive at the final bound for ∥Qμ^,ν^−Q∗∥∞\|Q^{\widehat{\mu},\widehat{\nu}}-Q^{*}\|_{\infty}:

With a certain choice of cc, we have ∥Qμ^,ν^−Q∗∥∞≤2ϵ/3+5γϵopt/(1−γ)\|Q^{\widehat{\mu},\widehat{\nu}}-Q^{*}\|_{\infty}\leq 2\epsilon/3+5\gamma\epsilon_{opt}/(1-\gamma).

For the last argument in Theorem 5, by triangle inequality, with the same constant cc used above, we have

4 Proof of Corollary 6

We now prove Corollary 6, based on Theorem 5. For any state ss, we have

by definition of μ~\widetilde{\mu}. Hence, (53), together with Theorem 5, implies that

5 Proof of Theorem 8

We now prove the second main result, Theorem 8. First, following the proof of Corollary 6, it suffices to prove that V∗−Vμ^,∗≤ϵ~V^{*}-V^{\widehat{\mu},*}\leq\widetilde{\epsilon},  V∗,ν^−V∗≤ϵ~~{}V^{*,\widehat{\nu}}-V^{*}\leq\widetilde{\epsilon}, since they together imply that (μ^,ν^)(\widehat{\mu},\widehat{\nu}) is a 2ϵ~2\widetilde{\epsilon}-Nash equilibrium. The following analysis is devoted to proving this argument.

The idea is similar to that presented in §4.3, i.e., we use the component-wise error decompositions in Lemma 9, but use (10)-(11) instead. In particular, letting μ=μ^\mu=\widehat{\mu} and ν=ν^\nu=\widehat{\nu}, we have

Note that the bounds for ∥Q^μ∗,∗−Q∗∥∞\|\widehat{Q}^{\mu^{*},*}-Q^{*}\|_{\infty} and ∥Q^∗,ν∗−Q∗∥∞\|\widehat{Q}^{*,\nu^{*}}-Q^{*}\|_{\infty} have already been established in Lemma 19 (without dependence on ϵopt\epsilon_{opt} and the Planning Oracle). It now suffices to bound ∥Qμ^,∗−Q^μ^,∗∥∞\|Q^{\widehat{\mu},*}-\widehat{Q}^{\widehat{\mu},*}\|_{\infty} and ∥Q∗,ν^−Q^∗,ν^∥∞\|Q^{*,\widehat{\nu}}-\widehat{Q}^{*,\widehat{\nu}}\|_{\infty}. For the former term, by Lemma 9, we first have

The first term in the max⁡\max operator, where the policies in the pair (μ^,ν(μ^)^)(\widehat{\mu},\widehat{\nu(\widehat{\mu})}) are both obtained from the empirical model G^\widehat{\mathcal{G}}, can be bounded similarly as that for ∥Qμ^,ν^−Q^μ^,ν^∥∞\|Q^{\widehat{\mu},\widehat{\nu}}-\widehat{Q}^{\widehat{\mu},\widehat{\nu}}\|_{\infty} in Lemma 19. Specifically, following (39)-(41), we have

where (59) uses triangle inequality, and (60) is due to the optimization error of μ^\widehat{\mu}. Then, to bound \gamma\big{\|}(I-\gamma P^{\widehat{\mu},\widehat{\nu(\widehat{\mu})}})^{-1}\big{|}(P-\widehat{P})\widehat{V}^{*}\big{|}\big{\|}_{\infty}, the rest of the proof is analogous to the derivations in (42)-(45), by replacing ν^\widehat{\nu} therein by ν(μ^)^\widehat{\nu(\widehat{\mu})}, and bound ∥V^μ^,∗−V^∗∥∞\|\widehat{V}^{\widehat{\mu},*}-\widehat{V}^{*}\|_{\infty} by ϵopt\epsilon_{opt}. Solving for ∥Qμ^,ν(μ^)^−Q^μ^,∗∥∞\|Q^{\widehat{\mu},\widehat{\nu(\widehat{\mu})}}-\widehat{Q}^{\widehat{\mu},*}\|_{\infty} yields the desired bound for the first term in the max⁡\max in (58), namely, there exists some constant cc such that with probability greater than 1−δ1-\delta,

where αδ,N′\alpha^{\prime}_{\delta,N} is defined as

For the second term in the max⁡\max in (58), note that μ^\widehat{\mu} is obtained from G^\widehat{\mathcal{G}}, while ν(μ^)\nu(\widehat{\mu}) is obtained from the true model G\mathcal{G}. Note that this mismatch is one key difference from the single-agent setting (Agarwal et al., 2019a) and the above proof for the first term. By Lemma 18, it holds that

where (62) uses the norm-like triangle-inequality property of Var⁡P(V)\sqrt{\operatorname{{\rm Var}}_{P}(V)} and triangle inequality, (63) is due to Lemma 11, and the facts that Var⁡P(X)≤∥X∥∞\sqrt{\operatorname{{\rm Var}}_{P}(X)}\leq\|X\|_{\infty}, ∥Vμ^,∗−V^μ^,ν(μ^)∥∞≤∥Qμ^,∗−Q^μ^,ν(μ^)∥∞\|V^{\widehat{\mu},*}-\widehat{V}^{\widehat{\mu},\nu(\widehat{\mu})}\|_{\infty}\leq\|Q^{\widehat{\mu},*}-\widehat{Q}^{\widehat{\mu},\nu(\widehat{\mu})}\|_{\infty}, and Lemma 10. Moreover, notice that

where (64) uses triangle inequality, (65) uses the norm-like triangle inequality of Var⁡P(V)\sqrt{\operatorname{{\rm Var}}_{P}(V)} and Var⁡P^(V)\sqrt{\operatorname{{\rm Var}}_{\widehat{P}}(V)}, and the fact ∣X−Y∣≤∣X−Y∣|\sqrt{X}-\sqrt{Y}|\leq\sqrt{|X-Y|} for X,Y≥0X,Y\geq 0, and (66) uses Var⁡P(X)≤∥X∥∞\sqrt{\operatorname{{\rm Var}}_{P}(X)}\leq\|X\|_{\infty} and the definition of ∥⋅∥∞\|\cdot\|_{\infty}. In addition, we know that with probability at least 1−δ1-\delta,

due to Hoeffding bound and ∥V∗∥∞≤1/(1−γ)\|V^{*}\|_{\infty}\leq 1/(1-\gamma). Combining (63), (66), and (4.5) yields

Solving for ∥Qμ^,∗−Q^μ^,ν(μ^)∥∞\|Q^{\widehat{\mu},*}-\widehat{Q}^{\widehat{\mu},\nu(\widehat{\mu})}\|_{\infty} further leads to

Now we substitute (4.5) and (4.5) into (58), to complete the bound in (56). If the first term in the max⁡\max in (58) is larger, and noticing that the choice of NN in the theorem can make αδ,N′<1/5\alpha^{\prime}_{\delta,N}<1/5, (56), (58), (4.5), and Lemma 19 together lead to

with some absolute constant cc, where we have replaced the term log⁡(1/(1−γ)2)\log(1/(1-\gamma)^{2}) in the bounds for ∥Q∗−Q^μ∗,∗∥∞\|Q^{*}-\widehat{Q}^{\mu^{*},*}\|_{\infty} and ∥Q∗−Q^∗,ν∗∥∞\|Q^{*}-\widehat{Q}^{*,\nu^{*}}\|_{\infty} in Lemma 19 (including that in the definition of αδ,N\alpha_{\delta,N}) by log⁡((C+1)/(1−γ)4)\log((C+1)/(1-\gamma)^{4}), a larger number. If the second term in the max⁡\max in (58) is larger, (56), (58), (4.5), and Lemma 19 together yield

where we have used the fact that αδ,N′<1/5\alpha^{\prime}_{\delta,N}<1/5. Taking infinity norm on both sides and solving for ∥Vμ^,∗−V∗∥∞\|{V}^{\widehat{\mu},*}-{V}^{*}\|_{\infty}, we have

with some absolute constant cc (which can be different from that in (4.5)). Using the choice of NN in the theorem, and combining (4.5) and (70), we finally have V∗−Vμ^,∗≤ϵ+4ϵopt/(1−γ)V^{*}-V^{\widehat{\mu},*}\leq\epsilon+4\epsilon_{opt}/(1-\gamma). Note that on the right-hand side of (70), the NN that makes the third term to be O(ϵ)\mathcal{O}(\epsilon) is O~(1/[(1−γ)8/3ϵ4/3])\widetilde{\mathcal{O}}(1/[(1-\gamma)^{8/3}\epsilon^{4/3}]), which is dominated by O~(1/[(1−γ)3ϵ2])\widetilde{\mathcal{O}}(1/[(1-\gamma)^{3}\epsilon^{2}]) when ϵ∈(0,1/(1−γ)1/2]\epsilon\in(0,1/(1-\gamma)^{1/2}]. In addition, to make αδ,N′<1/5\alpha^{\prime}_{\delta,N}<1/5, NN should be larger than O~(1/(1−γ)2)\widetilde{\mathcal{O}}(1/(1-\gamma)^{2}), which is consistent with both the first and third terms on the right-hand side of (70) to be O~(1/(1−γ)1/2)\widetilde{\mathcal{O}}(1/(1-\gamma)^{1/2}), determining the allowed range of ϵ\epsilon to be (0,1/(1−γ)1/2](0,1/(1-\gamma)^{1/2}]. This proves the first bound in the theorem.

The proof for completing the bound in (57) is analogous: using Lemmas 18 and 9 to bound ∥Q∗,ν^−Q^∗,ν^∥∞\|Q^{*,\widehat{\nu}}-\widehat{Q}^{*,\widehat{\nu}}\|_{\infty}, which is then substituted into (57). This completes the proof.

Concluding Remarks

In this paper, we have established the first (near-)minimax optimal sample complexity for model-based MARL, when a generative model is available. Our setting was focused on the basic model in MARL — infinite-horizon discounted two-player zero-sum Markov games (Littman, 1994). By noticing that reward is not used in the sampling process of this model-based approach, we have separated the reward-aware and reward-agnostic cases, and established sample complexity lower bounds correspondingly, a unique separation in the multi-agent context. We have then shown that this simple model-based approach is near-minimax optimal in the reward-aware case, with only a gap in the dependence on ∣A∣,∣B∣|\mathcal{A}|,|\mathcal{B}|; and is indeed minimax-optimal in the reward-agnostic case. This separation and the (near-)optimal results have not only justified the sample-efficiency of this simple approach, but also reflected both its power (easily handling multiple reward functions known in hindsight), and its limitation (less adaptive and can hardly achieve the optimal O~(∣A∣+∣B∣)\widetilde{\mathcal{O}}(|\mathcal{A}|+|\mathcal{B}|)). We believe that our results may shed light on the choice of model-free and model-based approaches in various MARL scenarios in practice.

Our results naturally open up the following interesting future directions. First, besides the turn-based setting in Sidford et al. (2020) and the episodic setting in the concurrent work Bai et al. (2020), the minimax-optimal sample complexity in all parameters for model-free algorithms is still open. As discussed in §3, in the reward-aware case, the Ω~(∣A∣+∣B∣)\widetilde{\Omega}(|\mathcal{A}|+|\mathcal{B}|) lower bound may only be attainable by model-free ones. It would be interesting to compare the results with our model-based ones, in both reward-aware and reward-agnostic cases, to better understand their pros and cons in various MARL settings. It would also be interesting to explore the (near-)optimal sample complexity or regret of model-based approaches in other MARL scenarios, such as when no generative model is available, episodic and average-reward settings, general-sum Markov games, and the setting with function approximation.

Acknowledgments and Disclosure of Funding

The research of K.Z. and T.B. was supported in part by the US Army Research Laboratory (ARL) Cooperative Agreement W911NF-17-2-0196, and in part by the Office of Naval Research (ONR) MURI Grant N00014-16-1-2710. The research of S.K. was supported by the funding from the ONR award N00014-18-1-2247, and NSF Awards CCF-1703574 and CCF-1740551. We would also like to thank all the anonymous reviewers for their valuable feedback that helped improve our paper.

References

Appendix A Lower Bounds

Now we discuss lower bounds of the sample complexity given in §3.1.

The proof follows by recalling the hard cases of MDPs considered in Azar et al. (2013) or Feng et al. (2019), and replacing each action aa therein by a joint-action (a,b)(a,b). Without loss of generality, suppose ∣A∣≥∣B∣|\mathcal{A}|\geq|\mathcal{B}|. Then, we design a Markov game such that agent 22 has no effect on the reward or the transition. Thus, finding an NE is now the same as agent 11 finding the optimal value/policy. By the arguments in Azar et al. (2013); Feng et al. (2019), the sample complexity is at least \widetilde{\Omega}\big{(}|{\mathcal{S}}|\cdot\max\{|\mathcal{A}|,|\mathcal{B}|\}\cdot(1-\gamma)^{-3}\epsilon^{-2}\big{)}, where Ω~\widetilde{\Omega} suppresses some log factors of ∣S∣,∣A∣,∣B∣|{\mathcal{S}}|,|\mathcal{A}|,|\mathcal{B}| and 1/δ1/\delta. Noticing that \max\{|\mathcal{A}|,|\mathcal{B}|\}=(|\mathcal{A}|+|\mathcal{B}|+\big{|}|\mathcal{A}|-|\mathcal{B}|\big{|})/2, we obtain the lower bound.

Challenge in Obtaining Ω~​(|𝒜|​|ℬ|)~Ω𝒜ℬ\widetilde{\Omega}(|\mathcal{A}||\mathcal{B}|).

Note that the proof of a \widetilde{\Omega}\big{(}|{\mathcal{S}}|(|\mathcal{A}|+|\mathcal{B}|)\cdot(1-\gamma)^{-3}\epsilon^{-2}\big{)} lower bound is a straightforward adaptation from the single-agent result. The lower bound can also be obtained in several other ways (via a treatment of turn-based Markov games, or the attempts to be introduced next). Nevertheless, these attempts can hardly lead to a lower bound of Ω~(∣A∣∣B∣)\widetilde{\Omega}(|\mathcal{A}||\mathcal{B}|), in this reward-aware case. We highlight the challenges as follows.

The core proof idea of Azar et al. (2013); Feng et al. (2019) for the single-agent setting lower bound is to create a class of O(∣S∣∣A∣)\mathcal{O}(|{\mathcal{S}}||\mathcal{A}|) number of MDPs, which are hard to distinguish from each other. When the reward function is given (i.e., in the reward-aware setting), one can only change the transition model to obtain different hard MDPs. Hence, in Azar et al. (2013), their approach is to first create a null hypothesis, in which the optimal QQ-value and ϵ\epsilon-optimal actions at every state are fixed. Then in each of the O(∣S∣∣A∣)\mathcal{O}(|{\mathcal{S}}||\mathcal{A}|) alternative hypothesis, they change the transition probability of a distinct state-action pair (s,a)(s,a) in the null case to make the Q-value slightly differ from the null-setting and such that aa is an ϵ\epsilon-optimal action at state ss. They construct the hard instance cleverly such that if an algorithm correctly outputs the optimal Q-value (or optimal policy) in an alternative hypothesis with high probability, then it must have sampled Ω~((1−γ)−3ϵ−2)\widetilde{\Omega}((1-\gamma)^{-3}\epsilon^{-2}) samples at the corresponding (s,a)(s,a) pair in the null hypothesis. As this holds for all O(∣S∣∣A∣)\mathcal{O}(|{\mathcal{S}}||\mathcal{A}|) alternative hypotheses, we obtain an Ω~(∣S∣∣A∣(1−γ)−3ϵ−2)\widetilde{\Omega}(|{\mathcal{S}}||\mathcal{A}|(1-\gamma)^{-3}\epsilon^{-2}) sample lower bound.

In the game setting, however, the above idea requires to change the Nash equilibrium (say, a unique pure strategy) to a different state-action-action tuple at any state while only make changes to the probability transition of the corresponding state-joint-action tuple. Nevertheless, this is challenging to achieve in general, as the NE value of zero-sum matrix games is not sensitive to the small number of element changes in the payoff matrices. This can be evidenced either by the stability of the NE in this case against the payoff perturbation (Jansen, 1981), or by the sensitivity analysis of the equivalent linear program of the game (Luce and Raiffa, 1989) against the problem data (Dantzig, 1998). Indeed, one can verify that only changing O(1)\mathcal{O}(1) elements in the transition probability matrix, and thus changing O(1)\mathcal{O}(1) elements in the Q-value table at each state, by a small amount, can hardly change the NE value/policy too much. Some order of O(∣A∣)\mathcal{O}(|\mathcal{A}|) (or O(∣B∣)\mathcal{O}(|\mathcal{B}|)) number of changes may suffice, but will eventually yields O(∣B∣)\mathcal{O}(|\mathcal{B}|) (or O(∣A∣)\mathcal{O}(|\mathcal{A}|)) hard alternative cases, leading to the same Ω~(∣A∣+∣B∣)\widetilde{\Omega}(|\mathcal{A}|+|\mathcal{B}|) result as Lemma 3. In other words, one can hardly obtain the sufficient number of required hard cases (Ω~(∣A∣∣B∣)\widetilde{\Omega}(|\mathcal{A}||\mathcal{B}|) in total) by changing only O(1)\mathcal{O}(1) elements in the transition probability matrix of each alternative hypothesis case.

On the other hand, interestingly, we note that there are some results on the payoff query complexity, i.e., the number of queries for the elements in the payoff matrix, for finding the NE (Fearnley et al., 2015; Fearnley and Savani, 2016). It is possible to use O(klog⁡(k)/ϵ2)\mathcal{O}(k\log(k)/\epsilon^{2}) queries to find the ϵ\epsilon-NE in zero-sum matrix games when ∣A∣=∣B∣|\mathcal{A}|=|\mathcal{B}|, where k=∣A∣=∣B∣k=|\mathcal{A}|=|\mathcal{B}| (Fearnley and Savani, 2016). Note that the lower bound given in Fearnley and Savani (2016), though being Ω(k2)\Omega(k^{2}), requires the accuracy ϵ≤1/k\epsilon\leq 1/k to be small, which cannot be used in our previous analysis with a dimension-free choice of ϵ\epsilon. From a different angle, these results imply that it may indeed be unnecessary to accurately estimate all elements in the matrix, in order to obtain an approximate Nash equilibrium.

In light of these observations, we have conjectured that with reward knowledge, the lower bound of Ω~(∣A∣+∣B∣)\widetilde{\Omega}(|\mathcal{A}|+|\mathcal{B}|) is indeed unimprovable, which might be matched by some other (possibly model-free) MARL algorithms, as general model-based approaches inherently require Ω~(∣A∣∣B∣)\widetilde{\Omega}(|\mathcal{A}||\mathcal{B}|) for transition model estimation. Such a Ω~(∣A∣+∣B∣)\widetilde{\Omega}(|\mathcal{A}|+|\mathcal{B}|) lower bound on regret has been provided recently in Bai and Jin (2020), though in a different setting. More interestingly, though not entirely comparable to us, in the concurrent work Bai et al. (2020), the O~(∣A∣+∣B∣)\widetilde{\mathcal{O}}(|\mathcal{A}|+|\mathcal{B}|) complexity is indeed shown to be attainable by a model-free Nash-V learning algorithm in the episodic setting, with the reward information guiding the online update.

A.2 Reward-Agnostic Case

Now we establish the lower bound for the reward-agnostic case, i.e., the proof of Theorem 4. The idea to construct hard cases is similar to that discussed in §A.1, which is motivated by Azar et al. (2013); Feng et al. (2019), but with additional flexibility to design the reward function that is unknown in the sampling stage. Our hard cases apply to both finding the ϵ\epsilon-NE policy pair and finding the ϵ\epsilon-approximate NE value. For the sake of presentation, we focus on proving the lower bound for the ϵ\epsilon-NE policy. Let us first formally define the notion of a correct algorithm in terms of learning an ϵ\epsilon-NE policy in this reward-agnostic case.

((ϵ,δ\epsilon,\delta)-correct reward-agnostic algorithm) We say that an RL algorithm A\mathfrak{A} is (ϵ,δ)(\epsilon,\delta)-correct in the reward-agnostic case, if for any unknown MG G=(S,A,B,r,P,γ)\mathcal{G}=({\mathcal{S}},\mathcal{A},\mathcal{B},r,P,\gamma), A\mathfrak{A} first calls a generative model on (S,A,B,P,γ)({\mathcal{S}},\mathcal{A},\mathcal{B},P,\gamma), and is then fed with the reward rr, and outputs an ϵ\epsilon-NE policy (μ,ν)(\mu,\nu) with probability at least 1−δ1-\delta.

Note that rr is only revealed to A\mathfrak{A} after the sampling, and such an A\mathfrak{A} should be able to output an (ϵ,δ\epsilon,\delta)-correct NE policy for any single rr in the underlying model. Thus, for MM reward functions defined over the same (S,A,B,P,γ)({\mathcal{S}},\mathcal{A},\mathcal{B},P,\gamma), using a union bound argument, the ϵ\epsilon-NE policy corresponding to all MM reward functions can be obtained simultaneously with probability greater than 1−Mδ1-M\delta (of course with a small enough δ\delta). To prove the theorem, we will construct a class of Markov game models. We show that if algorithm A\mathfrak{A} only draws samples much fewer than the lower bound, there exists an MG G\mathcal{G} such that A\mathfrak{A} cannot be an (ϵ,δ)(\epsilon,\delta)-correct reward-agnostic algorithm for. Compared to the reward-aware case, we now allow more freedom to construct hard instances, by not only perturbing the transition matrix, but also choosing the reward function judiciously. This would eventually allow us to obtain Θ(∣A∣∣B∣)\Theta(|\mathcal{A}||\mathcal{B}|) hard cases, combating the insensitivity of NE to the perturbation of the payoff matrices (c.f. discussion in §A.1).

which is fully characterized by pG,x,a,bp_{\mathcal{G},x,a,b} and ιG,x,a,b\iota_{\mathcal{G},x,a,b}.

Transition Model Hypotheses of 𝒢𝒢\mathcal{G}.

We restrict γ∈(1/2,1)\gamma\in(1/2,1). Let p0=γp_{0}=\gamma and α1,α2∈(0,1)\alpha_{1},\alpha_{2}\in(0,1). We consider M+1M+1 possibilities of the transition models of G\mathcal{G}, where M:=K[L1(L2−1)]M:=K[L_{1}(L_{2}-1)] — the null hypothesis is:

and for all k∈[K]k\in[K], l1∈[L1]l_{1}\in[L_{1}], and l2∈[L2]\{1}l_{2}\in[L_{2}]\backslash\{1\} the MM alternative hypotheses are:

where α1=c′(1−γp0)2ϵ/γ\alpha_{1}=c^{\prime}(1-\gamma p_{0})^{2}\epsilon/\gamma, α2=c(1−γp0)2ϵ/γ\alpha_{2}=c(1-\gamma p_{0})^{2}\epsilon/\gamma for some ϵ∈(0,1)\epsilon\in(0,1) and absolute constants c′,c>0c^{\prime},c>0 to be determined later. Note that each alternative hypothesis only has one element in the transition model different from the null one.

Reward Functions.

We define a class of M+1M+1 reward functions R={r1}⋃{rk,l1,l2: ∀k∈[K],l1∈[L1],l2∈[L2]\{1}}\mathfrak{R}=\{r_{1}\}\bigcup\{r_{k,l_{1},l_{2}}:~{}\forall k\in[K],l_{1}\in[L_{1}],l_{2}\in[L_{2}]\backslash\{1\}\}, which is unknown to A\mathfrak{A} during sampling, and is defined as follows (recall that other than the value specified by ιG,x,a,b\iota_{\mathcal{G},x,a,b}, rewards are all zero):

for all k∈[K]k\in[K], l1∈[L1]l_{1}\in[L_{1}], and l2∈[L2]\{1}l_{2}\in[L_{2}]\backslash\{1\}.

By the construction above, if the reward function rm∈Rr_{m}\in\mathfrak{R} is assigned to the corresponding transition model in Gm\mathcal{G}_{m}, for either m=1m=1 or any m=(k,l1,l2)m=(k,l_{1},l_{2}), then the corresponding Q-values become

and ∀k∈[K], l1∈[L1], l2∈[L2]\{1}\forall k\in[K],~{}l_{1}\in[L_{1}],~{}l_{2}\in[L_{2}]\backslash\{1\},

We then select α1\alpha_{1} such that for (l1,l2)≠(1,1)(l_{1},l_{2})\neq(1,1),

and α2\alpha_{2} is selected such that α2≥2α1\alpha_{2}\geq 2\alpha_{1} and

for all (l1′,l2′)≠(l1,l2)(l_{1}^{\prime},l_{2}^{\prime})\neq(l_{1},l_{2}). Moreover, we require that p0∈(1/2+2α1+2α2,1)p_{0}\in(1/2+2\alpha_{1}+2\alpha_{2},1), α2/(1−p0)∈(0,1/2)\alpha_{2}/(1-p_{0})\in(0,1/2) and α2/(p0−2α1−2α2)∈(0,1/2)\alpha_{2}/(p_{0}-2\alpha_{1}-2\alpha_{2})\in(0,1/2). Hence, ϵ≤O(1/(1−γ))\epsilon\leq\mathcal{O}(1/(1-\gamma)).

Moreover, one can verify that if any reward rk,l1,l2r_{k,l_{1},l_{2}} with k∈[K]k\in[K], l1∈[L1]l_{1}\in[L_{1}], and l2∈[L2]\{1}l_{2}\in[L_{2}]\backslash\{1\} (instead of r1r_{1} as in (74)) is assigned to the transition model of G1\mathcal{G}_{1}, then the NE policy at xkx_{k} can never be the pure strategy μ1∗(xk)=al1\mu_{1}^{*}(x_{k})=a_{l_{1}}, ν1∗(xk)=bl2\nu_{1}^{*}(x_{k})=b_{l_{2}} (it can be some mixed NE policy). As a consequence, for algorithm A\mathfrak{A}, after estimating the transition model of G1\mathcal{G}_{1}, if rk,l1,l2r_{k,l_{1},l_{2}} is revealed, then it will output some ϵ\epsilon-NE policy with probability greater than 1−δ1-\delta; this ϵ\epsilon-NE policy pair, which can be mixed strategies at xkx_{k}, should output the joint-action (al1,bl2)(a_{l_{1}},b_{l_{2}}) with a small probability, which is smaller than

(implying that ϵ≤γ/[96(1−γp0)]\epsilon\leq\gamma/[96(1-\gamma p_{0})]), where the first inequality is due to (A.2)-(77), and the last one follows by upper-bounding γ/(1−γp0)−γ/[1−γ(p0−2α2)]{\gamma}/{(1-\gamma p_{0})}-{\gamma}/{[1-\gamma(p_{0}-2\alpha_{2})]} simply by γ/(1−γp0){\gamma}/{(1-\gamma p_{0})}. This is because otherwise, the value of the ϵ\epsilon-NE policy at xkx_{k}, denoted by VG1∗(xk)V^{*}_{\mathcal{G}_{1}}(x_{k}) satisfies

where the first inequality is because with reward rk,l1,l2r_{k,l_{1},l_{2}} being assigned to model G1\mathcal{G}_{1}, at state xkx_{k} and with the joint-action (al1,bl2)(a_{l_{1}},b_{l_{2}}), the Q-value is γ/(1−γp0){\gamma}/{(1-\gamma p_{0})}, while the smallest Q-value at state xkx_{k} is γ/[1−γ(p0−2α2)]{\gamma}/{[1-\gamma(p_{0}-2\alpha_{2})]}; the last equation is due to the definition of β\beta in (78). However, one can verify that the NE-value in this case lies in the range [γ/(1−γ(p0−2α1)),γ/(1−γ(p0−α1))][{\gamma}/{(1-\gamma(p_{0}-2\alpha_{1}))},{\gamma}/{(1-\gamma(p_{0}-\alpha_{1}))}], by finding the minimax and maximin elements in the payoff matrix, i.e., the Q-value table at xkx_{k} (using Lemma 25). Thus, (79) contradicts the fact that this policy is an ϵ\epsilon-NE policy (thus making VG1∗(xk)V^{*}_{\mathcal{G}_{1}}(x_{k}) ϵ\epsilon-close to the NE-value). If we define the following events for every k∈[K]k\in[K], l1∈[L1]l_{1}\in[L_{1}], and l2∈[L2]\{1}l_{2}\in[L_{2}]\backslash\{1\}:

Now, we fix ϵ∈(0,ϵ0)\epsilon\in(0,\epsilon_{0}) and δ∈(0,δ0)\delta\in(0,\delta_{0}), where ϵ0\epsilon_{0} and δ0\delta_{0} will be determined later. Let

where c1>0c_{1}>0 is an absolute constant to be determined later. We also define Tk,l1,l2T_{k,l_{1},l_{2}} to be the number of samples that algorithm A\mathfrak{A} calls from the generative model with input state y1,xk,al1,bl2y_{1,x_{k},a_{l_{1}},b_{l_{2}}} till A\mathfrak{A} stops (these sample calls are not necessarily consecutive). Note that no reward information is used/revealed to the agent in this sampling process of A\mathfrak{A}. For every k∈[K]k\in[K], l1∈[L1]l_{1}\in[L_{1}], and l2∈[L2]\{1}l_{2}\in[L_{2}]\backslash\{1\}, we define the following two events:

where Sk,l1,l2S_{k,l_{1},l_{2}} is the number of transitions to itself in the Tk,l1,l2T_{k,l_{1},l_{2}} calls to the generative model with input state y1,xk,al1,bl2y_{1,x_{k},a_{l_{1}},b_{l_{2}}}. For these events, we have the following lemmas.

Proof We denote outcome to be 11 if the transition from y1,xk,al1,bl2y_{1,x_{k},a_{l_{1}},b_{l_{2}}} ends up on itself; otherwise 0. By definition, the outcomes from state y1,xk,al1,bl2y_{1,x_{k},a_{l_{1}},b_{l_{2}}} are i.i.d. Bernoulli-pG1,xk,al1,bl2p_{\mathcal{G}_{1},x_{k},a_{l_{1}},b_{l_{2}}} random variables. Let ϵ:=2pG1,xk,al1,bl2(1−pG1,xk,al1,bl2)Tk,l1,l2log⁡(1/4δ)\epsilon:=\sqrt{2p_{\mathcal{G}_{1},x_{k},a_{l_{1}},b_{l_{2}}}(1-p_{\mathcal{G}_{1},x_{k},a_{l_{1}},b_{l_{2}}})T_{k,l_{1},l_{2}}\log(1/4\delta)}. By Chernoff-Hoeffding bound and pG1,xk,al1,bl2≥p0−2α1>1/2p_{\mathcal{G}_{1},x_{k},a_{l_{1}},b_{l_{2}}}\geq p_{0}-2\alpha_{1}>1/2, we have that

Additional application of δ<1/16\delta<1/16 proves the lemma.

Proof Let WW be the length-Tk,l1,l2T_{k,l_{1},l_{2}} random sequence of the next states by calling the generative model Tk,l1,l2T_{k,l_{1},l_{2}} times with the input state y1,xk,al1,bl2y_{1,x_{k},a_{l_{1}},b_{l_{2}}}. To simplify notation, we represent WW as a binary sequence where 11 represents the next state from y1,xk,al1,bl2y_{1,x_{k},a_{l_{1}},b_{l_{2}}} to itself and otherwise. If (l1,l2)≠(1,1)(l_{1},l_{2})\neq(1,1) and G=G1\mathcal{G}=\mathcal{G}_{1}, WW forms an i.i.d. Bernoulli-pG1,xk,al1,bl2p_{\mathcal{G}_{1},x_{k},a_{l_{1}},b_{l_{2}}} sequence; if G=Gk,l1,l2\mathcal{G}=\mathcal{G}_{k,l_{1},l_{2}}, this is an i.i.d Bernoulli-pGk,l1,l2,xk,al1,bl2p_{\mathcal{G}_{k,l_{1},l_{2}},x_{k},a_{l_{1}},b_{l_{2}}} sequence. We define the likelihood function Lk,l1,l2\mathcal{L}_{k,l_{1},l_{2}} as

Recall that the notation Sk,l1,l2S_{k,l_{1},l_{2}} denotes the total number of 11’s in WW. For convenience, let us denote

To additionally simplify the notation, we define T=Tk,l1,l2T=T_{k,l_{1},l_{2}} and S=Sk,l1,l2S=S_{k,l_{1},l_{2}}. With these new notations, we compute Lk,l1,l2(W)/L1(W)\mathcal{L}_{k,l_{1},l_{2}}(W)/\mathcal{L}_{1}(W) as follows

Note that p0−2α1≤p1≤p0p_{0}-2\alpha_{1}\leq p_{1}\leq p_{0}. By our choice of p0p_{0}, α1\alpha_{1}, α2\alpha_{2}, and ϵ\epsilon, it holds that α2/(1−p1)∈(0,1/2)\alpha_{2}/(1-p_{1})\in(0,1/2) and α2/p1∈(0,1/2)\alpha_{2}/p_{1}\in(0,1/2). With the fact that log⁡(1−u)≥−u−u2\log(1-u)\geq-u-u^{2} for u∈[0,1/2]u\in[0,1/2] and exp⁡(−u)≥1−u\exp(-u)\geq 1-u for u∈u\in, we have that

due to S≤TS\leq T. Next, we proceed on the event Ek,l1,l2\mathcal{E}_{k,l_{1},l_{2}}. By definition, if Ek,l1,l2\mathcal{E}_{k,l_{1},l_{2}} occurs, event Ak,l1,l2A_{k,l_{1},l_{2}} has occurred. Using log⁡(1−u)≥−2u\log(1-u)\geq-2u for u∈[0,1/2]u\in[0,1/2], it follows that

Using log⁡(1−u)≥−2u\log(1-u)\geq-2u for u∈[0,1/2]u\in[0,1/2], we also have that

Further, we have that when Ek,l1,l2\mathcal{E}_{k,l_{1},l_{2}} occurs, Ck,l1,l2C_{k,l_{1},l_{2}} also occurs. Therefore,

By taking c1c_{1} small enough, e.g., c1=10−5c−2c_{1}=10^{-5}c^{-2}, we have Lk,l1,l2(W)/L1(W)≥4δ{\mathcal{L}_{k,l_{1},l_{2}}(W)}/{\mathcal{L}_{1}(W)}\geq 4\delta. Note that by (73), the probability measure of the whole sample sequence under the two hypotheses G1\mathcal{G}_{1} and Gk,l1,l2\mathcal{G}_{k,l_{1},l_{2}} only differ at (k,l1,l2)(k,l_{1},l_{2}). By a change of measure, we deduce that

which, by the 2ϵ2\epsilon-NE property, should satisfy

Similarly, let ξ=ν(bl2 ∣ xk)\xi=\nu(b_{l_{2}}{\,|\,}x_{k}), we have

Appendix B Auxiliary Results

We now show that solving the regularized matrix game induced by Q^∗\widehat{Q}^{*}, see (6), leads to a smooth Planning Oracle with certain smoothness coefficient CC (see Definition 7).

Suppose that the nonnegative regularizers Ωi\Omega_{i} for i=1,2i=1,2 in (6) are twice continuously differentiable, strongly convex, and bounded over the simplex. Suppose that for each s∈Ss\in{\mathcal{S}}, the solution policy pair (μ^(⋅ ∣ s),ν^(⋅ ∣ s))(\widehat{\mu}(\cdot{\,|\,}s),\widehat{\nu}(\cdot{\,|\,}s)) of (6) with τ1=τ2=(1−γ)2ϵ>0\tau_{1}=\tau_{2}=(1-\gamma)^{2}\epsilon>0 lies in the relative interior of the simplexes Δ(A)\Delta(\mathcal{A}) and Δ(B)\Delta(\mathcal{B}), respectively. Then, (μ^,ν^)(\widehat{\mu},\widehat{\nu}) is smooth with respect to Q^∗\widehat{Q}^{*}, namely, this Planning Oracle follows Definition 7, with some constant C=poly(∣A∣,∣B∣,∣S∣,1/ϵ,1/(1−γ))C={\texttt{poly}}(|\mathcal{A}|,|\mathcal{B}|,|{\mathcal{S}}|,1/\epsilon,1/(1-\gamma)), and meanwhile ∥V^μ^,∗−V^∗∥∞≤O((1−γ)ϵ), ∥V^∗,ν^−V^∗∥∞≤O((1−γ)ϵ)\|\widehat{V}^{\widehat{\mu},*}-\widehat{V}^{*}\|_{\infty}\leq\mathcal{O}((1-\gamma)\epsilon),~{}\|\widehat{V}^{*,\widehat{\nu}}-\widehat{V}^{*}\|_{\infty}\leq\mathcal{O}((1-\gamma)\epsilon), namely, ϵopt\epsilon_{opt} in Theorem 8 satisfies ϵopt≤O((1−γ)ϵ)\epsilon_{opt}\leq\mathcal{O}((1-\gamma)\epsilon).

where u=Λ1(u~)=[I−1⊤]u~+e∣A∣u=\Lambda_{1}(\widetilde{u})=\left[\begin{matrix}I\\ -\bm{1}^{\top}\end{matrix}\right]\widetilde{u}+\bm{e}_{|\mathcal{A}|} and ϑ=Λ2(ϑ~)=[I−1⊤]ϑ~+e∣B∣\vartheta=\Lambda_{2}(\widetilde{\vartheta})=\left[\begin{matrix}I\\ -\bm{1}^{\top}\end{matrix}\right]\widetilde{\vartheta}+\bm{e}_{|\mathcal{B}|}, 1\bm{1} denotes the all-one vector of proper dimension, and ei\bm{e}_{i} denotes the vector of proper dimension whose ii-th element is one and all other elements are zero.

Since the solution lies in the relative interior of Δ(A)\Delta(\mathcal{A}) and Δ(B)\Delta(\mathcal{B}), by first-order optimality, we have that for each s∈Ss\in{\mathcal{S}}

whose solution is unique since (90) is still a strongly-convex-strongly-concave minimax problem. In particular, note that by the chain rule, the Hessians of ff are ∇u~2f(u~,ϑ~)=[I−1]∇u2g(u,ϑ)[I−1⊤]\nabla_{\widetilde{u}}^{2}f(\widetilde{u},\widetilde{\vartheta})=\left[\begin{matrix}I&-\bm{1}\end{matrix}\right]\nabla_{u}^{2}g(u,\vartheta)\left[\begin{matrix}I\\ -\bm{1}^{\top}\end{matrix}\right] and ∇ϑ~2f(u~,ϑ~)=[I−1]∇ϑ2g(u,ϑ)[I−1⊤]\nabla_{\widetilde{\vartheta}}^{2}f(\widetilde{u},\widetilde{\vartheta})=\left[\begin{matrix}I&-\bm{1}\end{matrix}\right]\nabla_{\vartheta}^{2}g(u,\vartheta)\left[\begin{matrix}I\\ -\bm{1}^{\top}\end{matrix}\right], where

Notice that the Jacobian of FF with respect to [u~⊤  ϑ~⊤]⊤[\widetilde{u}^{\top}~{}~{}\widetilde{\vartheta}^{\top}]^{\top} is

which is always invertible for any point in Δo(A)×Δo(B)×Qo\Delta^{o}(\mathcal{A})\times\Delta^{o}(\mathcal{B})\times\mathcal{Q}^{o}. This is because Ωi\Omega_{i} are strongly convex, and thus the real parts of the eigenvalues of the matrix, which are the eigenvalues of (M+M⊤)/2(M+M^{\top})/2, are always positive and uniformly lower bounded. Specifically, we have

with λi(⋅)\lambda_{i}(\cdot) being the ii-th largest eigenvalues of the corresponding matrix. This further implies that for any (u~,ϑ~,vec(Qs))∈Δo(A)×Δo(B)×Qo(\widetilde{u},\widetilde{\vartheta},\text{vec}(Q_{s}))\in\Delta^{o}(\mathcal{A})\times\Delta^{o}(\mathcal{B})\times\mathcal{Q}^{o},

where σi(⋅)\sigma_{i}(\cdot) is the ii-th largest singular value of the corresponding matrix.

By the implicit function theorem (Krantz and Parks, 2012), for any point that solves F(u~,ϑ~,vec(Qs))=0F(\widetilde{u},\widetilde{\vartheta},\text{vec}(Q_{s}))=0, since M(u~,ϑ~,vec(Qs))M(\widetilde{u},\widetilde{\vartheta},\text{vec}(Q_{s})) is invertible, there exists a neighborhood U⊆Δo(A)U\subseteq\Delta^{o}(\mathcal{A}), V⊆Δo(B)V\subseteq\Delta^{o}(\mathcal{B}), and W⊆QoW\subseteq\mathcal{Q}^{o} around it, such that [u~⊤  ϑ~⊤]⊤∈U×V[\widetilde{u}^{\top}~{}~{}\widetilde{\vartheta}^{\top}]^{\top}\in U\times V is a unique function of vec(Qs)\text{vec}(Q_{s}) for all vec(Qs)∈W\text{vec}(Q_{s})\in W, and

where ⊗\otimes denotes the Kronecker product. Thus, we have

Notice that this is a uniform bound on the gradient of the implicit function, at any point in Δo(A)×Δo(B)×Qo\Delta^{o}(\mathcal{A})\times\Delta^{o}(\mathcal{B})\times\mathcal{Q}^{o}, which together with the mean-value theorem leads to

where the pair (u~i,ϑ~i)(\widetilde{u}_{i},\widetilde{\vartheta}_{i}) is the unique solution of F=0F=0 corresponding to Qs,iQ_{s,i}. By the equivalence of norms and considering all s∈Ss\in{\mathcal{S}}, we can find some constant CC (which depends on ∣A∣|\mathcal{A}|, ∣B∣|\mathcal{B}|, ∣S∣|{\mathcal{S}}|, as well as 1/ϵ1/\epsilon and 1/(1−γ)1/(1-\gamma) polynomially) as the smooth coefficient, and this completes the first argument of the result.

Now, it suffices to prove that the obtained solution (μ^,ν^)(\widehat{\mu},\widehat{\nu}) with parameter τ1=τ2=(1−γ)2ϵ\tau_{1}=\tau_{2}=(1-\gamma)^{2}\epsilon also leads to small ϵopt\epsilon_{opt}. Let Di>0D_{i}>0 denotes the upper bound of the regularizer Ωi\Omega_{i} over the simplex. Then, we have that for any s∈Ss\in{\mathcal{S}}

To ensure that the solution (μ^(⋅ ∣ s),ν^(⋅ ∣ s))(\widehat{\mu}(\cdot{\,|\,}s),\widehat{\nu}(\cdot{\,|\,}s)) of (6) lies in the relative interior of the simplexes, the common choice of steep regularizers will suffice (Mertikopoulos and Sandholm, 2016). The steep regularizer means that for any uu (resp. ϑ\vartheta) on the boundary of the simplex Δ(A)\Delta(\mathcal{A}) (resp. Δ(B)\Delta(\mathcal{B})), and for every interior sequence un→uu_{n}\to u (resp. ϑn→ϑ\vartheta_{n}\to\vartheta) that approaches it, it holds that \big{\|}\frac{d\Omega_{1}(u)}{du}\big{|}_{u=u_{n}}\big{\|}_{2}\to\infty (resp. \big{\|}\frac{d\Omega_{2}(\vartheta)}{d\vartheta}\big{|}_{\vartheta=\vartheta_{n}}\big{\|}_{2}\to\infty). This way, the optimizer is not on the boundary of the simplexes. Examples of steep regularizers in Lemma 24 include the commonly used negative entropy, Tsallis entropy and Rényi entropy with certain parameters; see Mertikopoulos and Sandholm (2016) for more discussions. Also note that they are bounded over simplex for standard choices of the parameters, and thus satisfy the conditions in our Lemma 24.

B.2 Properties of (ϵitalic-ϵ\epsilon-)NE in Zero-Sum Matrix Games

Now we establish several properties of the (ϵ\epsilon-)NE strategies in zero-sum matrix games, which have been used in the proof in §A.2.

where ei\bm{e}_{i} denote the all-zero vector except a single 11 at element ii, with proper dimensions. Also, notice that

where the inequality is due to that ei∈Δ(B)\bm{e}_{i}\in\Delta(\mathcal{B}) and the min⁡\min on the right is taken over a smaller set, thus has a larger value. This proves the right-hand side of the inequality. Proof for the other side is analogous.

Consider the game as above in Lemma 25. Let u1,u2∈Δ(A)u_{1},u_{2}\in\Delta(\mathcal{A}) and ϑ1,ϑ2∈Δ(B)\vartheta_{1},\vartheta_{2}\in\Delta(\mathcal{B}) be strategies such that (u1,ϑ1)(u_{1},\vartheta_{1}) is a Nash equilibrium strategy, and (u2,ϑ2)(u_{2},\vartheta_{2}) is an ϵ\epsilon-NE strategy. Then, both (u1,ϑ2)(u_{1},\vartheta_{2}) and (u2,ϑ1)(u_{2},\vartheta_{1}) are 2ϵ2\epsilon-NE strategy pairs.

Proof Let V(u,ϑ):=u⊤MϑV(u,\vartheta):=u^{\top}M\vartheta denote the value under any strategy pair (u,ϑ)(u,\vartheta). By definition, we have that for any u∈Δ(A)u\in\Delta(\mathcal{A}) and ϑ∈Δ(B)\vartheta\in\Delta(\mathcal{B})

for any u∈Δ(A)u\in\Delta(\mathcal{A}) and ϑ∈Δ(B)\vartheta\in\Delta(\mathcal{B}), showing that (u1,ϑ2)(u_{1},\vartheta_{2}) is an 2ϵ2\epsilon-NE. The proof for the pair (u2,ϑ1)(u_{2},\vartheta_{1}) is analogous.