Algorithm Search⌘K

Theoremadvanced

Hardness of detecting Braess's paradox

Also called Roughgarden network design hardness.

Finding the subnetwork with the best equilibrium latency is NP-hard to approximate within a factor below 4/3 for linear latencies.

Braess's paradox shows that removing an edge can lower the latency of a Wardrop equilibrium. This page is about the algorithmic question that follows: given a network, which edges should a designer remove to get the best equilibrium? Roughgarden proved in 2001 that for linear latencies the answer "remove nothing" is already within a factor 4/34/3 of the best, and that no polynomial-time algorithm does better unless P = NP. The paradox itself, with its numbers 22 and 3/23/2, is on the page Braess's paradox.

Statement

Take a single-commodity instance (G,r,ℓ)(G, r, \ell) of the selfish routing model: a directed graph GG with source ss and sink tt, a traffic rate r>0r > 0, and continuous nondecreasing latencies ℓe≥0\ell_e \ge 0. The equilibrium notion is the Wardrop equilibrium of the nonatomic game, which always exists. In an equilibrium all used paths have the same latency, and this common latency is the same in every equilibrium; call it L(G)L(G). The cost of the equilibrium is r L(G)r\, L(G). For a subgraph HH of GG that contains an ss-tt path, L(H)L(H) is the common latency of the equilibria of (H,r,ℓ)(H, r, \ell).

Network design problem. Given (G,r,ℓ)(G, r, \ell), find a subgraph HH that minimizes L(H)L(H).

The trivial algorithm returns H=GH = G.

Theorem 1 (Roughgarden; the trivial algorithm). If 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, then L(G)≤43L(H)L(G) \le \frac{4}{3} L(H) for every subgraph HH. So the trivial algorithm is a 4/34/3-approximation.

Theorem 2 (Roughgarden; hardness). For every ε>0\varepsilon > 0 there is no polynomial-time (4/3−ε)(4/3 - \varepsilon)-approximation algorithm for the network design problem with affine latencies, unless P = NP.

Theorem 3 (Roughgarden; other latencies). With arbitrary continuous nondecreasing latencies, the trivial algorithm is a ⌊n/2⌋\lfloor n/2 \rfloor-approximation on graphs with nn vertices, and nothing better is possible in polynomial time unless P = NP. For polynomial latencies of degree at most pp with nonnegative coefficients, the same holds with the factor Θ(p/ln⁡p)\Theta(p / \ln p).

In plain words

Sometimes closing a road makes traffic faster, because selfish drivers stop crowding onto a shortcut. A planner may want to find the best roads to close. For roads whose delay grows in a straight line with traffic, closing roads never helps by more than a quarter of the travel time, so leaving the network alone is already close to the best choice. But to do better than that, the planner must solve a hard puzzle about two routes that cannot share any crossing. No fast method for that puzzle is known, so in practice no fast method beats the plan of closing nothing.

Proof

Proof of Theorem 1. Let ff be an equilibrium of GG and hh an equilibrium of HH. The flow hh is also a feasible flow in GG. Every ss-tt path of GG has latency at least L(G)L(G) under ff, and hh sends rr units on such paths, so

r L(G)≤∑eℓe(fe) he.r\, L(G) \le \sum_{e} \ell_e(f_e)\, h_e.

For each edge, (aefe+be)he≤(aehe+be)he+14aefe2(a_e f_e + b_e) h_e \le (a_e h_e + b_e) h_e + \frac{1}{4} a_e f_e^2, because aefehe≤aehe2+14aefe2a_e f_e h_e \le a_e h_e^2 + \frac{1}{4} a_e f_e^2 is ae(he−fe/2)2≥0a_e (h_e - f_e/2)^2 \ge 0. The right side is at most ℓe(he)he+14ℓe(fe)fe\ell_e(h_e) h_e + \frac{1}{4} \ell_e(f_e) f_e. Summing over the edges,

r L(G)≤∑eℓe(he) he+14∑eℓe(fe) fe=r L(H)+14 r L(G).r\, L(G) \le \sum_e \ell_e(h_e)\, h_e + \frac{1}{4} \sum_e \ell_e(f_e)\, f_e = r\, L(H) + \frac{1}{4}\, r\, L(G).

