Shane Chu


A primer on cooperative game theory and power indices

Cooperative game theory studies what happens when players form coalitions and produce value together, and asks how that value should be attributed back to the individual players. This is a plain reference for the standard definitions: cooperative games, the Shapley value and its axioms, the Banzhaf index, and the weighted-marginal-contribution form that contains both as special cases. Nothing here is new; for a full treatment see Maschler et al. (2013).

Cooperative games

A cooperative game is a pair (N,v)(\mathcal N, v), where N={1,,n}\mathcal N = \{1, \dots, n\} is a finite set of players and

v:2NR,v()=0v : 2^{\mathcal N} \rightarrow \mathbb R, \qquad v(\emptyset) = 0

is a characteristic function (or payoff function) that assigns a real value to every coalition SN\mathcal S \subseteq \mathcal N. The full set N\mathcal N is the grand coalition.

The value v(S)v(\mathcal S) is the payoff the players in S\mathcal S can secure by cooperating among themselves. A few standard restrictions on vv:

Marginal contributions

The marginal contribution of player ii to a coalition SN{i}\mathcal S \subseteq \mathcal N \setminus \{i\} is

Mi(S)=v(S{i})v(S).\mathcal M_i(\mathcal S) = v(\mathcal S \cup \{i\}) - v(\mathcal S).

Every index below is a weighted average of marginal contributions; the indices differ only in the weights.

The Shapley value

The Shapley value of player ii in the game (N,v)(\mathcal N, v) is

ϕi(v)=SN{i}S! (nS1)!n! Mi(S).\phi_i(v) = \sum_{\mathcal S \subseteq \mathcal N \setminus \{i\}} \frac{|\mathcal S|! \, (n - |\mathcal S| - 1)!}{n!} \, \mathcal M_i(\mathcal S).

Equivalently, averaging marginal contributions over all n!n! orderings of the players,

ϕi(v)=1n!πMi(Piπ),\phi_i(v) = \frac{1}{n!} \sum_{\pi} \mathcal M_i\big(P_i^{\pi}\big),

where the sum runs over all permutations π\pi of N\mathcal N and PiπP_i^{\pi} is the set of players preceding ii in π\pi. The intuition is the random-arrival picture: the players show up one at a time in a random order, each is credited with what it adds to those already present, and the Shapley value is a player's expected credit under a uniformly random order. The two forms are equal because exactly S! (nS1)!|\mathcal S|! \, (n - |\mathcal S| - 1)! orderings place the set S\mathcal S before ii and the rest after.

The Shapley value is characterized by four axioms (Shapley, 1953). State ϕ\phi as a map from games to payoff vectors in Rn\mathbb R^n.

Theorem (Shapley, 1953). The Shapley value is the unique map ϕ\phi satisfying efficiency, the null-player property, symmetry, and additivity.

An alternative characterization replaces additivity with marginality: a player's payoff depends only on its own marginal contributions.

Theorem (Young, 1985). The Shapley value is the unique map satisfying efficiency, symmetry, and marginality.

Simple games and the Banzhaf index

In a simple game, Mi(S){0,1}\mathcal M_i(\mathcal S) \in \{0, 1\}, and Mi(S)=1\mathcal M_i(\mathcal S) = 1 exactly when ii is a swing (or pivotal) player for S\mathcal S: the coalition S\mathcal S loses but S{i}\mathcal S \cup \{i\} wins.

The (absolute) Banzhaf index of player ii is

βi(v)=12 n1SN{i}Mi(S),\beta_i(v) = \frac{1}{2^{\,n-1}} \sum_{\mathcal S \subseteq \mathcal N \setminus \{i\}} \mathcal M_i(\mathcal S),

i.e. the fraction of coalitions for which ii is a swing player. The normalized Banzhaf index divides by jβj(v)\sum_{j} \beta_j(v) so the values sum to one.

Where the Shapley value averages over arrival orders, the Banzhaf index (Banzhaf, 1965) ignores order entirely and simply asks how often a player turns a losing coalition into a winning one. Applying the Shapley value to a simple game gives the Shapley-Shubik index. Both measure voting power, and they generally disagree because they weight coalitions differently.

The Banzhaf index satisfies the null-player, symmetry, and additivity axioms but not efficiency.

Power indices as weighted marginal contributions

Both indices have the form

ρi(v)=SN{i}ω(S) Mi(S),\rho_i(v) = \sum_{\mathcal S \subseteq \mathcal N \setminus \{i\}} \omega(|\mathcal S|) \, \mathcal M_i(\mathcal S),

differing only in the weight ω\omega:

This common form is the class of semivalues (Weber, 1988).

A semivalue is any map ρi(v)=SN{i}pS Mi(S)\rho_i(v) = \sum_{\mathcal S \subseteq \mathcal N \setminus \{i\}} p_{|\mathcal S|} \, \mathcal M_i(\mathcal S) whose weights ps0p_s \geq 0 satisfy

s=0n1(n1s) ps=1.\sum_{s=0}^{n-1} \binom{n-1}{s} \, p_s = 1.

The Shapley value is the unique efficient semivalue; the Banzhaf index is the semivalue with constant weights.

Values for groups of players

To score a coalition TN\mathcal T \subseteq \mathcal N rather than a single player, treat T\mathcal T as one composite player and apply the same machinery. The general weighted form becomes

ρ(T)=SNTω(S) (v(ST)v(S)),\rho(\mathcal T) = \sum_{\mathcal S \subseteq \mathcal N \setminus \mathcal T} \omega(\mathcal S) \, \big(v(\mathcal S \cup \mathcal T) - v(\mathcal S)\big),

with the Shapley weight generalizing to ω(S)=S! T! (nST)!n!\omega(\mathcal S) = \frac{|\mathcal S|! \, |\mathcal T|! \, (n - |\mathcal S| - |\mathcal T|)!}{n!}. Values tailored to group structure also exist, but the composite-player view covers the common case.

Computation

The exact formulas sum over 2 n12^{\,n-1} subsets, so direct evaluation is exponential in nn. For weighted voting games, computing the Banzhaf and Shapley-Shubik indices is #P-hard / NP-hard (Deng and Papadimitriou, 1994), though dynamic programming over integer weights gives a pseudo-polynomial algorithm. In general, the permutation form is estimated by Monte Carlo sampling over orderings (Castro et al., 2009).

References

Contact me by E-mail | Github | Linkedin
This work is licensed under CC BY-SA 4.0. Last modified: June 14, 2026.
Website built with Franklin.jl and the Julia language.