BACK TO PRISON The only Nash equilibrium in Prisoners dilemma is - - PowerPoint PPT Presentation

β–Ά
back to prison
SMART_READER_LITE
LIVE PREVIEW

BACK TO PRISON The only Nash equilibrium in Prisoners dilemma is - - PowerPoint PPT Presentation

T RUTH J USTICE A LGOS Game Theory II: Price of Anarchy Teachers: Ariel Procaccia (this time) and Alex Psomas BACK TO PRISON The only Nash equilibrium in Prisoners dilemma is bad; but how bad is it? Objective function: social cost =


slide-1
SLIDE 1

ALGOS TRUTH JUSTICE

Game Theory II: Price of Anarchy

Teachers: Ariel Procaccia (this time) and Alex Psomas

slide-2
SLIDE 2

BACK TO PRISON

  • 1,-1
  • 9,0

0,-9

  • 6,-6
  • The only Nash equilibrium in Prisoner’s

dilemma is bad; but how bad is it?

  • Objective function: social cost = sum of costs
  • NE is six times worse than the optimum
  • We can make this arbitrarily bad
slide-3
SLIDE 3

ANARCHY AND STABILITY

  • Fix a class of games, an objective function,

and an equilibrium concept

  • The price of anarchy (stability) is the worst-

case ratio between the worst (best)

  • bjective function value of an equilibrium of

the game, and that of the optimal solution

  • In this lecture:
  • Objective function = social cost
  • Equilibrium concept = Nash equilibrium
slide-4
SLIDE 4

EXAMPLE: COST SHARING

  • π‘œ players in weighted directed graph

𝐻

  • Player 𝑗 wants to get from 𝑑𝑗 to 𝑒𝑗;

strategy space is 𝑑𝑗 β†’ 𝑒𝑗 paths

  • Each edge 𝑓 has cost 𝑑𝑓
  • Cost of edge is split between all

players using edge

  • Cost of player is sum of costs over

edges on path

𝑑2 𝑑1

𝑒1 𝑒2

10 10 10 1 1 1 1

slide-5
SLIDE 5

EXAMPLE: COST SHARING

  • With π‘œ players, the example on the

right has a NE with social cost π‘œ

  • Optimal social cost is 1
  • It follows that the price of anarchy
  • f cost sharing games is at least π‘œ
  • It is easy to see that the price of

anarchy of cost sharing games is at most π‘œ β€” why?

𝑒 𝑑

π‘œ 1

slide-6
SLIDE 6

EXAMPLE: COST SHARING

  • Think of the 1 edges as cars, and

the 𝑙 edge as mass transit

  • Bad Nash equilibrium with cost

π‘œ

  • Good Nash equilibrium with

cost 𝑙

  • Now let’s modify the example…

𝑑1 𝑑2 π‘‘π‘œ 𝑒

… 1 1 1 𝑙

slide-7
SLIDE 7

EXAMPLE: COST SHARING

  • OPT = 𝑙 + 1
  • Only equilibrium has cost

𝑙 β‹… 𝐼(π‘œ)

  • Therefore, the price of

stability of cost sharing games is at least Ξ©(log π‘œ)

  • We will show that the price
  • f stability is Θ(log π‘œ)

𝑑1 𝑑2 π‘‘π‘œ 𝑒

… 𝑙 + 1 𝑙 1 𝑙 2 𝑙 π‘œ

slide-8
SLIDE 8

POTENTIAL GAMES

  • A game is an exact potential game if there

exists a function Ξ¦: ς𝑗=1

π‘œ

𝑇𝑗 β†’ ℝ such that for all 𝑗 ∈ 𝑂, for all 𝒕 ∈ ς𝑗=1

π‘œ

𝑇𝑗, and for all 𝑑𝑗

β€² ∈ 𝑇𝑗,

cost𝑗 𝑑𝑗

β€², π’•βˆ’π‘— βˆ’ cost𝑗 𝒕 = Ξ¦ 𝑑𝑗 β€², π’•βˆ’π‘— βˆ’ Ξ¦(𝒕)

  • The existence of an exact potential function

implies the existence of a pure Nash equilibrium β€” why?

slide-9
SLIDE 9

POTENTIAL GAMES

  • Theorem: the cost sharing game is an exact

