Large games and population protocols
- R. Ramanujam
Large games and population protocols R. Ramanujam The Institute of - - PowerPoint PPT Presentation
Large games and population protocols R. Ramanujam The Institute of Mathematical Sciences, Chennai, India email: jam@imsc.res.in Formal Methods Update Meeting, BITS-Pilani, Goa Campus July 20, 2018 First words . . . Thanks to Baskar for the
◮ Thanks to Baskar for the excellent hospitality.
FM Update, BITS-Goa July 20, 2018
◮ Thanks to Baskar for the excellent hospitality. ◮ Much of the work on games I talk about here is joint with
FM Update, BITS-Goa July 20, 2018
◮ Thanks to Baskar for the excellent hospitality. ◮ Much of the work on games I talk about here is joint with
◮ I do not know much about population protocols but am
FM Update, BITS-Goa July 20, 2018
◮ Games with a large number of players.
FM Update, BITS-Goa July 20, 2018
◮ Games with a large number of players.
◮ Payoffs determined by choice distributions and not
FM Update, BITS-Goa July 20, 2018
◮ Games with a large number of players.
◮ Payoffs determined by choice distributions and not
◮ Players are anonymous, interaction is simple. Pure
◮ Population protocols:
◮ Systems with a large number of identical finite state
FM Update, BITS-Goa July 20, 2018
◮ Games with a large number of players.
◮ Payoffs determined by choice distributions and not
◮ Players are anonymous, interaction is simple. Pure
◮ Population protocols:
◮ Systems with a large number of identical finite state
◮ Interaction is simple, outcome based on states of
FM Update, BITS-Goa July 20, 2018
◮ Games with a large number of players.
◮ Payoffs determined by choice distributions and not
◮ Players are anonymous, interaction is simple. Pure
◮ Population protocols:
◮ Systems with a large number of identical finite state
◮ Interaction is simple, outcome based on states of
◮ Compute exactly the semi-linear predicates.
◮ Are there interesting connections between the two ? I do
FM Update, BITS-Goa July 20, 2018
◮ We like to go to restaurants that are not crowded, but
FM Update, BITS-Goa July 20, 2018
◮ We like to go to restaurants that are not crowded, but
◮ The Santa Fe bar problem: The payoff depends on how
FM Update, BITS-Goa July 20, 2018
◮ We like to go to restaurants that are not crowded, but
◮ The Santa Fe bar problem: The payoff depends on how
◮ Network congestion problems.
FM Update, BITS-Goa July 20, 2018
◮ Each person is to choose a real number x ∈ [0, 100].
FM Update, BITS-Goa July 20, 2018
◮ Each person is to choose a real number x ∈ [0, 100]. ◮ The one who gets closest to two-thirds of the average
FM Update, BITS-Goa July 20, 2018
◮ Each person is to choose a real number x ∈ [0, 100]. ◮ The one who gets closest to two-thirds of the average
◮ In almost all experiments, the winning bid is close to 20,
FM Update, BITS-Goa July 20, 2018
◮ Each person is to choose a real number x ∈ [0, 100]. ◮ The one who gets closest to two-thirds of the average
◮ In almost all experiments, the winning bid is close to 20,
◮ What would be a logical basis for expecting others to act
FM Update, BITS-Goa July 20, 2018
◮ Each person is to choose a real number x ∈ [0, 100]. ◮ The one who gets closest to two-thirds of the average
◮ In almost all experiments, the winning bid is close to 20,
◮ What would be a logical basis for expecting others to act
◮ This is hard for a one-shot game, but in repeated play, or
FM Update, BITS-Goa July 20, 2018
◮ Players act individually, though the effect is collective.
FM Update, BITS-Goa July 20, 2018
◮ Players act individually, though the effect is collective. ◮ Though the number of players is large, the number of
FM Update, BITS-Goa July 20, 2018
◮ Players act individually, though the effect is collective. ◮ Though the number of players is large, the number of
◮ Players observe type distributions to determine their own.
FM Update, BITS-Goa July 20, 2018
◮ Players act individually, though the effect is collective. ◮ Though the number of players is large, the number of
◮ Players observe type distributions to determine their own. ◮ This can lead to interesting stability issues.
FM Update, BITS-Goa July 20, 2018
◮ Players act individually, though the effect is collective. ◮ Though the number of players is large, the number of
◮ Players observe type distributions to determine their own. ◮ This can lead to interesting stability issues. ◮ In turn, this can affect players’ strategizing.
FM Update, BITS-Goa July 20, 2018
◮ Each of two players, A and B, choose between u or d. If
FM Update, BITS-Goa July 20, 2018
◮ Each of two players, A and B, choose between u or d. If
◮ The game has no pure strategy Nash equilibrium, but a
FM Update, BITS-Goa July 20, 2018
◮ Each of two players, A and B, choose between u or d. If
◮ The game has no pure strategy Nash equilibrium, but a
◮ One property of this NE is that it is not information
FM Update, BITS-Goa July 20, 2018
◮ Simultaneously, each of n players of type A and n players
◮ The payoff to every player of type A equals the proportion
◮ The payoff to every player of type B equals one minus the
FM Update, BITS-Goa July 20, 2018
◮ Simultaneously, each of n players of type A and n players
◮ The payoff to every player of type A equals the proportion
◮ The payoff to every player of type B equals one minus the
◮ When n = 2, this is the earlier game. So clearly, it
FM Update, BITS-Goa July 20, 2018
◮ Suppose that every player, either type, chooses one of the
FM Update, BITS-Goa July 20, 2018
◮ Suppose that every player, either type, chooses one of the
◮ Then within each group the proportions of the two
FM Update, BITS-Goa July 20, 2018
◮ Suppose that every player, either type, chooses one of the
◮ Then within each group the proportions of the two
◮ There is a high probability for the events of no possible
FM Update, BITS-Goa July 20, 2018
◮ The payoff to every player of type A is 1 if her choice
◮ The payoff to every player of type B is 0 if his choice
FM Update, BITS-Goa July 20, 2018
◮ The payoff to every player of type A is 1 if her choice
◮ The payoff to every player of type B is 0 if his choice
◮ If n is odd, no matter what strategies are played, at every
FM Update, BITS-Goa July 20, 2018
◮ The payoff to every player of type A is 1 if her choice
◮ The payoff to every player of type B is 0 if his choice
◮ If n is odd, no matter what strategies are played, at every
◮ There is no information proof equilibrium because of the
FM Update, BITS-Goa July 20, 2018
◮ Discontinuities in payoff functions can be critical: for
FM Update, BITS-Goa July 20, 2018
◮ Discontinuities in payoff functions can be critical: for
◮ What about epistemic foundations for reasoning in large
FM Update, BITS-Goa July 20, 2018
◮ Discontinuities in payoff functions can be critical: for
◮ What about epistemic foundations for reasoning in large
◮ What are good models for large games ?
FM Update, BITS-Goa July 20, 2018
◮ Discontinuities in payoff functions can be critical: for
◮ What about epistemic foundations for reasoning in large
◮ What are good models for large games ? ◮ What are the implications for social algorithms ?
FM Update, BITS-Goa July 20, 2018
◮ Behaviour for large n can smooth out many individual
FM Update, BITS-Goa July 20, 2018
◮ Behaviour for large n can smooth out many individual
◮ Many problems related to mutual intersubjectivity and
◮ When the number of players is large but the number of
FM Update, BITS-Goa July 20, 2018
FM Update, BITS-Goa July 20, 2018
◮ We work with repeated normal form games.
FM Update, BITS-Goa July 20, 2018
◮ We work with repeated normal form games. ◮ We will assume that the action sets for all players are
FM Update, BITS-Goa July 20, 2018
◮ We work with repeated normal form games. ◮ We will assume that the action sets for all players are
◮ An action distribution is a tuple y = (y1, y2, . . . , yk) such
i=1 yi ≤ n.
FM Update, BITS-Goa July 20, 2018
◮ We work with repeated normal form games. ◮ We will assume that the action sets for all players are
◮ An action distribution is a tuple y = (y1, y2, . . . , yk) such
i=1 yi ≤ n. ◮ A function fi : Y → Q for every player i.
FM Update, BITS-Goa July 20, 2018
◮ Given an initial vertex v0 consider an infinite play
y1
y2
FM Update, BITS-Goa July 20, 2018
◮ Given an initial vertex v0 consider an infinite play
y1
y2
◮ Player i gets a limit average payoff:
m→∞ inf 1
m
FM Update, BITS-Goa July 20, 2018
◮ Main question: Given an initial type distribution of
FM Update, BITS-Goa July 20, 2018
FM Update, BITS-Goa July 20, 2018
◮ Why should such an analysis be possible ? This is
FM Update, BITS-Goa July 20, 2018
◮ Why should such an analysis be possible ? This is
◮ When types describe finite memory strategies (as in the
FM Update, BITS-Goa July 20, 2018
◮ Why should such an analysis be possible ? This is
◮ When types describe finite memory strategies (as in the
◮ Can we use the structure of these transducers to do this
FM Update, BITS-Goa July 20, 2018
FM Update, BITS-Goa July 20, 2018
◮ We show in the case of deterministic transducers, that the
FM Update, BITS-Goa July 20, 2018
◮ We show in the case of deterministic transducers, that the
◮ Thus a population of 1000 players with only two types
FM Update, BITS-Goa July 20, 2018
◮ We show in the case of deterministic transducers, that the
◮ Thus a population of 1000 players with only two types
◮ However, there is no free lunch: an exponential price has
FM Update, BITS-Goa July 20, 2018
FM Update, BITS-Goa July 20, 2018
◮ Theorem: Suppose that we have n players, k choices and
FM Update, BITS-Goa July 20, 2018
FM Update, BITS-Goa July 20, 2018
◮ Theorem: In large games, pure strategy Nash equilibria
FM Update, BITS-Goa July 20, 2018
◮ Theorem: In large games, pure strategy Nash equilibria
◮ For p, q ∈ Z d, let Ap,q = {r ∈ Z d | p ≤ r ≤ q}.
FM Update, BITS-Goa July 20, 2018
◮ Theorem: In large games, pure strategy Nash equilibria
◮ For p, q ∈ Z d, let Ap,q = {r ∈ Z d | p ≤ r ≤ q}. ◮ A map F : Ap,q → Rd is said to be direction-preserving if
1)(Fi(r2) − r i 2) ≥ 0.
FM Update, BITS-Goa July 20, 2018
◮ Theorem: In large games, pure strategy Nash equilibria
◮ For p, q ∈ Z d, let Ap,q = {r ∈ Z d | p ≤ r ≤ q}. ◮ A map F : Ap,q → Rd is said to be direction-preserving if
1)(Fi(r2) − r i 2) ≥ 0. ◮ Note that the fixed point computation happens in a
FM Update, BITS-Goa July 20, 2018
FM Update, BITS-Goa July 20, 2018
◮ Let π be a profile. For every player i, T (π−i) is a type
FM Update, BITS-Goa July 20, 2018
◮ Let π be a profile. For every player i, T (π−i) is a type
◮ In general, though there are n players in the game, player
FM Update, BITS-Goa July 20, 2018
◮ Let π be a profile. For every player i, T (π−i) is a type
◮ In general, though there are n players in the game, player
◮ Let σ ∈ Σi. We say σ is a best response to a set T of
FM Update, BITS-Goa July 20, 2018
◮ Let π be a profile. For every player i, T (π−i) is a type
◮ In general, though there are n players in the game, player
◮ Let σ ∈ Σi. We say σ is a best response to a set T of
◮ A profile π is in local equilibrium if for all i, π(i) is the
FM Update, BITS-Goa July 20, 2018
FM Update, BITS-Goa July 20, 2018
◮ As a rule, local equilibria are conservative; they constitute
FM Update, BITS-Goa July 20, 2018
◮ As a rule, local equilibria are conservative; they constitute
◮ Stability in this notion is sensitive to the way projections
FM Update, BITS-Goa July 20, 2018
◮ As a rule, local equilibria are conservative; they constitute
◮ Stability in this notion is sensitive to the way projections
◮ The projection function is uniform in the definition above.
FM Update, BITS-Goa July 20, 2018
◮ As a rule, local equilibria are conservative; they constitute
◮ Stability in this notion is sensitive to the way projections
◮ The projection function is uniform in the definition above.
◮ We can show that local equilibrium is a new notion, in
FM Update, BITS-Goa July 20, 2018
FM Update, BITS-Goa July 20, 2018
◮ In large games, visibility is dynamic as well.
FM Update, BITS-Goa July 20, 2018
◮ In large games, visibility is dynamic as well. ◮ This results in a dynamic game form.
FM Update, BITS-Goa July 20, 2018
◮ In large games, visibility is dynamic as well. ◮ This results in a dynamic game form. ◮ Note that the two dynamics are recursive in each other.
FM Update, BITS-Goa July 20, 2018
◮ In large games, visibility is dynamic as well. ◮ This results in a dynamic game form. ◮ Note that the two dynamics are recursive in each other. ◮ We describe the game form dynamics by neighbourhoods.
FM Update, BITS-Goa July 20, 2018
◮ Game theorists have mainly studied utility functions and
FM Update, BITS-Goa July 20, 2018
◮ Game theorists have mainly studied utility functions and
◮ Our results:
◮ Soumya Paul and R. Ramanujam, “Dynamics of choice
◮ Soumya Paul and R. Ramanujam, “Subgames within
FM Update, BITS-Goa July 20, 2018
◮ Finite-state agents and uniformity. ◮ Computation by direct interaction, and unpredictable
◮ Distributed inputs and outputs. ◮ Convergence rather than termination.
FM Update, BITS-Goa July 20, 2018
◮ The initial configuration is determined by the inputs via ι. ◮ δ describes pairwise interaction and thus configuraion
◮ Via ω all automata constantly produce output. ◮ Fairness assumption: if C appears infinitely often in a
◮ A protocol computes a function f that maps multisets of
FM Update, BITS-Goa July 20, 2018
◮ Σ = Γ = Q = {0, 1} and the input and output maps are
◮ The only interaction in δ is (0, 1) → (1, 1). ◮ If all agents have input 0, no agent will ever be in state 1. ◮ If some agent has input 1 the number of agents with
FM Update, BITS-Goa July 20, 2018
◮ Γ = {0, 1}. We set Σ = {L, F} and Q = {L, F, 0, 1}. ◮ The input map is the identity; the output maps L and 1
◮ δ has: (L, F) → (0, 0), (L, 0) → (L, 1), (F, 1) → (F, 0)
◮ In case of a tie, the last rule ensures that the output
FM Update, BITS-Goa July 20, 2018
◮ Consider the sequence of configurations:
◮ Repeating the last four transitions yields a
FM Update, BITS-Goa July 20, 2018
◮ Show the dancers protocol converges in every fair
◮ Design a protocol to determine whether more than 2/3rds
◮ Design a protocol to determine whether more than 2/3rds
FM Update, BITS-Goa July 20, 2018
◮ The protocol gathers the sum (modulo 4) into a single
FM Update, BITS-Goa July 20, 2018
◮ The protocol gathers the sum (modulo 4) into a single
◮ Q = {0, 1, 2, 3, n0, n1, n2, n3}, where nv stands for null
◮ δ has (v1, v2) → (v1 + v2, nv1+v2) (addition modulo 4) and
FM Update, BITS-Goa July 20, 2018
◮ Threshold predicates are of the form Σd i=1cixi < a, and
i=1cixi = a(modb). ◮ Angluin et al (easily) show that population protocols can
◮ Surprisingly, the converse also holds: these are the only
FM Update, BITS-Goa July 20, 2018
◮ The proof is quite involved, the main tool is Higman’s
FM Update, BITS-Goa July 20, 2018
◮ Show that any predicate stably computed by a population
FM Update, BITS-Goa July 20, 2018
◮ Show that any predicate stably computed by a population
◮ Show that when detecting if a configuration x is
FM Update, BITS-Goa July 20, 2018
◮ Show that any predicate stably computed by a population
◮ Show that when detecting if a configuration x is
◮ Finally we can reduce the problem to a form of
FM Update, BITS-Goa July 20, 2018
◮ One-way interaction: we have sender and receiver agents.
◮ Delayed observation models can detect multiplicity of
◮ Immediate observation models can count the number of
◮ Queued models have the same power as the basic model. ◮ Interaction graphs, in general, lead to Turing
◮ Many papers study random interaction models.
FM Update, BITS-Goa July 20, 2018
FM Update, BITS-Goa July 20, 2018
◮ Q = S. ◮ (q1, q2, q′ 1, q′ 2) ∈ δ iff:
◮ q′
1 = q1 if uI(q1, q2) ≥ ∆; q′ 1 = x ∈ BRI(q2), otherwise.
◮ q′
2 = q2 if uR(q1, q2) ≥ ∆; q′ 2 = x ∈ BRR(q1),
◮ We vary input and output functions and ∆ to get a class
FM Update, BITS-Goa July 20, 2018
◮ Proposition: The class of predicates computable by
◮ The proof proceeds by a kind of determinization: by
◮ It is not clear that predicates computable by Pavlovian
FM Update, BITS-Goa July 20, 2018
◮ Theorem: The predicates defined by Multi-Pavlovian
◮ There are surprises when we restrict ourselves to
FM Update, BITS-Goa July 20, 2018
◮ Evolutionary game theory is a well-studied subject
FM Update, BITS-Goa July 20, 2018
◮ Evolutionary game theory is a well-studied subject
◮ Population protocols provide a very interesting model of
FM Update, BITS-Goa July 20, 2018
◮ Evolutionary game theory is a well-studied subject
◮ Population protocols provide a very interesting model of
◮ This may be one way to scale up systems of automata and
FM Update, BITS-Goa July 20, 2018
◮ Evolutionary game theory is a well-studied subject
◮ Population protocols provide a very interesting model of
◮ This may be one way to scale up systems of automata and
◮ The model of games and automata has been used well in
FM Update, BITS-Goa July 20, 2018
FM Update, BITS-Goa July 20, 2018