Independent Policy Gradient for Large-Scale Markov Potential Games: Sharper Rates, Function Approximation, and Game-Agnostic Convergence

Dongsheng Ding, Chen-Yu Wei, Kaiqing Zhang, Mihailo R. Jovanović

Introduction

Multi-agent reinforcement learning (RL) studies how multiple players learn to maximize their long-term returns in a setup where players’ actions influence the environment and other agents’ returns (Busoniu et al., 2008; Zhang et al., 2021a). Recently, multi-agent RL has achieved significant success in various multi-agent learning scenarios, e.g., competitive game-playing (Silver et al., 2016, 2018; Vinyals et al., 2019), autonomous robotics (Shalev-Shwartz et al., 2016; Levine et al., 2016), and economic policy-making (Zheng et al., 2020; Trott et al., 2021). In the framework of stochastic games (Shapley, 1953; Fink, 1964), most results are established for fully-competitive (i.e., two-player zero-sum) games; e.g., see Daskalakis et al. (2020); Wei et al. (2021b); Cen et al. (2021). However, to achieve social welfare for AI (Dafoe et al., 2020, 2021; Stastny et al., 2021), it is imperative to establish theoretical guarantees for multi-agent RL in Markov games with cooperation.

Policy gradient methods (Williams, 1992; Sutton et al., 2000) have received significant attention for both single-agent (Bhandari & Russo, 2019; Agarwal et al., 2021) and multi-agent RL problems (Zhang et al., 2019; Daskalakis et al., 2020; Wei et al., 2021b). Independent policy gradient (Zhang et al., 2021a; Ozdaglar et al., 2021) is probably the most practical protocol in multi-agent RL, where each player behaves myopically by only observing her own rewards and actions (as well as the system states), while individually optimizing its own policy. More importantly, independent learning dynamics do not scale exponentially with the number of players in the game. Recently, Daskalakis et al. (2020); Leonardos et al. (2022); Zhang et al. (2021b) have in fact shown that multi-agent RL players could perform policy gradient updates independently, while enjoying global non-asymptotic convergence. However, these results are only focused on the basic tabular setting in which the value functions are represented by tables; they do not carry over to large-scale multi-agent RL problems in which the state space size is potentially infinite and the number of players is large. This motivates the following question:

Can we design independent policy gradient methods for large-scale Markov games, with non-asymptotic global convergence guarantees?

In this paper, we provide the first affirmative answer to this question for a class of mixed cooperative/competitive Markov games: Markov potential games (MPGs) (Macua et al., 2018; Leonardos et al., 2022; Zhang et al., 2021b). In particular, we make the following contributions:

We propose an independent policy gradient algorithm – Algorithm 1 – for learning an ϵ\epsilon-Nash equilibrium of MPGs with O(1/ϵ2)O(1/\epsilon^{2}) iteration complexity. In contrast to the existing results (Leonardos et al., 2022; Zhang et al., 2021b), such iteration complexity does not explicitly depend on the state space size.

We consider a linear function approximation setting and design an independent sample-based policy gradient algorithm – Algorithm 2 – that learns an ϵ\epsilon-Nash equilibrium with O(1/ϵ5)O(1/\epsilon^{5}) sample complexity. This appears to be the first result for learning MPGs with function approximation.

We establish the convergence of an independent optimistic policy gradient algorithm – Algorithm 3 that has been proved to converge in learning zero-sum Markov games (Wei et al., 2021b) – for learning a subclass of MPGs: Markov cooperative games. We show that the same type of optimistic policy learning algorithm provides an ϵ\epsilon-Nash equilibrium in both zero-sum Markov games and Markov cooperative games while the players are oblivious to the types of games being played. To the best of our knowledge, this appears to be the first game-agnostic convergence result in Markov games.

Markov potential games (MPGs). In stochastic optimal control, the MPG model dates back to Dechert & O’Donnell (2006); González-Sánchez & Hernández-Lerma (2013). More recent studies include Zazo et al. (2016); Mazalov et al. (2017); Macua et al. (2018); Mguni et al. (2018) and all of these studies focus on systems with known dynamics. MPGs have also attracted attention in multi-agent RL. In the infinite-horizon setting, Leonardos et al. (2022); Zhang et al. (2021b) extended the policy gradient method (Agarwal et al., 2021; Kakade, 2001) for multiple players and established the iteration/sample complexity that scales with the size of state space; Fox et al. (2022) generalized the natural policy gradient method (Kakade, 2001; Agarwal et al., 2021) and established the global asymptotic convergence. In the finite-horizon setting, Song et al. (2022) built on the single-agent Nash-VI (Liu et al., 2021) to propose a sample efficient turn-based algorithm and Mao et al. (2022) studied the policy gradient method. Earlier, Wang & Sandholm (2002); Lowe et al. (2017) studied Markov cooperative games and Kleinberg et al. (2009); Palaiopanos et al. (2017); Cohen et al. (2017a) studied one-state MPGs; both of these are special cases of MPGs. We note that the term: Markov potential game has also been used to refer to state-based potential MDPs (Marden, 2012; Mguni et al., 2021), which are different from the MPGs that we study; see counterexamples in Leonardos et al. (2022).

Policy gradient methods for Markov games. Despite recent advances on the theory of policy gradient (Bhandari & Russo, 2019; Agarwal et al., 2021), the theory of policy gradient methods for multi-agent RL is relatively less studied. In the basic two-player zero-sum Markov games, Zhang et al. (2019); Bu et al. (2019); Daskalakis et al. (2020); Zhao et al. (2021) established global convergence guarantees for policy gradient methods for learning an (approximate) Nash equilibrium. More recently, Cen et al. (2021); Wei et al. (2021b) examined variants of policy gradient methods and provided last-iterate convergence guarantees. However, it is much harder for the policy gradient methods to work in general Markov games (Mazumdar et al., 2020; Hambly et al., 2021). The effectiveness of (natural) policy gradient methods for tabular MPGs was demonstrated in Leonardos et al. (2022); Zhang et al. (2021b); Fox et al. (2022); Zhang et al. (2022). Moreover, Xie & Zhong (2020); Wang et al. (2021a); Yu et al. (2021); Peng et al. (2021) reported impressive empirical performance of multi-agent policy gradient methods with function approximation in cooperative Markov games, but the theoretical foundation has not been provided.

Independent learning recently received attention in multi-agent RL (Daskalakis et al., 2020; Zhang et al., 2021a; Ozdaglar et al., 2021; Sayin et al., 2021; Jin et al., 2021a; Song et al., 2022; Kao et al., 2022), because it only requires local information for learning and naturally yields algorithms that scale to a large number of players. The algorithms in Leonardos et al. (2022); Zhang et al. (2021b); Fox et al. (2022); Zhang et al. (2022) can also be generally categorized as independent learning algorithms for MPGs.

Game-agnostic convergence. Being game-agnostic is a desirable property for independent learning in which players are oblivious to the types of games being played. In particular, classical fictitious-play warrants average-iterate convergence for several games (Robinson, 1951; Monderer & Shapley, 1996; Hofbauer & Sandholm, 2002). Although online learning algorithms, e.g., the one based on multiplicative weight updates (MWU) (Cesa-Bianchi & Lugosi, 2006), offer average-iterate convergence in zero-sum matrix games, they often do not provide last-iterate convergence guarantees (Bailey & Piliouras, 2018), which motivates recent studies (Daskalakis & Panageas, 2018; Mokhtari et al., 2020; Wei et al., 2020). Interestingly, while MWU converges in last-iterate for potential games (Palaiopanos et al., 2017; Cohen et al., 2017a), this is not the case for zero-sum matrix games (Cheung & Piliouras, 2020). Recently, Leonardos et al. (2021); Leonardos & Piliouras (2022) established last-iterate convergence of QQ-learning dynamics for both zero-sum and potential/cooperative matrix games. However, it is open question whether an algorithm can have last-iterate convergence for both zero-sum and potential/cooperative Makov games.

Preliminaries

In this section, we introduce Markov potential games (MPGs), define the Nash equilibrium, and describe the problem setting.

We consider an NN-player, infinite-horizon, discounted Markov potential game (Macua et al., 2018; Leonardos et al., 2022; Zhang et al., 2021b),

where A−i{\mathcal{A}}_{-i} is the set of actions of all but the iith player. We use the shorthand Qˉiπ\bar{Q}_{i}^{\pi} for Qˉiπi, π−i\bar{Q}_{i}^{\pi_{i},\,\pi_{-i}} when πi\pi_{i} and π−i\pi_{-i} are from the same joint policy π\pi. It is straightforward to see that Viπ,QiπV_{i}^{\pi},Q_{i}^{\pi}, and Qˉiπ\bar{Q}_{i}^{\pi} are bounded between and 1/(1−γ)1/(1-\gamma).

We recall the notion of (Markov perfect stationary) Nash equilibrium (Fink, 1964). A joint policy π⋆\pi^{\star} is called a Nash equilibrium if for each player i=1,…,Ni=1,\ldots,N,

and called an ϵ\epsilon-Nash equilibrium if for i=1,…,Ni=1,\ldots,N,

Nash equilibria for MPGs with finite states and actions always exist (Fink, 1964). When the state space is infinite, we assume the existence of a Nash equilibrium; see Takahashi (1962); Maitra & Parthasarathy (1970, 1971); Altman et al. (1997) for cases with countable or compact state spaces.

Given policy π\pi and initial state s(0)s^{(0)}, we define the discounted state visitation distribution,

It is useful to introduce a variant of the performance difference lemma (Agarwal et al., 2021) for multiple players; for other versions, see Zhang et al. (2019); Daskalakis et al. (2020); Zhang et al. (2021b); Leonardos et al. (2022).

For the iith player, if we fix the policy π−i\pi_{-i} and any state distribution μ\mu, then for any two policies π^i\widehat{\pi}_{i} and πˉi\bar{\pi}_{i},

where Qˉiπˉi,π−i ⁣(s,ai) ⁣= ⁣∑a−i ⁣ ⁣ ⁣ ⁣π−i(a−i∣s)Qiπˉi,π−i ⁣(s,ai,a−i).\bar{Q}_{i}^{\bar{\pi}_{i},\pi_{-i}}\!(s,a_{i})\!=\!\sum_{a_{-i}}\!\!\!\!\pi_{-i}{(a_{-i}|s)}Q_{i}^{\bar{\pi}_{i},\pi_{-i}}\!(s,a_{i},a_{-i}).

It is common to use the distribution mismatch coefficient to measure the exploration difficulty in policy optimization (Agarwal et al., 2021). We next define a distribution mismatch coefficient for MPGs (Leonardos et al., 2022) in Definition 1, and its minimax variant in Definition 2.

For any distribution μ∈Δ(S)\mu\in\Delta({\mathcal{S}}) and policy π∈Π\pi\in\Pi, the distribution mismatch coefficient κμ\kappa_{\mu} is the maximum distribution mismatch of π\pi relative to μ\mu, κμ:=sup⁡π ∈ Π ∥dμπ/μ∥∞\kappa_{\mu}\mathrel{\mathop{:}}=\sup_{\pi\,\in\,\Pi}\,\left\|d_{\mu}^{\pi}/\mu\right\|_{\infty}, where the division dμπ/μ{d_{\mu}^{\pi}}/{\mu} is evaluated in a componentwise manner.

For any distribution μ∈Δ(S)\mu\in\Delta({\mathcal{S}}), the minimax distribution mismatch coefficient κ~μ\widetilde{\kappa}_{\mu} is the minimax value of the distribution mismatch of π\pi relative to ν\nu, κ~μ:=inf⁡ν ∈ Δ(S)sup⁡π ∈ Π ∥dμπ/ν∥∞\widetilde{\kappa}_{\mu}\mathrel{\mathop{:}}=\inf_{\nu\,\in\,\Delta({\mathcal{S}})}\sup_{\pi\,\in\,\Pi}\,\left\|d_{\mu}^{\pi}/\nu\right\|_{\infty}, where the division dμπ/νd_{\mu}^{\pi}/\nu is evaluated in a componentwise manner.

Independent Learning Setting

We examine an independent learning setting (Zhang et al., 2021a; Daskalakis et al., 2020; Ozdaglar et al., 2021) for Markov potential games in which all players repeatedly execute their own policy and update rules individually. At each time tt, all players propose their own polices πi(t)\pi_{i}^{(t)}: S→Δ(Ai){\mathcal{S}}\to\Delta({\mathcal{A}}_{i}) with the player index i=1,…,Ni=1,\ldots,N, while a game oracle can either evaluate each player’s policy or generate a set of sample trajectories for each player. In repeating such protocol for TT times, each player behaves myopically in optimizing its own policy.

To evaluate the learning performance, we introduce a notion of regret,