potential game

  • Proof:
  • Let π‘œπ‘“ 𝒕 be the number of players using 𝑓 under 𝒕
  • Define the potential function

Ξ¦ 𝒕 = ෍

𝑓

෍

𝑙=1 π‘œπ‘“(𝒕) 𝑑𝑓

𝑙

  • If player changes paths, pays

𝑑𝑓 π‘œπ‘“ 𝒕 +1 for each new

edge, gets

𝑑𝑓 π‘œπ‘“ 𝒕 for each old edge, so Ξ”cost𝑗 = ΔΦ ∎

slide-10
SLIDE 10

POTENTIAL GAMES

  • Theorem: The cost of stability of cost sharing

games is 𝑃(log π‘œ)

  • Proof:
  • It holds that

cost 𝒕 ≀ Ξ¦ 𝒕 ≀ 𝐼 π‘œ β‹… cost(𝒕)

  • Take a strategy profile 𝒕 that minimizes Ξ¦
  • 𝒕 is an NE
  • cost 𝒕 ≀ Ξ¦ 𝒕 ≀ Ξ¦ OPT ≀ 𝐼 π‘œ β‹… cost(OPT) ∎
slide-11
SLIDE 11

COST SHARING SUMMARY

  • Upper bounds: βˆ€cost sharing game,
  • PoA: βˆ€NE 𝒕,

cost 𝒕 ≀ π‘œ β‹… cost(OPT)

  • PoS: βˆƒNE 𝒕 s.t.

cost 𝒕 ≀ 𝐼 π‘œ β‹… cost(OPT)

  • Lower bounds: βˆƒcost sharing game s.t.
  • PoA: βˆƒNE 𝒕 s.t.

cost 𝒕 β‰₯ π‘œ β‹… cost(OPT)

  • PoS: βˆ€NE 𝒕,

cost 𝒕 β‰₯ 𝐼 π‘œ β‹… cost(OPT)

slide-12
SLIDE 12

NETWORK FORMATION GAMES

  • Each player is a vertex 𝑀
  • Strategy of 𝑀: set of undirected edges to

build that touch 𝑀

  • Strategy profile 𝒕 induces undirected graph

𝐻(𝒕)

  • Cost of building any edge is 𝛽
  • cost𝑀 𝒕 = π›½π‘œπ‘€ 𝒕 + σ𝑣 𝑒(𝑣, 𝑀), where

π‘œπ‘€ = #edges bought by 𝑀, 𝑒 is shortest path in #edges

  • cost 𝒕 = σ𝑣≠𝑀 𝑒 𝑣, 𝑀 + 𝛽|𝐹|
slide-13
SLIDE 13

NE with 𝛽 = 3

Suboptimal Optimal

EXAMPLE: NETWORK FORMATION

slide-14
SLIDE 14

EXAMPLE: NETWORK FORMATION

  • Lemma: If 𝛽 β‰₯ 2 then any star is optimal, and

if 𝛽 ≀ 2 then a complete graph is optimal

  • Proof:
  • Suppose 𝛽 ≀ 2, and consider any graph that is

not complete

  • Adding an edge will decrease the sum of

distances by at least 2, and costs only 𝛽

  • Suppose 𝛽 β‰₯ 2 and the graph contains a star, so

the diameter is at most 2; deleting a non-star edge increases the sum of distances by at most 2, and saves 𝛽 ∎

slide-15
SLIDE 15

EXAMPLE: NETWORK FORMATION

  • Theorem:
  • 1. If 𝛽 β‰₯ 2 or 𝛽 ≀ 1, PoS = 1
  • 2. For 1 < 𝛽 < 2, PoS ≀ 4/3

For which values of 𝛽 is any star a NE, and for which is any complete graph a NE?

  • 1. 𝛽 β‰₯ 1, 𝛽 ≀ 1
  • 3. 𝛽 β‰₯ 1, none
  • 2. 𝛽 β‰₯ 2, 𝛽 ≀ 1
  • 4. 𝛽 β‰₯ 2, none

Poll 1

?

slide-16
SLIDE 16

PROOF OF THEOREM

  • Part 1 is immediate from the lemma and

poll

  • For 1 < 𝛽 < 2, the star is a NE, while OPT is

