Chapter 9: The Price of Anarchy

Algorithmic Game Theory · Study Questions
PoA and PoSPigou's networkThe 4/3 boundSmoothnessPoA in the Braess networkLoad balancingThe Price of StabilityCongestion tollsStackelberg routingRobust PoA
Sercan KÜLCÜ · Giresun University · Computer Engineering

Multiple Choice · PoA and PoS

Question 1

In a cost-minimization problem, which ratio defines the Price of Anarchy (PoA)?

B is correct. The Price of Anarchy divides the cost of the worst Nash equilibrium by the cost of the social optimum: PoA = maxs∈NE C(s) / C(OPT). Because the optimum is in the denominator, the ratio is always ≥ 1, and the larger it is, the bigger the bill for selfishness. A uses the best equilibrium; that ratio is the Price of Stability (PoS). C inverts the ratio, and D is a difference, not a ratio.

Multiple Choice · PoA and PoS

Question 2

If a game has exactly one Nash equilibrium, which statement is certainly true?

D is correct. PoA looks at the worst equilibrium and PoS at the best; with a single equilibrium the best and the worst are the same profile, so the two ratios have the same numerator and PoA = PoS. In general 1 ≤ PoS ≤ PoA, so A (PoA > PoS) is impossible with one equilibrium. B is wrong because the only equilibrium can be bad: in Pigou's network the only equilibrium costs 1 and the optimum 3/4, so PoA = PoS = 4/3. C is wrong too: if an equilibrium exists, the ratio is defined.

Multiple Choice · Pigou's Network

Question 3

Why does all the traffic take the upper route at equilibrium in Pigou's network?

C is correct. Each driver looks only at her own delay: x ≤ 1 min on the upper route, always 1 min on the lower one. Since the upper route is never slower, drivers on the lower route switch to it; the end result is x = 1, everyone waits 1 min and nobody gains by moving to the lower route. D is the opposite: a planner who looks at marginal cost splits the traffic in half. A is wrong because the optimum is x = 1/2; and there is no capacity limit in the model, as B assumes.

Multiple Choice · Linear Latency

Question 4

In Pigou's network let the upper route's latency be x² (lower route 1). Roughly what is the PoA?

D is correct. The equilibrium does not change: since x² ≤ 1 everyone is on the upper route, cost 1. For the optimum, C(x) = x·x² + (1 − x) = x³ − x + 1, C′(x) = 3x² − 1 = 0 → xOPT = 1/√3 ≈ 0.577 and C(OPT) = 1 − 2/(3√3) ≈ 0.615. So PoA = 1/0.615 ≈ 1.626. A (4/3) is the value for linear latency; as the latency gets steeper the optimum improves and the PoA grows.

Multiple Choice · Linear Latency

Question 5

Which statement about the PoA ≤ 4/3 bound for divisible traffic with linear latencies is true?

B is correct. Roughgarden–Tardos (2002): if the latencies are ℓ(x) = ax + b (a, b ≥ 0), then in every network at every demand C(equilibrium) ≤ 4/3·C(optimum); in Pigou's network the ratio is exactly 4/3, so the bound is tight. A is wrong: the bound is independent of the network structure, and two parallel routes are merely the worst example. C is wrong: for atomic (indivisible) games the bound rises to 5/2. D is wrong: for ℓ = xp the PoA grows slowly but without bound (about 4.7 at p = 16).

Multiple Choice · Smoothness and Braess

Question 6

In the Braess network (4,000 cars; s→A and B→t x/100 min, A→t and s→B 45 min, new A→B road 0 min), why is the PoA computed as 320,000/258,750 ≈ 1.237 and not 80/65?

C is correct. The PoA's denominator is the optimum of the same network. In the network with the new road the planner sends 500 cars on the zigzag and 1,750 on each old route, giving a total of 258,750 car·min (average ≈ 64.69 min). The equilibrium costs 4,000·80 = 320,000, so PoA = 320,000 / 258,750 ≈ 1.237. The ratio 80/65 compares two different networks and measures the Braess loss; A is wrong because 64.69 min beats 65, and B is wrong because the new road lowered the optimum from 260,000 to 258,750.

Multiple Choice · Load Balancing

Question 7

Jobs {3, 3, 2, 2}, 2 identical machines. Which statement holds for the assignment {3, 3} | {2, 2}?

