arXiv is now an independent nonprofit! Learn more
License: arXiv.org perpetual non-exclusive license
arXiv:2401.00747v6 [cs.GT] 05 Feb 2025

Geometric Structure and Polynomial-time Algorithm of Game Equilibria

Hongbo Sun Thanks: For discussing technical details, please contact this author. Affiliation: Shenzhen International Affiliation: Graduate School Affiliation: Tsinghua University Affiliation: Shenzhen Email: shb20@tsinghua.org.cn    Chongkun Xia Affiliation: School of Advanced Manufacturing Affiliation: Sun Yat-sen University Affiliation: Shenzhen Email: xiachk5@mail.sysu.edu.cn    Junbo Tan Affiliation: Shenzhen International Affiliation: Graduate School Affiliation: Tsinghua University Affiliation: Shenzhen Email: tjblql@sz.tsinghua.edu.cn    Bo Yuan Affiliation: Research Institute of Affiliation: Tsinghua University in Shenzhen Affiliation: Tsinghua University Affiliation: Shenzhen Email: boyuan@ieee.org    Xueqian Wang Affiliation: Shenzhen International Graduate School Affiliation: Tsinghua University Affiliation: Shenzhen Email: wang.xq@sz.tsinghua.edu.cn    Bin Liang Affiliation: Department of Automation Affiliation: Tsinghua University Affiliation: Beijing Email: bliang@tsinghua.edu.cn
Abstract

Whether a PTAS (polynomial-time approximation scheme) exists for game equilibria has been an open question, and its absence has indications and consequences in three fields: the practicality of methods in algorithmic game theory, non-stationarity and curse of multiagency in MARL (multi-agent reinforcement learning), and the tractability of PPAD in computational complexity theory. In this paper, we formalize the game equilibrium problem as an optimization problem that splits into two subproblems with respect to policy and value function, which are solved respectively by interior point method and dynamic programming. Combining these two parts, we obtain an FPTAS (fully PTAS) for the weak approximation (approximating to an ϵ\epsilon-equilibrium) of any perfect equilibrium of any dynamic game, implying PPAD=FP since the weak approximation problem is PPAD-complete. In addition, we introduce a geometric object called equilibrium bundle, regarding which, first, perfect equilibria of dynamic games are formalized as zero points of its canonical section, second, the hybrid iteration of dynamic programming and interior point method is formalized as a line search on it, third, it derives the existence and oddness theorems as an extension of those of Nash equilibria. In experiment, the line search process is animated, and the method is tested on 2000 randomly generated dynamic games where it converges to a perfect equilibrium in every single case.

Keywords game theory \cdot equilibrium \cdot dynamic programming \cdot interior point method \cdot polynomial-time approximation scheme

MSC codes: 90C39, 90C51, 91A15

1 Introduction

1.1 The computational problem of game equilibria

Whether game equilibria can be efficiently solved has been an open question since Nash equilibrium[1] is proposed. The absence of such a polynomial-time algorithm has indications and consequences in three different fields.

  • In algorithmic game theory, the most widely used algorithms for approximating equilibria are no-regret[2, 3], self-play[4, 5], and their variants.

    • Neither of them converges to Nash equilibria in general static games. No-regret converges to coarse correlated equilibria, and self-play converges to strict Nash equilibria in static games that satisfy the fictitious play property.

    • When applied to dynamic games, neither of them guarantees the approximated equilibria to be perfect, namely, being a Nash equilibrium at every stage of the game, and thus non-perfect equilibria are not optimal in dynamic games.

  • In MARL, there are problems known as non-stationarity and curse of multiagency[6], and these two problems are related to problems in algorithmic game theory, such that there is currently no algorithm that can converge to Nash equilibria or perfect equilibria in polynomial time for general games.

    • Non-stationarity means that the policies are hard to converge when reinforcement learning agents simultaneously maximize their utilities.

    • Curse of multiagency means that the computation needed for the policies of all agents to achieve optimal is exponential to the number of agents.

  • In computational complexity theory, there are the following results about approximating Nash equilibria.

    • There are two different approximations: weak approximation and strong approximation[7].

      • *

        Weak approximation is the approximation to an ϵ\epsilon-equilibrium, namely, a policy profile such that every player is at most ϵ\epsilon away from its maximum utility.

      • *

        Strong approximation is the approximation to an ϵ\epsilon-neighborhood of an exact equilibrium, namely, a policy profile whose distance from an exact equilibrium is less than ϵ\epsilon.

      • *

        A weak approximation of an exact equilibrium could be far from the exact equilibrium.

    • For static games with any number of players, computing a weak approximation of Nash equilibria is PPAD-complete[8], if ϵ\epsilon is inversely proportional to a polynomial in the game size[9], indicating that an FPTAS does not exist for weak approximation of Nash equilibria unless PPAD=FP.

    • For static games with any number of players, computing a weak approximation of Nash equilibria for fixed ϵ\epsilon is also PPAD-complete[10], indicating that an PTAS does not exist for weak approximation of Nash equilibria unless PPAD=FP.

    • For static games with two players, computing an exact Nash equilibrium is PPAD-complete[11].

    • For static games with three or more players, computing an exact Nash equilibrium and computing a strong approximation of Nash equilibria are both FIXP-complete[12].

In this paper, we deal with fully observable dynamic games, and all the results of dynamic games hold for static games as single-state degenerations. Our results eventually lead to an FPTAS for weak approximation of any perfect equilibrium of any dynamic game, implying PPAD=FP.

PTAS, FPTAS, PPAD, FP are all general concepts in computational complexity theory. A PTAS (polynomial-time approximation scheme) for a class of problems is an algorithm that approximates an answer to precision ϵ\epsilon in polynomial time with respect to the problem size. An FPTAS (fully polynomial-time approximation scheme) is a PTAS whose running time is not only a polynomial with respect to the problem size, but also a polynomial with respect to 1/ϵ1/\epsilon. FP is a complexity class that consists of function problems that can be solved in polynomial time, corresponding to the well-known complexity class P, which consists of decision problems that can be solved in polynomial time. Decision problems are the computational problems for which the answer is simply yes or no, while function problems are the computational problems for which the answer can be anything. PPAD is a complexity class defined as all the function problems that reduce to an End-Of-The-Line problem in polynomial time[13], and End-Of-The-Line is pretty convincingly intractable in polynomial time, making PPAD believed to contain hard problems, that is, it is believed to be unlikely that PPAD=FP.

In End-Of-The-Line, there is a directed graph DGDG, and a polynomial-time computable function ff given by a boolean circuit. DGDG consists of vertices that are connected by arrows, where each vertex has at most one predecessor and at most one successor. Each vertex is encoded in nn bits, and ff takes the bits of a vertex as input to output its predecessor and successor, either of which may be none. A vertex is called an unbalanced vertex if exactly one of its predecessor and successor is none. End-Of-The-Line is the problem that: given an unbalanced vertex, find another unbalanced vertex. In DGDG, every vertex is either on a chain or isolated, and the problem seems to let us follow a potentially exponentially long chain from a given source to a sink, making End-Of-The-Line pretty convincingly intractable in polynomial time.

PPAD stands for Polynomial Parity Arguments on Directed graphs, where the parity argument refers to that given an unbalanced vertex, there exist an odd number of other unbalanced vertices. The oddness theorem[14] of Nash equilibria stating that there are an odd number of Nash equilibria for almost all11 1 Almost all means other cases form a null set in all the cases, that is, the probability of encountering them is zero. static games is also a parity argument. The Sperner’s lemma in combinatorics, which is equivalent to Brouwer’s fixed point theorem that is used to prove the existence[15] of Nash equilibria, is another parity argument. All these three parity arguments are based on the fact that the solutions are connected in pairs.

1.2 Notation

Notations in this paper generally follow Einstein summation convention since the operations involved are all tensor operations. In mathematics and physics, Einstein summation convention is a widely used notation to achieve brevity in denoting tensor operations. In computer science, Einstein summation is also one of the basic functions implemented in tensor computing platforms such as NumPy and PyTorch. In this paper, we have attached an experimental code implementing our algorithm, which is based on the einsum function in NumPy and PyTorch, and thus a good illustration of Einstein summation convention can be found in their documentation.

First, a tensor is denoted as a symbol with superscripts and subscripts such as μai\mu_{a}^{i}, where the superscripts and subscripts represent the indices of the tensor, and the range of an index such as a𝒜a\in\mathcal{A} is implicitly inferred from context. A tensor can be denoted using different index symbols, such as μai\mu_{a}^{i} and μa′′k\mu_{a^{\prime\prime}}^{k} represent the same tensor. In particular, 𝟏s\mathbf{1}_{s} represents the tensor whose elements are all 11, and IxyI_{xy}, IxyI^{xy}, or IxyI_{x}^{y} is the identity matrix, which is a second-order tensor with two indices.

Second, Einstein summation in this paper is an operation that first takes element-wise product and then sums over vanishing indices, which follows the einsum function in NumPy and PyTorch, instead of the classic Einstein summation. For example, the Einstein summation of YasY_{a}^{s} and ZasiZ_{a}^{si} is denoted as YasZasiY_{a}^{s}Z_{a}^{si}, and the indices it sums over is inferred from context, such as the equation

Wsi+Xi=YasZasi:=a𝒜YasZasi,W_{s}^{i}+X^{i}=Y_{a}^{s}Z_{a}^{si}:=\sum_{a\in\mathcal{A}}Y_{a}^{s}Z_{a}^{si},

where indices ss and ii appear in other additives of the equation, while index aa vanishes. Thus, the Einstein summation YasZasiY_{a}^{s}Z_{a}^{si} is the summation over index aa, where the range of aa is implicitly inferred from outer context. In particular, when an Einstein summation appears in the objective of an optimization problem where there is no equation, such as wsπasirasiw^{s}\pi_{a}^{si}r_{a}^{si}, the summation over all the indices is implied since the objective is a scalar by definition such that all the indices vanish. In addition, element-wise product with no summation over any index is explicitly denoted using Hadamard product, such as πasirasi\pi_{a}^{si}\circ r_{a}^{si}, though it can be implicitly inferred from context.

Third, there are a few unconventional notations to further simplify the expressions, which make sense after the problem definition in the next subsection. For policy πasi\pi_{a}^{si}, let

πAs:=(kNπaksk)As,πAasi:=(IaiakN{i}πaksk)Aasi,πAaasij:=([ij]IaiaIajakN{i,j}πaksk)Aaasij,\pi_{A}^{s}:=\left(\prod_{k\in N}\pi_{a_{k}}^{sk}\right)_{A}^{s},\pi_{Aa}^{si-}:=\left(I_{a_{i}a}\prod_{k\in N-\{i\}}\pi_{a_{k}}^{sk}\right)_{Aa}^{si},\pi_{Aaa^{\prime}}^{sij-}:=\left([i\neq j]\cdot I_{a_{i}a}I_{a_{j}a^{\prime}}\prod_{k\in N-\left\{i,j\right\}}\pi_{a_{k}}^{sk}\right)_{Aaa^{\prime}}^{sij},

where AA represents (ai)iN(a_{i})_{i\in N} and [][\cdot] is the Iverson bracket that outputs 11 if the input is true and outputs 00 otherwise. Then, let πAsUπAsi:=(πAsUπAsi)si\pi_{A}^{s}U_{\pi A}^{si}:=(\pi_{A}^{s}U_{\pi A}^{si})^{si}, πAasiUπAsi:=(πAasiUπAsi)asi\pi_{Aa}^{si-}U_{\pi A}^{si}:=(\pi_{Aa}^{si-}U_{\pi A}^{si})_{a}^{si}, and πAaasijUπAsi:=(πAaasijUπAsi)aasij\pi_{Aaa^{\prime}}^{sij-}U_{\pi A}^{si}:=(\pi_{Aaa^{\prime}}^{sij-}U_{\pi A}^{si})_{aa^{\prime}}^{sij}. Let Tπss:=πasTsasT_{\pi s^{\prime}}^{s}:=\pi_{a}^{s}T_{s^{\prime}a}^{s} and uπs:=πasuasu_{\pi}^{s}:=\pi_{a}^{s}u_{a}^{s}. Let maxa\max_{a} represent the maximum with respect to index aa for every other indices. Finally, in dealing with static games, we may drop the index ss when one state is referred and put it on when all states are referred, such as πai\pi_{a}^{i} represents πasi(x)\pi_{a}^{si}(x) for some given state xx.

1.3 Problem definition

Definition 1 (Dynamic game).

A dynamic game Γ\Gamma is a tuple (N,𝒮,𝒜,T,u,γ)(N,\mathcal{S},\mathcal{A},T,u,\gamma), where NN is a set of players, 𝒮\mathcal{S} is a state space, 𝒜\mathcal{A} is an action space, T:𝒮×iN𝒜Δ(𝒮)T:\mathcal{S}\times\prod_{i\in N}\mathcal{A}\to\Delta(\mathcal{S}) is a transition function, Δ(𝒮)\Delta(\mathcal{S}) is a space of probability distributions on 𝒮\mathcal{S}, u:𝒮×iN𝒜iNu:\mathcal{S}\times\prod_{i\in N}\mathcal{A}\to\prod_{i\in N}\mathbb{R} is an utility function, \mathbb{R} is the set of real numbers, γ[0,1)\gamma\in[0,1) is a discount factor. A static game is a dynamic game with only one element in its state space 𝒮\mathcal{S}.

Definition 2 (Perfect equilibrium).

A perfect equilibrium of dynamic game Γ\Gamma is a policy π:𝒮iNΔ(𝒜)\pi:\mathcal{S}\to\prod_{i\in N}\Delta(\mathcal{A}) such that Vsi=maxaπAasi(uAsi+γTsAsVsi)V_{s}^{i}=\max_{a}\pi_{Aa}^{si-}(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i}), where V:𝒮iNV:\mathcal{S}\to\prod_{i\in N}\mathbb{R} is the unique value function that satisfies Vsi=πAs(uAsi+γTsAsVsi)V_{s}^{i}=\pi_{A}^{s}(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i}). A Nash equilibrium is a perfect equilibrium of a static game.

Dynamic game and perfect equilibrium inherit the major characteristics of stochastic game and Markov perfect equilibrium[16, 17] in existing research, and they are defined in the most intuitive and general way. Then, static games and Nash equilibria are the single-state degenerations of dynamic games and perfect equilibria.

Dynamic game generally follows the state-space representation. First, on a given state s𝒮s\in\mathcal{S}, a set NN of players choose their actions in the action space 𝒜\mathcal{A} simultaneously. Second, according to the action combination (ai)iN(a_{i})_{i\in N}, the utility function uu specifies the utility of each player, and the transition function TT specifies the next state s𝒮s^{\prime}\in\mathcal{S} of the game. Third, the process is repeated, and the goal of each player iNi\in N is to maximize its cumulative utility discounted by factor γ\gamma on every initial state. We denote the utility function as tensor uAsiu_{A}^{si} and the transition function as tensor TsAsT_{s^{\prime}A}^{s}, where A:=(ai)iNA:=(a_{i})_{i\in N} is the index of action combination.

The policy π\pi specifies a probability distribution Δ(𝒜)\Delta(\mathcal{A}) of actions for each player iNi\in N on every state s𝒮s\in\mathcal{S}. The value function VV measures the value of each state s𝒮s\in\mathcal{S} to each player iNi\in N. Denote 𝒫={π:𝒮iNΔ(𝒜)}\mathcal{P}=\{\pi:\mathcal{S}\to\prod_{i\in N}\Delta(\mathcal{A})\} as the policy space, and 𝒱={V:𝒮iN}\mathcal{V}=\{V:\mathcal{S}\to\prod_{i\in N}\mathbb{R}\} as the value function space. We denote the policy as tensor πasi\pi_{a}^{si} and the value function as tensor VsiV_{s}^{i}. Note that for any policy πasi\pi_{a}^{si}, there is a unique value function satisfying Vsi=πAs(uAsi+γTsAsVsi)V_{s}^{i}=\pi_{A}^{s}(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i}), which we denote as VπsiV_{\pi s}^{i}, because uπs=(IssγTπss)Vπsu_{\pi}^{s}=(I_{s^{\prime}}^{s}-\gamma T_{\pi s^{\prime}}^{s})V_{\pi s^{\prime}} and IssγTπssI_{s^{\prime}}^{s}-\gamma T_{\pi s^{\prime}}^{s} is invertible by Lemma 16 (ii), where Tπss:=πasTsasT_{\pi s^{\prime}}^{s}:=\pi_{a}^{s}T_{s^{\prime}a}^{s} and uπs:=πasuasu_{\pi}^{s}:=\pi_{a}^{s}u_{a}^{s}. In addition, we call VπsiV_{\pi s}^{i} the value function of policy πasi\pi_{a}^{si} because, intuitively, for any state x𝒮x\in\mathcal{S}, Vπsi(x)V_{\pi s}^{i}(x) is the discounted cumulative utility generated by πasi\pi_{a}^{si} on initial state xx.

A perfect equilibrium is a policy where all the players simultaneously earn their maximum discounted cumulative utilities on every initial state, which involves two equations. First, Vsi=πAs(uAsi+γTsAsVsi)V_{s}^{i}=\pi_{A}^{s}(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i}) is to ensure that value function VsiV_{s}^{i} is the discounted cumulative utility generated by policy πasi\pi_{a}^{si} on every initial state. Second, Vsi=maxaπAasi(uAsi+γTsAsVsi)V_{s}^{i}=\max_{a}\pi_{Aa}^{si-}(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i}) is to ensure that VsiV_{s}^{i} is the maximum discounted cumulative utilities of each player on every initial state. A weak approximation of a perfect equilibrium is an ϵ\epsilon-perfect equilibrium, which is a policy that every player is at most ϵ\epsilon away from its maximum utility. There are many equivalent definitions of ϵ\epsilon-Nash equilibrium, but we use equation (24) as the definition of ϵ\epsilon-perfect equilibrium, and its single-state degeneration can be shown equivalent to existing ϵ\epsilon-Nash equilibrium definitions.

1.4 Major results

In this paper, we introduce an equation called unbiased KKT conditions and a geometric object called equilibrium bundle, along with unbiased barrier problem and Brouwer function. The major results are centered around the unbiased KKT conditions and the equilibrium bundle, which are respectively introduced as we go through the following sections, but we put their definitions here only to describe our major results.

Definition 3 (Unbiased KKT conditions of dynamic games).

Unbiased KKT conditions are given by the following simultaneous equations, where UπAsi=uAsi+γTsAsVπsiU_{\pi A}^{si}=u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{\pi s^{\prime}}^{i} and VπsiV_{\pi s}^{i} is the unique value function satisfying Vsi=πAs(uAsi+γTsAsVsi)V_{s}^{i}=\pi_{A}^{s}(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i}).

[π^asirasiμasirasivsi+πAasiUπAsi𝟏aπ^asi𝟏si]=0\begin{bmatrix}\hat{\pi}_{a}^{si}\circ r_{a}^{si}-\mu_{a}^{si}\\ r_{a}^{si}-v_{s}^{i}+\pi_{Aa}^{si-}U_{\pi A}^{si}\\ \mathbf{1}_{a}\hat{\pi}_{a}^{si}-\mathbf{1}^{si}\end{bmatrix}=0 (1a)
πasi=π^asi\pi_{a}^{si}=\hat{\pi}_{a}^{si} (1b)
Definition 4 (Equilibrium bundle of dynamic games).

An equilibrium bundle is the tuple (E,𝒫,α:E𝒫)(E,\mathcal{P},\alpha:E\to\mathcal{P}) given by the following equations, where UπAsi=uAsi+γTsAsVπsiU_{\pi A}^{si}=u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{\pi s^{\prime}}^{i} and VπsiV_{\pi s}^{i} is the unique value function satisfying Vsi=πAs(uAsi+γTsAsVsi)V_{s}^{i}=\pi_{A}^{s}(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i}).

E=πasi𝒫{πasi}×B(πasi)\displaystyle E=\bigcup_{\pi_{a}^{si}\in\mathcal{P}}\{\pi_{a}^{si}\}\times B(\pi_{a}^{si}) (2)
B(πasi)={vsiπasi+μ¯asi(πasi)|vsi0}\displaystyle B(\pi_{a}^{si})=\left\{v_{s}^{i}\circ\pi_{a}^{si}+\bar{\mu}_{a}^{si}(\pi_{a}^{si})|v_{s}^{i}\geq 0\right\}
μ¯asi(πasi)=πasi(maxaπAasiUπAsiπAasiUπAsi)\displaystyle\bar{\mu}_{a}^{si}(\pi_{a}^{si})=\pi_{a}^{si}\circ\left(\max_{a}\pi_{Aa}^{si-}U_{\pi A}^{si}-\pi_{Aa}^{si-}U_{\pi A}^{si}\right)
α((πasi,μasi))=πasi\displaystyle\alpha\left((\pi_{a}^{si},\mu_{a}^{si})\right)=\pi_{a}^{si}

The map μ¯asi:𝒫{μasi|minasiμasi=𝟎si}\bar{\mu}_{a}^{si}:\mathcal{P}\to\{\mu_{a}^{si}|\min_{a}^{si}\mu_{a}^{si}=\mathbf{0}^{si}\} is called the canonical section of the equilibrium bundle.

The equilibrium bundle is a geometric object called fiber bundle22 2 We only use the basic idea that the total space is the disjoint union of the fibers over the base space to formalize a geometric structure, no deeper theories are involved. in differential geometry, its base space is policy space 𝒫\mathcal{P}, its total space is EE consisting of pairs (πasi,μasi)(\pi_{a}^{si},\mu_{a}^{si}), its fiber over πasi𝒫\pi_{a}^{si}\in\mathcal{P} is α1(πasi)={πasi}×B(πasi)\alpha^{-1}(\pi_{a}^{si})=\{\pi_{a}^{si}\}\times B(\pi_{a}^{si}), and canonical section μ¯asi\bar{\mu}_{a}^{si} is its section that maps each πasi𝒫\pi_{a}^{si}\in\mathcal{P} to the least element in B(πasi)B(\pi_{a}^{si}). Conventionally, we can also call EE as the equilibrium bundle, and call B(πasi)B(\pi_{a}^{si}) as its fiber over πasi\pi_{a}^{si}. The major results are several facts about the unbiased KKT conditions and the equilibrium bundle, which we show as we go through the following sections.

  • There are many equivalent characterizations of perfect equilibria of dynamic games centered around the unbiased KKT conditions.

    • For every barrier parameter, unbiased KKT conditions derive a Brouwer function that maps a primal policy to a dual policy, such that the Brouwer’s fixed point theorem applies, leading to the existence theorem of perfect equilibrium as an extension of that of Nash equilibrium[15].

      • *

        There is an unbiased barrier problem depicting the approximation of the fixed points of the Brouwer function, such that the fixed points are its global optimal points, or equivalently its zero points.

    • Unbiased KKT conditions derive a polynomial function that maps a policy to a barrier parameter, such that the Newton-Puiseux theorem applies, leading to the oddness theorem of perfect equilibrium as an extension of that of Nash equilibrium[14].

    • The solution space of unbiased KKT conditions can be structured as an equilibrium bundle, such that perfect equilibria are the zero points of the canonical section of the equilibrium bundle, where the canonical section depicts the global distribution of perfect equilibria in policy space.

  • There is a hybrid iteration of dynamic programming and interior point method formalized as a line search method on the equilibrium bundle.

    • The method consists of two levels of iteration: updating onto the equilibrium bundle by alternating the steps of projected gradient (of the unbiased barrier problem) descent and dynamic programming, and hopping across the fibers of the equilibrium bundle to a zero point of the canonical section.

    • For any perfect equilibrium of any dynamic game, there are infinite many path on the equilibrium bundle that lead exactly to it. The method achieves a weak approximation, namely, the approximation to an ϵ\epsilon-approximate perfect equilibrium, in fully polynomial time, and the time complexity of achieving a strong approximation, namely, the approximation to an ϵ\epsilon-neighborhood of an actual perfect equilibrium, depends on the gradient of the canonical section near the actual perfect equilibrium.

    • The computation of the algorithm is based on a variant of the expected utility instead of a specific game model, and thus the algorithm works with any game model that has a polynomial-time algorithm for the expected utility problem, and also with model-free cases.

    • As for intermediate results, the game equilibrium problem is formalized as an optimization problem, which splits into two subproblems with respect to policy and value function.

      • *

        The subproblem with respect to policy is equivalent to the Nash equilibrium problem of static games. We introduce two equivalent concepts called unbiased barrier problem and unbiased KKT conditions, making the interior point method to satisfy a so-called primal-dual unbiased condition using these two concepts, so that it can approximate Nash equilibria by local optimization.

      • *

        The subproblem with respect to value function is equivalent to the convergence problem of dynamic programming in dynamic games. We introduce a concept called policy cone, giving the iteration properties of dynamic programming and the equivalent conditions of equilibria in the context of policy cone, and then use them to give the sufficient and necessary condition for dynamic programming to converge to perfect equilibria.

