SlideShare a Scribd company logo
Free AI Kit
Game Theory
Fariz Darari, Ph.D.
doc.v04
What is Game Theory?
• Game theory is the study of the ways in which interacting choices of
economic agents produce outcomes with respect to the preferences
(or utilities) of those agents. (plato.stanford.edu)
• Game theory is a theoretical framework for conceiving social
situations among competing players. In some respects, game theory
is the science of strategy, or at least the optimal decision-making of
independent and competing actors in a strategic setting.
(investopedia.com)
2
So, Game Theory is Basically ...
... how to make decisions in a multi-agent system.
Game Theory is leveraged to analyze agent decisions and measure the
expected utility for every decision, with the assumption that other
agents behave optimally.
As opposed to the turn-taking, fully observable adversarial search,
Game Theory works in a partially observable environment using
simultaneous moves.
3
Two-Finger Morra Game
Evenia and Oddie, simultaneously, show one or two fingers.
Suppose that the sum of all the shown fingers is N.
Utilities:
• If N is even, then Evenia gets N dollar from Oddie.
• If N is odd, then Oddie gets N dollar from Evenia.
4
Single-Move Games
• Agents make one-move decisions.
• Examples:
• Product pricing
• International relations
• Games in traditional sense: Two-finger Morra,
Rock-Paper-Scissors, etc
• Marriage? :)
5
Components
• Players: Involved agents to make decisions. Can be two or
more.
• Actions: What agents can do. Action decisions need not be
unique among agents.
• Payoff Function: Utility values for every player for every
action combination by all players.
Such a payoff function can be represented by a matrix called:
Strategic form/normal form.
6
Two-Finger Morra Game: Revisited
7
Oddie: One Oddie: Two
Evenia: One E = 2, O = -2 E = -3, O = 3
Evenia: Two E = -3, O = 3 E = 4, O = -4
Evenia and Oddie, simultaneously, show one or two fingers.
Suppose that the sum of all the shown fingers is N.
Utilities:
• If N is even, then Evenia gets N dollar from Oddie.
• If N is odd, then Oddie gets N dollar from Evenia.
Game Strategies
• Every player must adopt and execute a strategy/policy.
• Pure strategy: Deterministic policy.
• Mixed strategy: Randomized policy, involves probability
distribution, [p : a, (1 – p): b]. For example, [0.4 : One, 0.6 : Two].
• A strategy profile is a strategy selection for every player with
some outcome value.
• A solution in Game Theory is a strategy profile where each
player takes a rational strategy.
8
Prisoner's Dilemma
Two members of a criminal gang are arrested and imprisoned. Each prisoner is in solitary
confinement with no means of communicating with the other. The prosecutors lack sufficient
evidence to convict the pair on the principal charge, but they have enough to convict both on
a lesser charge. Simultaneously, the prosecutors offer each prisoner a bargain. Each prisoner
is given the opportunity either to betray the other by testifying that the other committed the
crime, or to cooperate with the other by remaining silent. The possible outcomes are:
• If A and B each betrays the other, each of them serves two years in prison
• If A betrays B but B remains silent, A will be set free and B will serve three years in prison
• If A remains silent but B betrays A, A will serve three years in prison and B will be set free
• If A and B both remain silent, both of them will serve only one year in prison.
9
Two members of a criminal gang are arrested and imprisoned. Each prisoner is in solitary
confinement with no means of communicating with the other. The prosecutors lack
sufficient evidence to convict the pair on the principal charge, but they have enough to
convict both on a lesser charge. Simultaneously, the prosecutors offer each prisoner a
bargain. Each prisoner is given the opportunity either to betray the other by testifying that
the other committed the crime, or to cooperate with the other by remaining silent. The
possible outcomes are:
• If A and B each betrays the other, each of them serves two years in prison
• If A betrays B but B remains silent, A will be set free and B will serve three years in prison
• If A remains silent but B betrays A, A will serve three years in prison and B will be set
free
• If A and B both remain silent, both of them will serve only one year in prison.
10
Two members of a criminal gang are arrested and imprisoned. Each prisoner is in
solitary confinement with no means of communicating with the other. The
prosecutors lack sufficient evidence to convict the pair on the principal charge, but
they have enough to convict both on a lesser charge. Simultaneously, the
prosecutors offer each prisoner a bargain. Each prisoner is given the opportunity
either to betray the other by testifying that the other committed the crime, or to
cooperate with the other by remaining silent. The possible outcomes are:
Strategy for B:
• If A stays silent: B stays silent (-1) vs. B bertrays (0)
• If A bertrays: B stays silent (-3) vs. B bertrays (-2)
Best strategy: B bertrays (always better than stays silent)
11
Two members of a criminal gang are arrested and imprisoned. Each prisoner is in
solitary confinement with no means of communicating with the other. The
prosecutors lack sufficient evidence to convict the pair on the principal charge, but
they have enough to convict both on a lesser charge. Simultaneously, the
prosecutors offer each prisoner a bargain. Each prisoner is given the opportunity
either to betray the other by testifying that the other committed the crime, or to
cooperate with the other by remaining silent. The possible outcomes are:
Strategy for A?
12
Dominant strategy for Prisoner's dilemma: To betray!*
*After all, they are criminals, so no code of conduct is required.
13
Dominant Strategy
• Strategy s for player p strongly dominates strategy s0 if the outcome
of s is always better for p than the outcome of s0 no matter what is
done by the other players.
• Strategy s for player p weakly dominates strategy s0 if the outcome of
s is better for p than the outcome of s0 in at least one strategy
profile, and is no worse than s0 in the other strategy profiles.
• Rationality: Picking a dominant strategy.
14
Exercise
What is each player's dominant strategy?
15
*Player One's payoffs are in bold.
Exercise
What is each player's dominant strategy?
16
*Player One's payoffs are in bold.
• Dominant strategy for Player One?
- If Player Two cooperates:
Player One Cooperate ($10) vs. Player One Cheat ($12)
- If Player Two cheats:
Player One Cooperate ($0) vs. Player One Cheat ($5)
Exercise
What is each player's dominant strategy?
17
*Player One's payoffs are in bold.
• Dominant strategy for Player Two?
- If Player One cooperates:
Player Two Cooperate ($10) vs. Player Two Cheat ($12)
- If Player One cheats:
Player Two Cooperate ($0) vs. Player Two Cheat ($5)
Exercise
What is each player's dominant strategy?
18
Oddie: One Oddie: Two
Evenia: One E = 2, O = -2 E = -3, O = 3
Evenia: Two E = -3, O = 3 E = 4, O = -4
Exercise
What is each player's dominant strategy?
19
Oddie: One Oddie: Two
Evenia: One E = 2, O = -2 E = -3, O = 3
Evenia: Two E = -3, O = 3 E = 4, O = -4
Neither player has a dominant strategy.
Exercise
What is each player's dominant strategy?
20
Exercise
What is each player's dominant strategy?
21
Neither player has a dominant strategy.
• If Player Two chooses rock, Player One should play paper
• If Player Two chooses paper, Player One responds with scissors
• If Player Two chooses scissors, Player One chooses rock
If every player has a dominant strategy, then the strategy combination
is called Dominant Strategy Equilibrium. 22
Dominant Strategy Equilibrium
If every player has a dominant strategy, then the strategy combination
is called Dominant Strategy Equilibrium. 23
Dominant Strategy Equilibrium
Dominant Strategy Equilibrium:
(Bertrays, Bertrays)
Nash Equilibrium
• Equilibrium is a concept such that no player would
gain more for changing her strategy if other players
do not change their strategy.
• The Nash Equilibrium is a decision-making theorem within Game Theory
that states a player can achieve the desired outcome by not deviating
from their initial strategy.
Note: Any dominant strategy equilibrium is always a Nash equilibrium!
24
Pure Strategy Nash Equilibrium
1. Identify each player's optimal strategy in response to what other
players might do.
2. A Nash equilibrium is defined when all players are playing their
optimal strategies simultaneously.
25
The dominant strategy equilibrium here is:
(Bertrays, Bertrays)
^And this is also the Nash equilibrium for the given problem.
Note: Any dominant strategy equilibrium is a Nash equilibrium.
Exercise
What is the Nash Equilibrium?
26
Dilemma in Prisoner's Dilemma
27
Nash Equilibrium: (Bertrays, Bertrays)
• The equilibrium outcome is worse than the outcome when both
players stay silent.
• An outcome is Pareto-optimal if there is no other outcome wanted by
all players.
• An outcome o is Pareto-dominated by outcome o' if every player
chooses o'. For example, (-2, -2) is Pareto-dominated by (-1, -1).
Putting all together
28
• Is there a dominant strategy?
• Nash Equilibrium?
• Which is best?
Best: One Best: Two
Acme: One A = 9, B = 9 A = -3, B = -1
Acme: Two A = -4, B = -1 A = 5, B = 5
Putting all together
29
• Is there a dominant strategy? No!
• Nash Equilibrium? Two equilibria, that is, (One, One) and (Two, Two)
• Which is best? Pareto-optimal Nash Equilibrium = (One, One)
Best: One Best: Two
Acme: One A = 9, B = 9 A = -3, B = -1
Acme: Two A = -4, B = -1 A = 5, B = 5
Mixed Strategy
• Some problems do not have any pure strategy Nash equilibrium.
Recall: Two-finger Morra Game
• A mixed strategy could come into handy: Adding probabilities to our decisions.
• For example, Evenia could pick One with probability p, and Two with probability
(1 - p).
• Goal of a mixed strategy: To reach an equilibrium such that the opponent of the
player cannot make a deteministic choice to benefit from any of the player's
strategies. In other words, the player's strategies are indifferent. 30
Oddie: One Oddie: Two
Evenia: One E = 2, O = -2 E = -3, O = 3
Evenia: Two E = -3, O = 3 E = 4, O = -4
Mixed Strategy Equilibrium
• Suppose Oddie picks One with probability p and Two with probability (1 - p).
• If Evenia picks One, then Evenia would get expected payoff: 2p - 3(1 - p) = 5p - 3
• If Evenia picks Two, then Evenia would get expected payoff: -3p + 4(1 - p) = 4 - 7p
• Mixed Strategy Equilibrium: Strategy profile (of probabilities) that is best for two players
• The equilibrium can be achieved when all the choices are indifferent to the opponent.
So, in this case, it is solving: 5p – 3 = 4 – 7p. We then have that: p = 7/12.
• Proof: Suppose that Oddie picks One with probability 7/12. We would like to know the expected
payoffs for Evenia.
• If Evenia picks One, then the expected payoff = 5(7/12) – 3 = -(1/12)
• If Evenia picks Two, then the expected payoff = 4 – 7(7/12) = -(1/12)
So, whatever strategy is chosen by Evenia, there is no difference.
Exercise: What happens if Oddie picks One with probability 3/4?
31
Oddie: One Oddie: Two
Evenia: One E = 2, O = -2 E = -3, O = 3
Evenia: Two E = -3, O = 3 E = 4, O = -4
Mixed Strategy Equilibrium (cont.)
• Suppose Evenia picks One with probability p and Two with probability (1 - p). What would be the
best strategy for Evenia?
32
Oddie: One Oddie: Two
Evenia: One E = 2, O = -2 E = -3, O = 3
Evenia: Two E = -3, O = 3 E = 4, O = -4
Mixed Strategy Equilibrium (cont.)
• Suppose Evenia picks One with probability p and Two with probability (1 - p). What would be the
best strategy for Evenia? It's the same as Oddie (due to the symmetry of the payoff matrix),
picking p = 7/12.
• In this case, Oddie's best strategy is p = 7/12, and Evenia's one is also p = 7/12.
• The equilibrium for mixed strategy cases is called: Maximin equilibrium.
• Therefore, the maximin equilibrium for the above payoff matrix is: (7/12, 7/12)
33
Oddie: One Oddie: Two
Evenia: One E = 2, O = -2 E = -3, O = 3
Evenia: Two E = -3, O = 3 E = 4, O = -4
Credits
• Fasilkom UI AI Slides from previous years
• Wikipedia
• Investopedia
34
35Thanks!

