






















































































Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!























































































Game theory is the name given to the methodology of using mathematical tools to model and analyse situations of interactive decision making. These are situations involving several decision makers (called players) with different goals, in which the decision of each affects the outcome for all the decision makers. Like game theory, there are many others decision theories that involve many decision makers (such as social choice, mechanism design, machine learning, …). On the other hand, there’s also plenty of decision theories that involve only one decision maker (such as scalar optimization, vector optimization, stochastic optimization, …).
In the context of game theory a game is a mathematical model of a situation of interactive decision making. A game consists of the following ingredients:
Like every other mathematical theory, game theory is based on a set of assumptions: in particular, there are two basics assumptions on the players of the games described by game theory. The first assumption is that the players are selfish , which means that they only care about their own preferences about the outcome of the game.
Remark: The meaning of selfish in the context of game theory is different from the ethical meaning of the word. To understand this, one may think of a game in which one of the players is a charity association whose preference is to have the most money donated to people in need.
The second assumption is that the players are rational. The definition of rationality is a much more involved issue and it requires many other concepts to be introduced.
Definition: Let 𝑋𝑋 be a set. A preference relation on 𝑋𝑋 is a binary relation ≽ such that for all 𝑥𝑥, 𝑦𝑦, 𝑧𝑧 ∈ 𝑋𝑋:
The first rationality assumption reads:
The players are able to provide a preference relation over the outcomes of the game.
Definition: Let ≽ be a preference relation over 𝑋𝑋. A utility function representing ≽ is a function 𝑢𝑢: 𝑋𝑋 → ℝ such that:
𝑢𝑢(𝑥𝑥)^ ≥ 𝑢𝑢(𝑦𝑦)^ ⟺ 𝑥𝑥 ≽ 𝑦𝑦
Remark: The existence of a utility function is not granted since there are many particular cases in which such function can’t be introduced. However, in general setting (i.e. if 𝑋𝑋 is a finite set) a utility function always exists.
Remark: If it is possible to define a utility function on 𝑋𝑋 then there are infinitely many utility functions. In fact, any strictly increasing transformation of a utility function is still a utility function.
The second rationality assumption reads:
The agents can provide a utility function representing their preferences relation, whenever necessary.
Remark: This assumption is crucial in order to use the theory of probability to make decisions.
Example (Allais experiment):
𝐵𝐵 over 𝐴𝐴 and 83% of them chose 𝐶𝐶 over 𝐷𝐷, which proves that in the real world players are usually not rational.
The third rationality assumption reads:
The players use the probability laws consistently. In particular, they are consistent with the computation of the expected utilities, they are able to update probabilities according to Bayes rule and so on.
Example (the beauty contest):
Consider the following contest:
A rational player of this game would always write 1 independently from the value of 𝑞𝑞, but in reality the participants of this contest would choose also higher numbers.
The fourth rationality assumption reads:
The players can understand the consequences of all their actions, the consequences of this information on any other player, the consequences of the consequences and so on.
Finally, the fifth rationality assumption reads:
The players can use decision theory, whenever it is possible.
In particular, this last assumption states that, given a set of alternatives 𝑋𝑋 and a utility function 𝑢𝑢 on 𝑋𝑋, each player seeks an 𝑥𝑥̅ ∈ 𝑋𝑋 such that 𝑢𝑢(𝑥𝑥̅)^ ≥ 𝑢𝑢(𝑥𝑥)∀𝑥𝑥 ∈ 𝑋𝑋.
An immediate consequence of the axioms of the theory is that a player will never take an action 𝑎𝑎 if there is another action 𝑏𝑏 that provides him a strictly better result no matter what the other players do.
Example:
To provide an example of this principle let us consider the following two- player game, which is represented with a bimatrix whose elements are pair of numbers corresponding to the utilities of the first and the second player respectively.
�
If the first player chooses the row and the second one chooses the column than the utilities of the first player are the following:
�^87 20 �
It is obvious that the second row is strictly dominated by the first one, thus the first player will select the first row. In a similar way, for the second player we have that the second column is strictly dominated by the first one, thus the outcome of the game will be (8,8). Let’s now consider the following game:
�(10,10)(15,3) (3,15)(5,5) �
Even though we have that in any outcome the players are better off in the second game rather than in the first, the first game is still more convenient for them: in fact, using the principle of elimination of strictly dominated actions we have that the outcome of the second game would be (5,5).
Example (uniqueness issue):
Let’s consider the following game:
�(0,0)(1,1)^ (1,1)(0,0)�
It is obvious that the rational outcomes of the game will be (1,1), but since those two outcomes cannot be distinguished a coordination problem between the players arises.
In order to formalize the concepts above we need to introduce some relevant definitions.
Definition: A finite directed graph is a pair (𝑉𝑉, 𝐸𝐸) where:
Definition: A path from a vertex 𝑣𝑣 1 to a vertex 𝑣𝑣𝑘𝑘+1 is a finite sequence of vertices-edges 𝑣𝑣 1 , 𝑒𝑒 1 , 𝑣𝑣 2 , … , 𝑣𝑣𝑘𝑘, 𝑒𝑒𝑘𝑘, 𝑣𝑣𝑘𝑘+1 such that 𝑒𝑒𝑖𝑖 ≠ 𝑒𝑒𝑗𝑗 if 𝑖𝑖 ≠ 𝑗𝑗 and 𝑒𝑒𝑗𝑗 =
�𝑣𝑣𝑗𝑗, 𝑣𝑣𝑗𝑗+1 �. The number 𝑘𝑘 is called length of the path.
Definition: An oriented graph is a finite directed graph having no
bidirected edges, i.e. for all 𝑗𝑗, 𝑘𝑘 at most one between �𝑣𝑣𝑗𝑗, 𝑣𝑣𝑘𝑘 � and �𝑣𝑣𝑘𝑘, 𝑣𝑣𝑗𝑗 � is an edge of the graph.
Definition: A tree is a triple (𝑉𝑉, 𝐸𝐸, 𝑥𝑥 0 )^ where (𝑉𝑉, 𝐸𝐸)^ is an oriented graph and 𝑥𝑥 0 is a vertex in 𝑉𝑉 such that there is a unique path from 𝑥𝑥 0 to 𝑥𝑥 for every 𝑥𝑥 ∈ 𝑉𝑉.
Definition: A child of a vertex 𝑣𝑣 is any vertex 𝑥𝑥 such that (𝑣𝑣, 𝑥𝑥) ∈ 𝐸𝐸. A vertex is called a leaf if it has no children. We say that the vertex 𝑥𝑥 follows the vertex 𝑣𝑣 if there is a path from 𝑣𝑣 to 𝑥𝑥.
Now we can introduce the notion of an extensive form game with perfect information.
Definition: An extensive form game with perfect information consists of:
Remarks:
A game of this kind can be easily solved by using the rationality axioms through the method of backward induction :
Definition: The length of the game is the length of the longest path in the game.
Remark: By using decision theory we can solve all the games of length 1. On the other hand, the fourth rationality assumption allows us to solve games of length 𝑖𝑖 + 1 if the games of length 𝑖𝑖 are solved. As a result, games of finite length can always be solved.
Theorem: The rational outcomes of a finite, perfect information game are those given by the procedure of backward induction.
Remark: One can obtain multiple outcomes by using the procedure of backward induction. For instance, in the following game we have that, since player 2 is indifferent between the two choices he is given, the outcomes obtained are (4,3) and (3,4). This happens because both players are selfish by assumption and hence player 2 chooses only according to his utility.
Let us now consider the game of chomp, in which two players take turn to remove a square of an 𝑛𝑛 × 𝑚𝑚 grid. After a square is removed all the squares above and to the right are removed as well and a player loses if he removes the square at the bottom-left of the grid. It is possible to prove that the first player has a winning strategy. To do that, consider the following example.
Suppose that the second player has a strategy to win. Then he has a winning action after the choice of the orange edge. Suppose that the winning move is to choose the green edge. This means that the player starting at the node following the green edge will lose. However, the tree starting at that node is equal to the tree starting at the green edge relative to the first player. Thus, the first player has a move available that guarantees the victory of the game starting, and this is contradictory.
Remark: If we consider a non-squared grid than we can only provide a weak solution for the game of chomp. On the other hand, if the grid is squared than it is also possible to provide a solution.
Definition: An impartial combinatorial game is a game such that:
In the classical version the winner of an impartial combinatorial game is the player leaving the other one with no available moves, in the misère version the winner is the player left with no available moves.
Let us now consider the following examples of impartial combinatorial games:
Remark: In the first two games we can define a position as a 𝑘𝑘-tuple (𝑛𝑛 1 , … , 𝑛𝑛𝑘𝑘) (^) where 𝑛𝑛𝑖𝑖 is a non-negative integer for all 𝑖𝑖. On the other hand, in the third game positions can be seen as all non-negative integers smaller or equal to 𝑘𝑘.
To solve this kind of games it is useful to partition the set of all possible positions into two subsets: the set of the 𝑷𝑷 -positions (losing positions) and the set of the 𝑵𝑵 -positions (winning positions). If we consider a combinatorial game in the classical version, then these subsets are defined according to the following rules:
Proof: The thesis is obvious for the terminal position (0, … ,0). Let us now prove that from positions such that 𝑛𝑛 1 ⊕ … ⊕ 𝑛𝑛𝑘𝑘 = 0 one can go only to positions with Nim sum different from zero. By contradiction, suppose that the new position is (𝑛𝑛 1 ′^ , … , 𝑛𝑛𝑘𝑘) such that 𝑛𝑛 1 ′ ⊕ … ⊕ 𝑛𝑛𝑘𝑘 = 0 = 𝑛𝑛 1 ⊕ … ⊕ 𝑛𝑛𝑘𝑘. Then by the cancellation law we have 𝑛𝑛 1 ′^ = 𝑛𝑛 1 , which is impossible. All in all, let’s prove that positions with non-zero Nim sum can go to a position with zero Nim sum. Let 𝑧𝑧 ≔ 𝑛𝑛 1 ⊕ … ⊕ 𝑛𝑛𝑘𝑘 ≠ 0. Take a pile having 1 in the most left column where the expansion of 𝑧𝑧 has 1 , change that 1 with a 0 and go right leaving unchanged a digit corresponding to a 0 in the expansion of the sum and changing it otherwise. The Nim sum of the new position will be 0 in this way.
Sometimes it is useful to describe a game in strategic form rather than in extensive form. To introduce this kind of representation it is necessary to define what “strategy” means.
Definition: A pure strategy for the player 𝑖𝑖 is a function defined on the set 𝑃𝑃𝑖𝑖 (namely the set of the nodes where he is called to make a move) that associates to each node 𝑣𝑣 in 𝑃𝑃𝑖𝑖 a child 𝑤𝑤 or, equivalently, an edge (𝑣𝑣, 𝑥𝑥). In addition, a mixed strategy is a probability distribution on the set of the pure strategies.
Remark: If a player has 𝑛𝑛 pure strategies then the set of his mixed strategies is Σ (^) 𝑛𝑛 ≔ {𝑝𝑝 = (𝑝𝑝 1 , … , 𝑝𝑝𝑛𝑛): 𝑝𝑝𝑖𝑖 ≥ 0, ∑ 𝑝𝑝𝑖𝑖 𝑖𝑖 = 1}^ and it is called the fundamental simplex in ℝ𝑛𝑛.
Games in strategic form are also called matrix games because they are described by matrices. In particular, if there are only two players then the game is described by a bimatrix.
Remark: The strategic-form description ignores dynamic aspects of the game, such as the order of the moves by the players, chance moves, and the informational structure of the game.
The von Neumann’s theorem can be reformulated in terms of strategies.
Theorem (von Neumann): In the chess game one of the following alternatives holds:
Remark: If 𝑃𝑃𝑖𝑖 = {𝑣𝑣 1 , … , 𝑣𝑣𝑘𝑘}^ and 𝑣𝑣𝑗𝑗 has 𝑛𝑛𝑗𝑗 children then the number of
strategies of player 𝑖𝑖 is 𝑛𝑛 1 ∙ 𝑛𝑛 2 ∙ … ∙ 𝑛𝑛𝑘𝑘. As a consequence, the number of available strategies is usually very high even in really short games. For instance, if we consider the game of Tic-Tac-Toe and we assume that it stops after three moves then we have that the first player has 9 ∙ 772 strategies.
Definition: An information set for a player 𝑖𝑖 is a pair �𝑈𝑈𝑖𝑖, 𝐴𝐴𝑖𝑖(𝑈𝑈𝑖𝑖)� with the following properties:
We have that the player 𝑖𝑖 knows to be in 𝑈𝑈𝑖𝑖 but he does not know in which vertex he is and each set of 𝐴𝐴𝑖𝑖(𝑈𝑈𝑖𝑖)^ represent an available move for him.
Definition: An extensive form game with imperfect information consists of:
Definition: A pure strategy for player 𝑖𝑖 in an imperfect information game is a function defined on the collection 𝒰𝒰 of his information sets and
assigning to each 𝑈𝑈𝑖𝑖𝑗𝑗^ in 𝒰𝒰 an element of the partition 𝐴𝐴𝑖𝑖𝑗𝑗^ �𝑈𝑈𝑖𝑖𝑗𝑗^ �. A mixed strategy is a probability distribution over the pure strategies.
Remark: A game with perfect information is a particular game with imperfect information where all information sets of all players are singletons.
Let us now discuss the concept of behavior strategy.
Definition: A behavior strategy for a player in an extensive form game is a map defined on the collection of his information sets that provides to each information set a probability distribution over its actions.
For instance, a behavior strategy for the player 1 of the following game is (𝑝𝑝, 1 − 𝑝𝑝), (𝑞𝑞, 1 − 𝑞𝑞), where 𝑝𝑝 represents the probability attached to the choice 𝐵𝐵 1 and 𝑞𝑞 represents the probability attached to the choice 𝐵𝐵 2.
Note that, for this particular game, the set of mixed strategies for player 1 is a three-dimensional subset of ℝ^4 (Σ 4 ) whereas the set of his behavior strategies is a square in ℝ^2. Thus, it is natural to ask ourselves whether behavior strategies and mixed strategies can be indifferently used or not. We first need to define the concept of equivalence of strategies.
Definition: Let 𝑝𝑝(𝑥𝑥; 𝜎𝜎) denote the probability that the vertex 𝑥𝑥 is reached under the strategy 𝜎𝜎 = (𝜎𝜎 1 , … , 𝜎𝜎𝑛𝑛). The mixed strategy 𝜎𝜎𝑖𝑖 and the behavior strategy 𝑏𝑏𝑖𝑖 are equivalent for player 𝑖𝑖 if for every (behavior or mixed) strategy 𝜎𝜎−𝑖𝑖 of the other players it holds 𝑝𝑝(𝑥𝑥; 𝜎𝜎𝑖𝑖, 𝜎𝜎−𝑖𝑖) = 𝑝𝑝(𝑥𝑥; 𝑏𝑏𝑖𝑖, 𝜎𝜎−𝑖𝑖).
Example: Consider the following game.
On the other hand, if we consider the following game we have that the vertex 𝑂𝑂 2 can’t be reached with a mixed strategy but it can be reached with a behavior strategy.
Theorem: Suppose that Γ is an extensive form game such that every vertex which is not a leaf has at least two children. Then every behavior strategy of player 𝑖𝑖 has an equivalent mixed strategy if and only if each information set of player 𝑖𝑖 intersects every path starting at the root at most once.
Definition: We say that player 𝑖𝑖 has perfect recall if:
A game in which each player has perfect recall is called a game of perfect recall.
Theorem: Let Γ be a game. If player 𝑖𝑖 has perfect recall then every mixed strategy for player 𝑖𝑖 has an equivalent behavior strategy.
Corollary: In a game of perfect recall the equilibria with mixed strategies and behavior strategies are the same.
The concept of zero sum games is really important in game theory since these games are among the first that have been studied and since it is possible to solve them through a rather simple algorithm.
Definition: A two player zero sum game in strategic form is the triplet (𝑋𝑋, 𝑌𝑌, 𝑓𝑓: 𝑋𝑋 × 𝑌𝑌 → ℝ) where 𝑋𝑋 is the strategy space of player 1 , 𝑌𝑌 is the strategy space of player 2 and 𝑓𝑓 is a function such that 𝑓𝑓(𝑥𝑥, 𝑦𝑦)^ is the utility of player 1 whereas 𝑔𝑔 = −𝑓𝑓(𝑥𝑥, 𝑦𝑦)^ is the utility of player 2.
Let us first consider the finite case, in which 𝑋𝑋 = {1, … , 𝑛𝑛}^ and 𝑌𝑌 = {1, … , 𝑚𝑚}. In this case we can describe the game by an 𝑛𝑛 × 𝑚𝑚 payoff matrix
𝑃𝑃 = �𝑝𝑝𝑖𝑖𝑗𝑗� assuming that player 1 selects the row, player 2 selects the column and 𝑝𝑝𝑖𝑖𝑗𝑗 is the payment that player 2 owes to player 1 when they
adopt the strategies 𝑗𝑗 and 𝑖𝑖 respectively. It is quite obvious that, by playing a pure strategy, player 1 can guarantee himself to get at least the value 𝑣𝑣 1 = max 𝑖𝑖 min 𝑗𝑗 𝑝𝑝𝑖𝑖𝑗𝑗, which is called conservative value of player 𝟏𝟏. On the
other hand, player 2 has a pure strategy that guarantees himself to pay no more than the value 𝑣𝑣 2 = min 𝑗𝑗 max 𝑖𝑖 𝑝𝑝𝑖𝑖𝑗𝑗, which is called conservative value
of player 𝟐𝟐.
Definition: If 𝑣𝑣 1 = 𝑣𝑣 2 we set 𝑣𝑣 ≔ 𝑣𝑣 1 = 𝑣𝑣 2 and we say that the game has value 𝒗𝒗.
If we now suppose that the game has value 𝑣𝑣 and we call 𝚤𝚤̅ the row such that 𝑝𝑝𝚤𝚤̅𝑗𝑗 ≥ 𝑣𝑣∀𝑗𝑗 and 𝚥𝚥̅ the column such that 𝑝𝑝𝑖𝑖𝚥𝚥̅ ≤ 𝑣𝑣∀𝑖𝑖 then we have that 𝑝𝑝𝚤𝚤̅𝚥𝚥̅ = 𝑣𝑣 is the rational outcome of the game. Indeed, 𝚤𝚤̅ is an optimal strategy for player 1 since he cannot get more than 𝑣𝑣 2 whereas 𝚥𝚥̅ is an optimal strategy for player 2 since he cannot pay less than 𝑣𝑣 1.
Remark: Observe that 𝚤𝚤̅ maximizes the function 𝛼𝛼(𝑖𝑖) = min 𝑗𝑗 𝑝𝑝𝑖𝑖𝑗𝑗 and 𝚥𝚥̅
minimizes the function 𝛽𝛽(𝑗𝑗) = max 𝑖𝑖 𝑝𝑝𝑖𝑖𝑗𝑗.
Similarly, in the more general case of an arbitrary game we have that player 1 can guarantee himself to get at least the conservative value 𝑣𝑣 1 =