So 34L(G)≤L(H)\frac{3}{4} L(G) \le L(H). ■\blacksquare

This is the same inequality as in the Roughgarden-Tardos bound, with the optimal flow replaced by the equilibrium of the subgraph.

Proof of Theorem 2. The reduction is from the two directed disjoint paths problem: given a directed graph GG and vertices s1,t1,s2,t2s_1, t_1, s_2, t_2, are there an s1s_1-t1t_1 path and an s2s_2-t2t_2 path with no vertex in common? Fortune, Hopcroft and Wyllie (1980) proved it NP-complete (vertex-disjoint paths).

Build G′G' from GG: give every edge of GG latency 0, add vertices ss and tt, and add four edges

edge latency
(s,s1)(s, s_1) 1
(s,s2)(s, s_2) xx
(t1,t)(t_1, t) xx
(t2,t)(t_2, t) 1

Set r=1r = 1. Every ss-tt path uses one edge out of ss and one edge into tt. Write zz for the flow on (s,s2)(s, s_2) and yy for the flow on (t1,t)(t_1, t). A path of type s1→t1s_1 \to t_1 costs 1+y1 + y, of type s2→t2s_2 \to t_2 costs z+1z + 1, of type s2→t1s_2 \to t_1 costs z+yz + y, and of type s1→t2s_1 \to t_2 costs 2.

Yes-instance. Let HH be the two disjoint paths and the four new edges. HH has exactly two ss-tt paths, and the split 1/2,1/21/2, 1/2 gives each a latency 1+1/2=3/21 + 1/2 = 3/2. So L(H)=3/2L(H) = 3/2.

No-instance. Let HH be any subgraph of G′G'. Suppose first that HH contains an s2s_2-t1t_1 path. Let aa, bb and cc be the flow on paths of types s1→t1s_1 \to t_1, s2→t2s_2 \to t_2 and s2→t1s_2 \to t_1, and suppose L(H)<2L(H) < 2, so type s1→t2s_1 \to t_2 is unused and a+b+c=1a + b + c = 1. Then z+y=(b+c)+(a+c)=1+cz + y = (b + c) + (a + c) = 1 + c.

  • If c>0c > 0, then L(H)=z+y=1+cL(H) = z + y = 1 + c. If also a>0a > 0, then L(H)=1+y=1+a+cL(H) = 1 + y = 1 + a + c, so a=0a = 0, a contradiction; in the same way b=0b = 0. So c=1c = 1 and L(H)=2L(H) = 2, a contradiction.
  • If c=0c = 0, the unused path of type s2→t1s_2 \to t_1 costs z+y=1z + y = 1, but a used path costs 1+y1 + y or z+1z + 1, which is more than 1 because a>0a > 0 or b>0b > 0. This breaks the equilibrium condition.

So L(H)≥2L(H) \ge 2. If HH has no s2s_2-t1t_1 path, then HH cannot have both an s1s_1-t1t_1 path and an s2s_2-t2t_2 path: they would share a vertex vv, since the instance is a no-instance, and s2→v→t1s_2 \to v \to t_1 would be a path. So every path of HH uses (s,s1)(s, s_1), or every path uses (t2,t)(t_2, t). In the first case the paths cost 1+y1 + y (type s1→t1s_1 \to t_1) or 2 (type s1→t2s_1 \to t_2). If 1+y<21 + y < 2, all flow is on type s1→t1s_1 \to t_1, so y=1y = 1, a contradiction. So L(H)=2L(H) = 2, and the second case is the same.

A (4/3−ε)(4/3 - \varepsilon)-approximation algorithm would return a subgraph with L<43⋅32=2L < \frac{4}{3} \cdot \frac{3}{2} = 2 on a yes-instance, and every subgraph has L≥2L \ge 2 on a no-instance. So it would decide the two disjoint paths problem. ■\blacksquare

Theorem 3 uses larger gadgets of the same kind. The full proofs are in Sections 4 and 5 of the paper.

Example