Considering the research status and our major contributions, there are three direct impacts of our discovery.

  • Our discovery leads to a fundamental leap in the understanding of game equilibria through the equilibrium bundle.

  • There is previously no efficient algorithms solving general game equilibrium problem, but now there is, and it is general enough to derive an efficient algorithm for any problem involving strategic interactions.

  • PPAD=FP, where PPAD class is previously considered to contain hard problems, but our discovery shows that it actually does not, which means there is an efficient algorithm for every problem in the PPAD class to be discovered.

2 Technical route and related work

2.1 Formalizing game equilibrium problem as optimization problem

Definition 5 (Regret minimization problem of dynamic games).

A regret minimization problem of a dynamic game Γ\Gamma is optimization problem (3), where (πasi,rasi,Vsi)(\pi_{a}^{si},r_{a}^{si},V_{s}^{i}) is a tuple of policy, regret, and value, and wsw^{s} may be any vector such that ws>0w^{s}>0.

min(πasi,rasi,Vsi,vsi)\displaystyle\min_{(\pi_{a}^{si},r_{a}^{si},V_{s}^{i},v_{s}^{i})} wsπasirasi\displaystyle w^{s}\pi_{a}^{si}r_{a}^{si} (3)
s.t.\displaystyle\textrm{s.t.} rasivsi+πAasi(uAsi+γTsAsVsi)=0\displaystyle r_{a}^{si}-v_{s}^{i}+\pi_{Aa}^{si-}(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i})=0
𝟏aπasi𝟏si=0\displaystyle\mathbf{1}_{a}\pi_{a}^{si}-\mathbf{1}^{si}=0
vsiVsi=0\displaystyle v_{s}^{i}-V_{s}^{i}=0
(πasi,rasi)0\displaystyle(\pi_{a}^{si},r_{a}^{si})\geq 0

The road to our FPTAS for perfect equilibria of dynamic games starts from the regret minimization problem (3) of dynamic games. The global optimal points of problem (3) are equivalently the perfect equilibria and the optimal value is zero as shown in Theorem 13.

Proposition 1.

The following statements about linear programming problem (4) and (5) hold, where w¯s\bar{w}^{s} may be any vector such that w¯s>0\bar{w}^{s}>0.

minVs\displaystyle\min_{V_{s}} w¯sVs\displaystyle\bar{w}^{s}V_{s} (4)
s.t.\displaystyle\textrm{s.t.} Vsuas+γTsasVs\displaystyle V_{s}\geq u_{a}^{s}+\gamma T_{s^{\prime}a}^{s}V_{s^{\prime}}
maxπas\displaystyle\max_{\pi_{a}^{s}} w¯sVπs\displaystyle\bar{w}^{s}V_{\pi s} (5)
s.t.\displaystyle\textrm{s.t.} 𝟏aπas=𝟏s\displaystyle\mathbf{1}_{a}\pi_{a}^{s}=\mathbf{1}^{s}
πas0\displaystyle\pi_{a}^{s}\geq 0
  1. (i)

    Linear programming problem (4) and (5) are the dual problem of each other, and the optimal value is the optimal value function of the corresponding single-player dynamic game.

  2. (ii)

    The single-player case of regret minimization problem (3) is the minimization of the duality gap of linear programming problem (4) and (5), where w¯s=ws(IssγTπss)\bar{w}^{s^{\prime}}=w^{s}(I_{s^{\prime}}^{s}-\gamma T_{\pi s^{\prime}}^{s}).

MDP (Markov decision process) is the model for single-player decision problem[18], and an optimal policy of an MDP is the single-player degeneration of a perfect equilibrium of a dynamic game. Value iteration Vs,k+1=maxa(uas+γTsasVs,k)V_{s,k+1}=\max_{a}(u_{a}^{s}+\gamma T_{s^{\prime}a}^{s}V_{s^{\prime},k}) and policy iteration πa,k+1s=argmaxa(uas+γTsasVπks)\pi_{a,k+1}^{s}=\arg\max_{a}(u_{a}^{s}+\gamma T_{s^{\prime}a}^{s}V_{\pi_{k}s^{\prime}}) are two dynamic programming methods to compute the optimal policies of MDPs in existing studies. Proposition 1 (i) restates an existing result about the relation between dynamic programming and linear programming. In addition, the two dynamic programming methods correspond to the two linear programmings, such that value iteration solves linear programming problem (4), and policy iteration solves linear programming problem (5), where the iteration variables correspond to the optimization variables.

Proposition 1 (ii) shows that the single-player case of problem (3) is in the form of the duality gap of a pair of dual linear programming problems, making alternately updating πasi\pi_{a}^{si} and VsiV_{s}^{i} feasible. However, the general case of problem (3) is a multilinear programming problem with joint constraints such that πasi\pi_{a}^{si} and VsiV_{s}^{i} simultaneously appear in a constraint, making it not possible to be decomposed with respect to πasi\pi_{a}^{si} and VsiV_{s}^{i}. Although decomposition with respect to πasi\pi_{a}^{si} and VsiV_{s}^{i} is unfeasible, we can still try to alternately update πasi\pi_{a}^{si} and VsiV_{s}^{i} by taking one of πasi\pi_{a}^{si} and VsiV_{s}^{i} as variable while the other as constant, splitting problem (3) into two subproblems.

  • Regret minimization problem (6) of static games with respect to πasi\pi_{a}^{si}, which is equivalent to solving Nash equilibria of static games.

  • Dynamic programming problem (17) with respect to VsiV_{s}^{i}, which is equivalent to the convergence problem of dynamic programming in dynamic games.

Then, the perfect equilibrium problem is transformed to a set of Nash equilibrium problems indexed by states plus a dynamic programming problem. In the next subsection, we introduce the technical routes of this paper to construct polynomial-time algorithms solving the two subproblems and combine them to a polynomial-time algorithm solving problem (3), which equivalently approximates perfect equilibria.

2.2 Technical route

In section 3, we study the subproblem with respect to πasi\pi_{a}^{si} of problem (3) and develope an algorithm solving it to update πasi\pi_{a}^{si}. The subproblem is regret minimization problem (6), and it is equivalent to the problem of computing Nash equilibria of static games.

  • Solving Nash equilibria is equivalent to solving the global optimal points of problem (6).

    • Existing methods like no-regret and self-play lack the ability to converge to Nash equilibria.

      • *

        According to the purification theorem[19], a policy is a Nash equilibrium if and only if for every player, every non-zero weighted action has the same utility.

      • *

        As a consequence, mixed Nash equilibria are not stable equilibrium points for any method based on optimizing the utility of the updated mixed strategy, such as no-regret and self-play.

      • *

        In no-regret[2], regret is a vector of differences between the utility of the updated mixed strategy and the utilities of every action, and the regret is minimized.

      • *

        In self-play[4], the utility of the updated mixed strategy is maximized.

      • *

        In regret minimization problem (6), the regret is a vector of differences between the maximum utility and the utilities of every action, plus a scalar.

    • Solving Nash equilibria is equivalent to solving the primal-dual unbiased local extreme points of problem (6). We introduce a primal-dual unbiased condition here, so that we can use local optimization methods that are polynomial-time.

    • Using the interior point method to perform local optimization. The interior point method approximate a local extreme point along the central path through two levels of iteration: updating onto the central path by locally optimizating the barrier problem, and updating along the central path to a local extreme point by gradually reducing the barrier parameter to zero, where the central path consists of solutions of the perturbed KKT conditions.

  • Using interior point method to approximate primal-dual unbiased local extreme points of problem (6). We want the interior point method to always lead to a primal-dual unbiased local extreme point of problem (6), instead of just an ordinary local extreme point.

    • Equivalently characterizing primal-dual unbiased local extreme points of the barrier problem of problem (6) through unbiased barrier problem (8) or unbiased KKT conditions (9). We introduce (primal-dual) unbiased barrier problem (8), (primal-dual) unbiased KKT conditions (9), and a Brouwer function here, so that we can make the following transformation.

    • Transforming the interior point method into a primal-dual unbiased interior point method. The primal-dual unbiased interior point method approximate a primal-dual unbiased local extreme point along the (primal-dual) unbiased central path through two levels of iteration, where the unbiased central path consists of solutions of unbiased KKT conditions (9).

      • *

        In the first iteration level, usually, the barrier problem is numerically optimized by SQP (sequential quadratic programming)[20], which is a numerical second-order method. But for unbiased barrier problem (8), there exists an analytical expression of its projected gradient. So we use projected gradient (10) to update onto the unbiased central path, and this analytical first-order method is much more simple.

      • *

        In the second iteration level, we reduce the barrier parameter to update along the unbiased central path.

    • There are three assumptions for the primal-dual unbiased interior point method to work.

      • *

        Starting point: there has to be a starting point sufficiently close to the unbiased central path.

      • *

        Differentiability: the updated point has to move an infinitesimal step along the unbiased central path with an infinitesimal reduction of the barrier parameter.

      • *

        Convexity: unbiased barrier problem has to be strictly locally convex for projected gradient descent (10) to update onto the unbiased central path.

  • Introducing the equilibrium bundle to settle the three assumptions.

    • We introduce a geometric object called equilibrium bundle, along with its canonical section and singular point.

      • *

        Equilibrium bundle is a fiber bundle in differential geometry, which consists of disjoint fibers over every policy in the policy space.

      • *

        Equilibrium bundle is the structured solution space of unbiased KKT conditions (9).

      • *

        Nash equilibria are equivalently the zero points of the canonical section of the equilibrium bundle.

    • Settling the three assumptions on the equilibrium bundle. Equilibrium bundle corresponds to the previous unbiased central path in the following statements.

      • *

        Starting point: for any given policy, a large enough barrier parameter on its fiber is nearly on the equilibrium bundle.

      • *

        Differentiability: on non-singular points of the equilibrium bundle, policy moves an infinitesimal step with an infinitesimal step of barrier parameter.

      • *

        Convexity: on non-singular points of the equilibrium bundle, unbiased barrier problem (8) is strictly locally convex.

      • *

        Singularity: for any given policy, a large enough barrier parameter on its fiber is guaranteed to be a non-singular point pairing with the policy. Note that moving along a fiber changes neither the policy nor the canonical section, so this singular avoidance does not affect the line search to Nash equilibria.

    • Transforming the primal-dual unbiased interior point method into a line search method on the equilibrium bundle. This method approximates any Nash equilibrium of any static game through two levels of iteration.

      • *

        In the first iteration level, we update onto the equilibrium bundle by projected gradient descent (10).

      • *

        In the second iteration level, singular points must be avoided as we update along the equilibrium bundle, which is done by canonical section descent (16) leveraging the structure of the equilibrium bundle. So we hop across the fibers of the equilibrium bundle to a zero point of its canonical section by canonical section descent (16).

  • To show the significance of our results, we additionally extend the existence and oddness theorems of Nash equilibria to the unbiased KKT conditions, such that the two theorems of Nash equilibria are implied by degenerating the two theorems of the unbiased KKT conditions.

    • Existence theorem[15]: for any barrier parameter, there is always a solution of the unbiased KKT conditions. Because unbiased KKT conditions derive a Brouwer function mapping primal policies to dual policies for any barrier parameter, then a primal-dual unbiased policy always exists by Brouwer’s fixed point theorem.

    • Oddness theorem[14]: for any barrier parameter, there are almost always an odd number of solutions on the unbiased KKT conditions. Because unbiased KKT conditions derive a polynomial function mapping policies to barrier parameters, then the equilibria and a unique starting point are almost always connected in pairs by Newton-Puiseux theorem.

In section 4, we study the subproblem with respect to VsiV_{s}^{i} of problem (3) and develope an algorithm solving it to update VsiV_{s}^{i}. The subproblem is dynamic programming problem (17), and it is equivalent to the convergence problem of dynamic programming in dynamic games.

  • Solving dynamic programming problem (17) is equivalent to making the convergence point of dynamic programming to lie within the constraint of problem (17).

    • Existing methods that directly use the Bellman operator in dynamic games lack the ability to converge at all.

      • *

        Value iteration is a dynamic programming method that uses the Bellman operator to iterate the value function, and it is a polynomial-time exact algorithm for computing optimal policies of MDPs[21]. The iterative convergence of Bellman operator is contraction mapping convergence.

      • *

        The Bellman operator is also directly used to solve perfect equilibria of dynamic games in early attempts[22, 23], showing that it generally do not converge.

    • Settling for monotone convergence instead of contraction mapping convergence.

      • *

        We introduce two dynamic programming operators respectively given by the objective and constraint of problem (17), and introduce the policy cone and the best response cone respectively based on the two dynamic programming operators.

      • *

        It is discovered that our dynamic programming operator achieves monotone convergence within the policy cone as shown in the following.

      • *

        Contraction mapping convergence can be considered as a convergence in every direction, and monotone convergence can be considered as a convergence in only a certain direction.

      • *

        The Bellman operator is a special case of our dynamic programming operator, allowing us to analyze why Bellman operator does not converge in dynamic games later.

    • For a fixed policy, dynamic programming operator achieves monotone convergence to the apex within the policy cone, and adding a large enough scalar keeps the iteration within the best response cone.

      • *

        Policy cone is the monotonic and closed domain of dynamic programming operator such that monotone convergence theorem applies.

      • *

        Every value function plus a large enough scalar is in the best response cone, and the best response cone lies inside the policy cone.

      • *

        Policy cone has an apex that is the value function of its policy, and the apex is the limit point of the dynamic programming operator iteration, and plusing scalars during the iteration does not affect the convergence.

    • A policy is a perfect equilibrium if and only if the apex of its policy cone lies in its best response cone, and if and only if the apex is the global optimal point of dynamic programming problem (17).

  • Making dynamic programming operator to monotonically converge to a policy cone apex that lies in the best response cone.

    • Explaining why Bellman operator cannot be simply generalized from MDPs to dynamic games. Bellman operator achieves both contraction mapping convergence and monotone convergence in single-player case, but it achieves neither the convergence in multi-player case.

    • The sufficient and necessary condition for dynamic programming iteration (22) to converges to a perfect equilibrium value function.

      • *

        Not only is the policy cone bounded below given a fixed policy, but the apex of it is also bounded below with respect to a varying policy. Thus, monotone convergence with a varying policy is maintained by adding a large enough scalar so that the iteration lies within the policy cone and letting this scalar converge to zero.

      • *

        The limit point lies in the best response cone if the iteration is kept within the best response cone. Thus, we further require the scalar large enough so that the iteration lies within the best response cone.

In section 5, we combine the above two algorithms by alternating the steps updating πasi\pi_{a}^{si} and VsiV_{s}^{i} such that the resulting algorithm solves problem (3), which is equivalent to the problem of computing perfect equilibria of dynamic games.

  • Perfect equilibria are equivalently the global optimal points of regret minimization problem (3) of dynamic games.

    • Existing methods that directly use variants of the static game method in dynamic games lack the ability to converge to perfect equilibria.

      • *

        For every dynamic game, there is a corresponding static game, in which the behavioral strategies of the dynamic game serve as the static strategies of the corresponding static game.

      • *

        When the variants of no-regret[3] and self-play[5] are used in dynamic games, they deal with interactions of behavioral strategies, instead of static strategies at each stage of the dynamic game. This means that their resulting equilibria are at most Nash equilibria of the corresponding static game of behavioral strategy interactions, while not guaranteed to be a Nash equilibrium at every stage of the dynamic game.

    • Combining the line search on equilibrium bundle and the dynamic programming within policy cone.

      • *

        A policy is a perfect equilibrium if and only if it is the global optimal point of problem (3). There is a relation between canonical section and the two dynamic programming operators, which then establishs a relation between the results in the last two sections.

      • *

        Determining the nesting order of the three iteration formulas of the two sub-algorithms. Dynamic programming (22) has to be at the same level of iteration as the projected gradient descent (10), because dynamic programming moves more than an infinitesimal step every iteration, which would cause the updated point to be too far away from the equilibrium bundle to update back, except for when dynamic programming is nearly converged.

      • *

        Defining the unbiased KKT conditions and the equilibrium bundle of dynamic games. By setting the value function as the convergence point of dynamic programming, which is the value function of a specific policy, there are still unbiased KKT conditions and the equilibrium bundle of dynamic games, such that those of static games are the single-state degenerations. Furthermore, the existence and oddness theorems generalize to dynamic games.

      • *

        The combined method is still formalized as a line search on the equilibrium bundle, which approximates any perfect equilibrium of any dynamic game through two levels of iteration: updating onto the equilibrium bundle by projected gradient descent (10) and dynamic programming (22), and hopping across the fibers of the equilibrium bundle to a zero point of its canonical section by canonical section descent (16).

    • Finally, we show that the resulting algorithm achieves a weak approximation in fully polynomial time by showing the convergence rates of the three iterations (10), (22), and (16).

3 Interior point method on static games

3.1 Approximating Nash equilibrium by local optimization

In this section, we deal with the subproblem with respect to πasi\pi_{a}^{si} of problem (3), which is the regret minimization problem (6) with μai=0\mu_{a}^{i}=0 and UAi=(uAsi+γTsAsVsi)(x)U_{A}^{i}=(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i})(x). The global optimal points of problem (6) are equivalently Nash equilibria, and thus the goal of this section is to find a polynomial-time algorithm for Nash equilibria. We first use the purification theorem to explain why existing approximation methods for Nash equilibrium lack convergence guarantee while methods based on regret minimization problem (6) do. Then we give Theorem 2 stating that a Nash equilibrium is equivalently a global optimal point of problem (6), and is also equivalently a local extreme point that also satisfies a condition called primal-dual unbiased condition. Finally, the second equivalent condition would allow us to approximate Nash equilibria by local optimization, which is chosen as the interior point method. In addition, this section mainly deals with static games, so we drop the state index ss as we state before.

Definition 6 (Regret minimization problem).

Let GG be a static game, where the utility function is U:iN𝒜iNU:\prod_{i\in N}\mathcal{A}\to\prod_{i\in N}\mathbb{R}. A regret minimization problem of GG is optimization problem (6) with μai=0\mu_{a}^{i}=0, where (πai,rai,vi)(\pi_{a}^{i},r_{a}^{i},v^{i}) is a tuple of policy, regret, and value, and μai\mu_{a}^{i} is a barrier parameter.

min(πai,rai,vi)\displaystyle\min_{(\pi_{a}^{i},r_{a}^{i},v^{i})} πairaiμailnraiμailnπai\displaystyle\pi_{a}^{i}r_{a}^{i}-\mu_{a}^{i}\ln r_{a}^{i}-\mu_{a}^{i}\ln\pi_{a}^{i} (6)
s.t.\displaystyle\textrm{s.t.} raivi+πAaiUAi=0\displaystyle r_{a}^{i}-v^{i}+\pi_{Aa}^{i-}U_{A}^{i}=0
𝟏aπai𝟏i=0\displaystyle\mathbf{1}_{a}\pi_{a}^{i}-\mathbf{1}^{i}=0

The case where μai>0\mu_{a}^{i}>0 is a barrier problem of regret minimization problem (6).

According to the purification theorem[19], πai\pi_{a}^{i} is a Nash equilibrium if and only if for every player ii, every action aa that satisfies πai>0\pi_{a}^{i}>0 has the same utility. Thus, mixed Nash equilibria are not stable equilibrium points for any method based on optimizing the utility of the updated mixed strategy, such as no-regret[2, 3] and self-play[4, 5]. Note that the meanings of regret are different in no-regret methods and in this paper. The regret in no-regret methods is a vector of differences between the utility of the updated mixed strategy and the utilities of every action, while the regret in regret minimization problem (6) is a vector of differences between the maximum utility and the utilities of every action plus a scalar. The difference upon the quantity being optimized is why our method has convergence guarantee while existing methods based on no-regret or self-play do not, and consequently exhibit non-stationarity when used in MARL.

Theorem 2.

Let GG be a static game and (πai,rai,vi)(\pi_{a}^{i},r_{a}^{i},v^{i}) be a tuple of policy, regret and value of GG. Then the following statements are equivalent.

  1. (i)

    (πai,vi)(\pi_{a}^{i},v^{i}) is a Nash equilibrium of GG.

  2. (ii)

    (πai,rai,vi)(\pi_{a}^{i},r_{a}^{i},v^{i}) is a global optimal point of regret minimization problem (6).

  3. (iii)

    There exist Lagrangian multipliers (λ¯ai,λ~i,π^ai,r^ai)(\bar{\lambda}_{a}^{i},\tilde{\lambda}^{i},\hat{\pi}_{a}^{i},\hat{r}_{a}^{i}) that satisfies two conditions: the KKT conditions shown by equation (7) with μai=0\mu_{a}^{i}=0, and the primal-dual unbiased condition πai=π^ai\pi_{a}^{i}=\hat{\pi}_{a}^{i}.

    [λ¯ajπAaaijUAi+λ~i𝟏a+rair^aiλ¯ai+πaiπ^ai𝟏aλ¯airaiπ^aiμaiπair^aiμairaivi+πAaiUAi𝟏aπai𝟏i]=0\begin{bmatrix}\bar{\lambda}_{a}^{j}\pi_{Aaa^{\prime}}^{ij-}U_{A}^{i}+\tilde{\lambda}^{i}\mathbf{1}_{a^{\prime}}+r_{a^{\prime}}^{i}-\hat{r}_{a^{\prime}}^{i}\\ \bar{\lambda}_{a}^{i}+\pi_{a}^{i}-\hat{\pi}_{a}^{i}\\ -\mathbf{1}_{a}\bar{\lambda}_{a}^{i}\\ r_{a}^{i}\circ\hat{\pi}_{a}^{i}-\mu_{a}^{i}\\ \pi_{a}^{i}\circ\hat{r}_{a}^{i}-\mu_{a}^{i}\\ r_{a}^{i}-v^{i}+\pi_{Aa}^{i-}U_{A}^{i}\\ \mathbf{1}_{a}\pi_{a}^{i}-\mathbf{1}^{i}\end{bmatrix}=0 (7)

    The case where μai>0\mu_{a}^{i}>0 of equation (7) is the perturbed KKT conditions of regret minimization problem (6).

Furthermore, when these statements hold, the objective function πairai\pi_{a}^{i}r_{a}^{i} of (6) is 00, and (λ¯ai,λ~i,πaiπ^ai,rair^ai)=0(\bar{\lambda}_{a}^{i},\tilde{\lambda}^{i},\pi_{a}^{i}-\hat{\pi}_{a}^{i},r_{a}^{i}-\hat{r}_{a}^{i})=0.

Theorem 2 points out that the Nash equilibrium is not only equivalent to the global optimal point of regret minimization problem (6), but also equivalent to its local extreme point that satisfies the primal-dual unbiased condition, where the local extreme point is namely the point that satisfies the KKT conditions[24] in (iii). In previous research[25, 26], linear programming, quadratic programming, linear complementarity problem, and Nash equilibrium of bimatrix games have been unified, and the unification is actually a degeneration of (i)(ii)(i)\Leftrightarrow(ii) into two-player static games. (i)(ii)(i)\Leftrightarrow(ii) points out the connection between our method and existing methods, but it is not necessary in constructing our method. (i)(iii)(i)\Leftrightarrow(iii) makes it possible to use local optimization that leads to local extreme points where primal-dual bias πaiπ^ai\pi_{a}^{i}-\hat{\pi}_{a}^{i} is 00 to compute global optimal points of (6), and equivalently Nash equilibria.

We choose interior point method to perform the local optimization, where central path is a path in the solution space of perturbed KKT conditions (7) with the barrier parameter μai=𝟏aiμ\mu_{a}^{i}=\mathbf{1}_{a}^{i}\mu, the first iteration level is to update onto the central path by locally optimizating the barrier problem (6), the second iteration level is to update along the central path by reducing the scalar barrier parameter μ\mu, and the central path leads to a local extreme point of the orginal problem as μ\mu reduces to 00. In our case, we additionally intend to keep the update on a particular central path on which primal-dual bias πaiπ^ai\pi_{a}^{i}-\hat{\pi}_{a}^{i} is 00.

