Intro to game theory Compositionality Open games
Introducing open games Jules Hedges Joint work with Neil Ghani - - PowerPoint PPT Presentation
Introducing open games Jules Hedges Joint work with Neil Ghani - - PowerPoint PPT Presentation
Intro to game theory Compositionality Open games Introducing open games Jules Hedges Joint work with Neil Ghani Viktor Winschel Philipp Zahn University of Oxford February 24, 2017 Intro to game theory Compositionality Open games
Intro to game theory Compositionality Open games
Motivation: powerful machinery vs. hard problems
Intro to game theory Compositionality Open games
What game theory is
Mathematical theory of interacting “rational” agents
Intro to game theory Compositionality Open games
What game theory is
Mathematical theory of interacting “rational” agents Players make observations and then make choices
Intro to game theory Compositionality Open games
What game theory is
Mathematical theory of interacting “rational” agents Players make observations and then make choices Group choices determine payoffs
Intro to game theory Compositionality Open games
What game theory is
Mathematical theory of interacting “rational” agents Players make observations and then make choices Group choices determine payoffs “Local view” of rationality: players act to maximise payoff
Intro to game theory Compositionality Open games
What game theory is
Mathematical theory of interacting “rational” agents Players make observations and then make choices Group choices determine payoffs “Local view” of rationality: players act to maximise payoff “Global view”: equilibrium strategies
Intro to game theory Compositionality Open games
Example: penalty shootout
a, b ∈ {L, R}
Intro to game theory Compositionality Open games
Example: penalty shootout
a, b ∈ {L, R} π(a, b) =
- (+1, −1)
if a = b (−1, +1) if a = b
Intro to game theory Compositionality Open games
Example: penalty shootout
a, b ∈ {L, R} π(a, b) =
- (+1, −1)
if a = b (−1, +1) if a = b Unique (probabilistic) equilibrium: a = b = 1
2 |L + 1 2 |R
Intro to game theory Compositionality Open games
Example: penalty shootout
a, b ∈ {L, R} π(a, b) =
- (+1, −1)
if a = b (−1, +1) if a = b Unique (probabilistic) equilibrium: a = b = 1
2 |L + 1 2 |R
Nash’s theorem generalises this situation
Intro to game theory Compositionality Open games
Example: the $$$ auction
Intro to game theory Compositionality Open games
Game theory has some issues
Well known: equilibrium as behavioural prediction is experimentally falsified (e.g. ultimatum game)
Intro to game theory Compositionality Open games
Game theory has some issues
Well known: equilibrium as behavioural prediction is experimentally falsified (e.g. ultimatum game) Harsanyi type spaces are accurate but underfit (and mathematically hard!)
Intro to game theory Compositionality Open games
Game theory has some issues
Well known: equilibrium as behavioural prediction is experimentally falsified (e.g. ultimatum game) Harsanyi type spaces are accurate but underfit (and mathematically hard!) There is no accepted operational theory (or “equilibriating process”) (c.f. evolutionary game theory)
Intro to game theory Compositionality Open games
Game theory has some issues
Well known: equilibrium as behavioural prediction is experimentally falsified (e.g. ultimatum game) Harsanyi type spaces are accurate but underfit (and mathematically hard!) There is no accepted operational theory (or “equilibriating process”) (c.f. evolutionary game theory) Serious computability/complexity issues (algorithmic game theory)
Intro to game theory Compositionality Open games
Game theory has some issues
Well known: equilibrium as behavioural prediction is experimentally falsified (e.g. ultimatum game) Harsanyi type spaces are accurate but underfit (and mathematically hard!) There is no accepted operational theory (or “equilibriating process”) (c.f. evolutionary game theory) Serious computability/complexity issues (algorithmic game theory) Ordinary games do not compose/scale
Intro to game theory Compositionality Open games
The fundamental headache of social science
Beliefs have causal effects
Intro to game theory Compositionality Open games
What is compositionality?
A theory is compositional if:
Intro to game theory Compositionality Open games
What is compositionality?
A theory is compositional if: Objects of interest are black boxes with interfaces
Intro to game theory Compositionality Open games
What is compositionality?
A theory is compositional if: Objects of interest are black boxes with interfaces Objects can be composed without knowing how they are defined
Intro to game theory Compositionality Open games
What is compositionality?
A theory is compositional if: Objects of interest are black boxes with interfaces Objects can be composed without knowing how they are defined Consequence: can easily change one component in a large structure
Intro to game theory Compositionality Open games
What is compositionality?
A theory is compositional if: Objects of interest are black boxes with interfaces Objects can be composed without knowing how they are defined Consequence: can easily change one component in a large structure All reasoning is by structural induction on composition
Intro to game theory Compositionality Open games
Examples of compositional systems
Any serious programming language
Intro to game theory Compositionality Open games
Examples of compositional systems
Any serious programming language Internal reasoning in a logic, algebraic structure, category, etc.
Intro to game theory Compositionality Open games
Examples of compositional systems
Any serious programming language Internal reasoning in a logic, algebraic structure, category, etc. Most systems designed by human engineers
Intro to game theory Compositionality Open games
Examples of compositional systems
Any serious programming language Internal reasoning in a logic, algebraic structure, category, etc. Most systems designed by human engineers Organisations made of people (e.g. a company)
Intro to game theory Compositionality Open games
Examples of compositional systems
Any serious programming language Internal reasoning in a logic, algebraic structure, category, etc. Most systems designed by human engineers Organisations made of people (e.g. a company) Non-examples: Analytic solution of differential equations
Intro to game theory Compositionality Open games
Examples of compositional systems
Any serious programming language Internal reasoning in a logic, algebraic structure, category, etc. Most systems designed by human engineers Organisations made of people (e.g. a company) Non-examples: Analytic solution of differential equations Natural (biological) systems
Intro to game theory Compositionality Open games
Examples of compositional systems
Any serious programming language Internal reasoning in a logic, algebraic structure, category, etc. Most systems designed by human engineers Organisations made of people (e.g. a company) Non-examples: Analytic solution of differential equations Natural (biological) systems Economic systems
Intro to game theory Compositionality Open games
The compositionality hypothesis
If a theory is compositional, then reasoning with it is scalable
Intro to game theory Compositionality Open games
The compositionality hypothesis
If a theory is compositional, then reasoning with it is scalable Hypothesis Compositionality is the only way to be scalable
Intro to game theory Compositionality Open games
Compositionality is delicate
Compositionality is not all-or-nothing
Intro to game theory Compositionality Open games
Compositionality is delicate
Compositionality is not all-or-nothing In programming languages it is harmed by: Goto Mutable global state Inheritance Type classes a la Haskell
Intro to game theory Compositionality Open games
Compositionality is delicate
Compositionality is not all-or-nothing In programming languages it is harmed by: Goto Mutable global state Inheritance Type classes a la Haskell More generally: Leaky abstractions Emergent behaviour
Intro to game theory Compositionality Open games
Compositionality via symmetric monoidal categories (1)
Objects (aka. interfaces, types, systems) X X
Intro to game theory Compositionality Open games
Compositionality via symmetric monoidal categories (1)
Objects (aka. interfaces, types, systems) X X Morphisms (aka. black boxes, processes) f : X → Y X Y f
Intro to game theory Compositionality Open games
Compositionality via symmetric monoidal categories (1)
Objects (aka. interfaces, types, systems) X X Morphisms (aka. black boxes, processes) f : X → Y X Y f Compound object X1 ⊗ X2 X1 X2
Intro to game theory Compositionality Open games
Compositionality via symmetric monoidal categories (1)
Objects (aka. interfaces, types, systems) X X Morphisms (aka. black boxes, processes) f : X → Y X Y f Compound object X1 ⊗ X2 X1 X2 Monoidal product (aka. tensor product, simultaneous/spatial composition) f1 ⊗ f2 : X1 ⊗ X2 → Y1 ⊗ Y2 X1 X2 Y1 Y2 f1 f2
Intro to game theory Compositionality Open games
Compositionality via symmetric monoidal categories (2)
Categorical composition (aka. sequential/temporal composition) g ◦ f : X → Z X Z f g Y
Intro to game theory Compositionality Open games
Compositionality via symmetric monoidal categories (2)
Categorical composition (aka. sequential/temporal composition) g ◦ f : X → Z X Z f g Y f : I → X ⊗ Y g : X → Z h : X ⊗ Z → I h ◦ σZ,X ◦ (g ⊗ Y ) ◦ f : I → I f g h X Z Y
Intro to game theory Compositionality Open games
Open games
A closed game consists of: A set Σ of strategy profiles A best response function B : Σ → P(Σ) An open game G : (X, S) → (Y , R) consists of: A set Σ of strategy profiles A play function PG : Σ × X → Y A coplay function CG : Σ × X × R → S A best response function BG : X × (Y → R) × Σ → P(Σ)
Intro to game theory Compositionality Open games
Bimatrix game
A1 A2 U X R Y R
Intro to game theory Compositionality Open games
Perfect information game
A1 A2 U X X R R X Y R
Intro to game theory Compositionality Open games