network creation games - cs.upc.edumjserna/docencia/agt-miri/19/agt6-networ… · network creation...

37
Contents General model Sum Game Connection game Network Creation Games Maria Serna Fall 2019 AGT-MIRI, FIB-UPC Network Games

Upload: others

Post on 17-Jul-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Network Creation Games

Maria Serna

Fall 2019

AGT-MIRI, FIB-UPC Network Games

Page 2: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

1 General model

2 Sum Game

3 Connection game

AGT-MIRI, FIB-UPC Network Games

Page 3: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Network creation games

Creation and maintenance of a network is modeled as a game

n players, think of them as vertices in an undirected graph

The players can buy/create edges to other players for aprice per edge (usually constant α > 0)

As a result of a strategy profile s a graph G (s) is created.

The goal of the player u is to minimize a cost function onG (s)

cu(s) = creation cost + usage cost

AGT-MIRI, FIB-UPC Network Games

Page 4: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

User cost

Assume that G = G (s) and fix a player u

Creation cost α (number of edges player u creates)

Usage cost:

SumGame (Fabrikant et al. PODC 2003)Sum over all distances

∑v∈V dG (u, v)

This is an average-case approach to the usage costMaxGame (Demaine et al. PODC 2007)Maximum over all distances maxv∈V dG (u, v)A worst-case approach to the usage cost

AGT-MIRI, FIB-UPC Network Games

Page 5: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Social cost

Assume that G = G (s)

Creation cost α|E (G )|Usage cost:

SumGameSum over all distances

∑u,v∈V dG (u, v)

MaxGame (Demaine et al. PODC 2007)Maximum over all distances maxu,v∈V dG (u, v)

AGT-MIRI, FIB-UPC Network Games

Page 6: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

An example

5

4 6

3

1 2

AGT-MIRI, FIB-UPC Network Games

Page 7: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

An example

s = (3, 4, 1, 3, 5, 3, 3, 3)

5

4 6

3

1 2

An arrow indicates who bought the edge

AGT-MIRI, FIB-UPC Network Games

Page 8: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

An example

s = (3, 4, 1, 3, 5, 3, 3, 3) and G (s)

5

4 6

3

1 2

AGT-MIRI, FIB-UPC Network Games

Page 9: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

An example: SumGame

s = (3, 4, 1, 3, 5, 3, 3, 3) and G (s)

5

4 6

3

1 2

c1(s) = 2α + 1 + 1 + 1 + 2 + 2 = 2α + 7 . . .c(s) = 7α + (7 + 8 + 5 + 8 + 9 + 9) = 7α + 56

AGT-MIRI, FIB-UPC Network Games

Page 10: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

An example: MaxGame

s = (3, 4, 1, 3, 5, 3, 3, 3) and G (s)

5

4 6

3

1 2

c1(s) = 2α + 2 = 2α + 2 . . .c(s) = 7α + 2

AGT-MIRI, FIB-UPC Network Games

Page 11: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

What to study?

Are there PNE?

What are the social optima?

What network topologies are formed? What families ofequilibrium graphs can one construct for a given α?

How efficient are they? Price of Anarchy/Stability?

We will cover some results on SumGames under some cost variants

AGT-MIRI, FIB-UPC Network Games

Page 12: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Best responseOptimal topologiesNash topologies

1 General model

2 Sum Game

3 Connection game

AGT-MIRI, FIB-UPC Network Games

Page 13: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Best responseOptimal topologiesNash topologies

Optimal/Equilibrium topologies

cu(s) = α|su|+∑v∈V

dG (u, v)

c(s) = α|E |+∑u,v∈V

dG (u, v)

Can an edge be created by more than two players? NO

We have to study them as a function of α

When is it better to add/remove an edge?

Can the graph be disconnected? NO

AGT-MIRI, FIB-UPC Network Games

Page 14: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Best responseOptimal topologiesNash topologies

Add an edge?

cu(s) = α|su|+∑v∈V

dG (u, v)

When is it better to add an edge?

Set d = dG (u, v) > 1 and let s ′u = su ∪ v

cu(s−u, s′u)− cu(s) = α + 1− d +

∑w∈V ,w 6=u

(dG ′(u,w))− dG (u,w))

≤ α + 1− d ≤ 0

d > α which implies Nash topologies have diameter ≤ α.

AGT-MIRI, FIB-UPC Network Games

Page 15: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Best responseOptimal topologiesNash topologies

Computing a Best Response

Given a game (1n, α), a strategy profile s and a player i ,compute si ∈ BRi (s−i )

We relate the BR with a graph parameter.

Given a graph G , with V (G ) = v1, . . . , vn, consider thefollowing instance for the BR proble,:

The game has n + 1 players, choose α so that 1 < α < 2, theplayer will be player v0. The strategy is defined as follows:Compute an orientation of G and define s−0 accordingly.Set s0 = V (G ).

As 1 < α < 2, v0 will like to buy edges to link to any vertexat distance > 2.

