Game theory 2 Lukáš Lehotský

Slides:



Advertisements
Similar presentations
An Introduction to Game Theory Part V: Extensive Games with Perfect Information Bernhard Nebel.
Advertisements

M9302 Mathematical Models in Economics Instructor: Georgi Burlakov 3.1.Dynamic Games of Complete but Imperfect Information Lecture
Basics on Game Theory Class 2 Microeconomics. Introduction Why, What, What for Why Any human activity has some competition Human activities involve actors,
ECON 100 Tutorial: Week 9 office: LUMS C85.
BASICS OF GAME THEORY. Recap Decision Theory vs. Game Theory Rationality Completeness Transitivity What’s in a game? Players Actions Outcomes Preferences.
This Segment: Computational game theory Lecture 1: Game representations, solution concepts and complexity Tuomas Sandholm Computer Science Department Carnegie.
Stackelberg -leader/follower game 2 firms choose quantities sequentially (1) chooses its output; then (2) chooses it output; then the market clears This.
Chapter Twenty-Eight Game Theory. u Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents.
Non-Cooperative Game Theory To define a game, you need to know three things: –The set of players –The strategy sets of the players (i.e., the actions they.
Chapter 6 Game Theory © 2006 Thomson Learning/South-Western.
Chapter 6 Game Theory © 2006 Thomson Learning/South-Western.
Eponine Lupo.  Questions from last time  3 player games  Games larger than 2x2—rock, paper, scissors  Review/explain Nash Equilibrium  Nash Equilibrium.
1 Game Theory. 2 Agenda Game Theory Matrix Form of a Game Dominant Strategy and Dominated Strategy Nash Equilibrium Game Trees Subgame Perfection.
EC3224 Autumn Lecture #04 Mixed-Strategy Equilibrium
Chapter 15- Game Theory: The Mathematics of Competition
Short introduction to game theory 1. 2  Decision Theory = Probability theory + Utility Theory (deals with chance) (deals with outcomes)  Fundamental.
Game-theoretic analysis tools Necessary for building nonmanipulable automated negotiation systems.
Extensive Games with Imperfect Information
M9302 Mathematical Models in Economics Instructor: Georgi Burlakov 3.1.Dynamic Games of Complete but Imperfect Information Lecture
Extensive-form games. Extensive-form games with perfect information Player 1 Player 2 Player 1 2, 45, 33, 2 1, 00, 5 Players do not move simultaneously.
Chapter 11 Game Theory and the Tools of Strategic Business Analysis.
Repeated Prisoner’s Dilemma If the Prisoner’s Dilemma is repeated, cooperation can come from strategies including: “Grim Trigger” Strategy – one.
An Introduction to Game Theory Part I: Strategic Games
2008/02/06Lecture 21 ECO290E: Game Theory Lecture 2 Static Games and Nash Equilibrium.
Chapter 6 © 2006 Thomson Learning/South-Western Game Theory.
Sep. 5, 2013 Lirong Xia Introduction to Game Theory.
A camper awakens to the growl of a hungry bear and sees his friend putting on a pair of running shoes, “You can’t outrun a bear,” scoffs the camper. His.
Basics on Game Theory For Industrial Economics (According to Shy’s Plan)
Lecture 1 - Introduction 1.  Introduction to Game Theory  Basic Game Theory Examples  Strategic Games  More Game Theory Examples  Equilibrium  Mixed.
Chapter Twenty-Eight Game Theory. u Game theory models strategic behavior by agents who understand that their actions affect the actions of other agents.
UNIT II: The Basic Theory Zero-sum Games Nonzero-sum Games Nash Equilibrium: Properties and Problems Bargaining Games Review Midterm3/19 3/12.
An introduction to game theory Today: The fundamentals of game theory, including Nash equilibrium.
Nash Equilibrium - definition A mixed-strategy profile σ * is a Nash equilibrium (NE) if for every player i we have u i (σ * i, σ * -i ) ≥ u i (s i, σ.
Game Applications Chapter 29. Nash Equilibrium In any Nash equilibrium (NE) each player chooses a “best” response to the choices made by all of the other.
UNIT II: The Basic Theory Zero-sum Games Nonzero-sum Games Nash Equilibrium: Properties and Problems Bargaining Games Review Midterm3/23 3/9.
Today: Some classic games in game theory
Game Theory.
CPS 170: Artificial Intelligence Game Theory Instructor: Vincent Conitzer.
Reading Osborne, Chapters 5, 6, 7.1., 7.2, 7.7 Learning outcomes
Game representations, solution concepts and complexity Tuomas Sandholm Computer Science Department Carnegie Mellon University.
Dynamic Games of complete information: Backward Induction and Subgame perfection - Repeated Games -
EC941 - Game Theory Prof. Francesco Squintani Lecture 5 1.
Extensive-form games Vincent Conitzer
Standard and Extended Form Games A Lesson in Multiagent System Based on Jose Vidal’s book Fundamentals of Multiagent Systems Henry Hexmoor, SIUC.
M9302 Mathematical Models in Economics Instructor: Georgi Burlakov 4.1.Dynamic Games of Incomplete Information Lecture
Dynamic Games & The Extensive Form
Game-theoretic analysis tools Tuomas Sandholm Professor Computer Science Department Carnegie Mellon University.
Chapters 29 and 30 Game Theory and Applications. Game Theory 0 Game theory applied to economics by John Von Neuman and Oskar Morgenstern 0 Game theory.
Chapter 5 Game Theory and the Tools of Strategic Business Analysis.
Chapters 29, 30 Game Theory A good time to talk about game theory since we have actually seen some types of equilibria last time. Game theory is concerned.
Extensive Games with Imperfect Information
Topic 3 Games in Extensive Form 1. A. Perfect Information Games in Extensive Form. 1 RaiseFold Raise (0,0) (-1,1) Raise (1,-1) (-1,1)(2,-2) 2.
GAME THEORY MILOŠ FIŠAR course BPV_APEC Public Economics - 29/9/2015.
3.1.4 Types of Games. Strategic Behavior in Business and Econ Outline 3.1. What is a Game ? The elements of a Game The Rules of the Game:
Strategic Behavior in Business and Econ Static Games of complete information: Dominant Strategies and Nash Equilibrium in pure and mixed strategies.
Chapters 29 and 30 Game Theory and Applications. Game Theory 0 Game theory applied to economics by John Von Neuman and Oskar Morgenstern 0 Game theory.
5.1.Static Games of Incomplete Information
Topics to be Discussed Gaming and Strategic Decisions
Extensive Form (Dynamic) Games With Perfect Information (Theory)
Lec 23 Chapter 28 Game Theory.
ECO290E: Game Theory Lecture 10 Examples of Dynamic Games.
M9302 Mathematical Models in Economics Instructor: Georgi Burlakov 2.1.Dynamic Games of Complete and Perfect Information Lecture
Now that we have set of pure strategies for each player, we need to find the payoffs to put the game in strategic form. Random payoffs. The actual outcome.
Chapter 28 Game Theory.
Multiagent Systems Extensive Form Games © Manfred Huber 2018.
Game Theory Chapter 12.
Learning 6.2 Game Theory.
CPS 173 Extensive-form games
Molly W. Dahl Georgetown University Econ 101 – Spring 2009
Lecture Game Theory.
Presentation transcript:

Game theory 2 Lukáš Lehotský

Pareto optimality

Game M B RightLeft A Right2, 20, 0 Left0, 01, 1

Game M B RightLeft A Right 2, 2 0, 0 Left0, 0 1, 1

Game M – pure strategy equilibriums B RightLeft A Right 2, 2 0, 0 Left0, 0 1, 1

Pareto optimality Outcome is Pareto optimal (Pareto efficient), if there is no other outcome which is better or equal for all players and strictly better for some player To put it differently, there is no outcome which makes one player better without making other players worse Conversely, outcome A is Pareto dominated, if there is outcome B that makes all players as good (weakly better) and one player strictly better compared to outcome A Might provide unstable solutions

Game M – Pareto optimality B RightLeft A Right 2, 2 0, 0 Left0, 0 1, 1

Pareto optimality A B

A B P

Prisoner’s dilemma – Pareto optimality B cd A C5, 5 0, 7 D 7, 0 3, 3

Prisoner’s dilemma – Pareto optimality B cd A C5, 5 0, 7 D 7, 0 3, 3

Prisoner’s dilemma – Pareto optimality B cd A C5, 5 0, 7 D 7, 0 3, 3

Game N B lr A L 2, 2 4, 0 R 2, 38, -1

Game N – Pareto optimality B lr A L 2, 2 4, 0 R 2, 38, -1

Game N – Pareto optimality B lr A L 2, 2 4, 0 R 2, 38, -1

Social welfare

Situation where sum of all utilities of an outcome is at its maximum Might provide unstable situations Is always Pareto optimal

Game M B RightLeft A Right2, 20, 0 Left0, 01, 1

Game M – Social welfare B RightLeft A Right 4 0 Left02

Game N B lr A L2, 24, 0 R2, 38, -1

Game N – Pareto optimality B lr A L 2, 2 4, 0 R 2, 38, -1

Game N – Social welfare B lr A L44 R5 7

Prisoner’s dilemma – Pareto optimality B cd A C5, 5 0, 7 D 7, 0 3, 3

Prisoner’s dilemma – Pareto optimality B cd A C 10 7 D76

Pareto optimality solid tool for comparing equilibriums

Mixed-strategy Nash equilibrium

Matching pennies Two players Players choose heads or tails If players match heads/tails, I (Player 1) win both coins If players don’t match heads/tails, opponent (Player 2) wins both coins

Matching pennies My pair HeadsTails Me Heads1, -1-1, 1 Tails-1, 11, -1

Matching pennies – mixed strategy My pair Heads (0.5)Tails (0.5) Me Heads (0.5) 1, -1-1, 1 Tails (0.5) -1, 11, -1

Calculation of mixed-strategy NE

Game Y B L (q)R (1 - q) A U (p) 3, -3-2, 2 D (1 - p) -1, 10, 0

Game Y – Player A Player A plans to mix Up and Down strategy at a certain ratio p Player B might play Left or Right Player A must find such a probability of playing U and D that makes Player B indifferent to selecting L or R Player B has to gain same utility from B’s choice Left and Right EU L = EU R Expected utility of Player B chosing Left: EU L = f(p) Expected utility of Player B chosing Right: EU R = f(p)

Game Y - Player A’s strategy EU L : Some % of time (p) gets B utility -3 Rest of the time (1 - p) gets B utility 1 EU L = (p)*(-3) + (1 - p)*(1) EU L = -3p p EU L = 1 - 4p B L (q)R (1 - q) A U (p) 3, -3-2, 2 D (1 - p) -1, 10, 0

Game Y - Player A’s strategy EU R : Some % of time (p) gets B utility 2 Rest of the time (1 - p) gets B utility 0 EU R = (p)*(2) + (1 - p)*(0) EU R = 2p p EU R = 2p B L (q)R (1 - q) A U (p) 3, -3-2, 2 D (1 - p) -1, 10, 0

Player A’s strategy – making B indifferent Comparison of EU L with EU R EU L = 1 - 4p EU R = 2p EU L = EU R 1 - 4p = 2p+4p 1 = 6p/6 p = 1/6 1 - p = 1 - 1/6 = 5/6 We’ve found the ideal mixed strategy for Player A If Player A plays Up 1/6 of time and Down 5/6 of time, Player B is indifferent to choosing Left or Right We need to do the same for player B

Game Y - Player B’s strategy EU U : Some % of time (q) gets A utility 3 Rest of the time (1 - q) gets A utility -2 EU U = (q)*(3) + (1 - q)*(-2) EU U = 3q q EU U = 5q - 2 B L (q)R (1 - q) A U (p) 3, -3-2, 2 D (1 - p) -1, 10, 0

Game Y - Player B’s strategy EU D : Some % of time (q) gets A utility -1 Rest of the time (1 - q) gets A utility 0 EU D = (q)*(-1) + (1 - q)*(0) EU D = -1q q EU D = -q B L (q)R (1 - q) A U (p) 3, -3-2, 2 D (1 - p) -1, 10, 0

Player B’s strategy – making A indifferent Comparison of EU U with EU D EU U = 5q - 2 EU D = -q EU U = EU D 5q - 2 = -q-5q -2 = -6q/-6 q = 1/3 1 - q = 1 - 1/3 = 2/3 We’ve found the ideal mixed strategy for Player B If Player B plays Left 1/3 of time and Down 2/3 of time, Player A is indifferent to choosing Up or Down

Mixed strategy NE ( 1/6 U, 1/3 L )

Game Y - MSNE B L (1/3)R (2/3) A U (1/6) 3, -3-2, 2 D (5/6) -1, 10, 0

Battle of sexes Want to go out together but have no means of communication Have 2 choices – ballet or box fight Player A prefers box fight Player B prefers ballet Both prefer being together than being alone Preferences for player A:F > B > A Preferences for player B:B > F > A

Battle of sexes B bf A B1, 20, 0 F 2, 1

Battle of sexes B bf A B1, 20, 0 F 2, 1 Battle of sexes – PS equilibriums

Equilibriums 2 pure-strategies equilibriums How would they coordinate? Apart from pure strategies equilibriums there is one mixed strategy equilibrium for this game ( 1/3 B, 2/3 b )

B b 2/3f 1/3 A B 1/3 1, 20, 0 F 2/3 0, 02, 1 Battle of sexes – mixed strategy equilibrium

Calculation of MS NE payoffs

Battle of sexes – mixed-strategy NE payoffs B b 2/3f 1/3 A B 1/3 1, 2 1/3 * 2/3 0, 0 1/3 * 1/3 F 2/3 0, 0 2/3 * 2/3 2, 1 2/3 * 1/3

Battle of sexes – mixed-strategy NE payoffs B b 2/3f 1/3 A B 1/3 1, 2 2/9 0, 0 1/9 F 2/3 0, 0 4/9 2, 1 2/9

BoS – Payoffs for player A We simply multiply payoffs for player A and probabilities for each outcome and then sum them together Player A’s payoffs: u(B, b) = 1 * 2/9 = 2/9 u(B, f) = 0 * 1/9= 0 u(F, b)= 0 * 4/9= 0 u(F, f)= 2 * 2/9= 4/9 EU(A) = 2/ /9 EU(A) = 6/9 EU(A) = 2/3 B b 2/3f 1/3 A B 1/3 1, 2 2/9 0, 0 1/9 F 2/3 0, 0 4/9 2, 1 2/9

BoS – Payoffs for player B We simply multiply payoffs of player B and probabilities for each outcome and then sum them together Player A’s payoffs: u(B, b) = 2 * 2/9 = 4/9 u(B, f) = 0 * 1/9= 0 u(F, b)= 0 * 4/9= 0 u(F, f)= 1 * 2/9= 2/9 EU(B) = 4/ /9 EU(B) = 6/9 EU(B) = 2/3 B b 2/3f 1/3 A B 1/3 1, 2 2/9 0, 0 1/9 F 2/3 0, 0 4/9 2, 1 2/9

Battle of sexes NE Pure strategies NE ( B, b ) EU(A) = 1 EU(B) = 2 ( F, f ) EU(A) = 2 EU(B) = 1 Mixed strategies NE ( 1/3 B, 2/3 b ) EU(A) = 2/3 EU(B) = 2/3 B bf A B1, 20, 0 F 2, 1

FSS entrance game Two students meet at the main faculty entrance Both simultaneously decide whether to walk or stop If both walk, they collide and both get a bruise (payoff -5) If one stops and other walks Student who stopped gets good karma for letting the other pass with payoff 1, but at the same time gets delayed, which is completely offsetting the value of the good karma Student who walked gets to pass quickly and thus gets payoff 1 If both stop, each would get good karma for letting the other pass, but each will get delayed

B Ws A W-5, -51, 0 S0, 10, 0 FSS entrance game

B w 1/6 s 5/6 A W 1/6 -5, -51, 0 S 5/6 0, 10, 0 FSS entrance game NE

Extensive form games

Visualized as a game (decision) tree Players move sequentially Captures time in game Captures knowledge of agents – sometimes agents do not have information where they are located in game

U D d d u u A B B (2, 4) (1, -5) (-2, 6) (4, 4)

Basic terminology Each square is called node Each line represents an action an owner of the node has at his disposal Nodes might either trigger other action or end Every circle is an end of the tree – it’s called terminal node Every circle must yield payoffs for all the actors Each moment actor has information about all previous moves called information set

Backwards induction

U D d d u u A B B (2, 4) (1, -5) (-2, 6) (4, 4)

Backwards induction Moves player make at nodes reached in an equilibrium are called behavior on the equilibrium path Moves player make at nodes that are not reached in an equilibrium are behavior off the equilibrium path Players can not commit themselves to make moves in future – decisions at nodes change decisions at later nodes

Backwards induction Begin with decisions that lead only to terminal nodes Compare payoffs for decisions in each node leading to terminal node Find best reply to alternatives of player playing at the current node Work through nodes backwards and solve the outcomes of all nodes comparing payoffs for respective players

U D d d u u A B B (2, 4) (1, -5) (-2, 6) (4, 4)

U D d d u u A B B (2, 4 ) (1, -5) (-2, 6 ) (4, 4)

U D d d u u A B B ( 2, 4 ) (1, -5) (-2, 6 ) ( 4, 4)

Equilibrium of sequential game One Nash equilibrium in pure strategies on the equilibrium path ( U ; u, u ) There may be more NE in pure strategies B decides – if A goes U than u yields better payoff in the upper node, if A goes D than u yields better payoff in the lower node A knows that B will choose u in both nodes, therefore compares payoffs in u for going U or D – U yields better payoff

Backwards induction Works easily in games of perfect information All actors are aware of all previous actions and can also anticipate, what actors will do based on their expected utilities over outcomes at subsequent nodes – actors have a perfect recall However, backwards induction assesses only rationality on the equilibrium path. NE found off the equilibrium path will not be found through backwards induction

U D d u A B (1, 1) (-1, -1) (2, 0) Selten’s game

U D d u A B (1, 1 ) (-1, -1) (2, 0 ) Selten’s game

U D d u A B (1, 1 ) (-1, -1) ( 2, 0 ) Selten’s game

Rewrite Selten’s game into matrix Player A has 2 moves U, D Thess constitute 2 rows in a matrix Player B has also 2 moves u, d These constitute 2 columns in a matrix We have 2x2 game in normal form

U D d u A B (1, 1) (-1, -1) (2, 0) Selten’s game

B ud A U D Strategic form of Selten’s game

U D d u A B (1, 1) (-1, -1) (2, 0) Selten’s game

B ud A U D-1, -12, 0 Strategic form of Selten’s game

U D d u A B (1, 1) (-1, -1) (2, 0) Selten’s game

B ud A U1, 1 D-1, -12, 0 Strategic form of Selten’s game

B ud A U1, 1 D-1, -12, 0 Strategic form of Selten’s game

Rewriting extensive form into normal form If we rewrite extensive form game into normal form, only one matrix will emerge as a representation This does not work the other way around Since matrixes do not hold information about sequence of actions, one normal-form game might have multiple extensive-form representations that would completely alter outcomes of the game

Selten’s game from matrix U D d d u u A B (1, 1) (-1, -1) (2, 0)

Selten’s game from matrix u d D D U U B A (1, 1) (-1, -1) (0, 2)

B ud A U1, 1 D-1, -12, 0 Strategic form of Selten’s game

B ud A U 1, 1 D-1, -1 2, 0 Strategic form of Selten’s game

B ud A U 1, 1 D-1, -1 2, 0 Strategic form of Selten’s game

U D d u A B (1, 1 ) (-1, -1) ( 2, 0 ) Selten’s game

NE off the equilibrium path This game has another NE which is represented by action U which is not revealed in extensive form This equilibrium (U, u) is called a non-credible threat B is willing to get its largest payoff, which will result from A playing U (deciding not to play the game) B can change its payoff from A’s decision about U and D only by threatening that it will play u if A plays D But B will never play u, since it brings lower payoff than playing d

U D d u A B (1, 1) (-1, -1) (2, 0) Selten’s game and non-credible threat

Subgame perfection

Subgame Subset of the nodes of a game starting with initial node and including all its successors that preserves all information sets of the game and over which a (new) game is defined by the restriction of the original game elements to these nodes Subgame can be treated as a game in its own right To ensure each player rational, there’s requirement that strategies are optimal in all proper subgames

U D d u A B (1, 1) (-1, -1) (2, 0) Subgames of Selten’s game

Information sets Player’s information/knowledge about moves, which have been played in the game previously In games of perfect information, each node with its actions is information set – each player in each moment of the game knows, which moves were played before If player is uncertain about previous moves, information set contains more than one node Information sets capture player’s ignorance about previous moves in game

Subgames in PD in EF C D d d c c A B (5, 5) (-10, 10) (10, -10) (-5, -5)

Game A A D A (10, -10) (15, 5) j i B (-5, -5) G S A (0, 0)

Game A – Backwards induction A D A (10, -10) (15, 5)

Game A – Backwards induction A D A (10, -10) ( 15, 5)

Game A – Backwards induction A D A (10, -10) (15, 5 ) j i B (-5, -5)

Game A – Backwards induction A D A (10, -10) ( 15, 5) j i B (-5, -5) G S A (0, 0)

Game A – Backwards induction solution A D A (10, -10) ( 15, 5 ) j i B (-5, -5) G S A (0, 0)

Subgame perfection Set of strategies is subgame perfect, if for every proper subgame, the restriction of those strategies to the subgame forms a Nash Equilibrium SPNE must thus form NE in every subgame of the game, from the game itself to the last subgame Restricts equilibriums in the game which are not a credible threat throughout the game

Game A - Subgames A D A (10, -10) (15, 5) j i B (-5, -5) G S A (0, 0)

B j A A10, -10 D15, 5 Strategic form of Subgame 1

B j A A10, -10 D 15, 5 NE in strategic form of Subgame 1

B ji A A10, -10-5, -5 D15, 5-5, -5 Strategic form of Subgame 2

B Ji A A10, , -5 D 15, 5-5, -5 NE in strategic form of Subgame 2

B Ji A GA10, -10-5, -5 GD15, 5-5, -5 SA0, 0 SD0, 0 Strategic form of Subgame 3

B Ji A GA10, , -5 GD 15, 5 -5, -5 SA 0, 0 SD 0, 0 NE in strategic form of Subgame 3

NE in the Game A Strategic form NE NE 1: NE 2: NE 3: Backwards induction NE NE 1: Subgame perfect NE NE 1:

Game B L R A (0, 2) (-2, -2) u d B (1, -1) U D A (0, 3)

B u A L0, 2 R-2, -2 Strategic form of Subgame 1

B u A L 0, 2 R-2, -2 NE in strategic form of Subgame 1

B ud A L0, 21, -1 R-2, -21, -1 Strategic form of Subgame 2

B ud A L 0, 21, -1 R-2, -2 1, -1 NE in strategic form of Subgame 2

B ud A UL0, 3 UR0, 3 DL0, 21, -1 DR-2, -21, -1 Strategic form of Subgame 3

B ud A UL 0, 3 UR 0, 3 DL 0, 21, -1 DR-2, -2 1, -1 NE in strategic form of Subgame 3

NE in the game Strategic form NE NE 1: NE 2: NE 3: NE 4: Backwards induction NE NE 2: NE 3: Subgame perfect NE NE 3:

u d R L B A (0, 0) (-2, -2) Game X U D A R L A (2, 1) (0, 0) (1, 4)

u d R L B A (0, 0) (-2, -2) Game X - Subgames U D A R L A (2, 1) (0, 0) (1, 4)

B ud A L2, 10, 0 R -2, -2 Strategic form of Subgame of Game X

B ud A L 2, 10, 0 R -2, -2 NE in strategic form of Subgame of Game X

B ud A UL1, 4 UR1, 4 DL2, 10, 0 DR0, 0-2, -2 Strategic form of the whole Game X

B ud A UL 1, 4 UR 1, 4 DL 2, 1 0, 0 DR 0, 0 -2, -2 NE in strategic form of the whole Game X

NE in the Game X Strategic form NE NE 1: NE 2: NE 3: Backwards induction NE Can’t apply Subgame perfect NE NE 3:

Thank you for your attention

Sources McCain, R. A. Game Theory: a Nontechnical Introduction to the Analysis of Strategy. World Scientific Publishing, Singapore Morrow, J. D. Game theory for political scientists. Princeton University Press, Princeton Elster, J. (ed) Rational choice. New York University Press, New York Binmore, K. Game Theory: A Very Short Introduction. Oxford University Press, Oxford ECON 159: GAME THEORY, Yale Open Courses,