More Related Content

What's hot

Gramsci revisited: Media hegemony in the age of Gangnam Style
Gramsci revisited: Media hegemony in the age of Gangnam StyleGramsci revisited: Media hegemony in the age of Gangnam Style
Gramsci revisited: Media hegemony in the age of Gangnam Style
bomborey
 
Traditional Media Versus New Social Media Differences, Impact And Outcome
Traditional Media Versus New Social Media Differences, Impact And OutcomeTraditional Media Versus New Social Media Differences, Impact And Outcome
Traditional Media Versus New Social Media Differences, Impact And Outcome
MyAssignmenthelp.com
 
遊戲機制設計-策略/技巧:理論篇
遊戲機制設計-策略/技巧:理論篇遊戲機制設計-策略/技巧:理論篇
遊戲機制設計-策略/技巧:理論篇
智傑 楊
 
Applied Cryptography
Applied CryptographyApplied Cryptography
Applied Cryptography
Marcelo Martins
 
Introduction to Decision Making Theory
Introduction to Decision Making TheoryIntroduction to Decision Making Theory
Introduction to Decision Making Theory
Yosuke YASUDA
 
Adjacency And Incidence Matrix
Adjacency And Incidence MatrixAdjacency And Incidence Matrix
Adjacency And Incidence Matrix
Abir Junayed
 