So, in the BR graphs the radius of v0 must be ≤ 2.

On such graphs, c0(s−0, s′0) = (α + 1)|s ′0|+ 2(n − |s ′0|)

AGT-MIRI, FIB-UPC Network Games

Page 16: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Best responseOptimal topologiesNash topologies

Computing a Best Response

So, in the BR graphs the radius of v0 must be ≤ 2.

On such graphs, c0(s−0, s′0) = (α + 1)|s ′0|+ 2(n − |s ′0|)

c0 is minimized when |s ′0| has minimum cardinality, providedradius of v0 is ≤ 2.

To get radius ≤ 2, |s ′0| must be a dominating set.

The BR strategies are the dominating sets of G havingminimum size.

Computing a minimum size dominating set is NP-hard, so

Computing a BR in the sum game is NP-hard

AGT-MIRI, FIB-UPC Network Games

Page 17: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Best responseOptimal topologiesNash topologies

Optimal topologies

c(s) = α|E |+∑u,v∈V

dG (u, v)

When two vertices u, v are not connected dG (u, v) ≥ 2.

When two vertices u, v are connected dG (u, v) = 1.

Therefore

c(s) = α|E |+∑u,v∈V

dG (u, v) ≥ α|E | − 2|E |+∑u,v∈V

2

≥ α|E | − 2|E |+ 2n(n − 1) = 2n(n − 1) + (α− 2)|E |

Holds with equality on graphs with diameter ≤ 2.

AGT-MIRI, FIB-UPC Network Games

Page 18: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Best responseOptimal topologiesNash topologies

Optimal topologies

If G (s) has diameter ≤ 2,

c(s) = 2n(n − 1) + (α− 2)|E |

This function has different minima depending on whether(α− 2) is positive or negative.

When α = 2, the optimal cost is independent of the numberof edges in the graph. So,

Any graph with diameter ≤ 2 has optimal cost.

AGT-MIRI, FIB-UPC Network Games

Page 19: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Best responseOptimal topologiesNash topologies

Optimal topologies

If G (s) has diameter ≤ 2,

c(s) = 2n(n − 1) + (α− 2)|E |

When α > 2, to make the cost minimum we have to take theminimum number of edges in G . Of course the graph must beconnected. So,

Only trees with diameter 2 have optimal cost.

Sn is the unique optimal topology.

AGT-MIRI, FIB-UPC Network Games

Page 20: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Best responseOptimal topologiesNash topologies

Optimal topologies

If G (s) has diameter ≤ 2,

c(s) = 2n(n − 1) + (α− 2)|E |

When α < 2, to make the cost minimum we have to take themaximum number of edges in G . So,

Kn is the unique optimal topology.

AGT-MIRI, FIB-UPC Network Games

Page 21: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Best responseOptimal topologiesNash topologies

Nash topologies

cu(s) = α|su|+∑v∈V

dG (u, v)

The star Sn is a Nash equilibrium?

Vertices v1, . . . , vn. Let v1 be the center of the star.

Consider s: s1 = ∅ and si = s1, for i > 1. (G (s) = Sn)

For v1,

c1(s) = n − 1.v1 is getting the smallest possible cost.

AGT-MIRI, FIB-UPC Network Games

Page 22: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Best responseOptimal topologiesNash topologies

Nash topologies

The star Sn is a Nash equilibrium?

Consider s: s1 = ∅ and si = s1, for i > 1. (G (s) = Sn)

For vi , i ≥ 1

ci (s) = α + 1 + 2(n − 2).If vi changes si = v1 for s ′i = A ∪ v1, v1 /∈ A,

ci (s−i , s′i ) = α + 1 + (α + 1)|A|+ 2(n − 2− |A|)

ci (s)− ci (s−i , s′i ) = (1− α)|A|

The cost do not decrease for α ≥ 1

AGT-MIRI, FIB-UPC Network Games

Page 23: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Best responseOptimal topologiesNash topologies

Nash topologies

The star Sn is a Nash equilibrium?

Consider s: s1 = ∅ and si = s1, for i > 1. (G (s) = Sn)

For vi , i ≥ 1

ci (s) = α + 1 + 2(n − 2).If vi changes si = v1 for s ′i = A, v1 /∈ A,

ci (s−i , s′i ) = (α + 1)|A|+ 2 + 3(n − 2− |A|))

ci (s)− ci (s−i , s′i ) = (α + 1)(1− |A|)− n − 3|A|

Which never increases.

AGT-MIRI, FIB-UPC Network Games

Page 24: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Best responseOptimal topologiesNash topologies

Nash topologies

Kn is the unique Nash topology for α < 1

Sn is a Nash topology for α ≥ 1although they might be other PNE

AGT-MIRI, FIB-UPC Network Games

Page 25: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Best responseOptimal topologiesNash topologies

PoA: α < 1

Kn is the unique Nash topology

Kn is also an optimal topology

PoA = PoS = 1

AGT-MIRI, FIB-UPC Network Games

Page 26: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Best responseOptimal topologiesNash topologies