Let GG have the edges s1→t1s_1 \to t_1, s2→t2s_2 \to t_2 and s2→t1s_2 \to t_1. The disjoint paths exist, and G′G' is exactly Braess's network: the paths ss1t1ts s_1 t_1 t and ss2t2ts s_2 t_2 t cost 1+x1 + x each, and the path ss2t1ts s_2 t_1 t uses the two xx edges. All traffic takes ss2t1ts s_2 t_1 t, at latency 1+1=21 + 1 = 2, and the other paths also cost 2. Removing s2→t1s_2 \to t_1 gives L=3/2L = 3/2.

Now let GG have a middle vertex vv and the edges s1→vs_1 \to v, v→t1v \to t_1, s2→vs_2 \to v and v→t2v \to t_2. Every s1s_1-t1t_1 path and every s2s_2-t2t_2 path meet at vv, so this is a no-instance. In G′G', the equilibrium sends everything along s→s2→v→t1→ts \to s_2 \to v \to t_1 \to t at latency 2, and by the proof no subgraph does better.

Consequences

  • Detection is hard. Call an instance paradox-free if no subgraph has a smaller equilibrium latency than GG. Roughgarden derived from the same reduction that it is NP-hard to tell paradox-free instances from instances with the paradox, so there is no efficient general test for Braess's paradox in a network.
  • Design for selfish users. A designer who wants a good equilibrium cannot, in general, find the best edges to remove. The best general strategy, for linear latencies, is to remove nothing.
  • Tolls compared with removal. Cole, Dodis and Roughgarden later proved that with linear latencies the best tolls help no more than the best edge removal when tolls count in the cost (marginal cost tolls).
  • The paradox is bounded. Theorem 1 says that for linear latencies, removing edges lowers the equilibrium latency by at most a factor 4/34/3. Braess's network reaches this factor, so the bound is exact.

Tightness

  • Braess's network shows that the factor 4/34/3 in Theorem 1 is reached: L(G)=2L(G) = 2 and L(H)=3/2L(H) = 3/2.
  • Theorem 2 shows that the factor of the trivial algorithm cannot be improved by any polynomial-time algorithm unless P = NP. The same holds for the factors in Theorem 3.
  • The factor ⌊n/2⌋\lfloor n/2 \rfloor for general latencies is reached by a family of graphs that generalize Braess's network, given in the same paper.

History

Braess described the paradox in 1968. Roughgarden posed the network design question for selfish users and proved Theorems 1 to 3 at FOCS 2001, in a paper that grew into the 2006 journal article. Milchtaich (2006) characterized the undirected two-terminal topologies in which the paradox cannot happen, for any latencies: they are the series-parallel networks. Lin, Roughgarden, Tardos and Walkover studied the size of the paradox in multicommodity networks, where it can be much larger. Later work by Cenciarelli, Gorla and Salvo (Algorithmica, 2019) studied which directed topologies admit the paradox.

References

  1. Tim Roughgarden, On the severity of Braess's Paradox: designing networks for selfish users is hard, Journal of Computer and System Sciences 72(5) (2006), 922-953; FOCS 2001, 472-481, Section 3 (linear latencies: the trivial algorithm is a 4/3-approximation, and the reduction from two directed disjoint paths), Section 4 (general latencies, the bound floor(n/2)) and Section 5 (polynomial latencies); numbering as in the author's 2004 preprint
  2. Steven Fortune, John Hopcroft and James Wyllie, The directed subgraph homeomorphism problem, Theoretical Computer Science 10(2) (1980), 111-121, the NP-completeness of two vertex-disjoint paths in a directed graph
  3. Henry Lin, Tim Roughgarden, Eva Tardos and Asher Walkover, Stronger bounds on Braess's paradox and the maximum latency of selfish routing, SIAM Journal on Discrete Mathematics 25(4) (2011), bounds on the size of the paradox in multicommodity networks
  4. Igal Milchtaich, Network topology and the efficiency of equilibrium, Games and Economic Behavior 57(2) (2006), the undirected two-terminal networks in which the paradox cannot occur are the series-parallel ones

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/B6G3NJ/text.yaml