Price of anarchy in congestion games explained
The Price of Anarchy (PoA) is a concept in game theory and mechanism design that measures how the social welfare of a system degrades due to selfish behavior of its agents. It has been studied extensively in various contexts, particularly in congestion games (CG).
Example
The inefficiency of congestion games was first illustrated by Pigou in 1920,[1] using the following simple congestion game. Suppose there are two roads that lead from point A to point B:
- Road 1 is wide but slow. Using this road, it takes 1 minute to get from A to B, regardless of how many drivers use it.
- Road 2 is fast but narrow, so it becomes congested and slower as more drivers use it. If x drivers use the road, it takes them x/1000 minutes to get from A to B.
Suppose there are 1000 drivers who need to go from A to B. Each driver wants to minimize his own delay, but the government would like to minimize the total delay (the sum of delays of all drivers).
- First, let us compute the minimum possible delay. Suppose x drivers go to road 2 and 1000 − x go to road 1. Then, the total delay is x2/1000+(1000 − x). This is minimized when x ≈ 500, that is, 500 drivers go to road 2 and the other 500 to road 1; the total delay is 500×1/2 + 500×1 ≈ 750 minutes.
- For every single driver, the delay is always smaller when driving through road 2, as x/1000 < 1. This means that choosing road 2 is a dominant strategy. So in "anarchy" (that is, without central planning), all drivers choose road 2, their delay is 1 minute, and the total delay is 1000 minutes. The problem is that each agent minimizes his own delay, but ignores the cost imposed by his own actions on the delay of others; there is a negative externality which leads to an inefficient outcome.
In this example, selfish routing leads to a total delay that is 4/3 times higher than the optimum, so the price of anarchy is 4/3. In general, the price of anarchy may differ based on the type of congestion game, the structure of the network, and the delay functions. Various authors have computed upper and lower bounds on the PoA in various congestion games.
Effect of delay functions
To illustrate the effect of the delay functions on PoA, consider a variant of the above example in which the delay in road 1 is still 1 minute, but the delay in road 2 when x drivers use it is
, for some d>1.
- The minimum possible delay is attained when the number of drivers going to road 2 is
. As
, this number approaches 1000, so
drivers go to road 2, where
. The total delay is
, which approaches 0 as
.
- However, for every single driver in road 1, it is still worthwhile to move to road 2. Therefore, in anarchy, all drivers go to road 2, and the delay is
minutes.
Therefore, the price of anarchy approaches infinity as
.
Definitions
A congestion game (CG) is defined by a set of resources. For example, in a road network, each road is an individual resource. For each
resource, there is a delay function (aka cost function). The function maps the amount of congestion in the resource (e.g. the number of drivers choosing to use the road) to the delay experienced by each player using it. The total cost of a player is the total delay in all the resources he chooses. Each player chooses a strategy in order to minimize his own cost.
A Nash equilibirum is a situation in which no player can improve his delay by unilaterally changing his choice. The price of anarchy (PoA) is the ratio between the largest delay in Nash equilibrium, and the smallest possible delay overall. The price of stability (PoS) is the ratio between the smallest delay in Nash equilibrium (that is: the best possible equilibrium), and the smallest possible delay overall. The PoA and PoS can also be computed with respect to other equilibrium concepts, such as mixed equilibrium or correlated equilibrium.
There are several main classes of congestion games:
- In atomic CGs, there are finitely many players, and each player chooses a single path (- a single subset of the resources). Atomic congestion games have two variants:
- In unweighted CGs, each player contributes the same amount 1 to the congestion of the resources he uses. Hence, the congestion in each resource is simply the number of players choosing this resource.
- In weighted CGs, each player i has a different weight wi. For example, in road networks, the weight of a driver can be equal to the length of his car. The congestion in each resource is the sum of weights of all players choosing this resource.
- In nonatomic CGs, the number of players approaches infinity, which means that the contribution of each single player to the congestion is negligible. The players are represented by a continuous amount. Pigou's example (illustrated above) was actually originally stated as a nonatomic game. Suppose the delay through road 1 is 1. There is 1 continuous unit of players. The minimum total delay is attained when 1/2 of the players go to road 1 and 1/2 of the go to road 2; the total delay is than 1*1/2+1/2*1/2 = 3/4. However, for each single player, the delay is always smaller through road 2, so in Nash equilibrium, the total delay is 1*1=1.
- In splittable CGs, there are finitely many players, each player has a weight, and each player may split his weight among several paths (- several subsets of resources).
Another classification of CGs is based on the sets of strategies available to the players:
- In symmetric CGs, all players have the same set of possible strategies, as in Pigou's example above.
- In asymmetric CGs, different players may have different sets of possible strategies, such as drivers with different source and destination locations.
Moreover:
- In singleton CGs, every strategy of every player is a singleton set. That is: each players chooses a single resource.
- In network CGs, there is an underlying graph, and every strategy of every player is a simple path in the graph. If the CG is symmetric, then all players have the same source and destination; if it is asymmetric, then different players may have different sources or destinations.
Atomic congestion games
Christodoulou and Koutsoupias[2] analyzed atomic unweighted CGs. They proved that the PoA when all delay functions are linear is exactly 2.5 (that is: the PoA is always at most 2.5, and in some cases it is exactly 2.5). They also gave upper and lower bounds for PoA when the delay functions are polynomials of bounded degree. In another paper, Christodoulou and Koutsoupias[3] analyzed the PoS of atomic unweighted congestion games with linear delay functions. They proved that the PoS is at most 1.6, and showed an example in which the PoS is 1.577. They also showed that the PoA of correlated equilibria in this case is exactly 2.5 for unweighted games and exactly 2.618 for weighed games.
Awerbuch, Azar and Epstein[4] analyzed analyzed atomic weighted CGs. They proved that the PoA when all delay functions are linear is exactly 2.618. They also showed that, when the delay functions are polynomials of degree d, the PoA is in
.
, Dumrauf, Gairing, Monien and Schoppmann[5] computed the exact PoA for atomic CGs, for delay functions that are polynomials of degree at most d:
- For unweighted games, the PoA is
, where
is the unique nonnegative real solution to
. Note that
is the
Golden ratio, and
grows like
}\right). So the PoA is in
}\right)^.
- For weighted games, the PoA is
, where
. Asymptotically, this still grows like
}\right)^.The same bounds hold whenever no player can improve his
expected cost by a unilateral deviation. Therefore, the worst-case PoA are the same with respect to pure Nash equilibrium, mixed Nash equilibrium,
correlated equilibrium and coarse-correlated equilibrium. Moreover, the bounds hold for unweighted and weighted
network congestion games.
Bhawalkar, Gairing and Roughgarden[6] analyze weighed CGs, and show how to compute the PoA for any class of cost functions (not necessarily polynomial). They also show that, under mild conditions on the allowable delay functions, the PoA with respect to pure Nash equilibria, mixed Nash equilibria, correlated equilibria and coarse correlated equilibria are always equal. They also show that, with polynomial cost functions, the worst-case PoA is attained on a simple network, consisting only of a set of parallel edges. They also show that the PoA of symmetric unweighted congestion games is always equal to the asymmetric ones.
Further results
De-Jong and Uetz[7] study sequential CGs, in which players pick their strategies sequentially rather than simultaneously. They analyze the PoA of subgame perfect equilibrium. They show that the sequential PoA with affine cost functions is exactly 1.5 for two players and ≈2.13 for three players, and at least 2.46 for four players. For singleton congestion games with affine cost functions, when there are n players, the sequential PoA is at most n-1; when
, the sequential PoA is at least 2+1/e ≈
2.37. For symmetric singleton atomic congestion games with affine cost functions, the sequential PoA is exactly
4/3.
Fotakis[8] studies the PoA of CGs with linearly-independent paths, which is an extension of the setting of parallel links.
Law, Huang and Liu[9] study the PoA of CGs in cognitive radio networks.
Gairing, Burkhard and Karsten[10] study the PoA of CGs with player-specific linear delay functions.
Mlichtaich[11] analyzes the effect of network topology on the efficiency of PNE in atomic CGs:
- A graph G guarantees that every PNE is Pareto-efficient, iff three simple "forbidden networks" are not embedded in G.
- A graph G guarantees that Braess's paradox does not occur, iff it is a series-parallel graph.
PoA of nonatomic congestion games
Roughgarden and Tardos[12] analyzed nonatomic CGs. They showed that, when the delay functions are polynomials of degree at most d, the PoA is in
}\right), which is substantially smaller than the PoA of atomic games. In particular, when
d=1, the PoA is 4/3; this shows that Pigou's simple example is the worst case for linear delay functions.
Chau and Sim[13] extend the results of Roughgarden and Tardos by (1) considering symmetric cost maps and (2) incorporating elastic demands.
Correa, Schulz and Stier-Moses[14] present a short, geometric proof to the results on PoA for nonatomic CGs. They also give stronger bounds on the PoA when equilibrium costs are within reasonable limits of the fixed costs.
Blum, Even-Dar and Ligett[15] showed that all these PoA bounds apply under relatively weak behavioral assumptions: it is sufficient that all users achieve vanishing average regret over repeated plays of the game.
A useful concept in the analysis of PoA is smoothness. A delay function d is called
-smooth
if for all
,
. If the delay is
smooth,
is a Nash equilibrium, and
is an optimal allocation, then style\sumexede(xe)\leq
\sume
de(x
. In other words, the price of anarchy is
.[16] Mlichtaich[17] analyzed singleton nonatomic CGs, with the following additional characteristics:
- The utility of each player is composed of two parts: a player-specific value, minus a resource-specific delay. Formally, if player i chooses resource e, then
, where
is the intrinsic value
i assigns to
e.
are strictly increasing.
- The marginal social cost of congestion in any resource e (defined as the derivative
) is strictly-increasing.In such games, the equilibrium payoffs are always unique and Pareto-efficient, but may not maximize the sum of utilities. Moreover:
- If there are at least three resources, the equilibrium maximizes the sum (that is, PoS=PoA=1) iff the delay functions are logarithmic. For non-logarithmic delay functions, there are always fixed utilities or costs for which no equilibrium maximizes the sum of utilities (PoS>1, which implies PoA>1). When there are only two resources, the class of delay functions for which PoA=1 is somewhat larger.
- If the delay functions are not “too” convex, then it is possible to maximize the sum of utilities using a negotiation process, and there is an explicit formula which specifies the share of the maximum aggregate utility that should be allocated to each group of players.
PoA of splittable congestion games
Roughgarden and Schoppmann[18] analyzed splittable congestion games. They showed that, when the delay functions are polynomials of degree at most d, the PoA is in
}\right)^. In particular, when
d=1, the PoA is at most 3/2. The PoA for splittable games is smaller than for atomic games, but larger than nonatomic games. For example:
- When d=1, the PoA is 1.333 for nonatomic games, 1.5 for splittable games and 2.5 for atomic games;
- When d=8, the PoA is 3.081 for nonatomic games, 512 for splittable games, and 1,101,126 for atomic games.
PoA with altruistic players
The basic CG model assumes that players are selfish - they care only about their own payoff. In fact, players may be altruistic and care about the social cost too. This can be modeled by assuming that the actual cost of each player is a weighted average of his own delay and the total delay. Altruism may have surprising effects on the system efficiency:
- In atomic CGs, in general, even partial altruism may harm the overall efficiency. However, in the special case of symmetric load-balancing games, optimal efficiency can be attained by balancing selfishness and altruism.[19]
- In atomic CGs and cost sharing games, the robust PoA worsens with increasing altruism, whereas for valid utility games, it is not affected by altruism. But in general nonatomic CGs with uniform altruism, the PoA improves with increasing altruism. For atomic and nonatomic singleton CGs, there are bounds on the pure PoA that improve with the average altruism.[20]
There are other papers studying the effect of altruism on the PoA.[21] [22] An alternative way to measure the effect of altruism on efficiency is via comparative statics: in a single game (not necessarily worst-case one), how does increasing the altruism coefficient affect the social cost?[23] [24] For some classes of CGs, the effect of altruism on efficiency may be negative.[25]
See also
- Congestion pricing - a tax that aims to increase the efficiency in congested networks.
- Externality - a general discussion of the inefficiency caused by selfish behaviour.
Notes and References
- Book: A., Pigou . The Economics of Welfare . 1920 . en.
- Book: Christodoulou . George . Koutsoupias . Elias . Proceedings of the thirty-seventh annual ACM symposium on Theory of computing . The price of anarchy of finite congestion games . 2005-05-22 . https://doi.org/10.1145/1060590.1060600 . STOC '05 . New York, NY, USA . Association for Computing Machinery . 67–73 . 10.1145/1060590.1060600 . 978-1-58113-960-0. 2670556 .
- Book: Christodoulou . George . Koutsoupias . Elias . Algorithms – ESA 2005 . On the Price of Anarchy and Stability of Correlated Equilibria of Linear Congestion Games . 2005 . Brodal . Gerth Stølting . Leonardi . Stefano . https://link.springer.com/chapter/10.1007/11561071_8 . Lecture Notes in Computer Science . 3669 . en . Berlin, Heidelberg . Springer . 59–70 . 10.1007/11561071_8 . 978-3-540-31951-1.
- Book: Awerbuch . Baruch . Azar . Yossi . Epstein . Amir . Proceedings of the thirty-seventh annual ACM symposium on Theory of computing . The Price of Routing Unsplittable Flow . 2005-05-22 . https://doi.org/10.1145/1060590.1060599 . STOC '05 . New York, NY, USA . Association for Computing Machinery . 57–66 . 10.1145/1060590.1060599 . 978-1-58113-960-0. 379922 .
- Aland . Sebastian . Dumrauf . Dominic . Gairing . Martin . Monien . Burkhard . Schoppmann . Florian . January 2011 . Exact Price of Anarchy for Polynomial Congestion Games . SIAM Journal on Computing . en . 40 . 5 . 1211–1233 . 10.1137/090748986 . 0097-5397.
- Bhawalkar . Kshipra . Gairing . Martin . Roughgarden . Tim . 2014-10-28 . Weighted Congestion Games: The Price of Anarchy, Universal Worst-Case Examples, and Tightness . ACM Transactions on Economics and Computation . 2 . 4 . 14:1–14:23 . 10.1145/2629666 . 2292866 . 2167-8375.
- Book: de Jong . Jasper . Uetz . Marc . Web and Internet Economics . The Sequential Price of Anarchy for Atomic Congestion Games . 2014 . Liu . Tie-Yan . Qi . Qi . Ye . Yinyu . https://research.utwente.nl/en/publications/the-sequential-price-of-anarchy-for-atomic-congestion-games(12ab2cd2-d0f3-4a72-aaba-8fba9338d91d).html . Lecture Notes in Computer Science . 8877 . en . Cham . Springer International Publishing . 429–434 . 10.1007/978-3-319-13129-0_35 . 978-3-319-13129-0.
- Fotakis . Dimitris . 2010-07-01 . Congestion Games with Linearly Independent Paths: Convergence Time and Price of Anarchy . Theory of Computing Systems . en . 47 . 1 . 113–136 . 10.1007/s00224-009-9205-7 . 1166496 . 1433-0490.
- Law . Lok Man . Huang . Jianwei . Liu . Mingyan . October 2012 . Price of Anarchy for Congestion Games in Cognitive Radio Networks . IEEE Transactions on Wireless Communications . 11 . 10 . 3778–3787 . 10.1109/TWC.2012.083112.120371 . 11916283 . 1558-2248.
- Book: Gairing . Martin . Monien . Burkhard . Tiemann . Karsten . Automata, Languages and Programming . Routing (Un-) Splittable Flow in Games with Player-Specific Linear Latency Functions . 2006 . Bugliesi . Michele . Preneel . Bart . Sassone . Vladimiro . Wegener . Ingo . https://link.springer.com/chapter/10.1007/11786986_44 . Lecture Notes in Computer Science . 4051 . en . Berlin, Heidelberg . Springer . 501–512 . 10.1007/11786986_44 . 978-3-540-35905-0.
- Milchtaich . Igal . 2006-11-01 . Network topology and the efficiency of equilibrium . Games and Economic Behavior . en . 57 . 2 . 321–346 . 10.1016/j.geb.2005.09.005 . 0899-8256. 10419/259308 . free .
- Roughgarden . Tim . Tardos . Éva . 2004-05-01 . Bounding the inefficiency of equilibria in nonatomic congestion games . Games and Economic Behavior . en . 47 . 2 . 389–403 . 10.1016/j.geb.2003.06.004 . 10778635 . 0899-8256.
- Chau . Chi Kin . Sim . Kwang Mong . 2003-09-01 . The price of anarchy for non-atomic congestion games with symmetric cost maps and elastic demands . Operations Research Letters . en . 31 . 5 . 327–334 . 10.1016/S0167-6377(03)00030-0 . 0167-6377.
- Correa . José R. . Schulz . Andreas S. . Stier-Moses . Nicolás E. . 2008-11-01 . A geometric approach to the price of anarchy in nonatomic congestion games . Games and Economic Behavior . Special Issue in Honor of Michael B. Maschler . en . 64 . 2 . 457–469 . 10.1016/j.geb.2008.01.001 . 1175580 . 0899-8256.
- Book: Blum . Avrim . Even-Dar . Eyal . Ligett . Katrina . Proceedings of the twenty-fifth annual ACM symposium on Principles of distributed computing . Routing without regret . 2006-07-23 . https://doi.org/10.1145/1146381.1146392 . PODC '06 . New York, NY, USA . Association for Computing Machinery . 45–52 . 10.1145/1146381.1146392 . 978-1-59593-384-3. 2352710 .
- Eva Tardos, Lecture notes: Price of Anarchy in nonatomic congestion games, Spring 2012.
- Milchtaich . Igal . 2004-01-01 . Social optimality and cooperation in nonatomic congestion games . Journal of Economic Theory . en . 114 . 1 . 56–87 . 10.1016/S0022-0531(03)00106-6 . 0022-0531.
- Roughgarden . Tim . Schoppmann . Florian . 2015-03-01 . Local smoothness and the price of anarchy in splittable congestion games . Journal of Economic Theory . Computer Science and Economic Theory . en . 156 . 317–342 . 10.1016/j.jet.2014.04.005 . 0022-0531.
- Book: Caragiannis . Ioannis . Kaklamanis . Christos . Kanellopoulos . Panagiotis . Kyropoulou . Maria . Papaioannou . Evi . Trustworthly Global Computing . The Impact of Altruism on the Efficiency of Atomic Congestion Games . 2010 . Wirsing . Martin . Hofmann . Martin . Rauschmayer . Axel . https://link.springer.com/chapter/10.1007/978-3-642-15640-3_12 . Lecture Notes in Computer Science . 6084 . en . Berlin, Heidelberg . Springer . 172–188 . 10.1007/978-3-642-15640-3_12 . 978-3-642-15640-3.
- Chen . Po-An . Keijzer . Bart De . Kempe . David . Schäfer . Guido . 2014-10-28 . Altruism and Its Impact on the Price of Anarchy . ACM Transactions on Economics and Computation . 2 . 4 . 17:1–17:45 . 10.1145/2597893 . 9160585 . 2167-8375.
- Book: Chen . Po-An . Kempe . David . Proceedings of the 9th ACM conference on Electronic commerce . Altruism, selfishness, and spite in traffic routing . 2008-07-08 . https://doi.org/10.1145/1386790.1386816 . EC '08 . New York, NY, USA . Association for Computing Machinery . 140–149 . 10.1145/1386790.1386816 . 978-1-60558-169-9. 6999363 .
- Hoefer . Martin . Skopalik . Alexander . 2013-12-01 . Altruism in Atomic Congestion Games . ACM Transactions on Economics and Computation . 1 . 4 . 21:1–21:21 . 10.1145/2542174.2542177 . 13835397 . 2167-8375. 0807.2011 .
- Milchtaich . Igal . 2021-03-01 . Internalization of social cost in congestion games . Economic Theory . en . 71 . 2 . 717–760 . 10.1007/s00199-020-01274-0 . 253723298 . 1432-0479.
- Milchtaich . Igal . 2006-03-01 . Comparative statics of games between relatives . Theoretical Population Biology . en . 69 . 2 . 203–210 . 10.1016/j.tpb.2005.08.002 . 16194555 . 0040-5809.
- Milchtaich . Igal . 2012-07-01 . Comparative statics of altruism and spite . Games and Economic Behavior . en . 75 . 2 . 809–831 . 10.1016/j.geb.2012.02.015 . 0899-8256.