Diffie hellman key algorithm
Diffie hellman key algorithmDiffie hellman key algorithm
Diffie hellman key algorithm
ShaishavShah8
 
Subculture Representation
Subculture RepresentationSubculture Representation
Subculture Representation
hughes82
 
Game Thinking Fundamentals
Game Thinking FundamentalsGame Thinking Fundamentals
Game Thinking Fundamentals
Amy Jo Kim
 
NVIDIA RecSys Summit 2022 - EoR
NVIDIA RecSys Summit 2022 - EoRNVIDIA RecSys Summit 2022 - EoR
NVIDIA RecSys Summit 2022 - EoR
Bryan Bischof
 
Cryptography
CryptographyCryptography
Cryptography
Rutuja Solkar
 
Cryptography
CryptographyCryptography
CS8451 - Design and Analysis of Algorithms
CS8451 - Design and Analysis of AlgorithmsCS8451 - Design and Analysis of Algorithms
CS8451 - Design and Analysis of Algorithms
Krishnan MuthuManickam
 
Persuasion and ethics
Persuasion and ethics Persuasion and ethics
Persuasion and ethics
Andre Davis
 
OYUN TEORİSİ İKTİSADI
OYUN  TEORİSİ  İKTİSADIOYUN  TEORİSİ  İKTİSADI
OYUN TEORİSİ İKTİSADI
COSKUN CAN AKTAN
 
Cryptography
CryptographyCryptography
Opinion publica
Opinion publicaOpinion publica
Opinion publica
luis colmenarez
 

What's hot (20)

Gramsci revisited: Media hegemony in the age of Gangnam Style
Gramsci revisited: Media hegemony in the age of Gangnam StyleGramsci revisited: Media hegemony in the age of Gangnam Style
Gramsci revisited: Media hegemony in the age of Gangnam Style
 
Traditional Media Versus New Social Media Differences, Impact And Outcome
Traditional Media Versus New Social Media Differences, Impact And OutcomeTraditional Media Versus New Social Media Differences, Impact And Outcome
Traditional Media Versus New Social Media Differences, Impact And Outcome
 
遊戲機制設計-策略/技巧:理論篇
遊戲機制設計-策略/技巧:理論篇遊戲機制設計-策略/技巧:理論篇
遊戲機制設計-策略/技巧:理論篇
 
Applied Cryptography
Applied CryptographyApplied Cryptography
Applied Cryptography
 
Introduction to Decision Making Theory
Introduction to Decision Making TheoryIntroduction to Decision Making Theory
Introduction to Decision Making Theory
 
Adjacency And Incidence Matrix
Adjacency And Incidence MatrixAdjacency And Incidence Matrix
Adjacency And Incidence Matrix
 
Diffie hellman key algorithm
Diffie hellman key algorithmDiffie hellman key algorithm
Diffie hellman key algorithm
 
Subculture Representation
Subculture RepresentationSubculture Representation
Subculture Representation
 
Game Thinking Fundamentals
Game Thinking FundamentalsGame Thinking Fundamentals
Game Thinking Fundamentals
 
NVIDIA RecSys Summit 2022 - EoR
NVIDIA RecSys Summit 2022 - EoRNVIDIA RecSys Summit 2022 - EoR
NVIDIA RecSys Summit 2022 - EoR
 
Cryptography
CryptographyCryptography
Cryptography
 
Cryptography
CryptographyCryptography
Cryptography
 
CS8451 - Design and Analysis of Algorithms
CS8451 - Design and Analysis of AlgorithmsCS8451 - Design and Analysis of Algorithms
CS8451 - Design and Analysis of Algorithms
 
Persuasion and ethics
Persuasion and ethics Persuasion and ethics
Persuasion and ethics
 
OYUN TEORİSİ İKTİSADI
OYUN  TEORİSİ  İKTİSADIOYUN  TEORİSİ  İKTİSADI
OYUN TEORİSİ İKTİSADI
 
cryptography
cryptographycryptography
cryptography
 
Unit 3
Unit 3Unit 3
Unit 3
 
Cryptography
CryptographyCryptography
Cryptography
 
Opinion publica
Opinion publicaOpinion publica
Opinion publica
 
Lecture 15
Lecture 15Lecture 15
Lecture 15
 

Similar to Free AI Kit - Game Theory

Game theory
Game theory Game theory
Game theory
Dr. Sinem Bulkan
 
Econ
EconEcon
Econ
KUWAILITH
 
A Brief Introduction to the Basics of Game Theory
A Brief Introduction to the Basics of Game TheoryA Brief Introduction to the Basics of Game Theory
A Brief Introduction to the Basics of Game Theory
Trading Game Pty Ltd
 
