Documentation

CslibFrontier.GameTheory.LoadBalancing.MixedPoA

Mixed Nash price of anarchy upper bounds and weighted Chernoff tail #

This module formalizes the weighted Chernoff tail lemma for load-balancing mixed profiles ([Voc07], §20.4.2, Lemma 20.14, p. 532), the O(log m / log log m) upper bound on the mixed Nash price of anarchy for selfish load balancing on m ≥ 3 identical machines ([KP99]; [CV02b]; [Voc07], §20.4.2, Theorem 20.13, pp. 531–533), and the constant-factor O(optMakespan) upper bound when all job weights on identical machines are at most optMakespan / log m ([Voc07], Exercise 20.6(b), p. 542).

Proof overview #

  1. Weighted Chernoff bound (prob_subset_load_ge_le_exp, [Voc07], Lemma 20.14): bridging productWeight p to Cslib.Probability.PMF.pi and applying Cslib.Probability.PMF.pi_sum_ge_one_add_mul_le_exp_log to the independent [0, 1]-valued normalized load contributions X_i(A) = 1_{i ∈ S ∧ A i = j} * (w_i / s_j) / z yields Pr[∑_{i ∈ S, A i = j} w_i / s_j ≥ t] ≤ exp ((t - μ - t * log (t / μ)) / z) whenever w_i / s_j ≤ z on S (with p i j > 0), the subset's expected load is at most μ > 0, and μ ≤ t. This general form is shared by identical-machine bounds here and by the uniformly related mixed PoA proof in CslibFrontier.GameTheory.LoadBalancing.RelatedMixedPoA.
  2. Expected-load bound (IsIdentical.expectedLoad_le_two_mul_optMakespan): every machine j on identical machines satisfies E[ℓ_j] ≤ 2 * OPT.
  3. Identical-machine mixed PoA (IsIdentical.expectedMakespan_le_log_div_log_log, [Voc07], Theorem 20.13): setting T = 12 * log m / log (log m) with z = OPT gives Pr[ℓ_j ≥ T * OPT] ≤ 1 / m ^ 2, union bound Pr[makespan ≥ T * OPT] ≤ 1 / m, and hence expectedMakespan p ≤ (12 * log m / log (log m) + 1) * OPT.
  4. Small-weight identical-machine mixed PoA (IsIdentical.expectedMakespan_le_seven_mul_optMakespan_of_weight_le, [Voc07], Exercise 20.6(b)): when w_i ≤ OPT / log m for every job (m ≥ 2), setting z = OPT / log m and T = 6 gives Pr[ℓ_j ≥ 6 * OPT] ≤ exp ((4 - 6 * log 3) * log m) ≤ 1 / m ^ 2, yielding expectedMakespan p ≤ 7 * OPT.

Main results #

References #

theorem Cslib.GameTheory.LoadBalancingGame.prob_subset_load_ge_le_exp {ι : Type u_1} {M : Type u_2} [Fintype ι] [DecidableEq ι] [Fintype M] [DecidableEq M] (G : LoadBalancingGame ι M) {p : ι → M → ℝ} (hp : ∀ (i : ι), IsMixedStrategy (p i)) (j : M) (S : Finset ι) {z μ t : ℝ} (hz : 0 < z) (hμ_pos : 0 < μ) (ht : μ ≤ t) (hcap : ∀ i ∈ S, 0 < p i j → G.weight i / G.speed j ≤ z) (hmean : ∑ i ∈ S, p i j * (G.weight i / G.speed j) ≤ μ) :
(∑ A : ι → M, if t ≤ ∑ i ∈ S with A i = j, G.weight i / G.speed j then productWeight p A else 0) ≤ Real.exp ((t - μ - t * Real.log (t / μ)) / z)

Weighted Chernoff upper tail on a subset of jobs ([Voc07], §20.4.2, Lemma 20.14, p. 532): under a product of mixed strategies p, for any machine j, subset of jobs S, per-job load cap z > 0 on jobs in S with positive probability on j, mean upper bound 0 < μ, and threshold t ≥ μ, the probability that the jobs in S assigned to j contribute load at least t is at most exp ((t - μ - t * log (t / μ)) / z).

Expected-load bound in identical-machine mixed Nash equilibria: in any mixed Nash equilibrium p on identical machines, every machine j has expectedLoad p j ≤ 2 * optMakespan.

theorem Cslib.GameTheory.LoadBalancingGame.IsIdentical.prob_load_ge_le_exp_chernoff {ι : Type u_1} {M : Type u_2} [Fintype ι] [DecidableEq ι] [Fintype M] [DecidableEq M] [Nonempty M] {G : LoadBalancingGame ι M} (hId : G.IsIdentical) {p : ι → M → ℝ} (hp : G.toCostGame.IsMixedNash p) (hopt : 0 < G.optMakespan) (j : M) {c : ℝ} (hc : 2 ≤ c) :
(∑ A : ι → M, if c * G.optMakespan ≤ G.load A j then productWeight p A else 0) ≤ Real.exp (c - 2 - c * Real.log (c / 2))

Weighted Chernoff upper tail on a single machine's load ([Voc07], §20.4.2, Lemma 20.14, p. 532): for any mixed Nash equilibrium p on identical machines with 0 < optMakespan, any machine j, and any c ≥ 2, Pr[load A j ≥ c * optMakespan] ≤ exp (c - 2 - c * log (c / 2)).

Identical-machine mixed price of anarchy upper bound ([KP99]; [CV02b]; [Voc07], §20.4.2, Theorem 20.13, pp. 531–533): for every load-balancing game on m = |M| ≥ 3 identical machines and every mixed Nash equilibrium p, expectedMakespan p ≤ (12 * log m / log (log m) + 1) * optMakespan = O(log m / log log m) * OPT.

Small-weight identical-machine mixed PoA ([Voc07], Exercise 20.6(b), p. 542): on m = |M| ≥ 2 identical machines, if every job has weight at most optMakespan / log m, then every mixed Nash equilibrium p satisfies expectedMakespan p ≤ 7 * optMakespan = O(optMakespan).

theorem Cslib.GameTheory.LoadBalancingGame.le_layer_cake_sum {x u : ℝ} (hu : 0 < u) {S : ℕ} (hx : x ≤ ↑(S + 1) * u) :
x ≤ u + u * ∑ r ∈ Finset.range S, if ↑(r + 1) * u ≤ x then 1 else 0

Finite layer-cake upper bound shared by GeneralBallsIntoBins and RelatedMixedPoA: for any x : ℝ, u > 0, and S : ℕ with x ≤ (S + 1) * u, x ≤ u + u * ∑ r ∈ range S, if (r + 1) * u ≤ x then 1 else 0.

Geometric sum bound ∑ r ∈ range S, (1 / 2) ^ (r + 1) ≤ 1.