Presentation on theme: "GAME THEORY. 2 Game Theory _ Introduction Game theory is a study of how to mathematically determine the best strategy for given conditions in order to."— Presentation transcript:
2 Game Theory _ Introduction Game theory is a study of how to mathematically determine the best strategy for given conditions in order to optimize the outcome Finding acceptable, if not optimal, strategies in conflict situations. Abstraction of real complex situation Game theory is highly mathematical Game theory assumes all human interactions can be understood and navigated by presumptions.
GAME THEORY3 Why Game Theory? All intelligent beings make decisions all the time. AI needs to perform these tasks as a result. Helps us to analyze situations more rationally and formulate an acceptable alternative with respect to circumstance.
GAME THEORY4 Factors in Game Theory Number of players – If the game involves two person it is called two person game else it is called n-person game. Sum of gains & Losses – If the gains of one player is equal to the losses of the other player then it is called zero-sum game else it is called non-zero sum game. Strategy – The strategy of the player is all possible actions that he will take for every payoff.
GAME THEORY5 Game Theory Zero Sum Game The sum of the payoffs remains constant during the course of the game. Two sides in conflict Being well informed always helps a player Non Zero Sum game The sum of payoffs is not constant during the course of game play. Players may co-operate or compete Being well informed may harm a player.
GAME THEORY6 Strategy of Game Theory Pure Strategy It is the decision rule which is always used by the player to select the particular strategy (course of action). Thus each player knows in advance all strategies out of which he selects only one particular strategy. Mixed Strategy Courses of action that are to be selected on a particular occasion with some fixed probability are called mixed strategies are called mixed strategy
GAME THEORY7 Two Person Zero Sum Game Payoff Matrix Payoff is a quantitative measure of satisfaction a player gets at the end of play. It can be market share, profit, etc. Gain of one person is loss of other person. Thus it is sufficient to construct payoff table for one player only. Each player has available to him a finite no of possible strategies. Player attempts to maximise his gains while player attempts to minimise losses. Decisions are made simultaneously and known to each other. Both players know each other’s payoff’s.
GAME THEORY8 General Payoff Matrix Player A Strategy Player B strategy B1B2.Bn A1a11a12.a1n A2a21a22.a2n Amam1am2.amn
GAME THEORY9 Minimax & Maximin Principle Optimal Pure Strategy (Minimax Criterion) To locate the optimal pure strategy for the row player, first circle the row minima: the smallest payoff's) in each row. Then select the largest row minimum. (If there are two or more largest row minima, choose either one.) To locate the optimal pure strategy for the column player, first box the column maxima: the largest payoff in each column. Then select the smallest column maximum. (If there are two or more smallest column maxima, choose either one.)
GAME THEORY10 Saddle Point Saddle Points; Strictly Determined Games A saddle point is an entry that is simultaneously a row minimum and a column maximum. If a game has one or more saddle points, it is strictly determined. All saddle points will have the same payoff value, called the value of the game. A fair game has a value of zero; otherwise it is unfair, or biased. Choosing the row and column through any saddle point gives optimal strategies for both players under the minimax criterion.
GAME THEORY11 Example (2 person sum game) Union Strategies Company Strategies IIIIIIIVRow Min I II III IV Column Max Maximin = Minimax = Value of Game =12
GAME THEORY12 Mixed Game Strategy If pure strategy is both applicable then we have to apply mixed strategy. Both players must determine mixed strategy to optimize their payoff’s. Mixed strategy is evolved using probability. The expected payoff to a player in a game with arbitrary payoff matrix [aij] of order mxn is defined as Where pi are probabilities of player A and qj are probabilities of player B Can be solved using Algebraic, Matrix, Graphical or LP methods
GAME THEORY13 Rules of Dominance Reduction by Dominance Check whether there is any row in the (remaining) matrix that is dominated by another row (this means that it is ≤ some other row). If there is one, delete it. Check whether there is any column in the (remaining) matrix that is dominated by another column (this means that it is ≥ some other column). If there is one, delete it. Repeat steps 1 and 2 in any order until there are no dominated rows or columns
GAME THEORY14 Algebraic Method Probability of A player Player A Strategy Player B strategy B1B2.Bn p1 A1a11a12.a1n p2 A2a21a22.a2n Amam1am2.amn pnProbability of B player q1q2qn
GAME THEORY15 Algebraic Method
GAME THEORY16 Algebraic Method The equations shown earlier need to be solved. To do this we first convert the equations as equality. Solve to arrive at the p’s and q’s
GAME THEORY17 Algebraic Method Player A Player B q1q2 p1a11a12 p2a21a22
GAME THEORY18 Example Player A Player B B1B2B3B4 A13240 A23424 A34240 A40408 The example does not have a saddle point. We will apply rules of dominance For player A first row is dominated by third row, hence delete first row In the second matrix, column B1 is dominated by column B3 Player A Player B B1B2B3B4 A23424 A34240 A40408
GAME THEORY19 Example B2B3B4 A2424 A3240 A4408 Now we cannot find any dominant strategies, however the average payoff of B3 & B4 is greater than B2 and hence we may delete column B2 B3B4 A224 A340 A408 Similarly the average payoff of rows A3 & A4 is better than A2 and hence we can eliminate row A2
GAME THEORY20 Example B3B4 A340 A408 The problem has been reduced to 2x2 matrix which can be solved using algebraic methods.
GAME THEORY21 Graphical Method Approach to find solutions for 2 x n or m x 2 games. Let player A have two strategies A1 & A2, and B have n strategies B1, B2,…Bn. For B1 strategy the expected gain for player will be a11p1+a21p2. Similarly for each strategy of B we will have one equation in p1 & p2. Draw the straight lines using these equations.
GAME THEORY22 Graphical Method The vertical axes will have the strategy of player A and the horizontal axes will have the probability of achievement. The highest point on the lower boundary of these lines will give maximum expected payoff among the minimum expected payoff’s and the optimum value of probability p1 & p2. The m x 2 game is alo treated similarly except that the upper boundary of the straight lines corresponding to B’s expected payoff will give minimum expected payoff.
GAME THEORY23 Example Player A Player B B1B2B3B4 A A24326 B4