CSC304 Lecture 4 Game Theory
(Cost sharing & congestion games, Potential function, Braess’ paradox)
CSC304 - Nisarg Shah 1
CSC304 Lecture 4 Game Theory (Cost sharing & congestion games, - - PowerPoint PPT Presentation
CSC304 Lecture 4 Game Theory (Cost sharing & congestion games, Potential function, Braess paradox) CSC304 - Nisarg Shah 1 Recap Nash equilibria (NE) No agent wants to change their strategy Guaranteed to exist if mixed
CSC304 - Nisarg Shah 1
CSC304 - Nisarg Shah 2
➢ No agent wants to change their strategy ➢ Guaranteed to exist if mixed strategies are allowed ➢ Could be multiple
CSC304 - Nisarg Shah 3
➢ Compute how “good” they are in the best/worst case
➢ Game with only rewards?
➢ Game with only penalties?
➢ Game with rewards and penalties?
CSC304 - Nisarg Shah 4
Max total reward Min total reward in any NE
Max total cost in any NE Min total cost
Max total reward Max total reward in any NE
Min total cost in any NE Min total cost
CSC304 - Nisarg Shah 5
➢ (Stag, Stag) : Total reward = 8 ➢ (Hare, Hare) : Total reward = 2 ➢ ( Τ
1 3 Stag – Τ 2 3 Hare, Τ 1 3 Stag – Τ 2 3 Hare)
1 3 ∗ 1 3 ∗ 8 + 1 − 1 3 ∗ 1 3 ∗ 2 ∈ (2,8)
Hunter 1 Hunter 2 Stag Hare Stag (4 , 4) (0 , 2) Hare (2 , 0) (1 , 1)
CSC304 - Nisarg Shah 6
➢ (Betray, Betray) : Total cost = 2 + 2 = 4
Sam John Stay Silent Betray Stay Silent (-1 , -1) (-3 , 0) Betray (0 , -3) (-2 , -2)
CSC304 - Nisarg Shah 7
➢ Wants to go from 𝑡𝑗 to 𝑢𝑗 ➢ Strategy set 𝑇𝑗 = {directed 𝑡𝑗 → 𝑢𝑗 paths} ➢ Denote his chosen path by 𝑄𝑗 ∈ 𝑇𝑗
➢ Cost is split among all players taking edge 𝑓 ➢ That is, among all players 𝑗 with 𝑓 ∈ 𝑄𝑗
CSC304 - Nisarg Shah 8
➢ 𝐹(𝑄)={edges taken in 𝑄 by at least one player} ➢ Why?
CSC304 - Nisarg Shah 9
➢ What if both players take direct paths? ➢ What if both take middle paths? ➢ What if one player takes direct path and the
CSC304 - Nisarg Shah 10
➢ All taking the n-edge: social cost = 𝑜 ➢ All taking the 1-edge: social cost = 1
➢ We can show that price of anarchy ≤ 𝑜 in
CSC304 - Nisarg Shah 11
➢ Suppose the social optimum is (𝑄
1 ∗, 𝑄 2 ∗, … , 𝑄 𝑜 ∗), in which
∗.
➢ Take any NE with cost 𝑑𝑗 to player 𝑗. ➢ Let 𝑑𝑗
′ be his cost if he switches to 𝑄𝑗 ∗.
➢ NE ⇒ 𝑑𝑗
′ ≥ 𝑑𝑗
➢ But : 𝑑𝑗
′ ≤ 𝑜 ⋅ 𝑑𝑗 ∗ (Why?)
➢ 𝑑𝑗 ≤ 𝑜 ⋅ 𝑑𝑗
∗ for each 𝑗 ⇒ no worse than 𝑜 × optimum
CSC304 - Nisarg Shah 12
➢ Every cost-sharing game: PoA ≤ 𝑜 ➢ Example game with PoA = 𝑜 ➢ Bound of 𝑜 is tight.
➢ In the previous game, it was 1. ➢ In general, it can be higher. How high? ➢ We’ll answer this after a short detour.
CSC304 - Nisarg Shah 13
➢ Pure NE may not always exist in
➢ What about a more complex
7
60 12 32 10 20
CSC304 - Nisarg Shah 14
➢ Via “potential function” argument
CSC304 - Nisarg Shah 15
➢ This is a function such that for every pure strategy profile
1,… , 𝑄 𝑜 , player 𝑗, and strategy 𝑄𝑗 ′ of 𝑗,
′, 𝑄−𝑗 − 𝑑𝑗 𝑄 = Φ 𝑄𝑗 ′, 𝑄−𝑗 − Φ 𝑄
➢ When a single player 𝑗 changes her strategy, the change
➢ In contrast, the change in the social cost 𝐷 equals the
CSC304 - Nisarg Shah 16
➢ Consider a 𝑄 that minimizes the potential function. ➢ Deviation by any single player 𝑗 can only (weakly) increase
➢ But change in potential function = change in cost to 𝑗. ➢ Hence, there is no beneficial deviation for any player.
CSC304 - Nisarg Shah 17
𝑓∈𝐹(𝑄)
𝑙=1 𝑜𝑓(𝑄) 𝑑𝑓
CSC304 - Nisarg Shah 18
𝑓∈𝐹(𝑄)
𝑙=1 𝑜𝑓(𝑄) 𝑑𝑓
➢ If a player changes path, he pays
𝑑𝑓 𝑜𝑓 𝑄 +1 for each new
𝑑𝑔 𝑜𝑔 𝑄 for each old edge 𝑔.
➢ This is precisely the change in the potential function too. ➢ So Δ𝑑𝑗 = ΔΦ.
CSC304 - Nisarg Shah 19
➢ Is this equilibrium special? Yes!
➢ That is, the worst Nash equilibrium can be up to 𝑜 times
CSC304 - Nisarg Shah 20
𝑓∈𝐹(𝑄)
𝑑𝑓 ≤ Φ 𝑄 =
𝑓∈𝐹(𝑄)
𝑙=1 𝑜𝑓(𝑄) 𝑑𝑓
𝑙 ≤
𝑓∈𝐹(𝑄)
𝑑𝑓 ∗
𝑙=1 𝑜 1
𝑙
Social cost
∀𝑄, 𝐷 𝑄 ≤ Φ 𝑄 ≤ 𝐷 𝑄 ∗ 𝐼 𝑜 𝐷 𝑄∗ ≤ Φ 𝑄∗ ≤ Φ 𝑃𝑄𝑈 ≤ 𝐷 𝑃𝑄𝑈 ∗ 𝐼(𝑜)
Harmonic function 𝐼(𝑜) = σ𝑙=1
𝑜
1/𝑜 = 𝑃(log𝑜) Potential minimizing eq. Social optimum
CSC304 - Nisarg Shah 21
➢ Compare to the price of anarchy, which can be 𝑜
CSC304 - Nisarg Shah 22
𝑘(𝑜𝑘)
CSC304 - Nisarg Shah 23
𝑘∈𝐹(𝑄)
𝑙=1 𝑜𝑘 𝑄
𝑘 𝑙
CSC304 - Nisarg Shah 24
➢ E.g., used for analyzing amortized complexity of
CSC304 - Nisarg Shah 25
𝑘 is decreasing
➢ The more people use a resource, the less the cost to each.
𝑘 can also be increasing
➢ Road network, each player going from home to work ➢ Uses a sequence of roads ➢ The more people on a road, the greater the congestion,
CSC304 - Nisarg Shah 26
➢ 2000 players want to go from 1 to 4 ➢ 1 → 2 and 3 → 4 are “congestible” roads ➢ 1 → 3 and 2 → 4 are “constant delay” roads
CSC304 - Nisarg Shah 27
➢ 1000 take 1 → 2 → 4, 1000 take 1 → 3 → 4 ➢ Each player has cost 10 + 25 = 35 ➢ Anyone switching to the other creates a greater
CSC304 - Nisarg Shah 28
➢ Intuitively, adding more roads should only be helpful ➢ In reality, it leads to a greater delay for everyone in the
𝑑23 𝑜23 = 0
CSC304 - Nisarg Shah 29
𝑑23 𝑜23 = 0
CSC304 - Nisarg Shah 30
➢ In the new game, 1 → 2 → 3 → 4 is a strictly dominant
𝑑23 𝑜23 = 0