Algorithm Search⌘K

Theoremcore

Price of anarchy for linear latencies

Also called Roughgarden-Tardos theorem, 4/3 bound for selfish routing.

In nonatomic selfish routing with affine latency functions, the cost of a Wardrop equilibrium is at most 4/3 times the optimal cost.

The Roughgarden-Tardos theorem says that selfish routing with affine latencies loses at most a third of the optimal cost. In any network, with any number of commodities, the cost of a Wardrop equilibrium is at most 4/34/3 times the cost of a system optimal flow. The bound is reached exactly by Pigou's example, and it does not depend on the size or shape of the network. The same paper proved a second bound that needs no condition on the latencies: an equilibrium costs no more than an optimal flow that routes twice the traffic.

Statement

Theorem (Roughgarden and Tardos 2002). Let (G,r,ℓ)(G, r, \ell) be a nonatomic selfish routing instance with kk commodities in which every latency is affine, ℓe(x)=aex+be\ell_e(x) = a_e x + b_e with ae,be≥0a_e, b_e \ge 0. Let ff be a Wardrop equilibrium and f∗f^* any feasible flow. Then

C(f)≤43 C(f∗).C(f) \le \tfrac{4}{3}\, C(f^*).

The equilibrium is the pure equilibrium of the nonatomic game. It exists, and all equilibria have the same cost (Beckmann potential). So the price of anarchy and the price of stability of every such instance are equal and at most 4/34/3, and the bound is tight.

Theorem (bicriteria bound, Roughgarden and Tardos 2002). Let (G,r,ℓ)(G, r, \ell) be a nonatomic instance with continuous nondecreasing latencies of any form. If ff is a Wardrop equilibrium for the rates rr and f∗f^* is a feasible flow for the rates 2r2r, then C(f)≤C(f∗)C(f) \le C(f^*).

In plain words

Take any road network in which the delay on each road grows in a straight line with its traffic. Let every driver pick a fastest route. Then the total travel time is at most a third more than the best total that a central planner could reach. The size and shape of the network do not matter. A network with only two roads already loses that third, so no better bound is possible. For roads whose delay grows in any other way, selfish routing can be very bad. But it is never worse than the best plan for twice as many drivers.

Proof

A one-edge inequality. Let ℓ(x)=ax+b\ell(x) = a x + b with a,b≥0a, b \ge 0. For all x,y≥0x, y \ge 0,

y ℓ(x)≤y ℓ(y)+14x ℓ(x).y \, \ell(x) \le y \, \ell(y) + \tfrac{1}{4} x \, \ell(x).

Indeed, yℓ(x)−yℓ(y)=ay(x−y)y \ell(x) - y \ell(y) = a y (x - y). The product y(x−y)y(x - y) is at most x2/4x^2/4, with equality at y=x/2y = x/2. So yℓ(x)−yℓ(y)≤ax2/4≤(ax2+bx)/4=xℓ(x)/4y \ell(x) - y \ell(y) \le a x^2 / 4 \le (a x^2 + b x)/4 = x \ell(x)/4.

The 4/3 bound. Let ff be an equilibrium and f∗f^* feasible. By the variational inequality of a Wardrop equilibrium (Smith 1979; Wardrop equilibrium proves it), ∑eℓe(fe)fe≤∑eℓe(fe)fe∗\sum_e \ell_e(f_e) f_e \le \sum_e \ell_e(f_e) f^*_e. Apply the one-edge inequality with x=fex = f_e and y=fe∗y = f^*_e on each edge:

C(f)=∑efe ℓe(fe)≤∑efe∗ ℓe(fe)≤∑efe∗ ℓe(fe∗)+14∑efe ℓe(fe)=C(f∗)+14C(f).C(f) = \sum_e f_e \, \ell_e(f_e) \le \sum_e f^*_e \, \ell_e(f_e) \le \sum_e f^*_e \, \ell_e(f^*_e) + \tfrac{1}{4} \sum_e f_e \, \ell_e(f_e) = C(f^*) + \tfrac{1}{4} C(f).

So 34C(f)≤C(f∗)\tfrac{3}{4} C(f) \le C(f^*). □\square

The first step compares ff with f∗f^* at the frozen latencies ℓe(fe)\ell_e(f_e). The second step pays for the change from frozen to actual latencies with a quarter of the equilibrium cost.

The bicriteria bound. Let ff be an equilibrium for the rates rr, let LiL_i be the shortest path latency of commodity ii under ff, so C(f)=∑iriLiC(f) = \sum_i r_i L_i, and let f∗f^* be feasible for 2r2r. Define new latencies ℓˉe(x)=max⁡{ℓe(fe),ℓe(x)}\bar\ell_e(x) = \max\{\ell_e(f_e), \ell_e(x)\} and let Cˉ\bar C be the cost under them.