which averages the worst player’s local gaps in TT iterations: max⁡πi′Viπi′, π−i(t)(ρ)−Viπ(t)(ρ)\max_{\pi_{i}^{\prime}}V_{i}^{\pi_{i}^{\prime},\,\pi_{-i}^{(t)}}(\rho)-V_{i}^{\pi^{(t)}}(\rho) for t=1,…,Tt=1,\ldots,T, where max⁡πi′Viπi′, π−i(t)(ρ)\max_{\pi_{i}^{\prime}}V_{i}^{\pi_{i}^{\prime},\,\pi_{-i}^{(t)}}(\rho) is the iith player best response given π−i(t)\pi_{-i}^{(t)}. In Nash-Regret(T)\text{Nash-Regret}(T), we compare the learnt joint policy π(t)\pi^{(t)} with the best policy that the iith player can take by fixing π−i(t)\pi_{-i}^{(t)}. We notice that Nash-Regret is closely related to the notion of dynamic regret (Zinkevich, 2003) in which the regret comparator changes over time. This is a suitable notion because the environment is non-stationary from the perspective of an independent learner (Matignon et al., 2012; Zhang et al., 2021a).

To obtain an ϵ\epsilon-Nash equilibrium π(t⋆)\pi^{(t^{\star})} with a tolerance ϵ>0\epsilon>0, our goal is to show the following average performance,

The existence of such t⋆t^{\star} is straightforward,

Since each summand above is non-negative, Viπ(t⋆)(ρ)≥Viπi′, π−i(t⋆)(ρ)−ϵV_{i}^{\pi^{(t^{\star})}}(\rho)\geq V_{i}^{\pi_{i}^{\prime},\,\pi_{-i}^{(t^{\star})}}(\rho)-\epsilon for any πi′\pi_{i}^{\prime} and i=1,…,Ni=1,\ldots,N, which implies that π(t⋆)\pi^{(t^{\star})} is an ϵ\epsilon-Nash equilibrium.

For an independent learning setting without uncertainty in gradient evaluation, we introduce a policy gradient method for Markov potential/cooperative games in Section 4. In Section 5, we utilize a sample-based approach with function approximation to address the scenario in which true gradient is not available and, in Section 6, we provide the game-agnostic convergence analysis.

Independent Policy Gradient Methods

In this section, we assume that we have access to exact gradient and examine a gradient-based method for learning a Nash equilibrium in Markov potential/cooperative games.

A natural independent learning scheme for MPGs is to let every player independently perform policy gradient ascent (Leonardos et al., 2022; Zhang et al., 2021b). In this approach, the iith player updates its policy according the gradient of the value function with respect to the policy parameters,

where the calculation for the gradient in (4.1) can be found in Agarwal et al. (2021); Leonardos et al. (2022); Zhang et al. (2021b).

Update rule (4.1) may suffer from a slow learning rate for some states. Since the gradient with respect to πi(ai ∣ s)\pi_{i}(a_{i}\,|\,s) scales with dρπ(s)d^{\pi}_{\rho}(s) – which may be small if the current policy π\pi has small visitation frequency to ss – the corresponding states may experience slow learning progress. To address this issue, we propose the following update rule (equivalent to (2) in Algorithm 1):

which essentially removes the dρπ(s)/(1−γ){d^{\pi}_{\rho}(s)}/(1-\gamma) factor in standard policy gradient (4.1) and alleviates the slow-learning issue. Interestingly, update rule (4) for the single-player MDP has also been studied in Xiao (2022), concurrently. However, since the optimal value is not unique, the analysis of Xiao (2022) does not apply to our multi-player case for which many Nash policies exist and the set that contains them is non-convex (Leonardos et al., 2022). We also note that regularized variants of (4) for the single-player MDP appeared in Lan (2022); Zhan et al. (2021).

Furthermore, in contrast to (4.1), our update rule (4) is invariant to the initial state distribution ρ\rho. This allows us to establish performance guarantees simultaneously for all ρ\rho in a similar way as typically done for natural policy gradient (NPG) and other policy mirror descent algorithms for single-player MDPs (Agarwal et al., 2021; Lan, 2022; Zhan et al., 2021).

Theorem 1 establishes performance guarantees for Algorithm 1; see Appendix B.1 for proof.

For MPG (1) with an initial state distribution ρ\rho, if all players independently perform the policy update in Algorithm 1 then, for two different choices of stepsize η\eta, we have

Depending on the stepsize η\eta, Theorem 1 provides two rates for the average Nash regret: T−1/4T^{-{1}/{4}} and T−1/2T^{-{1}/{2}}. The technicalities behind these choices will be explained later and, to obtain an ϵ\epsilon-Nash equilibrium, our two bounds suggest respective iteration complexities,

Compared with the iteration complexity guarantees in Leonardos et al. (2022); Zhang et al. (2021b), our bounds in Theorem 1 improve the dependence on the distribution mismatch coefficient κρ\kappa_{\rho} and the state space size SS. Since our minimax distribution mismatch coefficient κ~ρ\widetilde{\kappa}_{\rho} satisfies

our κ~ρ\widetilde{\kappa}_{\rho}-dependence or min⁡(κρ,S)\min(\kappa_{\rho},S)-dependence are less restrictive than the explicit SS-dependence in Leonardos et al. (2022); Zhang et al. (2021b). Importantly, this permits our bounds to work for systems with large number of states, and makes Algorithm 1 suitable for sample-based scenario with function approximation (see Section 5). With polynomial dependence on the number of players NN instead of exponential, Algorithm 1 overcomes the curse of multiagents (Jin et al., 2021a; Song et al., 2022). In terms of problem parameters (γ,A,N,CΦ)(\gamma,A,N,C_{\Phi}), our iteration complexity either improves or becomes slightly worse.

When the state space is infinite, explicit SS-dependence disappears in our iteration complexities. Implicit SS-dependence only exists in the distribution mismatch coefficient κρ\kappa_{\rho} or κ~ρ\widetilde{\kappa}_{\rho}. However, it is easy to bound κρ\kappa_{\rho} by devising an initial state distribution without introducing constraints on the MDP dynamics. For instance, in MPGs with agent-independent transitions (in which every state is a potential game and transitions do not depend on actions (Leonardos et al., 2022)), if we select ρ\rho to be the stationary state distribution dρπd_{\rho}^{\pi} then κρ=1\kappa_{\rho}=1 regardless of the state-space size SS.

A key step of the analysis is to quantify the policy improvement regarding the potential function Φ\Phi in each iteration. Similar to the standard descent lemma in optimization (Arora, 2008), applying the projected policy gradient algorithm to a smooth Φ\Phi yields the following ascent property (cf. Eq. (9) in Leonardos et al. (2022) and Lemmas 11 and 12 in Zhang et al. (2021b)),

where β>0\beta>0 is related to the smoothness constant (or the second-order derivative) of the potential function. However, since the search direction in our policy update is not the standard search direction utilized in policy gradient, this ascent analysis does not apply to our algorithm.

To obtain such improvement bound, it is crucial to analyze the joint policy improvement. Let us consider two players ii and jj: player ii changes its policy from πi\pi_{i} to πi′\pi_{i}^{\prime} to maximize its own reward based on the current policy profile (πi,πj)(\pi_{i},\pi_{j}) and player jj changes its policy from πj\pi_{j} to πj′\pi_{j}^{\prime} in its own interest. What is the overall progress after they independently change their policies from (πi,πj)(\pi_{i},\pi_{j}) to (πi′,πj′)(\pi_{i}^{\prime},\pi_{j}^{\prime})? One method of capturing the joint policy improvement exploits the smoothness of the potential function, which is useful in the standard policy gradient ascent method (Leonardos et al., 2022; Zhang et al., 2021b). In our analysis, we connect the joint policy improvement with the individual policy improvement via the performance difference lemma. In particular, as shown in Lemma 3, Lemma 2 and Lemma 21 provide an effective means for analyzing the joint policy improvement. The proposed approach could be of independent interests for analyzing other Markov games.

In Lemma 3, we obtain two different joint policy improvement bounds by dealing with the cross terms in two different ways (see the proofs for details). Hence, we establish two different Nash-Regret bounds in Theorem 1: one has better dependence on TT while the other has better dependence on κρ\kappa_{\rho}. Even though, it is an open issue how to achieve the best of the two, we next show that this is indeed possible for a special case: Markov cooperative games.

2 Faster rates for Markov cooperative games

When all players use the same reward function, i.e., r=rir=r_{i} for all i=1,…,Ni=1,\ldots,N, MPG (1) reduces to a Markov cooperative game. In this case, Viπ=VπV_{i}^{\pi}=V^{\pi} and Qiπ=QπQ_{i}^{\pi}=Q^{\pi} for all i=1,…,Ni=1,\ldots,N and Algorithm 1 works immediately. Thus, we continue to use Nash-Regreti(T)\text{Nash-Regret}_{i}(T) that is defined through Viπi′, π−i(t)=Vπi′, π−i(t)V_{i}^{\pi_{i}^{\prime},\,\pi_{-i}^{(t)}}=V^{\pi_{i}^{\prime},\,\pi_{-i}^{(t)}} and Viπ(t)=Vπ(t)V_{i}^{\pi^{(t)}}=V^{\pi^{(t)}}.

Theorem 2 provides a Nash-Regret bound for Markov cooperative games; see Appendix B.2 for proof.

For MPG (1) with identical rewards and an initial state distribution ρ\rho, if all players independently perform the policy update in Algorithm 1 with stepsize η=(1−γ)/(2NA)\eta=(1-\gamma)/(2NA) then,

For Markov cooperative games, Theorem 2 achieves the best of the two bounds in Theorem 1 and an ϵ\epsilon-Nash equilibrium is achieved with the following iteration complexity,

This iteration complexity improves the ones provided in Leonardos et al. (2022); Zhang et al. (2021b) in several aspects. In particular, we have introduced the minimax distribution mismatch coefficient κ~ρ\widetilde{\kappa}_{\rho}, which is upper bounded by κρ\kappa_{\rho}. Since we take this κ~ρ\widetilde{\kappa}_{\rho}, our bound improves the κρ\kappa_{\rho}-dependence in Leonardos et al. (2022); Zhang et al. (2021b) from κρ2\kappa_{\rho}^{2} to κρ\kappa_{\rho}. We note that if we view the Markov cooperative game as an MPG, then the value function VπV^{\pi} serves as a potential function Φ\Phi which is bounded between and 1/(1−γ)1/(1-\gamma). Thus, our (1−γ)(1-\gamma)-dependence matches the one in Zhang et al. (2021b) and improves the one in Leonardos et al. (2022) by (1−γ)2(1-\gamma)^{2}.

Independent Policy Gradient with Function Approximation

We next remove the exact gradient requirement and apply Algorithm 1 to the linear function approximation setting. In what follows, we assume that the averaged action value function is linear in a given feature map.

Moreover, ∥ϕi∥≤1\left\|{\phi_{i}}\right\|\leq 1 for all s,ais,a_{i}, and ∥wiπ∥≤W\left\|{w_{i}^{\pi}}\right\|\leq W for all π\pi.

Without loss of generality, we can assume W≤d/(1−γ)W\leq{\sqrt{d}}/(1-\gamma); see Lemma 8 in Wei et al. (2021a). Assumption 1 is a multi-agent generalization of the standard linear QQ assumption (Abbasi-Yadkori et al., 2019) for single-player MDPs. It is different from the multi-agent linear MDP assumption (Xie et al., 2020; Dubey & Pentland, 2021) in which both transition and reward functions are linear in given feature maps. In contrast, Assumption 1 qualifies each player to estimate its averaged action value function without observing other players’ actions. A special case of Assumption 1 is the tabular case in which the sizes of state/action spaces are finite, and where we can select ϕi\phi_{i} to be an indicator function. Since the feature map ϕi\phi_{i} is locally-defined coordination between players is avoided (Zhao et al., 2021).

Since RL with function approximation is statistically hard in general, e.g., see Weisz et al. (2021); Wang et al. (2021b) for hardness results, assuming regularity of underlying MDPs is necessary for the application of function approximation to multi-agent RL in which either the value function (Xie et al., 2020; Dubey & Pentland, 2021; Jin et al., 2021b; Huang et al., 2022) or the policy (Zhao et al., 2021) is approximated. Because of restrictive function approximation power, the main challenge is the entanglement of policy improvement (or optimization) and policy evaluation (or approximation) errors. In Theorem 3 and Theorem 4, we show that optimization and approximation errors are decoupled under Assumption 1 so that we can control them, separately. Our analysis can be generalized to some neural networks, e.g., overparametrized neural networks (Liu et al., 2019), a rich function class that allows splitting optimization and approximation errors, which we leave for future work.

After each player collects KK samples, in Phase 2, they use these samples to estimate Qˉi(t)(⋅,⋅)\bar{Q}_{i}^{(t)}(\cdot,\cdot), which is required for policy updates. By Assumption 1,

where wi(t)w_{i}^{(t)} represents wiπ(t)w_{i}^{\pi^{(t)}}. Our goal is to obtain a solution w^i(t)≈wi(t)\widehat{w}_{i}^{(t)}\approx w_{i}^{(t)} using samples, and estimate Qˉi(t)(s,ai)\bar{Q}_{i}^{(t)}(s,a_{i}) via

