Computational Methods for Non-Cooperative Game Theory

Similar documents
Reading Robert Gibbons, A Primer in Game Theory, Harvester Wheatsheaf 1992.

Economics 201A - Section 5

Games of Perfect Information and Backward Induction

Normal Form Games: A Brief Introduction

The extensive form representation of a game

Backward Induction and Stackelberg Competition

February 11, 2015 :1 +0 (1 ) = :2 + 1 (1 ) =3 1. is preferred to R iff

Game Theory. Wolfgang Frimmel. Dominance

Finite games: finite number of players, finite number of possible actions, finite number of moves. Canusegametreetodepicttheextensiveform.

8.F The Possibility of Mistakes: Trembling Hand Perfection

Game Theory. Wolfgang Frimmel. Subgame Perfect Nash Equilibrium

Appendix A A Primer in Game Theory

Dynamic Games: Backward Induction and Subgame Perfection

Dynamic games: Backward induction and subgame perfection

EC3224 Autumn Lecture #02 Nash Equilibrium

Game Theory ( nd term) Dr. S. Farshad Fatemi. Graduate School of Management and Economics Sharif University of Technology.

Game Theory: The Basics. Theory of Games and Economics Behavior John Von Neumann and Oskar Morgenstern (1943)

International Economics B 2. Basics in noncooperative game theory

Game theory Computational Models of Cognition

Non-Cooperative Game Theory

Chapter 13. Game Theory

DECISION MAKING GAME THEORY

Resource Allocation and Decision Analysis (ECON 8010) Spring 2014 Foundations of Game Theory

Game Theory. 6 Dynamic Games with imperfect information

Games in Extensive Form

Game Theory Refresher. Muriel Niederle. February 3, A set of players (here for simplicity only 2 players, all generalized to N players).

Extensive-Form Games with Perfect Information

NORMAL FORM (SIMULTANEOUS MOVE) GAMES

GAME THEORY: STRATEGY AND EQUILIBRIUM

Introduction to Game Theory

CSCI 699: Topics in Learning and Game Theory Fall 2017 Lecture 3: Intro to Game Theory. Instructor: Shaddin Dughmi

Introduction to Game Theory

Multiagent Systems: Intro to Game Theory. CS 486/686: Introduction to Artificial Intelligence

NORMAL FORM GAMES: invariance and refinements DYNAMIC GAMES: extensive form

ECON 312: Games and Strategy 1. Industrial Organization Games and Strategy

Introduction Economic Models Game Theory Models Games Summary. Syllabus

G5212: Game Theory. Mark Dean. Spring 2017

LECTURE 26: GAME THEORY 1

Note: A player has, at most, one strictly dominant strategy. When a player has a dominant strategy, that strategy is a compelling choice.

Weeks 3-4: Intro to Game Theory

3 Game Theory II: Sequential-Move and Repeated Games

Multiagent Systems: Intro to Game Theory. CS 486/686: Introduction to Artificial Intelligence

Advanced Microeconomics (Economics 104) Spring 2011 Strategic games I

Game theory lecture 5. October 5, 2013

Multiagent Systems: Intro to Game Theory. CS 486/686: Introduction to Artificial Intelligence

CHAPTER LEARNING OUTCOMES. By the end of this section, students will be able to:

CMU-Q Lecture 20:

Game Theory and Economics of Contracts Lecture 4 Basics in Game Theory (2)

ECO 220 Game Theory. Objectives. Agenda. Simultaneous Move Games. Be able to structure a game in normal form Be able to identify a Nash equilibrium

Dynamic Games of Complete Information

Domination Rationalizability Correlated Equilibrium Computing CE Computational problems in domination. Game Theory Week 3. Kevin Leyton-Brown

4/21/2016. Intermediate Microeconomics W3211. Lecture 20: Game Theory 2. The Story So Far. Today. But First.. Introduction

1\2 L m R M 2, 2 1, 1 0, 0 B 1, 0 0, 0 1, 1

Dominant and Dominated Strategies

Microeconomics II Lecture 2: Backward induction and subgame perfection Karl Wärneryd Stockholm School of Economics November 2016

Extensive Games with Perfect Information. Start by restricting attention to games without simultaneous moves and without nature (no randomness).

Economics of Strategy (ECON 4550) Maymester 2015 Foundations of Game Theory

Imperfect Information Extensive Form Games

