Price of anarchy

The Price of Anarchy (PoA) [1] is a concept in economics and game theory that measures how the efficiency of a system degrades due to selfish behavior of its agents. It is a general notion that can be extended to diverse systems and notions of efficiency. For example, consider the system of transportation of a city and many agents trying to go from some initial location to a destination. Let efficiency in this case mean the average time for an agent to reach the destination. In the 'centralized' solution, a central authority can tell each agent which path to take in order to minimize the average travel time. In the 'decentralized' version, each agent chooses its own path. The Price of Anarchy measures the ratio between average travel time in the two cases. Usually the system is modeled as a game and the efficiency is some function of the outcomes (e.g. maximum delay in a network, congestion in a transportation system, social welfare in an auction, etc.). Different concepts of equilibrium can be used to model the selfish behavior of the agents, among which the most common is the Nash equilibrium. Different flavors of Nash equilibrium lead to variations of the notion of Price of Anarchy as Pure Price of Anarchy (for deterministic equilibria), Mixed Price of Anarchy (for randomized equilibria), and Bayes–Nash Price of Anarchy (for games with incomplete information). Solution concepts other than Nash equilibrium lead to variations such as the Price of Sinking.[2]

The term Price of Anarchy was first used by Elias Koutsoupias and Christos Papadimitriou,[1][failed verification] but the idea of measuring inefficiency of equilibrium is older.[3] The concept in its current form was designed to be the analogue of the 'approximation ratio' in an approximation algorithm or the 'competitive ratio' in an online algorithm. This is in the context of the current trend of analyzing games using algorithmic lenses (algorithmic game theory).

## Contents

* 1 Mathematical definition
* 2 Prisoner's dilemma
* 3 Job scheduling
* 4 Selfish Routing
* 4.1 Braess's paradox
* 4.2 Generalized routing problem
* 5 See also
* 6 References
* 7 Further reading

## Mathematical definition

Consider a game G=(N,S,u), defined by a set of players N, strategy sets Si for each player and utilities ui:S->ℝ (where S=S1×...×Sn also called set of outcomes). We can define a measure of efficiency of each outcome which we call welfare function Welf⁡:S->ℝ. Natural candidates include the sum of players utilities (utilitarian objective) Welf⁡(s)=∑i∈Nui(s), minimum utility (fairness or egalitarian objective) Welf⁡(s)=mini∈Nui(s), ..., or any function that is meaningful for the particular game being analyzed and is desirable to be maximized.

We can define a subset Equil⊆S to be the set of strategies in equilibrium (for example, the set of Nash equilibria). The Price of Anarchy is then defined as the ratio between the 'worst equilibrium' and the optimal 'centralized' solution:

PoA=maxs∈SWelf⁡(s)mins∈EquilWelf⁡(s)

If, instead of a 'welfare' which we want to 'maximize', the function measure efficiency is a 'cost function' Cost⁡:S->ℝ which we want to 'minimize' (e.g. delay in a network) we use (following the convention in approximation algorithms):

PoA=maxs∈EquilCost⁡(s)mins∈SCost⁡(s)

A related notion is that of the Price of Stability (PoS) which measures the ratio between the 'best equilibrium' and the optimal 'centralized' solution:

PoS=maxs∈SWelf⁡(s)maxs∈EquilWelf⁡(s)

or in the case of cost functions:

PoS=mins∈EquilCost⁡(s)mins∈SCost⁡(s)

We know that 1≤PoS≤PoA by the definition. It is expected that the loss in efficiency due to game-theoretical constraints is somewhere between 'PoS' and 'PoA'.

Both the PoS and the PoA have been calculated for various types of games. Some examples are presented below.

## Prisoner's dilemma

Consider the 2x2 game called prisoner's dilemma, given by the following cost matrix:

| Cooperate  | Defect

|
|

Cooperate  | 1, 1 | 7, 0
Defect  | 0, 7 | 5, 5

and let the cost function be C(s1,s2)=u1(s1,s2)+u2(s1,s2). Now, the worst (and only) Nash Equilibrium would be when both players defect and the resulting cost is Cequil=5+5=10. However, the highest social welfare occurs when both cooperate, in which case the cost is Cmin=1+1=2. Thus the PoA of this game will be Cequil/Cmin=10/2=5.

Since the game has a unique Nash equilibrium, the PoS is equal to the PoA and it is 5 too.

## Job scheduling

A more natural example is the one of job scheduling. There are N players and each of them has a job to run. They can choose one of M machines to run the job. The Price of Anarchy compares the situation where the selection of machines is guided/directed centrally to the situation where each player chooses the machine that will make its job run fastest.