where νi(t)(s,ai):=dρ(t)(s)∘πi(t)(ai ∣ s)\nu_{i}^{(t)}(s,a_{i})\mathrel{\mathop{:}}=d_{\rho}^{(t)}(s)\circ\pi^{(t)}_{i}(a_{i}\,|\,s) and Li(t)(wi(t))=0L_{i}^{(t)}(w_{i}^{(t)})=0 by Assumption 1. We make the following assumption for the expected regression loss of w^i(t)\widehat{w}_{i}^{(t)}.

Fix a state distribution ρ\rho. For any sequence of iterates w^i(1),…,w^i(T)\widehat{w}_{i}^{(1)},\ldots,\widehat{w}_{i}^{(T)} for i=1,…,Ni=1,\ldots,N that are generated by Algorithm 2, there exists an ϵstat<∞\epsilon_{\text{stat}}<\infty such that

for all ii and tt, where the expectation is on randomness in generating w^i(t)\widehat{w}_{i}^{(t)}.

The bound for ϵstat\epsilon_{\text{stat}} can be established using standard linear regression analysis (Audibert & Catoni, 2009) and it is given by \epsilon_{\text{stat}}=O\big{(}\frac{dW^{2}}{K(1-\gamma)^{2}}\big{)}. This bound can be achieved by applying the stochastic projected gradient descent method (Hsu et al., 2012; Cohen et al., 2017b) to the regression problem.

After obtaining Q^i(t)(⋅,⋅)\widehat{Q}^{(t)}_{i}(\cdot,\cdot), we update the polices in (8) which is different from the update in Algorithm 1 in two aspects: (i) the gradient direction Q^i(t)(⋅,⋅)\widehat{Q}^{(t)}_{i}(\cdot,\cdot) is the estimated version of Qˉi(t)(⋅,⋅)\bar{Q}^{(t)}_{i}(\cdot,\cdot); and (ii) the Euclidean projection set becomes Δξ(Ai):={ (1−ξ) πi(⋅ ∣ s)+ξ UnifAi,∀πi(⋅ ∣ s) }\Delta_{\xi}({\mathcal{A}}_{i})\mathrel{\mathop{:}}=\{\,(1-\xi)\,\pi_{i}(\cdot\,|\,s)+\xi\,\text{Unif}_{{\mathcal{A}}_{i}},\forall\pi_{i}(\cdot\,|\,s)\,\} that introduces ξ\xi-greedy policies for exploration (Leonardos et al., 2022; Zhang et al., 2021b), where ξ∈(0,1)\xi\in(0,1).

Theorem 3 establishes performance guarantees for Algorithm 2; see Appendix C.2 for proof.

Let Assumption 1 hold for MPG (1) with an initial state distribution ρ\rho. If all players independently run Algorithm 2 with \xi=\min\Big{(}\left(\frac{\kappa_{\rho}^{2}NA\epsilon_{\text{stat}}}{(1-\gamma)^{2}W^{2}}\right)^{\frac{1}{3}},\frac{1}{2}\Big{)} and Assumption 2 holds, then

Theorem 3 shows the additive effect of the function approximation error ϵstat\epsilon_{\text{stat}} on the Nash regret of Algorithm 2. When ϵstat=0\epsilon_{\text{stat}}=0, Theorem 3 matches the rates in Theorem 1 in the exact gradient case. As in Algorithm 1, even though update rule (8) iterates over all s∈Ss\in{\mathcal{S}}, we do not need to assume a finite state space S{\mathcal{S}}. In fact, (8) only “defines” a function πi(t)(⋅ ∣ s)\pi_{i}^{(t)}(\cdot~{}|~{}s) instead of “calculating” it. This is commonly used in policy optimization with function approximation, e.g., Cai et al. (2020); Luo et al. (2021). To execute this algorithm, πi(t)(⋅ ∣ s)\pi_{i}^{(t)}(\cdot~{}|~{}s) only needs to be evaluated if necessary, e.g., when the state ss is visited in Phase 1 of Algorithm 2.

When we apply stochastic projected gradient updates to (7), Algorithm 2 becomes a sample-based algorithm and existing stochastic projected gradient results directly apply. Depending on the stepsize choice, an ϵ\epsilon-Nash equilibrium is achieved with sample complexities (see Corollary 1 in Appendix C.4),

Compared with the sample complexity guarantees for the tabular MPG case (Leonardos et al., 2022; Zhang et al., 2021b), our sample complexity guarantees hold for MPGs with potentially infinitely large state spaces. When we specialize Assumption 1 to the tabular case, our second sample complexity improves the sample complexity in Leonardos et al. (2022); Zhang et al. (2021b) from O(1/ϵ6)O({1}/{\epsilon^{6}}) to O(1/ϵ5)O({1}/{\epsilon^{5}}).

As before, we get improved performance guarantees when we apply Algorithm 2 to Markov cooperative games.

Let Assumption 1 hold for MPG (1) with identical rewards and an initial state distribution ρ>0\rho>0. If all players independently perform the policy update in Algorithm 2 with stepsize η=(1−γ)/(2NA)\eta=(1-\gamma)/(2NA) and exploration rate \xi=\min\Big{(}\left(\frac{\kappa_{\rho}^{2}NA\epsilon_{\text{stat}}}{(1-\gamma)^{2}W^{2}}\right)^{\frac{1}{3}},\frac{1}{2}\Big{)}, with Assumption 2,

where R(η)=κρAN(1−γ)2T.{\mathcal{R}}(\eta)=\frac{\sqrt{\kappa_{\rho}AN}}{(1-\gamma)^{2}\sqrt{T}}.

We prove Theorem 4 in Appendix C.3 and show sample complexity TK=O(1/ϵ5)TK=O({1}/{\epsilon^{5}}) in Corollary 2 of Appendix C.4.

Game-Agnostic Convergence

In Section 4 and Section 5, we have shown that our independent policy gradient method converges (in best-iterate sense) to a Nash equilibrium of MPGs. For the same algorithm in two-player case, however, (Bailey & Piliouras, 2019) showed that players’ policies can diverge for zero-sum matrix games (a single-state case of zero-sum Markov games). A natural question arises:

Does there exist a simple gradient-based algorithm that provably converges to a Nash equilibrium in both potential/cooperative and zero-sum games?

Unfortunately, classical MWU and optimistic MWU updates do not converge to a Nash equilibrium in zero-sum and coordination games simultaneously (Cheung & Piliouras, 2020). Recently, this question was partially answered by Leonardos et al. (2021); Leonardos & Piliouras (2022) in which the authors established last-iterate convergence of QQ-learning dynamics to a quantal response equilibrium for both zero-sum and potential/cooperative matrix games. In this work, we provide an affirmative answer to this question for general Markov games that cover matrix games. Specifically, we next show that optimistic gradient descent/ascent with a smoothed critic (see Algorithm 3 in Appendix A) – an algorithm that converges to a Nash equilibrium in two-player zero-sum Markov games (Wei et al., 2021b) – also converges to a Nash equilibrium in Markov cooperative games.

In Theorem 5, we establish asymptotic last-iterate convergence of Algorithm 3 in Markov cooperative games; see Appendix D.1 for proof.

For MPG (1) with two players and identical rewards, if both players run Algorithm 3 with 0<η<(1−γ)/(32A)0<\eta<(1-\gamma)/(32\sqrt{A}) and a non-increasing {α(t)}t = 1∞\{\alpha^{(t)}\}_{t\,=\,1}^{\infty} that satisfies 0<α(t)<1/60<\alpha^{(t)}<1/6 and ∑t = t′∞α(t)=∞\sum_{t\,=\,t^{\prime}}^{\infty}\alpha^{(t)}=\infty for any t′≥0t^{\prime}\geq 0, then the policy pair (x(t),y(t))(x^{(t)},y^{(t)}) converges to a Nash equilibrium when t→∞t\rightarrow\infty.

Last-iterate convergence in Theorem 5 is measured by the local gaps max⁡x′(Vx′,y(t)(ρ)−Vx(t),y(t)(ρ))\max_{x^{\prime}}(V^{x^{\prime},y^{(t)}}(\rho)-V^{x^{(t)},y^{(t)}}(\rho)) and max⁡y′(Vx(t),y′(ρ)−Vx(t),y(t)(ρ))\max_{y^{\prime}}(V^{x^{(t)},y^{\prime}}(\rho)-V^{x^{(t)},y^{(t)}}(\rho)), i.e., a policy pair (x(t),y(t))(x^{(t)},y^{(t)}) constitutes an approximate Nash policy for large tt. The condition on algorithm parameters η\eta and α(t)\alpha^{(t)} in Theorem 5 is mild in sense that it is straightforward to take a pair of such parameters that ensures last-iterate convergence in zero-sum Markov games (Wei et al., 2021b). Hence, Algorithm 3 enjoys last-iterate convergence in both two-player Markov cooperative and zero-sum competitive games. Compared with the result (Fox et al., 2022), our proof of Theorem 5 utilizes gap convergence instead of point-wise policy convergence that is restricted to isolated fixed points of the algorithm dynamics. Moreover, our algorithm works for both cooperative and competitive Markov games.

In the following Theorem 6, we further strengthen our result of Theorem 5 and show the sublinear Nash-Regret bounds for Algorithm 3 in both two-player Markov cooperative and zero-sum competitive games; see Appendix D.2 for proof.

(i) For MPG (1) with two players and identical rewards (r1=r2=rr_{1}=r_{2}=r), if both players independently run Algorithm 3 with α(t)=16t\alpha^{(t)}=\frac{1}{6\sqrt{t}} and η=(1−γ)232SA\eta=\frac{(1-\gamma)^{2}}{32\sqrt{SA}}, then

(ii) For a two-player zero-sum Markov game (r1=−r2=rr_{1}=-r_{2}=r), if both players independently run Algorithm 3 with the same choice of α(t)\alpha^{(t)} and η\eta, then

For two-player Markov cooperative/competitive games, Theorem 6 establishes the same rate T−1/6T^{-1/6} for the Nash regret and the average duality gap, respectively. Alternatively, independent players in Algorithm 3 can find an ϵ\epsilon-Nash equilibrium after O(1/ϵ6)O(1/\epsilon^{6}) iterations, no matter which types of games are being played. To the best of our knowledge, Theorem 6 appears to be the first game-agnostic convergence for Markov cooperative/competitive games with finite-time performance guarantees. We leave the extension to more general Markov games for future work.

Experimental Results

To demonstrate the merits and the effectiveness of our approach, we examine an MDP in which every state defines a congestion game. This example is borrowed from Bistritz & Bambos (2020) and it includes MPG as a special case.

Figure 1 shows that our independent policy gradient with a large stepsize (green curve) quickly converges to a Nash equilibrium. We note that stepsize η≥0.001\eta\geq 0.001 does not provide convergence of the projected stochastic gradient ascent (Leonardos et al., 2022). In contrast, our approach allows large stepsizes for a broad range of initial distributions; see Appendix G for additional details.

Concluding Remarks

We have proposed new independent policy gradient algorithms for learning a Nash equilibrium of Markov potential games when the size of state space and/or the number of players are large. In the exact gradient case, we show that our algorithm finds an ϵ\epsilon-Nash equilibrium with O(1/ϵ2)O(1/\epsilon^{2}) iteration complexity. Such iteration complexity does not explicitly depend on the state space size. In the sample-based case, our algorithm works in the function approximation setting, and we prove O(1/ϵ5)O(1/\epsilon^{5}) sample complexity in a potentially infinitely large state space. This appears to be the first result for learning MPGs with function approximation. Moreover, we identify a class of independent policy gradient algorithms that enjoys last-iterate convergence and sublinear Nash regret for both zero-sum Markov games and Markov cooperative games (a special case of MPGs). This finding sheds light on an open question in the literature on the existence of such an algorithm.

Future directions include extending techniques that offer faster rates for the single-agent policy gradient methods (Lan, 2022; Zhan et al., 2021; Xiao, 2022) to independent multi-agent learning and applying independent policy gradient for other large-scale Markov games.

Acknowledgements

The work of D. Ding and M. R. Jovanović is supported in part by the National Science Foundation under awards ECCS-1708906 and 1809833. The work of C.-Y. Wei is supported by NSF Award IIS-1943607. The work of K. Zhang is supported in part by the Simons-Berkeley Research Fellowship. Part of this work was done while K. Zhang was visiting Simons Institute for the Theory of Computing.

References

Appendix A Algorithms in Section 5 and Section 6

Appendix B Proofs for Section 4

In this section, we provide proofs of Theorem 1 and Theorem 2 in Appendix B.1 and Appendix B.2, respectively.

We first seek to decompose the difference of a potential function Φπ(μ)\Phi^{\pi}(\mu) at two different policies for any state distribution μ\mu.

We prove (10) by induction on the number of players NN. In the basic step: N=2N=2, the right-hand side of (10) becomes