First, ℓˉe(x)−ℓe(x)\bar\ell_e(x) - \ell_e(x) is 0 for x≥fex \ge f_e and at most ℓe(fe)\ell_e(f_e) for x<fex < f_e. So x(ℓˉe(x)−ℓe(x))≤feℓe(fe)x(\bar\ell_e(x) - \ell_e(x)) \le f_e \ell_e(f_e) for all x≥0x \ge 0, and

Cˉ(f∗)−C(f∗)=∑efe∗(ℓˉe(fe∗)−ℓe(fe∗))≤∑efe ℓe(fe)=C(f).\bar C(f^*) - C(f^*) = \sum_e f^*_e \big(\bar\ell_e(f^*_e) - \ell_e(f^*_e)\big) \le \sum_e f_e \, \ell_e(f_e) = C(f).

Second, ℓˉe≥ℓe(fe)\bar\ell_e \ge \ell_e(f_e), so every path P∈PiP \in \mathcal{P}_i has ℓˉP(f∗)≥ℓP(f)≥Li\bar\ell_P(f^*) \ge \ell_P(f) \ge L_i. Then

Cˉ(f∗)=∑i∑P∈PiℓˉP(f∗) fP∗≥∑iLi⋅2ri=2 C(f).\bar C(f^*) = \sum_i \sum_{P \in \mathcal{P}_i} \bar\ell_P(f^*) \, f^*_P \ge \sum_i L_i \cdot 2 r_i = 2\, C(f).

Together, C(f∗)≥Cˉ(f∗)−C(f)≥2C(f)−C(f)=C(f)C(f^*) \ge \bar C(f^*) - C(f) \ge 2C(f) - C(f) = C(f). □\square

Example. In Pigou's network, ℓ1(x)=1\ell_1(x) = 1, ℓ2(x)=x\ell_2(x) = x and rate 1, the equilibrium is f=(0,1)f = (0, 1) and the optimum is f∗=(1/2,1/2)f^* = (1/2, 1/2). On link 2 the one-edge inequality with x=1x = 1 and y=1/2y = 1/2 reads 1/2≤1/4+1/41/2 \le 1/4 + 1/4, an equality. On link 1, with a=0a = 0 and x=0x = 0, it reads 1/2≤1/21/2 \le 1/2. The variational inequality reads 1≤1/2⋅1+1/2⋅1=11 \le 1/2 \cdot 1 + 1/2 \cdot 1 = 1. Every step is tight, and C(f)=1=43⋅34C(f) = 1 = \tfrac{4}{3} \cdot \tfrac{3}{4}. For the bicriteria bound, the optimum of the same network at rate 2 is (3/2,1/2)(3/2, 1/2) with cost 3/2+1/4=7/4≥13/2 + 1/4 = 7/4 \ge 1.