Each machine has a speed s1,…,sM>0. Each job has a weight w1,…,wN>0. A player picks a machine to run his or her job on. So, the strategies of each player are Ai={1,2,…,M}. Define the load on machine j to be:

Lj(a)=∑i:ai=jwisj.

The cost for player i is ci(a)=Lai(a), i.e., the load of the machine they chose. We consider the egalitarian cost function MS(a)=maxjLj(a), here called the makespan.

We consider two concepts of equilibrium: pure Nash and mixed Nash. It should be clear that mixed PoA ≥ pure PoA, because any pure Nash equilibrium is also a mixed Nash equilibrium (this inequality can be strict: e.g. when N=2, w1=w2=1, M=2, and s1=s2=1, the mixed strategies σ1=σ2=(1/2,1/2) achieve an average makespan of 1.5, while any pure-strategy PoA in this setting is ≤4/3). First we need to argue that there exist pure Nash equilibria.

Claim. For each job scheduling game, there exists at least one pure-strategy Nash equilibrium.

Proof. We would like to take a socially optimal action profile a*. This would mean simply an action profile whose makespan is minimum. However, this will not be enough. There may be several such action profiles leading to a variety of different loads distributions (all having the same maximum load). Among these, we further restrict ourselves to one that has a minimum second-largest load. Again, this results in a set of possible load distributions, and we repeat until the Mth-largest (i.e., smallest) load, where there can only be one distribution of loads (unique up to permutation). This would also be called the lexicographic smallest sorted load vector.

We claim that this is a pure-strategy Nash equilibrium. Reasoning by contradiction, suppose that some player i could strictly improve by moving from machine j to machine k. This means that the increased load of machine k after the move is still smaller than the load of machine j before the move. As the load of machine j must decrease as a result of the move and no other machine is affected, this means that the new configuration is guaranteed to have reduced the jth-largest (or higher ranked) load in the distribution. This, however, violates the assumed lexicographic minimality of a. Q.E.D.

Claim. For each job scheduling game, the pure PoA is at most M.

Proof. It is easy to upper-bound the welfare obtained at any mixed-strategy Nash equilibrium σ by

w(σ)≤∑iwimaxjsj.

Consider, for clarity of exposition, any pure-strategy action profile a: clearly

w(a)≥∑iwi∑jsj≥∑iwiM⋅maxjsj.

Since the above holds for the social optimum as well, comparing the ratios w(σ) and w(a) proves the claim.  Q.E.D

## Selfish Routing

### Braess's paradox

Main article: Braess's paradox

Consider a road network as shown in the adjacent diagram on which 4000 drivers wish to travel from point Start to End. The travel time in minutes on the Start–A road is the number of travelers (T) divided by 100, and on Start–B is a constant 45 minutes (likewise with the roads across from them). If the dashed road does not exist (so the traffic network has 4 roads in total), the time needed to drive Start–A–End route with a drivers would be a100+45. The time needed to drive the Start–B–End route with b drivers would be b100+45. As there are 4000 drivers, the fact that a+b=4000 can be used to derive the fact that a=b=2000 when the system is at equilibrium. Therefore, each route takes 2000100+45=65 minutes. If either route took less time, it would not be a Nash equilibrium: a rational driver would switch from the longer route to the shorter route.

Now suppose the dashed line A–B is a road with an extremely short travel time of approximately 0 minutes. Suppose that the road is opened and one driver tries Start–A–B–End. To his surprise he finds that his time is 2000100+2001100=40.01 minutes, a saving of almost 25 minutes. Soon, more of the 4000 drivers are trying this new route. The time taken rises from 40.01 and keeps climbing. When the number of drivers trying the new route reaches 2500, with 1500 still in the Start–B–End route, their time will be 2500100+4000100=65 minutes, which is no improvement over the original route. Meanwhile, those 1500 drivers have been slowed to 45+4000100=85 minutes, a 20-minute increase. They are obliged to switch to the new route via A too, so it now takes 4000100+4000100=80 minutes. Nobody has any incentive to travel A-End or Start-B because any driver trying them will take 85 minutes. Thus, the opening of the cross route triggers an irreversible change to it by everyone, costing everyone 80 minutes instead of the original 65. If every driver were to agree not to use the A–B path, or if that route were closed, every driver would benefit by a 15-minute reduction in travel time.

### Generalized routing problem

The routing problem introduced in the Braess's paradox can be generalized to many different flows traversing the same graph at the same time.

Definition (Generalized flow). Let G=(V,E), L and w be as defined above, and suppose that we want to route the quantities R={r1,r2,…,rk,|ri>0} through each distinct pair of nodes in Γ={(s1,t1),(s2,t2),…,(sk,tk)}⊆(V×V). A flow fΓ,R is defined as an assignment p↦ℜ of a real, nonnegative number to each path p going from si to ti ∈Γ, with the constraint that

