
The Shapley value is a
solution concept in cooperative
game theory
Game theory is the study of mathematical models of strategic interactions among rational agents. Myerson, Roger B. (1991). ''Game Theory: Analysis of Conflict,'' Harvard University Press, p.&nbs1 Chapter-preview links, ppvii–xi It has appli ...
. It was named in honor of
Lloyd Shapley, who introduced it in 1951 and won the
Nobel Memorial Prize in Economic Sciences for it in 2012. To each
cooperative game it assigns a unique distribution (among the players) of a total surplus generated by the coalition of all players. The Shapley value is characterized by a collection of desirable properties. Hart (1989) provides a survey of the subject.
The setup is as follows: a coalition of players cooperates, and obtains a certain overall gain from that cooperation. Since some players may contribute more to the coalition than others or may possess different bargaining power (for example threatening to destroy the whole surplus), what final distribution of generated surplus among the players should arise in any particular game? Or phrased differently: how important is each player to the overall cooperation, and what payoff can he or she reasonably expect? The Shapley value provides one possible answer to this question.
For cost-sharing games with concave cost functions, the optimal cost-sharing rule that optimizes the
price of anarchy, followed by the
price of stability, is precisely the Shapley value cost-sharing rule. (A symmetrical statement is similarly valid for utility-sharing games with convex utility functions.) In
mechanism design, this means that the Shapley value solution concept is optimal for these sets of games.
Formal definition
Formally, a coalitional game is defined as:
There is a set ''N'' (of ''n'' players) and a
function that maps subsets of players to the real numbers:
, with
, where
denotes the empty set. The function
is called a characteristic function.
The function
has the following meaning: if ''S'' is a coalition of players, then
(''S''), called the worth of coalition ''S'', describes the total expected sum of payoffs the members of
can obtain by cooperation.
The Shapley value is one way to distribute the total gains to the players, assuming that they all collaborate. It is a "fair" distribution in the sense that it is the only distribution with certain desirable properties listed below. According to the Shapley value, the amount that player ''i'' is given in a coalitional game
is
:
:
where ''n'' is the total number of players and the sum extends over all subsets ''S'' of ''N'' not containing player ''i''. Also note that
is the
multinomial coefficient. The formula can be interpreted as follows: imagine the coalition being formed one actor at a time, with each actor demanding their contribution
(''S''∪) −
(''S'') as a fair compensation, and then for each actor take the average of this contribution over the possible different
permutation
In mathematics, a permutation of a set is, loosely speaking, an arrangement of its members into a sequence or linear order, or if the set is already ordered, a rearrangement of its elements. The word "permutation" also refers to the act or proc ...
s in which the coalition can be formed.
An alternative equivalent formula for the Shapley value is:
: