Documentation

CslibFrontier.GameTheory.Strategic.Smooth

Smooth games and the robust price of anarchy #

Roughgarden's smoothness framework [Rou15b] bounds the inefficiency of equilibria of a cost-minimization game by a single inequality about pairs of profiles. A game is (λ, μ)-smooth ([Rou15b], Definition 2.1) if for all profiles s and s', ∑ i, cost i (update s i (s' i)) ≤ λ * socialCost s' + μ * socialCost s. If μ < 1, the social cost of every pure Nash equilibrium is at most λ / (1 - μ) times the social cost of every profile ([Rou15b], derivation (3)–(5)), and the same bound holds for the expected social cost of every coarse correlated equilibrium ([Rou15b], Theorem 3.2).

A coarse correlated equilibrium is a probability distribution σ on profiles under which no player can lower its expected cost by committing in advance to a fixed strategy a ([Rou15b], (15)). We use finitely supported distributions, the points of the standard simplex Convexity.StdSimplex ℝ (∀ i, S i), so expectations are finite sums.

Main definitions #

Main results #

References #

def Cslib.GameTheory.CostGame.IsSmooth {ι : Type u_1} {S : ι → Type u_2} [DecidableEq ι] [Fintype ι] (G : CostGame ι S) (lam μ : ℝ) :

G is (λ, μ)-smooth ([Rou15b], Definition 2.1) with λ = lam: for all profiles s and s', the total cost of the unilateral deviations from s to s' is at most lam * socialCost s' + μ * socialCost s. Unlike the source, the definition imposes no sign conditions on lam and μ; the price-of-anarchy bounds below assume only μ < 1.

def Cslib.GameTheory.CostGame.IsCoarseCorrelatedEquilibrium {ι : Type u_1} {S : ι → Type u_2} [DecidableEq ι] (G : CostGame ι S) (σ : Convexity.StdSimplex ℝ ((i : ι) → S i)) :

A finitely supported distribution σ on profiles is a coarse correlated equilibrium ([Rou15b], (15)): for every player i and strategy a, the expected cost of i under σ is at most its expected cost when it plays a while the others play according to σ.

theorem Cslib.GameTheory.CostGame.IsSmooth.socialCost_le_of_isPureNash {ι : Type u_1} {S : ι → Type u_2} [DecidableEq ι] [Fintype ι] {G : CostGame ι S} {lam μ : ℝ} (hG : G.IsSmooth lam μ) (hμ : μ < 1) {s : (i : ι) → S i} (hs : G.IsPureNash s) (s' : (i : ι) → S i) :
G.socialCost s ≤ lam / (1 - μ) * G.socialCost s'

The price of anarchy of pure Nash equilibria in smooth games ([Rou15b], (3)–(5)): if G is (λ, μ)-smooth with μ < 1 and s is a pure Nash equilibrium, then socialCost s ≤ λ / (1 - μ) * socialCost s' for every profile s'.

theorem Cslib.GameTheory.CostGame.IsSmooth.expected_socialCost_le_of_forall_le {ι : Type u_1} {S : ι → Type u_2} [DecidableEq ι] [Fintype ι] {G : CostGame ι S} {lam μ : ℝ} (hG : G.IsSmooth lam μ) (hμ : μ < 1) {σ : Convexity.StdSimplex ℝ ((i : ι) → S i)} {ε : ι → ℝ} (hσ : ∀ (i : ι) (a : S i), (σ.sum fun (s : (i : ι) → S i) (w : ℝ) => w * G.cost i s) ≤ (σ.sum fun (s : (i : ι) → S i) (w : ℝ) => w * G.cost i (Function.update s i a)) + ε i) (s' : (i : ι) → S i) :
(σ.sum fun (s : (i : ι) → S i) (w : ℝ) => w * G.socialCost s) ≤ (lam * G.socialCost s' + ∑ i : ι, ε i) / (1 - μ)

The robust price of anarchy with additive slack: if G is (λ, μ)-smooth with μ < 1 and the distribution σ satisfies the coarse correlated equilibrium inequalities up to an additive error ε i for each player i, then the expected social cost under σ is at most (λ * socialCost s' + ∑ i, ε i) / (1 - μ) for every profile s'. With ε i the average regret of player i, this is the static form of [Rou15b], Theorem 3.3.

theorem Cslib.GameTheory.CostGame.IsSmooth.expected_socialCost_le {ι : Type u_1} {S : ι → Type u_2} [DecidableEq ι] [Fintype ι] {G : CostGame ι S} {lam μ : ℝ} (hG : G.IsSmooth lam μ) (hμ : μ < 1) {σ : Convexity.StdSimplex ℝ ((i : ι) → S i)} (hσ : G.IsCoarseCorrelatedEquilibrium σ) (s' : (i : ι) → S i) :
(σ.sum fun (s : (i : ι) → S i) (w : ℝ) => w * G.socialCost s) ≤ lam / (1 - μ) * G.socialCost s'

The robust price of anarchy for coarse correlated equilibria ([Rou15b], Theorem 3.2): if G is (λ, μ)-smooth with μ < 1 and σ is a coarse correlated equilibrium, then the expected social cost under σ is at most λ / (1 - μ) times the social cost of every profile s'.

A pure Nash equilibrium, viewed as a point mass, is a coarse correlated equilibrium.