∑p:si->tifp=ri∀(si,ti)∈Γ.

The flow traversing a specific edge of G is defined as

fe,Γ,R=∑p:e∈pfp.

For succinctness, we write fe when Γ,R are clear from context.

Definition (Nash-equilibrium flow). A flow fΓ,R is a Nash-equilibrium flow iff ∀(si,ti)∈Γ and ∀p,q from si to ti

fp>0⇒∑e∈ple(fe)≤∑e∈qle(fe).

This definition is closely related to what we said about the support of mixed-strategy Nash equilibria in normal-form games.

Definition (Conditional welfare of a flow). Let fΓ,R and fΓ,R* be two flows in G associated with the same sets Γ and R. In what follows, we will drop the subscript to make the notation clearer. Assume to fix the latencies induced by f on the graph: the conditional welfare of f* with respect to f is defined as

wf(f*)=∑e∈Efe*⋅le(fe)

Fact 1. Given a Nash-equilibrium flow f and any other flow f*, w(f)=wf(f)≤wf(f*).

Proof (By contradiction). Assume that wf(f*)<wf(f). By definition,

∑i=1k∑p:si->tifp*⋅∑e∈ple(fe)<∑i=1k∑p:si->tifp⋅∑e∈ple(fe).

Since f and f* are associated with the same sets Γ,R, we know that

∑p:si->tifp=∑p:si->tifp*=ri∀i.

Therefore, there must be a pair (si,ti) and two paths p,q from si to ti such that fp*>fp, fq*<fq, and

∑e∈ple(fe)<∑e∈qle(fe).

In other words, the flow f* can achieve a lower welfare than f only if there are two paths from si to ti having different costs, and if f* reroutes some flow of f from the higher-cost path to the lower-cost path. This situation is clearly incompatible with the assumption that f is a Nash-equilibrium flow. Q.E.D.

Note that Fact 1 does not assume any particular structure on the set L.

Fact 2. Given any two real numbers x and y, x⋅y≤x2+y2/4.

Proof. This is another way to express the true inequality (x−y/2)2≥0. Q.E.D.

Theorem. The pure PoA of any generalized routing problem (G,L) with linear latencies is ≤4/3.

Proof. Note that this theorem is equivalent to saying that for each Nash-equilibrium flow f, w(f)≤(4/3)⋅minf*{w(f*)}, where f* is any other flow. By definition,

wf(f*)=∑e∈Efe*(ae⋅fe+be)

=∑e(aefefe*)+∑e∈Efe*be.

By using Fact 2, we have that

wf(f*)≤∑e∈E(ae⋅((fe*)2+(fe)2/4))+∑e∈Efe*⋅be

=(∑e∈Eae(fe*)2+fe*be)+∑e∈Eae(fe)2/4

≤w(f*)+w(f)4,

since

(1/4)⋅w(f)=(1/4)⋅∑e∈Efe(aefe+be)

=(1/4)⋅∑e∈E(fe)2+(1/4)⋅∑e∈Efebe⏟≥0.

We can conclude that wf(f*)≤w(f*)+w(f)/4, and prove the thesis using Fact 1. Q.E.D.

Note that in the proof we have made extensive use of the assumption that the functions in L are linear. Actually, a more general fact holds.

Theorem. Given a generalized routing problem with graph G and polynomial latency functions of degree d with nonnegative coefficients, the pure PoA is ≤d+1.

Note that the PoA can grow with d. Consider the example shown in the following figure, where we assume unit flow: the Nash-equilibrium flows have social welfare 1; however, the best welfare is achieved when x=1−1/d+1, in which case

w=(1−1d+1)d⋅(1−1d+1)+1⋅1d+1

=((1−1d+1)d+1)d+1+1d+1

≤e−d+1+1d+1.

This quantity tends to zero when d tends to infinity.

## See also

* Tragedy of the commons
* Competitive facility location game - a game with a small price-of-anarchy.
* Price of anarchy in auctions

## References

1. ↑ 1.0 1.1 Koutsoupias, Elias; Papadimitriou, Christos (May 2009). "Worst-case Equilibria". Computer Science Review 3 (2): 65–69. doi:10.1016/j.cosrev.2009.04.003. http://www.cs.berkeley.edu/~christos/nash.ps. Retrieved 2010-09-12.
2. ↑ M. Goemans, V. Mirrokni, A. Vetta, Sink equilibria and convergence, FOCS 05
3. ↑ P. Dubey. Inefficiency of Nash equilibria. Math. Operat. Res., 11(1):1–8, 1986