D is correct. The loads are 3 + 3 = 6 on M1 and 2 + 2 = 4 on M2. If a job of size 3 moves to M2 it waits 4 + 3 = 7 > 6; if a job of size 2 moves to M1 it waits 6 + 2 = 8 > 4; nobody gains, so this is a Nash equilibrium. The optimum is {3, 2} | {3, 2} with 5, so the ratio is 6/5. A and C claim that deviating pays, which the numbers refute; B is wrong because 6 > 5.

Multiple Choice · Load Balancing

Question 8

On m identical machines, what is the exact (tight) value of the PoA for pure Nash equilibria?

A is correct. On m identical machines the tight value for pure Nash equilibria is PoA = 2 − 2/(m + 1) (Finn–Horowitz, 1979). For m = 2 this gives 2 − 2/3 = 4/3: for example, with jobs {2, 2, 1, 1} the bad equilibrium has 4 and the optimum 3. B (2) is the limit that is never reached; as m grows the value approaches 2 but never equals it. C describes mixed equilibria, where the PoA grows very slowly with m but without bound. D (m) is a loose estimate far above the true value.

Multiple Choice · The Price of Stability

Question 9

In fair-cost-sharing network design games with n players, what is the known tight upper bound on the PoS?

B is correct. Under fair sharing, Rosenthal's potential is Φ(s) = Σe ce·H(ne), and for every profile C(s) ≤ Φ(s) ≤ Hn·C(s). Best-response dynamics started at the optimum decrease Φ and reach an equilibrium s: C(s) ≤ Φ(s) ≤ Φ(OPT) ≤ Hn·C(OPT), so PoS ≤ Hn ≈ ln n, and the Hn example shows that the bound is tight (Anshelevich et al., 2004). C (n) is a loose bound for the PoS; n is a value the PoA can reach. A and D are constants, whereas the PoS can grow with n.

Multiple Choice · Congestion Toll

Question 10

In Pigou's network, what toll does the marginal-cost toll put on the upper route?

D is correct. The marginal-cost toll equals the externality: τ = f·ℓ′(f). On the upper route ℓ(x) = x, ℓ′ = 1, so τ = x and the driver sees a cost of x + x = 2x there; the new equilibrium is 2x = 1 → x = 1/2, the optimum. B (1/4) is not a toll but the total revenue collected at the optimum (1/2 traffic × 1/2 toll). A (1) pushes all the traffic to the lower route; C holds only for the lower route (ℓ′ = 0). D is the flow-dependent form of the toll; the same rule evaluated at the optimal flow gives the constant τ = f*·ℓ′(f*) = 1/2, which also makes the optimum an equilibrium.

Classic Question · Pigou's Network

Question 11: PoA in Pigou's Network

Pigou's network carries 1 unit of traffic. The upper route's latency is ℓ(x) = x (x: the upper share), and the lower route's latency is always 0.8.

Find (a) the Wardrop equilibrium and its total cost, (b) the social optimum and its cost, (c) the PoA.

Show answer

(a) Unless the upper route is slower than the lower one (x < 0.8), drivers switch to it; the two routes equalize at x = 0.8. Everyone waits 0.8 min: C(equilibrium) = 0.8·0.8 + 0.2·0.8 = 0.8.

(b) C(x) = x·x + (1 − x)·0.8 = x² − 0.8x + 0.8. C′(x) = 2x − 0.8 = 0 → xOPT = 0.4; C(OPT) = 0.16 + 0.6·0.8 = 0.64.

(c) PoA = 0.8 / 0.64 = 5/4 = 1.25 ≤ 4/3 (the linear-latency bound).

Classic Question · PoA in the Braess Network

Question 12: Braess Link with a Delay

A normalized Braess network carries 1 unit of traffic; the A→B link has a constant latency of 1/4 instead of 0. In the symmetric equilibrium let each of the routes s–A–t and s–B–t carry y, and the zigzag (s–A–B–t) carry z = 1 − 2y. What are the equilibrium cost, the optimum and the PoA?

sABt x11x1/4
Show answer

If everyone took the zigzag (y = 0): s–A–t = 1 + 1 = 2 < zigzag 1 + 1/4 + 1 = 9/4, so zigzag drivers leave; hence y > 0.