which equals to the left-hand side: Ψπ1′,π2′−Ψπ1,π2\Psi^{\pi_{1}^{\prime},\pi_{2}^{\prime}}-\Psi^{\pi_{1},\pi_{2}}.

Assume the equality (10) holds for NN players. We next consider the induction step for N+1N+1 players . By subtracting and adding Ψπ≤N, πN+1′\Psi^{\pi_{\leq N},\,\pi^{\prime}_{N+1}},

In (11), we use the shorthand π≤N′\pi^{\prime}_{\leq N} and π≤N\pi_{\leq N} for {πk′}k = 1N\{\pi^{\prime}_{k}\}_{k\,=\,1}^{N} and {πk}k = 1N\{\pi_{k}\}_{k\,=\,1}^{N}, respectively. We note that Diff≤N{\textbf{Diff}_{\leq N}} or DiffN+1{\textbf{Diff}_{N+1}} can be viewed as a function for NN players if we fix the (N+1)(N+1)th policy. By the induction assumption, for the first term Diff≤N{\textbf{Diff}_{\leq N}},

where we use π>j′\pi_{>j}^{\prime} to represent {πk′}k = j+1N\{\pi_{k}^{\prime}\}_{k\,=\,j+1}^{N}.

Adding DiffN+1{\textbf{Diff}_{N+1}} to the last equivalent expression of Diff≤N{\textbf{Diff}_{\leq N}} above yields

where the first equality has a slight abuse of the notation: π>j′\pi_{>j}^{\prime} represents {πk′}k = j+1N+1\{\pi_{k}^{\prime}\}_{k\,=\,j+1}^{N+1} in the first double sum and π>j′\pi_{>j}^{\prime} represents {πk′}k = j+1N\{\pi_{k}^{\prime}\}_{k\,=\,j+1}^{N} in the second double sum. Therefore, (10) holds for N+1N+1 players. The proof is completed by induction. ∎

We apply Lemma 2 to the potential function Φπ(μ)\Phi^{\pi}(\mu) at two consecutive policies π(t+1)\pi^{(t+1)} and π(t)\pi^{(t)} in Algorithm 1, where μ\mu is an initial state distribution. We use the shorthand Φ(t)(μ)\Phi^{(t)}(\mu) for Φπ(t)(μ)\Phi^{\pi^{(t)}}(\mu), the value of potential function at policy π(t)\pi^{(t)}.

For MPG (1) with any state distribution μ\mu, the potential function Φπ(μ)\Phi^{\pi}(\mu) at two consecutive policies π(t+1)\pi^{(t+1)} and π(t)\pi^{(t)} in Algorithm 1 satisfies

where η\eta is the stepsize, NN is the number of players, AA is the size of one player’s action space, and κμ\kappa_{\mu} is the distribution mismatch coefficient relative to μ\mu (see κμ\kappa_{\mu} in Definition 1).

We let π′=π(t+1)\pi^{\prime}=\pi^{(t+1)} and π=π(t)\pi=\pi^{(t)} for brevity. By Lemma 2 with Ψπ=Φπ(μ)\Psi^{\pi}=\Phi^{\pi}(\mu), it is equivalent to analyze

Bounding Diffα\textbf{Diff}_{\alpha}. By the property of the potential function Φπ(μ)\Phi^{\pi}(\mu),

where the second equality is due to Lemma 1 using π^i=πi′\widehat{\pi}_{i}=\pi_{i}^{\prime} and πˉi=πi\bar{\pi}_{i}=\pi_{i}. The optimality of πi′=πi(t+1)\pi_{i}^{\prime}=\pi_{i}^{(t+1)} in line 4 of Algorithm 1 leads to

Bounding Diffβ\textbf{Diff}_{\beta}. For simplicity, we denote π~−ij\widetilde{\pi}_{-ij} as the joint policy of players N\{i,j}N\backslash\{i,j\} where players <i<i and i∼ji\sim j use π\pi and players >j>j use π′\pi^{\prime}. For each summand in Diffβ\textbf{Diff}_{\beta},

where (a)(a) is due to the property of the potential function, (b)(b) is due to Lemma 1; for (c)(c), we use Lemma 4, Lemma 20, and the fact that ∑sdμπ~−ij,πi′,πj′(s)=1\sum_{s}d_{\mu}^{\widetilde{\pi}_{-ij},\pi_{i}^{\prime},\pi_{j}^{\prime}}(s)=1 and ∥Qˉiπ~−ij, πi, πj(s,⋅)∥∞≤11−γ\left\|{\bar{Q}_{i}^{\widetilde{\pi}_{-ij},\,\pi_{i},\,\pi_{j}}(s,\cdot)}\right\|_{\infty}\leq\frac{1}{1-\gamma}; The last inequality (d)(d) follows a direct result from the optimality of πi′=πi(t+1)\pi_{i}^{\prime}=\pi_{i}^{(t+1)} given by (14) and ∥⋅∥≤A∥⋅∥∞\|\cdot\|\leq\sqrt{A}\|\cdot\|_{\infty} and ∥⋅∥1≤A∥⋅∥\|\cdot\|_{1}\leq\sqrt{A}\|\cdot\|:

We now complete the proof of (i) by combining (12), (15), and (16).

Alternatively, by Lemma 21, we can bound each summand of Diffβ\textbf{Diff}_{\beta} by

Combining the inequality above with (12) and (15) finishes the proof of (ii). ∎

Suppose i<ji<j for i,j=1,…,Ni,j=1,\ldots,N. Let π~−ij\widetilde{\pi}_{-ij} be the policy for all players but i,ji,j and πi\pi_{i} be the policy for player ii. For any two policies for player jj: πj\pi_{j} and πj′\pi_{j}^{\prime}, we have

We note that Qˉiπ~−ij, πi, πj′(s,⋅)\bar{Q}_{i}^{\widetilde{\pi}_{-ij},\,\pi_{i},\,\pi_{j}^{\prime}}(s,\cdot) and Qˉiπ~−ij, πi, πj(s,⋅)\bar{Q}_{i}^{\widetilde{\pi}_{-ij},\,\pi_{i},\,\pi_{j}}(s,\cdot) are averaged action value functions for player ii using policy πi\pi_{i}, but they have different underlying averaged MDPs because of different policies executed by player jj. Hence, we can directly apply Lemma 19. Specifically, let (r,p)(r,p) be the averaged reward and transition functions for player ii induced by (π~−ij,πj)(\widetilde{\pi}_{-ij},\pi_{j}), and (r~,p~)(\widetilde{r},\widetilde{p}) be those induced by (π~−ij,πj′)(\widetilde{\pi}_{-ij},\pi_{j}^{\prime}). Then,

Application of two inequalities above to Lemma 19 competes the proof. ∎

By the optimality of πi(t+1)\pi_{i}^{(t+1)} in line 4 of Algorithm 1,

Hence, if η≤1−γA\eta\leq\frac{1-\gamma}{\sqrt{A}}, then for any πi′∈Πi\pi_{i}^{\prime}\in\Pi_{i},

where in (a)(a) we apply the Cauchy-Schwarz inequality and that ∥p−p′∥≤∥p−p′∥1≤2\|p-p^{\prime}\|\leq\|p-p^{\prime}\|_{1}\leq 2 for any two distributions pp and p′p^{\prime}; (b)(b) is because of ∥Qˉi(t)(s,⋅)∥≤A1−γ\|{\bar{Q}_{i}^{(t)}(s,\cdot)}\|\leq\frac{\sqrt{A}}{1-\gamma} and η≤1−γA\eta\leq\frac{1-\gamma}{\sqrt{A}}. Therefore, for any initial distribution ρ\rho,

where (a)(a) is due to Lemma 1 and we slightly abuse the notation ii to represent argmax⁡i\operatorname*{argmax}_{i}, in (b)(b) we slightly abuse the notation πi′\pi_{i}^{\prime} to represent argmax⁡πi′\operatorname*{argmax}_{\pi_{i}^{\prime}}, in (c)(c) we choose an arbitrary ν∈Δ(S)\nu\in\Delta({\mathcal{S}}) and use the following inequality:

We apply the Cauchy–Schwarz inequality in (d)(d), and finally we replace ii ( argmax⁡i\operatorname*{argmax}_{i} in (a)(a)) in the last square root term in (e)(e) by the sum over all players.

If we proceed (17) with ν=argmin⁡ν ∈ Δ(S)max⁡π ∈ Π∥dρπ/ν∥∞\nu=\operatorname*{argmin}_{\nu\,\in\,\Delta({\mathcal{S}})}\max_{\pi\,\in\,\Pi}\|d^{\pi}_{\rho}/\nu\|_{\infty}, then,

where in (a)(a) we apply the first bound (i) in Lemma 3 (with μ=ν\mu=\nu) and use Definition 2: κ~ρ=min⁡ν ∈ Δ(S)max⁡π ∈ Π∥dρπ/ν∥∞\widetilde{\kappa}_{\rho}=\min_{\nu\,\in\,\Delta({\mathcal{S}})}\max_{\pi\,\in\,\Pi}\|d^{\pi}_{\rho}/\nu\|_{\infty}, and in (b)(b) we use ∣Φπ(ν)−Φπ′(ν)∣≤CΦ|\Phi^{\pi}(\nu)-\Phi^{\pi^{\prime}}(\nu)|\leq C_{\Phi} for any π,π′\pi,\pi^{\prime}, and further simplify the bound in (b)(b). We complete the proof for the first bound by taking stepsize η=(1−γ)2.5CΦNAT\eta=\frac{(1-\gamma)^{2.5}\sqrt{C_{\Phi}}}{NA\sqrt{T}} (by the upper bound of CΦC_{\Phi} given in Lemma 18, the condition η≤1−γA\eta\leq\frac{1-\gamma}{\sqrt{A}} is satisfied).

If we proceed (17) with the second bound (ii) in Lemma 3 with the choice of η≤(1−γ)48κν3NA\eta\leq\frac{(1-\gamma)^{4}}{8\kappa_{\nu}^{3}NA}, then,

We next discuss two special choices of ν\nu for proving our bound. First, if ν=ρ\nu=\rho, then η≤(1−γ)48κρ3NA\eta\leq\frac{(1-\gamma)^{4}}{8\kappa_{\rho}^{3}NA}. By letting η=(1−γ)48κρ3NA\eta=\frac{(1-\gamma)^{4}}{8\kappa_{\rho}^{3}NA}, the last square root term can be bounded by O(κρ4NATCΦ(1−γ)6)O\left(\sqrt{\frac{\kappa_{\rho}^{4}NATC_{\Phi}}{(1-\gamma)^{6}}}\right). Second, if ν=1S1\nu=\frac{1}{S}\mathbf{1}, the uniform distribution over S{\mathcal{S}}, then κν≤1S\kappa_{\nu}\leq\frac{1}{S}, which allows a valid choice η=(1−γ)48S3NA≤(1−γ)48κν3NA\eta=\frac{(1-\gamma)^{4}}{8S^{3}NA}\leq\frac{(1-\gamma)^{4}}{8\kappa_{\nu}^{3}NA}. Hence, we can bound the last square root term by O(S4NATCΦ(1−γ)6)O\left(\sqrt{\frac{S^{4}NATC_{\Phi}}{(1-\gamma)^{6}}}\right). Since ν\nu is arbitrary, combining these two special choices completes the proof. ∎

B.2 Proof of Theorem 2

We first establish policy improvement regarding the QQ-function at two consecutive policies π(t+1)\pi^{(t+1)} and π(t)\pi^{(t)} in Algorithm 1.

For MPG (1) with identical rewards and an initial state distribution ρ>0\rho>0, if all players independently perform the policy update in Algorithm 1 with stepsize η≤1−γ2N\eta\leq\frac{1-\gamma}{2N}, then for any tt and any ss,

where η\eta is the stepsize and NN is the number of players.

Fixing the time tt and the state ss, we apply Lemma 2 to

where Q(t):=Qπ(t)Q^{(t)}\mathrel{\mathop{:}}=Q^{\pi^{(t)}} (recall that π\pi is a joint policy of all players). By Lemma 2, for any two policies π′\pi^{\prime} and π\pi,

where π~−ij\widetilde{\pi}_{-ij} is a joint policy of players N\{i,j}N\backslash\{i,j\} in which players <i<i and i∼ji\sim j use π\pi, and players >j>j use π′\pi^{\prime}. Particularly, we choose π′=π(t+1)\pi^{\prime}=\pi^{(t+1)} and π=π(t)\pi=\pi^{(t)}. Thus, we can reduce (18) into

where (a)(a) is due to the optimality condition (14) and Q(t)(s,a)≤11−γQ^{(t)}(s,a)\leq\frac{1}{1-\gamma}, (b)(b) is due to ⟨x,y⟩≤∥x∥2+∥y∥22\langle x,y\rangle\leq\frac{\left\|{x}\right\|^{2}+\left\|{y}\right\|^{2}}{2}, and (c)(c) follows the choice of η≤1−γ2NA\eta\leq\frac{1-\gamma}{2NA}. ∎

