Algorithm Search⌘K

Definitionintro

Price of anarchy

Also called coordination ratio.

The ratio between the cost of the worst equilibrium of a game and the cost of an optimal outcome.

The price of anarchy measures how much a system loses when its players act selfishly instead of following a central plan. For a game with a cost to minimize, it is the cost of the worst equilibrium divided by the least cost of any outcome. A value of 1 means that every equilibrium is optimal, and a large value means that selfish play can be very costly. A bound on the price of anarchy is a statement about a class of games, such as all selfish routing networks with affine latencies, and it depends on the equilibrium notion. Koutsoupias and Papadimitriou introduced the measure in 1999 as the coordination ratio, and Papadimitriou named it the price of anarchy in 2001.

Definition

Let GG be a game with players 1,…,n1, \ldots, n, strategy sets SiS_i and a social cost C(s)≥0C(s) \ge 0 for each strategy profile ss, for example the sum of the players' costs or the largest cost. Fix an equilibrium notion and let EQ(G)\mathrm{EQ}(G) be the set of equilibria of GG. For a randomized equilibrium σ\sigma, its cost is the expected cost C(σ)=Es∼σ[C(s)]C(\sigma) = \mathbb{E}_{s \sim \sigma}[C(s)]. Let OPT(G)=min⁡sC(s)\mathrm{OPT}(G) = \min_s C(s).

Definition. If EQ(G)\mathrm{EQ}(G) is not empty, the price of anarchy of GG is

PoA(G)=sup⁡σ∈EQ(G)C(σ)OPT(G).\mathrm{PoA}(G) = \sup_{\sigma \in \mathrm{EQ}(G)} \frac{C(\sigma)}{\mathrm{OPT}(G)}.

For a class G\mathcal{G} of games, PoA(G)=sup⁡G∈GPoA(G)\mathrm{PoA}(\mathcal{G}) = \sup_{G \in \mathcal{G}} \mathrm{PoA}(G). If OPT(G)=0\mathrm{OPT}(G) = 0, the ratio is 1 when the equilibrium also costs 0 and +∞+\infty otherwise. Always PoA≥1\mathrm{PoA} \ge 1.

Which equilibria. The value depends on the notion. Common choices are pure Nash equilibria, mixed Nash equilibria, correlated equilibria, coarse correlated equilibria, Bayes-Nash equilibria, and Wardrop equilibria in nonatomic games. Since pure ⊆\subseteq mixed ⊆\subseteq correlated ⊆\subseteq coarse correlated, the price of anarchy can only grow along this chain. For pure equilibria the definition needs a game class in which pure equilibria exist, such as potential games. A statement of a bound should name the class of games, the social cost, and the equilibrium notion.

Welfare form. In a game where the players gain value, such as an auction, let WW be the social welfare to maximize. Then

PoA(G)=max⁡sW(s)inf⁡σ∈EQ(G)W(σ)≥1.\mathrm{PoA}(G) = \frac{\max_s W(s)}{\inf_{\sigma \in \mathrm{EQ}(G)} W(\sigma)} \ge 1.

Many papers on auctions state the inverse ratio, a number at most 1. For example, a welfare guarantee of 1−1/e≈0.6321 - 1/e \approx 0.632 is a price of anarchy of e/(e−1)≈1.582e/(e - 1) \approx 1.582 in the form above, and 1−1/e2≈0.8651 - 1/e^2 \approx 0.865 is 1.1571.157. Say which form a result uses.

Examples and non-examples

Pigou's network. Two parallel links with latencies 1 and xx and one unit of nonatomic traffic. The unique Wardrop equilibrium costs 1, and the optimum costs 3/43/4, so the price of anarchy is 4/34/3. Over all networks with affine latencies the price of anarchy is exactly 4/34/3 (Pigou's example, Roughgarden-Tardos bound). For polynomial latencies of degree at most dd it is about d/ln⁡dd / \ln d, and over all continuous nondecreasing latencies it is unbounded (Pigou bound).