The load on s→A is y + z = 1 − y. Direct route: (1 − y) + 1 = 2 − y; zigzag: 2(1 − y) + 1/4 = 9/4 − 2y. Equalize: 2 − y = 9/4 − 2y → y = 1/4, z = 1/2. Everyone waits 7/4: C(equilibrium) = 7/4.

Optimum: C(y) = 2(1 − y)² + 2y + (1/4)(1 − 2y), C′(y) = 4y − 5/2 < 0 for every y ≤ 1/2 → y = 1/2, z = 0 (zigzag closed): C(OPT) = 2·1/4 + 1 = 3/2.

PoA = (7/4)/(3/2) = 7/6 ≈ 1.167. With a free link (0) the ratio was 4/3: a shortcut with a price reduces the selfish loss.

Classic Question · Smoothness

Question 13: The Smoothness Inequality

The key inequality for atomic linear congestion games is y(z + 1) ≤ λ·y² + μ·z² (y, z ≥ 0 integers). (a) For (λ, μ) = (5/3, 1/3), evaluate both sides at (y, z) = (1, 1), (1, 2), (2, 3), (3, 1). (b) What PoA bound does this pair give? (c) Could (λ, μ) = (1, 1/3) have been chosen? (d) What bound does the pair (1, ¼) for divisible traffic give?

Show answer
(y, z)(1, 1)(1, 2)(2, 3)(3, 1)
left: y(z + 1)2386
right: 5/3·y² + 1/3·z²5/3 + 1/3 = 25/3 + 4/3 = 320/3 + 3 = 29/3 ≈ 9.6715 + 1/3 ≈ 15.33
statusequalityequalityholdsholds

(b) C(s) ≤ λ·C(sOPT) + μ·C(s) → PoA ≤ λ/(1 − μ) = (5/3)/(2/3) = 5/2; the equalities at (1, 1) and (1, 2) are why the bound is tight.

(c) No: at (1, 1) the left side is 2 and the right side is 1 + 1/3 = 4/3 < 2; the inequality fails. (If it had held, it would have given 1/(2/3) = 3/2; but the "+1" that a single player adds requires a larger λ.)

(d) 1/(1 − ¼) = 4/3: Pigou's bound.

Classic Question · Load Balancing

Question 14: PoA and PoS in Load Balancing

Jobs {4, 3, 3, 2, 2}, 2 identical machines; the social cost is the maximum load.

(a) What is the optimal maximum load? (b) Is the assignment {4, 2, 2} | {3, 3} a Nash equilibrium? (c) Can there be an equilibrium with maximum load 9 or more? (d) What are the PoA and PoS? Compare with the bound 2 − 2/(m + 1).

Show answer

(a) The total is 14 → maximum load ≥ 7; {4, 3} | {3, 2, 2} = 7 | 7 attains it: OPT = 7.

(b) The loads are 8 | 6. If a job of size 2 on M1 moves to M2 it gets 6 + 2 = 8, not less than 8; if the 4 moves it gets 10. If a 3 on M2 moves to M1 it gets 8 + 3 = 11 > 6. Nobody gains → equilibrium, maximum load 8.

(c) No. If the load is L ≥ 9, the other machine has 14 − L ≤ 5. Since there is only one job of size 4, the loaded machine holds a job of size ≤ 3; if it moves, (14 − L) + 3 < L (L > 8.5) → it leaves.

(d) The equilibria's maximum loads are 7 and 8: PoA = 8/7 ≈ 1.143, PoS = 1 (7 | 7 is also an equilibrium). For m = 2 the bound is 2 − 2/3 = 4/3; it is not exceeded.

Classic Question · Load Balancing

Question 15: Best-Response Dynamics

Five jobs of sizes 5, 4, 3, 2, 2 (j1–j5) start all on M1. In the best-response dynamics, in each round the first of the jobs that would gain by moving to the least loaded machine h is moved. For each round write the loads, h and the jobs that want to move. At which assignment and which maximum load does it stop? What is the ratio to the optimum?

Show answer
roundloads [M1, M2]hmovers (load[h] + size < own load)move
1[16, 0]M2j1–j5 (e.g. 0 + 5 < 16)j1 (5) → M2
2[11, 5]M2j2 (9 < 11), j3 (8), j4, j5 (7)j2 (4) → M2
3[7, 9]M1none: 7 + 5 = 12 ≥ 9, 7 + 4 = 11 ≥ 9stop

