CSC304 Lecture 2 Game Theory (Basic Concepts)
CSC304 - Nisarg Shah 1
(Basic Concepts) CSC304 - Nisarg Shah 1 Game Theory How do - - PowerPoint PPT Presentation
CSC304 Lecture 2 Game Theory (Basic Concepts) CSC304 - Nisarg Shah 1 Game Theory How do rational, self-interested agents act? Each agent has a set of possible actions Rules of the game: Rewards for the agents as a function of
CSC304 - Nisarg Shah 1
CSC304 - Nisarg Shah 2
➢ Rewards for the agents as a function of the actions taken
by different agents
➢ No external force or agencies enforcing coalitions
CSC304 - Nisarg Shah 3
➢ Action of player 𝑗 → 𝑡𝑗 ➢ Action profile Ԧ
𝑡 = (𝑡1, … , 𝑡𝑜)
➢ Given action profile Ԧ
𝑡 = (𝑡1, … , 𝑡𝑜), each player 𝑗 gets reward 𝑣𝑗 𝑡1, … , 𝑡𝑜
CSC304 - Nisarg Shah 4
Sam’s Actions John’s Actions Stay Silent Betray Stay Silent (-1 , -1) (-3 , 0) Betray (0 , -3) (-2 , -2)
𝑣𝑇𝑏𝑛(𝐶𝑓𝑢𝑠𝑏𝑧, 𝑇𝑗𝑚𝑓𝑜𝑢) 𝑣𝐾𝑝ℎ𝑜(𝐶𝑓𝑢𝑠𝑏𝑧, 𝑇𝑗𝑚𝑓𝑜𝑢)
Recall: Prisoner’s dilemma 𝑇 = {Silent,Betray} 𝑡𝑇𝑏𝑛 𝑡𝐾𝑝ℎ𝑜
CSC304 - Nisarg Shah 5
➢ Choose an action to play ➢ E.g., “Betray” ➢ For our purposes, simply an action.
action to play at every step of the game based on history.
➢ Choose a probability distribution over actions ➢ Randomize over pure strategies ➢ E.g., “Betray with probability 0.3, and stay silent with
probability 0.7”
CSC304 - Nisarg Shah 6
′ if playing 𝑡𝑗 “is better
than” playing 𝑡𝑗
′ irrespective of the strategies of the
➢ 𝑣𝑗 𝑡𝑗, Ԧ
𝑡−𝑗 ≥ 𝑣𝑗 𝑡𝑗
′, Ԧ
𝑡−𝑗 , ∀Ԧ 𝑡−𝑗
➢ Strict inequality for some Ԧ
𝑡−𝑗 ← Weak
➢ Strict inequality for all Ԧ
𝑡−𝑗 ← Strict
CSC304 - Nisarg Shah 7
player 𝑗 if
➢ it strictly (or weakly) dominates every other strategy
➢ Only makes sense to play it
➢ Determines the rational outcome of the game
CSC304 - Nisarg Shah 8
Sam’s Actions John’s Actions Stay Silent Betray Stay Silent (-1 , -1) (-3 , 0) Betray (0 , -3) (-2 , -2)
➢ Betray if the other player will stay silent ➢ Betray if the other player will betray
CSC304 - Nisarg Shah 9
➢ No single strategy dominates every other strategy ➢ But some strategies might still be dominated
➢ Can remove their dominated strategies ➢ Might reveal a newly dominant strategy
weakly dominated
CSC304 - Nisarg Shah 10
➢ Microsoft vs Startup ➢ Enter the market or stay out?
Microsoft Startup Enter Stay Out Enter (2 , -2) (4 , 0) Stay Out (0 , 4) (0 , 0)
CSC304 - Nisarg Shah 11
➢ Each student guesses a real number between 0 and 100
(inclusive)
➢ The student whose number is the closest to 2/3 of the
average of all numbers wins!
CSC304 - Nisarg Shah 12
➢ Either directly, or by iteratively eliminating dominated
strategies
➢ Rational outcome of the game
Students Professor Attend Be Absent Attend (3 , 1) (-1 , -3) Be Absent (-1 , -1) (0 , 0)
CSC304 - Nisarg Shah 13
➢ X dominates Y = “Play X instead of Y irrespective of what
➢ Too strong ➢ Replace by “given what others are doing”
➢ A strategy profile Ԧ
𝑡 is in Nash equilibrium if 𝑡𝑗 is the best action for player 𝑗 given that other players are playing Ԧ 𝑡−𝑗 𝑣𝑗 𝑡𝑗, Ԧ 𝑡−𝑗 ≥ 𝑣𝑗 𝑡𝑗
′, Ԧ
𝑡−𝑗 , ∀𝑡𝑗
′
No quantifier on Ԧ 𝑡−𝑗
CSC304 - Nisarg Shah 14
a) It has nothing to do with Nash equilibria. b) It must be part of some Nash equilibrium. c) It must be part of all Nash equilibria.
Sam’s Actions John’s Actions Stay Silent Betray Stay Silent (-1 , -1) (-3 , 0) Betray (0 , -3) (-2 , -2)
CSC304 - Nisarg Shah 15
a) It has nothing to do with Nash equilibria. b) It must be part of some Nash equilibrium. c) It must be part of all Nash equilibria.
Sam’s Actions John’s Actions Stay Silent Betray Stay Silent (-1 , -1) (-3 , 0) Betray (0 , -3) (-2 , -2)
CSC304 - Nisarg Shah 16
a) Might remove existing Nash equilibria. b) Might add new Nash equilibria. c) Both of the above. d) None of the above.
Microsoft Startup Enter Stay Out Enter (2 , -2) (4 , 0) Stay Out (0 , 4) (0 , 0)
CSC304 - Nisarg Shah 17
a) Might remove existing Nash equilibria. b) Might add new Nash equilibria. c) Both of the above. d) None of the above.
Microsoft Startup Enter Stay Out Enter (2 , -2) (4 , 0) Stay Out (0 , 4) (0 , 0)
CSC304 - Nisarg Shah 18
Students Professor Attend Be Absent Attend (3 , 1) (-1 , -3) Be Absent (-1 , -1) (0 , 0)
CSC304 - Nisarg Shah 19
➢ Each hunter decides to hunt stag or hare. ➢ Stag = 8 days of food, hare = 2 days of food ➢ Catching stag requires both hunters, catching hare
requires only one.
➢ If they catch only one animal, they share.
Hunter 2 Hunter 1 Stag Hare Stag (4 , 4) (0 , 2) Hare (2 , 0) (1 , 1)
CSC304 - Nisarg Shah 20
P2 P1 Rock Paper Scissor Rock (0 , 0) (-1 , 1) (1 , -1) Paper (1 , -1) (0 , 0) (-1 , 1) Scissor (-1 , 1) (1 , -1) (0 , 0)
CSC304 - Nisarg Shah 21
➢ Fare = 10 ➢ Cost of inspection = 1 ➢ Fine if fare not paid = 30 ➢ Total cost to driver if caught = 90
Driver Inspector Inspect Don’t Inspect Pay Fare (-10 , -1) (-10 , 0) Don’t Pay Fare (-90 , 29) (0 , -30)
CSC304 - Nisarg Shah 22
strategy Nash equilibrium.
P2 P1 Rock Paper Scissor Rock (0 , 0) (-1 , 1) (1 , -1) Paper (1 , -1) (0 , 0) (-1 , 1) Scissor (-1 , 1) (1 , -1) (0 , 0)
CSC304 - Nisarg Shah 23
If the mixed strategy of player 𝑗 in a Nash equilibrium randomizes over a set of pure strategies 𝑈𝑗, then the expected payoff to player 𝑗 from each pure strategy in 𝑈𝑗 must be identical.
CSC304 - Nisarg Shah 24
between 2 and 99 (inclusive).
➢ If both report the same number, each gets this value. ➢ If one reports a lower number (𝑡) than the other (𝑢), the
former gets 𝑡+2, the latter gets 𝑡-2.
100 99 98 97 96
s t
. . . . . . . . . . . 95
CSC304 - Nisarg Shah 25
shop on the beach ([0,1]).
➢ The brother at 𝑡 gets 0,
𝑡+𝑢 2 , the other gets 𝑡+𝑢 2 , 1 1 s t