By Lemma 1 and Lemma 5, we have for any ν∈Δ(S)\nu\in\Delta({\mathcal{S}}),

By the same argument as the proof of Theorem 1,

where in (a)(a) we slightly abuse the notation ii to represent argmax⁡i\operatorname*{argmax}_{i} as in (17), in (b)(b) we take ν=argmin⁡ν∈Δ(S)max⁡π ∈ Π∥dρπ/ν∥∞\nu=\operatorname*{argmin}_{\nu\in\Delta({\mathcal{S}})}\max_{\pi\,\in\,\Pi}\|d_{\rho}^{\pi}/\nu\|_{\infty} and use the definition of κ~ρ\widetilde{\kappa}_{\rho} from Definition 2, and we replace ii (argmax⁡i\operatorname*{argmax}_{i} in (a)(a)) in the last square root term in (c)(c) by the sum over all players, and we apply (19) in (d)(d).

Finally, we complete the proof by taking stepsize η=1−γ2NA\eta=\frac{1-\gamma}{2NA} and using V(T+1)(ν)−V(1)(ν)≤11−γV^{(T+1)}(\nu)-V^{(1)}(\nu)\leq\frac{1}{1-\gamma}. ∎

Appendix C Proofs for Section 5

In this section, we provide proofs of Theorem 3 and Theorem 4 in Appendix C.2 and Appendix C.3, respectively.

C.2 Proof of Theorem 3

We apply Lemma 2 to the potential function Φπ(ρ)\Phi^{\pi}(\rho) at two consecutive policies π(t+1)\pi^{(t+1)} and π(t)\pi^{(t)} in Algorithm 2, where ρ\rho is the initial state distribution. We use the shorthand Φ(t)(ρ)\Phi^{(t)}(\rho) for Φπ(t)(ρ)\Phi^{\pi^{(t)}}(\rho), the value of potential function at policy π(t)\pi^{(t)}. The proof extends Lemma 3 by accounting for the statistical error in Assumption 2.

Let Assumption 1 hold. In Algorithm 2, the potential function Φπ(ρ)\Phi^{\pi}(\rho) at two consecutive policies π(t+1)\pi^{(t+1)} and π(t)\pi^{(t)} satisfies

where η\eta is the stepsize, NN is the number of players, AA is the size of one player’s action space, WW is the 2-norm bound of w^i(t)\widehat{w}_{i}^{(t)}, and κρ\kappa_{\rho} is the distribution mismatch coefficient relative to ρ\rho (see κρ\kappa_{\rho} in Definition 1).

We let π′=π(t+1)\pi^{\prime}=\pi^{(t+1)} and π=π(t)\pi=\pi^{(t)} for brevity. We first express Φ(t+1)(ρ)−Φ(t)(ρ)=Diffα+Diffβ\Phi^{(t+1)}(\rho)-\Phi^{(t)}(\rho)=\textbf{Diff}_{\alpha}+\textbf{Diff}_{\beta}, where Diffα\textbf{Diff}_{\alpha} and Diffβ\textbf{Diff}_{\beta} are given as those in (12).

Bounding Diffα\textbf{Diff}_{\alpha}. By the property of the potential function Φπ(ρ)\Phi^{\pi}(\rho) and Lemma 1,

The optimality of πi′=πi(t+1)\pi_{i}^{\prime}=\pi_{i}^{(t+1)} in line 14 of Algorithm 2 leads to

where (a)(a) follows the inequality ⟨x,y⟩≤∥x∥22η′+η′∥y∥22\langle x,y\rangle\leq\frac{\left\|{x}\right\|^{2}}{2\eta^{\prime}}+\frac{\eta^{\prime}\left\|{y}\right\|^{2}}{2} for η′>0\eta^{\prime}>0, and we choose η′=2η\eta^{\prime}=2\eta in (b)(b).

Bounding Diffβ\textbf{Diff}_{\beta}. For simplicity, we denote π~−ij\widetilde{\pi}_{-ij} as the joint policy of players N\{i,j}N\backslash\{i,j\} where players <i<i and i∼ji\sim j use π\pi and players >j>j use π′\pi^{\prime}. As done in the proof of Lemma 3, we can bound each summand in Diffβ\text{Diff}_{\beta} except for the last step from (c)(c) to (d)(d),

where (d)(d) follows a direct result from the optimality of πj(t+1)\pi_{j}^{(t+1)} given by (20),

and that ∥⋅∥1≤A∥⋅∥\|\cdot\|_{1}\leq\sqrt{A}\|\cdot\|. Therefore,

We now complete the proof of (i) by combining (21) and (22) and we also employ that

where (a)(a) follows the definition of κρ\kappa_{\rho} and (b)(b) is the definition of Li(t)(w^i(t))L_{i}^{(t)}(\widehat{w}_{i}^{(t)}):

Alternatively, as done in Lemma 3, we can apply Lemma 21 to each summand of Diffβ\textbf{Diff}_{\beta} and show that

Combining the inequality above with (21) finishes the proof of (ii). ∎

By the optimality of πi(t+1)\pi_{i}^{(t+1)} in line 14 of Algorithm 2,

where the last inequality is because of ∥Q^i(t)(s,⋅)∥≤W\|{\widehat{Q}_{i}^{(t)}(s,\cdot)}\|\leq W and ξ≤12\xi\leq\frac{1}{2}. Hence, if η≤1W\eta\leq\frac{1}{W}, then for any πi′∈Πi\pi_{i}^{\prime}\in\Pi_{i},

where we apply (24) and the Cauchy-Schwarz inequality in (a)(a), and (b)(b) is because ∥Q^i(t)(s,⋅)∥≤W\|{\widehat{Q}_{i}^{(t)}(s,\cdot)}\|\leq W and η≤1W\eta\leq\frac{1}{W}. As done in the proof of Theorem 1, the different steps begin from (b)(b) in (17),

where we slightly abuse the notation πi′\pi_{i}^{\prime} in (b)(b) to represent argmax⁡πi′\operatorname*{argmax}_{\pi_{i}^{\prime}} and ii represents argmax⁡i\operatorname*{argmax}_{i} as in (17), (c)(c) is due to the definition of the distribution mismatch coefficient (see it in Definition 1):

(d)(d) follows the Cauchy–Schwarz inequality, the inequality ∑ixi≤∑ixi\sqrt{\sum_{i}x_{i}}\leq\sum_{i}\sqrt{x_{i}} for any xi≥0x_{i}\geq 0, the Jensen’s inequality, and the definition of Li(t)(w^i(t))L_{i}^{(t)}(\widehat{w}_{i}^{(t)}),

If we proceed (25) with the first bound (i) in Lemma 6, then,

where we apply the first bound (i) in Lemma 6 and the telescoping sum for (a)(a), and we use the boundedness of the potential function: ∣Φπ−Φπ′∣≤CΦ|\Phi^{\pi}-\Phi^{\pi^{\prime}}|\leq C_{\Phi} for any π\pi and π′\pi^{\prime}, and further simplify the bound in (f)(f) by Assumption Assumption 2. We complete the proof of (i) by taking stepsize η=(1−γ)3/2CΦWNAT\eta=\frac{(1-\gamma)^{3/2}\sqrt{C_{\Phi}}}{WN\sqrt{AT}} and exploration rate ξ≤(κρ2NAϵstat(1−γ)2W2)13\xi\leq\left(\frac{\kappa_{\rho}^{2}NA\epsilon_{\text{stat}}}{(1-\gamma)^{2}W^{2}}\right)^{\frac{1}{3}}.

If we proceed (25) with the first bound (ii) in Lemma 6 with the choice of η≤(1−γ)416κρ3NA\eta\leq\frac{(1-\gamma)^{4}}{16\kappa_{\rho}^{3}NA}, then,

which completes the proof if we choose η=(1−γ)416κρ3NA\eta=\frac{(1-\gamma)^{4}}{16\kappa_{\rho}^{3}NA} and exploration rate ξ≤(κρ2NAϵstat(1−γ)2W2)13\xi\leq\left(\frac{\kappa_{\rho}^{2}NA\epsilon_{\text{stat}}}{(1-\gamma)^{2}W^{2}}\right)^{\frac{1}{3}}. ∎

C.3 Proof of Theorem 4

We first establish policy improvement regarding the QQ-function at two consecutive policies π(t+1)\pi^{(t+1)} and π(t)\pi^{(t)} in Algorithm 2.

For MPG (1) with identical rewards and an initial state distribution ρ>0\rho>0, if all players independently perform the policy update in Algorithm 2 with stepsize η≤1−γ2N\eta\leq\frac{1-\gamma}{2N}, then for any tt and any ss,

where η\eta is the stepsize and NN is the number of players,

where (a)(a) is due to the optimality condition (20), the inequality ⟨x,y⟩≤∥x∥22η′+η′∥y∥22\langle x,y\rangle\leq\frac{\left\|{x}\right\|^{2}}{2\eta^{\prime}}+\frac{\eta^{\prime}\left\|{y}\right\|^{2}}{2} for η′>0\eta^{\prime}>0, and Q(t)(s,a)≤11−γQ^{(t)}(s,a)\leq\frac{1}{1-\gamma}, (b)(b) is due to ⟨x,y⟩≤∥x∥2+∥y∥22\langle x,y\rangle\leq\frac{\left\|{x}\right\|^{2}+\left\|{y}\right\|^{2}}{2} and η′=2η\eta^{\prime}=2\eta, and (c)(c) follows the choice of η≤1−γ4N\eta\leq\frac{1-\gamma}{4N}. ∎

where (a)(a) follows the definition of κρ\kappa_{\rho} and (b)(b) is the definition of Li(t)(w^i(t))L_{i}^{(t)}(\widehat{w}_{i}^{(t)}).

By the same argument as the proof of Theorem 3,

By taking expectation and the Jensen’s inequality,

We complete the proof by taking stepsize η=1−γ2NA\eta=\frac{1-\gamma}{2NA}, exploration rate ξ≤(κρ2NAϵstat(1−γ)2W2)13\xi\leq\left(\frac{\kappa_{\rho}^{2}NA\epsilon_{\text{stat}}}{(1-\gamma)^{2}W^{2}}\right)^{\frac{1}{3}}, and using V(N+1)−V(1)≤11−γV^{(N+1)}-V^{(1)}\leq\frac{1}{1-\gamma}. ∎

C.4 Sample complexity

We present our sample complexity guarantees for Algorithm 2 in which the regression problem (7) in each iteration is approximately solved by the stochastic projected gradient descent (38). We measure the sample complexity by the total number of trajectory samples TKTK, where TT is the number of iterations and KK is the batch size of trajectories.

Assume the setting in Theorem 3 except for Assumption 2. Suppose we compute w^i(t):=1K∑k = 1Kβk(K)wi(k)\widehat{w}_{i}^{(t)}\mathrel{\mathop{:}}=\frac{1}{K}\sum_{k\,=\,1}^{K}\beta_{k}^{(K)}{w}_{i}^{(k)} via a stochastic projected gradient descent (38) with stepsize λ(k)=22+k\lambda^{(k)}=\frac{2}{2+k} and βk(K)=1/λ(k)∑r = 1K1/λ(r)\beta_{k}^{(K)}=\frac{1/\lambda^{(k)}}{\sum_{r\,=\,1}^{K}1/\lambda^{(r)}}. Then, if we choose stepsize η=(1−γ)3/2CΦWNAT\eta=\frac{(1-\gamma)^{3/2}\sqrt{C_{\Phi}}}{WN\sqrt{AT}} and exploration rate ξ=min⁡((κρ2ANd(1−γ)4K)13,12)\xi=\min\left(\left(\frac{\kappa_{\rho}^{2}ANd}{(1-\gamma)^{4}K}\right)^{\frac{1}{3}},\frac{1}{2}\right), then,

Furthermore, if we choose stepsize η=(1−γ)416κρ3NA\eta=\frac{(1-\gamma)^{4}}{16\kappa_{\rho}^{3}NA} and exploration rate ξ=min⁡((κρ2ANd(1−γ)4K)13,12)\xi=\min\left(\left(\frac{\kappa_{\rho}^{2}ANd}{(1-\gamma)^{4}K}\right)^{\frac{1}{3}},\frac{1}{2}\right), then,

Moreover, their sample complexity guarantees are TK=O(1ϵ7)TK=O(\frac{1}{\epsilon^{7}}) or TK=O(1ϵ5)TK=O(\frac{1}{\epsilon^{5}}), respectively, for obtaining an ϵ\epsilon-Nash equilibrium.