MS&E 246: Lecture 15 Perfect Bayesian equilibrium. Ramesh Johari

1. Introduction to Game Theory

Mixed Strategies; Maxmin

Mohammad Hossein Manshaei 1394

ECON 301: Game Theory 1. Intermediate Microeconomics II, ECON 301. Game Theory: An Introduction & Some Applications

1. Simultaneous games All players move at same time. Represent with a game table. We ll stick to 2 players, generally A and B or Row and Col.

Extensive Form Games. Mihai Manea MIT

Introduction to Industrial Organization Professor: Caixia Shen Fall 2014 Lecture Note 6 Games and Strategy (ch.4)-continue

ECO 199 B GAMES OF STRATEGY Spring Term 2004 B February 24 SEQUENTIAL AND SIMULTANEOUS GAMES. Representation Tree Matrix Equilibrium concept

Sequential Games When there is a sufficient lag between strategy choices our previous assumption of simultaneous moves may not be realistic. In these

Games in Extensive Form, Backward Induction, and Subgame Perfection:

Repeated Games. Economics Microeconomic Theory II: Strategic Behavior. Shih En Lu. Simon Fraser University (with thanks to Anke Kessler)

Backward Induction. ISCI 330 Lecture 14. March 1, Backward Induction ISCI 330 Lecture 14, Slide 1

Game Theory. Department of Electronics EL-766 Spring Hasan Mahmood

Lecture 9. General Dynamic Games of Complete Information

THEORY: NASH EQUILIBRIUM

Games. Episode 6 Part III: Dynamics. Baochun Li Professor Department of Electrical and Computer Engineering University of Toronto

Topic 1: defining games and strategies. SF2972: Game theory. Not allowed: Extensive form game: formal definition

CS510 \ Lecture Ariel Stolerman

Lecture 24. Extensive-Form Dynamic Games

Extensive Games with Perfect Information A Mini Tutorial

Game Theory and Randomized Algorithms

Lecture 5: Subgame Perfect Equilibrium. November 1, 2006

Noncooperative Games COMP4418 Knowledge Representation and Reasoning

Game Theory. Vincent Kubala

Introduction to Game Theory

Normal Form Games. Here is the definition of a strategy: A strategy is a complete contingent plan for a player in the game.

Extensive Form Games: Backward Induction and Imperfect Information Games

Computing Nash Equilibrium; Maxmin

Game Theory. Vincent Kubala

Advanced Microeconomics: Game Theory

UPenn NETS 412: Algorithmic Game Theory Game Theory Practice. Clyde Silent Confess Silent 1, 1 10, 0 Confess 0, 10 5, 5

Lecture 6: Basics of Game Theory

FIRST PART: (Nash) Equilibria

Extensive Form Games and Backward Induction

4. Game Theory: Introduction

EconS Game Theory - Part 1

ECON 282 Final Practice Problems

final examination on May 31 Topics from the latter part of the course (covered in homework assignments 4-7) include:

Analyzing Games: Mixed Strategies

INSTRUCTIONS: all the calculations on the separate piece of paper which you do not hand in. GOOD LUCK!

2. The Extensive Form of a Game

Transcription:

Computational Methods for Non-Cooperative Game Theory

What is a game? Introduction A game is a decision problem in which there a multiple decision makers, each with pay-off interdependence Each decisions that is made must consciously account for the behaviour of other participants 2

There are two types of games Cooperative games Introduction Participants are able to form agreements and coordinate their actions Main questions of interest: agreement formation and stability, stability and formation of groups Non-cooperative games Agents cannot form agreements to coordinate their behaviour 3

Introduction Non-cooperative games Normal form games: each player moves once and move simultaneously Extensive form games: players move sequentially and have some knowledge of the past behaviour of other agents Games of perfect information: all agents have perfect information about the past moves of other players Complete vs incomplete information games Incomplete information players know their own payoffs, but have incomplete information about the payoffs of other agents 4

Basic elements: Normal Form Games Set of players N = {1,,n}, where n is the total number of agents Each player i has a pure strategy set denoted by S i. This is the list of all possible actions available to player i. Each player i has a payoff function u i (s 1,, s n ), which depends on s i, the pure strategy chosen by i, as well as the other pure strategies chosen by the other n 1 players 5

