GameTheory
GameTheory
Sonya Javadi
İTÜ 2020
2
Introduction
What is Game Theory?!
Study of rational behavior in situations in which your choices
affect others and their choices affect you, (we call them
‘’games’’).
Games We Play:
• Driving
• Group projects
• Dating
• Price wars
• Standard wars
3
Introduction
Decisions:
You take the world as given and make the best decision for
yourself.
Examples: selecting a field at university or choosing the city to
live, etc.
Games:
Your best decision depends on what others do, and what they do
may depend on what they think you do …
Examples: Pricing of the batch pie for a pie manufacturer and
hunting either stag or hare of two hunters, etc.
4
Introduction
Optimization theory versus Game theory:
In Optimization Theory the purpose is to optimize a single
objective over a decision variable while in Game Theory the
purpose is the study of multi-person decision problems.
• Large-scale networks.
• Online advertising on the Internet.
• Information evolution and belief propagation in social networks.
5
Introduction
Game Theory over Time:
• The first studies of games in the economics literature were the papers
by Cournot (1838), Bertrand (1883), Edgeworth (1925) on oligopoly
and pricing and production. But these were seen as special models
that did little to change the economics world.
Introduction
Introduction
Introduction
How to Anticipate others’Behavior?
Introduction
Mechanism Design (MD):
Design of a game (or incentives) to achieve an objective (eg.
system-wide goal or designer’s selfish objective).
• Piemax knows that the other firms choose their own prices on
the basis of their own predications of the market.
1. The simplest case is one where Piemax and all its competitors
operate for only one day, where all the firms know the
demand for pies, and where each firms knows the production
technologies of the others.
(In a zero-sum game, the interests of the players are directly opposed,
with no common interests at all).
15
Example
Example
Example
• Players: Reynolds, Philip Morris
• Strategies: Advertise, Do Not Advertise
• Payoffs: Companies’ Profits
Some Structure:
Each firm earns $50 million from its customers.
Advertising costs each firm $20 million.
Advertising captures $30 million from competitor.
21
Example
Example
Game Matrix
PLAYERS
Philip Morris
NO AD AD
NO AD 50 , 50 20 , 60
Reynolds AD 60 , 20 30 , 30
STARTEGIES PAYOFFS
23
Example
Best Response for Reynolds:
Philip Morris
NO AD AD
Reynolds NO AD
AD
24
Example
Example
What happened?
Example
Game- Changer: Gov’t-Enforced Collusion?
Philip Morris
NO AD AD
Reynolds NO AD 50 , 50 20 , x
AD x , 20 Y ,Y
Strategic-Form Games
We begin with a simple game:
If a group of hunters set out to take a stag, they are fully aware
that they would all have to remain faithfully at their posts in order
to succeed; but if a hare happens to pass near one of them, there
can be no doubt that he pursued it without qualm, and that once
he had caught his prey, he cared very little whether or not he had
made his companions miss theirs.
28
Strategic-Form Games
To make this into a game, we assume that there are only two
hunters, and they must decide simultaneously whether to hunt
for stag or for hare.
If both hunt for hare, they each will catch one hare. If one hunts
for hare while the other tries to take a stag, the former will catch
a hare and the latter will catch nothing. Each hunter prefers half a
stag to one hare.
29
Strategic-Form Games
• The hunters are the players.
• Each player has two choices or strategies: hunt stag and hunt
hare.
• The payoff is the prey.
• A stag is worth 4 and a hare is worth 1.
• When both players hunt stag each has a payoff of 2.
• A player who hunts hare has payoff 1, and a player who hunts
stag by himself has payoff 0.
30
Strategic-Form Games
• If each player believes the other will hunt hare, each is better off
hunting hare himself.
Strategic-Form Games
• They are two ways of describing games: the strategic (or
normal) form and the extensive form.
Strategic-Form Games
• Games in which all of the participants act simultaneously and without
knowledge of other players’ actions are referred to as strategic form
games—or as normal form games or matrix games.
• A fact is common knowledge if all players know it, and know that they
all know it, and so on.
33
• E.g., one choice would be whether to accept a gamble which pays $10
with probability 1/2 and makes you lose $10 with probability 1/2.
𝑈 (𝑎) = න 𝑢 𝑐 𝑓 𝑎 𝑐 𝑑 𝑐 ,
Strategic-Form Games
Strategic-Form Games
In addition, we use the notations:
Strategic-Form Games
• In game theory, a strategy is a complete description of how to
play the game.
Strategic-Form Games
• For example, in chess, this would be an impossible task (though
in some simpler games, it can be done).
Strategic-Form Games
• When the 𝑆𝑖 is finite for all 𝑖 , we call the game a finite game.
• For 2 players and small number of actions, a game can be represented
in matrix form.
• Recall that the cell indexed by row 𝑥 and column 𝑦 contains a pair
𝑎, 𝑏 , where 𝑎 = 𝑢1 (𝑥, 𝑦 ) and 𝑏 = 𝑢2 (𝑥, 𝑦 ).
• The key feature of these games is that the sum of the utilities is a
constant; setting the constant to equal zero is a normlization.
41
Strategic-Form Games
• A mixed strategy is a probability distribution over pure
strategies.
Strategic-Form Games
• The support of a mixed strategy 𝜎𝑖 is the set of pure strategies to
which 𝜎𝑖 assigns positive probability.
• Player 𝑖’s payoff to profile is
𝐼
𝑢𝑖 𝜎 = ෑ 𝜎𝑗 𝑠𝑗 𝑢𝑖 𝑠 .
𝑠∈𝑆 𝑗=1
43
Strategic-Form Games
Example:
What are the payoffs to profits 𝜎1 and 𝜎2 for players 1, 2?!!
L M R
U 4,3 5,1 6,2
M 2,1 8,4 3,6
D
3,0 9,6 2,8
44
Dominated Strategies
• In pervious example, no matter how player 1 plays, R gives
player 2 a strictly higher payoff then M does.
Dominated Strategies
• Finally, if player 2 knows that player 1 knows that player 2 will
not play M, then player 2 knows that player 1 will play U, and so
player 2 should play L.
Dominated Strategies
Definition: Pure strategy 𝑠𝑖 is strictly dominated for player 𝑖 if
there exists 𝜎𝑖 ′ ∈ σ𝑖 such that
Dominated Strategies
• A mixed strategy that assigns positive probability to a
dominated pure strategy is dominated.
Dominated Strategies
Example:
L R
U 1,3 -2,0
M -2,0 1,3
D 0,1 0,1
Dominated Strategies
Example:
L R L R
U U - 1,3 2,1
1,3 4,1
D D 0,2 3,4
0,2 3,4
Could it help player 1 to change the game and reduce his payoffs
if U occurs by 2 units, which would result in the game shown in
next figure?
50
Dominated Strategies
Decision theory says that such a change would not help, but in a
game theory may have beneficial effects on the play of
opponents.!!
51
C D
1,1 -1,2
C
D 2,-1 0,0
54
Prisoner's Dilemma
What will the outcome of this game be?
Nash Equilibrium
A Nash equilibrium is a profile of strategies such that each
player’s strategy is an optimal response to the other player's
strategies.
Nash Equilibrium
Nash Equilibrium
Nash Equilibrium
Example
Majority Voting
There are three players, 1,2,3.
There are three alternatives, A, B, and C.
Players vote simultaneously for an alternatives.
The strategy spaces are 𝑆𝑖 = {𝐴, 𝐵. 𝐶}
The alternative with the most votes wins, if no, then alternative A is
selected.
The payoff functions are
𝑢1 𝐴 = 𝑢2 𝐵 = 𝑢3 𝐶 = 2,
𝑢1 𝐵 = 𝑢2 𝐶 = 𝑢3 𝐴 = 1,
𝑢1 𝐶 = 𝑢2 𝐴 = 𝑢3 𝑏 = 0.
This game has three pure-strategy equilibrium outcomes; A, B, and C.
60
H T
1, -1 -1,1
H
T -1, 1 1,-1
62
Focal Points
• What do we do when there are multiple Nash equilibria?
• Our models would not be making a unique prediction.
Focal Points
• Equilibrium selection is hard.
• Most important idea, Schelling’s focal point.
• Some equilibria are more natural and will be expected.
• Schelling’s example: ask the people to meet in New York,
without specifying the place. Most people will go to Grand
Central. Meeting at Grand Central, as opposed to meeting at
any one of thousands of similar places, is a “focal point”.
64
Focal Points
Example: Battle of the Sexes (players wish to coordinate but have
conflicting interests).
B F
B 1,4 0,0
F 0,0 4,1
Multiple Equilibria
• Another example of multiple equilbria is the stag-hunt game,
where each player has to choose whether to hunt hare by
himself or to join a group that hunt stag.
• Suppose that there are 𝐼 players, that choosing hare gives payoff
1 regardless of the other players’ actions, and that choosing stag
gives payoff 2 if all players choose stage and gives payoff 0
otherwise.
• This game has two pure-strategy equilbria: ‘all stag’ and ‘all
hare’.
66
References
• Game Theory, by D. Fudenberg and J. Tirole, MIT Press, 1991.
• Game Theory with Engineering Applications, by Asu. Ozdaglar.
MIT Open Courses.