scieee AI-readable full text Open interactive document viewer

A computational model of outguessing in two-player non-cooperative games

Balogh, Tamás László; Kormos, János

Full text

Acta Univ. Sapientiae, Informatica, 6, 1 (2014) 71–88 A computational model of outguessing in two-player non-cooperative games Tam´as L´aszl´o BALOGH University of Debrecen email: [email protected] J´anos KORMOS University of Debrecen email: [email protected] Abstract. Several behavioral game theory models aim at explaining why “smarter“ people win more frequently in simultaneous zero-sum games, a phanomenon, which is not explained by the Nash equilibrium concept. We use a computational model and a numerical simulation based on Markov chains to describe player behavior and predict payoffs. 1 Introduction Since the birth of experimental economics, thousands of experiments have been conducted to observe the behavior of decision makers in different situations (see e.g. [4]). However, the most famous equilibrium concept—the Nash equilibrium [13]— has proved to be unable to explain the outcome of several game theoretical experiments, predicting that human thinking is more complicated than pure rationality. Game theory has also proved to be a useful modelling tool for network situations, e.g. telecommunication problems. For a detailed survey in this field, we refer the reader to [15]. An application can be found in [1]. Computing Classification System 1998: G.3, I.6, J.4 Mathematics Subject Classification 2010: 60J20, 62P20, 68U20, 91A10 Key words and phrases: computational game theory, non-cooperative games, outguessing, Markov chains, reasoning, communication networks DOI:10.2478/ausi-2014-0019 71 72 T. L. Balogh, J. Kormos The phanomenon that human behavior is not purely rational in certain interactive network situations led researchers to construct behavioral game theory models. Recently, several models have been built to explain experimental results (e.g. [2,7]). A popular model class aiming at explaining how players outguess each other is the group of iterative reasoning models. Iterative reasoning has been applied in many settings to the Rock-Paper-Scissors game or the Beauty contest-type games ([3,5,8,11,12,16]). The concept of iterative reasoning and the corresponding main results are presented in [4, pages 205–236]. A simplified concept for non-cooperative, twoperson, simultaneous games can be defined as follows. If Player A plays a certain action, while Player B plays the best response to this action, then we say that Player B outguessed Player A and played according to 1-reasoning. If now Player A outguesses Player B, then Player A plays according to 2- reasoning. Following this rule, the level of reasoning can be any kpositive integer, where the concept is defined as k-reasoning. In this paper we investigate simultaneous, two-person, zero-sum, repeated games that do not have a pure strategy Nash equilibrium and the players’ decisions depend only on their actions in the previous round of the game. Here, the stochastic processes of the players’ decisions and their expected payoffs can be described by Markov chains. Our main goal is to point out why “smarter” people win more frequently in some well-known zero-sum games. There are several ways to define smartness. Our definition of smartness is connected to the concept of iterative reasoning and is introduced later on in Section 3. We focus on modelling players’ optimal strategy choices and expected payoffs. These are both stochastic processes given a certain bimatrix game and the level of iterative reasoning according to which players make their decisions. We constructed a Matlab script that carries out the requested numerical analysis for any simultaneous, two-person bimatrix game. In our paper we present the relating analytical results, describe our concept and recall some numerical results and visualizations. Our Matlab script is also attached for testing and experimental purposes. The rest of the paper is organized as follows. Section 2recalls some important results in the field of Markov chains that are related to our topic. Section 3describes our concept and provides numerical evidence. Section 4describes the Matlab script. Finally, Section 5concludes. A computational model of outguessing 73 2 Markov chains—definitions and some important results It is necessary to recall some basic results from the field of Markov chains that we use in the upcoming sections. For a more detailed analysis, we refer the reader to [6,9,10,14]. This section is a brief summary of Chapter 4 in [6, pages 119–155], that is related to our concept. The proofs are always omitted. Definition 1 Let Sbe a countable (finite or countably infinite) set. An S- valued random variable Xis a function from a sample space ωinto Sfor which {X=x}is an event for every x∈S. Here Sneed not be a subset of R, so this extends the notion of a discrete random variable (or vector). The concepts of distribution, jointly distributed random variables, and so on, extend in the obvious way. The expectation of X, however, is not meaningful unless S⊂R. On the other hand, the conditioning random variables in a conditional expectation may be S-valued, and all of the results about conditional expectation generalize without difficulty. Definition 2 A matrix P= (P(i, j))i,j∈Swith rows and columns indexed by Sis called a one-step transition matrix if P(i, j)≥0for all i, j ∈Sand Pj∈SP(i, j) = 1for all i∈S. In particular, the row sums of a one-step transition matrix are equal to 1. We call P(i, j), the entry in row iand column jof the matrix P, a one-step transition probability. Definition 3 We say that {Xn}n≥0is a Markov chain in a countable state space Swith one-step transition matrix Pif X0, X1, . . . is a sequence of jointly distributed S-valued random variables with the property that P(Xn+1=j|X0,...,Xn) = P(Xn+1=j|Xn) = P(Xn, j)(1) for all n≥0and j∈S. We assume that the sequence X0, X1, . . . is indexed by time, and if we regard time nas the present, the first equation in (1), known as the Markov property, says that the conditional distribution of the state of the process one time step into the future, given its present state as well as its past history, depends only on its present state. The second equation in (1) tells us that P(Xn+1=j|Xn= i) = P(i, j)does not depend on n. This property is called time homogeneity. 74 T. L. Balogh, J. Kormos The distribution of X0is called the initial distribution and is given by (i) := P(X0=i), i ∈S. A Markov chain can be described by specifying its state space, its initial distribution, and its one-step transition matrix. Given a Markov chain {Xn}n≥0in the state space Swith one-step transition matrix P, it can be shown that, for every m≥1,i0, i1, . . . , im∈S, and n≥ 0,P(Xn+1=i1,...,Xn+m=im|Xn=i0) = P(i0, i1)P(i1, i2). . . P(im−1, im). Definition 4 We define the m-step transition matrix Pmof the Markov chain by Pm(i, j) = X···X i1,...,im−1∈S P(i, i1)P(i1, i2)P(im−1, j)(2) Notice that the superscript mcan be interpreted as an exponent, this is, the m-step transition matrix is the mth power of the one-step transition matrix. This is valid both when Sis finite and when Sis countably infinite. It is easy to check that this allows us to generalize (2), obtaining P(Xn+m=j|X0,...,Xn) = P(Xn+m=j|Xn) = Pm(Xn, j)for all n≥0,m≥1, and j∈S. Given i∈S, let us introduce the notation Pi(·) = P(·|X0=i), with the understanding that the initial distribution is such that P(X0=i)> 0. It can be shown that Pi(X1=i1,...,Xm=im) = P(i, i1)P(i1, i2)···P(im−1, im)(3) for all i1,...,im∈S. Given j∈S, let us introduce the notation Tjfor the first hitting time of state j(or first return time if starting in state j) and Njfor the number of visits to state j(excluding visits at time 0). More precisely, Tj=min {n≥1:Xn=j} and Nj=P∞ n=11{Xn=j}, where min ∅=∞. If also i∈S, we define fij =Pi(Tj< ∞) = Pi(Nj≥1). This is the probability that the Markov chain, starting in state i, ever visits state j(or ever returns to state iif j=i). We can now define transient and recurrent states. Definition 5 We define state jto be transient if fjj < 1 and to be recurrent if fjj =1. Some important features are pointed out in the next propositions. Theorem 6 Letting m→∞it can be shown that Pi(Nj=∞) = 0if jis transient fij if jis recurrent. (4) A computational model of outguessing 75 Theorem 7 For a Markov chain in Swith one-step transition matrix P, state j∈Sis transient if ∞ X n=1 Pn j,j <∞,(5) recurrent if ∞ X n=1 Pn j,j =∞.(6) What is more, given that i, j ∈Sis distinct, if state iis recurrent and fij > 0, then state jis also recurrent and fji =1. Let us define irreducible Markov chains. Definition 8 A Markov chain in Swith one-step transition matrix Pto be irreducible if fij > 0 for all i, j ∈S. By Proposition 2, if a Markov chain in Swith one-step transition matrix P is irreducible, then either all states in Sare transient or all are recurrent. This allows us to refer to an irreducible Markov chain as either transient or recurrent. Now we turn to the analysis of the asymptotic behavior of Markov chains. Let πbe a probability distribution on Ssatisfying πj=X i∈S πiP(i, j), j ∈S. (7) Regarding πas a row vector, this condition is equivalent to π=πP. Iterating, we have π=πP =πP2=. . . =πPn, n ≥1. (8) In particular, if {Xn}n≥0is a Markov chain in Swith one-step transition matrix Pand if X0has distribution π0, then Xnhas distribution πnfor each n≥1. For this reason, a distribution πsatisfying (7) is called a stationary distribution for the Markov chain. We need one more definition to state an important result. Definition 9 The period d(i)of state i∈Sis defined to be d(i) = g.c.d.D(i), D(i) = {n∈N:Pn(i, i)> 0}, where g.c.d. stands for greatest common divisor. We first notice that every state of an irreducible Markov chain has the same period. Note that if i, j ∈Sare such that fij > 0 and fji > 0, then d(i) = d(j). This allows us to speak of the period of an irreducible Markov chain. 76 T. L. Balogh, J. Kormos Definition 10 If the period is 1, we call the chain aperiodic. We can now describe the asymptotic behavior of the n-step transition probabilities of an irreducible aperiodic Markov chain. Theorem 11 If an irreducible aperiodic Markov chain in Swith one-step transition matrix Phas a stationary distribution π, then it is recurrent and lim n→∞ Pn(i, j) = π(j)i, j ∈S. (9) Furthermore, π(i)> 0 for all i∈S. It follows from the previous statement that if an irreducible aperiodic Markov chain in S with one-step transition matrix P has no stationary distribution, then lim n→∞ Pn(i, j) = 0 i, j ∈S. (10) Thus, an irreducible aperiodic Markov chain in a finite state space S has a stationary distribution. Theorem 12 Let {Xn}n≥0be an irreducible aperiodic recurrent Markov chain in Swith one-step transition matrix P. Then one of the following conclusions holds: (a) Ei[Ti]<∞for all i∈S, and Phas a unique stationary distribution π given by π(i) = 1 Ei[Ti], i ∈S. (11) (b) Ei[Ti] = ∞for all i∈S, and Phas no stationary distribution. If (a) holds, then the chain is said to be positive recurrent, and Equation (9) holds. If (b) holds, then the chain is said to be null recurrent, and Equation (10) holds. In the following section we define our concept and point out its relationship with Markov chains. 3 The outguessing equilibrium This section introduces our notion of outguessing equilibrium. We first define the family of games we analyze. A computational model of outguessing 77 Definition 13 In a two person simultaneous normal form game we denote the players by i=1, 2. We denote by Sithe pure strategy set of player i, where si∈Siand S="2 i=1SiThe utility (or payoff) of any player iis given by ui(si, s−i)∈R, where s−idenotes the strategy chosen by the other player. Our main assumptions are as follows. Assumption 1 We restrict attention to generic games, i.e. where the best response correspondance is a function. That means that there exists only one best response for any action of any of the two players. Assumption 2 The game does not have a pure strategy Nash equilibrium. Notice that if the game had a pure strategy Nash equilibrium, mixed strategies and probability distributions would not have to be dealt with. Assumption 3 The game is repeated, the rounds are denoted by 1,2,. .. ,n,. . . Assumption 4 The players are assumed to keep in mind the strategy profile of the previous round (i.e. their own previous choice and their opponent’s previous choice) and nothing else. Assumption 5 Players are assumed to play according to 0-reasoning, 1-reaso- ning, 2-reasoning, . . . , k-reasoning, or a according to a probability distribution of the different reasoning levels. The distributions are exogenously given and do not change among different rounds of the game. The definition of the different reasoning levels are discussed in Section 1. Besides, we define 0-reasoning by playing the same strategy as in the previous round. The exogenously given distribution over the set of reasoning levels is defined as follows. Definition 14 For any player iand any reasoning level klet Pik denote the probability of acting according to k-reasoning. A player is considered smarter than its opponent if his expected reasoning level is higher than that of his opponent. This is how we grab the difference in the complexity of human thinking and try to point out why smarter people may win more frequently in several strategic interactions. We begin the analysis with the description of the equilibrium concept for the simplest case, where both players have two strategies each. 78 T. L. Balogh, J. Kormos 3.1 The 2-by-2 model Initially, we restrict attention to two-player 2x2 games with the following general payoff matrix: Player 2 q 1 −q Left Right Player 1 pTop uTL;vTL uTR;vTR 1−pBottom uBL;vBL uBR;vBR Table 1: The 2-by-2 game According to Table 1, Player 1’s strategies are Top and Bottom, while Player 2 can choose between Left and Right. p, 1−p, q, 1−qare the respective strategy choice probabilities. Finally, uij, vij (where i∈{T, B}and j∈{L, R}) are the two players’ payoff levels given a certain strategy pair. According to Assumption 2, we assume that the game does not have a pure strategy Nash-equilibrium. A necessary and sufficient condition for this is uTL > uBL, uBR > uTR, vTR > vTL, vBL > vBR.(12) This means that the best responses of both players are given for any action of their opponent. E.g. if Player 1 chooses Top, then Player 2’s best response is Right, as vTR > vTL. For games that do not have a pure strategy Nash equilibrium, the classical solution is the mixed strategy Nash equilibrium. As a reference point, we provide the formulas for calculating the Nash-equlibrium mixing probabilities of the two players for the game using the notations of Table 1: pnash =vBL −vBR vBL −vBR +vTR −vTL ,(13) qnash =uBR −uTR uBR −uTR +uTL −uTR .(14) However, the mixed strategy Nash equilibrium has been criticized, as several experiments pointed out that it does not describe player behavior properly (e.g. [2,7]). As described in the introduction, these findings led researchers to construct behavioral game theory models that may explain the way of strategic thinking more precisely. Our model tries to provide a mathematical framework for player behavior. We introduce our concept of play history in the next definition. A computational model of outguessing 79 Definition 15 We use the notion history for the strategy profile of the previous round of the game. The history of the game described by Table 1can be the following: (Top;Left), (Top;Right), (Bottom;Left) and (Bottom;Right). Depending on the history, we can define four different games, where the strategies and the payoffs are the same. The only difference is that both players keep the history in mind and this has an influence on their decisions, i.e. their strategy mixing probabilities. The payoff and probability matrices with the four different histories are as follows. Player 2 qTL 1−qTL Left Right Player 1 pTL Top uTL;vTL uTR;vTR 1−pTL Bottom uBL;vBL uBR;vBR Table 2: The game with (Top, Left) history Player 2 qTR 1−qTR Left Right Player 1 pTR Top uTL;vTL uTR;vTR 1−pTR Bottom uBL;vBL uBR;vBR Table 3: The game with (Top, Right) history Player 2 qBL 1−qBL Left Right Player 1 pBL Top uTL;vTL uTR;vTR 1−pBL Bottom uBL;vBL uBR;vBR Table 4: The game with (Bottom, Left) history 86 T. L. Balogh, J. Kormos Figure 2: Long-term expected payoffs of the two players depending on the number of rounds; 3-by-3 case 5 Conclusions Behavioral game theory has been dealing with the understanding of human behavior in strategic interactions. Among several different approaches, we have developed a behavioral model that aims at showing why “smarter” people outguess their opponents and win more frequently in some well-known zerosum games. Game theory is a useful modeling tool for network problems. We defined a behavioral model in a two-player non-cooperative network. We used the concept of iterative reasoning to define smartness. The theory of Markov chains has proved to be a very useful technical tool to prove the A computational model of outguessing 87 main result of the paper. Namely, an outguessing equilibrium according to our definition exists and can even be calculated. A Matlab script supports the calculations and provides numerical evidence for our concept. The authors wish to emphasize that the introduced model can not only be applied for the games recalled in the examples, but for any conflict situation that can be modeled by bimatrix games. Although the theoretical results are proved, and numerical evidence is also provided, there have remained some interesting questions which are out of the scope of this paper. One of these questions is rather technical: what types of Markov chains (e.g. periodic, absorbing etc. . . ) can emerge given a specific bimatrix game and initial strategy profile? Another one deals with the game theoretic assumptions: if either the number of players, or the simultanity of decisions were altered, or we allowed for non-generic games, how would the equilibrium outcome change? These problems are left for future research. Acknowledgements This paper was supported in part by the T´ AMOP-4.2.2C-11/1/KONV-2012- 0001 project supported by the European Union, co-financed by the European Social Fund. References [1] T. Alpcan,T. Basar, A Globally Stable Adaptive Congestion Control Scheme for Internet-Style Networks with Delay, IEEE/ACM Trans. On Networking 13 (2005) 1261–1274. ⇒71 [2] T. L. Beard,R. Beil, Do people rely on the self-interested maximization of others? An experimental test,Management Science 40, 2 (1994) 252–262. ⇒72,78 [3] S.C. Cabrera, C. M. Capra, R. Gomez, The effects of common advice on one-shot traveller’s dilemma games: Explaining behavior through an introspective model with errors, Washington and Lee University working paper, 2002. ⇒72 [4] C.F. Camerer,Behavioral Game Theory: Experiments in Strategic Interaction, Princeton University Press, 2003, pp. 199–264. ⇒71,72 [5] C. M. Capra,J.K. Goeree, R. Gomez, C. Holt, Anomalous behavior in traveller’s dilemma?,Amer. Economic Review 89, 3 (1999) 678–690. ⇒72 [6] S. N. Ethier,The Doctrine of Chances, Springer, 2010, pp. 119–155. ⇒73 [7] J. K. Goeree, C. Holt, Stochastic game theory: For playing games, not just for doing theory, Proc. National Academy of Sciences 96 (1999) 10564–10567. ⇒ 72,78 88 T. L. Balogh, J. Kormos [8] T. Ho, C. F. Camerer, K. Weigelt, Iterated dominance and iterated best-response in experimental “p-beauty contests”,Amer. Economic Review 88 (1998) 947– 969. ⇒72 [9] S. P. Meyn, R. L. Tweedie, Markov chains and stochastic stability, Cambridge University Press, 2009. ⇒73 [10] S. P. Meyn,Control Techniques for Complex Networks, Cambridge University Press, 2007. ⇒73 [11] H. Moulin,Game Theory for the Social Sciences, New York University Press, 1986. ⇒72 [12] R. Nagel, Unravelling in guessing games: an experimental study,Amer. Economic Review 85, 5 (1995) 1313–1326. ⇒72 [13] J. Nash,Non-cooperative games,Annals of Mathematics 54, 2 (1951) 286-295. ⇒71 [14] J. R. Norris,Markov chains, Cambridge University Press, 1998. ⇒73 [15] I. A. Shah, S. Jan, I. Khan, S. Qamar, An overview of game theory and its applications in communication networks Int. J. Multidisciplinary Sciences and Engineering 3, 4 (2012) 5–11. ⇒71 [16] Y. Sovik, Impossible bets: an experimental study, University of Oslo working paper, 1999. ⇒72 Received: February 16, 2014 •Revised: March 31, 2014