By the unbiased estimate in Appendix C.1, the stochastic gradient ∇^i(t)\widehat{\nabla}_{i}^{(t)} in (38) is also unbiased. We note the variance of the stochastic gradient is bounded by 1(1−γ)2\frac{1}{(1-\gamma)^{2}}. By Lemma 23, if we choose λ(k)=22+k\lambda^{(k)}=\frac{2}{2+k} and βk(K)=1/λ(k)∑r = 1K1/λ(r)\beta_{k}^{(K)}=\frac{1/\lambda^{(k)}}{\sum_{r\,=\,1}^{K}1/\lambda^{(r)}}, then

where Li(t)(wi(t))=0L_{i}^{(t)}(w_{i}^{(t)})=0. by Assumption 1. Therefore, substitution of ϵstat≤dW2(1−γ)2K\epsilon_{\text{stat}}\leq\frac{dW^{2}}{(1-\gamma)^{2}K} into Theorem 3 yields desired results.

Finally, we let the upper bound on Nash-Regret(T)\text{Nash-Regret}(T) be ϵ>0\epsilon>0 and calculate the sample complexity TK=O(1ϵ7)TK=O(\frac{1}{\epsilon^{7}}) or TK=O(1ϵ5)TK=O(\frac{1}{\epsilon^{5}}), respectively. ∎

Assume the setting in Theorem 4 except for Assumption Assumption 2. Suppose we compute w^i(t):=1K∑k = 1Kβk(K)wi(k)\widehat{w}_{i}^{(t)}\mathrel{\mathop{:}}=\frac{1}{K}\sum_{k\,=\,1}^{K}\beta_{k}^{(K)}{w}_{i}^{(k)} via a stochastic projected gradient descent (38) with stepsize λ(k)=22+k\lambda^{(k)}=\frac{2}{2+k} and βk(K)=1/λ(k)∑r = 1K1/λ(r)\beta_{k}^{(K)}=\frac{1/\lambda^{(k)}}{\sum_{r\,=\,1}^{K}1/\lambda^{(r)}}. Then, if we choose stepsize η=1−γWNAT\eta=\frac{1-\gamma}{WNA\sqrt{T}} and exploration rate ξ=min⁡((κρ2AN(1−γ)4K)13,12)\xi=\min\left(\left(\frac{\kappa_{\rho}^{2}AN}{(1-\gamma)^{4}K}\right)^{\frac{1}{3}},\frac{1}{2}\right), then,

Moreover, the sample complexity guarantee is TK=O(1ϵ5)TK=O(\frac{1}{\epsilon^{5}}) for obtaining an ϵ\epsilon-Nash equilibrium.

The proof follows the proof steps of Corollary 1 above. ∎

Appendix D Proofs for Section 6

In this section, we prove Theorem 5 and Theorem 6 in Appendix D.1 and Appendix D.2, respectively.

It is convenient to introduce an auxiliary sequence {α(t,τ)}τ = 0∞\{\alpha^{(t,\tau)}\}_{\tau\,=\,0}^{\infty} associated with the learning rate {α(t)}t = 1∞\{\alpha^{(t)}\}_{t\,=\,1}^{\infty},

It is straightforward to verify that ∑τ = 0t−1α(t−1,τ)=1\sum_{\tau\,=\,0}^{t-1}\alpha^{(t-1,\tau)}=1 for t≥1t\geq 1.

In Algorithm 3, Vs(t)=∑τ = 1tα(t,τ)(xs(τ))⊤Qs(τ)ys(τ){\mathcal{V}}_{s}^{(t)}=\sum_{\tau\,=\,1}^{t}\alpha^{(t,\tau)}(x_{s}^{(\tau)})^{\top}{\mathcal{Q}}_{s}^{(\tau)}y_{s}^{(\tau)} for all s,ts,t.

We prove it by induction. When t=0t=0 and t=1t=1, it holds trivially by noting that Vs(0)=0{\mathcal{V}}_{s}^{(0)}=0 and α(1,1)=α(1)\alpha^{(1,1)}=\alpha^{(1)}. Assume that it holds for 0,1,…,t−10,1,\ldots,t-1. By the update rule for Vs(t){\mathcal{V}}_{s}^{(t)} in Algorithm 3,

where (a)(a) follows the induction hypothesis and (b)(b) is due to the definition of α(t,τ)\alpha^{(t,\tau)}. ∎

In Algorithm 3, for every state ss and time t≥1t\geq 1,

where zs(t)=(xs(t),ys(t))z_{s}^{(t)}=(x_{s}^{(t)},y_{s}^{(t)}) and zˉs(t)=(xˉs(t),yˉs(t))\bar{z}_{s}^{(t)}=(\bar{x}_{s}^{(t)},\bar{y}_{s}^{(t)}).

We decompose the difference into three terms:

We next deal with Diffx\textbf{Diff}_{x}, Diffy\textbf{Diff}_{y}, and Diffxy\textbf{Diff}_{xy}, separately.

Bounding Diffx\textbf{Diff}_{x}. The optimality of xs(t+1)x_{s}^{(t+1)} implies that for any xs′∈Δ(A1)x_{s}^{\prime}\in\Delta({\mathcal{A}}_{1}),

which implies that, by taking xs′=xˉs(t+1)x_{s}^{\prime}=\bar{x}_{s}^{(t+1)},

The optimality of xˉs(t+1)\bar{x}_{s}^{(t+1)} implies that for any xs′∈Δ(A1)x_{s}^{\prime}\in\Delta({\mathcal{A}}_{1}),

which implies that, by taking xs′=xs(t)x_{s}^{\prime}=x_{s}^{(t)},

Combining the two inequalities above yields

Bounding Diffxy\textbf{Diff}_{xy}. By the AM-GM and Cauchy-Schwarz inequalities,

where (a)(a) follows ∥x+y+z∥2≤3∥x∥2+3∥y∥2+3∥z∥2\left\|{x+y+z}\right\|^{2}\leq 3\left\|{x}\right\|^{2}+3\left\|{y}\right\|^{2}+3\left\|{z}\right\|^{2} and (b)(b) is by η≤1−γ32A\eta\leq\frac{1-\gamma}{32\sqrt{A}}.

Finally, we complete the proof by summing up the bounds above for Diffx\textbf{Diff}_{x}, Diffy\textbf{Diff}_{y}, and Diffxy\textbf{Diff}_{xy}. ∎

In Algorithm 3, for all tt and ss, the following two inequalities hold:

We first note that (ii) is a consequence of Lemma 9 and (i),

where (a)(a) is due to Lemma 9, and the update of Qs(t){\mathcal{Q}}_{s}^{(t)} in Algorithm 3,

Therefore, it suffices to prove (i). We prove it by induction. Define ζs(t):=∥zs(t)−zˉs(t)∥2\zeta^{(t)}_{s}:=\left\|{z_{s}^{(t)}-\bar{z}_{s}^{(t)}}\right\|^{2} and λs(t):=∥zˉs(t+1)−zˉs(t)∥2\lambda^{(t)}_{s}:=\left\|{\bar{z}_{s}^{(t+1)}-\bar{z}_{s}^{(t)}}\right\|^{2}. For notational simplicity, define Qs(0)=0A×A{\mathcal{Q}}_{s}^{(0)}=\mathbf{0}_{A\times A}, zs(0)=zˉs(0)=1A1=zs(1)=zˉs(1)z_{s}^{(0)}=\bar{z}_{s}^{(0)}=\frac{1}{A}\boldsymbol{1}=z_{s}^{(1)}=\bar{z}_{s}^{(1)}. Thus, (ii) holds for t=0t=0 and (i) holds for t=1t=1. We note that for t≥2t\geq 2,

where (a)(a) follows the update of Vs(t){\mathcal{V}}_{s}^{(t)} in Algorithm 3, we apply Lemma 8 and ∑τ = 0t−1α(t−1,τ)=1\sum_{\tau\,=\,0}^{t-1}\alpha^{(t-1,\tau)}=1 in (b)(b), (c)(c) follows the induction hypothesis (ii), (d)(d) is due to that ζs(0)=ζs(1)=0\zeta_{s}^{(0)}=\zeta_{s}^{(1)}=0, and we apply Lemma 14 for (e)(e). ∎

For every s∈Ss\in{\mathcal{S}}, the following quantities in Algorithm 3 all converge to some fixed values when t→∞t\rightarrow\infty:

∥zs(t)−zˉs(t)∥2+∥zˉs(t)−zˉs(t−1)∥2\left\|{z_{s}^{(t)}-\bar{z}_{s}^{(t)}}\right\|^{2}+\left\|{\bar{z}_{s}^{(t)}-\bar{z}_{s}^{(t-1)}}\right\|^{2} (converges to zero);

(xs(t))⊤Qs(t)ys(t)(x_{s}^{(t)})^{\top}{\mathcal{Q}}_{s}^{(t)}y_{s}^{(t)}.

Establishing (i). By (i) in Lemma 10, {Vs(t)}t = 0∞\{{\mathcal{V}}_{s}^{(t)}\}_{t\,=\,0}^{\infty} is a bounded increasing sequence. By the monotone convergence theorem, it is convergent. Therefore, (i) holds.

Establishing (ii). By summing up the inequality (ii) in Lemma 10 over tt and using the fact that zs(1)=zˉs(1)z_{s}^{(1)}=\bar{z}_{s}^{(1)},

which implies that 616η∥zs(τ+1)−zˉs(τ+1)∥2+716η∥zˉs(τ+1)−zˉs(τ)∥2\frac{6}{16\eta}\left\|{z_{s}^{(\tau+1)}-\bar{z}_{s}^{(\tau+1)}}\right\|^{2}+\frac{7}{16\eta}\left\|{\bar{z}_{s}^{(\tau+1)}-\bar{z}_{s}^{(\tau)}}\right\|^{2} must converge to zero when τ→∞\tau\rightarrow\infty, which further implies (ii).

converges to a fixed value (increasing and upper bounded). In (ii), we have shown that ∥zs(t)−zˉs(t)∥2\left\|{z_{s}^{(t)}-\bar{z}_{s}^{(t)}}\right\|^{2} converges to zero. Therefore, (xs(t))⊤Qs(t)ys(t)(x_{s}^{(t)})^{\top}{\mathcal{Q}}_{s}^{(t)}y_{s}^{(t)} must also converge. Therefore, (iii) holds. ∎

In Algorithm 3, for every s∈Ss\in{\mathcal{S}}, lim⁡t → ∞Vsx(t),y(t)\lim_{t\,\rightarrow\,\infty}V^{x^{(t)},y^{(t)}}_{s} exists, and

By Lemma 11, Vs(t){\mathcal{V}}_{s}^{(t)} and (xs(t))⊤Qs(t)ys(t)(x_{s}^{(t)})^{\top}{\mathcal{Q}}^{(t)}_{s}y_{s}^{(t)} both are convergent. Let Vs⋆:=lim⁡t → ∞Vs(t){\mathcal{V}}_{s}^{\star}:=\lim_{t\,\rightarrow\,\infty}{\mathcal{V}}_{s}^{(t)} and σs⋆:=lim⁡t → ∞(xs(t))⊤Qs(t)ys(t)\sigma_{s}^{\star}\mathrel{\mathop{:}}=\lim_{t\,\rightarrow\,\infty}(x_{s}^{(t)})^{\top}{\mathcal{Q}}^{(t)}_{s}y_{s}^{(t)}. We next show Vs⋆=σs⋆{\mathcal{V}}_{s}^{\star}=\sigma_{s}^{\star} by contradiction. Assume that there exists ϵ>0\epsilon>0 such that ∣Vs⋆−σs⋆∣=ϵ|{\mathcal{V}}_{s}^{\star}-\sigma_{s}^{\star}|=\epsilon. Since (xs(t))⊤Qs(t)ys(t)(x_{s}^{(t)})^{\top}{\mathcal{Q}}^{(t)}_{s}y_{s}^{(t)} converges to σs⋆\sigma_{s}^{\star}, there exists some t0>0t_{0}>0 such that for all t≥t0t\geq t_{0},

By our choice of α(t)\alpha^{(t)}, ∑t = t′∞α(t)=∞\sum_{t\,=\,t^{\prime}}^{\infty}\alpha^{(t)}=\infty for any t′t^{\prime}. Thus, there exists t1>0t_{1}>0 such that for all t≥t1t\geq t_{1} and all τ≤t0\tau\leq t_{0},

where log⁡(1−x)≤−x\log(1-x)\leq-x for x∈(0,1)x\in(0,1) is used in (a)(a). By the update of Vs(t){\mathcal{V}}^{(t)}_{s} in Algorithm 3, for all t≥max⁡(t0,t1)t\geq\max(t_{0},t_{1}),

where we apply the triangle inequality for (a)(a), (b)(b) is due to (31) and ∑τ = 1tα(t,τ)=1\sum_{\tau\,=\,1}^{t}\alpha^{(t,\tau)}=1, and (c)(c) follows (32). Since ∣Vs⋆−σs⋆∣=ϵ\left|{\mathcal{V}}_{s}^{\star}-\sigma_{s}^{\star}\right|=\epsilon, it is impossible that Vs(t){\mathcal{V}}_{s}^{(t)} converges to Vs⋆{\mathcal{V}}_{s}^{\star}, and it must be that Vs⋆=σs⋆{\mathcal{V}}_{s}^{\star}=\sigma_{s}^{\star}. Therefore, Vs(t)−(xs(t))⊤Qs(t)ys(t){\mathcal{V}}_{s}^{(t)}-(x_{s}^{(t)})^{\top}{\mathcal{Q}}^{(t)}_{s}y_{s}^{(t)} converges to zero as t→∞t\to\infty.