Final assignment: j1 and j2 on M2, that is {3, 2, 2} | {5, 4}, maximum load 9.

The optimum {5, 3} | {4, 2, 2} = 8 | 8 → OPT = 8; ratio 9/8 = 1.125. Scanning all 32 assignments, the equilibria have maximum loads 8 and 9: in this example the dynamics reached the worst equilibrium, PoA = 9/8, PoS = 1.

Classic Question · The Price of Stability

Question 16: PoA and PoS in the Same Game

5 players rent a connection from s to t: link A costs 4 TL, link B costs 10 TL; those who use a link split its cost equally (fair cost sharing).

Find the pure Nash equilibria (also check the split profiles with k players on A and 5 − k on B). What are the optimum, the PoA and the PoS?

Show answer

All on A: 4/5 = 0.8 per person; a player who switched alone to B would pay 10 → equilibrium, total 4 = OPT.

All on B: 10/5 = 2 per person; a player who switched to A would pay 4 (4 > 2) → equilibrium, total 10.

k (on A)1234
pays on B: 10/(5 − k)2.510/3510
if she moves to A: 4/(k + 1)24/310.8

In every split profile a player on B gains by moving to A → not an equilibrium. The only equilibria are "all on A" and "all on B": PoA = 10/4 = 2.5, PoS = 1.

Classic Question · The Price of Stability

Question 17: The Hn Example, n = 4

4 players; player i's own route costs 1/i TL (1, 1/2, 1/3, 1/4), and the shared route costs 1.2 TL (ε = 0.2), split equally among its users.

Trace the best-response dynamics starting from the optimum. Find the equilibrium, its cost and the PoS; show that the equilibrium is unique and compare with H4.

Show answer

Optimum: everyone on the shared route, total 1.2 (the own routes sum to 25/12 ≈ 2.083).

  • 4 players on the shared route, share 0.3: for player 4, 1/4 = 0.25 < 0.3 → she leaves.
  • 3 players, share 0.4: for player 3, 1/3 ≈ 0.333 < 0.4 → she leaves.
  • 2 players, share 0.6: for player 2, 0.5 < 0.6 → she leaves.
  • 1 player, share 1.2: for player 1, 1 < 1.2 → she leaves.

Equilibrium: everyone on their own route, C = 1 + 1/2 + 1/3 + 1/4 = 25/12.

Unique equilibrium: if k ≥ 1 players are on the shared route, the highest-numbered player i ≥ k has 1/i ≤ 1/k < 1.2/k; she leaves.

PoS = PoA = (25/12)/1.2 = 125/72 ≈ 1.736 ≤ H4 = 25/12 ≈ 2.083; as ε → 0 it approaches H4.

Multiple Choice · Basic Concepts

Question 18

On 2 identical machines, Graham's greedy list algorithm is at most 3/2 times worse than optimal, and the pure equilibrium of selfish jobs at most 4/3 times. How do the two ratios differ?