3.2 Unbiased barrier problem and unbiased KKT conditions

Note that Theorem 2 (iii) only applies to the μai=0\mu_{a}^{i}=0 case, but we have to study the μai>0\mu_{a}^{i}>0 case to find a way to keep the update on the central path where primal-dual bias is 00. Thus, we introduce two concepts called unbiased barrier problem and unbiased KKT conditions, and give Theorem 3 to extend our equivalent result about the μai=0\mu_{a}^{i}=0 case in Theorem 2 (iii) onto the subject of interior point method where μai>0\mu_{a}^{i}>0, so that we can construct a primal-dual unbiased interior point method. In addition, we use these two concepts to give an extension of the existence theorem of Nash equilibria.

Figure 1: Graph of unbiased barrier problem. This figure is plotted with a dynamic game where N=𝒜={0,1},𝒮={0}N=\mathcal{A}=\{0,1\},\mathcal{S}=\{0\}. The graph is based on the joint space of policy πai\pi_{a}^{i} and regret rair_{a}^{i}. The positive half of the two axes represent two action indices a{0,1}a\in\{0,1\} of πai\pi_{a}^{i}, the negative half of the two axes represent two action indices a{0,1}a\in\{0,1\} of rair_{a}^{i}, and the two subfigures represent two player indices i{0,1}i\in\{0,1\}. Plotting πai\pi_{a}^{i} and π^ai\hat{\pi}_{a}^{i} on the all positive orthant, rair_{a}^{i} and r^ai\hat{r}_{a}^{i} on the all negative orthant, and μai\mu_{a}^{i} between positive half and negative half of the axes as hyperbolas, π^airai=μai\hat{\pi}_{a}^{i}\circ r_{a}^{i}=\mu_{a}^{i} and πair^ai=μai\pi_{a}^{i}\circ\hat{r}_{a}^{i}=\mu_{a}^{i} have rectangular shapes, and (πaiπ^ai,rair^ai)(\pi_{a}^{i}-\hat{\pi}_{a}^{i},r_{a}^{i}-\hat{r}_{a}^{i}) is the bias of two rectangles. dvidv^{i} is the direction rair_{a}^{i} can move with fixed πai\pi_{a}^{i} and within the constraint rai=viπAaiUAir_{a}^{i}=v^{i}-\pi_{Aa}^{i-}U_{A}^{i} of unbiased barrier problem (8). With rair_{a}^{i} moving in direction dvidv^{i} and the other two corners of the rectangle fixed on the hyperbolas, the figure illustrates how there is a unique viv^{i} to let π^ai\hat{\pi}_{a}^{i} satisfy 𝟏aπ^ai=𝟏i\mathbf{1}_{a}\hat{\pi}_{a}^{i}=\mathbf{1}^{i} as stated in Theorem 4 (i), and the right subfigure shows a case where it is satisfied.
Figure 2: Graph of unbiased KKT conditions. This figure is plotted with a dynamic game where N=𝒮=𝒜={0,1}N=\mathcal{S}=\mathcal{A}=\{0,1\}. The graph is based on the policy space, where the two axes represent two player indices i{0,1}i\in\{0,1\} of πasi\pi_{a}^{si}, the two subfigures represent two state indices s{0,1}s\in\{0,1\} of πasi\pi_{a}^{si}, and only one of the two action indices a=0a=0 is needed to represent πasi\pi_{a}^{si} since πasi\pi_{a}^{si} sums to 11 over action indices. π^ai=M(μai)(πai)\hat{\pi}_{a}^{i}=M(\mu_{a}^{i})(\pi_{a}^{i-}) is a set of hypersurfaces indexed by iNi\in N and induced by the Brouwer function M(μai)M(\mu_{a}^{i}) for a given μai\mu_{a}^{i}, πaiπ^ai\pi_{a}^{i}-\hat{\pi}_{a}^{i} shows the mapping of π^ai=M(μai)(πai)\hat{\pi}_{a}^{i}=M(\mu_{a}^{i})(\pi_{a}^{i}), and the intersections of the hypersurfaces are fixed points of M(μai)M(\mu_{a}^{i}). There is at least one intersection of the hypersurfaces according to Theorem 4 (iii), and there are almost always an odd number of intersections according to Theorem 7 (ii), as extensions of the existence and oddness theorems of Nash equilibria. Differential (dπaj/πaj)/(dμa′′k/μa′′k)(d\pi_{a^{\prime}}^{j}/\pi_{a^{\prime}}^{j})/(d\mu_{a^{\prime\prime}}^{k}/\mu_{a^{\prime\prime}}^{k}) illustrates that a intersection πai\pi_{a}^{i} moves with the ii-th hypersurface as μai\mu_{a}^{i} varies on index ii, since the ii-th hypersurface is only relevant to μai\mu_{a}^{i} on index ii. The right subfigure shows a singular point in Definition 10, where the differential grows infinite large.
Definition 7 (Unbiased barrier problem).

An unbiased barrier problem is the optimization problem

min(πai,rai,vi)\displaystyle\min_{(\pi_{a}^{i},r_{a}^{i},v^{i})} (πaiπ^ai)(rair^ai)\displaystyle\left(\pi_{a}^{i}-\hat{\pi}_{a}^{i}\right)\left(r_{a}^{i}-\hat{r}_{a}^{i}\right) (8)
s.t.\displaystyle\textrm{s.t.} raivi+πAaiUAi=0\displaystyle r_{a}^{i}-v^{i}+\pi_{Aa}^{i-}U_{A}^{i}=0
𝟏aπai𝟏i=0\displaystyle\mathbf{1}_{a}\pi_{a}^{i}-\mathbf{1}^{i}=0

parameterized by π^ai\hat{\pi}_{a}^{i} and r^ai\hat{r}_{a}^{i}, and π^ai=μai/rai\hat{\pi}_{a}^{i}=\mu_{a}^{i}/r_{a}^{i} and r^ai=μai/πai\hat{r}_{a}^{i}=\mu_{a}^{i}/\pi_{a}^{i}, which are called dual policy and dual regret respectively, and the tuple (πaiπ^ai,rair^ai)(\pi_{a}^{i}-\hat{\pi}_{a}^{i},r_{a}^{i}-\hat{r}_{a}^{i}) is called primal-dual bias.

Definition 8 (Unbiased KKT conditions).

Unbiased KKT conditions are simultaneous equations

[π^airaiμairaivi+πAaiUAi𝟏aπ^ai𝟏i]=0,\begin{bmatrix}\hat{\pi}_{a}^{i}\circ r_{a}^{i}-\mu_{a}^{i}\\ r_{a}^{i}-v^{i}+\pi_{Aa}^{i-}U_{A}^{i}\\ \mathbf{1}_{a}\hat{\pi}_{a}^{i}-\mathbf{1}^{i}\end{bmatrix}=0, (9a)
πai=π^ai.\pi_{a}^{i}=\hat{\pi}_{a}^{i}. (9b)
Definition 9 (Brouwer function).

Brouwer function is the family of maps M:{μai|μai0}(𝒫𝒫)M:\{\mu_{a}^{i}|\mu_{a}^{i}\geq 0\}\to(\mathcal{P}\to\mathcal{P}) parameterized by μai\mu_{a}^{i} such that M(μai)(πai)=π^aiM(\mu_{a}^{i})(\pi_{a}^{i})=\hat{\pi}_{a}^{i} satisfies equation (9a).

Theorem 3.

Given μai>0\mu_{a}^{i}>0, for the tuple (πai,rai,vi)(\pi_{a}^{i},r_{a}^{i},v^{i}), the following properties satisfy (i)(ii)(iii)(πai=π^ai(iv))(i)\Leftrightarrow(ii)\Leftrightarrow(iii)\Leftrightarrow(\pi_{a}^{i}=\hat{\pi}_{a}^{i}\wedge(iv)), and also satisfy (iv)(v)(vi)(iv)\Leftrightarrow(v)\Leftrightarrow(vi).

  1. (i)

    Being a fixed point of Brouwer function π^ai=M(μai)(πai)\hat{\pi}_{a}^{i}=M(\mu_{a}^{i})(\pi_{a}^{i}).

  2. (ii)

    Being a global optimal point of unbiased barrier problem (8).

  3. (iii)

    Being a solution of unbiased KKT conditions (9).

  4. (iv)

    Being a solution of perturbed KKT conditions (7) for some (λ¯ai,λ~i,π^ai,r^ai)(\bar{\lambda}_{a}^{i},\tilde{\lambda}^{i},\hat{\pi}_{a}^{i},\hat{r}_{a}^{i}).

  5. (v)

    Being a KKT point of unbiased barrier problem (8).

  6. (vi)

    Being a local extreme point of barrier problem (6).

In particular, πai\pi_{a}^{i} is a Nash equilibrium if and only if (πai,𝟎ai)(\pi_{a}^{i},\mathbf{0}_{a}^{i}) is a solution of unbiased KKT conditions (9).

The Brouwer function connects unbiased barrier problem and unbiased KKT conditions. The unbiased KKT conditions derive the Brouwer function mapping primal policies to dual policies, such that the fixed points of the Brouwer function are solutions of the unbiased KKT conditions. The unbiased barrier problem depicts the approximation of fixed points of the Brouwer function, such that the fixed points are the global optimal points, or zero points, of the unbiased barrier problem.

There are two equivalence formulas in Theorem 3. The first one (i)(ii)(iii)((iv)πai=π^ai)(i)\Leftrightarrow(ii)\Leftrightarrow(iii)\Leftrightarrow((iv)\wedge\pi_{a}^{i}=\hat{\pi}_{a}^{i}) establishs the equivalence between the unbiased barrier problem, Brouwer function, unbiased KKT conditions, and the μai>0\mu_{a}^{i}>0 case in Theorem 2 (iii), allowing us the construct a primal-dual unbiased interior point method. Actually, we only need the first formula to make subsequent constructions, while the second formula (iii)(iv)(v)(iii)\Leftrightarrow(iv)\Leftrightarrow(v) only illustrates the connection between our method and interior point method, that is, a path that consists of solutions of the unbiased KKT conditions really is a central path in interior point methods on which the primal-dual bias is 00, ignoring the difference that the barrier parameter in our method is actually a vector instead of a scalar.

Theorem 4.

The following properties about unbiased barrier problem (8) and unbiased KKT conditions (9) hold.

  1. (i)

    For any πai\pi_{a}^{i} and μai\mu_{a}^{i}, there exists a unique viv^{i} that satisfies equation (9a).

  2. (ii)

    If 𝟏aπ^ai𝟏i=0\mathbf{1}_{a}\hat{\pi}_{a}^{i}-\mathbf{1}^{i}=0, then the projected gradient of (8) satisfies

    d((πaiπ^ai)(rair^ai))=(πaiπ^ai)(Diag(rai)πAaaijUAiπaj)(dπaj/πaj).d\left(\left(\pi_{a}^{i}-\hat{\pi}_{a}^{i}\right)\left(r_{a}^{i}-\hat{r}_{a}^{i}\right)\right)=\left(\pi_{a}^{i}-\hat{\pi}_{a}^{i}\right)\left({\rm Diag}(r_{a}^{i})-\pi_{Aaa^{\prime}}^{ij-}U_{A}^{i}\circ\pi_{a^{\prime}}^{j}\right)\left(d\pi_{a^{\prime}}^{j}/\pi_{a^{\prime}}^{j}\right). (10)
  3. (iii)

    (Existence theorem) For every μai\mu_{a}^{i}, there is at least one solution of (9).

Theorem 4 (i) shows two facts. First, (i) shows that there is a unique viv^{i} to let dual policy π^ai\hat{\pi}_{a}^{i} satisfy constraint 𝟏aπai=𝟏i\mathbf{1}_{a}\pi_{a}^{i}=\mathbf{1}^{i}. As a consequence, (ii) shows that when 𝟏aπ^ai=𝟏i\mathbf{1}_{a}\hat{\pi}_{a}^{i}=\mathbf{1}^{i}, πaiπ^ai\pi_{a}^{i}-\hat{\pi}_{a}^{i} and dvidv^{i} are orthogonal, and the projected gradient of unbiased barrier problem (8) has the form of an analytical expression as equation (10) shows. Second, (i) shows that for every policy πai\pi_{a}^{i}, there is a unique dual policy π^ai\hat{\pi}_{a}^{i} that satisfies (9a). As a consequence, the Brouwer function π^ai=M(μai)(πai)\hat{\pi}_{a}^{i}=M(\mu_{a}^{i})(\pi_{a}^{i}) is indeed a map, then by Brouwer’s fixed point theorem, (iii) asserts the existence of a solution of unbiased KKT conditions (9) for every μai\mu_{a}^{i}, as an extension of the existence of Nash equilibria[15].

Note that equation (10) specifies the gradient with respect to lnπai\ln\pi_{a}^{i}, and it needs to be projected orthogonally to the hyperplane of 𝟏aπai=𝟏i\mathbf{1}_{a}\pi_{a}^{i}=\mathbf{1}^{i}. However, we use πai=exp(σai)/(𝟏aexp(σai))\pi_{a}^{i}=\exp(\sigma_{a}^{i})/(\mathbf{1}_{a}\exp(\sigma_{a}^{i})) as the representation of policy in our experiments, and the gradient with respect to σai\sigma_{a}^{i} is pga′′j{\rm pg}_{a^{\prime\prime}}^{j} in the following equation, which naturally satisfies constraint 𝟏aπai=𝟏i\mathbf{1}_{a}\pi_{a}^{i}=\mathbf{1}^{i} without projection. In general, the gradient may be different for different representation of πai\pi_{a}^{i}, and it generally needs to be projected.

pga′′j:=(πaiπ^ai)(Diag(rai)πAaaijUAiπaj)(Iaa′′𝟏aπa′′j){\rm pg}_{a^{\prime\prime}}^{j}:=\left(\pi_{a}^{i}-\hat{\pi}_{a}^{i}\right)\left({\rm Diag}(r_{a}^{i})-\pi_{Aaa^{\prime}}^{ij-}U_{A}^{i}\circ\pi_{a^{\prime}}^{j}\right)\left(I_{a^{\prime}a^{\prime\prime}}-\mathbf{1}_{a^{\prime}}\pi_{a^{\prime\prime}}^{j}\right) (11)

In summary, we’ve transformed the interior point method into a primal-dual unbiased interior point method, where (primal-dual) unbiased central path is a path in the solution space of unbiased KKT conditions (9), the first iteration level is to update onto the unbiased central path by projected gradient descent (10), the second iteration level is to update along the unbiased central path by reducing barrier parameter μai\mu_{a}^{i}, and the unbiased central path leads to a Nash equilibrium as μai\mu_{a}^{i} reduces to 00.

However, there are three assumptions for the primal-dual unbiased interior point method to work. Starting point: the iteration has to start from a point that is sufficiently close to a known point on the unbiased central path. Differentiability: in the second iteration level, the policy πai\pi_{a}^{i} has to move an infinitesimal step along the unbiased central path with an infinitesimal reduction of the barrier parameter μai\mu_{a}^{i}, so that the first iteration level can update back onto the unbiased central path. Convexity: in the first iteration level, unbiased barrier problem (8) has to be strictly locally convex for projected gradient descent (10) to update onto the unbiased central path.

3.3 Equilibrium bundle

Settling the three assumptions is beyond the capacity of mathematical optimization, it turns out to be a geometric problem regarding the solution space of unbiased KKT conditions (9) where unbiased central paths lie. Thus, we first introduce a geometric object called equilibrium bundle to structure the solution space of unbiased KKT conditions (9), so that we can study the equilibrium bundle instead of the unbiased central path. Then we settle the three assumptions using the geometric properties of the equilibrium bundle, transforming our primal-dual unbiased interior point method into a line search method on the equilibrium bundle. Finally, we give the oddness theorem of the equilibrium bundle as an extension of that of Nash equilibria.

Definition 10 (Equilibrium bundle).

An equilibrium bundle of a static game GG is the tuple (E,𝒫,α:E𝒫)(E,\mathcal{P},\alpha:E\to\mathcal{P}) given by the following equations, where 𝒫=iNΔ(𝒜)\mathcal{P}=\prod_{i\in N}\Delta(\mathcal{A}) is the policy space.

E=πai𝒫{πai}×B(πai)\displaystyle E=\bigcup_{\pi_{a}^{i}\in\mathcal{P}}\{\pi_{a}^{i}\}\times B(\pi_{a}^{i}) (12)
B(πai)={viπai+μ¯ai(πai)|vi0}\displaystyle B(\pi_{a}^{i})=\left\{v^{i}\circ\pi_{a}^{i}+\bar{\mu}_{a}^{i}(\pi_{a}^{i})|v^{i}\geq 0\right\}
μ¯ai(πai)=πai(maxaπAaiUAiπAaiUAi)\displaystyle\bar{\mu}_{a}^{i}(\pi_{a}^{i})=\pi_{a}^{i}\circ\left(\max_{a}\pi_{Aa}^{i-}U_{A}^{i}-\pi_{Aa}^{i-}U_{A}^{i}\right)
α((πai,μai))=πai\displaystyle\alpha\left((\pi_{a}^{i},\mu_{a}^{i})\right)=\pi_{a}^{i}

The map μ¯ai:𝒫{μai|minaiμai=𝟎i}\bar{\mu}_{a}^{i}:\mathcal{P}\to\{\mu_{a}^{i}|\min_{a}^{i}\mu_{a}^{i}=\mathbf{0}^{i}\} is called the canonical section of the equilibrium bundle. The point where C(j,a)l(i,a)m{\rm C}_{(j,a^{\prime})\cup l}^{(i,a)\cup m} is singular is called a singular point of it, where C(j,a)l(i,a)m{\rm C}_{(j,a^{\prime})\cup l}^{(i,a)\cup m} is given by equation (13), .

Theorem 5.

Let (E,𝒫,α:E𝒫)(E,\mathcal{P},\alpha:E\to\mathcal{P}) be the equilibrium bundle of static game GG, then the following statements hold.

  1. (i)

    (πai,μai)E(\pi_{a}^{i},\mu_{a}^{i})\in E if and only if (πai,μai)(\pi_{a}^{i},\mu_{a}^{i}) is a solution of unbiased KKT conditions (9).

  2. (ii)

    Given πai\pi_{a}^{i}, then μaiB(πai)\mu_{a}^{i}\in B(\pi_{a}^{i}) if and only if (πai,μai)(\pi_{a}^{i},\mu_{a}^{i}) is a solution of unbiased KKT conditions (9).

  3. (iii)

    πai\pi_{a}^{i} is a Nash equilibrium if and only if the canonical section μ¯ai(πai)=0\bar{\mu}_{a}^{i}(\pi_{a}^{i})=0.

Definition 10 and Theorem 5 show the relation between the equilibrium bundle, the solution space of unbiased KKT conditions (9), and the joint space 𝒫×{μai|μai0}\mathcal{P}\times\{\mu_{a}^{i}|\mu_{a}^{i}\geq 0\} of policy and barrier parameter. First, the equilibrium bundle is the solution space of unbiased KKT conditions (9), and a fiber B(πai)B(\pi_{a}^{i}) is the solution subspace relating to a given πai\pi_{a}^{i}. Second, B(πai)B(\pi_{a}^{i}) is the intersection between {μai|μai0}\{\mu_{a}^{i}|\mu_{a}^{i}\geq 0\} and a |N|\left\lvert N\right\rvert-dimensional affine space spanned by viv^{i}, and the union of all the B(πai)B(\pi_{a}^{i}) is exactly {μai|μai0}\{\mu_{a}^{i}|\mu_{a}^{i}\geq 0\} by the existence theorem. Third, the canonical section μ¯ai(πai)\bar{\mu}_{a}^{i}(\pi_{a}^{i}) is the least element in B(πai)B(\pi_{a}^{i}) such that for any μaiB(πai)\mu_{a}^{i}\in B(\pi_{a}^{i}) there is μaiμ¯ai(πai)\mu_{a}^{i}\geq\bar{\mu}_{a}^{i}(\pi_{a}^{i}), and μ¯ai(πai)\bar{\mu}_{a}^{i}(\pi_{a}^{i}) is on the boundary of {μai|μai0}\{\mu_{a}^{i}|\mu_{a}^{i}\geq 0\}. Finally, Theorem 5 (iii) shows that Nash equilibria are exactly the zero points of the canonical section μ¯ai\bar{\mu}_{a}^{i}.

Theorem 5 (iii) has two implications. First, unlike the primal-dual unbiased interior point method, μai\mu_{a}^{i} does not have to decrease to 00 to reach a Nash equilibrium, instead, μai\mu_{a}^{i} can be any value on the fiber as long as the canonical section μ¯ai(πai)\bar{\mu}_{a}^{i}(\pi_{a}^{i}) decreases to 00. Second, the canonical section μ¯ai(πai)\bar{\mu}_{a}^{i}(\pi_{a}^{i}) depicts the global distribution of Nash equilibria, which can be used to search the policy space globally for the entire set of Nash equilibria.

In summary, the equilibrium bundle is exactly the structured solution space of unbiased KKT conditions (9) where the unbiased central paths lie, making it possible to leverage the geometric properties of the equilibrium bundle to study the three assumptions left to settle in the primal-dual unbiased interior point method, which gives the following theorem.

C(j,a)l(i,a)m:=[H(j,a)(i,a)B^l(i,a)Bˇ(j,a)m𝟎lm]:=[Diag(rai)(j,a)(i,a)(πAaaijUAiπaj)(j,a)(i,a)(Iil𝟏a)l(i,a)π(j,a)(Ijm𝟏a)(j,a)m𝟎lm]{\rm C}_{(j,a^{\prime})\cup l}^{(i,a)\cup m}:=\begin{bmatrix}H_{(j,a^{\prime})}^{(i,a)}&\hat{B}^{(i,a)}_{l}\\ \check{B}_{(j,a^{\prime})}^{m}&\mathbf{0}_{l}^{m}\end{bmatrix}:=\begin{bmatrix}{\rm Diag}\left(r_{a}^{i}\right)_{(j,a^{\prime})}^{(i,a)}-\left(\pi_{Aaa^{\prime}}^{ij-}U_{A}^{i}\circ\pi_{a^{\prime}}^{j}\right)_{(j,a^{\prime})}^{(i,a)}&\left(I^{il}\mathbf{1}_{a}\right)_{l}^{(i,a)}\\ \pi_{(j,a^{\prime})}\circ\left(I^{jm}\mathbf{1}_{a^{\prime}}\right)_{(j,a^{\prime})}^{m}&\mathbf{0}_{l}^{m}\end{bmatrix} (13)
Theorem 6.

