Documentation

CslibFrontier.GameTheory.LoadBalancing.RelatedMixedPoA

Mixed Nash price of anarchy upper bound on uniformly related machines #

This module formalizes the Czumaj–Vöcking O(log m / log log log m) upper bound on the mixed Nash price of anarchy for selfish load balancing on m ≥ 16 uniformly related machines ([CV02b]; [Voc07], §20.5, Theorem 20.15, Lemma 20.16, and Lemma 20.17, pp. 533–536), matching the Ω(log m / log log log m) lower bound in CslibFrontier.GameTheory.LoadBalancing.RelatedMixedLower.

Proof overview #

Let G be a uniformly related load-balancing game on m = |M| machines and let p be any mixed Nash equilibrium of G. When optMakespan = 0, expectedMakespan p = 0. Otherwise 0 < OPT = G.optMakespan, and:

  1. Expected-load speed prefixes and O(log m / log log m) maximum expected load (expectedSpeedPrefix, card_expectedSpeedPrefix_ge, expectedLoad_le_log_div_log_log): define L_k = {j : M | ∀ j', speed j ≤ speed j' → k * OPT ≤ E[ℓ_{j'}]}. If 0 < p i j and E[ℓ_j] ≥ (k + 1) * OPT, the mixed Nash inequality forces Aopt i ∈ L_k for any optimal pure assignment Aopt, giving (k + 1) * #(L_{k+1}) ≤ #(L_k) and hence c! ≤ m whenever some machine has E[ℓ_j] ≥ (c + 1) * OPT. Consequently, for m ≥ 3, E[ℓ_j] ≤ (4 * log m / log (log m) + 3) * OPT ≤ (6 * log m / log (log m)) * OPT.
  2. Speed doubling across expected-load groups (speed_doubling_expectedGroup, [Voc07], Lemma 20.16): if machine b has E[ℓ_b] < (k + 1) * OPT and L_{k+3} is nonempty, then every job placing positive probability on L_{k+3} has weight i > 2 * speed b * OPT and Aopt i ∈ L_{k+2}. Comparing speed sums forces some machine in G_{k+2} = L_{k+2} \ L_{k+3} to have speed strictly greater than 2 * speed b (hence 2 * s(k) < s(k + 2)), and therefore a machine j' with 2 * speed b < speed j' and E[ℓ_{j'}] < (k + 3) * OPT.
  3. Job-size cap for small-probability assignments (weight_le_twelve_mul_speed_mul_optMakespan, [Voc07], Lemma 20.17): for every machine j and job i with 0 < p i j < 1 / 4, setting k = ⌊E[ℓ_j] / OPT⌋₊ and comparing j either with the speed-doubled machine j' from step 2 (when L_{k+3} is nonempty) or with Aopt i (when L_{k+3} is empty, so E[ℓ_{Aopt i}] < (k + 4) * OPT) yields weight i ≤ 12 * speed j * OPT.
  4. Heavy/light split, weighted Chernoff, and geometric tail integration (expectedMakespan_le_log_div_log_log_log, [CV02b]; [Voc07], Theorem 20.15): on the support of productWeight p, split each machine's load into T_j^{(1)} = {i | 1 / 4 ≤ p i j} (deterministically at most 4 * E[ℓ_j] ≤ (24 * log m / log log log m) * OPT) and T_j^{(2)} = {i | 0 < p i j ∧ p i j < 1 / 4} (per-job load at most 12 * OPT). Setting T = 48 * log m / log (log (log m)) (m ≥ 16), the weighted Chernoff bound (prob_subset_load_ge_le_exp) and union bound yield Pr[max_j load_2 A j ≥ (r + 1) * T * OPT] ≤ (1 / 2) ^ (r + 1) for every r : ℕ, so a finite layer-cake sum gives E[max_j load_2 A j] ≤ 2 * T * OPT and hence expectedMakespan p ≤ (120 * log m / log (log (log m))) * OPT.

Main definitions #

Main results #

References #

noncomputable def Cslib.GameTheory.LoadBalancingGame.expectedSpeedPrefix {ι : Type u_1} {M : Type u_2} [Fintype ι] [DecidableEq ι] [Fintype M] [DecidableEq M] [Nonempty M] (G : LoadBalancingGame ι M) (p : ι → M → ℝ) (k : ℕ) :

The expected-load speed-sorted prefix L_k of machines all of whose at-least-as-fast peers have expected load at least k * optMakespan under mixed profile p ([CV02b]; [Voc07], §20.5, pp. 533–534).

theorem Cslib.GameTheory.LoadBalancingGame.card_expectedSpeedPrefix_ge {ι : Type u_1} {M : Type u_2} [Fintype ι] [DecidableEq ι] [Fintype M] [DecidableEq M] [Nonempty M] (G : LoadBalancingGame ι M) {p : ι → M → ℝ} (hp : G.toCostGame.IsMixedNash p) (hopt : 0 < G.optMakespan) (k : ℕ) :

Mixed-Nash speed-prefix cardinality growth: for every mixed Nash equilibrium p with 0 < optMakespan and every k : ℕ, (k + 1) * #(expectedSpeedPrefix G p (k + 1)) ≤ #(expectedSpeedPrefix G p k).

Maximum expected load in uniformly related mixed Nash equilibria: on m = |M| ≥ 3 uniformly related machines, every machine j has expected load at most (4 * log m / log (log m) + 3) * optMakespan = O(log m / log log m) * OPT.

theorem Cslib.GameTheory.LoadBalancingGame.speed_doubling_expectedGroup {ι : Type u_1} {M : Type u_2} [Fintype ι] [DecidableEq ι] [Fintype M] [DecidableEq M] [Nonempty M] (G : LoadBalancingGame ι M) {p : ι → M → ℝ} (hp : G.toCostGame.IsMixedNash p) (hopt : 0 < G.optMakespan) {k : ℕ} (hGk : (G.expectedSpeedPrefix p k \ G.expectedSpeedPrefix p (k + 1)).Nonempty) (hLk3 : (G.expectedSpeedPrefix p (k + 3)).Nonempty) :
∃ (hGk2 : (G.expectedSpeedPrefix p (k + 2) \ G.expectedSpeedPrefix p (k + 3)).Nonempty), 2 * (G.expectedSpeedPrefix p k \ G.expectedSpeedPrefix p (k + 1)).sup' hGk G.speed < (G.expectedSpeedPrefix p (k + 2) \ G.expectedSpeedPrefix p (k + 3)).sup' hGk2 G.speed

Speed doubling across expected-load groups ([CV02b]; [Voc07], §20.5, Lemma 20.16, pp. 534–535): for G_r = L_r \ L_{r + 1}, if 0 < optMakespan, G_k is nonempty, and L_{k + 3} is nonempty, then G_{k + 2} is nonempty and its maximum machine speed strictly exceeds twice the maximum machine speed of G_k.

theorem Cslib.GameTheory.LoadBalancingGame.weight_le_twelve_mul_speed_mul_optMakespan {ι : Type u_1} {M : Type u_2} [Fintype ι] [DecidableEq ι] [Fintype M] [DecidableEq M] [Nonempty M] (G : LoadBalancingGame ι M) {p : ι → M → ℝ} (hp : G.toCostGame.IsMixedNash p) (j : M) (i : ι) (hpos : 0 < p i j) (hlt : p i j < 1 / 4) :
G.weight i ≤ 12 * G.speed j * G.optMakespan

Small-probability job-size cap ([CV02b]; [Voc07], §20.5, Lemma 20.17, p. 535): in any mixed Nash equilibrium p on uniformly related machines, every machine j and job i with 0 < p i j < 1 / 4 satisfies weight i ≤ 12 * speed j * optMakespan.

Uniformly related mixed price of anarchy upper bound ([CV02b]; [Voc07], §20.5, Theorem 20.15, pp. 533–536): for every load-balancing game on m = |M| ≥ 16 uniformly related machines and every mixed Nash equilibrium p, expectedMakespan p ≤ (120 * log m / log (log (log m))) * optMakespan.