Equivalently, Vs(t)−(xs(t))⊤Qs(t)ys(t){\mathcal{V}}_{s}^{(t)}-(x_{s}^{(t)})^{\top}{\mathcal{Q}}^{(t)}_{s}y_{s}^{(t)} can be expressed as

By letting t→0t\to 0, since Vs(t)−Vs(t−1)→0{\mathcal{V}}_{s}^{(t)}-{\mathcal{V}}_{s}^{(t-1)}\rightarrow 0, thus,

also converges to zero. Hence, Vs(t){\mathcal{V}}_{s}^{(t)} converges to the unique fixed point of the Bellman equation. By the uniqueness, Vs(t−1)−Vsx(t),y(t){\mathcal{V}}_{s}^{(t-1)}-V_{s}^{x^{(t)},y^{(t)}} converges to zero. Therefore, lim⁡t→∞Vsx(t),y(t)=lim⁡t→∞Vs(t−1)=Vs⋆\lim_{t\rightarrow\infty}V_{s}^{x^{(t)},y^{(t)}}=\lim_{t\rightarrow\infty}{\mathcal{V}}_{s}^{(t-1)}={\mathcal{V}}_{s}^{\star}. ∎

Rearranging the inequality yields, for any xs′x_{s}^{\prime},

By (ii) of Lemma 11, the right-hand side above converges to zero, which completes the proof. ∎

Let {α(t)}t=1∞\{\alpha^{(t)}\}_{t=1}^{\infty} be a non-increasing sequence that satisfies 0<α(t)≤160<\alpha^{(t)}\leq\frac{1}{6} for all tt. Then for any t≥i≥2t\geq i\geq 2,

If suffices to show that α(t,i)≤23α(t,i−1)+23α(t,i−2)\alpha^{(t,i)}\leq\frac{2}{3}\alpha^{(t,i-1)}+\frac{2}{3}\alpha^{(t,i-2)}. We have the following two cases.

Case 1: i>2i>2. By the definition of α(t,τ)\alpha^{(t,\tau)} and the monotonicity of 0<α(t)≤160<\alpha^{(t)}\leq\frac{1}{6},

Case 2: i=2i=2. By the definition of α(t,τ)\alpha^{(t,\tau)} and the monotonicity of 0<α(t)≤160<\alpha^{(t)}\leq\frac{1}{6},

By Lemma 13, DiffP→0\textbf{Diff}_{P}\rightarrow 0 when t→∞t\rightarrow\infty. For DiffQ\textbf{Diff}_{Q}, we notice that

which converges to zero by Lemma 12. Therefore, DiffQ→0\textbf{Diff}_{Q}\rightarrow 0 when t→∞t\rightarrow\infty. Therefore, (x(t),y(t))(x^{(t)},y^{(t)}) converges to a Nash equilibrium when t→∞t\rightarrow\infty. ∎

D.2 Proof of Theorem 6

We first introduce a corollary of Lemma 10.

In Algorithm 3, for every state ss, and any T>0T>0,

where zs(t)=(xs(t),ys(t))z_{s}^{(t)}=(x_{s}^{(t)},y_{s}^{(t)}) and zˉs(t)=(xˉs(t),yˉs(t))\bar{z}_{s}^{(t)}=(\bar{x}_{s}^{(t)},\bar{y}_{s}^{(t)}).

Thus, by the inequality ∥x+y∥2≤2∥x∥2+2∥y∥2\left\|{x+y}\right\|^{2}\leq 2\left\|{x}\right\|^{2}+2\left\|{y}\right\|^{2},

which yields our desired result if we sum it over tt, use (xs(T+1))⊤Qs(T+1)ys(T+1)≤11−γ(x_{s}^{(T+1)})^{\top}{\mathcal{Q}}_{s}^{(T+1)}y_{s}^{(T+1)}\leq\frac{1}{1-\gamma} and zs(1)=zˉs(1)z_{s}^{(1)}=\bar{z}_{s}^{(1)}, and ignore a negative term. ∎

In Algorithm 3, the gap between the critic Qs(t){\mathcal{Q}}_{s}^{(t)} and the true Qs(t)Q_{s}^{(t)} satisfies

For notational simplicity, define Qs(0)=Qs(0)=0A×A{\mathcal{Q}}_{s}^{(0)}=Q^{(0)}_{s}=\mathbf{0}_{A\times A}.

where in (a)(a) we apply (x+y+z+w)2≤6x21−γ+2y21+γ+6z21−γ+6w21−γ(x+y+z+w)^{2}\leq\frac{6x^{2}}{1-\gamma}+\frac{2y^{2}}{1+\gamma}+\frac{6z^{2}}{1-\gamma}+\frac{6w^{2}}{1-\gamma} from the Cauchy-Schwarz inequality, in (b)(b) we use Lemma 17 and obtain c′=O(1(1−γ)5)c^{\prime}=O\left(\frac{1}{(1-\gamma)^{5}}\right), in (c)(c) we introduce notation,

and apply Lemma 3535 of Wei et al. (2021b), (e)(e) is due to that {α(t)}t = 0∞\{\alpha^{(t)}\}_{t\,=\,0}^{\infty} is a non-increasing sequence.

Application of Lemma 33 of Wei et al. (2021b) to the recursion relation above yields

where β(t,τ):=α(τ)∏i=τt−1(1−α(i)+α(i)γ)\beta^{(t,\tau)}:=\alpha^{(\tau)}\prod_{i=\tau}^{t-1}(1-\alpha^{(i)}+\alpha^{(i)}\gamma) for 1≤τ<t1\leq\tau<t and β(t,t):=1\beta^{(t,t)}:=1, and diff(t):=max⁡sdiffs(t)\text{diff}^{(t)}:=\max_{s}\text{diff}^{(t)}_{s}.

The right-hand side of (33) can be further upper bounded by

where (a)(a) is due to that ∑q = 1τ(1−α(τ))τ−q≤1α(τ).\sum_{q\,=\,1}^{\tau}(1-\alpha^{(\tau)})^{\tau-q}\leq\frac{1}{\alpha^{(\tau)}}.

Substitution of the upper bound above into (33) yields,

where (a)(a) is due to that α(t)\alpha^{(t)} is non-increasing, and (b)(b) is due to that ∑t = qT(1−α(T)+α(T)γ)t−q≤1α(T)(1−γ)\sum_{t\,=\,q}^{T}(1-\alpha^{(T)}+\alpha^{(T)}\gamma)^{t-q}\leq\frac{1}{\alpha^{(T)}(1-\gamma)}.

Finally, using the definition of c′c^{\prime} and applying ∥⋅∥1≤A∥⋅∥\|\cdot\|_{1}\leq\sqrt{A}\|\cdot\| to diff(q)\text{diff}^{(q)} lead to the desired result. ∎

The proof consists of two parts: Markov cooperative games and Markov competitive games, separately.

Markov cooperative games. Fix ss, the optimality of xˉs(t+1)\bar{x}_{s}^{(t+1)} in Algorithm 3 yields

Thus, for any xs′∈Δ(A1)x_{s}^{\prime}\in\Delta({\mathcal{A}}_{1}),

where we use (34) and ∥Qs(t)∥≤A1−γ\left\|{Q_{s}^{(t)}}\right\|\leq\frac{\sqrt{A}}{1-\gamma} in (a)(a), and (b)(b) is due to the Cauchy-Schwarz inequality and the choice of η≤1−γ32A\eta\leq\frac{1-\gamma}{32\sqrt{A}}. Hence,

where we apply the Cauchy-Schwarz inequality for (a)(a), (b)(b) follows the state distribution dρx′,y(t)(s)d_{\rho}^{x^{\prime},y^{(t)}}(s), (c)(c) is due to Corollary 3, (d)(d) is because of Lemma 15, and (e)(e) again is due to Corollary 3. By taking η=(1−γ)232SA\eta=\frac{(1-\gamma)^{2}}{32\sqrt{SA}} and α(t)=16t\alpha^{(t)}=\frac{1}{6\sqrt{t}}, the last upper bound above is of order,

Markov competitive game. We start from an intermediate step in the proof of Theorem 1 of (Wei et al., 2021b). Specifically, they have shown that if both players use Algorithm 3 in a two-player zero-sum Markov game, then,

where Cα:=1+∑t = 1Tα(t)C_{\alpha}\mathrel{\mathop{:}}=1+\sum_{t\,=\,1}^{T}\alpha^{(t)} and CβC_{\beta} is an upper bound for ∑t = τTβ(t,τ)\sum_{t\,=\,\tau}^{T}\beta^{(t,\tau)} with β(t,τ):=α(τ)∏i = τt−1(1−α(i)+α(i)γ)\beta^{(t,\tau)}\mathrel{\mathop{:}}=\alpha^{(\tau)}\prod_{i\,=\,\tau}^{t-1}(1-\alpha^{(i)}+\alpha^{(i)}\gamma) if τ<t\tau<t and β(t,t):=1\beta^{(t,t)}\mathrel{\mathop{:}}=1. We next calculate the upper bounds for CαC_{\alpha} and CβC_{\beta}.

Bounding CαC_{\alpha}. Recall that α(t)=16t−13\alpha^{(t)}=\frac{1}{6}t^{-\frac{1}{3}}. By the definition of CαC_{\alpha},

Bounding CβC_{\beta}. Using α(t)=16t−13\alpha^{(t)}=\frac{1}{6}t^{-\frac{1}{3}}, for any τ≥1\tau\geq 1, we have

Define t0:=τ+H(τ+c)13ln⁡(τ+c)+ct_{0}\mathrel{\mathop{:}}=\tau+H(\tau+c)^{\frac{1}{3}}\ln(\tau+c)+c, where H:=481−γH:=\frac{48}{1-\gamma} and c:=2(2H1−13ln⁡H1−13)11−13c:=2\left(\frac{2H}{1-\frac{1}{3}}\ln\frac{H}{1-\frac{1}{3}}\right)^{\frac{1}{1-\frac{1}{3}}} (if t0>Tt_{0}>T, we simply ignore the second term in (35)). By Lemma 16 with q=13q=\frac{1}{3}, for all t≥t0t\geq t_{0},

Hence, we can continue to bound the right-hand side of (35) by

which proves that Cβ=O~(1(1−γ)32)C_{\beta}=\widetilde{O}\left(\frac{1}{(1-\gamma)^{\frac{3}{2}}}\right).

which completes the proof by taking η=(1−γ)232SA\eta=\frac{(1-\gamma)^{2}}{32\sqrt{SA}}. ∎

where c:=2(2H1−qln⁡H1−q)11−qc\mathrel{\mathop{:}}=2\left(\frac{2H}{1-q}\ln\frac{H}{1-q}\right)^{\frac{1}{1-q}}. Then for all t≥t0t\geq t_{0},

t−H(t2)qln⁡(t2)t-H\left(\frac{t}{2}\right)^{q}\ln\left(\frac{t}{2}\right) is non-decreasing.

To show the two items above, we apply Lemma A.1 of (Shalev-Shwartz & Ben-David, 2014) which states that x≥2aln⁡(a)⇒x≥aln⁡(x)x\geq 2a\ln(a)\Rightarrow x\geq a\ln(x) for any a>0a>0. By the definition of cc, for all t≥ct\geq c, t1−q≥(t2)1−q≥2H1−qln⁡H1−qt^{1-q}\geq\left(\frac{t}{2}\right)^{1-q}\geq\frac{2H}{1-q}\ln\frac{H}{1-q} and thus

By the first item and the definition of t0t_{0}, t0≤τ+(τ+c)+c=2τ+2ct_{0}\leq\tau+(\tau+c)+c=2\tau+2c. Then by the second item, for all t≥t0t\geq t_{0} we have

For any two policies (x′,y′)(x^{\prime},y^{\prime}) and (x,y)(x,y),

where aˉ1\bar{a}_{1} and aˉ2\bar{a}_{2} achieve the maximum in (a)(a), and (b)(b) is due to the Bellman equation,

Fix s′s^{\prime}, we next subtract and add (xs′)⊤Qs′x′,y′ys′(x_{s^{\prime}})^{\top}Q_{s^{\prime}}^{x^{\prime},y^{\prime}}y_{s^{\prime}} in Qiff and apply ∣a+b∣≤∣a∣+∣b∣|a+b|\leq|a|+|b| to reach,

By substituting the upper bound on Qiff above into (36),

Appendix E Auxiliary Lemmas

In this section, we provide some auxiliary lemmas that are helpful in our analysis.

For any NN-player Markov potential game with instantaneous reward bounded in $$, it holds that