PoA: 1 ≤ α < 2

Kn is an optimal topology

Any Nash equilibrium must have diameter ≤ 2, so Sn is aNash topology with the worst social cost.

PoA =c(Sn)

c(Kn)=

(n − 1)(α− 2 + 2n)

n(n − 1)α−22 + 2

=4

2 + α− 4− 2α

n(2 + α)<

4

2 + α≤ 4

3

AGT-MIRI, FIB-UPC Network Games

Page 27: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Best responseOptimal topologiesNash topologies

PoA: α > n2

cu(s) = α|su|+∑v∈V

dG (u, v)

When α > n2, unless the distance is infinity, no player hasincentive to buy an edge.

The NE topologies are spanning trees

The optimal topology is Sn

PoA =c(Tn)

c(Sn)=

α(n − 1) + . . .

α(n − 1) + 1 + 2n(n − 1)= O(1)

AGT-MIRI, FIB-UPC Network Games

Page 28: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Best responseOptimal topologiesNash topologies

PoA: α < n2

for a worst NE topology G

PoA =

(α|E |+

∑u,v∈V dG (u, v)

αn + n2

)

dG (u, v) < 2√α, otherwise u will be willing to connect to the

node in the center of the shortest path from u to v to becloser by −

√α to

√α nodes.

Furthermore, |E | = O( n2√α

) (see [Fabrikant et al. 2003])

Thus PoA = O(√α)

AGT-MIRI, FIB-UPC Network Games

Page 29: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Best responseOptimal topologiesNash topologies

PoA: Conjectures

PoA on trees ≤ 5 [Fabrikant et al. 2003]

Constant PoA conjecture: For all α, PoA = O(1).

Tree conjecture: for all α > n, all NE are trees.

AGT-MIRI, FIB-UPC Network Games

Page 30: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Best responseOptimal topologiesNash topologies

O(1) PoA conjecture: large α

PoA = O(1)

α > n32 [Lin 2003]

α > 12n log n [Albers et al. 2014]α > 273n [Mihalak, Schlegel, 2013]α > 65n [Mamageishivii et al. 2015]α > 17n [Alvarez, Messegue 2017]α > 4n − 13 [Bilo, Lezner 2018]α > (1 + ε)n [Alvarez, Messegue 2019]

[Alvarez, Messegue 2019 arxiv.org/abs/1909.09799]

AGT-MIRI, FIB-UPC Network Games

Page 31: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Best responseOptimal topologiesNash topologies

O(1) PoA conjecture: small α

PoA = O(1)

α = O(1) [Fabrikant et al. 2003]α = O(

√n) [Lin 2003]

α = O(n1−δ), δ ≥ 1/ log n [Demaine et al. 2007]

AGT-MIRI, FIB-UPC Network Games

Page 32: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

1 General model

2 Sum Game

3 Connection game

AGT-MIRI, FIB-UPC Network Games

Page 33: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

A simple connection game

A group of people want to use an existing network and willbuy the right to use certain communication channels (edges).

To simplify, each wants to connect to a specific targetdestination from a specific source.

Players who use the same channel (edge) will share its cost.

AGT-MIRI, FIB-UPC Network Games

Page 34: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

A simple connection game: definition

A graph (directed or undirected) G = (V ,E )

Each edge e has an associated cost ce

n players. Player i wants to buy a path from a node si to anode ti , both in V .

For player i , the set of available strategies is the set of pathsPi from si to ti .

Each player chooses a path pi ∈ Pi .

Players who use edge e divide the cost of e according to somemechanism. A player i pays∑

e

∈ pi fi (e)

where fi (e) is i ’s share of the cost of edge e.

AGT-MIRI, FIB-UPC Network Games

Page 35: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Egalitarian cost sharing

If ne players use edge e each of them pays cene

s1

s2

s3

t1

t2

t3

x y

1 2

3

3

2

3

6

player 1 pays 5, player 2 pays 7 and player 3, 8

AGT-MIRI, FIB-UPC Network Games

Page 36: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Social cost:utilitarian

Let p = (p1, . . . , pn) be a strategy profile.

c(p) =n∑

i=1

∑e∈pi

ce

ne=∑

e∈∪iPi

ce

The optimal solution is the smallest subgraph T of G s.t., foreach i , there exists a path from si to ti in T .

For undirected graphs this is the Steiner tree onX = ∪isi , ti.Which is a NP-hard problem.

AGT-MIRI, FIB-UPC Network Games

Page 37: Network Creation Games - cs.upc.edumjserna/docencia/agt-miri/19/AGT6-Networ… · Network creation games Creation and maintenance of a network is modeled as a game n players, think

ContentsGeneral model

Sum GameConnection game

Price of anarchy

s t

n

1 + ε

n players symmetric game

All through the lower link is a NE, each player pays 1, socialcost n.

Optimal solution all through the lower link, social cost 1 + ε.

PoA = Ω(n)

AGT-MIRI, FIB-UPC Network Games