a complete graph

  • Worst case ratio when 𝛽 β†’ 1:

2π‘œ π‘œ βˆ’ 1 βˆ’ 2 π‘œ βˆ’ 1 + (π‘œ βˆ’ 1) π‘œ π‘œ βˆ’ 1 + π‘œ(π‘œ βˆ’ 1)/2 = 4π‘œ2 βˆ’ 6π‘œ + 2 3π‘œ2 βˆ’ 3π‘œ < 4 3 ∎

slide-17
SLIDE 17

EXAMPLE: NETWORK CREATION

  • Theorem [Fabrikant et al. 2003]: The

price of anarcy of network creation games is 𝑃( 𝛽)

  • Lemma: If 𝒕 is a Nash equilibrium that

induces a graph of diameter 𝑒, then cost(𝒕) ≀ 𝑃 𝑒 β‹… OPT

slide-18
SLIDE 18

PROOF OF LEMMA

  • OPT = Ξ© π›½π‘œ + π‘œ2
  • Buying a connected graph costs at least

π‘œ βˆ’ 1 𝛽

  • There are Ξ© π‘œ2 distances
  • Distance costs ≀ π‘’π‘œ2 β‡’ focus on edge

costs

  • There are at most π‘œ βˆ’ 1 cut edges β‡’

focus on noncut edges

slide-19
SLIDE 19

PROOF OF LEMMA

  • Claim: Let 𝑓 = (𝑣, 𝑀) be a noncut edge, then the

distance 𝑒(𝑣, 𝑀) with 𝑓 deleted ≀ 2𝑒

  • π‘Š

𝑓 = set of nodes s.t. the shortest path from 𝑣 uses 𝑓

  • Figure shows shortest path avoiding 𝑓, 𝑓′ = (𝑣′, 𝑀′)

is the edge on the path entering π‘Š

𝑓

  • 𝑄

𝑣 is the shortest path from 𝑣 to 𝑣′ β‡’ 𝑄 𝑣 ≀ 𝑒

  • 𝑄

𝑀 ≀ 𝑒 βˆ’ 1 as 𝑄 𝑀 βˆͺ {𝑓} is shortest path from 𝑣 to

𝑀′ ∎

𝑀 𝑀′ 𝑣 𝑣′

𝑓 𝑓′ π‘Š

𝑓

𝑄

𝑀

𝑄

𝑣

slide-20
SLIDE 20

PROOF OF LEMMA

  • Claim: There are 𝑃(π‘œπ‘’/𝛽) noncut

edges paid for by any vertex 𝑣

  • Let 𝑓 = (𝑣, 𝑀) be an edge paid for by 𝑣
  • By previous claim, deleting 𝑓 increases

distances from 𝑣 by at most 2𝑒|π‘Š

𝑓|

  • 𝐻 is an equilibrium β‡’ 𝛽 ≀ 2𝑒 π‘Š

𝑓 β‡’

π‘Š

𝑓 β‰₯ 𝛽/2𝑒

  • π‘œ vertices overall β‡’ can’t be more than

2π‘œπ‘’/𝛽 sets π‘Š

𝑓 ∎

slide-21
SLIDE 21

PROOF OF LEMMA

  • 𝑃(π‘œπ‘’/𝛽) noncut edges per vertex
  • 𝑃(π‘œπ‘’) total payment for these per

vertex

  • 𝑃(π‘œ2𝑒) overall ∎
slide-22
SLIDE 22

PROOF OF THEOREM

  • By lemma, it is enough to show that the diameter

at a NE ≀ 2 𝛽

  • Suppose 𝑒 𝑣, 𝑀 β‰₯ 2𝑙 for some 𝑙
  • By adding the edge (𝑣, 𝑀), 𝑣 pays 𝛽 and improves

distance to second half of the 𝑣 β†’ 𝑀 shortest path by 2𝑙 βˆ’ 1 + 2𝑙 βˆ’ 3 + β‹― + 1 = 𝑙2

  • If

𝛽 < 𝑙2 ≀ 𝑒 𝑣, 𝑀 2

2

β‡’ 𝑒 𝑣, 𝑀 > 2 𝛽 then it is beneficial to add edge β€” contradiction∎