Fair cost sharing and the price of stability H_k #
In a fair cost-sharing game (a network cost-sharing or Shapley network design game) every
resource e has a fixed cost c e ≥ 0, which is split equally among the players that use it: when
k ≥ 1 players use e, each pays c e / k. This is the atomic congestion game with latencies
latency e k = c e / k ([TW07], Section 19.3.2; [Rou13], Lecture #15,
Section 2). The social cost is the total cost ∑ c e of the resources in use, the cost of the
formed network. As in Cslib.GameTheory.CongestionGame, the s_i–t_i paths of a network are
abstracted to finite sets of resources.
Rosenthal's potential of a fair cost-sharing game is ∑ e, c e * H (load s e), where H is the
harmonic number ([TW07], Section 19.3.1). Since 1 ≤ H n ≤ H k for a resource with
1 ≤ n ≤ k users, socialCost s ≤ Φ s ≤ H k * socialCost s with k players ([TW07],
Lemma 19.8), and the potential function method gives the theorem of Anshelevich, Dasgupta,
Kleinberg, Tardos, Wexler and Roughgarden [ADK+08]: the price of stability of a
k-player fair cost-sharing game is at most H k ([TW07], Theorem 19.10;
[Rou13], Lecture #15, Theorem 2.1).
The bound is tight ([Rou13], Lecture #15, Section 1.4 and Figure 2;
[RT07], Example 17.3). In the opt-out game optOut k ε, player i either
opts out on a private resource of cost 1 / (i + 1) or meets the other players on a shared resource
of cost 1 + ε. For ε > 0 the unique pure Nash equilibrium is that every player opts out, of
social cost H k, while everyone sharing costs 1 + ε. The source's network has, in addition,
zero-cost feeder arcs from each source to the meeting point; they change no player's cost and are
omitted here (retaining them gives Cslib.GameTheory.broadcastNetwork in
CslibFrontier/GameTheory/NetworkFormation/Witnesses.lean).
Main definitions #
Cslib.GameTheory.CongestionGame.fairCostSharing: the fair cost-sharing game with resource setsresourcesand resource costsc.Cslib.GameTheory.CongestionGame.optOut: the opt-out game withkplayers and parameterε.
Main results #
Cslib.GameTheory.CongestionGame.socialCost_fairCostSharing_biUnion,Cslib.GameTheory.CongestionGame.socialCost_fairCostSharing: the social cost is the total cost of the resources in use.Cslib.GameTheory.CongestionGame.rosenthalPotential_fairCostSharing: Rosenthal's potential is∑ e, c e * H (load s e).Cslib.GameTheory.CongestionGame.antitoneOn_latency_fairCostSharing: with nonnegative costs, the sharesc e / nare nonincreasing in the loadn ≥ 1.Cslib.GameTheory.CongestionGame.sum_le_socialCost_fairCostSharing,Cslib.GameTheory.CongestionGame.sum_div_card_le_cost_fairCostSharing: the social cost is at least the cost of any player's resources, and each player pays at least a1 / kshare of the cost of its resources.Cslib.GameTheory.CongestionGame.cost_fairCostSharing_update_le: a player deviating toapays at most the standalone cost ofresources i a.Cslib.GameTheory.CongestionGame.isSmooth_fairCostSharing,Cslib.GameTheory.CongestionGame.socialCost_fairCostSharing_le_card_mul_of_isPureNash,Cslib.GameTheory.CongestionGame.expected_socialCost_fairCostSharing_le_card_mul([Rou15b], Definition 2.1 and Theorem 3.2; [TW07], Section 19.3): fair cost-sharing games are(k, 0)-smooth, so the pure and coarse-correlated price of anarchy is at mostk.Cslib.GameTheory.CongestionGame.cost_fairCostSharing_const,Cslib.GameTheory.CongestionGame.socialCost_fairCostSharing_const: when all players share one strategy set and resource map and play the same strategyp, each paysc(R p) / kand the social cost isc(R p).Cslib.GameTheory.CongestionGame.socialCost_le_rosenthalPotential_fairCostSharing,Cslib.GameTheory.CongestionGame.rosenthalPotential_fairCostSharing_le_harmonic_mul([TW07], Lemma 19.8):socialCost s ≤ Φ s ≤ H k * socialCost s.Cslib.GameTheory.CongestionGame.exists_isPureNash_fairCostSharing_socialCost_le_harmonic_mul([ADK+08]; [TW07], Theorem 19.10; [Rou13], Lecture #15, Theorem 2.1): the price of stability is at mostH k.exists_reflTransGen_isPureNash_fairCostSharing_socialCost_le_harmonic_mul(inCslib.GameTheory.CongestionGame): better-response dynamics from any profiles₀reach a pure Nash equilibrium of social cost at mostH k * socialCost s₀.Cslib.GameTheory.CongestionGame.exists_one_div_lt_cost_optOut: forε > 0, unless every player opts out, some sharing playerjpays more than its private cost1 / (j + 1).Cslib.GameTheory.CongestionGame.isPureNash_optOut_iff: forε > 0the unique pure Nash equilibrium of the opt-out game is that every player opts out.Cslib.GameTheory.CongestionGame.optOutCost_nonneg: forε ≥ 0its resource costs are nonnegative.Cslib.GameTheory.CongestionGame.socialCost_optOut_true,Cslib.GameTheory.CongestionGame.socialCost_optOut_false: its social costsH kand1 + ε.Cslib.GameTheory.CongestionGame.exists_forall_isPureNash_optOut_mul_lt([Rou13], Lecture #15, Section 2, after Theorem 2.1):H kcannot be lowered: for everyr < H ksome opt-out game has no pure Nash equilibrium within the factorrof the optimum.
References #
The fair cost-sharing game (Shapley network design game) with resource sets resources and
resource costs c: the cost c e of a resource used by k ≥ 1 players is split equally, so each
pays c e / k ([TW07], Section 19.3.1; [Rou13], Lecture #15, (1)). The
latency at load 0 is c e / 0 = 0, which no player ever pays. The costs are meant to be
nonnegative; the theorems that need it assume 0 ≤ c e.
The latencies c e / n of a fair cost-sharing game with nonnegative costs are nonincreasing in
the load n ≥ 1: more users means a smaller share.
The social cost of a fair cost-sharing game is the total cost of the union of players' used
resource sets, ∑ e ∈ Finset.univ.biUnion fun i => resources i (s i), c e, without requiring
[Fintype E].
The social cost of a fair cost-sharing game is the total cost of the resources in use,
∑ e with load s e ≥ 1, c e ([Rou13], Lecture #15, (2)).
Rosenthal's potential of a fair cost-sharing game is ∑ e, c e * H (load s e)
([TW07], Section 19.3.1; [Rou13], Lecture #15, (3)).
The potential bounds the social cost from above ([TW07], Lemma 19.8, first inequality): with nonnegative costs, every resource in use is counted at least once.
The potential overestimates the social cost by at most H k ([TW07],
Lemma 19.8, second inequality): with nonnegative costs and k = Fintype.card ι players, no resource
has more than k users.
In a fair cost-sharing game with nonnegative costs, the social cost is at least the cost of any single player's resource set: those resources are all in use.
In a fair cost-sharing game with nonnegative costs and k = Fintype.card ι players, every
player pays at least a 1 / k share of the cost of its resources: no resource has more than k
users.
In a fair cost-sharing game with nonnegative costs, a player deviating to a pays at most
the standalone cost ∑ e ∈ resources i a, c e of its chosen resources: every resource in
resources i a has load at least 1 after the deviation.
Fair cost-sharing games are (k, 0)-smooth ([Rou15b], Definition 2.1;
[TW07], Section 19.3): with k = Fintype.card ι players and nonnegative resource
costs, switching player i to s' i costs i at most the standalone cost of
resources i (s' i), which is at most socialCost s'.
The price of anarchy of fair cost-sharing games is at most k ([Rou15b],
Theorem 3.2; [TW07], Section 19.3): in a fair cost-sharing game with
k = Fintype.card ι players and nonnegative resource costs, every pure Nash equilibrium s
satisfies socialCost s ≤ k * socialCost s' for every profile s'.
The robust price of anarchy of fair cost-sharing games is at most k ([Rou15b],
Theorem 3.2): in a fair cost-sharing game with k = Fintype.card ι players and nonnegative
resource costs, the expected social cost of every coarse correlated equilibrium σ is at most
k * socialCost s' for every profile s'.
When all players have the strategy set P and the resource map R and all play the same
strategy p, each pays the share (∑ e ∈ R p, c e) / k of the cost of R p, where
k = Fintype.card ι.
When all players have the strategy set P and the resource map R and all play the same
strategy p, the social cost is the cost of R p (with at least one player).
The price of stability of fair cost-sharing games is at most H k [ADK+08]
([TW07], Theorem 19.10; [Rou13], Lecture #15, Theorem 2.1): a fair
cost-sharing game with k = Fintype.card ι players, nonnegative resource costs, finitely many
resources and finitely many (and at least one) strategies per player has a pure Nash equilibrium
s with socialCost s ≤ H k * socialCost s' for every profile s'. The equilibrium is a global
minimizer of Rosenthal's potential. exists_forall_isPureNash_optOut_mul_lt shows that H k cannot
be lowered.
Better-response dynamics from any profile reach a good equilibrium in fair cost-sharing
games: from every profile s₀, a finite sequence of improving unilateral deviations reaches a pure
Nash equilibrium t with socialCost t ≤ H k * socialCost s₀, where k = Fintype.card ι. Started
at a socially optimal profile, this reaches an equilibrium within the price-of-stability bound.
The opt-out game with k players ([Rou13], Lecture #15, Section 1.4 and
Figure 2; [RT07], Example 17.3): the fair cost-sharing game in which player i
(numbered from 0) chooses between its private resource of cost 1 / (i + 1) (strategy true)
and a shared resource of cost 1 + ε (strategy false). The source's zero-cost edges from each
source to the meeting point change no player's cost and are omitted.
The opt-out game is the fair cost-sharing game with resources optOutResources k and costs
optOutCost k ε.
For ε ≥ 0 the resource costs of the opt-out game are nonnegative, the hypothesis of the
H k bounds for fair cost-sharing games.
Some sharing player pays more than its private cost: for ε > 0, if not every player opts
out, then among the players that share, the one with the largest index j pays at least
(1 + ε) / (j + 1), more than its private cost 1 / (j + 1) ([Rou13],
Lecture #15, Section 1.4).
The opt-out game has a unique pure Nash equilibrium for ε > 0: every player opts out
([Rou13], Lecture #15, Section 1.4). If some players share, the one among them
with the largest index j pays more than its private cost 1 / (j + 1)
(exists_one_div_lt_cost_optOut).
In the opt-out game, the profile in which every player opts out has social cost H k.
In the opt-out game with k ≥ 1 players, the profile in which every player shares has social
cost 1 + ε.
The bound H k is tight ([Rou13], Lecture #15, Section 2, the remark after
Theorem 2.1 that the opt-out example rules out any smaller factor): for k ≥ 1 players and
every r < H k there is ε > 0 such that every pure Nash equilibrium s of the opt-out game
optOut k ε has socialCost s > r * socialCost s' for the profile s' in which every player
shares. So exists_isPureNash_fairCostSharing_socialCost_le_harmonic_mul fails with r in place
of H k.