Constrained Exploitability Descent: An Offline Reinforcement Learning Method for Finding Mixed-Strategy Nash Equilibrium

Definition 5.3 (Unexploitable). We say a joint policy (µ, ν)           Therefore, it holds for all s ∈ S that psa = 0, ∀a ∈ A,
in an MG is unexploitable if both µ and ν are unexploitable            which  further implies that zasP= c(s), ∀a ∈ A. As a result,
                                                                                                                     µ̄,ν̄
                                                                       P
with respect to each other. Specifically, ∀s ∈ S:                        b∈B ν̄(s, b)Q̄(s, a, b) =      b∈B ν̄(s, b)Q      (s, a, b) =
                                                                       c(s), ∀a ∈ A, which means that the min-player policy ν̄ is
µ is unexploitable: a∈A µ(s, a)Qµ,ν (s, a, b) = cνµ (s), ∀b
                    P
                                                                       unexploitable with respect to µ̄.
ν is unexploitable: b∈B ν(s, b)Qµ,ν (s, a, b) = cµν (s), ∀a
                    P

Intuitively, a policy µ is unexploitable with respect to an            With Theorem 5.6, if we run Algorithm 2 twice by ex-
opponent policy ν in an MG if all of the opponent actions b            changing the status of the two players and both max-player
have the same constant value cνµ (s) under each s ∈ S. As a            policies converge to an interior point, then the last iterates
result, the opponent cannot exploit µ by deviating from ν at           (µ, ν̂) and (µ̂, ν) can construct an unexploitable joint policy
any state. Lemma 5.4 shows this property can characterize              (µ̂, ν̂). Policy constraints play an important role in support-
the mixed-strategy Nash equilibria with full support.                  ing this claim. On the one hand, the distance between µ
                                                                       and µβ is restricted by the direct policy constraint. On the
Lemma 5.4 (Property of Interior NE). If a Nash equilibrium
                                                                       other hand, the indirect policy penalty can also bound the
(µ∗ , ν ∗ ) in an MG has full support on the action space
                                                                       distance between µ̂ and µβ (corresponding to the νk and
(thus being an interior point of the joint policy space), then
                                                                       νβ in Algorithm 2 after the status exchange; see Lemma
(µ∗ , ν ∗ ) is unexploitable.
                                                                       A.1 in Appendix A.6 for an explicit bound). Since both
Now we demonstrate that ν̄ at any stationary point of CED              µ and µ̂ are close to µβ under policy constraints, we have
is also an unexploitable min-player policy in the MG. We               Qµ,ν̂ ≈ Qµβ ,ν̂ ≈ Qµ̂,ν̂ , which implies that ν̂ is also un-
first provide an auxiliary lemma to show the update of µ at            exploitable with respect to µ̂. By symmetry, it is direct to
each state s ∈ S can be equivalently enforced   within the             show that the joint policy (µ̂, ν̂) is unexploitable and thus
                                          P
hyperplane of probability simplex, where a µ(s, a) = 1.                constructs a potential mixed-strategy Nash equilibrium.
Lemma 5.5 (UpdateP      Projection). Let zas be the original           In Appendix C, we combine the existing theory to provide
update αρD (s)P b∈B νk (s, b)Qk+1 (s, a, b) for µk (s, a) in           an overall explanation about the advantages of the CED
CED. Let y = a∈A zas be the summation over A and de-                   method. In the next section, we will further verify through
                                          y
fine the projected update as psa = zas − |A| . Then, replacing         experiments that CED can practically find NE policies un-
      s       s                                                        der uniform coverage. Under non-uniform data coverages,
all za with pa results in the same µk+1 (s) in CED.
                                                                       we also find that CED can gradually improve the behavior
We call psa a projected update because a∈A psa = 0 and
                                          P
                                                                       policy and eventually obtain a competitive policy.
(µ(s, a) + psa )a∈A is kept in the hyperplane of probability
simplex. Using Lemma 5.5, we can prove that ν̄ is unex-
                                                                       6. Experiments
ploitable under an interior point assumption (sufficient also
for the theoretical analysis of ED (Lockhart et al., 2019)).           We conduct experiments for tabular CED in matrix games, a
Theorem 5.6 (Unilateral Unexploitability). Let Π(s) =                  tree-form game, and a soccer game. We also evaluate CED
Π1 (s) ∩ Π2 (s) be the feasible region for µ(s), where Π1 (s)          under function approximations in a robotic combat game.
is the probability simplex and Π2 (s) is the region induced
by the constraint D(µ(s), µβ (s)) ≤ δ. For any stationary              6.1. Matrix Game
point (Q̄, µ̄, ν̄) of CED, if µ̄(s) is an interior point of Π(s)
                                                                       We first examine if CED manages to find mixed-strategy
for all s ∈ S, then ν̄ is an unexploitable policy with respect
                                                                       Nash equilibrium in static matrix games. We consider two
to µ̄ under the uniform coverage assumption.
                                                                       games with two valid actions from {1, 2} for both play-
                                                                       ers. The payoff matrices are M1 = ((1, 0), (−2, 4)) and
Proof. As D∗ covers all (s, a, b) tuples and the MG is de-             M2 = ((1, 0), (−2, 3)), where the rows correspond to the
terministic, a stable Q̄ with respect to (µ̄, ν̄) in CED cor-          actions of the max-player and the columns correspond
responds to the true value Qµ̄,ν̄ . Since (µ̄(s, a) + psa )a∈A                                            ∗       6     ∗       4
                                                                                                                                   to
                                                                       the actions of the min-player.    µ  (1) = 7 , ν   (1) = 7  and
is in the hyperplane of Π(s) and µ̄ is stable with respect to
                                                                        µ∗ (1) = 56 , ν ∗ (1) = 12 are the unique NEs in the games.
                                                                                                  
(Q̄, ν̄), we can consider the following two cases:
                                                                       The learning curves of (µ, ν) for CED (α = 0.01,ϵ =
Case i: (µ̄(s, a) + psa )a∈A belongs to Π(s). Then, µ̄(s) =
                                                                       1.0) under uniform coverage µβ (1) = 12 , νβ (1) = 12 are
(µ̄(s, a) + psa )a∈A ⇒ psa = 0, ∀a ∈ A.
                                                                       shown in Figure 1. The y-axis indicates the probability
Case ii: (µ̄(s, a) + psa )a∈A does not belong to Π(s). Then,           of choosing action 1 under the corresponding policy. The
µ̄(s) is the closest point in Π(s) with respect to the point           dashed lines show the action probabilities of the unique
(µ̄(s, a) + psa )a∈A in the same hyperplane. This contradicts          NE policy. In both games, CED manages to learn the equi-
the assumption that µ̄(s) is an interior point of Π(s).                librium policy ν = ν ∗ for the min-player. This result is

                                                                   6