Load balancing, pure equilibria. Two identical machines and jobs of sizes 2, 2, 1 and 1. Each job pays the load of its machine, and the social cost is the makespan. Put both jobs of size 2 on machine 1 and both jobs of size 1 on machine 2. The loads are 4 and 2. A job of size 2 that moves would also see load 4, and a job of size 1 that moves would see 5, so this is a pure Nash equilibrium. The optimum puts a 2 and a 1 on each machine, with makespan 3. So this game has price of anarchy at least 4/34/3 (load balancing price of anarchy).

Load balancing, mixed equilibria. Two identical machines and two jobs of size 1. If each job picks a machine uniformly at random, each job expects load 1+1/21 + 1/2 on either machine, so neither can gain and this is a mixed equilibrium. The jobs collide with probability 1/21/2, so the expected makespan is 12⋅2+12⋅1=3/2\tfrac{1}{2} \cdot 2 + \tfrac{1}{2} \cdot 1 = 3/2. The optimum is 1. The pure equilibria here are optimal, but the mixed one has ratio 3/23/2.

Fair cost sharing. nn players go from ss to tt over two parallel edges with costs 1 and nn, and the players on an edge split its cost equally. If all use the edge of cost nn, each pays 1, and a player who moves alone to the other edge also pays 1. So this is a pure equilibrium with cost nn, against the optimum 1. The price of anarchy is nn, while the best equilibrium, all on the edge of cost 1, is optimal (Shapley network design game, price of stability).

Prisoner's dilemma. Let each player pay 1 if both cooperate, 2 if both defect, and 3 against 0 if one defects alone. Defection is dominant, so the only equilibrium is both defecting, with total cost 4. The optimum, both cooperating, costs 2. The price of anarchy is 2 (prisoner's dilemma).

A non-example: the best equilibrium. In the fair cost sharing game above, the ratio of the cheapest equilibrium to the optimum is 1. That ratio is the price of stability, not the price of anarchy. The price of anarchy uses the worst equilibrium.

A non-example: no pure equilibrium. In matching pennies no pure Nash equilibrium exists, so the pure price of anarchy is not defined. The mixed price of anarchy is defined, because every finite game has a mixed equilibrium.

  • Price of stability. The best equilibrium over the optimum. It is at most the price of anarchy, and the two are equal when all equilibria have the same cost, as in nonatomic routing (price of stability).
  • Robust price of anarchy. A bound proved by the smoothness framework holds for pure, mixed, correlated and coarse correlated equilibria at once, and for the time-averaged cost of no-regret dynamics up to an error that goes to 0.
  • Strong price of anarchy. The same ratio over strong Nash equilibria, where no coalition can deviate so that all its members gain. Fewer profiles qualify, so the ratio is at most the price of anarchy.
  • Bicriteria bounds. Instead of a ratio of costs, compare the equilibrium with an optimum for a harder task. In selfish routing, an equilibrium costs at most an optimal flow for twice the traffic (Roughgarden-Tardos bound).
  • Bayes-Nash price of anarchy. In games of incomplete information, the ratio of expected welfare of the optimum to that of the worst Bayes-Nash equilibrium (first-price auction price of anarchy).

References

  1. Elias Koutsoupias and Christos Papadimitriou, Worst-case equilibria, STACS 1999, Lecture Notes in Computer Science 1563, 404-413, the coordination ratio of a load balancing game on parallel links
  2. Christos Papadimitriou, Algorithms, games, and the internet, STOC 2001, 749-753, the name price of anarchy
  3. Tim Roughgarden and Eva Tardos, How bad is selfish routing?, Journal of the ACM 49(2) (2002), 236-259, the price of anarchy of nonatomic selfish routing
  4. Noam Nisan, Tim Roughgarden, Eva Tardos and Vijay V. Vazirani (eds.), Algorithmic Game Theory, Cambridge University Press, 2007, Chapter 17, Tim Roughgarden and Eva Tardos, Introduction to the inefficiency of equilibria (the definition and the first examples, including Example 17.1)
  5. Tim Roughgarden, Selfish Routing and the Price of Anarchy, MIT Press, 2005, Section 2.3 (the price of anarchy)
  6. Tim Roughgarden, Twenty Lectures on Algorithmic Game Theory, Cambridge University Press, 2016, Lecture 11 (selfish routing and the price of anarchy)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/CAPT9J/text.yaml