Definitionintro
Shapley value
Also called Shapley value of a cooperative game.
Pays each player its marginal contribution averaged over all orders in which the players can join the grand coalition.
The Shapley value is a way to divide the worth of a transferable utility game among its players. Each player gets its marginal contribution, averaged over all orders in which the players can arrive. Shapley (1953) showed that it is the only rule with four natural properties; that result is the Shapley uniqueness theorem. Unlike the core and the nucleolus, the Shapley value is defined by a closed formula, it exists for every game, and it does not ask for stability against coalitions. On simple games it is the Shapley-Shubik power index.
Definition
A TU game is a pair with the players and a function that gives a real number to each coalition , with . For a player and a coalition with , the number is the marginal contribution of to .
Let be an order of the players, a permutation of , and let be the set of the players that come before in . The Shapley value of is
where the sum is over all orders. Think of the players as arriving one at a time in the order , each one paid the amount that it adds to the worth of the players already there. The Shapley value is the expected payment when the order is uniform at random.
For a fixed with , the number of orders with is : the players of come first in any order, then , then the others in any order. So the same value is
This subset formula has terms per player, where the order formula has .
A third form uses the unanimity games. For a nonempty , the game has if and if not. Every game is a unique sum , with the Harsanyi dividends (this is Möbius inversion on the subsets of ). Then
each dividend is split equally among the members of its coalition.
The Shapley value has these properties for all games and on :
- Efficiency. . Along each order the marginal contributions telescope to .
- Symmetry. If for every that contains neither nor , then .
- Null player. If for every , then .
- Additivity. .
The uniqueness theorem shows that no other rule has all four. The value is also individually rational for superadditive games (, because each marginal contribution of is at least there), and it lies in the core of every convex game (Shapley's theorem on convex games).
For a cost game , where is the cost of serving , the same formula applied to gives cost shares that sum to . The airport game is the standard example.
Computation. With given as a table or as an oracle, the subset formula costs marginal contributions per player, and the exact value needs exponentially many values of in general. For compact inputs the cost depends on the input: it is linear in the size of a marginal contribution net, pseudo-polynomial for a weighted voting game by dynamic programming, and #P-hard for weighted voting games with binary weights (hardness of power indices). Sampling random orders gives an unbiased estimate with a Hoeffding error bound.
Examples and non-examples
A three-player game. Let , , , , and for the other coalitions. The marginal contributions in the six orders are:
| order | player 1 | player 2 | player 3 |
|---|---|---|---|
| 1, 2, 3 | 0 | 4 | 2 |
| 1, 3, 2 | 0 | 4 | 2 |
| 2, 1, 3 | 4 | 0 | 2 |
| 2, 3, 1 | 6 | 0 | 0 |
| 3, 1, 2 | 2 | 4 | 0 |
| 3, 2, 1 | 6 | 0 | 0 |
| sum | 18 | 12 | 6 |
So , which sums to . Each row sums to 6 too: one order alone already divides , but the rows differ, and only their mean treats the orders alike. The dividends give the same answer faster: , and every other dividend is 0, so . Player 1 gets , player 2 gets and player 3 gets .
The glove game. Player 1 has a left glove and players 2 and 3 each have a right glove. A pair is worth 1, so . Player 1 adds 1 in every order except the two in which it comes first, so . By symmetry and efficiency, . This is the same vector as the Shapley-Shubik index of the weighted voting game . The core of the glove game is the single point : if , then the coalition gets less than its worth 1. So the Shapley value is not in the core here. The value rewards the right gloves for their share in the orders, while the core lets the scarce left glove take everything.
Non-example: equal split. The rule is efficient, symmetric and additive, but it is not the Shapley value. In the three-player game above it gives , and it pays a null player: add a fourth player who adds nothing, and the equal split gives that player .
Non-example: one marginal vector. The marginal vector of one fixed order, for example for the order , is efficient and additive, and in a convex game it is even in the core. It is not symmetric, so it is not the Shapley value.
The Banzhaf value is a different average. The Banzhaf value of is the plain mean of the marginal contributions over , with no weights. In the three-player game the sums of the marginal contributions are 12, 8 and 4, so the Banzhaf value is , the same as the Shapley value. This is a property of the example: every dividend sits on a pair, and a pair's dividend is split in half by both rules. In general the Banzhaf value is not efficient; see the Banzhaf power index.
Related definitions
- Shapley-Shubik power index: the Shapley value of a simple game, the fraction of orders in which a player is the pivot.
- Banzhaf power index: the unweighted mean of the marginal contributions, on simple games.
- Owen's multilinear extension: the Shapley value is the integral of its gradient along the diagonal of the cube, and the Banzhaf value is its gradient at the center.
- Core and nucleolus: solution concepts based on the excesses of coalitions. The core can be empty and the nucleolus is always in the core when the core is nonempty; the Shapley value need not be in the core.
- Convex games: the Shapley value is the center of gravity of the marginal vectors, which are the vertices of the core.
- Sobol indices: the Shapley effects of sensitivity analysis are the Shapley value of a game whose worth is the variance that a set of inputs explains.
- Shapley network design game: a strategic game in which the cost of each edge is split by the Shapley value of a simple cost game, in equal shares among its users.
References
- Lloyd S. Shapley, A value for n-person games, in H. W. Kuhn and A. W. Tucker (eds.), Contributions to the Theory of Games II, Annals of Mathematics Studies 28, Princeton University Press, 1953, 307-317, the axioms of the value, the formula as an average over orders, and the proof that the value is unique
- Lloyd S. Shapley and Martin Shubik, A method for evaluating the distribution of power in a committee system, American Political Science Review 48(3) (1954), 787-792, the value applied to simple games, with the description by orders and pivots
- Michael Maschler, Eilon Solan and Shmuel Zamir, Game Theory, Cambridge University Press, 2013, Chapter 18, The Shapley value (Section 18.1 the properties, Section 18.3 the definition and the characterization)
- Yoav Shoham and Kevin Leyton-Brown, Multiagent Systems, Algorithmic, Game-Theoretic, and Logical Foundations, Cambridge University Press, 2009, Section 12.2.1, The Shapley value
- Georgios Chalkiadakis, Edith Elkind and Michael Wooldridge, Computational Aspects of Cooperative Game Theory, Morgan and Claypool, 2011, Chapter 2, Basic concepts (the Shapley value and the Banzhaf index), and Chapter 3, Representations and algorithms
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.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag 4T207Y Edit this page History Report an error Markdown