Capacity augmentation, concave and polynomial Pigou bounds, and Braess's paradox #
This module formalizes the remaining nonatomic routing bounds, resource-augmentation guarantees, atomic separation counterexamples, and network-design paradoxes from Roughgarden [Rou07], Chapter 18 (originally due to Braess, 1968, Roughgarden and Tardos, 2002, Roughgarden, 2003/2005/2006, Chakrabarty, 2004, and Correa, Schulz and Stier-Moses, 2005):
- Concave Pigou bound (
concaveLatencies,pigouBound_concaveLatencies,IsWardrop.cost_le_four_thirds_of_mem_concaveLatencies, [Rou07], Exercise 18.6): the class of nonnegative, nondecreasing, concave functions on[0, ∞)(includingid, nonnegative constants, andReal.sqrt) has exact Pigou bound4/3. - Asymptotics of the polynomial Pigou bound
(
tendsto_toReal_pigouBound_polynomialLatencies_mul_log_div, [Rou07], Example 18.3 and Exercise 18.1): asd → ∞,(pigouBound (polynomialLatencies d)).toReal * (Real.log d / d) → 1, so the polynomial price of anarchy grows asΘ(d / ln d). - Capacity augmentation and link speedup (
scaleRate,speedup,IsWardrop.cost_le_inv_mul_of_scaleRate,IsWardrop.cost_le_of_scaleRate_two,IsWardrop.speedup_two_cost_le,exists_pigouNetwork_pow_scaleRate_cost_lt,exists_atomic_pureNash_socialCost_gt_doubled,HasAffineLatencies.cost_le_of_scaleRate,affine_scaleRate_bound_iff, [Rou07], Example 18.28, Theorem 18.29, Corollary 18.30, and Exercise 18.8(a–e)):- For arbitrary nonnegative nondecreasing latencies and
δ > 0, a Wardrop equilibrium for ratercosts at most(1 / δ)times any flow feasible for(1 + δ) r(δ = 1gives the Roughgarden–Tardos2rtheorem and thec̃_e(x) = c_e(x/2)/2link-speedup corollary). - Nonlinear Pigou networks
x ^ dshow that1 / δ(and1atr = 2) is best possible asd → ∞. - A 4-resource unweighted atomic congestion game with polynomial latency
k ^ 4shows that the2rcapacity-augmentation theorem fails in atomic selfish routing (972 > 128). - For nonnegative affine latencies, the exact smallest augmentation threshold is
δ = 1 / 4(rate(5 / 4) r).
- For arbitrary nonnegative nondecreasing latencies and
- Braess's paradox and subnetwork bounds (
braessInitial,braessAugmented,braessInitial_isWardrop_iff,braessAugmented_isWardrop_iff,braessAugmented_isOptimal_half,braess_paradox,restrictPaths,isFeasible_extend,IsWardrop.cost_le_toReal_pigouBound_mul_restrictPaths,HasAffineLatencies.cost_le_four_thirds_restrictPaths, [Rou07], Example 18.4 and Remark 18.22): adding a zero-cost edge to the four-node Wheatstone network raises the unique Wardrop equilibrium cost from3/2to2 = (4/3) * (3/2), which is worst possible across all affine subnetwork extensions.
Main definitions #
Cslib.GameTheory.concaveLatencies: nonnegative, nondecreasing, concave latency functions on[0, ∞).Cslib.GameTheory.NonatomicCongestionGame.scaleRate: demand-scaled game(G, α r, c).Cslib.GameTheory.NonatomicCongestionGame.speedup: link-speedup game with latenciesc_e(x / α) / α.Cslib.GameTheory.NonatomicCongestionGame.restrictPaths: subnetwork restriction along an injectionι : P₁ ↪ P₂.Cslib.GameTheory.NonatomicCongestionGame.braessInitial,Cslib.GameTheory.NonatomicCongestionGame.braessAugmented: the four-node Wheatstone network before and after adding the zero-cost edge.
Main results #
Cslib.GameTheory.pigouBound_concaveLatenciesandCslib.GameTheory.NonatomicCongestionGame.IsWardrop.cost_le_four_thirds_of_mem_concaveLatencies([Rou07], Exercise 18.6):α(concaveLatencies) = 4/3.Cslib.GameTheory.tendsto_toReal_pigouBound_polynomialLatencies_mul_log_div([Rou07], Exercise 18.1): asymptotic growth~ d / ln dof the polynomial Pigou bound.Cslib.GameTheory.NonatomicCongestionGame.IsWardrop.cost_le_inv_mul_of_scaleRateandCslib.GameTheory.NonatomicCongestionGame.IsWardrop.cost_le_of_scaleRate_two([Rou07], Exercise 18.8(c) and Theorem 18.29):(1 + δ)rand2rcapacity augmentation.Cslib.GameTheory.NonatomicCongestionGame.IsWardrop.speedup_cost_leandCslib.GameTheory.NonatomicCongestionGame.IsWardrop.speedup_two_cost_le([Rou07], Corollary 18.30 and Exercise 18.8(a)): link-speedup corollaries.Cslib.GameTheory.NonatomicCongestionGame.exists_pigouNetwork_pow_scaleRate_cost_lt([Rou07], Example 18.28 and Exercise 18.8(d)): tightness on nonlinear Pigou networks.Cslib.GameTheory.CongestionGame.exists_atomic_pureNash_socialCost_gt_doubled([Rou07], Exercise 18.8(b)): atomic counterexample to2raugmentation.Cslib.GameTheory.NonatomicCongestionGame.HasAffineLatencies.cost_le_of_scaleRateandCslib.GameTheory.NonatomicCongestionGame.affine_scaleRate_bound_iff([Rou07], Exercise 18.8(e)): exact affine augmentation thresholdδ = 1/4.Cslib.GameTheory.NonatomicCongestionGame.braessInitial_isWardrop_iff,Cslib.GameTheory.NonatomicCongestionGame.braessAugmented_isWardrop_iff,Cslib.GameTheory.NonatomicCongestionGame.braessAugmented_isOptimal_half,Cslib.GameTheory.NonatomicCongestionGame.braess_paradox,Cslib.GameTheory.NonatomicCongestionGame.isFeasible_extend,Cslib.GameTheory.NonatomicCongestionGame.IsWardrop.cost_le_toReal_pigouBound_mul_restrictPaths, andCslib.GameTheory.NonatomicCongestionGame.HasAffineLatencies.cost_le_four_thirds_restrictPaths([Rou07], Example 18.4 and Remark 18.22): Braess's paradox and its tight4/3upper bound.
References #
Exercise 18.6: Pigou bound of concave latencies #
The class of nonnegative, nondecreasing, concave latency functions on [0, ∞)
([Roughgarden2007Routing], Exercise 18.6).
Membership in concaveLatencies, unfolded.
The identity latency x ↦ x belongs to concaveLatencies.
Every nonnegative constant latency belongs to concaveLatencies.
The square-root latency Real.sqrt belongs to concaveLatencies.
The Pigou bound of concave latencies is 4/3 ([Rou07], Exercise 18.6):
for any nonnegative, nondecreasing, concave c on [0, ∞) and 0 ≤ x ≤ r with 0 < r,
concavity between 0 and r gives c(x) ≥ (x / r) c(r), whence
x (c(r) - c(x)) ≤ (x / r) (1 - x / r) r c(r) ≤ (1/4) r c(r).
Price of anarchy for concave latencies is at most 4/3 ([Rou07],
Exercise 18.6): every nonatomic congestion game whose latencies belong to concaveLatencies has
price of anarchy at most 4/3.
Exercise 18.1: asymptotic growth of the polynomial Pigou bound #
Asymptotic growth of pigouBound (polynomialLatencies d) ([Rou07],
Exercise 18.1): (pigouBound (polynomialLatencies d)).toReal * (Real.log d / d) → 1 as d → ∞.
Capacity augmentation (Theorem 18.29, Corollary 18.30, Example 18.28, Exercise 18.8) #
The demand-scaled game (G, α r, c) where every commodity's traffic rate is multiplied by α
([Rou07], Section 18.5.2).
The link-speedup game (G, r, c̃) with c̃_e(x) = c_e(x / α) / α ([Rou07],
Corollary 18.30, where α = 2).
Rescaling a feasible flow g by α ≥ 0 produces a feasible flow of G.scaleRate α.
General (1 + δ)r capacity-augmentation bound ([Rou07],
Exercise 18.8(c)): if resource latencies are nonnegative and nondecreasing on [0, ∞), 0 < δ,
f is a Wardrop equilibrium for G, and g is feasible for G.scaleRate (1 + δ), then
G.cost f ≤ (1 / δ) * G.cost g.
Roughgarden–Tardos 2r capacity-augmentation theorem ([Rou07],
Theorem 18.29, originally [RT02]): for arbitrary nonnegative nondecreasing
latencies on [0, ∞), a Wardrop equilibrium for G costs at most any flow feasible for twice the
traffic (G.scaleRate 2).
Link-speedup corollary, general (1 + δ) factor ([Rou07], Corollary 18.30
and Exercise 18.8(a)): deduced directly from IsWardrop.cost_le_inv_mul_of_scaleRate by rescaling
f̃ to (1 + δ)⁻¹ • f̃.
Doubling link speed beats centralized routing ([Rou07], Corollary 18.30
and Exercise 18.8(a)): if f̃ is a Wardrop equilibrium for G.speedup 2 (c̃_e(x) = c_e(x/2)/2)
and g is feasible for G, then (G.speedup 2).cost f̃ ≤ G.cost g.
Tightness of the (1 + δ)r capacity-augmentation bound 1 / δ ([Rou07],
Example 18.28 and Exercise 18.8(d)): for every δ > 0 and ε > 0, there exist a degree d : ℕ
and a flow g feasible for (pigouNetwork (· ^ d) 1).scaleRate (1 + δ) with cost g < δ + ε
(while the Wardrop equilibrium ![1, 0] at rate 1 has cost 1). Consequently, no factor
β < 1 / δ can replace 1 / δ in IsWardrop.cost_le_inv_mul_of_scaleRate.
Exercise 18.8(e): exact affine capacity-augmentation threshold δ = 1/4 #
Affine capacity augmentation at (5/4) r ([Rou07], Exercise 18.8(e);
credited in Section 18.6 to Chakrabarty, 2004, and Correa, Schulz and Stier-Moses, 2005): if G
has nonnegative affine latencies, 1 / 4 ≤ δ, f is a Wardrop equilibrium for G, and g is
feasible for G.scaleRate (1 + δ), then G.cost f ≤ G.cost g.
Exact characterization of the affine augmentation threshold ([Rou07],
Exercise 18.8(e)): for 0 ≤ δ, every nonatomic congestion game with nonnegative affine latencies
satisfies G.cost f ≤ G.cost f* (for Wardrop f at rate r and feasible/optimal f* at rate
(1 + δ) r) if and only if 1 / 4 ≤ δ.
Exercise 18.8(b): atomic counterexample to 2r capacity augmentation #
Atomic counterexample to 2r capacity augmentation ([Rou07],
Exercise 18.8(b)): there is a four-commodity network with nonnegative nondecreasing polynomial
latency k ^ 4 such that the unweighted 4-player atomic congestion game C₁ has a pure Nash
equilibrium s of social cost 972, whereas the doubled 8-player atomic congestion game C₂
(two unit-weight players per commodity, and equivalently a 4-player weight-2 profile) has a
profile s* of social cost 128 < 972.
Braess's paradox and subnetwork bounds (Example 18.4 & Remark 18.22) #
The subnetwork congestion game obtained by restricting available paths along an injection
ι : P₁ ↪ P₂ ([Rou07], Remark 18.22).
Zero-extending a feasible flow of G.restrictPaths ι yields a feasible flow of G.
Zero-extension preserves every edge flow.
Zero-extension preserves total social cost: in particular, adding paths/edges to a network can only decrease or preserve the minimum feasible cost.
General bound on Braess's paradox ([Rou07], Remark 18.22): if G has
nonnegative nondecreasing latencies in C with pigouBound C ≠ ⊤, then any Wardrop equilibrium
f₂ of the larger network G costs at most (pigouBound C).toReal times any feasible flow (and
in particular any Wardrop equilibrium) f₁ of the subnetwork G.restrictPaths ι.
Affine bound on Braess's paradox ([Rou07], Remark 18.22): adding edges or
paths to a network with nonnegative affine latencies cannot increase the Wardrop equilibrium cost
by more than a 4/3 factor.
Initial four-node Wheatstone network before adding the cross edge
([Rou07], Example 18.4, Figure 18.2(a)): edges 0 = (s, v) and 3 = (w, t) have
latency x, edges 1 = (v, t) and 2 = (s, w) have latency 1; path 0 is {0, 1} and path
1 is {2, 3}, routing 1 unit of traffic.
Augmented four-node Wheatstone network after adding the zero-cost edge 4 = (v, w) and
cross path 2 = {0, 4, 3} (s → v → w → t, [Rou07], Example 18.4,
Figure 18.2(b)).
Both Wheatstone networks have nonnegative affine latencies.
Path latencies in braessInitial: f 0 + 1 and 1 + f 1.
Cost formula for braessInitial.
Unique Wardrop equilibrium of the initial Braess network ([Rou07],
Example 18.4): f is a Wardrop equilibrium of braessInitial iff f = ![1 / 2, 1 / 2], with
total cost 3 / 2.
Path latencies in braessAugmented.
Unique Wardrop equilibrium of the augmented Braess network ([Rou07],
Example 18.4): f is a Wardrop equilibrium of braessAugmented iff f = ![0, 0, 1], with total
cost 2 = 4 / 3 * (3 / 2) (whereas ![1 / 2, 1 / 2, 0] is socially optimal of cost 3 / 2).
The even split ![1 / 2, 1 / 2, 0] (avoiding the cross edge) is socially optimal in
braessAugmented, with total cost 3 / 2.
Braess's paradox ([Rou07], Example 18.4 and Remark 18.22): adding the
zero-cost cross edge to the four-node Wheatstone network increases every Wardrop equilibrium's
cost by a factor of 4 / 3 (from 3 / 2 to 2), attaining the worst-case affine bound
HasAffineLatencies.cost_le_four_thirds_restrictPaths.