The following properties about equilibrium bundle EE hold.

  1. (i)

    For any μ^ai>0\hat{\mu}_{a}^{i}>0, the algebraic curve AC={(πai,μ^aiμ)E|μ>0}{\rm AC}=\{(\pi_{a}^{i},\hat{\mu}_{a}^{i}\mu^{\prime})\in E|\mu^{\prime}>0\} satisfies

    limμ+πai=μ^ai𝟏aμ^ai.\lim_{\mu^{\prime}\to+\infty}\pi_{a}^{i}=\frac{\hat{\mu}_{a}^{i}}{\mathbf{1}_{a}\hat{\mu}_{a}^{i}}.
  2. (ii)

    The differential (dπaj/πaj)/(dμa′′k/μa′′k)(d\pi_{a^{\prime}}^{j}/\pi_{a^{\prime}}^{j})/(d\mu_{a^{\prime\prime}}^{k}/\mu_{a^{\prime\prime}}^{k}) at (πai,μai)E(\pi_{a}^{i},\mu_{a}^{i})\in E of equilibrium bundle EE satisfies

    [H(j,a)(i,a)B^l(i,a)Bˇ(j,a)m𝟎lm][(μa′′kdπajπajdμa′′k)(k,a′′)(j,a)(μa′′kdvldμa′′k)(k,a′′)l]=[Diag(rai)(k,a′′)(i,a)𝟎(k,a′′)m].\begin{bmatrix}H_{(j,a^{\prime})}^{(i,a)}&\hat{B}^{(i,a)}_{l}\\ \check{B}_{(j,a^{\prime})}^{m}&\mathbf{0}_{l}^{m}\end{bmatrix}\begin{bmatrix}\left(\frac{\mu_{a^{\prime\prime}}^{k}d\pi_{a^{\prime}}^{j}}{\pi_{a^{\prime}}^{j}d\mu_{a^{\prime\prime}}^{k}}\right)_{(k,a^{\prime\prime})}^{(j,a^{\prime})}\\ \left(\frac{\mu_{a^{\prime\prime}}^{k}dv^{l}}{d\mu_{a^{\prime\prime}}^{k}}\right)_{(k,a^{\prime\prime})}^{l}\end{bmatrix}=\begin{bmatrix}{\rm Diag}\left(r_{a}^{i}\right)_{(k,a^{\prime\prime})}^{(i,a)}\\ \mathbf{0}_{(k,a^{\prime\prime})}^{m}\end{bmatrix}. (14)

    It follows that the equilibrium bundle is differentiable at (πai,μai)E(\pi_{a}^{i},\mu_{a}^{i})\in E if and only if C(j,a)l(i,a)m{\rm C}_{(j,a^{\prime})\cup l}^{(i,a)\cup m} is non-singular.

  3. (iii)

    The differential of unbiased barrier problem (8) satisfies

    [(πaiπ^ai)(i,a)𝟎m][H(j,a)(i,a)B^l(i,a)Bˇ(j,a)m𝟎lm][(dπaj/πaj)(j,a)dvl].\begin{bmatrix}\left(\pi_{a}^{i}-\hat{\pi}_{a}^{i}\right)^{(i,a)}&\mathbf{0}^{m}\end{bmatrix}\begin{bmatrix}H_{(j,a^{\prime})}^{(i,a)}&\hat{B}^{(i,a)}_{l}\\ \check{B}_{(j,a^{\prime})}^{m}&\mathbf{0}_{l}^{m}\end{bmatrix}\begin{bmatrix}\left(d\pi_{a^{\prime}}^{j}/\pi_{a^{\prime}}^{j}\right)^{(j,a^{\prime})}\\ dv^{l}\end{bmatrix}. (15)

    It follows that unbiased barrier problem (8) is locally strictly convex at (πai,μai)E(\pi_{a}^{i},\mu_{a}^{i})\in E if and only if C(j,a)l(i,a)m{\rm C}_{(j,a^{\prime})\cup l}^{(i,a)\cup m} is non-singular.

  4. (iv)

    For any πai\pi_{a}^{i}, there exists μˇai\check{\mu}_{a}^{i} on its fiber B(πai)B(\pi_{a}^{i}) such that for every μai>μˇai\mu_{a}^{i}>\check{\mu}_{a}^{i}, C(j,a)l(i,a)m{\rm C}_{(j,a^{\prime})\cup l}^{(i,a)\cup m} is non-singular on (πai,μai)(\pi_{a}^{i},\mu_{a}^{i}).

Theorem 6 settles all the three assumptions with the context transformed from the unbiased central path to the equilibrium bundle. Starting point: (i) shows that we can choose any policy as the starting policy πa,0i\pi_{a,0}^{i} simply by setting μa,0i=μπa,0i\mu_{a,0}^{i}=\mu^{\prime}\pi_{a,0}^{i}, and then (πa,0i,μa,0i)(\pi_{a,0}^{i},\mu_{a,0}^{i}) is sufficiently close to the equilibrium bundle when μ\mu^{\prime} is sufficiently large. Differentiability: (ii) shows that the equilibrium bundle is differentiable as long as the coefficient matrix C(j,a)l(i,a)m{\rm C}_{(j,a^{\prime})\cup l}^{(i,a)\cup m} is non-singular according to the implicit function theorem, and the differential (dπaj/πaj)/(dμa′′k/μa′′k)(d\pi_{a^{\prime}}^{j}/\pi_{a^{\prime}}^{j})/(d\mu_{a^{\prime\prime}}^{k}/\mu_{a^{\prime\prime}}^{k}) points out the direction to update along the equilibrium bundle as μai\mu_{a}^{i} decreases. Convexity: (iii) shows that unbiased barrier problem (8) is strictly locally convex as long as the coefficient matrix C(j,a)l(i,a)m{\rm C}_{(j,a^{\prime})\cup l}^{(i,a)\cup m} is non-singular since the only zero gradient point in the neighborhood is where πai=π^ai\pi_{a}^{i}=\hat{\pi}_{a}^{i}. Finally, (iv) shows that the point where C(j,a)l(i,a)m{\rm C}_{(j,a^{\prime})\cup l}^{(i,a)\cup m} is non-singular can always be easily found.

A point where C(j,a)l(i,a)m{\rm C}_{(j,a^{\prime})\cup l}^{(i,a)\cup m} is singular is a singular point of the equilibrium bundle as defined in Definition 10. Theorem 6 (ii) and (iii) and the experiments show that singular points may block the iteration, and thus they must be avoided. (iv) shows that this is always possible simply by adding βiπai\beta^{i}\circ\pi_{a}^{i} to μai\mu_{a}^{i} for a sufficiently large βi\beta^{i}. Normally, it is harmless to pick any βi\beta^{i} to perform the addition at any time, but note that the differential (dπaj/πaj)/(dμa′′k/μa′′k)(d\pi_{a^{\prime}}^{j}/\pi_{a^{\prime}}^{j})/(d\mu_{a^{\prime\prime}}^{k}/\mu_{a^{\prime\prime}}^{k}) approaches identity matrix II as μai\mu_{a}^{i}\to\infty. In other words, on a point (πai,μai)E(\pi_{a}^{i},\mu_{a}^{i})\in E where μai\mu_{a}^{i} is too large, the equilibrium bundle is flat and the convergence is slow. Considering all the above, we give the canonical section descent (16) to update μai\mu_{a}^{i}, where ηi[0,1)i\eta^{i}\in[0,1)^{i} is the step length that is small enough, and βiπai\beta^{i}\circ\pi_{a}^{i} is the term for singular point avoidance.

μa,t+1i=(1ηti)μa,ti+βtiπa,ti\mu_{a,t+1}^{i}=(1-\eta_{t}^{i})\circ\mu_{a,t}^{i}+\beta_{t}^{i}\circ\pi_{a,t}^{i} (16)

In summary, we’ve transformed the primal-dual unbiased interior point method into a line search on the equilibrium bundle, where equilibrium bundle is the structured solution space of unbiased KKT conditions (9), the first iteration level is to update onto the equilibrium bundle by projected gradient descent (10), the second iteration level is to hop across the fibers of the equilibrium bundle by canonical section descent (16) and differential (dπaj/πaj)/(dμa′′k/μa′′k)(d\pi_{a^{\prime}}^{j}/\pi_{a^{\prime}}^{j})/(d\mu_{a^{\prime\prime}}^{k}/\mu_{a^{\prime\prime}}^{k}), and the line search leads to a Nash equilibrium as the canonical section μ¯ai(πai)\bar{\mu}_{a}^{i}(\pi_{a}^{i}) reduces to 00. There is also a method to search globally for the entire set of Nash equilibria using the canonical section. Specifically, we can sample policies in the policy space and calculate the canonical sections μ¯ai(πai)\bar{\mu}_{a}^{i}(\pi_{a}^{i}) on them, then we can set the samples where μ¯ai(πai)\bar{\mu}_{a}^{i}(\pi_{a}^{i}) are close to 00 as the starting points and approximate Nash equilibria near them. The method is given by Algorithm 1 as a single-state degeneration.

Theorem 7.

The following statements about unbiased KKT conditions (9) hold.

  1. (i)

    Unbiased KKT conditions (9) is analytic with respect to both (πai,vi)(\pi_{a}^{i},v^{i}) and μai\mu_{a}^{i}.

  2. (ii)

    (Oddness theorem) For every μai\mu_{a}^{i}, there are almost always an odd number of solutions of unbiased KKT conditions (9).

Analytic functions are functions that can be locally expand to a convergent power series, and being analytic is a property even stronger than being infinitely differentiable. Theorem 7 (i) is based on the fact that unbiased KKT conditions (9) derive a polynomial function that maps (πai,vi)(\pi_{a}^{i},v^{i}) to μai\mu_{a}^{i}. First, polynomial functions are analytic on their whole domain. Second, the function with respect to μai\mu_{a}^{i} is the inverse of a polynomial function that also satisfies the Newton-Puiseux theorem, such that it is analytic in the neighborhood of every point on it. Furthermore, the singular points of the equilibrium bundle are all multiple roots of this polynomial function, which are called critical points in terms of the polynomial, or algebraic branch points in terms of the inverse function of the polynomial.

Theorem 7 (ii) gives an extension of the oddness theorem of Nash equilibria[14], and it is implied by Newton-Puiseux theorem and that almost all points given by a polynomial equation are non-singular. For any algebraic curve AC={(πai,μ^aiμ)E|μ>μ′′}{\rm AC}=\{(\pi_{a}^{i},\hat{\mu}_{a}^{i}\mu^{\prime})\in E|\mu^{\prime}>\mu^{\prime\prime}\} given by μ^ai>0\hat{\mu}_{a}^{i}>0 and μ′′0\mu^{\prime\prime}\geq 0, denoting EP{\rm EP} as the set of points on AC{\rm AC} as μμ′′\mu^{\prime}\to\mu^{\prime\prime}. First, there is exactly one point in EP{\rm EP} that is connected by a branch of AC{\rm AC} to the unique starting point of AC{\rm AC} stated in Theorem 6 (i) as μ\mu^{\prime}\to\infty, and all the other points in EP{\rm EP} are connected in pairs by the rest branches of AC{\rm AC}, and thus |EP||{\rm EP}| is odd. Second, EP{\rm EP} equals to {(πai,μ^aiμ′′)E}\{(\pi_{a}^{i},\hat{\mu}_{a}^{i}\mu^{\prime\prime})\in E\} if every point in EP{\rm EP} is non-singular, and this is almost always the case, where {(πai,μ^aiμ′′)E}\{(\pi_{a}^{i},\hat{\mu}_{a}^{i}\mu^{\prime\prime})\in E\} is the entire set of solutions of (9) at μ^aiμ′′\hat{\mu}_{a}^{i}\mu^{\prime\prime},

4 Dynamic programming on dynamic games

4.1 Policy cone and best response cone

In this section, we deal with the subproblem with respect to VsiV_{s}^{i} of problem (3), which is the dynamic programming problem (17). Solving dynamic programming problem (17) is equivalently making the convergence point of dynamic programming to lie within the constraint of problem (17). We first introduce two dynamic programming operators, along with the corresponding policy cone and best response cone, such that the convergence point of the dynamic programming operator is the apex of the policy cone, and the constraint region of problem (17) is the best response cone. Then we give Theorem 9 about the iterative properties of the dynamic programming operator within the policy cone, and Theorem 10 about the equivalent conditions for the apex of the policy cone to be in the best response cone. These two theorems are then used in the next subsection to construct the algorithm solving dynamic programming problem (17).

minVsi\displaystyle\min_{V_{s}^{i}} VsiπAsi(uAsi+γTsAsVsi)\displaystyle V_{s}^{i}-\pi_{A}^{si}(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i}) (17)
s.t.\displaystyle\textrm{s.t.} VsiπAasi(uAsi+γTsAsVsi)\displaystyle V_{s}^{i}\geq\pi_{Aa}^{si-}(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i})

We define two dynamic programming operators Dπ:𝒱𝒱D_{\pi}:\mathcal{V}\to\mathcal{V} and D^π:𝒱𝒱\hat{D}_{\pi}:\mathcal{V}\to\mathcal{V} based on the objective and constraint of problem (17), both of which are maps parameterized by policy πasi\pi_{a}^{si} such that

Dπ(Vsi)=πAs(uAsi+γTsAsVsi),D^π(Vsi)=maxaπAasi(uAsi+γTsAsVsi).D_{\pi}(V_{s}^{i})=\pi_{A}^{s}(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i}),\quad\hat{D}_{\pi}(V_{s}^{i})=\max_{a}\pi_{Aa}^{si-}(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i}).

In single-player case, value iteration, which uses the Bellman operator maxa(uas+γTsasVs)\max_{a}(u_{a}^{s}+\gamma T_{s^{\prime}a}^{s}V_{s^{\prime}}) to iterate value function VsV_{s}, is a polynomial-time exact algorithm for computing optimal policies of MDPs. But the similar operator generally does not converge in the multi-player dynamic games, which is explained in the next subsection. The convergence of Bellman operator is contraction mapping convergence, but it is possible to settle for monotone convergence using DπD_{\pi} and D^π\hat{D}_{\pi} through the policy cone and the best response cone we next define. Contraction mapping convergence can be considered as a convergence in every direction, and monotone convergence can be considered as a convergence in only a certain direction, and we later show that the direction is 𝟏s\mathbf{1}_{s}.

Figure 3: Graph of policy cone. This figure is plotted with a dynamic game where N=𝒮=𝒜={0,1}N=\mathcal{S}=\mathcal{A}=\{0,1\}. The graph is based on the value function space 𝒱\mathcal{V}, where the two axes represent two state indices s{0,1}s\in\{0,1\} of VsiV_{s}^{i}, and the two subfigures represent two player indices i{0,1}i\in\{0,1\} of VsiV_{s}^{i}. As Proposition 8 shows, CπC_{\pi} is a set of hyperplane-surrounded cone-shaped regions indexed by iNi\in N, with VπsiV_{\pi s}^{i} being its apexes, and with C^π\hat{C}_{\pi} contained in it. 𝟏s\mathbf{1}_{s} is the monotone convergence direction, which induces unique pairs (Yxsi,dxi)(Y_{xs}^{i},d_{x}^{i}) and (Y^xsi,d^xi)(\hat{Y}_{xs}^{i},\hat{d}_{x}^{i}), and satisfies that Vsi+mi𝟏sV_{s}^{i}+m^{i}\mathbf{1}_{s} lies in C^π\hat{C}_{\pi} for any VsiV_{s}^{i} and sufficiently large mim^{i}. Theorem 9 states that the residuals satisfy VsiDπ(Vsi)=(1γ)dsiV_{s}^{i}-D_{\pi}(V_{s}^{i})=(1-\gamma)d_{s}^{i} and VsiD^π(Vsi)=(1γ)d^siV_{s}^{i}-\hat{D}_{\pi}(V_{s}^{i})=(1-\gamma)\hat{d}_{s}^{i}. Theorem 10 states that πasi(x)\pi_{a}^{si}(x) is a Nash equilibrium if and only if the corresponding pair of YxsiY_{xs}^{i} and Y^xsi\hat{Y}_{xs}^{i} coincide, and πasi\pi_{a}^{si} is a perfect equilibrium if and only if VπsiV_{\pi s}^{i} lie in C^π\hat{C}_{\pi}, in which case YxsiY_{xs}^{i}, Y^xsi\hat{Y}_{xs}^{i}, and VπsiV_{\pi s}^{i} all coincide. Equation (23) shows that the relation between the canonical section and the two dynamic programming operators is 𝟏aμ¯asi(Vsi,πasi)=D^π(Vsi)Dπ(Vsi)\mathbf{1}_{a}\bar{\mu}_{a}^{si}(V_{s}^{i},\pi_{a}^{si})=\hat{D}_{\pi}(V_{s}^{i})-D_{\pi}(V_{s}^{i}).
Definition 11 (Policy cone and best response cone).

Let πasi\pi_{a}^{si} be a policy in dynamic game Γ\Gamma. A policy cone CπC_{\pi} and a best response cone C^π\hat{C}_{\pi} are regions in value function space 𝒱\mathcal{V} such that

Cπ={Vsi𝒱|VsiDπ(Vsi)},C^π={Vsi𝒱|VsiD^π(Vsi)}.C_{\pi}=\left\{V_{s}^{i}\in\mathcal{V}|V_{s}^{i}\geq D_{\pi}(V_{s}^{i})\right\},\quad\hat{C}_{\pi}=\left\{V_{s}^{i}\in\mathcal{V}|V_{s}^{i}\geq\hat{D}_{\pi}(V_{s}^{i})\right\}.
Proposition 8.

Let πasi\pi_{a}^{si} be a policy in dynamic game Γ\Gamma, and then the following properties hold.

  1. (i)

    There is a unique value function VπsiV_{\pi s}^{i} that satisfies

    Vπsi=Dπ(Vπsi).V_{\pi s}^{i}=D_{\pi}(V_{\pi s}^{i}). (18)

    In addition, VπsiCπV_{\pi s}^{i}\in C_{\pi}, and for any VsiCπV_{s}^{i}\in C_{\pi} there is VsiVπsiV_{s}^{i}\geq V_{\pi s}^{i}.

  2. (ii)

    For any Vsi𝒱V_{s}^{i}\in\mathcal{V} and x𝒮x\in\mathcal{S}, there exists a unique pair (Yxsi,dxi)𝒱×N(Y_{xs}^{i},d_{x}^{i})\in\mathcal{V}\times\mathbb{R}^{N}, as well as a unique pair (Y^xsi,d^xi)𝒱×N(\hat{Y}_{xs}^{i},\hat{d}_{x}^{i})\in\mathcal{V}\times\mathbb{R}^{N}, such that

    (YxsiDπ(Yxsi))(x)=0VsiYxsi=dxi𝟏s,\left(Y_{xs}^{i}-D_{\pi}(Y_{xs}^{i})\right)(x)=0\quad\wedge\quad V_{s}^{i}-Y_{xs}^{i}=d_{x}^{i}\mathbf{1}_{s}, (19a)
    (Y^xsiD^π(Y^xsi))(x)=0VsiY^xsi=d^xi𝟏s.\left(\hat{Y}_{xs}^{i}-\hat{D}_{\pi}(\hat{Y}_{xs}^{i})\right)(x)=0\quad\wedge\quad V_{s}^{i}-\hat{Y}_{xs}^{i}=\hat{d}_{x}^{i}\mathbf{1}_{s}. (19b)
  3. (iii)

    For any Vsi𝒱V_{s}^{i}\in\mathcal{V}, there exists an Mi>0M^{i}>0 such that for any mi>Mim^{i}>M^{i}, Vsi+mi𝟏sC^πCπV_{s}^{i}+m^{i}\mathbf{1}_{s}\in\hat{C}_{\pi}\subseteq C_{\pi}.

According to Definition 11 and Proposition 8 (i), policy cone CπC_{\pi} is a set of cone-shaped regions indexed by iNi\in N, each surrounded by |𝒮|\left\lvert\mathcal{S}\right\rvert hyperplanes in |𝒮|\left\lvert\mathcal{S}\right\rvert-dimensional value function space 𝒱\mathcal{V}, with VπsiV_{\pi s}^{i} being a set of their apexes, and best response cone C^π\hat{C}_{\pi} is a subset of policy cone CπC_{\pi} for every iNi\in N, with each subset being an intersect of |𝒜|\left\lvert\mathcal{A}\right\rvert cone-shaped regions. Proposition 8 (ii) and (iii) show that both bottoms of CπC_{\pi} and C^π\hat{C}_{\pi} expand towards infinity along 𝟏s\mathbf{1}_{s} such that Vsi+mi𝟏sV_{s}^{i}+m^{i}\mathbf{1}_{s} always lies in both of them for sufficiently large mim^{i}. And there is always a unique intersection YxsiY_{xs}^{i} between the line in direction 𝟏s\mathbf{1}_{s} passing through Vsi𝒱V_{s}^{i}\in\mathcal{V} and each hyperplane of CπC_{\pi} indexed by xx and ii, and the same goes for Y^xsi\hat{Y}_{xs}^{i} and C^π\hat{C}_{\pi}.

Theorem 9 (Iterative properties).

Let πasi\pi_{a}^{si} be a policy in dynamic game Γ\Gamma, and then the following properties of dynamic programming operator DπD_{\pi} hold.

  1. (i)

    VsiDπ(Vsi)V_{s}^{i}\geq D_{\pi}(V_{s}^{i}) if and only if VsiCπV_{s}^{i}\in C_{\pi}.

  2. (ii)

    For any VsiCπV_{s}^{i}\in C_{\pi}, Dπ(Vsi)CπD_{\pi}(V_{s}^{i})\in C_{\pi}.

  3. (iii)

    For any VsiCπV_{s}^{i}\in C_{\pi}, if Dπ(Vsi)=D^π(Vsi)D_{\pi}(V_{s}^{i})=\hat{D}_{\pi}(V_{s}^{i}), then Dπ(Vsi)C^πD_{\pi}(V_{s}^{i})\in\hat{C}_{\pi}.

  4. (iv)

    For any VsiCπV_{s}^{i}\in C_{\pi}, the residual

    VsiDπ(Vsi)=(1γ)dsi,V_{s}^{i}-D_{\pi}(V_{s}^{i})=(1-\gamma)d_{s}^{i}, (20a)
    VsiD^π(Vsi)=(1γ)d^si,V_{s}^{i}-\hat{D}_{\pi}(V_{s}^{i})=(1-\gamma)\hat{d}_{s}^{i}, (20b)

    where dsid_{s}^{i} and d^si\hat{d}_{s}^{i} are given by formula (19a) and (19b) respectively.

  5. (v)

    Let VsiV_{s}^{i} iterates by Vs,k+1i=Dπ(Vs,ki+mi𝟏s)V_{s,k+1}^{i}=D_{\pi}(V_{s,k}^{i}+m^{i}\mathbf{1}_{s}), where mi>0m^{i}>0 is a constant, and initial value function Vs,0iCπV_{s,0}^{i}\in C_{\pi}. Then

    limkVs,ki=Vπsi+γ1γmi𝟏slimk(Vs,kiDπ(Vs,ki))=γmi𝟏s.\lim_{k\to\infty}V_{s,k}^{i}=V_{\pi s}^{i}+\frac{\gamma}{1-\gamma}m^{i}\mathbf{1}_{s}\quad\wedge\quad\lim_{k\to\infty}\left(V_{s,k}^{i}-D_{\pi}(V_{s,k}^{i})\right)=\gamma m^{i}\mathbf{1}_{s}. (21)

Theorem 9 uses policy cone CπC_{\pi} and best response cone C^π\hat{C}_{\pi} to describe iterative properties of dynamic programming operator DπD_{\pi} for fixed policy πasi\pi_{a}^{si}. (i), (ii), and (iii) suggest that CπC_{\pi} is the monotonic and closed domain for DπD_{\pi}, and C^π\hat{C}_{\pi} is closed if πasi(x)\pi_{a}^{si}(x) is a Nash equilibrium for every state xx. That is, for any iteration starting from value function VsiV_{s}^{i} within CπC_{\pi}, the value function decreases monotonically as iterates and never leaves CπC_{\pi}, which means the iteration converges to the apex VπsiV_{\pi s}^{i} of CπC_{\pi} by the monotone convergence theorem. (iv) illustrates that iteration residual VsiDπ(Vsi)V_{s}^{i}-D_{\pi}(V_{s}^{i}) of DπD_{\pi} can be expressed by the distance dxid_{x}^{i} pairing with the unique intersection YxsiY_{xs}^{i} described in Proposition 8 (ii), where the set of distances dxid_{x}^{i} indexed by state xx is used as a single vector dsid_{s}^{i}, and the same goes for D^π\hat{D}_{\pi}, d^xi\hat{d}_{x}^{i}, and Y^xsi\hat{Y}_{xs}^{i}. In addition to value function VsiV_{s}^{i} iteratively converging to apex VπsiV_{\pi s}^{i}, (v) shows that if a scaled 𝟏s\mathbf{1}_{s} is added in every iteration, not only does VsiV_{s}^{i} converge to VπsiV_{\pi s}^{i} adding a scaled 𝟏s\mathbf{1}_{s}, but VsiDπ(Vsi)V_{s}^{i}-D_{\pi}(V_{s}^{i}) also converge to a scaled 𝟏s\mathbf{1}_{s}, indicating that 𝟏s\mathbf{1}_{s} is the direction of the monotone convergence of DπD_{\pi}.

Theorem 10 (Equilibrium conditions).