Dominant and Dominated Strategies The ith player has a strictly dominant strategy if u i (s i *, s -i ) > u i (s i, s -i ) for all possible s i and s -I Example (Prisoner s Dilemma) P1 P2 C D C -3, -3 0, -5 D -5, 0-1, -1 6

Dominant and Dominated Strategies 7

Dominant and Dominated Strategies 8

Dominant and Dominated Strategies 9

Dominant and Dominated Strategies Example: 2 player game with a dominant strategy equilbrium R C C1 C2 C3 R1 4, 3 5, 1 6, 4 R2 2, 1 3, 4 3, 6 R3 3, 0 4, 6 2, 8 10

Dominant and Dominated Strategies The point about dominant strategies is that if a player has one, they will play it. This is because this will be their best strategy, no matter what the other players do. A dominant strategy equilibrium, is occurs as a consequence of player s selecting their dominant strategies Dominant strategies will not always exist, so their won t always be a dominant strategy 11

Dominant and Dominated Strategies Iterative elimination of strictly dominated strategies For the ith player, strategy s i is strictly dominated there exists a strategy s * i such that u i (s * i, s -i ) > u i (s i, s -i ) for all possible s -i The idea is to reduce the number of alternatives to a reasonable number 12

Dominant and Dominated Strategies Example R C C1 C2 C3 R1 4, 3 5, 1 6, 2 R2 2, 1 3, 4 3, 6 R3 3, 0 9, 6 2, 8 13

Dominant and Dominated Strategies In this example there were two dominated strategies R2 and C2. By eliminating them R C C1 C3 R1 4, 3 6, 2 R3 3, 0 2, 8 14

Dominant and Dominated Strategies Dominated strategies won t always exist R C C1 C2 C3 R1 2, 0 3, 5 4, 4 R2 0, 3 2, 1 5, 2 15

Rationalizability Rational players should only ever play best responses For the ith player, a strategy s * i is a best response to s -i whenever u i (s * i, s -i ) u i (s i, s -i ) for all s i This means that there is some strategy profile for i s rivals for which s * i is the best choice 16

Rationalizability Hence, a player would never choose to play a never best response Example C1 C2 C3 C4 R1 0, 7 2, 5 7, 0 6,6 R2 5, 2 3, 3 5, 2 2, 2 R3 7, 0 2, 5 0, 7 4, 4 R4 6, 6 2, 2 4, 4 10, 3 17

Rationalizability Player 1 s best responses R1 is a b.r. to C3 R2 is a b.r. to C2 R3 is a b.r. to C1 R4 is a b.r. to C4 Player 2 s best responses C1 is a b.r. to R1 and R4 C2 is a b.r. to R2 C3 is a b.r. to R3 18

Rationalizability Hence Player 2 has a never best response C4. It is not rational for Player 2 to use C4, so it can be ignored C1 C2 C3 R1 0, 7 2, 5 7, 0 R2 5, 2 3, 3 5, 2 R3 7, 0 2, 5 0, 7 R4 6, 6 2, 2 4, 4 19

Rationalizability Now Player 1 has a never best response C1 C2 C3 R1 0, 7 2, 5 7, 0 R2 5, 2 3, 3 5, 2 R3 7, 0 2, 5 0, 7 R4 6, 6 2, 2 4, 4 (Underlined are Player 1 s b.r. s) 20

You know have to following game Rationalizability C1 C2 C3 R1 0, 7 2, 5 7, 0 R2 5, 2 3, 3 5, 2 R3 7, 0 2, 5 0, 7 21

Rationalizability The problem with both rationalizability and dominance solvability Agents either assume that other agents are rational Hence is rationality and what is assumed to be rational is assumed to be common knowledge Consider what could happen if an agent doesn t know what s best for them 22

Rationalizability Consider what could happen if an agent doesn t know what s best for them Example L R U D 8, 10 7, 6-100, 9 6, 5 The equilibrium dominance solvability is (U,L), but what happens if Player 2 doesn t know this and chooses R? 23

Nash Equilibrium A Nash equilibrium occurs when every player chooses their best response A strategy profile s * = (s * i, s -i* ) if for all agents i u i (s i *, s -i* ) u i (s i, s -i* ) for all strategies s i There is an assumption that the other players always choose to play their best reply 24

