               A-PSRO: A Unified Strategy Learning Method with Advantage Metric for Normal-form Games

Algorithm 2 Strategy exploration process of A-PSRO in zero-sum games
Input: Population (Pi , Pj ), meta-Nash equilibrium (θi , θj ), strategy to be updated of the agent πit .
Parameter: diversity weight λd , learning rate lr , improvement bound cm .
 1: Randomly generate dr ∼ U[0, 1].
 2: if dr ≤ λd then
 3:    ∆π = argmax∆π∈A [EC(Pi \ {πit } ∪ {(1 − lr ) · πit + lr · ∆π} | Pj )].
 4:    πi∗ = (1 − lr ) · πit + lr · ∆π.
 5: else
 6:    Randomly generate lr ∼ U[0, min(lr , ∥θi ∥∞ )].
 7:    ∆π = argmax∆π∈A Vi [(1 − lr ) · θi + lr · ∆π].
 8:    πi∗ = (1 − lr ) · θi + lr · ∆π.
 9: end∗if
       π ×U ×θ
10: if πit ×U i×θ j − 1 ≥ cm then
         i   i   j

11:    πit = πi∗ .
12: else
13:    πit = πi∗ . Then randomly generate πit+1 , Pi = Pi ∪ {πit+1 }. (The randomly generated strategy πit+1 will be updated
       in the next iteration, this is equivalent to adding an explored strategy.)
14: end if
15: return Pi .
Output: Pi


In Algorithm 2, we combine the diversity module and our LookAhead module. The EC (expected cardinality) function is
the diversity measure used in (Perez-Nieves et al., 2021):

                                           EC(Pi | Pj ) := Tr(I − (L + I)−1 )
                                                                                                                       (38)
                                           L = Mi MTi , Mi = Pi × Ui × Pj .

Here Tr denotes the trace of a matrix. In all zero-sum game experiments, we control the proportion of diversity and
LookAhead modules with a uniform parameter λd . We find from our experimental results that A-PSRO achieves good
convergences in games with different transitive and cyclic structures.

B.4. A-PSRO for Solving Two-Player General-Sum Games
In experiments with general-sum games, we find that the diversity module does not contribute to improving the reward
of the strategy learning process. Therefore, the strategy exploration process of our algorithm A-PSRO contains only the
LookAhead module. The Pseudo-Code of A-PSRO is given in Algorithm 3. In Algorithm 3, the meta-solver of the oracle
              k
O(Pi , Pj | πi,j ) is the fictitous play with 1000 itereations. In our experiments, we set the number of repeats k = 10. The
rest of the A-PSRO algorithm in the general-sum game is consistent with the zero-sum game.

B.5. A-PSRO for Solving Multi-Player Games
The main modification in applying A-PSRO algorithm to solve multi-player games is the computation of the advantage
function. Unlike the two-player game with direct utilization of the best response BR, the computation of the advantege
of the strategy πi requires the usage of oracle O(Π−i | πi ). In multi-player games, we adopt the joint best response as
an approximation to the optimistic equilibrium. The Pseudo-Code of calculating the advantage in A-PSRO is given in
Algorithm 4. Besides the computation of the advantage function, A-PSRO is consistent with the two-player game in the
multi-player game.




                                                            20