The following equivalent conditions of equilibrium hold.

  1. (i)

    πasi\pi_{a}^{si} is a perfect equilibrium if and only if VπsiC^πV_{\pi s}^{i}\in\hat{C}_{\pi}, and if and only if VπsiV_{\pi s}^{i} is the global optimal point of dynamic programming problem (17).

  2. (ii)

    Given value function VsiV_{s}^{i}, for any x𝒮x\in\mathcal{S}, πasi(x)\pi_{a}^{si}(x) is a Nash equilibrium of the static game with utility function (uAsi+γTsAsVsi)(x)(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i})(x) if and only if Yxsi=Y^xsiY_{xs}^{i}=\hat{Y}_{xs}^{i}, where YxsiY_{xs}^{i} and Y^xsi\hat{Y}_{xs}^{i} are given by formula (19a) and (19b) respectively.

Theorem 10 uses CπC_{\pi} and C^π\hat{C}_{\pi} to describe equivalent conditions of equilibria. (ii) shows that policy πasi(x)\pi_{a}^{si}(x) is a Nash equilibrium for state xx if and only if the unique intersects YxsiY_{xs}^{i} and Y^xsi\hat{Y}_{xs}^{i} coincide for state xx. (i) shows that policy πasi\pi_{a}^{si} is a perfect equilibrium if and only if the apex VπsiV_{\pi s}^{i} of CπC_{\pi} is in C^π\hat{C}_{\pi}. Note that when πasi\pi_{a}^{si} is a perfect equilibrium, YxsiY_{xs}^{i}, Y^xsi\hat{Y}_{xs}^{i}, and VπsiV_{\pi s}^{i} all coincide, which is exactly the definition of perfect equilibrium such that VπsiV_{\pi s}^{i} is the value function of πasi\pi_{a}^{si} and πasi(x)\pi_{a}^{si}(x) is a Nash equilibrium for every state xx. In addition, Theorem 10 also shows the relation between dynamic programming problem (17) and perfect equilibrium.

4.2 Iteration in policy cone

Theorem 9 shows that for fixed policy, the iteration of dynamic programming operator DπD_{\pi} in the policy cone converges monotonically to the apex, and Theorem 10 shows the equivalent condition for the apex of policy cone to be a perfect equilibrium value function. We next study the possibility for iterative methods constructed by DπD_{\pi} to converge to a perfect equilibrium value function. First, we give Proposition 11 to explain why single-player dynamic programming cannot be simply generalized to multi-player dynamic games, then we give Theorem 12 that asserts the sufficient and necessary condition for DπD_{\pi} to converge to a perfect equilibrium value function.

Proposition 11.

Let VsiV_{s}^{i} iterates by Vs,k+1i=D(Vs,ki):=Dπk(Vs,ki)V_{s,k+1}^{i}=D(V_{s,k}^{i}):=D_{\pi_{k}}(V_{s,k}^{i}), where πa,ksi\pi_{a,k}^{si} satisfies Dπk(Vs,ki)=D^πk(Vs,ki)D_{\pi_{k}}(V_{s,k}^{i})=\hat{D}_{\pi_{k}}(V_{s,k}^{i}). If Vs,0iCπ0V_{s,0}^{i}\in C_{\pi_{0}}, then the following statements satisfy (i)(ii)(iii)(iv)(i)\Rightarrow(ii)\Rightarrow(iii)\Leftrightarrow(iv).

  1. (i)

    VsiYsiD(Vsi)D(Ysi)V_{s}^{i}\leq Y_{s}^{i}\rightarrow D(V_{s}^{i})\leq D(Y_{s}^{i}) for every Vsi,YsiO(V^si)V_{s}^{i},Y_{s}^{i}\in O(\hat{V}_{s}^{i}), where O(V^si)O(\hat{V}_{s}^{i}) is a set such that Vs,kiO(V^si)V_{s,k}^{i}\in O(\hat{V}_{s}^{i}) for all kk.

  2. (ii)

    Vs,kiV_{s,k}^{i} converges to a perfect equilibrium value function by contraction mapping DD, and Vs,kiCπkV_{s,k}^{i}\in C_{\pi_{k}} for all kk.

  3. (iii)

    Vs,kiV_{s,k}^{i} monotonically converges to a perfect equilibrium value function.

  4. (iv)

    Vs,k+1iVs,kiD(Vs,k+1i)D(Vs,ki)V_{s,k+1}^{i}\leq V_{s,k}^{i}\rightarrow D(V_{s,k+1}^{i})\leq D(V_{s,k}^{i}) for all kk.

Using Theorem 9 (iii), it can be inferred that Proposition 11 (iv) implies Vs,k+1iC^πkVs,k+1iCπk+1V_{s,k+1}^{i}\in\hat{C}_{\pi_{k}}\rightarrow V_{s,k+1}^{i}\in C_{\pi_{k+1}}. It can be verified on the graph of policy cone that this implication formula generally does not hold, since πk\pi_{k} and πk+1\pi_{k+1} generally does not have a strong relation. Consequently, none of the four statements hold in dynamic games. In particular, neither does the first half of (ii) that operator DD is a contraction mapping hold on its own, since previous research already shows that operator DD fails to converge in dynamic games[22, 23]. However, as the single-player degeneration of operator DD, the Bellman operator DD in MDPs satisfies (i), which can be used to prove the first half of (ii) that Bellman operator DD is a contraction mapping. Furthermore, if there is also Vs,0iCπ0V_{s,0}^{i}\in C_{\pi_{0}} for Bellman operator DD, then all the four statements hold as Proposition 11 shows, where perfect equilibrium degenerates to optimal policy. In summary, Bellman operator DD can achieve both monotone convergence and contraction mapping convergence in single-player case, but can achieve neither of the convergence in multi-player case. Proposition 11 is not necessary to construct our iterative approximation method in this paper, however, it provides a certain perspective why the Bellman operator and value iteration cannot be simply generalized to dynamic games.

Then we construct an iteration of dynamic programming operator DπD_{\pi} that converges to a perfect equilibrium value function. Note that not only is VsiV_{s}^{i} bounded within CπC_{\pi} under the iteration of DπD_{\pi} for fixed πasi\pi_{a}^{si}, but the apex VπsiV_{\pi s}^{i} of CπC_{\pi} is also bounded with respect to the variable πasi\pi_{a}^{si}. This means that if Vs,kiCπkV_{s,k}^{i}\in C_{\pi_{k}} for all kk\in\mathbb{N} and Vs,k+1i=Dπk(Vs,ki)V_{s,k+1}^{i}=D_{\pi_{k}}(V_{s,k}^{i}), then {Vs,ki}k\{V_{s,k}^{i}\}_{k\in\mathbb{N}} still satisfies the monotone convergence property. This allows us to construct the cone interior convergence conditions. First, we add a large enough mki𝟏sm_{k}^{i}\mathbf{1}_{s} to Vs,kiV_{s,k}^{i} at every step to keep Vs,ki+mki𝟏sV_{s,k}^{i}+m_{k}^{i}\mathbf{1}_{s} in the policy cone CπkC_{\pi_{k}}, and let mkim_{k}^{i} converge to 00, so that monotone convergence property is maintained and Vs,kiV_{s,k}^{i} converges to the apex of CπkC_{\pi_{k}}. Second, the apex that Vs,kiV_{s,k}^{i} converges to has to be in the best response cone C^πk\hat{C}_{\pi_{k}} for the apex to be a perfect equilibrium value function, thus we further require Vs,ki+mki𝟏sV_{s,k}^{i}+m_{k}^{i}\mathbf{1}_{s} be in the best repsonse cone C^πk\hat{C}_{\pi_{k}}. Summarizing these gives us Theorem 12.

Theorem 12 (Cone interior convergence conditions).

Let VsiV_{s}^{i} iterates by

Vs,k+1i=Dπk(Vs,ki+mki𝟏s),V_{s,k+1}^{i}=D_{\pi_{k}}(V_{s,k}^{i}+m_{k}^{i}\mathbf{1}_{s}), (22)

where {πa,ksi}k\{\pi_{a,k}^{si}\}_{k\in\mathbb{N}} is a sequence of policies, and {mki}k\{m_{k}^{i}\}_{k\in\mathbb{N}} is a sequence sufficiently large such that Vs,ki+mki𝟏sC^πkV_{s,k}^{i}+m_{k}^{i}\mathbf{1}_{s}\in\hat{C}_{\pi_{k}} for all kk\in\mathbb{N}, which always exists. Then, Vs,kiV_{s,k}^{i} converges to a perfect equilibrium value function if and only if limkmki=0\lim_{k\to\infty}m_{k}^{i}=0.

Theorem 12 points out a dynamic programming method that iteratively converges to a perfect equilibrium sufficiently and necessarily, where mkim_{k}^{i} and πa,ksi\pi_{a,k}^{si} are required in each iteration step. First, for simplification, we let mkimim_{k}^{i}\equiv m^{i}, thus mim^{i} only needs to be large enough so that Vs,ki+mi𝟏sC^πkV_{s,k}^{i}+m^{i}\mathbf{1}_{s}\in\hat{C}_{\pi_{k}}, and Vs,kiV_{s,k}^{i} converges to the value function VπsiV_{\pi s}^{i} plus a scaled 𝟏s\mathbf{1}_{s} as stated in Theorem 9 (v). Second, we ensure that πa,ksi(x)\pi_{a,k}^{si}(x) converges to a Nash equilibrium for every state xx. Then we’ve transformed the problem of approximating a perfect equilibrium to the problem of approximating a set of Nash equilibria, which is solved in the last section.

5 FPTAS for perfect equilibria of dynamic games

5.1 Line search on the equilibrium bundle of dynamic games

In this section, we combine the two methods in the last two sections to obtain a hybrid iteration of dynamic programming and interior point method that solves the regret minimization problem (3) of dynamic games, and equivalently approximates any perfect equilibrium of any dynamic game. First, we add the state index ss back to the tensors in the static game case, and set the utility UAsi=uAsi+γTsAsVsiU_{A}^{si}=u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i}, then we have the following theorem.

Theorem 13.

Let μ¯asi(Vsi,πasi)\bar{\mu}_{a}^{si}(V_{s}^{i},\pi_{a}^{si}) be a family of canonical sections such that for each x𝒮x\in\mathcal{S}, μ¯asi(Vsi,πasi)(x)\bar{\mu}_{a}^{si}(V_{s}^{i},\pi_{a}^{si})(x) is the canonical section of the equilibrium bundle given by UAsi(x)U_{A}^{si}(x), where UAsi=uAsi+γTsAsVsiU_{A}^{si}=u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i}. Then there is

𝟏aμ¯asi(Vsi,πasi)=D^π(Vsi)Dπ(Vsi),\mathbf{1}_{a}\bar{\mu}_{a}^{si}(V_{s}^{i},\pi_{a}^{si})=\hat{D}_{\pi}(V_{s}^{i})-D_{\pi}(V_{s}^{i}), (23)

and the following statements are equivalent.

  1. (i)

    πasi\pi_{a}^{si} is a perfect equilibrium.

  2. (ii)

    μ¯asi(Vπsi,πasi)=0\bar{\mu}_{a}^{si}(V_{\pi s}^{i},\pi_{a}^{si})=0.

  3. (iii)

    D^π(Vπsi)=Dπ(Vπsi)\hat{D}_{\pi}(V_{\pi s}^{i})=D_{\pi}(V_{\pi s}^{i}).

  4. (iv)

    (πasi,Vπsi)(\pi_{a}^{si},V_{\pi s}^{i}) is a global optimal point of regret minimization problem (3) of dynamic games.

Theorem 13 summarizes the equilibrium conditions given by the last two sections. It first points out the connection between the canonical section and the two dynamic programming operators, and then shows the equivalent condition (ii) and (iii) of perfect equilibria based on this connection. (iv) combines the equivalent conditions about the global optimal point of the two subproblems of problem (3) given by Theorem 2 and Theorem 10 to obtain the equivalent condition about the global optimal point of problem (3).

Then, we combine the two methods in the last two sections to obtain a hybrid iteration, where VsiV_{s}^{i} iterates by dynamic programming (22), πasi\pi_{a}^{si} iterates by projected gradient (10), and μasi\mu_{a}^{si} iterates by canonical section descent (16). However, note that projected gradient can update back onto the equilibrium bundle only after an infinitesimal deviation, and there is a problem that VsiV_{s}^{i} moves more than an infinitesimal step in every iteration of the dynamic programming, except for the case where VsiV_{s}^{i} is nearly converged to VπsiV_{\pi s}^{i} plus a scaled 𝟏s\mathbf{1}_{s}. Thus second, we set UπAsi=uAsi+γTsAsVπsiU_{\pi A}^{si}=u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{\pi s^{\prime}}^{i} related to πasi\pi_{a}^{si}, which gives us the following results about dynamic games.

See 3 See 4

Theorem 14 (Existence and oddness theorems).

The following statements about unbiased KKT conditions (1) of dynamic games hold.

  1. (i)

    For every μasi\mu_{a}^{si}, there is at least one solution of (1).

  2. (ii)

    For every μasi\mu_{a}^{si}, there are almost always an odd number of solutions of (1).

There are three facts about unbiased KKT conditions (1) about dynamic games. First, it derives a Brouwer function π^asi=M(μasi)(πasi)\hat{\pi}_{a}^{si}=M(\mu_{a}^{si})(\pi_{a}^{si}), such that the Brouwer’s fixed point theorem applies, leading to the existence theorem. Second, it derives a polynomial function from πasi\pi_{a}^{si} to μasi\mu_{a}^{si} by multiplying the non-zero determinant |IssγTπss||I_{s^{\prime}}^{s}-\gamma T_{\pi s^{\prime}}^{s}| to the second line, such that the Newton-Puiseux theorem applies, leading to the oddness theorem. Third, its solution space can be structured as the equilibrium bundle, which is a fiber bundle that formalizes perfect equilibria as the zero points of its canonical section, and formalizes the hybrid iteration of dynamic programming and interior point method as a line search on it.

Algorithm 1 A hybrid iteration of dynamic programming and interior point method
1: Dynamic game Γ=(N,𝒮,𝒜,T,u,γ)\Gamma=(N,\mathcal{S},\mathcal{A},T,u,\gamma).
2: (Optional) Sample in the policy space 𝒫\mathcal{P} and calculate canonical sections μ¯asi(πasi)\bar{\mu}_{a}^{si}(\pi_{a}^{si}) to search for potential perfect equilibria globally.
3: Initial policy πasi\pi_{a}^{si}, either random or around a potential perfect equilibrium.
4: Set initial barrier parameter μasi=πasiμ\mu_{a}^{si}=\pi_{a}^{si}\mu^{\prime} for sufficiently large μ\mu^{\prime}, so that μasi\mu_{a}^{si} is around the fiber over πasi\pi_{a}^{si} by Theorem 6 (i).
5: Set initial value function Vsi=mi𝟏sV_{s}^{i}=m^{i}\mathbf{1}_{s} for sufficiently large mim^{i}, so that VsiC^πV_{s}^{i}\in\hat{C}_{\pi} by Proposition 8 (iii).
6: repeat
7:   repeat
8:    Set UAsi=uAsi+γTsAs(Vsi+mi𝟏s)U_{A}^{si}=u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}(V_{s^{\prime}}^{i}+m^{i}\mathbf{1}_{s^{\prime}}) to apply dynamic programming (22).
9:    Calculate πAaasijUAsi\pi_{Aaa^{\prime}}^{sij-}U_{A}^{si} and πAasiUAsi\pi_{Aa}^{si-}U_{A}^{si}, either model-based or model-free.
10:    Compute vsiv_{s}^{i} by solving equation (9a) as stated in Theorem 4 (i).
11:    Calculate regret rasi=vsiπAasiUAsir_{a}^{si}=v_{s}^{i}-\pi_{Aa}^{si-}U_{A}^{si}.
12:    Calculate dual policy π^asi=μasi/rasi\hat{\pi}_{a}^{si}=\mu_{a}^{si}/r_{a}^{si} and dual regret r^asi=μasi/πasi\hat{r}_{a}^{si}=\mu_{a}^{si}/\pi_{a}^{si}.
13:    Calculate projected gradient pgasi{\rm pg}_{a}^{si} using equation (10).
14:    Calculate residual dVsi:=Dπ(Vsi+mi𝟏s)Vsi=vsiπasirasiVsidV_{s}^{i}:=D_{\pi}(V_{s}^{i}+m^{i}\mathbf{1}_{s})-V_{s}^{i}=v_{s}^{i}-\pi_{a}^{si}r_{a}^{si}-V_{s}^{i} of dynamic programming (22).
15:    Update πasi\pi_{a}^{si} by pgasi{\rm pg}_{a}^{si}, and update VsiV_{s}^{i} by dVsidV_{s}^{i}.
16:   until πasiπ^asi\pi_{a}^{si}-\hat{\pi}_{a}^{si}, rasir^asir_{a}^{si}-\hat{r}_{a}^{si}, and Angle(dVsi,𝟏s){\rm Angle}(dV_{s}^{i},\mathbf{1}_{s}) all converge to 00, so that (πasi,μasi)(\pi_{a}^{si},\mu_{a}^{si}) is on the equilibrium bundle.
17:   Compute differential (dπasj/πasj)/(dμa′′sk/μa′′sk)(d\pi_{a^{\prime}}^{sj}/\pi_{a^{\prime}}^{sj})/(d\mu_{a^{\prime\prime}}^{sk}/\mu_{a^{\prime\prime}}^{sk}) by solving equation (14).
18:   Calculate canonical section μ¯asi(πasi)=πasi(maxaπAasiUπAsiπAasiUπAsi)\bar{\mu}_{a}^{si}(\pi_{a}^{si})=\pi_{a}^{si}\circ(\max_{a}\pi_{Aa}^{si-}U_{\pi A}^{si}-\pi_{Aa}^{si-}U_{\pi A}^{si}).
19:   Update μasi\mu_{a}^{si} using canonical section descent (16) to hop to another fiber in the neighborhood and move along the fiber to avoid potential singular points, and update πasi\pi_{a}^{si} along differential (dπasj/πasj)/(dμa′′sk/μa′′sk)(d\pi_{a^{\prime}}^{sj}/\pi_{a^{\prime}}^{sj})/(d\mu_{a^{\prime\prime}}^{sk}/\mu_{a^{\prime\prime}}^{sk}).
20: until μ¯asi(πasi)\bar{\mu}_{a}^{si}(\pi_{a}^{si}) converges to 00, so that the fiber over a perfect equilibrium is reached.
Figure 4: Sketch graph of the equilibrium bundle. This sketch graph is based on the joint space 𝒫×{μasi|μasi0}\mathcal{P}\times\{\mu_{a}^{si}|\mu_{a}^{si}\geq 0\} of policy and barrier parameter. First, equilibrium bundle EE consists of the disjoint union of fibers {πasi}×B(πasi)\{\pi_{a}^{si}\}\times B(\pi_{a}^{si}) over each πasi𝒫\pi_{a}^{si}\in\mathcal{P}, where each fiber B(πasi)B(\pi_{a}^{si}) is an affine subspace with the canonical section μ¯asi(πasi)\bar{\mu}_{a}^{si}(\pi_{a}^{si}) being its least element, and perfect equilibria are zero points of the map μ¯asi\bar{\mu}_{a}^{si}. Second, Brouwer function π^asi=M(μasi)(πasi)\hat{\pi}_{a}^{si}=M(\mu_{a}^{si})(\pi_{a}^{si}) rearranges the points in the offset policy space 𝒫×{μasi}\mathcal{P}\times\{\mu_{a}^{si}\}, where the fixed points are the intersections between 𝒫×{μasi}\mathcal{P}\times\{\mu_{a}^{si}\} and the equilibrium bundle EE, and unbiased barrier problem depicts the approximation to those fixed points. Third, the polynomial function from πasi\pi_{a}^{si} to μasi\mu_{a}^{si} derives an algebraic curve AC{\rm AC} that satisfies a parity argument, such that exactly one of its endpoints is connected with the starting point as μ\mu^{\prime}\to\infty, and the rest of the endpoints are connected in pairs. In addition, the singular points of the equilibrium bundle are the multiple roots of the polynomial function. Finally, our method is a line search on the equilibrium bundle, which hops across the fibers to a zero point of the canonical section, and moves along a fiber to avoid singular points where the differential dπasi/dμasjd\pi_{a}^{si}/d\mu_{a^{\prime}}^{sj} tends to infinity.

Algorithm 1 is still a line search on the equilibrium bundle that consists of two iteration levels, the first iteration level is to update onto the equilibrium bundle by alternating the steps of dynamic programming (22) and projected gradient descent (10), the second iteration level is to hop across the fibers of the equilibrium bundle by canonical section descent (16) and differential (dπasj/πasj)/(dμa′′sk/μa′′sk)(d\pi_{a^{\prime}}^{sj}/\pi_{a^{\prime}}^{sj})/(d\mu_{a^{\prime\prime}}^{sk}/\mu_{a^{\prime\prime}}^{sk}), and the line search leads to a perfect equilibrium as the canonical section μ¯asi(πasi)\bar{\mu}_{a}^{si}(\pi_{a}^{si}) reduces to 00. Then we show that Algorithm 1 converges in polynomial time by showing the convergence rates of the three iteration formulas.

Proposition 15.

The following statements about convergence rate hold.

  1. (i)

    VsiDπ(Vsi+mi𝟏s)\lVert V_{s}^{i}-D_{\pi}(V_{s}^{i}+m^{i}\mathbf{1}_{s})\rVert_{\infty} converge to 00 linearly with a rate of γ\gamma under the dynamic programming (22) for fixed πasi\pi_{a}^{si} and mm.

  2. (ii)

    μ¯ai(πai)\lVert\bar{\mu}_{a}^{i}(\pi_{a}^{i})\rVert_{\infty} converge to 00 linearly for some ηi>0\eta^{i}>0 and βi0\beta^{i}\geq 0 under the canonical section descent (16).

  3. (iii)

    (πaiπ^ai)(rair^ai)(\pi_{a}^{i}-\hat{\pi}_{a}^{i})(r_{a}^{i}-\hat{r}_{a}^{i}) converge to 00 sublinearly under the iteration of projected gradient (10) if the convergence point is non-singular.

In Proposition 15, for a linearly converging iteration, the number of iterations needed to achieve given precision ϵ\epsilon is O(logm(1/ϵ))O(\log^{m}(1/\epsilon)), and projected gradient descent is known to converge sublinearly and require O((1/ϵ)n)O((1/\epsilon)^{n}) iterations to achieve given precision ϵ\epsilon. Note also that the elementary operations of the three iterations are all tensor operations whose complexity is O(|N|o|𝒜|p|𝒮|q)O(\lvert N\rvert^{o}\lvert\mathcal{A}\rvert^{p}\lvert\mathcal{S}\rvert^{q}). And Theorem 6 (iv) assures that for every dynamic game, there are always non-singular points available for the convergence so that Proposition 15 applies. Thus, the running time of Algorithm 1 is polynomial with respect to |N||N|, |𝒜||\mathcal{A}|, |𝒮||\mathcal{S}|, and 1/ϵ1/\epsilon. In other words, Algorithm 1 is an FPTAS that achieves a weak approximation of perfect equilibria, where the canonical section satisfies equation (24), in fully polynomial time.

μ¯asi(πasi)=πasi(maxaπAasiUπAsiπAasiUπAsi)<ϵasi.\bar{\mu}_{a}^{si}(\pi_{a}^{si})=\pi_{a}^{si}\circ\left(\max_{a}\pi_{Aa}^{si-}U_{\pi A}^{si}-\pi_{Aa}^{si-}U_{\pi A}^{si}\right)<\epsilon_{a}^{si}. (24)

Recall the two different approximations: weak approximation approximates to an ϵ\epsilon-equilibrium, and strong approximation approximates to an ϵ\epsilon-neighborhood of an exact equilibrium. It directly follows that on the equilibrium bundle, a strong approximation is a weak approximation, while the opposite is not true, such that an ϵ\epsilon-equilibrium could be far from an exact equilibrium, depending on the nearby gradient of the canonical section, which aligns with existing results[7, 12]. For any perfect equilibrium of any dynamic game, our method achieves a weak approximation in fully polynomial time, and the time complexity for our method to achieve a strong approximation depends on the gradient of the canonical section near the exact equilibrium. Recall the complexity results that the weak approximation of Nash equilibria is PPAD-complete, and strong approximation of Nash equilibria with three or more players is FIXP-complete. This implies PPAD=FP.

5.2 Practical use

