Convergence of regret-minimizing flows to approximate Wardrop equilibria #
In online routing ([BM07b], Section 4.7, following Blum, Even-Dar and Ligett, 2006),
a population of nonatomic users routes traffic over T days, producing feasible daily flows
f 0, …, f (T - 1). Following [BM07b], Section 4.7, p. 97:
- A feasible flow
fisε-Wardrop (IsApproxWardrop, "ε-Nash" in [BM07b], p. 97) if the excess total travel cost offover rerouting along any feasible flowg(at the latencies induced byf) is at mostε:G.cost f ≤ ∑ p, g p * G.pathLatency f p + ε. Atε = 0this coincides withG.IsWardrop f(isApproxWardrop_zero_iff), and in the single-commodity unit-rate model (K = Unit,rate () = 1) it is equivalent to∀ p, G.cost f ≤ G.pathLatency f p + ε, i.e.,C(f) ≤ ε + min_p pathLatency f pverbatim (isApproxWardrop_unit_iff). - A sequence of daily flows
f 0, …, f (T - 1)has average external regret at mostε(HasAvgRegretLe) if for every fixed feasible flowg,(∑ t < T, G.cost (f t)) / T ≤ (∑ t < T, ∑ p, g p * G.pathLatency (f t) p) / T + ε, which in the single-commodity unit-rate model equals the source'sR(T) ≤ ε * Tagainst every fixed path (hasAvgRegretLe_unit_iff).
This module formalizes [BM07b], Section 4.7, pp. 96–98 (Theorem 4.18 and the
per-day (1 - δ)-fraction convergence theorem of Blum, Even-Dar and Ligett, 2006), together with
nonlinear time-average extensions:
- Theorem 4.18 for affine latencies
(
HasAffineLatencies.isApproxWardrop_timeAverageFlow,HasAffineLatencies.isApproxWardrop_timeAverageFlow_unit, [BM07b], Theorem 4.18, p. 97): when every edge latency is nonnegative affine, average external regret≤ εimplies thattimeAverageFlow f Tis feasible andε-Wardrop with no degradation inε. - Cost Jensen bound (
cost_timeAverageFlow_le): wheneverx ↦ x * latency e xis convex on[0, ∞),G.cost (timeAverageFlow f T) ≤ (∑ t < T, G.cost (f t)) / T. - Original concave-latency generalization (
isApproxWardrop_timeAverageFlow_of_concaveOn, original): extends Theorem 4.18's Jensen proof to any concave latencies on[0, ∞)with convex edge costx ↦ x * latency e x. - Original quadratic counterexample to literal
ε-preservation (exists_not_isApproxWardrop_timeAverageFlow_sq, original): for the convex quadratic latencyx ^ 2onpigouNetwork (· ^ 2) 1, two daily flows have average regret44 / 64while their time average has Wardrop gap45 / 64 > 44 / 64, showing that literalε-preservation requires concavity/linearity oflatency eon the benchmark side. - Bounded-slope time-average and per-day convergence
(
isApproxWardrop_timeAverageFlow_of_lipschitz,isApproxWardrop_timeAverageFlow_of_convexOn_of_lipschitz,isWardrop_timeAverageFlow_of_hasAvgRegretLe_zero,isWardrop_of_hasAvgRegretLe_zero,card_isApproxWardrop_ge_of_lipschitz,sum_within_excessLatency_ge_of_isApproxWardrop_unit,card_daily_user_approx_wardrop_ge_of_lipschitz, [BM07b], Section 4.7, pp. 97–98): for any nondecreasingL-Lipschitz latencies on[0, ∞), bounding edge-latency fluctuations via(c_e(x_t) - c_e(x̂))^2 ≤ L * (x_t - x̂) * (c_e(x_t) - c_e(x̂))proves that:timeAverageFlow f Tis(ε + 2 * totalFlow * √(|E| * L * ε))-Wardrop (improving toε + totalFlow * √(|E| * L * ε)whenlatency eis also convex on[0, ∞)), and atε = 0every daily flowf t(t < T) as well astimeAverageFlow f Tis an exact Wardrop equilibrium;- for every
η > 0, at least a1 - (ε + 4 * totalFlow * √(|E| * L * ε)) / ηfraction of dayst < Thavef tη-Wardrop (card_isApproxWardrop_ge_of_lipschitz); - in a single-commodity unit-rate network, on any
η-Wardrop day at least a1 - η / βfraction of users experience latency withinβof the best path (sum_within_excessLatency_ge_of_isApproxWardrop_unit), so for everyδ > 0withε + 4 * √(|E| * L * ε) ≤ δ ^ 3, at least a1 - δfraction of days have at least a1 - δfraction of users withinδof the day's best path (card_daily_user_approx_wardrop_ge_of_lipschitz).
Main definitions #
Cslib.GameTheory.NonatomicCongestionGame.IsApproxWardrop:ε-approximate Wardrop equilibrium.Cslib.GameTheory.NonatomicCongestionGame.HasAvgRegretLe: time-averaged external path regret at mostεoverTsteps.Cslib.GameTheory.NonatomicCongestionGame.approxBestPaths: paths whose latency underfis withinβof every path.Cslib.GameTheory.timeAverageFlow: the time-averaged path flow(∑ t < T, f t p) / T.
Main results #
Cslib.GameTheory.NonatomicCongestionGame.isApproxWardrop_unit_iffandCslib.GameTheory.NonatomicCongestionGame.hasAvgRegretLe_unit_iff: single-commodity unit-rate equivalences matchingC(f) ≤ ε + min_p pathLatency f pandR(T) ≤ ε * T.Cslib.GameTheory.NonatomicCongestionGame.cost_timeAverageFlow_le: Jensen bound oncost (timeAverageFlow f T).Cslib.GameTheory.NonatomicCongestionGame.HasAffineLatencies.isApproxWardrop_timeAverageFlowandCslib.GameTheory.NonatomicCongestionGame.HasAffineLatencies.isApproxWardrop_timeAverageFlow_unit([BM07b], Theorem 4.18, p. 97): exactε-Wardrop convergence for nonnegative affine latencies.Cslib.GameTheory.NonatomicCongestionGame.isApproxWardrop_timeAverageFlow_of_concaveOn(original): exactε-Wardrop convergence for concave latencies with convex edge cost.Cslib.GameTheory.NonatomicCongestionGame.exists_not_isApproxWardrop_timeAverageFlow_sq(original): quadratic counterexample showing literalεfails without concavity/linearity oflatency e.Cslib.GameTheory.NonatomicCongestionGame.isApproxWardrop_timeAverageFlow_of_lipschitz,Cslib.GameTheory.NonatomicCongestionGame.isWardrop_timeAverageFlow_of_hasAvgRegretLe_zero,Cslib.GameTheory.NonatomicCongestionGame.isWardrop_of_hasAvgRegretLe_zero,Cslib.GameTheory.NonatomicCongestionGame.card_isApproxWardrop_ge_of_lipschitz,Cslib.GameTheory.NonatomicCongestionGame.sum_within_excessLatency_ge_of_isApproxWardrop_unit, andCslib.GameTheory.NonatomicCongestionGame.card_daily_user_approx_wardrop_ge_of_lipschitz(plusisApproxWardrop_timeAverageFlow_of_convexOn_of_lipschitz; [BM07b], Section 4.7, pp. 97–98): time-average and per-day(1 - δ)-fraction convergence for general nonlinear nondecreasing bounded-slope latencies.
References #
An ε-approximate Wardrop equilibrium ("ε-Nash flow" in [BM07b],
Section 4.7, p. 97): a feasible flow f whose cost exceeds the latency under f of any feasible
rerouting g by at most ε.
A sequence of flows f 0, …, f (T - 1) has average external regret at most ε
([BM07b], Section 4.7, p. 97) if each f t (t < T) is feasible and the average
flow cost exceeds that of any fixed feasible benchmark flow g by at most ε.
At ε = 0, IsApproxWardrop 0 f is equivalent to IsWardrop f.
Monotonicity of IsApproxWardrop in the slack ε.
In a single-commodity unit-rate network (K = Unit, G.rate () = 1), G.IsApproxWardrop ε f
is equivalent to G.IsFeasible f ∧ ∀ p, G.cost f ≤ G.pathLatency f p + ε, matching
C(f) ≤ ε + min_p pathLatency f p in [BM07b], Section 4.7, p. 97.
In a single-commodity unit-rate network (K = Unit, G.rate () = 1), G.HasAvgRegretLe f T ε
is equivalent to feasibility of each f t together with
∀ p, (∑ t < T, G.cost (f t)) / T ≤ (∑ t < T, G.pathLatency (f t) p) / T + ε, i.e.,
R(T) ≤ ε * T in [BM07b], Section 4.7, p. 97.
The time average of feasible daily flows over T > 0 days is feasible.
edgeFlow commutes with timeAverageFlow.
Cost Jensen bound and Theorem 4.18 #
When x ↦ x * latency e x is convex on [0, ∞) for every resource e (in particular for
every nondecreasing convex latency), the cost of the time-averaged flow is at most the time average
of the daily flow costs.
Original concave-latency generalization of [BM07b], Theorem 4.18: if
latency e is concave on [0, ∞) and x ↦ x * latency e x is convex on [0, ∞) (for instance,
c(x) = a x + b or c(x) = x ^ α with 0 ≤ α ≤ 1), then any flow sequence with average external
regret at most ε over T > 0 steps has time-average flow that is feasible and ε-Wardrop.
Time-averaged no-regret routing with affine latencies is ε-Wardrop
([BM07b], Theorem 4.18, p. 97): if G has nonnegative affine latencies and
f 0, …, f (T - 1) has average external regret at most ε, then timeAverageFlow f T is feasible
and ε-Wardrop.
Single-commodity unit-rate form of Theorem 4.18 ([BM07b], Section 4.7, p. 97,
verbatim): if G has nonnegative affine latencies, G.rate () = 1, each f t (t < T) is
feasible, and R(T) ≤ ε * T against every path p, then timeAverageFlow f T satisfies
G.cost (timeAverageFlow f T) ≤ G.pathLatency (timeAverageFlow f T) p + ε for every path p.
Original quadratic counterexample to literal ε-preservation without concavity/linearity
(inspired by [BM07b], Section 4.7, pp. 97–98): on pigouNetwork (· ^ 2) 1, the
two-day sequence f 0 = ![0, 1], f 1 = ![1 / 2, 1 / 2] has average external regret 44 / 64,
whereas timeAverageFlow f 2 = ![1 / 4, 3 / 4] has Wardrop gap 45 / 64 > 44 / 64 and is
therefore not (44 / 64)-Wardrop.
Bounded-slope time-average and per-day convergence (Section 4.7, pp. 97–98) #
Bounded-slope time-average convergence to approximate Wardrop equilibrium
([BM07b], Section 4.7, pp. 97–98): if every resource latency is nondecreasing and
L-Lipschitz on [0, ∞) (L ≥ 0), then any flow sequence f with average external regret at
most ε over T > 0 steps has time-average flow timeAverageFlow f T that is
(ε + 2 * (∑ p, f 0 p) * √(|E| * L * ε))-Wardrop.
Original sharpened bounded-slope time-average bound for convex latencies (inspired by
[BM07b], Section 4.7, pp. 97–98): when resource latencies are convex, nondecreasing
and L-Lipschitz on [0, ∞), convexity gives
G.cost (timeAverageFlow f T) ≤ (∑ t < T, G.cost (f t)) / T directly, eliminating one of the two
fluctuation error terms.
Zero-regret time-average convergence for bounded-slope latencies (corollary of
isApproxWardrop_timeAverageFlow_of_lipschitz): at zero external regret (ε = 0), for any
nondecreasing L-Lipschitz latencies on [0, ∞), the time-averaged flow is an exact Wardrop
equilibrium.
Per-day (1 - δ)-fraction convergence (Section 4.7, pp. 97–98) #
Zero-regret daily convergence for bounded-slope latencies: at zero average external regret
(ε = 0), for any nondecreasing L-Lipschitz latencies on [0, ∞), every daily flow f t
(t < T) is an exact Wardrop equilibrium.
Per-day approximate Wardrop fraction bound ([BM07b], Section 4.7, pp. 97–98):
for nondecreasing L-Lipschitz latencies on [0, ∞) (L ≥ 0), average external regret at most
ε over T > 0 days, and any threshold η > 0, at least a
1 - (ε + 4 * (∑ p, f 0 p) * √(|E| * L * ε)) / η fraction of days t < T have f t η-Wardrop.
The finite set of paths whose latency under f exceeds the latency of every path (in
particular, the best path) by at most β.
User-fraction latency bound on an η-Wardrop day ([BM07b], Section 4.7,
p. 97): in a single-commodity unit-rate network (K = Unit, G.rate () = 1), if f is η-Wardrop
and β > 0, then at least a 1 - η / β fraction of users traverse a path in
G.approxBestPaths β f.
Per-day (1 - δ)-of-days, (1 - δ)-of-users convergence to approximate Wardrop equilibrium
([BM07b], Section 4.7, pp. 97–98, following Blum, Even-Dar and Ligett, 2006): in a
single-commodity unit-rate network with nondecreasing L-Lipschitz latencies on [0, ∞) (L ≥ 0),
if daily feasible flows f 0, …, f (T - 1) have average external regret at most ε (T > 0),
then for every δ > 0 satisfying ε + 4 * √(|E| * L * ε) ≤ δ ^ 3, at least a 1 - δ fraction of
days t < T have the property that at least a 1 - δ fraction of users on day t experience
travel time at most δ larger than the best path for day t.