B is correct: the approximation ratio compares what a centralized polynomial-time algorithm finds with the optimum; the PoA compares the worst equilibrium (nobody wants to deviate alone) with it. Both are worst-case ratios, but the loss has a different source. A is wrong: the PoA lacks coordination, not computation. C is not general (in Pigou's network with latency xp the PoA is unbounded). D is wrong: the PoA is defined for pure equilibria too.

Multiple Choice · Reducing the PoA

Question 19

According to Roughgarden and Tardos's capacity result, which statement about selfish routing is true?

B is correct: in every network and for every (continuous, increasing) latency function, the selfish equilibrium for traffic r costs no more than the optimal routing of traffic 2r. In other words, adding capacity (making every link twice as fast) can take the place of coordination. A reads like an upper bound on the PoA, but for general latencies the PoA is unbounded (Pigou's xp). C is wrong: the result is a cost comparison, it does not make the equilibrium equal the optimum. D is wrong: the result also holds for nonlinear latencies.

Classic Question · Load Balancing

Question 20: Machines of Different Speeds

Two machines: M1 has speed 2, M2 has speed 1. Job sizes are 1, 2, 3. A job's completion time is its machine's total load divided by the speed; the social cost is the maximum completion time.

(a) What is the optimal maximum completion time? (b) Is the assignment M1 {1, 2}, M2 {3} a Nash equilibrium, and what is its maximum completion time? (c) What is the PoA in this example? Compare with the 4/3 bound for two identical machines.

Show answer

(a) M1 {3, 1}, M2 {2}: 4/2 = 2 and 2/1 = 2 → 2. Nothing is better: total work 6, total speed 3, best possible 2.

(b) Times: M1 (1 + 2)/2 = 1.5, M2 3/1 = 3. If the job of size 3 moves to M1 it gets (3 + 3)/2 = 3, no gain; if the job of size 1 moves to M2 it gets 3 + 1 = 4 > 1.5; if the job of size 2 moves to M2 it gets 5 > 1.5. Nobody gains → Nash equilibrium, maximum time 3.

(c) Trying all 8 assignments gives three equilibria, with maximum times 2, 2.5 and 3. The worst equilibrium is 3 ⇒ PoA = 3/2 = 1.5 > 4/3: once the speeds differ, the loss grows even with the same number of machines.

Classic Question · Congestion toll

Question 21: Congestion Toll

Two-route network (ℓ1 = 8 + x1/100, ℓ2 = 20 + x2/300, 4,000 cars; optimum 1,450 / 2,550). (a) What constant toll τ (min) on Route 1 makes the optimum an equilibrium? (b) With τ = 3, what are the new equilibrium and total latency?

Show answer

(a) At the optimum ℓ1(1,450) + τ = ℓ2(2,550): 22.5 + τ = 28.5 → τ = 6 min.

Check: the marginal-cost tolls are x1ℓ′1 = 1,450/100 = 14.5 and x2ℓ′2 = 2,550/300 = 8.5; what matters is the difference: 14.5 − 8.5 = 6 ✓.

(b) 8 + x1/100 + 3 = 20 + (4000 − x1)/300 → ×300: 3300 + 3x1 = 10000 − x1 → x1 = 1,675, x2 = 2,325.

The latencies are 24.75 and 27.75 min (on Route 1 with the toll, 27.75). The toll is a transfer and is not added to the total latency: 1,675 × 24.75 + 2,325 × 27.75 = 105,975 car·min, between the equilibrium (108,000) and the optimum (105,300).

Classic Question · Stackelberg routing

Question 22: Stackelberg Routing

Pigou's network: 1 unit of traffic, upper latency x, lower latency 1. A central authority first routes a share α of the traffic; the remaining 1 − α selfish drivers see this and go to the Wardrop equilibrium. (a) For α = 0.3, where should the authority send its traffic? What are the total latency and its ratio to the optimum (3/4)? (b) What is the smallest α that achieves the optimum? (c) What if the authority sent its share to the upper route?

Show answer

(a) If the authority sends y to the lower route, the latency on the upper route is at most 1 − y ≤ 1: all selfish drivers go to the upper route. C(y) = (1 − y)² + y is decreasing (C′ = 2y − 1 < 0): the authority sends all 0.3 to the lower route.

C = 0.7² + 0.3 = 0.79, ratio 0.79 / 0.75 ≈ 1.053 (without the authority 4/3 ≈ 1.333).

(b) At the optimum the lower route must carry 1/2 and selfish drivers do not go there; the authority must supply that: α = 1/2.

(c) Everyone on the upper route, C = 1: the same as the selfish equilibrium. The authority's job is to fill the route that selfish drivers will not use.

Multiple Choice · Robust PoA

Question 23

Why does the PoA ≤ λ/(1 − μ) bound that follows from smoothness also cover mixed equilibria and coarse correlated equilibria (distributions from which switching to a fixed strategy does not pay in expectation)?

The correct answer is C. Step 1 of the proof uses a single fixed deviation (switching to siOPT); in a mixed or coarse correlated equilibrium this condition holds in expectation. Since smoothness holds for every s, taking expectations gives the same λ/(1 − μ): the robust PoA. A is wrong: sOPT is only a trial deviation, it is not played. B is wrong: in atomic games λ = 5/3. D is wrong: in Matching Pennies there is no pure equilibrium at all.

The End

Chapter 9: The Price of Anarchy · Study Questions
Lecture slides: Chapter 9: The Price of Anarchy · Lecture notes
1 / 1 Sercan KÜLCÜ. All rights reserved.