It is possible to construct a MARL method through Algorithm 1, and the derived method would be free from non-stationarity and curse of multiagency since Algorithm 1 guarantees convergence and has polynomial time complexity. Algorithm 1 fits into the actor-critic framework, where πasi\pi_{a}^{si} is the actor, VsiV_{s}^{i} is the critic, and μ¯asi\bar{\mu}_{a}^{si} is the loss function. In addition, the canonical section μ¯asi\bar{\mu}_{a}^{si} can be used to guide the global search of the policy space, and the term mki𝟏sm_{k}^{i}\mathbf{1}_{s} in dynamic programming can be used to balance exploration and exploitation of the state space.

Note that the normal-form representation UAsiU_{A}^{si} only involves in the calculation through πAasiUAsi\pi_{Aa}^{si-}U_{A}^{si} and πAaasijUAsi\pi_{Aaa^{\prime}}^{sij-}U_{A}^{si} in Algorithm 1, where the problem of computing πAasiUAsi\pi_{Aa}^{si-}U_{A}^{si} and πAaasijUAsi\pi_{Aaa^{\prime}}^{sij-}U_{A}^{si} is a variant of a problem called the expected utility problem that computes πAsUAsi\pi_{A}^{s}U_{A}^{si}. Thus, Algorithm 1 actually works with any game representation, as long as the expected utility problem has an polynomial-time algorithm in that representation, such as those important classes of succint games like graphical games, action-graph games, and many others. In addition, Algorithm 1 even works in model-free cases, where πAasiUAsi\pi_{Aa}^{si-}U_{A}^{si} and πAaasijUAsi\pi_{Aaa^{\prime}}^{sij-}U_{A}^{si} are estimated using sampled data collected as an self-play agent interacts with a game instance.

Algorithm 1 takes any dynamic game as input to output its perfect equilibrium, such as it takes a static game as a single-state dynamic game to produce its Nash equilibrium, and it takes an MDP as a single-player dynamic game to produce its optimal policy. We implement the algorithm to take any size of dynamic game as input, and we animate the line search process for dynamic games with 2 players, 2 states, and 2 actions using Fig. 3, Fig. 1, Fig. 2, and the iteration curve in Fig. 5. And we tested our method on 2000 randomly generated dynamic games of 3 players, 3 states, and 3 actions in experiment, and the iteration converges to a perfect equilibrium in every single case.

Figure 5: Iteration curve. The figure shows the convergence of the three iterations in Proposition 15. Angle(VsiDπ(Vsi),𝟏si){\rm Angle}(V_{s}^{i}-D_{\pi}(V_{s}^{i}),\mathbf{1}_{s}^{i}), (πasiπ^asi,rasir^asi)(\pi_{a}^{si}-\hat{\pi}_{a}^{si},r_{a}^{si}-\hat{r}_{a}^{si}), and μ¯asi(πasi)\bar{\mu}_{a}^{si}(\pi_{a}^{si}) all converging to 00 indicates that the convergence point is a perfect equilibrium. In particular, Angle(VsiDπ(Vsi),𝟏si){\rm Angle}(V_{s}^{i}-D_{\pi}(V_{s}^{i}),\mathbf{1}_{s}^{i}) and (πasiπ^asi,rasir^asi)(\pi_{a}^{si}-\hat{\pi}_{a}^{si},r_{a}^{si}-\hat{r}_{a}^{si}) staying converged during the whole iteration indicates that the iteration is a line search on the equilibrium bundle, and μasi\mu_{a}^{si} not decreasing in the middle of the iteration is due to singular avoidance.

5.3 Tractability of PPAD

PPAD is defined as the complexity class of all the problems that reduces to End-Of-The-Line in polynomial time, and it is believed to contain hard problems because End-Of-The-Line is seemingly intractable in polynomial time, yet our discovery implies PPAD=FP. Thus, it is necessary that we explain how the reduction of our method can solve End-Of-The-Line in polynomial time.

We’ve introduced that End-Of-The-Line is believed to be intractable because it seems to let us follow a potentially exponentially long chain in directed graph DGDG from a given source to a sink, only by using a polynomial-time computable function ff that outputs the predecessor and successor of an input vertex. However, note that it is not necessary to follow the exponentially long chain or use function ff to jump over vertices one by one. The reduction of our method to End-Of-The-Line consists of two independent steps: computing a static game whose ϵ\epsilon-approximate Nash equilibria correspond to unbalanced vertices of DGDG in polynomial time, and computing an ϵ\epsilon-approximate Nash equilibrium in fully polynomial time. The first step is given by the reduction from End-Of-The-Line to Nash[8], and the second step is our method.

The reduction of End-Of-The-Line to Nash consists of two steps that can be done in polynomial time. First, construct a Brouwer function FF on the unit cube that is given by an arithmetic circuit that consists only of addition, multiplication and comparison, with the boolean circuit ff being its subcircuit, such that every vertex of DGDG is encoded in the unit cube, and the unbalanced vertices except the given one are exactly the ϵ\epsilon-approximate fixed points. Second, simulate every operation in arithmetic circuit FF with a two-action static game to obtain a many-player two-action graphical game, and then simulate the graphical game with a three-player many-action static game, such that the weights of certain actions on ϵ\epsilon^{\prime}-approximate Nash equilibria are exactly the ϵ\epsilon-approximate fixed points.

After the static game is constructed, our method is used to compute an ϵ\epsilon-approximate Nash equilibria, and then certain components of the policy can be decoded to obtain an unbalanced vertex. Our method is a line search on the equilibrium bundle, the search path lies in the total space, and DGDG is encoded in the base space, where the dimension of the total space is twice that of the base space. The line search originates from the fiber over the point encoding the given unbalanced vertex, and eventually reaches the fiber over an ϵ\epsilon-approximate Nash equilibria encoding another unbalanced vertex.

In summary, there are two facts that make End-Of-The-Line solvable in polynomial time. First, the polynomial-time computable function ff is not used to jump over vertices one by one, instead, it is used to construct a static game in polynomial time, such that the directed graph is encoded in its policy space and the unbalanced vertices are encoded as Nash equilibria. Second, the search path does not follow the exponentially long chain, instead, it is completely another path that lies in a space with twice the dimension of the policy space where the chain is encoded.

6 Conclusion

In this paper, we aim to deal with fully observable dynamic games to find a polynomial-time algorithm to approximate perfect equilibria. We first formalize the game equilibrium problem as an optimization problem, which splits into two subproblems with respect to policy and value function. The subproblem with respect to policy is equivalent to the Nash equilibrium problem of static games, for which we introduce the unbiased barrier problem and unbiased KKT conditions to make the interior point method to approximate Nash equilibria of static games. The subproblem with respect to value function is equivalent to the convergence problem of dynamic programming in dynamic games, for which we introduce the policy cone to give the sufficient and necessary condition for dynamic programming to converge to perfect equilibria of dynamic games. Finally, combining the two sections of results, we introduce the equilibrium bundle of dynamic games, such that it formalize the perfect equilibria as the zero points of its canonical section, and it formalize a hybrid iteration of dynamic programming and interior point method as a line search on it. The geometric properties of the equilibrium bundle allows us to give the existence and oddness theorems as an extension of those of Nash equilibria. In addition, the equilibrium bundle, unbiased barrier problem, unbiased KKT conditions, and Brouwer function all lie in the joint space of policy and barrier parameter with certain geometric structure. The hybrid iteration approximate any perfect equilibrium of any dynamic game, it achieves a weak approximation in fully polynomial time, the time complexity for it to achieve a strong approximation depends on the nearby gradient of the canonical section. This makes the method an FPTAS for the PPAD-complete weak approximation problem of game equilibria, implying PPAD=FP. In experiments, the line search process is animated, and the method is tested on 2000 randomly generated dynamic games where it converges to a perfect equilibrium in every single case.

Acknowledgments

Funding: This work was supported by the National Key R&D Program of China (2022YFB4701400/4701402), National Natural Science Foundation of China (No. U21B6002, 62203260, 92248304), Guangdong Basic and Applied Basic Research Foundation (2023A1515011773). Author Contributions: H.S. developed the theorems, implemented the method, plotted experimental results, and wrote the manuscript. X.W. supervised the research. X.W. and C.X. assisted the research with constructive discussions. C.X., J.T., and B.Y. assisted with manuscript editing. All authors read and commented the paper. Competing interests: The authors declare no competing interests. Code availability: The codes implementing our method and animating line search process that takes any dynamic game instance as input are available at https://github.com/shb20tsinghua/PTAS_Game/tree/main.

References

  • [1] John F Nash, Jr. Equilibrium points in n-person games. Proceedings of the National Academy of Sciences, 36(1):48–49, 1950.
  • [2] Sergiu Hart and Andreu Mas-Colell. A simple adaptive procedure leading to correlated equilibrium. Econometrica, 68(5):1127–1150, 2000.
  • [3] Martin Zinkevich, Michael Johanson, Michael Bowling, and Carmelo Piccione. Regret minimization in games with incomplete information. In J. Platt, D. Koller, Y. Singer, and S. Roweis, editors, Advances in Neural Information Processing Systems, volume 20. Curran Associates, Inc., 2007.
  • [4] George W Brown. Iterative solution of games by fictitious play. Activity Analysis of Production and Allocation, 13(1):374, 1951.
  • [5] Johannes Heinrich, Marc Lanctot, and David Silver. Fictitious self-play in extensive-form games. In Francis Bach and David Blei, editors, Proceedings of the 32nd International Conference on Machine Learning, volume 37, pages 805–813, Lille, France, 2015. PMLR.
  • [6] Sven Gronauer and Klaus Diepold. Multi-agent deep reinforcement learning: a survey. Artificial Intelligence Review, 55(2):895–943, 2022.
  • [7] Herbert Scarf. The approximation of fixed points of a continuous mapping. SIAM Journal on Applied Mathematics, 15(5):1328–1343, 1967.
  • [8] Constantinos Daskalakis, Paul W Goldberg, and Christos H Papadimitriou. The complexity of computing a nash equilibrium. Communications of the ACM, 52(2):89–97, 2009.
  • [9] Xi Chen, Xiaotie Deng, and Shang-Hua Teng. Computing nash equilibria: Approximation and smoothed complexity. In 2006 47th Annual IEEE Symposium on Foundations of Computer Science, pages 603–612, Los Alamitos, CA, USA, 2006. IEEE Computer Society.
  • [10] Aviad Rubinstein. Inapproximability of nash equilibrium. In Proceedings of the Forty-Seventh Annual ACM Symposium on Theory of Computing, pages 409–418, New York, NY, USA, 2015. Association for Computing Machinery.
  • [11] Xi Chen, Xiaotie Deng, and Shang-Hua Teng. Settling the complexity of computing two-player nash equilibria. Journal of the ACM, 56(3):1–57, 2009.
  • [12] Kousha Etessami and Mihalis Yannakakis. On the complexity of nash equilibria and other fixed points. SIAM Journal on Computing, 39(6):2531–2597, 2010.
  • [13] Christos H Papadimitriou. On the complexity of the parity argument and other inefficient proofs of existence. Journal of Computer and system Sciences, 48(3):498–532, 1994.
  • [14] John C Harsanyi. Oddness of the number of equilibrium points: a new proof. International Journal of Game Theory, 2(1):235–250, 1973.
  • [15] John F Nash, Jr. Non-cooperative games. Annals of Mathematics, 54(2):286–295, 1951.
  • [16] Lloyd S Shapley. Stochastic games. Proceedings of the National Academy of Sciences, 39(10):1095–1100, 1953.
  • [17] Eric Maskin and Jean Tirole. Markov perfect equilibrium: I. observable actions. Journal of Economic Theory, 100(2):191–219, 2001.
  • [18] Michael L. Littman. Markov games as a framework for multi-agent reinforcement learning. In William W. Cohen and Haym Hirsh, editors, Machine Learning Proceedings 1994, pages 157–163, San Francisco, CA, USA, 1994. Morgan Kaufmann.
  • [19] John C Harsanyi. Games with randomly disturbed payoffs: A new rationale for mixed-strategy equilibrium points. International Journal of Game Theory, 2(1):1–23, 1973.
  • [20] Richard H Byrd, Mary E Hribar, and Jorge Nocedal. An interior point algorithm for large-scale nonlinear programming. SIAM Journal on Optimization, 9(4):877–900, 1999.
  • [21] Richard Bellman. On the theory of dynamic programming. Proceedings of the National Academy of Sciences, 38(8):716–719, 1952.
  • [22] Michael L Littman. Value-function reinforcement learning in markov games. Cognitive Systems Research, 2(1):55–66, 2001.
  • [23] Junling Hu and Michael P Wellman. Nash q-learning for general-sum stochastic games. Journal of Machine Learning Research, 4:1039–1069, 2003.
  • [24] Harold W Kuhn and Albert W Tucker. Nonlinear programming. In Jerzy Neyman, editor, Proceedings of the Second Berkeley Symposium on Mathematical Statistics and Probability, volume 2, pages 481–492, Berkeley and Los Angeles, 1951. University of California Press.
  • [25] Carlton E Lemke and Joseph T Howson, Jr. Equilibrium points of bimatrix games. Journal of the Society for Industrial and Applied Mathematics, 12(2):413–423, 1964.
  • [26] Richard W. Cottle and George B. Dantzig. Complementary pivot theory of mathematical programming. Linear Algebra and its Applications, 1(1):103–125, 1968.

Proofs

In this section, we provide the proofs of all the theorems and propositions in the previous sections.

Proof of Proposition 1.

(i) The dual problem of linear programming problem (4) is

maxλas\displaystyle\max_{\lambda_{a}^{s}}\quad λasuas\displaystyle\lambda_{a}^{s}u_{a}^{s}
s.t. (IssγTsas)λas=w¯s\displaystyle(I_{s^{\prime}}^{s}-\gamma T_{s^{\prime}a}^{s})\lambda_{a}^{s}=\bar{w}^{s}
λas0\displaystyle\lambda_{a}^{s}\geq 0

Note that uπs=(IssγTπss)Vπsu_{\pi}^{s}=(I_{s^{\prime}}^{s}-\gamma T_{\pi s^{\prime}}^{s})V_{\pi s^{\prime}}, then substituting in πas=λas/(𝟏aλas)\pi_{a}^{s}=\lambda_{a}^{s}/(\mathbf{1}_{a}\lambda_{a}^{s}), we have

λasuas=(𝟏aλas)(IssγTπss)Vπs=(𝟏aλas)πas(IssγTsas)Vπs=w¯sVπs.\lambda_{a}^{s}u_{a}^{s}=(\mathbf{1}_{a}\lambda_{a}^{s})(I_{s^{\prime}}^{s}-\gamma T_{\pi s^{\prime}}^{s})V_{\pi s^{\prime}}=(\mathbf{1}_{a}\lambda_{a}^{s})\pi_{a}^{s}(I_{s^{\prime}}^{s}-\gamma T_{s^{\prime}a}^{s})V_{\pi s^{\prime}}=\bar{w}^{s}V_{\pi s}.

Thus, we obtain linear programming problem (5).

The optimal value of linear programming problem (4) being the optimal value function is an existing result, and the optimal value of linear programming problem (5) being the optimal value function is intuitive. In addition, the optimal values of these two linear programming problems are the same since they are the dual linear programming problem of each other.

(ii) It directly follows. ∎

Proofs in section 3

Proof of Theorem 2.

First, use (i) to prove (ii) and the optimal objective function value is 00. It follows from (πai,rai)0(\pi_{a}^{i},r_{a}^{i})\geq 0 that the objective πairai0\pi_{a}^{i}r_{a}^{i}\geq 0. When (πai,vi)(\pi_{a}^{i},v^{i}) is a Nash equilibrium, vi=πAUAi=maxaπAaiUAiv^{i}=\pi_{A}U_{A}^{i}=\max_{a}\pi_{Aa}^{i-}U_{A}^{i}. Then

πairai=πai(viπAaiUAi)=viπAUAi=0\pi_{a}^{i}r_{a}^{i}=\pi_{a}^{i}\left(v^{i}-\pi_{Aa}^{i-}U_{A}^{i}\right)=v^{i}-\pi_{A}U_{A}^{i}=0

and rai=viπAaiUAi0r_{a}^{i}=v^{i}-\pi_{Aa}^{i-}U_{A}^{i}\geq 0. Hence (πai,rai,vi)(\pi_{a}^{i},r_{a}^{i},v^{i}) is a global optimal point and the optimal objective function value is 00.

Then use (ii) to prove (iii). By the guaranteed existence of Nash equilibria and the above inference, the optimal objective function value is always 00. It follows from πairai=0\pi_{a}^{i}r_{a}^{i}=0 and (πai,rai)0(\pi_{a}^{i},r_{a}^{i})\geq 0 that

πairai=0.\pi_{a}^{i}\circ r_{a}^{i}=0.

Hence let (λ¯ai,λ~i,π^ai,r^ai)=(𝟎ai,𝟎i,πai,rai)(\bar{\lambda}_{a}^{i},\tilde{\lambda}^{i},\hat{\pi}_{a}^{i},\hat{r}_{a}^{i})=(\mathbf{0}_{a}^{i},\mathbf{0}^{i},\pi_{a}^{i},r_{a}^{i}), and then the equations are satisfied.

Finally, use (iii) to prove (λ¯ai,λ~i,πaiπ^ai,rair^ai)=0(\bar{\lambda}_{a}^{i},\tilde{\lambda}^{i},\pi_{a}^{i}-\hat{\pi}_{a}^{i},r_{a}^{i}-\hat{r}_{a}^{i})=0 and (i). Substituting πai=π^ai\pi_{a}^{i}=\hat{\pi}_{a}^{i} into λ¯ai+πaiπ^ai=0\bar{\lambda}_{a}^{i}+\pi_{a}^{i}-\hat{\pi}_{a}^{i}=0, we have λ¯ai=0\bar{\lambda}_{a}^{i}=0. Substituting λ¯ai=0\bar{\lambda}_{a}^{i}=0 into λ¯ajπAaaijUAi+λ~i𝟏a+rair^ai=0\bar{\lambda}_{a}^{j}\pi_{Aaa^{\prime}}^{ij-}U_{A}^{i}+\tilde{\lambda}^{i}\mathbf{1}_{a^{\prime}}+r_{a^{\prime}}^{i}-\hat{r}_{a^{\prime}}^{i}=0, we have rair^ai=λ~i𝟏ar_{a}^{i}-\hat{r}_{a}^{i}=-\tilde{\lambda}^{i}\mathbf{1}_{a}. Substituting πai=π^ai\pi_{a}^{i}=\hat{\pi}_{a}^{i} into raiπ^ai=0r_{a}^{i}\circ\hat{\pi}_{a}^{i}=0 and πair^ai=0\pi_{a}^{i}\circ\hat{r}_{a}^{i}=0, we have πai(rair^ai)=0\pi_{a}^{i}\circ(r_{a}^{i}-\hat{r}_{a}^{i})=0. Then

πai(λ~i𝟏a)=0.\pi_{a}^{i}\circ\left(-\tilde{\lambda}^{i}\mathbf{1}_{a}\right)=0.

Because 𝟏aπai=𝟏i\mathbf{1}_{a}\pi_{a}^{i}=\mathbf{1}^{i}, so for every index ii there must exist index aa such that πai>0\pi_{a}^{i}>0. It follows that λ~i=0\tilde{\lambda}^{i}=0 for every index ii, and then rai=r^air_{a}^{i}=\hat{r}_{a}^{i}. Hence we obtain (λ¯ai,λ~i,πaiπ^ai,rair^ai)=0(\bar{\lambda}_{a}^{i},\tilde{\lambda}^{i},\pi_{a}^{i}-\hat{\pi}_{a}^{i},r_{a}^{i}-\hat{r}_{a}^{i})=0.

At this time, πairai=0\pi_{a}^{i}\circ r_{a}^{i}=0. Considering that for every index ii there must exist index aa such that πai>0\pi_{a}^{i}>0, then for every index ii there must exist index aa such that rai=viπAaiUAi=0r_{a}^{i}=v^{i}-\pi_{Aa}^{i-}U_{A}^{i}=0. Note also that rai0r_{a}^{i}\geq 0, and thus

vi=maxaπAaiUAi.v^{i}=\max_{a}\pi_{Aa}^{i-}U_{A}^{i}.

Then it follows from the objective πairai=0\pi_{a}^{i}r_{a}^{i}=0 that vi=maxaπAaiUAi=πAUAiv^{i}=\max_{a}\pi_{Aa}^{i-}U_{A}^{i}=\pi_{A}U_{A}^{i}. Hence (πai,vi)(\pi_{a}^{i},v^{i}) is a Nash equilibrium. ∎

Proof of Theorem 3.

First, (i)(iii)(i)\Leftrightarrow(iii) is implied by the definition of Brouwer function MM.

Then, prove (ii)(iii)(ii)\Leftrightarrow(iii). In unbiased barrier problem (8), where π^ai=μai/rai\hat{\pi}_{a}^{i}=\mu_{a}^{i}/r_{a}^{i} and r^ai=μai/πai\hat{r}_{a}^{i}=\mu_{a}^{i}/\pi_{a}^{i},

(πaiπ^ai)(rair^ai)=i,a(πairai+μai2πairai2μai).\left(\pi_{a}^{i}-\hat{\pi}_{a}^{i}\right)\left(r_{a}^{i}-\hat{r}_{a}^{i}\right)=\sum_{i,a}\left(\pi_{a}^{i}\circ r_{a}^{i}+\frac{\mu_{a}^{i2}}{\pi_{a}^{i}\circ r_{a}^{i}}-2\mu_{a}^{i}\right).

The formula takes the minimum value if and only if πairai=μai\pi_{a}^{i}\circ r_{a}^{i}=\mu_{a}^{i}. Considering the constraints raivi+πAaiUAi=0r_{a}^{i}-v^{i}+\pi_{Aa}^{i-}U_{A}^{i}=0 and 𝟏aπ^ai𝟏i=0\mathbf{1}_{a}\hat{\pi}_{a}^{i}-\mathbf{1}^{i}=0, the simultaneous equations are exactly unbiased KKT conditions (9). Hence we obtain the equivalence.

Then, prove (iii)((iv)πai=π^ai)(iii)\Leftrightarrow((iv)\wedge\pi_{a}^{i}=\hat{\pi}_{a}^{i}). Unbiased KKT conditions (9) are exactly the simultaneous equations of perturbed KKT conditions (7) and unbiased condition πai=π^ai\pi_{a}^{i}=\hat{\pi}_{a}^{i}. Hence we obtain the equivalence.

Then, prove (iv)(v)(vi)(iv)\Leftrightarrow(v)\Leftrightarrow(vi). It can be verified that KKT conditions of barrier problem (6) are perturbed KKT conditions (7), and simultaneous equations of KKT conditions and parameter π^ai=μai/rai\hat{\pi}_{a}^{i}=\mu_{a}^{i}/r_{a}^{i} and r^ai=μai/πai\hat{r}_{a}^{i}=\mu_{a}^{i}/\pi_{a}^{i} of unbiased barrier problem (8) are also perturbed KKT conditions (7). Note that unbiased barrier problem (8) and barrier problem (6) are both equality constrained optimization problems, and thus by the Lagrange multiplier method, their local extreme points are the points that satisfies their KKT conditions, that is, perturbed KKT conditions (7). Hence we obtain the equivalence.

Finally, (πai,𝟎ai)(\pi_{a}^{i},\mathbf{0}_{a}^{i}) is a solution of unbiased KKT conditions (9) is equivalent to Theorem 2 (iii), and thus it is equivalent to πai\pi_{a}^{i} being a Nash equilibrium. ∎

Proof of Theorem 4.

(i) For every index ii, denote the function and its derivative

f(vi)=𝟏aμaiviπAaiUAi𝟏i,df(vi)dvi=𝟏aμai(viπAaiUAi)20.f(v^{i})=\mathbf{1}_{a}\frac{\mu_{a}^{i}}{v^{i}-\pi_{Aa}^{i-}U_{A}^{i}}-\mathbf{1}^{i},\frac{df(v^{i})}{dv^{i}}=-\mathbf{1}_{a}\frac{\mu_{a}^{i}}{\left(v^{i}-\pi_{Aa}^{i-}U_{A}^{i}\right)^{2}}\leq 0.

There is also

limvi(maxaπAaiUAi)+f(vi)=+limvi+f(vi)=1.\lim_{v^{i}\to\left(\max_{a}\pi_{Aa}^{i-}U_{A}^{i}\right)^{+}}f(v^{i})=+\infty\quad\wedge\quad\lim_{v^{i}\to+\infty}f(v^{i})=-1.