A brief introduction to the basics of game theory
A brief introduction to the basics of game theoryA brief introduction to the basics of game theory
A brief introduction to the basics of game theory
Ying wei (Joe) Chou
 
A brief introduction to the basics of game theory
A brief introduction to the basics of game theoryA brief introduction to the basics of game theory
A brief introduction to the basics of game theory
Wladimir Augusto
 
Intro to game theory
Intro to game theory Intro to game theory
Intro to game theory
Nadav Carmel
 
Game Theory_1.pptx
Game Theory_1.pptxGame Theory_1.pptx
Game Theory_1.pptx
ssuser8c2631
 
theory of game (game theory)
theory of game (game theory)theory of game (game theory)
theory of game (game theory)
Naveen Kumar
 
Game Theory_ 2.pptx
Game Theory_ 2.pptxGame Theory_ 2.pptx
Game Theory_ 2.pptx
ssuser8c2631
 
Ssrn a brief inrtoduction to the basic of game theory
Ssrn a brief inrtoduction to the basic of game theorySsrn a brief inrtoduction to the basic of game theory
Ssrn a brief inrtoduction to the basic of game theory
Ying wei (Joe) Chou
 
Game theory
Game theoryGame theory
2013.05 Games We Play: Payoffs & Chaos Monkeys
2013.05 Games We Play: Payoffs & Chaos Monkeys2013.05 Games We Play: Payoffs & Chaos Monkeys
2013.05 Games We Play: Payoffs & Chaos Monkeys
Allison Miller
 
Game theory project
Game theory projectGame theory project
Game theory projectAagam Shah
 
Introduction to Game Theory
Introduction to Game TheoryIntroduction to Game Theory
Introduction to Game Theory
Cesar Sobrino
 
game theory presentation (1).pptx
game theory presentation (1).pptxgame theory presentation (1).pptx
game theory presentation (1).pptx
LathiyaPalak
 
game THEORY ppt
game THEORY pptgame THEORY ppt
game THEORY ppt
Dronak Sahu
 
navingameppt-191018085333.pdf
navingameppt-191018085333.pdfnavingameppt-191018085333.pdf
navingameppt-191018085333.pdf
DebadattaPanda4
 
Ch 5 Game theory.ppt
Ch 5  Game theory.pptCh 5  Game theory.ppt
Ch 5 Game theory.ppt
EphremChernet2
 
9860380.ppt
9860380.ppt9860380.ppt
9860380.ppt
Eric465257
 
Bradford games and collective action 9 28-14
Bradford games and collective action 9 28-14Bradford games and collective action 9 28-14
Bradford games and collective action 9 28-14
John Bradford
 

Similar to Free AI Kit - Game Theory (20)

Game theory
Game theory Game theory
Game theory
 
Econ
EconEcon
Econ
 
A Brief Introduction to the Basics of Game Theory
A Brief Introduction to the Basics of Game TheoryA Brief Introduction to the Basics of Game Theory
A Brief Introduction to the Basics of Game Theory
 
A brief introduction to the basics of game theory
A brief introduction to the basics of game theoryA brief introduction to the basics of game theory
A brief introduction to the basics of game theory
 
A brief introduction to the basics of game theory
A brief introduction to the basics of game theoryA brief introduction to the basics of game theory
A brief introduction to the basics of game theory
 
Intro to game theory
Intro to game theory Intro to game theory
Intro to game theory
 
Game Theory_1.pptx
Game Theory_1.pptxGame Theory_1.pptx
Game Theory_1.pptx
 
theory of game (game theory)
theory of game (game theory)theory of game (game theory)
theory of game (game theory)
 
Game Theory_ 2.pptx
Game Theory_ 2.pptxGame Theory_ 2.pptx
Game Theory_ 2.pptx
 
Ssrn a brief inrtoduction to the basic of game theory
Ssrn a brief inrtoduction to the basic of game theorySsrn a brief inrtoduction to the basic of game theory
Ssrn a brief inrtoduction to the basic of game theory
 
Game theory
Game theoryGame theory
Game theory
 
2013.05 Games We Play: Payoffs & Chaos Monkeys
2013.05 Games We Play: Payoffs & Chaos Monkeys2013.05 Games We Play: Payoffs & Chaos Monkeys
2013.05 Games We Play: Payoffs & Chaos Monkeys
 
Game theory project
Game theory projectGame theory project
Game theory project
 
Introduction to Game Theory
Introduction to Game TheoryIntroduction to Game Theory
Introduction to Game Theory
 
game theory presentation (1).pptx
game theory presentation (1).pptxgame theory presentation (1).pptx
game theory presentation (1).pptx
 
game THEORY ppt
game THEORY pptgame THEORY ppt
game THEORY ppt
 
navingameppt-191018085333.pdf
navingameppt-191018085333.pdfnavingameppt-191018085333.pdf
navingameppt-191018085333.pdf
 
Ch 5 Game theory.ppt
Ch 5  Game theory.pptCh 5  Game theory.ppt
Ch 5 Game theory.ppt
 
9860380.ppt
9860380.ppt9860380.ppt
9860380.ppt
 
Bradford games and collective action 9 28-14
Bradford games and collective action 9 28-14Bradford games and collective action 9 28-14
Bradford games and collective action 9 28-14
 

More from Fariz Darari

Data X Museum - Hari Museum Internasional 2022 - WMID
Data X Museum - Hari Museum Internasional 2022 - WMIDData X Museum - Hari Museum Internasional 2022 - WMID
Data X Museum - Hari Museum Internasional 2022 - WMID
Fariz Darari
 
[PUBLIC] quiz-01-midterm-solutions.pdf
[PUBLIC] quiz-01-midterm-solutions.pdf[PUBLIC] quiz-01-midterm-solutions.pdf
[PUBLIC] quiz-01-midterm-solutions.pdf
Fariz Darari
 
Neural Networks and Deep Learning: An Intro
Neural Networks and Deep Learning: An IntroNeural Networks and Deep Learning: An Intro
Neural Networks and Deep Learning: An Intro
Fariz Darari
 
NLP guest lecture: How to get text to confess what knowledge it has
NLP guest lecture: How to get text to confess what knowledge it hasNLP guest lecture: How to get text to confess what knowledge it has
NLP guest lecture: How to get text to confess what knowledge it has
Fariz Darari
 
Supply and Demand - AI Talents
Supply and Demand - AI TalentsSupply and Demand - AI Talents
Supply and Demand - AI Talents
Fariz Darari
 
Basic Python Programming: Part 01 and Part 02
Basic Python Programming: Part 01 and Part 02Basic Python Programming: Part 01 and Part 02
Basic Python Programming: Part 01 and Part 02
Fariz Darari
 
AI in education done properly
AI in education done properlyAI in education done properly
AI in education done properly
Fariz Darari
 
Artificial Neural Networks: Pointers
Artificial Neural Networks: PointersArtificial Neural Networks: Pointers
Artificial Neural Networks: Pointers
Fariz Darari
 
Open Tridharma at ICACSIS 2019
Open Tridharma at ICACSIS 2019Open Tridharma at ICACSIS 2019
Open Tridharma at ICACSIS 2019
Fariz Darari
 
Defense Slides of Avicenna Wisesa - PROWD
Defense Slides of Avicenna Wisesa - PROWDDefense Slides of Avicenna Wisesa - PROWD
Defense Slides of Avicenna Wisesa - PROWD
Fariz Darari
 
Seminar Laporan Aktualisasi - Tridharma Terbuka - Fariz Darari
Seminar Laporan Aktualisasi - Tridharma Terbuka - Fariz DarariSeminar Laporan Aktualisasi - Tridharma Terbuka - Fariz Darari
Seminar Laporan Aktualisasi - Tridharma Terbuka - Fariz Darari
Fariz Darari
 
Foundations of Programming - Java OOP
Foundations of Programming - Java OOPFoundations of Programming - Java OOP
Foundations of Programming - Java OOP
Fariz Darari
 
Recursion in Python
Recursion in PythonRecursion in Python
Recursion in Python
Fariz Darari
 
[ISWC 2013] Completeness statements about RDF data sources and their use for ...
[ISWC 2013] Completeness statements about RDF data sources and their use for ...[ISWC 2013] Completeness statements about RDF data sources and their use for ...
[ISWC 2013] Completeness statements about RDF data sources and their use for ...
Fariz Darari
 
Testing in Python: doctest and unittest (Updated)
Testing in Python: doctest and unittest (Updated)Testing in Python: doctest and unittest (Updated)
Testing in Python: doctest and unittest (Updated)
Fariz Darari
 
Testing in Python: doctest and unittest
Testing in Python: doctest and unittestTesting in Python: doctest and unittest
Testing in Python: doctest and unittest
Fariz Darari
 
Dissertation Defense - Managing and Consuming Completeness Information for RD...
Dissertation Defense - Managing and Consuming Completeness Information for RD...Dissertation Defense - Managing and Consuming Completeness Information for RD...
Dissertation Defense - Managing and Consuming Completeness Information for RD...
Fariz Darari
 
Research Writing - 2018.07.18
Research Writing - 2018.07.18Research Writing - 2018.07.18
Research Writing - 2018.07.18
Fariz Darari
 
KOI - Knowledge Of Incidents - SemEval 2018
KOI - Knowledge Of Incidents - SemEval 2018KOI - Knowledge Of Incidents - SemEval 2018
KOI - Knowledge Of Incidents - SemEval 2018
Fariz Darari
 
Comparing Index Structures for Completeness Reasoning
Comparing Index Structures for Completeness ReasoningComparing Index Structures for Completeness Reasoning
Comparing Index Structures for Completeness Reasoning
Fariz Darari
 

More from Fariz Darari (20)

Data X Museum - Hari Museum Internasional 2022 - WMID
Data X Museum - Hari Museum Internasional 2022 - WMIDData X Museum - Hari Museum Internasional 2022 - WMID
Data X Museum - Hari Museum Internasional 2022 - WMID
 
[PUBLIC] quiz-01-midterm-solutions.pdf
[PUBLIC] quiz-01-midterm-solutions.pdf[PUBLIC] quiz-01-midterm-solutions.pdf
[PUBLIC] quiz-01-midterm-solutions.pdf
 
Neural Networks and Deep Learning: An Intro
Neural Networks and Deep Learning: An IntroNeural Networks and Deep Learning: An Intro
Neural Networks and Deep Learning: An Intro
 
NLP guest lecture: How to get text to confess what knowledge it has
NLP guest lecture: How to get text to confess what knowledge it hasNLP guest lecture: How to get text to confess what knowledge it has
NLP guest lecture: How to get text to confess what knowledge it has
 
Supply and Demand - AI Talents
Supply and Demand - AI TalentsSupply and Demand - AI Talents
Supply and Demand - AI Talents
 
Basic Python Programming: Part 01 and Part 02
Basic Python Programming: Part 01 and Part 02Basic Python Programming: Part 01 and Part 02
Basic Python Programming: Part 01 and Part 02
 
AI in education done properly
AI in education done properlyAI in education done properly
AI in education done properly
 
Artificial Neural Networks: Pointers
Artificial Neural Networks: PointersArtificial Neural Networks: Pointers
Artificial Neural Networks: Pointers
 
Open Tridharma at ICACSIS 2019
Open Tridharma at ICACSIS 2019Open Tridharma at ICACSIS 2019
Open Tridharma at ICACSIS 2019
 
Defense Slides of Avicenna Wisesa - PROWD
Defense Slides of Avicenna Wisesa - PROWDDefense Slides of Avicenna Wisesa - PROWD
Defense Slides of Avicenna Wisesa - PROWD
 
Seminar Laporan Aktualisasi - Tridharma Terbuka - Fariz Darari
Seminar Laporan Aktualisasi - Tridharma Terbuka - Fariz DarariSeminar Laporan Aktualisasi - Tridharma Terbuka - Fariz Darari
Seminar Laporan Aktualisasi - Tridharma Terbuka - Fariz Darari
 
Foundations of Programming - Java OOP
Foundations of Programming - Java OOPFoundations of Programming - Java OOP
Foundations of Programming - Java OOP
 