* Tim Roughgarden and Eva Tardos, "Introduction to the Inefficiency of Equilibria". Chapter 17 in Vazirani, Vijay V.; Nisan, Noam; Roughgarden, Tim; Tardos, Éva (2007). Algorithmic Game Theory. Cambridge, UK: Cambridge University Press. ISBN 0-521-87282-0. http://www.cs.cmu.edu/~sandholm/cs15-892F13/algorithmic-game-theory.pdf. .
* Tim Roughgarden (2005). Selfish routing and the price of anarchy. MIT Press. ISBN 0-262-18243-2.

## Further reading

* Fabio Cunial, Price of anarchy

* v
* t
* e

Topics in game theory

Definitions|

* Cooperative game
* Determinacy
* Escalation of commitment
* Extensive-form game
* First-player and second-player win
* Game complexity
* Graphical game
* Hierarchy of beliefs
* Information set
* Normal-form game
* Preference
* Sequential game
* Simultaneous game
* Simultaneous action selection
* Solved game
* Succinct game

Equilibrium
concepts|

* Nash equilibrium
* Subgame perfection
* Mertens-stable equilibrium
* Bayesian Nash equilibrium
* Perfect Bayesian equilibrium
* Trembling hand
* Proper equilibrium
* Epsilon-equilibrium
* Correlated equilibrium
* Sequential equilibrium
* Quasi-perfect equilibrium
* Evolutionarily stable strategy
* Risk dominance
* Core
* Shapley value
* Pareto efficiency
* Gibbs equilibrium
* Quantal response equilibrium
* Self-confirming equilibrium
* Strong Nash equilibrium
* Markov perfect equilibrium

Strategies|

* Dominant strategies
* Pure strategy
* Mixed strategy
* Strategy-stealing argument
* Tit for tat
* Grim trigger
* Collusion
* Backward induction
* Forward induction
* Markov strategy

Classes
of games|

* Symmetric game
* Perfect information
* Repeated game
* Signaling game
* Screening game
* Cheap talk
* Zero-sum game
* Mechanism design
* Bargaining problem
* Stochastic game
* n-player game
* Large Poisson game
* Nontransitive game
* Global game
* Strictly determined game
* Potential game

Games|

* Go
* Chess
* Infinite chess
* Checkers
* Tic-tac-toe
* Prisoner's dilemma
* Optional prisoner's dilemma
* Traveler's dilemma
* Coordination game
* Chicken
* Centipede game
* Volunteer's dilemma
* Dollar auction
* Battle of the sexes
* Stag hunt
* Matching pennies
* Ultimatum game
* Rock paper scissors
* Pirate game
* Dictator game
* Public goods game
* Blotto game
* War of attrition
* El Farol Bar problem
* Fair division
* Fair cake-cutting
* Cournot game
* Deadlock
* Diner's dilemma
* Guess 2/3 of the average
* Kuhn poker
* Nash bargaining game
* Prisoners and hats puzzle
* Trust game
* Princess and Monster game
* Rendezvous problem

Theorems|

* Arrow's impossibility theorem
* Aumann's agreement theorem
* Folk theorem
* Minimax theorem
* Nash's theorem
* Purification theorem
* Revelation principle
* Zermelo's theorem

Key
figures|

* Albert W. Tucker
* Amos Tversky
* Ariel Rubinstein
* Claude Shannon
* Daniel Kahneman
* David K. Levine
* David M. Kreps
* Donald B. Gillies
* Drew Fudenberg
* Eric Maskin
* Harold W. Kuhn
* Herbert Simon
* Hervé Moulin
* Jean Tirole
* Jean-François Mertens
* Jennifer Tour Chayes
* John Harsanyi
* John Maynard Smith
* Antoine Augustin Cournot
* John Nash
* John von Neumann
* Kenneth Arrow
* Kenneth Binmore
* Leonid Hurwicz
* Lloyd Shapley
* Melvin Dresher
* Merrill M. Flood
* Olga Bondareva
* Oskar Morgenstern
* Paul Milgrom
* Peyton Young
* Reinhard Selten
* Robert Axelrod
* Robert Aumann
* Robert B. Wilson
* Roger Myerson
* Samuel Bowles
* Suzanne Scotchmer
* Thomas Schelling
* William Vickrey

See also|

* All-pay auction
* Alpha–beta pruning
* Bertrand paradox
* Bounded rationality
* Combinatorial game theory
* Confrontation analysis
* Coopetition
* First-move advantage in chess
* Game mechanics
* Glossary of game theory
* List of game theorists
* List of games in game theory
* No-win situation
* Solving chess
* Topological game
* Tragedy of the commons
* Tyranny of small decisions

0.00

(0 votes)

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Price_of_anarchy&oldid=315873"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template