Example (Battle of the Sexes) Nash Equilibrium Rugby Opera Rugby 3, 1* 0, 0 Opera 0, 0 1, 3* There are two NE: (H,H) and (B,B). This is often called a game of coordination (the underlines and asterices are the respective player s b.r.) 25

Nash Equilibrium Example C1 C2 C3 R1 0, 7* 2, 5 7, 0 R2 5, 2 3, 3* 5, 2 R3 7, 0 2, 5 0, 7* There is a NE at (R2, C2) 26

Nash Equilibrium The Battle of the Sexes game is an example of a game of coordination While neither player is fussed about the other player s preferred alternative, they d both prefer to suffer in silence than go it alone The danger is that they could end up at the wrong end of town! 27

Example (Battle of the Sexes II) Nash Equilibrium Hockey Ballet Hockey 2, 2 0, 0 Ballet 0, 0 3, 3 In this case the NE (B, B) Pareto dominates the other NE (H, H) This is what is called a focal point an attribute that is prominent, so that players can coordinate their actions 28

Nash Equilibrium Not all games have pure strategy NE Example (Matching Pennies) Heads Tails Heads 1, -1-1, 1* Tails -1, 1* 1, -1 There are no pure strategy NE 29

Mixed Nash Equilibrium However all games with a finite number of pure strategies have a mixed Nash equilibrium A mixed strategy involves mixing randomly over a number of pure strategies In the Matching Pennies example the pure strategy set for both players is S i = {H, T} The mixed strategy is x i = (p, 1 p), where p is the probability of playing H As each player has two strategies, the mixed strategy set for each player is X i = [0, 1] 30

Mixed Nash Equilibrium For a two player game like Matching Pennies, each player has an expected payoff function (, ) = (, ) + ( 1 ) (, ) u x x pu H x p u T x 1 1 2 1 1 2 1 1 2 ( (, ) ( 1 ) (, )) = p p u H T + p u H T 1 2 1 2 1 ( ) ( 1 p ) pu( T, H) ( 1 p) u( TT, ) + + 2 2 1 2 1 31

Mixed Nash Equilibrium How do you find the mixed NE? Example (Matching Pennies) Heads Tails Heads 1, -1-1, 1 Tails -1, 1 1, -1 32

Mixed Nash Equilibrium Player 1 s expected payoffs For playing H: u 1 (H, x 2 ) = p 2 (1) + (1 p 2 )( 1) = 1 + 2 p 2 For playing T: u 1 (T, x 2 ) = p 2 ( 1) + (1 p 2 )(1) = 1 2 p 2 Player 2 s mixed strategy b.r. is when Player 1 is indifferent between choosing H and T u 1 (T, x 2 ) = u 1 (H, x 2 ) 1 2 p 2 = 1 + 2 p 2 i.e. whenever p 2 = ½ As both players payoffs are identical, the mixed strategy NE is (½, ½) 33

Problems with mixed NE Mixed Nash Equilibrium Players don t move randomly. While this may be true, it may appear so because of uncertainty about the other player s strategy choice The mixed NE is contingent on the probability distribution, therefore if there are multiple mixed NE which is the right one? Mixed strategies as beliefs about other players payoffs in incomplete information games Mixed strategies emerging as social conventions 34

Subgame Perfection The main distinction between extensive games and strategic games is that Each player is identified by when they can move or make a decision The choices of each player are specified at the point where they make their decision Identifies the amount of information each player has about the moves of previous players The outcome of the game is identified by player payoffs and these are determined by the actions of all players across the entirety of the game 35

Subgame Perfection Extensive games A set of players N = {1,, n} A game tree Decision nodes indicate whose turn it is to move Branches emanate from decision nodes. Each branch corresponds to an action available to the player at that node Terminal nodes These indicate that the game has finished. Beside each node are the payoffs to the players for reaching that node 36

Strategies vs. Actions Subgame Perfection An action is choice available to a player when it is that player s turn to move A strategy specifies the action the player will take at each decision node in the game, even if in actual play the node is not reached 37

Subgame Perfection Example d 1 u 2 2 D U D U (6,0) (4,4) (1,0) (5,2) The strategy sets for both players are given by S 1 = {u, d} and S 2 = {(U,U), (U,D), (D,U), (D,D)} 38

Subgame Perfection There are two NE for this game (u, (U,U)) and (d, (D,U)) There are two ways of getting to this Straight off the tree by using backward induction From the strategic form of the extensive game P1 P2 (U,U) (U,D) (D,U) (D,D) u 5, 2* 5, 2* 1, 0 1, 0 d 4, 4* 6, 0 4, 4* 6, 0 39