Recursion in Python
Recursion in PythonRecursion in Python
Recursion in Python
 
[ISWC 2013] Completeness statements about RDF data sources and their use for ...
[ISWC 2013] Completeness statements about RDF data sources and their use for ...[ISWC 2013] Completeness statements about RDF data sources and their use for ...
[ISWC 2013] Completeness statements about RDF data sources and their use for ...
 
Testing in Python: doctest and unittest (Updated)
Testing in Python: doctest and unittest (Updated)Testing in Python: doctest and unittest (Updated)
Testing in Python: doctest and unittest (Updated)
 
Testing in Python: doctest and unittest
Testing in Python: doctest and unittestTesting in Python: doctest and unittest
Testing in Python: doctest and unittest
 
Dissertation Defense - Managing and Consuming Completeness Information for RD...
Dissertation Defense - Managing and Consuming Completeness Information for RD...Dissertation Defense - Managing and Consuming Completeness Information for RD...
Dissertation Defense - Managing and Consuming Completeness Information for RD...
 
Research Writing - 2018.07.18
Research Writing - 2018.07.18Research Writing - 2018.07.18
Research Writing - 2018.07.18
 
KOI - Knowledge Of Incidents - SemEval 2018
KOI - Knowledge Of Incidents - SemEval 2018KOI - Knowledge Of Incidents - SemEval 2018
KOI - Knowledge Of Incidents - SemEval 2018
 
Comparing Index Structures for Completeness Reasoning
Comparing Index Structures for Completeness ReasoningComparing Index Structures for Completeness Reasoning
Comparing Index Structures for Completeness Reasoning
 

Recently uploaded

The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
javier ramirez
 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
Subhajit Sahu
 
Influence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business PlanInfluence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business Plan
jerlynmaetalle
 
Analysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performanceAnalysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performance
roli9797
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Subhajit Sahu
 
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
slg6lamcq
 
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
mbawufebxi
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
axoqas
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Subhajit Sahu
 
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdfEnhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
GetInData
 
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
ahzuo
 
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
oz8q3jxlp
 
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
u86oixdj
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
manishkhaire30
 
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
ahzuo
 
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
slg6lamcq
 
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
mzpolocfi
 
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
g4dpvqap0
 
Nanandann Nilekani's ppt On India's .pdf
Nanandann Nilekani's ppt On India's .pdfNanandann Nilekani's ppt On India's .pdf
Nanandann Nilekani's ppt On India's .pdf
eddie19851
 
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptxData_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
AnirbanRoy608946
 

Recently uploaded (20)

The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
 
Influence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business PlanInfluence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business Plan
 
Analysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performanceAnalysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performance
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
 
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
 
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
 
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdfEnhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
 
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
 
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
 
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
原版制作(swinburne毕业证书)斯威本科技大学毕业证毕业完成信一模一样
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
 
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
 
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
 
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
 
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
 
Nanandann Nilekani's ppt On India's .pdf
Nanandann Nilekani's ppt On India's .pdfNanandann Nilekani's ppt On India's .pdf
Nanandann Nilekani's ppt On India's .pdf
 
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptxData_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
 