for any π,π′∈Π\pi,\pi^{\prime}\in\Pi and μ∈Δ(S)\mu\in\Delta({\mathcal{S}}).

where the last inequality is due to Viπ−Viπ′≤11−γV_{i}^{\pi}-V_{i}^{\pi^{\prime}}\leq\frac{1}{1-\gamma} for any π\pi and π′\pi^{\prime}. By symmetry, Φπ′(μ)−Φπ(μ)≤N1−γ\Phi^{\pi^{\prime}}(\mu)-\Phi^{\pi}(\mu)\leq\frac{N}{1-\gamma}. ∎

E.2 Auxiliary lemmas for single-player MDPs

We provide some auxiliary lemmas in the context of single-player MDPs.

Suppose that two MDPs have the same state/action spaces, but different reward and transition functions: (r,p)(r,p) and (r~,p~)(\widetilde{r},\widetilde{p}). Then, for a given policy π\pi, two action value functions associated with two MDPs satisfy

Subtracting equalities above on both sides yields

which leads to the desired inequality after rearrangement. ∎

Let π\pi and π′\pi^{\prime} be two policies for a MDP, and μ\mu be an initial state distribution. Then,

By the definition, for a fixed state s♯s^{\sharp},

By taking reward function r(s,a)=(1−γ)1{s = s♯}r(s,a)=(1-\gamma)\boldsymbol{1}_{\{s\,=\,s^{\sharp}\}}, we can view dμπ(s♯)d^{\pi}_{\mu}(s^{\sharp}) as a value function under the policy π\pi and the initial distribution μ\mu. With a slight abuse of notation, we denote such a value function by Vπ(μ;s♯)=dμπ(s♯)V^{\pi}(\mu;s^{\sharp})=d^{\pi}_{\mu}(s^{\sharp}). Similarly, we can define Vπ(s;s♯)V^{\pi}(s;s^{\sharp}) and Qπ(s,a;s♯)Q^{\pi}(s,a;s^{\sharp}), using the same reward function.

By the performance difference lemma (a single-player version of Lemma 1),

We also note that Qπ′(⋅,⋅;s♯)Q^{\pi^{\prime}}(\cdot,\cdot;s^{\sharp}) is the action value function associated with the reward function r(s,a)=(1−γ)1{s = s♯}r(s,a)=(1-\gamma)\boldsymbol{1}_{\{s\,=\,s^{\sharp}\}}. Thus,

Therefore, we can arrange (37) as follows,

E.3 Auxiliary lemmas for multi-player MDPs

We first extend Lemma 1 in the 1st-order form to the 2nd-order performance difference, which is useful to measure the joint policy improvement from multiple players.

Consider a two-player common-payoff Markov game with state space S{\mathcal{S}} and action sets A1{\mathcal{A}}_{1}, A2{\mathcal{A}}_{2}. Let r:S×A1×A2→r:{\mathcal{S}}\times{\mathcal{A}}_{1}\times{\mathcal{A}}_{2}\rightarrow be the reward function, and p:S×A1×A2→Δ(S)p:{\mathcal{S}}\times{\mathcal{A}}_{1}\times{\mathcal{A}}_{2}\rightarrow\Delta({\mathcal{S}}) be the transition function. Let Π1=(Δ(A1))S\Pi_{1}=(\Delta({\mathcal{A}}_{1}))^{{\mathcal{S}}} and Π2=(Δ(A2))S\Pi_{2}=(\Delta({\mathcal{A}}_{2}))^{{\mathcal{S}}} be player 1 and player 2’s policy sets, respectively. Then, for any x,x′∈Π1x,x^{\prime}\in\Pi_{1} and y,y′∈Π2y,y^{\prime}\in\Pi_{2},

where κμ\kappa_{\mu} is the distribution mismatch coefficient relative to μ\mu (see κμ\kappa_{\mu} in Definition 1).

We define the following non-stationary policies:

With this definition, xˉ0=x\bar{x}_{0}=x and xˉ∞=x′\bar{x}_{\infty}=x^{\prime}. We define yˉi\bar{y}_{i} similarly. Since xˉi\bar{x}_{i} is non-stationary, we specify its action distribution as xˉi(⋅ ∣ s,h)\bar{x}_{i}(\cdot~{}|~{}s,h) where hh is the step index. The joint value function for these non-stationary policies can be defined as usual:

In fact, the right-hand side above is equal to

Sending HH to infinity and recalling that xˉ0=x\bar{x}_{0}=x, xˉ∞=x′\bar{x}_{\infty}=x^{\prime}, yˉ0=y\bar{y}_{0}=y, yˉ∞=y′\bar{y}_{\infty}=y^{\prime} lead to

We next focus on the particular summand above with index (i,j)(i,j) and discuss three cases.

We first re-write Vxˉi,yˉj−Vxˉi+1,yˉjV^{\bar{x}_{i},\bar{y}_{j}}-V^{\bar{x}_{i+1},\bar{y}_{j}}. Notice that the value difference between the policy pairs (xˉi,yˉj)(\bar{x}_{i},\bar{y}_{j}) and (xˉi+1,yˉj)(\bar{x}_{i+1},\bar{y}_{j}) starts at step ii, since both policy pairs are equal to (x′,y′)(x^{\prime},y^{\prime}) from step to step i−1i-1. At the iith step, xˉi\bar{x}_{i} changes to xx while xˉi+1\bar{x}_{i+1} remains as x′x^{\prime}. Therefore,

(note that dμx,y(s)=∑i = 0∞dμx,y(s;i)d_{\mu}^{x,y}(s)=\sum_{i\,=\,0}^{\infty}d_{\mu}^{x,y}(s;i)). Similarly,

Summing the inequality above over i<ji<j yields

where μ′\mu^{\prime} is a state distribution that generates the state by the following procedure: first sample a state s0s_{0} according to dμx′,y′(⋅)d_{\mu}^{x^{\prime},y^{\prime}}(\cdot), then execute (unif,y′)=(1A1,y′)(\text{unif},y^{\prime})=(\frac{1}{A}\boldsymbol{1},y^{\prime}) for one step, and then output the next state.

By Lemma 22 (with π=(x′,y′)\pi=(x^{\prime},y^{\prime}), π′=(x,y′)\pi^{\prime}=(x,y^{\prime}), and πˉ=(unif,y′)\bar{\pi}=(\text{unif},y^{\prime})), we have dμ′x,y′(s)dμx′,y′(s)≤dμ′x,y′(s)μ(1−γ)≤κμ2γ(1−γ)\frac{d_{\mu^{\prime}}^{x,y^{\prime}}(s)}{d_{\mu}^{x^{\prime},y^{\prime}}(s)}\leq\frac{d_{\mu^{\prime}}^{x,y^{\prime}}(s)}{\mu(1-\gamma)}\leq\frac{\kappa_{\mu}^{2}}{\gamma(1-\gamma)}. Therefore,

Case 2: i>j𝑖𝑗i>j.

This case is symmetric to the case of i<ji<j, and can be handled similarly.

Case 3: i=j𝑖𝑗i=j.

Summing the bounds in all three cases above completes the proof. ∎

Let π\pi, π′\pi^{\prime} and πˉ\bar{\pi} be three policies, and μ\mu be some initial distribution. Let μ′\mu^{\prime} be a state distribution that generates a state according to the following: first sample an s0s_{0} from dμπ(⋅)d_{\mu}^{\pi}(\cdot), then execute πˉ\bar{\pi} for one step, and then output the next state. Then,

For a particular state s♯s^{\sharp}, we view the supremum sup⁡π~dμπ~(s♯)μ(s♯)\sup_{\widetilde{\pi}}\frac{d_{\mu}^{\widetilde{\pi}}(s^{\sharp})}{\mu(s^{\sharp})} as the optimal value of an MDP whose reward function is r(s,a)=1−γμ(s♯)1[s=s♯]r(s,a)=\frac{1-\gamma}{\mu(s^{\sharp})}\boldsymbol{1}[s=s^{\sharp}] and initial state is generated by μ\mu. The optimal value of this MDP is upper bounded by κμ\kappa_{\mu} by Definition 1. We next consider the following non-stationary policy for this MDP: first execute πˉ\bar{\pi} for one step, and then execute π′\pi^{\prime} in the rest of the steps. The discounted value of this non-stationary policy is lower bounded by

We can upper and lower bound the discounted sum above as the following:

where the right inequality is due to that this discounted value must be upper bounded by the optimal value of this MDP, which has an upper bound κμ\kappa_{\mu}, and the left inequality is by the definition of κμ\kappa_{\mu}. Now notice that

by the definition of μ′\mu^{\prime}. Plugging this into the previous inequality, we get

Since this holds for any s♯s^{\sharp}, this gives

Appendix F Auxiliary Lemmas for Stochastic Projected Gradient Descent

Algorithm 2 serves a sample-based algorithm if we solve the empirical risk minimization problem (7) via a stochastic projected gradient descent,

Let w⋆:=argmin⁡w ∈ {w ∣ ∥w∥ ≤ W}f(w)w^{\star}\mathrel{\mathop{:}}=\operatorname*{argmin}_{w\,\in\,\{w\,|\,\left\|{w}\right\|\,\leq\,W\}}f(w). Suppose Var(∇(k))≤σ2\text{Var}(\nabla^{(k)})\leq\sigma^{2}. If we run Algorithm 4 with stepsize λ(k)=O(11+k)\lambda^{(k)}=O(\frac{1}{1+k}) and βk(K)=1/λ(k)∑r = 0K1/λ(r)\beta_{k}^{(K)}=\frac{1/\lambda^{(k)}}{\sum_{r\,=\,0}^{K}1/\lambda^{(r)}}, then,

See the proof of Theorem 1 in (Cohen et al., 2017b). ∎

Appendix G Additional Experiments

We provide details about our experiments as follows.

For illustration, we consider the state space S={safe,distancing}{\mathcal{S}}=\{\textit{safe},\textit{distancing}\} and action space Ai={A,B,C,D}{\mathcal{A}}_{i}=\{A,B,C,D\}, and the number of players N=8N=8. In each state s∈Ss\in{\mathcal{S}}, the reward for player ii taking an action a∈Aia\in{\mathcal{A}}_{i} is the wsaw_{s}^{a}-weighted number of players using the action aa, where wsaw_{s}^{a} specifies the action preference wsA<wsB<wsC<wsDw_{s}^{A}<w_{s}^{B}<w_{s}^{C}<w_{s}^{D}. The reward in state distancing is less than that in state safe by a large amount c>0c>0. For state transition, if more than half of players find themselves using the same action, then the state transits to the state distancing; transition back to the state safe whenever no more than half of players take the same action.

In our experiments, we implement our independent policy gradient method based on the code for the projected stochastic gradient ascent (Leonardos et al., 2022). At each iteration, we collect a batch of 2020 trajectories to estimate the action-value function and (or) the stationary state distribution under current policy. We choose the discount factor γ=0.99\gamma=0.99, and different the stepsize η\eta, and initial state distributions as we report next.

Continuing Section 7, we further report our computational results using stepsize η=0.001\eta=0.001 in Figure 2, larger stepsize η=0.002\eta=0.002 in Figure 3 and stepsize η=0.005\eta=0.005 in Figure 4. We notice that the stepsize η=0.001\eta=0.001 for the projected stochastic gradient ascent (Leonardos et al., 2022) does not yield convergence while our independent policy gradient converges as shown in Figure 2. As demonstrated in Section 7, our independent policy gradient permits larger stepsizes with fast convergence, e.g., η=0.002\eta=0.002 in Figure 3 and η=0.005\eta=0.005 in Figure 4. Compared Figure 3 with Figure 4, we see an improved convergence of our independent policy gradient using a larger stepsize. We also remark that the learnt policies for all these experiments can generate the same Nash policy that matches the result in Leonardos et al. (2022).

We also examine how sensitive the performance of algorithms depends on initial state distributions. As discussed in Section 4, our independent policy gradient method (4) is different from the projected policy gradient (4.1) by removing the dependence on the initial state distribution. In the policy gradient theory (Agarwal et al., 2021), convergence of projected policy gradient methods is often restricted by how explorative the initial state distribution is. To be fair, we choose stepsize η=0.001\eta=0.001 for our algorithm since it achieves a similar performance as the projected stochastic gradient ascent (Leonardos et al., 2022) in Figure 2. We choose two different initial state distributions ρ=(0.9999,0.0001)\rho=(0.9999,0.0001) and ρ=(0.0001,0.9999)\rho=(0.0001,0.9999) and report our computational results in Figure 5 and Figure 6, respectively. Compared Figure 5 with Figure 2, both algorithms become a bit slower, but our algorithm is relatively insusceptible to the change of ρ\rho. This becomes more clearer in Figure 6 for another ρ=(0.0001,0.9999)\rho=(0.0001,0.9999). This demonstrates that practical performance of our independent policy gradient method (4) indeed is invariant to the initial distribution ρ\rho.