Subgame Perfection Perfect vs imperfect information Imperfect information games Not all players have perfect information about the sequence of moves in the game tree. This uncertainty is modelled by information sets Information sets a group of nodes in which each player has common information about the history of the game and choices available Actions must be identical at each node in the information set, otherwise uncertainty can be reduced by that observing some actions are not available to all players 40

Example (Prisoner s Dilemma) Subgame Perfection 2 d 1 c 2 D C D C (-3,-3) (0,-5) (-5,0) (-1,-1) Player 2 knows that Player 1 can choose either C or D, but is unsure which is chosen The dashed line linking Player 2 s decision nodes is the information set. 41

Subgame Perfection Note that not all NE are sensible The first example had two NE: (u, (U,U)) and (d, (D,U)) For Player 1 the outcome attached to (u, (U,U)) Pareto dominates (d, (D,U)) (d, (D,U)) is a NE because Player 1 is concerned about the possibility of Player 2 choosing D 1 s best response is then to choose d But is D a credible threat for Player 2 For Player 2 D is not a credible threat because if Player 1 chose u, Player 2 would do better by switching to U So (u, (U,U)) is the subgame perfect Nash equilibrium 42

Subgame Perfection Subgame perfection The idea behind subgame perfection is to reject all strategies that are not sequentially rational Subgame A smaller game imbedded in the complete game It begins with an information set that is a singleton It includes all subsequent choices if players reach that node of the game tree Subgame Perfect Nash equilibrium A strategy profile is a subgame perfect Nash equilibrium if is a NE for every subgame 43

Subgame Perfection Note that in games of perfect information the SPNE can be found by using backward induction This is because in extensive games of perfect information it is equivalent to the dominant equilibrium 44

Subgame Perfection Example U (2, 1, 2) u 2 D (1, 3, 4) 1 U' (3, 0, 1) P1 d P2 U if for P1 d D if for P1 u P3 U if P1 d, P2 D D if P1 u, P2 U d 3 U 2 D 3 D' U' D' (4, 3, 3) (1, 2, 6) 45 (2, 6, 0)

Subgame Perfection (1, 3, 4) u u (1, 3, 4) 1 d U (4, 3, 3) 1 d 2 D (1, 2, 6) (4, 3, 3) 46

Subgame Perfection 47

Subgame Perfection 48

Subgame Perfection 49

Subgame Perfection 50

Subgame Perfection 51

Subgame Perfection 52

Subgame Perfection 53

Subgame Perfection 54

Subgame Perfection 55

s Subgame Perfection Example (Centipede Game) (See C&W p.290) 1 c 2 C 1 c 2 C 1 c 2 S s S s S C (4,4) (1,1) (0,3) (2,2) (1,4) (3,3) (2,5) The benefit of SPNE is that it filters out incredible threats However this can also lead to paradoxical outcomes Players continue to play SPN strategies even though one of the players has defected earlier in the game 56

Suggested Readings On computational methods in game theory http://www.cis.upenn.edu/~mkearns/teaching/cgt/ Follow the link will connect you to Michael Kerns web page and his course notes McKelvey and McLennan, Computation of Equilibria in Finite Games, Handbook of Computational Economics Vol 1 The Gambit software is free and is available from http://econweb.tamu.edu/gambit/ The following web page is an important resource http://www.gametheory.net Follow the links on computer science and game theory 57

Suggested Readings The following books are really good if you want some examples to practice with Introductory Dixit and Skeath, Games of Strategy Intermediate Gibbons, A primer in game theory (A bit more advanced. Used as the graduate text at Oxford) Osbourne and Rubinstein, A First Course in Game Theory (Standard US graduate text) Advanced Fundenberg and Tirole, Game Theory (Most comprehensive and at times encyclopaedic) 58

Suggested Readings The following books cover important topics not covered in today s lecture Wiebull, Evolutionary Game Theory Fills in all the biological and economics literature beyond Maynard Smith s Evolution and the Theory of Games Basar and Olsder, Dynamic Non-Cooperative Game Theory Important reference of dynamic games Van Damme, Stability and perfection of Nash equilibria Important reference of Nash refinements. Very important if you want to work on computation problems 59