Pure Nash price of anarchy for selfish load balancing #
This module proves exact and asymptotic pure Nash price-of-anarchy bounds across the three machine models of selfish load balancing ([Voc07]):
- Identical machines ([FH79]; [Voc07]):
- Every pure Nash equilibrium
Aonm ≥ 1identical machines satisfiesmakespan A ≤ (2m / (m + 1)) * optMakespan(IsIdentical.makespan_le_of_isPureNash), and strictly< 2 * optMakespanwhenever0 < optMakespan. - For
m = 2, this givesmakespan A ≤ (4 / 3) * optMakespan. - The
2m / (m + 1)bound is exact for everym ≥ 1:finnHorowitzTight mis an explicit2m-job,m-machine identical instance with pure Nash equilibriumfinnHorowitzTightNE mattainingmakespan = (2m / (m + 1)) * optMakespan. - For
3jobs on2identical machines, every pure Nash equilibrium is optimal (IsIdentical.makespan_eq_opt_of_three_jobs_two_machines, [Voc07]). - If every job has weight at most
B, thenmakespan A ≤ optMakespan + (1 - 1 / m) * B([Voc07]).
- Every pure Nash equilibrium
- Two uniformly related machines ([Voc07], generalized to arbitrary job
counts):
- Every pure Nash equilibrium on
2uniformly related machines (with any finite number of jobs) satisfiesmakespan A ≤ ((1 + √5) / 2) * optMakespan(makespan_le_goldenRatio_mul_optMakespan). goldenRatioTightattains exact equality((1 + √5) / 2) * optMakespan.
- Every pure Nash equilibrium on
- General uniformly related machines ([CV02b]; [Voc07]):
- Speed-prefix cardinality inequality
(k + 1) * #(L_{k+1}) ≤ #(L_k)(card_speedPrefix_ge). - Factorial bound: if
(c + 1) * optMakespan ≤ makespan A(with0 < optMakespan), thenc! ≤ |M|(factorial_le_card_of_makespan_ge). - Explicit
O(log m / log log m)bound: for3 ≤ |M|,makespan A ≤ (4 * log |M| / log (log |M|) + 3) * optMakespan(makespan_le_log_div_log_log_mul_optMakespan).
- Speed-prefix cardinality inequality
- Unrelated machines:
- Pure price of anarchy is unbounded even for
2jobs on2machines: for everyK ≥ 1,unrelatedTight Khas a pure Nash equilibrium with makespanK * optMakespan(UnrelatedLoadBalancingGame.exists_isPureNash_makespan_eq_mul_optMakespan).
- Pure price of anarchy is unbounded even for
Main results #
Cslib.GameTheory.LoadBalancingGame.IsIdentical.makespan_le_of_isPureNash([FH79]; [Voc07])Cslib.GameTheory.LoadBalancingGame.makespan_finnHorowitzTightNE([Voc07])Cslib.GameTheory.LoadBalancingGame.IsIdentical.makespan_eq_opt_of_three_jobs_two_machines([Voc07])Cslib.GameTheory.LoadBalancingGame.IsIdentical.makespan_le_optMakespan_add_of_weight_le([Voc07])Cslib.GameTheory.LoadBalancingGame.makespan_le_goldenRatio_mul_optMakespan,Cslib.GameTheory.LoadBalancingGame.makespan_goldenRatioTightNE([Voc07])Cslib.GameTheory.LoadBalancingGame.factorial_le_card_of_makespan_ge,Cslib.GameTheory.LoadBalancingGame.makespan_le_log_div_log_log_mul_optMakespan([CV02b]; [Voc07])Cslib.GameTheory.UnrelatedLoadBalancingGame.exists_isPureNash_makespan_eq_mul_optMakespan
References #
Identical-machine pure price of anarchy ([FH79]; [Voc07], §20.2.1,
Theorem 20.5, pp. 522–523): every pure Nash equilibrium A on m = |M| ≥ 1 identical machines
satisfies makespan A ≤ (2 * m / (m + 1)) * optMakespan (equivalently
(2 - 2 / (m + 1)) * optMakespan).
Strict < 2 bound for arbitrary m identical machines when optMakespan > 0.
Special case m = 2 identical machines: makespan A ≤ (4 / 3) * optMakespan.
Tightness witness family for Finn–Horowitz ([FH79]; [Voc07]):
for every m ≥ 1, 2m jobs indexed by Bool × Fin m on m identical machines.
Machine 0 receives two jobs of weight m in the Nash equilibrium, while each machine k ≠ 0
receives jobs of weights k and m - k.
The worst-case pure Nash equilibrium on finnHorowitzTight m: job (b, k) goes to machine
k.
Tightness of the 2m / (m + 1) pure price of anarchy ([FH79]; [Voc07],
§20.2.1 & Exercise 20.2, pp. 523, 542): for every m ≥ 1, finnHorowitzTightNE m attains exact
equality.
Three jobs on two identical machines ([Voc07], Exercise 20.1, p. 542): every pure
Nash equilibrium of 3 jobs on 2 identical machines is makespan-optimal.
Small-job pure Nash bound on identical machines ([Voc07], Exercise 20.6(a), p. 542):
if every job has weight at most B, then every pure Nash equilibrium A satisfies
makespan A ≤ optMakespan + (1 - 1 / |M|) * B. In particular, if weight i ≤ α * optMakespan
with 0 < α and 0 < optMakespan, then makespan A < (1 + α) * optMakespan.
Two uniformly related machines: golden-ratio pure price of anarchy ([Voc07],
Exercise 20.3(b), p. 542, proved here for an arbitrary finite number of jobs): every pure Nash
equilibrium A on 2 uniformly related machines satisfies
makespan A ≤ ((1 + √5) / 2) * optMakespan.
Golden-ratio tightness witness ([Voc07], Exercise 20.3(a), p. 542): two jobs of
weights 1 and φ = (1 + √5) / 2 on two machines of speeds 1 and φ.
The worst-case pure Nash equilibrium on goldenRatioTight: the heavy job (1) sits on the
slow machine (0), and the light job (0) sits on the fast machine (1).
Weight of jobs assigned by an optimal schedule Aopt to a subset S of machines is at most
optMakespan * ∑_{j ∈ S} speed j.
General speed-prefix cardinality step over any machine-load map L : M → ℝ: for prefixes
P k = {j | ∀ j', speed j ≤ speed j' → k * optMakespan ≤ L j'}, if (k + 1) * ∑_{P(k+1)} speed ≤ ∑_{P k} speed whenever P (k + 1) is nonempty, then (k + 1) * #(P (k + 1)) ≤ #(P k).
Downward factorial induction along a family P : ℕ → Finset M satisfying
(k + 1) * #(P (k + 1)) ≤ #(P k): if 1 ≤ #(P c), then c! ≤ |M|.
The speed-sorted prefix L_k of machines all of whose at-least-as-fast peers have load at
least k * optMakespan under A ([CV02b]; [Voc07]).
Shared inclusion criteria into any load-threshold speed prefix P k: if job i has optimal
machine Aopt i, load lower bound (k + 1) * optMakespan ≤ Lj on a machine whose equilibrium
comparison gives Lj ≤ L j' + weight i / speed j' for every j', then Aopt i ∈ P k.
Prefix-list inclusion lemma ([CV02b]; [Voc07], §20.3.1, Lemma 20.8,
p. 526): if A is a pure Nash equilibrium and Aopt is an optimal assignment, then any job whose
A-machine has load at least (k + 1) * optMakespan is assigned by Aopt to a machine in
speedPrefix G A k.
Speed-prefix cardinality growth ([CV02b]; [Voc07]): for
every pure Nash equilibrium A with 0 < optMakespan and every k : ℕ,
(k + 1) * #(speedPrefix G A (k + 1)) ≤ #(speedPrefix G A k).
Factorial pure PoA bound for uniformly related machines ([CV02b];
[Voc07]): if A is a pure Nash equilibrium with 0 < optMakespan and
(c + 1) * optMakespan ≤ makespan A, then c! ≤ |M|. Equivalently, makespan A < (c + 1) * optMakespan whenever |M| < c!.
If m ≥ 3, 0 < opt, 0 ≤ val, and every integer c with (c + 1) * opt ≤ val satisfies
c! ≤ m, then val ≤ (4 * log m / log (log m) + 3) * opt. Shared between the uniformly related
pure makespan bound and mixed expected-load bound.
Asymptotic pure PoA for uniformly related machines ([CV02b]; [Voc07],
§20.3.1, Theorem 20.7, pp. 525–527): for every load-balancing game on m = |M| ≥ 3 uniformly
related machines and every pure Nash equilibrium A,
makespan A ≤ (4 * log m / log (log m) + 3) * optMakespan = O(log m / log log m) * optMakespan.