Free AI Kit - Game Theory

  • 1. Free AI Kit Game Theory Fariz Darari, Ph.D. doc.v04
  • 2. What is Game Theory? • Game theory is the study of the ways in which interacting choices of economic agents produce outcomes with respect to the preferences (or utilities) of those agents. (plato.stanford.edu) • Game theory is a theoretical framework for conceiving social situations among competing players. In some respects, game theory is the science of strategy, or at least the optimal decision-making of independent and competing actors in a strategic setting. (investopedia.com) 2
  • 3. So, Game Theory is Basically ... ... how to make decisions in a multi-agent system. Game Theory is leveraged to analyze agent decisions and measure the expected utility for every decision, with the assumption that other agents behave optimally. As opposed to the turn-taking, fully observable adversarial search, Game Theory works in a partially observable environment using simultaneous moves. 3
  • 4. Two-Finger Morra Game Evenia and Oddie, simultaneously, show one or two fingers. Suppose that the sum of all the shown fingers is N. Utilities: • If N is even, then Evenia gets N dollar from Oddie. • If N is odd, then Oddie gets N dollar from Evenia. 4
  • 5. Single-Move Games • Agents make one-move decisions. • Examples: • Product pricing • International relations • Games in traditional sense: Two-finger Morra, Rock-Paper-Scissors, etc • Marriage? :) 5
  • 6. Components • Players: Involved agents to make decisions. Can be two or more. • Actions: What agents can do. Action decisions need not be unique among agents. • Payoff Function: Utility values for every player for every action combination by all players. Such a payoff function can be represented by a matrix called: Strategic form/normal form. 6
  • 7. Two-Finger Morra Game: Revisited 7 Oddie: One Oddie: Two Evenia: One E = 2, O = -2 E = -3, O = 3 Evenia: Two E = -3, O = 3 E = 4, O = -4 Evenia and Oddie, simultaneously, show one or two fingers. Suppose that the sum of all the shown fingers is N. Utilities: • If N is even, then Evenia gets N dollar from Oddie. • If N is odd, then Oddie gets N dollar from Evenia.
  • 8. Game Strategies • Every player must adopt and execute a strategy/policy. • Pure strategy: Deterministic policy. • Mixed strategy: Randomized policy, involves probability distribution, [p : a, (1 – p): b]. For example, [0.4 : One, 0.6 : Two]. • A strategy profile is a strategy selection for every player with some outcome value. • A solution in Game Theory is a strategy profile where each player takes a rational strategy. 8
  • 9. Prisoner's Dilemma Two members of a criminal gang are arrested and imprisoned. Each prisoner is in solitary confinement with no means of communicating with the other. The prosecutors lack sufficient evidence to convict the pair on the principal charge, but they have enough to convict both on a lesser charge. Simultaneously, the prosecutors offer each prisoner a bargain. Each prisoner is given the opportunity either to betray the other by testifying that the other committed the crime, or to cooperate with the other by remaining silent. The possible outcomes are: • If A and B each betrays the other, each of them serves two years in prison • If A betrays B but B remains silent, A will be set free and B will serve three years in prison • If A remains silent but B betrays A, A will serve three years in prison and B will be set free • If A and B both remain silent, both of them will serve only one year in prison. 9
  • 10. Two members of a criminal gang are arrested and imprisoned. Each prisoner is in solitary confinement with no means of communicating with the other. The prosecutors lack sufficient evidence to convict the pair on the principal charge, but they have enough to convict both on a lesser charge. Simultaneously, the prosecutors offer each prisoner a bargain. Each prisoner is given the opportunity either to betray the other by testifying that the other committed the crime, or to cooperate with the other by remaining silent. The possible outcomes are: • If A and B each betrays the other, each of them serves two years in prison • If A betrays B but B remains silent, A will be set free and B will serve three years in prison • If A remains silent but B betrays A, A will serve three years in prison and B will be set free • If A and B both remain silent, both of them will serve only one year in prison. 10
  • 11. Two members of a criminal gang are arrested and imprisoned. Each prisoner is in solitary confinement with no means of communicating with the other. The prosecutors lack sufficient evidence to convict the pair on the principal charge, but they have enough to convict both on a lesser charge. Simultaneously, the prosecutors offer each prisoner a bargain. Each prisoner is given the opportunity either to betray the other by testifying that the other committed the crime, or to cooperate with the other by remaining silent. The possible outcomes are: Strategy for B: • If A stays silent: B stays silent (-1) vs. B bertrays (0) • If A bertrays: B stays silent (-3) vs. B bertrays (-2) Best strategy: B bertrays (always better than stays silent) 11
  • 12. Two members of a criminal gang are arrested and imprisoned. Each prisoner is in solitary confinement with no means of communicating with the other. The prosecutors lack sufficient evidence to convict the pair on the principal charge, but they have enough to convict both on a lesser charge. Simultaneously, the prosecutors offer each prisoner a bargain. Each prisoner is given the opportunity either to betray the other by testifying that the other committed the crime, or to cooperate with the other by remaining silent. The possible outcomes are: Strategy for A? 12
  • 13. Dominant strategy for Prisoner's dilemma: To betray!* *After all, they are criminals, so no code of conduct is required. 13
  • 14. Dominant Strategy • Strategy s for player p strongly dominates strategy s0 if the outcome of s is always better for p than the outcome of s0 no matter what is done by the other players. • Strategy s for player p weakly dominates strategy s0 if the outcome of s is better for p than the outcome of s0 in at least one strategy profile, and is no worse than s0 in the other strategy profiles. • Rationality: Picking a dominant strategy. 14
  • 15. Exercise What is each player's dominant strategy? 15 *Player One's payoffs are in bold.
  • 16. Exercise What is each player's dominant strategy? 16 *Player One's payoffs are in bold. • Dominant strategy for Player One? - If Player Two cooperates: Player One Cooperate ($10) vs. Player One Cheat ($12) - If Player Two cheats: Player One Cooperate ($0) vs. Player One Cheat ($5)
  • 17. Exercise What is each player's dominant strategy? 17 *Player One's payoffs are in bold. • Dominant strategy for Player Two? - If Player One cooperates: Player Two Cooperate ($10) vs. Player Two Cheat ($12) - If Player One cheats: Player Two Cooperate ($0) vs. Player Two Cheat ($5)
  • 18. Exercise What is each player's dominant strategy? 18 Oddie: One Oddie: Two Evenia: One E = 2, O = -2 E = -3, O = 3 Evenia: Two E = -3, O = 3 E = 4, O = -4
  • 19. Exercise What is each player's dominant strategy? 19 Oddie: One Oddie: Two Evenia: One E = 2, O = -2 E = -3, O = 3 Evenia: Two E = -3, O = 3 E = 4, O = -4 Neither player has a dominant strategy.
  • 20. Exercise What is each player's dominant strategy? 20
  • 21. Exercise What is each player's dominant strategy? 21 Neither player has a dominant strategy. • If Player Two chooses rock, Player One should play paper • If Player Two chooses paper, Player One responds with scissors • If Player Two chooses scissors, Player One chooses rock
  • 22. If every player has a dominant strategy, then the strategy combination is called Dominant Strategy Equilibrium. 22 Dominant Strategy Equilibrium
  • 23. If every player has a dominant strategy, then the strategy combination is called Dominant Strategy Equilibrium. 23 Dominant Strategy Equilibrium Dominant Strategy Equilibrium: (Bertrays, Bertrays)
  • 24. Nash Equilibrium • Equilibrium is a concept such that no player would gain more for changing her strategy if other players do not change their strategy. • The Nash Equilibrium is a decision-making theorem within Game Theory that states a player can achieve the desired outcome by not deviating from their initial strategy. Note: Any dominant strategy equilibrium is always a Nash equilibrium! 24
  • 25. Pure Strategy Nash Equilibrium 1. Identify each player's optimal strategy in response to what other players might do. 2. A Nash equilibrium is defined when all players are playing their optimal strategies simultaneously. 25 The dominant strategy equilibrium here is: (Bertrays, Bertrays) ^And this is also the Nash equilibrium for the given problem. Note: Any dominant strategy equilibrium is a Nash equilibrium.
  • 26. Exercise What is the Nash Equilibrium? 26
  • 27. Dilemma in Prisoner's Dilemma 27 Nash Equilibrium: (Bertrays, Bertrays) • The equilibrium outcome is worse than the outcome when both players stay silent. • An outcome is Pareto-optimal if there is no other outcome wanted by all players. • An outcome o is Pareto-dominated by outcome o' if every player chooses o'. For example, (-2, -2) is Pareto-dominated by (-1, -1).
  • 28. Putting all together 28 • Is there a dominant strategy? • Nash Equilibrium? • Which is best? Best: One Best: Two Acme: One A = 9, B = 9 A = -3, B = -1 Acme: Two A = -4, B = -1 A = 5, B = 5
  • 29. Putting all together 29 • Is there a dominant strategy? No! • Nash Equilibrium? Two equilibria, that is, (One, One) and (Two, Two) • Which is best? Pareto-optimal Nash Equilibrium = (One, One) Best: One Best: Two Acme: One A = 9, B = 9 A = -3, B = -1 Acme: Two A = -4, B = -1 A = 5, B = 5
  • 30. Mixed Strategy • Some problems do not have any pure strategy Nash equilibrium. Recall: Two-finger Morra Game • A mixed strategy could come into handy: Adding probabilities to our decisions. • For example, Evenia could pick One with probability p, and Two with probability (1 - p). • Goal of a mixed strategy: To reach an equilibrium such that the opponent of the player cannot make a deteministic choice to benefit from any of the player's strategies. In other words, the player's strategies are indifferent. 30 Oddie: One Oddie: Two Evenia: One E = 2, O = -2 E = -3, O = 3 Evenia: Two E = -3, O = 3 E = 4, O = -4
  • 31. Mixed Strategy Equilibrium • Suppose Oddie picks One with probability p and Two with probability (1 - p). • If Evenia picks One, then Evenia would get expected payoff: 2p - 3(1 - p) = 5p - 3 • If Evenia picks Two, then Evenia would get expected payoff: -3p + 4(1 - p) = 4 - 7p • Mixed Strategy Equilibrium: Strategy profile (of probabilities) that is best for two players • The equilibrium can be achieved when all the choices are indifferent to the opponent. So, in this case, it is solving: 5p – 3 = 4 – 7p. We then have that: p = 7/12. • Proof: Suppose that Oddie picks One with probability 7/12. We would like to know the expected payoffs for Evenia. • If Evenia picks One, then the expected payoff = 5(7/12) – 3 = -(1/12) • If Evenia picks Two, then the expected payoff = 4 – 7(7/12) = -(1/12) So, whatever strategy is chosen by Evenia, there is no difference. Exercise: What happens if Oddie picks One with probability 3/4? 31 Oddie: One Oddie: Two Evenia: One E = 2, O = -2 E = -3, O = 3 Evenia: Two E = -3, O = 3 E = 4, O = -4
  • 32. Mixed Strategy Equilibrium (cont.) • Suppose Evenia picks One with probability p and Two with probability (1 - p). What would be the best strategy for Evenia? 32 Oddie: One Oddie: Two Evenia: One E = 2, O = -2 E = -3, O = 3 Evenia: Two E = -3, O = 3 E = 4, O = -4
  • 33. Mixed Strategy Equilibrium (cont.) • Suppose Evenia picks One with probability p and Two with probability (1 - p). What would be the best strategy for Evenia? It's the same as Oddie (due to the symmetry of the payoff matrix), picking p = 7/12. • In this case, Oddie's best strategy is p = 7/12, and Evenia's one is also p = 7/12. • The equilibrium for mixed strategy cases is called: Maximin equilibrium. • Therefore, the maximin equilibrium for the above payoff matrix is: (7/12, 7/12) 33 Oddie: One Oddie: Two Evenia: One E = 2, O = -2 E = -3, O = 3 Evenia: Two E = -3, O = 3 E = 4, O = -4
  • 34. Credits • Fasilkom UI AI Slides from previous years • Wikipedia • Investopedia 34