Thus, f(vi)f(v^{i}) monotonically decreases with respect to viv^{i} from ++\infty to 1-1 in its domain, and hence there exists a unique viv^{i} that satisfies f(vi)=0f(v^{i})=0.

(ii) By the objective function and constraint raivi+πAaiUAi=0r_{a}^{i}-v^{i}+\pi_{Aa}^{i-}U_{A}^{i}=0, considering π^ai\hat{\pi}_{a}^{i} and r^ai\hat{r}_{a}^{i} are parameters, the differential of objective function is

(πaiπ^ai)drai+(rair^ai)dπai=(πaiπ^ai)(dviπAaaijUAidπaj)+(rair^ai)dπai.\left(\pi_{a}^{i}-\hat{\pi}_{a}^{i}\right)dr_{a}^{i}+\left(r_{a}^{i}-\hat{r}_{a}^{i}\right)d\pi_{a}^{i}=\left(\pi_{a}^{i}-\hat{\pi}_{a}^{i}\right)\left(dv^{i}-\pi_{Aaa^{\prime}}^{ij-}U_{A}^{i}d\pi_{a^{\prime}}^{j}\right)+\left(r_{a}^{i}-\hat{r}_{a}^{i}\right)d\pi_{a}^{i}.

It follows from 𝟏aπ^ai𝟏i=0\mathbf{1}_{a}\hat{\pi}_{a}^{i}-\mathbf{1}^{i}=0 that (πaiπ^ai)dvi=0(\pi_{a}^{i}-\hat{\pi}_{a}^{i})dv^{i}=0, and thus the differential is

((rajr^aj)(πaiπ^ai)πAaaijUAi)dπaj=(πaiπ^ai)(Diag(rai)πAaaijUAiπaj)(dπaj/πaj).\left(\left(r_{a^{\prime}}^{j}-\hat{r}_{a^{\prime}}^{j}\right)-\left(\pi_{a}^{i}-\hat{\pi}_{a}^{i}\right)\pi_{Aaa^{\prime}}^{ij-}U_{A}^{i}\right)d\pi_{a^{\prime}}^{j}=\left(\pi_{a}^{i}-\hat{\pi}_{a}^{i}\right)\left({\rm Diag}(r_{a}^{i})-\pi_{Aaa^{\prime}}^{ij-}U_{A}^{i}\circ\pi_{a^{\prime}}^{j}\right)(d\pi_{a^{\prime}}^{j}/\pi_{a^{\prime}}^{j}).

(iii) (i) implies that Brouwer function π^ai=M(μai)(πai)\hat{\pi}_{a}^{i}=M(\mu_{a}^{i})(\pi_{a}^{i}) is indeed a map, such that for every πai\pi_{a}^{i} there is a unique π^ai\hat{\pi}_{a}^{i}. Note also that π^ai=M(μai)(πai)\hat{\pi}_{a}^{i}=M(\mu_{a}^{i})(\pi_{a}^{i}) is continuous, since equation (9a) is continuous. Thus, by Brouwer’s fixed point theorem, there is always a fix point that satisfies π^ai=πai\hat{\pi}_{a}^{i}=\pi_{a}^{i}, that is, a point that satisfies unbiased KKT conditions (9). ∎

Proof of Theorem 5.

(i) and (ii) directly follow from definition of the equilibrium bundle and unbiased KKT conditions (9).

(iii) By Theorem 3, πai\pi_{a}^{i} is a Nash equilibrium if and only if 𝟎aiB(πai)\mathbf{0}_{a}^{i}\in B(\pi_{a}^{i}), then the equivalence is directly implied.

Proof of Theorem 6.

(i) From unbiased KKT conditions (9) we have

πaiviπaiπAaiUAi=μ^aiμ\pi_{a}^{i}\circ v^{i}-\pi_{a}^{i}\circ\pi_{Aa}^{i-}U_{A}^{i}=\hat{\mu}_{a}^{i}\mu^{\prime}

and 𝟏aπai=𝟏i\mathbf{1}_{a}\pi_{a}^{i}=\mathbf{1}^{i}. As μ+\mu^{\prime}\to+\infty, πai\pi_{a}^{i} and πaiπAaiUAi\pi_{a}^{i}\circ\pi_{Aa}^{i-}U_{A}^{i} is bounded, and vi+v^{i}\to+\infty. Then

limμ+πaiviμ=μ^ai.\lim_{\mu^{\prime}\to+\infty}\pi_{a}^{i}\circ\frac{v^{i}}{\mu^{\prime}}=\hat{\mu}_{a}^{i}.

Hence we obtain limμ+πai=μ^ai/(𝟏aμ^ai)\lim_{\mu^{\prime}\to+\infty}\pi_{a}^{i}=\hat{\mu}_{a}^{i}/(\mathbf{1}_{a}\hat{\mu}_{a}^{i}).

(ii) Differential of unbiased KKT conditions (9) is

[πaidrai+dπairaidμaidraidvi+πAaaijUAidπaj𝟏adπai]=0.\displaystyle\begin{bmatrix}\pi_{a}^{i}\circ dr_{a}^{i}+d\pi_{a}^{i}\circ r_{a}^{i}-d\mu_{a}^{i}\\ dr_{a}^{i}-dv^{i}+\pi_{Aaa^{\prime}}^{ij-}U_{A}^{i}d\pi_{a^{\prime}}^{j}\\ \mathbf{1}_{a}d\pi_{a}^{i}\end{bmatrix}=0.

Eliminating draidr_{a}^{i}, we have

[πaidvi(πaiπAaaijUAiπaj)dπajπaj+μaidπaiπai𝟏a(πaidπaiπai)]=[dμai0].\displaystyle\begin{bmatrix}\pi_{a}^{i}\circ dv^{i}-\left(\pi_{a}^{i}\circ\pi_{Aaa^{\prime}}^{ij-}U_{A}^{i}\circ\pi_{a^{\prime}}^{j}\right)\frac{d\pi_{a^{\prime}}^{j}}{\pi_{a^{\prime}}^{j}}+\mu_{a}^{i}\circ\frac{d\pi_{a}^{i}}{\pi_{a}^{i}}\\ \mathbf{1}_{a}(\pi_{a}^{i}\circ\frac{d\pi_{a}^{i}}{\pi_{a}^{i}})\end{bmatrix}=\begin{bmatrix}d\mu_{a}^{i}\\ 0\end{bmatrix}.

Transform it into a linear equation system with respect to (dπaj/πaj)/(dμa′′k/μa′′k)(d\pi_{a^{\prime}}^{j}/\pi_{a^{\prime}}^{j})/(d\mu_{a^{\prime\prime}}^{k}/\mu_{a^{\prime\prime}}^{k}) and dvl/(dμa′′k/μa′′k)dv^{l}/(d\mu_{a^{\prime\prime}}^{k}/\mu_{a^{\prime\prime}}^{k}), and we obtain equation (14).

(iii) The equation is obtained from the proof of Theorem 4 (ii). (πai,μai)E(\pi_{a}^{i},\mu_{a}^{i})\in E is a solution of unbiased KKT conditions (9), then by Theorem 3 (v), (πai,μai)(\pi_{a}^{i},\mu_{a}^{i}) is a KKT point of unbiased barrier problem (8).

First, when C(j,a)l(i,a)m{\rm C}_{(j,a^{\prime})\cup l}^{(i,a)\cup m} is non-singular, the Jacobian matrix of unbiased KKT conditions (9) is non-singular, and then by the implicit function theorem, (πai,μai)(\pi_{a}^{i},\mu_{a}^{i}) is the only solution of (9) in its neighborhood. Thus, (πai,μai)(\pi_{a}^{i},\mu_{a}^{i}) is the only KKT point of (8), namely, unbiased barrier problem (8) is locally strictly convex at (πai,μai)(\pi_{a}^{i},\mu_{a}^{i}).

Conversely, when C(j,a)l(i,a)m{\rm C}_{(j,a^{\prime})\cup l}^{(i,a)\cup m} is singular, the KKT point of (8) is not unique in the neighborhood, namely, unbiased barrier problem (8) is not locally strictly convex at (πai,μai)(\pi_{a}^{i},\mu_{a}^{i}).

(iv) On the fiber B(πai)B(\pi_{a}^{i}) over πai\pi_{a}^{i}, μai/πai\mu_{a}^{i}/\pi_{a}^{i} tends to vi𝟏av^{i}\mathbf{1}_{a} for some viv^{i} as μai\mu_{a}^{i}\to\infty, and πAaaijUAiπaj\pi_{Aaa^{\prime}}^{ij-}U_{A}^{i}\circ\pi_{a^{\prime}}^{j} is bounded. Thus, matrix C(j,a)l(i,a)m{\rm C}_{(j,a^{\prime})\cup l}^{(i,a)\cup m} tends to

[Diag(vi𝟏a)(Iil𝟏a)l(i,a)π(j,a)(Ijm𝟏a)(j,a)m𝟎lm].\displaystyle\begin{bmatrix}{\rm Diag}(v^{i}\mathbf{1}_{a})&\left(I^{il}\mathbf{1}_{a}\right)_{l}^{(i,a)}\\ \pi_{(j,a^{\prime})}\circ\left(I^{jm}\mathbf{1}_{a^{\prime}}\right)_{(j,a^{\prime})}^{m}&\mathbf{0}_{l}^{m}\end{bmatrix}.

By elementary column transformation, the determinant of this matrix is (1)|N|iN(vi)|𝒜|1(-1)^{\left\lvert N\right\rvert}\prod_{i\in N}(v^{i})^{\left\lvert\mathcal{A}\right\rvert-1}. It follows that the determinant of C(j,a)l(i,a)m{\rm C}_{(j,a^{\prime})\cup l}^{(i,a)\cup m} diverges as μai\mu_{a}^{i}\to\infty in B(πai)B(\pi_{a}^{i}). Thus, there always exists μˇaiB(πai)\check{\mu}_{a}^{i}\in B(\pi_{a}^{i}) such that for every μai>μˇai\mu_{a}^{i}>\check{\mu}_{a}^{i}, the determinant of C(j,a)l(i,a)m{\rm C}_{(j,a^{\prime})\cup l}^{(i,a)\cup m} is non-zero on (πai,μai)(\pi_{a}^{i},\mu_{a}^{i}).

Proof of Theorem 7.

(i) First, unbiased KKT conditions (9) derive a polynomial function that maps (πai,vi)(\pi_{a}^{i},v^{i}) to μai\mu_{a}^{i}, and polynomial functions are analytic on their whole domain. Second, function with respect to μai\mu_{a}^{i} is given by a polynomial equation, such that the function expands to a Puiseux’s series with respect to μai\mu_{a}^{i} at every point according to the Newton-Puiseux theorem. Then, this function with respect to μai\mu_{a}^{i} is analytic in the punctured neighbourhood of every point on it. Furthermore, this function is analytic in the neighbourhood of every point on it, because the Puiseux’s series also converges at the point itself since the function is the inverse of a polynomial function.

(ii) For any μ^ai>0\hat{\mu}_{a}^{i}>0 and μ′′0\mu^{\prime\prime}\geq 0, there is an algebraic curve AC={(πai,μ^aiμ)E|μ>μ′′}{\rm AC}=\{(\pi_{a}^{i},\hat{\mu}_{a}^{i}\mu^{\prime})\in E|\mu^{\prime}>\mu^{\prime\prime}\}. Denote EP{\rm EP} as the set points on AC{\rm AC} as μμ′′\mu^{\prime}\to\mu^{\prime\prime}. By (i), at every point on an algebraic curve, either non-singular or singular, there is a unique analytic continuation beyond that point. It follows that the endpoints of an algebraic curve are always connected in pairs. And Theorem 6 (i) shows that there is a unique endpoint of algebraic curve AC{\rm AC} as μ\mu^{\prime}\to\infty, which is called the starting point. Thus, there is exactly one point in EP{\rm EP} that is connected to the starting point of AC{\rm AC} by a branch of AC{\rm AC}, and all the other points in EP{\rm EP} are connected in pairs by the rest branches of AC{\rm AC}. In other words, there are always an odd number of points in EP{\rm EP}.

Then we show that EP{\rm EP} almost always equals to {(πai,μ^aiμ′′)E}\{(\pi_{a}^{i},\hat{\mu}_{a}^{i}\mu^{\prime\prime})\in E\}. For a point (πai,μai)(\pi_{a}^{i},\mu_{a}^{i}) where C(j,a)l(i,a)m{\rm C}_{(j,a^{\prime})\cup l}^{(i,a)\cup m} is non-singular, πai\pi_{a}^{i} is the unique solution in its neighborhood for the given μai\mu_{a}^{i} by the implicit function theorem. It follows that if (πai,μ^aiμ′′)EP(\pi_{a}^{i},\hat{\mu}_{a}^{i}\mu^{\prime\prime})\in{\rm EP} is a non-singular point, then for every μ^ai>0\hat{\mu}_{a}^{i}>0, the algebraic curve {(πai,μ^aiμ+μ^aiμ′′)E|μ>0}\{(\pi_{a}^{i},\hat{\mu}_{a}^{i}\mu^{\prime}+\hat{\mu}_{a}^{i}\mu^{\prime\prime})\in E|\mu^{\prime}>0\} tends to (πai,μ^aiμ′′)(\pi_{a}^{i},\hat{\mu}_{a}^{i}\mu^{\prime\prime}) as μ0\mu^{\prime}\to 0. In other words, {(πai,μ^aiμ′′)E}\{(\pi_{a}^{i},\hat{\mu}_{a}^{i}\mu^{\prime\prime})\in E\} is contained in EP{\rm EP} if every point in EP{\rm EP} is non-singular, and thus they are equal if so. Note that almost all points given by a polynomial equation are non-singular. Thus, EP{\rm EP} almost always equals to {(πai,μ^aiμ′′)E}\{(\pi_{a}^{i},\hat{\mu}_{a}^{i}\mu^{\prime\prime})\in E\}.

Proofs in section 4

Lemma 16.

Let Tπn×nT_{\pi}\in\mathbb{R}^{n\times n} be a matrix that satisfies Tπ0T_{\pi}\geq 0 and Tπ𝟏=𝟏T_{\pi}\mathbf{1}=\mathbf{1}, and let γ[0,1)\gamma\in[0,1). Then

  1. (i)

    (IγTπ)(I-\gamma T_{\pi}) is invertible.

  2. (ii)

    For any XnX\in\mathbb{R}^{n}, the formula (IγTπ)X0X0(γTπ)X0(I-\gamma T_{\pi})X\geq 0\rightarrow X\geq 0\rightarrow(\gamma T_{\pi})X\geq 0 holds.

Proof.

(i) The eigenvalues of (IγTπ)(I-\gamma T_{\pi}) is given by 1γλi1-\gamma\lambda_{i}, where λi\lambda_{i} are the eigenvalues of TπT_{\pi}. Note that inequality TπXmax(X)T_{\pi}X\leq\max(X) holds, and thus for real eigenvalue λi\lambda_{i} that TπX=λiXT_{\pi}X=\lambda_{i}X, we have λi1\lambda_{i}\leq 1, and then 1γλi>01-\gamma\lambda_{i}>0. Hence (IγTπ)(I-\gamma T_{\pi}) has no zero eigenvalues, and it’s invertible.

(ii) From Tπ0T_{\pi}\geq 0 and γ[0,1)\gamma\in[0,1), we obtain X0(γTπ)X0X\geq 0\rightarrow(\gamma T_{\pi})X\geq 0. Note that inequality TπXmin(X)T_{\pi}X\geq\min(X) holds, and it follows that

min((IγTπ)X)min(X)γmin(TπX)(1γ)min(X).\min((I-\gamma T_{\pi})X)\leq\min(X)-\gamma\min(T_{\pi}X)\leq(1-\gamma)\min(X).

Hence we obtain (IγTπ)X0X0(I-\gamma T_{\pi})X\geq 0\rightarrow X\geq 0. ∎

Proof of Proposition 8.

(i) By Lemma 16 (i), for any policy πasi\pi_{a}^{si}, there is a unique value function

Vπsi=(IssγTπss)1uπsiV_{\pi s}^{i}=(I_{s^{\prime}}^{s}-\gamma T_{\pi s^{\prime}}^{s})^{-1}u_{\pi}^{s^{\prime}i}

that satisfies Vπsi=πAs(uAsi+γTsAsVπsi)V_{\pi s}^{i}=\pi_{A}^{s}(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{\pi s^{\prime}}^{i}). Then by definition of CπC_{\pi}, we obtain VπsiCπV_{\pi s}^{i}\in C_{\pi}. It follows from VsiCπV_{s}^{i}\in C_{\pi} that

(IssγTπss)(VsiVπsi)=VsiπAs(uAsi+γTsAsVsi)0.\left(I_{s^{\prime}}^{s}-\gamma T_{\pi s^{\prime}}^{s}\right)\left(V_{s}^{i}-V_{\pi s}^{i}\right)=V_{s}^{i}-\pi_{A}^{s}\left(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i}\right)\geq 0.

Then by Lemma 16 (ii), we have VsiVπsi0V_{s}^{i}-V_{\pi s}^{i}\geq 0, and thus for all VsiCπV_{s}^{i}\in C_{\pi}, VsiVπsiV_{s}^{i}\geq V_{\pi s}^{i}.

(ii) Considering VsiYxsi=dxi𝟏sV_{s}^{i}-Y_{xs}^{i}=d_{x}^{i}\mathbf{1}_{s}, there is

(YxsiDπ(Yxsi))(x)=(VsiDπ(Vsi)(1γ)dxi𝟏s)(x).\left(Y_{xs}^{i}-D_{\pi}(Y_{xs}^{i})\right)(x)=\left(V_{s}^{i}-D_{\pi}(V_{s}^{i})-(1-\gamma)d_{x}^{i}\mathbf{1}_{s}\right)(x).

Then let dxi=(VsiDπ(Vsi))/(1γ)d_{x}^{i}=(V_{s}^{i}-D_{\pi}(V_{s}^{i}))/(1-\gamma), and thus formula (19a) is satisfied for every x𝒮x\in\mathcal{S}. Note that dxid_{x}^{i} is unique, and hence YxsiY_{xs}^{i} is unique.

Similarly, considering VsiY^xsi=d^xi𝟏sV_{s}^{i}-\hat{Y}_{xs}^{i}=\hat{d}_{x}^{i}\mathbf{1}_{s}, there is

(Y^xsiD^π(Y^xsi))(x)=(VsiD^π(Vsi)(1γ)d^xi𝟏s)(x).\left(\hat{Y}_{xs}^{i}-\hat{D}_{\pi}(\hat{Y}_{xs}^{i})\right)(x)=\left(V_{s}^{i}-\hat{D}_{\pi}(V_{s}^{i})-(1-\gamma)\hat{d}_{x}^{i}\mathbf{1}_{s}\right)(x).

then let d^xi=(VsiD^π(Vsi))/(1γ)\hat{d}_{x}^{i}=(V_{s}^{i}-\hat{D}_{\pi}(V_{s}^{i}))/(1-\gamma), and thus formula (19b) is satisfied for every x𝒮x\in\mathcal{S}. Note that d^xi\hat{d}_{x}^{i} is unique, and hence Y^xsi\hat{Y}_{xs}^{i} is unique.

(iii) For any Vsi𝒱V_{s}^{i}\in\mathcal{V}, we have

Vsi+mi𝟏sπAasi(uAsi+γTsAs(Vsi+mi𝟏s))=VsiπAasi(uAsi+γTsAsVsi)+(1γ)mi𝟏s,V_{s}^{i}+m^{i}\mathbf{1}_{s}-\pi_{Aa}^{si-}\left(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}\left(V_{s^{\prime}}^{i}+m^{i}\mathbf{1}_{s^{\prime}}\right)\right)=V_{s}^{i}-\pi_{Aa}^{si-}\left(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i}\right)+(1-\gamma)m^{i}\mathbf{1}_{s},

where VsiπAasi(uAsi+γTsAsVsi)V_{s}^{i}-\pi_{Aa}^{si-}(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i}) is constant. Then there exists an Mi>0M^{i}>0 such that for any mi>Mim^{i}>M^{i} the above formula is greater than 0, and hence Vsi+mi𝟏sC^πV_{s}^{i}+m^{i}\mathbf{1}_{s}\in\hat{C}_{\pi}.

By definition, for any VsiC^πV_{s}^{i}\in\hat{C}_{\pi}, we have

VsiπAasi(uAsi+γTsAsVsi)πAs(uAsi+γTsAsVsi).V_{s}^{i}\geq\pi_{Aa}^{si-}\left(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i}\right)\geq\pi_{A}^{s}\left(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i}\right).

Then VsiCπV_{s}^{i}\in C_{\pi}, and hence C^πCπ\hat{C}_{\pi}\subseteq C_{\pi}. ∎

Proof of Theorem 9.

(i) It follows directly from definition of CπC_{\pi}.

(ii) Note that equation

Dπ(Vsi)Dπ(Dπ(Vsi))=(IssγTπss)(VsiVπsi(VsiDπ(Vsi)))=γTπss(VsiDπ(Vsi))\displaystyle D_{\pi}(V_{s}^{i})-D_{\pi}\left(D_{\pi}(V_{s}^{i})\right)=\left(I_{s^{\prime}}^{s}-\gamma T_{\pi s^{\prime}}^{s}\right)\left(V_{s}^{i}-V_{\pi s}^{i}-\left(V_{s}^{i}-D_{\pi}(V_{s}^{i})\right)\right)=\gamma T_{\pi s^{\prime}}^{s}\left(V_{s}^{i}-D_{\pi}(V_{s}^{i})\right)

holds. Then if VsiCπV_{s}^{i}\in C_{\pi}, by Lemma 16 (ii), we obtain Dπ(Vsi)CπD_{\pi}(V_{s}^{i})\in C_{\pi}.

(iii) Note that equation

Dπ(Vsi)D^π(Dπ(Vsi))=γπ~asiπAasiTsAs(VsiDπ(Vsi))+Dπ(Vsi)D^π(Vsi)D_{\pi}(V_{s}^{i})-\hat{D}_{\pi}\left(D_{\pi}(V_{s}^{i})\right)=\gamma\tilde{\pi}_{a}^{si}\pi_{Aa}^{si-}T_{s^{\prime}A}^{s}\left(V_{s}^{i}-D_{\pi}(V_{s}^{i})\right)+D_{\pi}(V_{s}^{i})-\hat{D}_{\pi}(V_{s}^{i})

holds. By Lemma 16 (ii), if Dπ(Vsi)=D^π(Vsi)D_{\pi}(V_{s}^{i})=\hat{D}_{\pi}(V_{s}^{i}), then for any VsiCπV_{s}^{i}\in C_{\pi}, Dπ(Vsi)D^π(Dπ(Vsi))D_{\pi}(V_{s}^{i})\geq\hat{D}_{\pi}(D_{\pi}(V_{s}^{i})), and hence Dπ(Vsi)C^πD_{\pi}(V_{s}^{i})\in\hat{C}_{\pi}.

(iv) It follows directly from the proof of Proposition 8 (ii).

(v) The iteration formula is equivalent to V~s,k+1i=Dπ(V~s,ki)\tilde{V}_{s,k+1}^{i}=D_{\pi}(\tilde{V}_{s,k}^{i}), where V~s,ki=Vs,kiγmi𝟏s/(1γ)\tilde{V}_{s,k}^{i}=V_{s,k}^{i}-\gamma m^{i}\mathbf{1}_{s}/(1-\gamma). It follows from Vs,0iCπV_{s,0}^{i}\in C_{\pi} that V0C(π)V^{\prime}_{0}\in C(\pi) by (ii), and thus V~s,kiV~s,k+1i\tilde{V}_{s,k}^{i}\geq\tilde{V}_{s,k+1}^{i} and V~s,kiCπ\tilde{V}_{s,k}^{i}\in C_{\pi} for all kk\in\mathbb{N} by (i). According to the monotone convergence theorem, V~s,ki\tilde{V}_{s,k}^{i} converges as kk\to\infty, and the limit is the unique solution VπsiV_{\pi s}^{i} of Vπsi=Dπ(Vπsi)V_{\pi s}^{i}=D_{\pi}(V_{\pi s}^{i}). Hence we obtain