Consequences

  • Independence of the network. The worst ratio for affine latencies over all multicommodity networks is the same as over two parallel links. Roughgarden (2003) proved the same for every class of latencies that contains the constants (Pigou bound).
  • Polynomial latencies. The same proof with the inequality yℓ(x)≤yℓ(y)+βxℓ(x)y \ell(x) \le y \ell(y) + \beta x \ell(x) gives C(f)≤(1−β)−1C(f∗)C(f) \le (1 - \beta)^{-1} C(f^*). For polynomials of degree at most dd with nonnegative coefficients the best β\beta gives [1−d(d+1)−(d+1)/d]−1[1 - d (d + 1)^{-(d + 1)/d}]^{-1}, which is about 1.6261.626 for d=2d = 2 and 1.8961.896 for d=3d = 3.
  • Braess's paradox is bounded. The old equilibrium stays feasible after edges are added, so it costs at least the new optimum. So for affine latencies the new equilibrium costs at most 4/34/3 times the old one, and Braess's network reaches this: 2 against 3/23/2 (Braess's paradox; NRTV Remark 18.22).
  • Concave latencies. The bound 4/34/3 also holds for all nonnegative, nondecreasing, concave latencies, because the Pigou bound of that class is 4/34/3 (NRTV Exercise 18.6).
  • Smoothness. The one-edge inequality is a nonatomic form of the condition in the smoothness framework, with λ=1\lambda = 1 and μ=1/4\mu = 1/4, and 1/(1−1/4)=4/31/(1 - 1/4) = 4/3. For atomic players with unit demands and affine costs the smoothness bound is 5/25/2 instead (atomic linear congestion bound).
  • Faster links beat central control. The bicriteria bound has an equivalent form: the equilibrium for the latencies ℓe(x/2)/2\ell_e(x/2)/2 costs at most the optimum for ℓe\ell_e (NRTV Corollary 18.30). For the M/M/1 delay ℓe(x)=1/(ue−x)\ell_e(x) = 1/(u_e - x) the new latency is 1/(2ue−x)1/(2u_e - x), so doubling every capacity is as good as optimal routing.
  • Tolls. If tolls are allowed, the marginal cost tolls make the optimum an equilibrium, and the price of anarchy becomes 1 for the latency cost (marginal cost tolls).

Tightness

  • The constant 4/3. Pigou's network reaches 4/34/3 exactly, at rate 1. At rate rr the ratio is r2/(r−1/4)r^2/(r - 1/4) for 1/2<r≤11/2 < r \le 1 and 1 for r≤1/2r \le 1/2, so the worst rate is 1 (Pigou's example).
  • Affine is needed. With ℓ2(x)=xd\ell_2(x) = x^d in Pigou's network the ratio grows without bound as dd grows, like d/ln⁡dd / \ln d. No constant bound holds for all continuous nondecreasing latencies.
  • The factor 2. With ℓ1(x)=1\ell_1(x) = 1, ℓ2(x)=xd\ell_2(x) = x^d, the equilibrium at rate 1 costs 1. At rate 2 an optimal flow puts a little less than 1 on link 2 at almost no cost and the rest on link 1, so its cost tends to 1 as dd grows (NRTV Example 18.28). So the rate 2r2r cannot be replaced by (2−ε)r(2 - \varepsilon) r for a fixed ε>0\varepsilon > 0 and all latencies.
  • Atomic players. Neither bound holds when players control a positive amount of traffic. The atomic affine case has price of anarchy 5/25/2, and the bicriteria bound has an atomic counterexample (NRTV, notes to Chapter 18).

History

Koutsoupias and Papadimitriou (1999) proposed the worst-case ratio of an equilibrium to the optimum for a simple routing game on parallel links. Roughgarden and Tardos (2002) studied the ratio for nonatomic routing in general networks. They proved the 4/34/3 bound for linear latencies, the d+1d + 1 bound from the potential, and the bicriteria bound. Their original argument was different. The short proof above uses the variational inequality of Smith (1979), and it follows Correa, Schulz and Stier-Moses (2004), who proved the general bound with no convexity assumption. Roughgarden (2003) introduced the Pigou bound and showed, under a convexity assumption, that the worst instance is a two-link network for every class that contains the constants.

References

  1. Tim Roughgarden and Eva Tardos, How bad is selfish routing?, Journal of the ACM 49(2) (2002), 236-259, the 4/3 bound for linear latency functions and the bicriteria bound for general latency functions
  2. Jose R. Correa, Andreas S. Schulz and Nicolas E. Stier-Moses, Selfish routing in capacitated networks, Mathematics of Operations Research 29(4) (2004), 961-976, the short proof of the price of anarchy bounds from the variational inequality, without convexity assumptions
  3. Noam Nisan, Tim Roughgarden, Eva Tardos and Vijay V. Vazirani (eds.), Algorithmic Game Theory, Cambridge University Press, 2007, Chapter 18, Tim Roughgarden, Routing games, Section 18.4.1 (Theorem 18.21 and Remark 18.22), Exercise 18.6 (concave latencies), Section 18.5.2 (Example 18.28, Theorem 18.29 and Corollary 18.30) and Section 18.6 (notes)
  4. Tim Roughgarden, The price of anarchy is independent of the network topology, Journal of Computer and System Sciences 67(2) (2003), 341-364, the Pigou bound and the reduction of the worst case to two-link networks
  5. Elias Koutsoupias and Christos Papadimitriou, Worst-case equilibria, STACS 1999, Lecture Notes in Computer Science 1563, 404-413, the worst-case ratio of equilibrium cost to optimal cost
  6. Tim Roughgarden, Selfish Routing and the Price of Anarchy, MIT Press, 2005, Chapter 3, How Bad Is Selfish Routing?, Section 3.2 (linear cost functions)
  7. Tim Roughgarden, Twenty Lectures on Algorithmic Game Theory, Cambridge University Press, 2016, Lecture 11 (selfish routing and the price of anarchy)
  8. M. J. Smith, The existence, uniqueness and stability of traffic equilibria, Transportation Research Part B 13(4) (1979), 295-304, the variational inequality form of the equilibrium

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/K6989X/text.yaml