Editor's Notes

  1. https://pixabay.com/photos/checkmate-chess-resignation-1511866/
  2. https://plato.stanford.edu/entries/game-theory/ https://www.investopedia.com/terms/g/gametheory.asp
  3. https://www.istockphoto.com/illustrations/two-finger?mediatype=illustration&phrase=two%20finger&sort=mostpopular
  4. https://www.freepik.com/free-vector/romantic-marriage-proposal-concept_2927898.htm
  5. https://en.wikipedia.org/wiki/Prisoner%27s_dilemma
  6. https://en.wikipedia.org/wiki/Prisoner%27s_dilemma https://www.freepik.com/free-vector/hands-prison-bars_689393.htm#page=1&query=prison&position=37
  7. https://en.wikipedia.org/wiki/Prisoner%27s_dilemma
  8. https://en.wikipedia.org/wiki/Prisoner%27s_dilemma
  9. https://en.wikipedia.org/wiki/Prisoner%27s_dilemma
  10. https://www3.nd.edu/~jstiver/FIN30210/Problem%20Sets/Solutions/PS8_Solutions.pdf
  11. https://www3.nd.edu/~jstiver/FIN30210/Problem%20Sets/Solutions/PS8_Solutions.pdf
  12. https://www3.nd.edu/~jstiver/FIN30210/Problem%20Sets/Solutions/PS8_Solutions.pdf
  13. https://www3.nd.edu/~jstiver/FIN30210/Problem%20Sets/Solutions/PS8_Solutions.pdf
  14. https://www3.nd.edu/~jstiver/FIN30210/Problem%20Sets/Solutions/PS8_Solutions.pdf
  15. https://en.wikipedia.org/wiki/Prisoner%27s_dilemma
  16. https://en.wikipedia.org/wiki/Prisoner%27s_dilemma
  17. https://www.investopedia.com/terms/n/nash-equilibrium.asp https://policonomics.com/lp-game-theory2-dominant-strategy/ https://id.wikipedia.org/wiki/John_Forbes_Nash,_Jr.
  18. https://www2.bc.edu/thomas-chemmanur/mf891ps/pure.pdf
  19. TV/Network Channels, Network 1 and Network 2, are deciding which programme to show: Sitcom/Game Show Solution: (Sitcom, Gameshow) Link: http://econ.ucsb.edu/~garratt/Econ171/Lect04_Slides.pdf
  20. https://www2.bc.edu/thomas-chemmanur/mf891ps/pure.pdf
  21. If Oddie picks One with prob 1/2. Expected payoff for Evenia picking One: 5(1/2)-3=-(1/2) Expected payoff for Evenia picking Two: 4-7(1/2)=1/2 Evenia would pick Two then!
  22. https://en.wikipedia.org/wiki/Morra_(game)#/media/File:Tipi_Napoletani_-_Il_Giuoco_della_Morra_(Boys_playing_%22Morra%22)_-_Old_postcard.jpg