limkVs,ki=Vπsi+γ1γmi𝟏slimk(Vs,kiDπ(Vs,ki))=γmi𝟏s.\lim_{k\to\infty}V_{s,k}^{i}=V_{\pi s}^{i}+\frac{\gamma}{1-\gamma}m^{i}\mathbf{1}_{s}\quad\wedge\quad\lim_{k\to\infty}\left(V_{s,k}^{i}-D_{\pi}(V_{s,k}^{i})\right)=\gamma m^{i}\mathbf{1}_{s}.

Proof of Theorem 10.

(i) By definition, πasi\pi_{a}^{si} is a perfect equilibrium if and only if

Vπsi=maxaπAasi(uAsi+γTsAsVπsi),V_{\pi s}^{i}=\max_{a}\pi_{Aa}^{si-}\left(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{\pi s^{\prime}}^{i}\right),

and VπsiC^πV_{\pi s}^{i}\in\hat{C}_{\pi} if and only if

VπsiπAasi(uAsi+γTsAsVπsi).V_{\pi s}^{i}\geq\pi_{Aa}^{si-}\left(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{\pi s^{\prime}}^{i}\right).

Note that the equality can be established in the above inequality, because Vπsi=πAs(uAsi+γTsAsVπsi)V_{\pi s}^{i}=\pi_{A}^{s}\left(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{\pi s^{\prime}}^{i}\right). Then the two formulas are equivalent, and hence πasi\pi_{a}^{si} is a perfect equilibrium if and only if VπsiC^πV_{\pi s}^{i}\in\hat{C}_{\pi}.

It directly follows from the definitions that VπsiC^πV_{\pi s}^{i}\in\hat{C}_{\pi} if and only if VπsiV_{\pi s}^{i} is the global optimal point of dynamic programming problem (17).

(ii) For every x𝒮x\in\mathcal{S}, πasi(x)\pi_{a}^{si}(x) is a Nash equilibrium if and only if

Dπ(Vsi)(x)=D^π(Vsi)(x).D_{\pi}(V_{s}^{i})(x)=\hat{D}_{\pi}(V_{s}^{i})(x).

First, suppose πasi(x)\pi_{a}^{si}(x) is a Nash equilibrium. Consider YxsiY_{xs}^{i} and dxid_{x}^{i} that satisfies formula (19a), and then substituting with Vsi=Yxsi+dxi𝟏sV_{s}^{i}=Y_{xs}^{i}+d_{x}^{i}\mathbf{1}_{s}, we have

Dπ(Yxsi)(x)=D^π(Yxsi)(x),D_{\pi}(Y_{xs}^{i})(x)=\hat{D}_{\pi}(Y_{xs}^{i})(x),

and further there is

(YxsiD^π(Yxsi))(x)=0.\left(Y_{xs}^{i}-\hat{D}_{\pi}(Y_{xs}^{i})\right)(x)=0.

By the uniqueness of the pair of Y^xsi\hat{Y}_{xs}^{i} and d^xi\hat{d}_{x}^{i}, we obtain Yxsi=Y^xsiY_{xs}^{i}=\hat{Y}_{xs}^{i}.

Conversely, suppose Yxsi=Y^xsiY_{xs}^{i}=\hat{Y}_{xs}^{i}, and it follows that dxi=d^xid_{x}^{i}=\hat{d}_{x}^{i}. By formula (19a) and (19b) there are

(VsiDπ(Vsi)(1γ)dxi𝟏s)(x)=\displaystyle\left(V_{s}^{i}-D_{\pi}(V_{s}^{i})-(1-\gamma)d_{x}^{i}\mathbf{1}_{s}\right)(x)= 0,\displaystyle 0,
(VsiD^π(Vsi)(1γ)d^xi𝟏s)(x)=\displaystyle\left(V_{s}^{i}-\hat{D}_{\pi}(V_{s}^{i})-(1-\gamma)\hat{d}_{x}^{i}\mathbf{1}_{s}\right)(x)= 0.\displaystyle 0.

Then Dπ(Vsi)(x)=D^π(Vsi)(x)D_{\pi}(V_{s}^{i})(x)=\hat{D}_{\pi}(V_{s}^{i})(x), and hence πasi(x)\pi_{a}^{si}(x) is a Nash equilibrium. ∎

Proof of Proposition 11.

Note that the limit is always a perfect equilibrium as long as Vs,kiV_{s,k}^{i} converges under the assumption that Dπk(Vsi)=D^πk(Vsi)D_{\pi_{k}}(V_{s}^{i})=\hat{D}_{\pi_{k}}(V_{s}^{i}), so it is suffice to show that Vs,kiV_{s,k}^{i} converges.

First, use (i) to prove (ii). Consider VsiδYsiVsi+δV_{s}^{i}-\delta\leq Y_{s}^{i}\leq V_{s}^{i}+\delta, where Vsi,YsiO(V^si)V_{s}^{i},Y_{s}^{i}\in O(\hat{V}_{s}^{i}) and δ=VsiYsi\delta=\lVert V_{s}^{i}-Y_{s}^{i}\rVert_{\infty} is small enough. Using VsiYsiD(Vsi)D(Ysi)V_{s}^{i}\leq Y_{s}^{i}\rightarrow D(V_{s}^{i})\leq D(Y_{s}^{i}), there is

D(Vsi)γδD(Ysi)D(Vsi)+γδ.D(V_{s}^{i})-\gamma\delta\leq D(Y_{s}^{i})\leq D(V_{s}^{i})+\gamma\delta.

Then we obtain D(Vsi)D(Ysi)γVsiYsi\lVert D(V_{s}^{i})-D(Y_{s}^{i})\rVert_{\infty}\leq\gamma\lVert V_{s}^{i}-Y_{s}^{i}\rVert_{\infty}. Thus, DD is a contraction mapping on O(V^si)O(\hat{V}_{s}^{i}), and Vs,kiO(V^si)V_{s,k}^{i}\in O(\hat{V}_{s}^{i}) converges by the contraction mapping theorem.

By VsiYsiD(Vsi)D(Ysi)V_{s}^{i}\leq Y_{s}^{i}\rightarrow D(V_{s}^{i})\leq D(Y_{s}^{i}) and Vs,0iCπ0V_{s,0}^{i}\in C_{\pi_{0}}, we have Vs,k+1iVs,kiV_{s,k+1}^{i}\leq V_{s,k}^{i} for all kk, and hence we obtain Vs,kiCπkV_{s,k}^{i}\in C_{\pi_{k}} for all kk.

Then use (ii) to prove (iii). Monotonicity follows directly from Vs,kiCπkV_{s,k}^{i}\in C_{\pi_{k}} for all kk, and convergence already holds, and hence (iii) is obtained.

Then use (iii) to prove (iv). It is obtained directly from monotonicity.

Finally, use (iv) to prove (iii). It follows from Vs,k+1iVs,kiD(Vs,k+1i)D(Vs,ki)V_{s,k+1}^{i}\leq V_{s,k}^{i}\rightarrow D(V_{s,k+1}^{i})\leq D(V_{s,k}^{i}) that

Vs,kiCπkVs,k+1iCπk+1,V_{s,k}^{i}\in C_{\pi_{k}}\rightarrow V_{s,k+1}^{i}\in C_{\pi_{k+1}},

and thus Vs,kiCπkV_{s,k}^{i}\in C_{\pi_{k}} for all kk. Considering Vs,0iCπ0V_{s,0}^{i}\in C_{\pi_{0}}, it follows that Vs,kiV_{s,k}^{i} monotonically decreases by Theorem 9 (i).

Note that Vsi<πAs(uAsi+γTsAsVsi)V_{s}^{i}<\pi_{A}^{s}(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i}) for any πasi\pi_{a}^{si} when Vsi<minAsiuAsi/(1γ)V_{s}^{i}<\min_{A}^{si}u_{A}^{si}/(1-\gamma), that is, πCπ\bigcup_{\pi}C_{\pi} is bounded, and thus there is a lower bound for Vs,kiV_{s,k}^{i}. Hence Vs,kiV_{s,k}^{i} converges by the monotone convergence theorem. ∎

Proof of Theorem 12.

The existence of a sequence {mki}k\{m_{k}^{i}\}_{k\in\mathbb{N}} such that Vs,ki+mki𝟏sC^πkV_{s,k}^{i}+m_{k}^{i}\mathbf{1}_{s}\in\hat{C}_{\pi_{k}} for all kk\in\mathbb{N} is guaranteed by Proposition 8 (iii).

First, suppose Vs,kiV_{s,k}^{i} converges to a perfect equilibrium value function V~si\tilde{V}_{s}^{i}, then V~si=Dπ~(V~si)\tilde{V}_{s}^{i}=D_{\tilde{\pi}}(\tilde{V}_{s}^{i}) for some π~asi\tilde{\pi}_{a}^{si}, and thus limkmki=0\lim_{k\to\infty}m_{k}^{i}=0.

Conversely, suppose limkmki=0\lim_{k\to\infty}m_{k}^{i}=0, then Vs,kiV_{s,k}^{i} monotonically decreases when kk is large enough since Vs,ki+mki𝟏sC^πkV_{s,k}^{i}+m_{k}^{i}\mathbf{1}_{s}\in\hat{C}_{\pi_{k}}. Note that VπsiV_{\pi s}^{i} is bounded below, and thus Vs,kiV_{s,k}^{i} satisfies the monotone convergence property and converges to some V~si\tilde{V}_{s}^{i}. It follows from limkmki=0\lim_{k\to\infty}m_{k}^{i}=0 that V~si=Vπ~si\tilde{V}_{s}^{i}=V_{\tilde{\pi}s}^{i} and V~siC^π~\tilde{V}_{s}^{i}\in\hat{C}_{\tilde{\pi}} for some π~asi\tilde{\pi}_{a}^{si}. Hence, V~si\tilde{V}_{s}^{i} is a perfect equilibrium value function. ∎

Proofs in section 5

Proof of Theorem 13.

Note that UAsi=uAsi+γTsAsVsiU_{A}^{si}=u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i}, then there is

D^π(Vsi)Dπ(Vsi)=maxaπAasi(uAsi+γTsAsVsi)πAs(uAsi+γTsAsVsi)\displaystyle\hat{D}_{\pi}(V_{s}^{i})-D_{\pi}(V_{s}^{i})=\max_{a}\pi_{Aa}^{si-}(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i})-\pi_{A}^{s}(u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{s^{\prime}}^{i})
=\displaystyle= a(πasi(maxaπAasiUAsiπAasiUAsi))=𝟏aμ¯asi(Vsi,πasi)\displaystyle\sum_{a}\left(\pi_{a}^{si}\circ\left(\max_{a}\pi_{Aa}^{si-}U_{A}^{si}-\pi_{Aa}^{si-}U_{A}^{si}\right)\right)=\mathbf{1}_{a}\bar{\mu}_{a}^{si}(V_{s}^{i},\pi_{a}^{si})

(i) being equivalent to (ii) follows from the definition of perfect equilibrium that Vsi=VπsiV_{s}^{i}=V_{\pi s}^{i} and πasi\pi_{a}^{si} is a Nash equilibrium of UπAsi=uAsi+γTsAsVπsiU_{\pi A}^{si}=u_{A}^{si}+\gamma T_{s^{\prime}A}^{s}V_{\pi s^{\prime}}^{i} for every state ss, which is equivalent to μ¯asi(Vπsi,πasi)=0\bar{\mu}_{a}^{si}(V_{\pi s}^{i},\pi_{a}^{si})=0 by Theorem 5 (iii).

(i) being equivalent to (iii) follows from Vπsi=Dπ(Vπsi)V_{\pi s}^{i}=D_{\pi}(V_{\pi s}^{i}) and Theorem 10 (i).

(i) being equivalent to (iv) follows from (iii) and that the objective πasirasi\pi_{a}^{si}r_{a}^{si} of problem (3) is larger than 00. ∎

Proof of Theorem 14.

(i) Similar to Theorem 4, π^asi=M(μasi)(πasi)\hat{\pi}_{a}^{si}=M(\mu_{a}^{si})(\pi_{a}^{si}) is still a map, such that the Brouwer’s fixed point theorem still applies.

(ii) Similar to Theorem 7, unbiased KKT conditions (1) still derive a polynomial function from πasi\pi_{a}^{si} to μasi\mu_{a}^{si} by multiplying the determinant |IssγTπss||I_{s^{\prime}}^{s}-\gamma T_{\pi s^{\prime}}^{s}| to the second line, where |IssγTπss||I_{s^{\prime}}^{s}-\gamma T_{\pi s^{\prime}}^{s}| is non-zero for every πasi𝒫\pi_{a}^{si}\in\mathcal{P} due to Lemma 16 (ii), such that the Newton-Puiseux theorem still applies. ∎

Proof of Proposition 15.

(i) By the iteration formula, the residual VsiDπ(Vsi+mi𝟏s)V_{s}^{i}-D_{\pi}(V_{s}^{i}+m^{i}\mathbf{1}_{s}) satisfies

Dπ(Vsi+mi𝟏s)Dπ(Dπ(Vsi+mi𝟏s)+mi𝟏s)=γTπss(VsiDπ(Vsi+mi𝟏s)).D_{\pi}(V_{s}^{i}+m^{i}\mathbf{1}_{s})-D_{\pi}(D_{\pi}(V_{s}^{i}+m^{i}\mathbf{1}_{s})+m^{i}\mathbf{1}_{s})=\gamma T_{\pi s^{\prime}}^{s}\left(V_{s}^{i}-D_{\pi}(V_{s}^{i}+m^{i}\mathbf{1}_{s})\right).

Note that γ[0,1)\gamma\in[0,1) and TπssT_{\pi s^{\prime}}^{s} are constant, and VsiDπ(Vsi+mi𝟏s)V_{s}^{i}-D_{\pi}(V_{s}^{i}+m^{i}\mathbf{1}_{s}) converges to 00 as iteration. Thus, VsiDπ(Vsi+mi𝟏s)\lVert V_{s}^{i}-D_{\pi}(V_{s}^{i}+m^{i}\mathbf{1}_{s})\rVert_{\infty} converge to 00 linearly with a rate of γ\gamma.

(ii) Denote μ~ai(πai):=μai(𝟏aμai)πai\tilde{\mu}_{a}^{i}(\pi_{a}^{i}):=\mu_{a}^{i}-(\mathbf{1}_{a}\mu_{a}^{i})\circ\pi_{a}^{i}, the difference of μ~ai(πai)\tilde{\mu}_{a}^{i}(\pi_{a}^{i}) is

dμ~ai(πai)=dμai(𝟏a(μai+dμai))dπai(𝟏adμai)πai.d\tilde{\mu}_{a}^{i}(\pi_{a}^{i})=d\mu_{a}^{i}-(\mathbf{1}_{a}(\mu_{a}^{i}+d\mu_{a}^{i}))\circ d\pi_{a}^{i}-(\mathbf{1}_{a}d\mu_{a}^{i})\circ\pi_{a}^{i}.

According to the Taylor’s formula of dπaid\pi_{a}^{i} with respect to dμai(𝟏adμai)πaid\mu_{a}^{i}-(\mathbf{1}_{a}d\mu_{a}^{i})\circ\pi_{a}^{i}, there is

dπai=πai(μajdπaiπaidμajdμaj(𝟏adμaj)πajμaj)+o(dμai(𝟏adμai)πai).d\pi_{a}^{i}=\pi_{a}^{i}\circ\left(\frac{\mu_{a^{\prime}}^{j}d\pi_{a}^{i}}{\pi_{a}^{i}d\mu_{a^{\prime}}^{j}}\frac{d\mu_{a^{\prime}}^{j}-(\mathbf{1}_{a^{\prime}}d\mu_{a^{\prime}}^{j})\circ\pi_{a^{\prime}}^{j}}{\mu_{a^{\prime}}^{j}}\right)+o(d\mu_{a}^{i}-(\mathbf{1}_{a}d\mu_{a}^{i})\circ\pi_{a}^{i}).

Then we substitute in dπaid\pi_{a}^{i} and dμai=ηiμai+βiπaid\mu_{a}^{i}=-\eta^{i}\circ\mu_{a}^{i}+\beta^{i}\circ\pi_{a}^{i}, while noting that the part of dπaid\pi_{a}^{i} due to the term βiπai\beta^{i}\circ\pi_{a}^{i} is 00 for any βi\beta^{i} on the equilibrium bundle, and obtain

dμ~ai(πai)\displaystyle d\tilde{\mu}_{a}^{i}(\pi_{a}^{i}) =ηj(I(1ηi)μaiμajdπaiπaidμajμaj1)μ~aj(πai)\displaystyle=-\eta^{j}\circ\left(I-(1-\eta^{i})\circ\mu_{a}^{i}\circ\frac{\mu_{a^{\prime}}^{j}d\pi_{a}^{i}}{\pi_{a}^{i}d\mu_{a^{\prime}}^{j}}\circ{\mu_{a^{\prime}}^{j}}^{-1}\right)\tilde{\mu}_{a^{\prime}}^{j}(\pi_{a}^{i})
+ηj(1ηi)((𝟏aμai)o(μ~ai(πai))μ~ai(πai)μajdπaiπaidμajμ~aj(πai)μaj)\displaystyle+\eta^{j}\circ(1-\eta^{i})\circ\left((\mathbf{1}_{a}\mu_{a}^{i})\circ o(\tilde{\mu}_{a}^{i}(\pi_{a}^{i}))-\tilde{\mu}_{a}^{i}(\pi_{a}^{i})\circ\frac{\mu_{a^{\prime}}^{j}d\pi_{a}^{i}}{\pi_{a}^{i}d\mu_{a^{\prime}}^{j}}\frac{\tilde{\mu}_{a^{\prime}}^{j}(\pi_{a}^{i})}{\mu_{a^{\prime}}^{j}}\right)

The second additive is a higher-order infinitesimal with respect to μ~ai(πai)\tilde{\mu}_{a}^{i}(\pi_{a}^{i}). The differential (μajdπai)/(πaidμaj)(\mu_{a^{\prime}}^{j}d\pi_{a}^{i})/(\pi_{a}^{i}d\mu_{a^{\prime}}^{j}) of the equilibrium bundle tends to II as μai\mu_{a}^{i}\to\infty on the fiber over πai\pi_{a}^{i}, then there always exists a large enough μai\mu_{a}^{i} on the fiber over πai\pi_{a}^{i} such that the eigenvalues of (I(1ηi)μai((μajdπai)/(πaidμaj))μaj1)(I-(1-\eta^{i})\circ\mu_{a}^{i}\circ((\mu_{a^{\prime}}^{j}d\pi_{a}^{i})/(\pi_{a}^{i}d\mu_{a^{\prime}}^{j}))\circ{\mu_{a^{\prime}}^{j}}^{-1}) are all positive for a given ηi\eta^{i}. Note that μ~ai(πai)\tilde{\mu}_{a}^{i}(\pi_{a}^{i}) converges to 00 as long as πai\pi_{a}^{i} converges according to the iteration formula, and μai0\mu_{a}^{i}\to 0 is sufficient to let πai\pi_{a}^{i} converge. Thus, μ~ai(πai)\lVert\tilde{\mu}_{a}^{i}(\pi_{a}^{i})\rVert_{\infty} converges to 00 linearly.

Then we show μ¯ai(πai)\lVert\bar{\mu}_{a}^{i}(\pi_{a}^{i})\rVert_{\infty} also converges to 00 linearly.

μ~ai(πai)=(μai(𝟏aμai)πai)=πai(πAUπAiπAaiUπAi)\tilde{\mu}_{a}^{i}(\pi_{a}^{i})=\left(\mu_{a}^{i}-(\mathbf{1}_{a}\mu_{a}^{i})\circ\pi_{a}^{i}\right)=\pi_{a}^{i}\circ\left(\pi_{A}U_{\pi A}^{i}-\pi_{Aa}^{i-}U_{\pi A}^{i}\right)
μ¯ai(πai)=πai(maxaπAaiUπAiπAaiUπAi)=μ~ai(πai)+πai(maxaπAaiUπAiπAUπAi)\bar{\mu}_{a}^{i}(\pi_{a}^{i})=\pi_{a}^{i}\circ\left(\max_{a}\pi_{Aa}^{i-}U_{\pi A}^{i}-\pi_{Aa}^{i-}U_{\pi A}^{i}\right)=\tilde{\mu}_{a}^{i}(\pi_{a}^{i})+\pi_{a}^{i}\circ\left(\max_{a}\pi_{Aa}^{i-}U_{\pi A}^{i}-\pi_{A}U_{\pi A}^{i}\right)

Note that when μ~ai(πai)<ϵ\lVert\tilde{\mu}_{a}^{i}(\pi_{a}^{i})\rVert_{\infty}<\epsilon, there exists a coefficient kk irrelevant to ϵ\epsilon such that either πai<kϵ\pi_{a}^{i}<k\epsilon or |πAUπAiπAaiUπAi|<kϵ|\pi_{A}U_{\pi A}^{i}-\pi_{Aa}^{i-}U_{\pi A}^{i}|<k\epsilon for every index (i,a)(i,a). Then we have specifically |πAUπAimaxaπAaiUπAi|<kϵ|\pi_{A}U_{\pi A}^{i}-\max_{a}\pi_{Aa}^{i-}U_{\pi A}^{i}|<k\epsilon for the corresponding index since the algorithm leads to Nash equilibria. It follows that μ~ai(πai)<ϵ\lVert\tilde{\mu}_{a}^{i}(\pi_{a}^{i})\rVert_{\infty}<\epsilon implies μ¯ai(πai)<(k+1)ϵ\lVert\bar{\mu}_{a}^{i}(\pi_{a}^{i})\rVert_{\infty}<(k+1)\epsilon with kk irrelevant to ϵ\epsilon. Hence, μ¯ai(πai)\lVert\bar{\mu}_{a}^{i}(\pi_{a}^{i})\rVert_{\infty} converges to 00 linearly.

(iii) Consider unbiased barrier problem (8) with (π^ai,r^ai)(\hat{\pi}_{a}^{i},\hat{r}_{a}^{i}) being variables instead of parameters. By the objective function and constraint raivi+πAaiUAi=0r_{a}^{i}-v^{i}+\pi_{Aa}^{i-}U_{A}^{i}=0, and noting that 𝟏aπ^ai𝟏i=0\mathbf{1}_{a}\hat{\pi}_{a}^{i}-\mathbf{1}^{i}=0 implies (πaiπ^ai)dvi=0(\pi_{a}^{i}-\hat{\pi}_{a}^{i})dv^{i}=0, the differential of objective function is

(πaiπ^ai)(drai+μai/πai2dπai)+(rair^ai)(dπai+μai/rai2drai)\displaystyle\left(\pi_{a}^{i}-\hat{\pi}_{a}^{i}\right)\left(dr_{a}^{i}+\mu_{a}^{i}/{\pi_{a}^{i}}^{2}\circ d\pi_{a}^{i}\right)+\left(r_{a}^{i}-\hat{r}_{a}^{i}\right)\left(d\pi_{a}^{i}+\mu_{a}^{i}/{r_{a}^{i}}^{2}\circ dr_{a}^{i}\right)
=\displaystyle= (((2πaiπ^aiπai)(πaiπ^ai))(Diag(rai)πAaaijUAiπaj)+(πajπ^aj)2dvjdπaj)dπajπaj\displaystyle\left(\left(\left(2-\frac{\pi_{a}^{i}-\hat{\pi}_{a}^{i}}{\pi_{a}^{i}}\right)\circ\left(\pi_{a}^{i}-\hat{\pi}_{a}^{i}\right)\right)\left({\rm Diag}(r_{a}^{i})-\pi_{Aaa^{\prime}}^{ij-}U_{A}^{i}\circ\pi_{a^{\prime}}^{j}\right)+\left(\pi_{a^{\prime}}^{j}-\hat{\pi}_{a^{\prime}}^{j}\right)^{2}\frac{dv^{j}}{d\pi_{a^{\prime}}^{j}}\right)\frac{d\pi_{a^{\prime}}^{j}}{\pi_{a^{\prime}}^{j}}

This projected gradient and the projected gradient (10) only differ by two higher-order infinitesimals. Note also that on a non-singular point, unbiased barrier problem (8) is locally strictly convex as Theorem 6 (iii) has proved. Considering that projected gradient descent is known to converge sublinearly, projected gradient descent (10) converges sublinearly if the convergence point is non-singular.