GO-V.ORG
As seen in

Shapley value

In cooperative game theory, the Shapley value is a method (solution concept) for fairly distributing the total gains or costs among a group of players who have collaborated. For example, in a team project where each member contributed differently, the Shapley value provides a way to determine how much credit or blame each member deserves. It was named in honor of Lloyd Shapley, who introduced it in 1951. The Shapley value determines each player's contribution by considering how much the overall outcome changes when they join each possible combination of other players, and then averaging those changes. In essence, it calculates each player's average marginal contribution across all possible... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

In cooperative game theory, the Shapley value is a method (solution concept) for fairly distributing the total gains or costs among a group of players who have collaborated. For example, in a team project where each member contributed differently, the Shapley value provides a way to determine how much credit or blame each member deserves. It was named in honor of Lloyd Shapley, who introduced it in 1951. The Shapley value determines each player's contribution by considering how much the overall outcome changes when they join each possible combination of other players, and then averaging those changes. In essence, it calculates each player's average marginal contribution across all possible coalitions. It is the only solution that satisfies four fundamental properties: efficiency, symmetry, additivity, and the dummy player (or null player) property, which are widely accepted as defining a fair distribution. This method is used in many fields, from dividing profits in business partnerships to understanding feature importance in machine learning. \varphi_i(v)=\sum_{S \subseteq N \setminus \{i\}} \frac ^{-1} (v(S\cup\{i\})-v(S)) where n is the total number of players and the sum extends over all subsets S of N not containing player i , including the empty set. Also note that {n \choose k} is the binomial coefficient. The formula can be interpreted as follows: imagine the coalition is formed one actor at a time, with each actor demanding their contribution v(S\cup \{ i \} ) - v(S) as a fair compensation, and then for each actor take the average of this contribution over the possible different permutations in which the coalition can be formed. An alternative, equivalent formula for the Shapley value is: \varphi_i(v)= \frac{1}{n!}\sum_R\left [ v(P_i^R \cup \left \{ i \right \}) - v(P_i^R) \right ] where the sum ranges over all n! orders R of the players and P_i^R is the set of players in N which precede i in the order R . v(S) = \sum_{R \subseteq S } w(R) for any subset S \subseteq N of players. In other words, the 'total value' of the coalition S comes from summing up the synergies of each possible subset of S . Given a characteristic function v , the synergy function w is calculated via w(S) = \sum_{R \subseteq S } (-1)^ v(R) using the Inclusion exclusion principle. The Shapley values are given in terms of the synergy function by \varphi_i(v) = \sum_{i \in S \subseteq N } \frac{w(S)} where the sum is over all subsets S of N that include player i . This can be interpreted as \varphi_i(v) = \sum_{\text{coalitions including i}} \frac{\text{synergy of the coalition}}{\text{number of members in the coalition}} In other words, the synergy of each coalition is divided equally between all members. This can be interpreted visually with a Venn diagram. In the first example diagram above, each region has been labeled with the synergy bonus of the corresponding coalition. The total value produced by a coalition is the sum of synergy bonuses of the composing subcoalitions - in the example, the coalition of the players labeled "You" and "Emma" would produce a profit of 30+20+40=90 dollars, as compared to their individual profits of 30 and 20 dollars respectively. The synergies are then split equally among each member of the subcoalition that contributes that synergy - as displayed in the second diagram. N = \{o, w_1,\ldots,w_m\}. The value function for this coalitional game is v(S) = \begin{cases} (|S|-1)p & \text{if }o \in S\;,\\ 0 & \text{otherwise}\;.\\ \end{cases} Computing the Shapley value for this coalition game leads to a value of for the owner and for each one of the m workers. This can be understood from the perspective of synergy. The synergy function w is w(S) = \begin{cases} p, & \text{if } S = \{ o, w_i \} \\ 0, & \text{otherwise}\\ \end{cases} so the only coalitions that generate synergy are one-to-one between the owner and any individual worker. Using the above formula for the Shapley value in terms of w we compute \varphi_{w_i} = \frac{w(\{o, w_i \})}{2} = \frac{p }{2} and \varphi_o = \sum_{i=1}^m \frac{w(\{o, w_i \})}{2} = \frac{m p }{2} The result can also be understood from the perspective of averaging over all orders. A given worker joins the coalition after the owner (and therefore contributes p) in half of the orders and thus makes an average contribution of \frac p2 upon joining. When the owner joins, on average half the workers have already joined, so the owner's average contribution upon joining is \frac{mp}2 . N = \{1, 2, 3\}, where players 1 and 2 have right-hand gloves and player 3 has a left-hand glove. The value function for this coalitional game is v(S) = \begin{cases} 1 & \text{if }S \in \left\{ \{1,3\},\{2,3\},\{1,2,3\} \right\};\\ 0 & \text{otherwise}.\\ \end{cases} The formula for calculating the Shapley value is \varphi_i(v)= \frac{1} \text{Order }R\,\! & MC_1 \\ \hline {1,2,3} &v(\{1\}) - v(\varnothing) = 0 - 0 = 0 \\ {1,3,2} &v(\{1\}) - v(\varnothing) = 0 - 0 = 0 \\ {2,1,3} &v(\{1,2\}) - v(\{2\}) = 0 - 0 = 0 \\ {2,3,1} &v(\{1,2,3\}) - v(\{2,3\}) = 1 - 1 = 0 \\ {3,1,2} &v(\{1,3\}) - v(\{3\}) = 1 - 0 =1 \\ {3,2,1} &v(\{1,3,2\}) - v(\{3,2\}) = 1 - 1 = 0 \end{array} Observe \varphi_1(v)= \!\left(\frac{1}{6}\right)(1)=\frac{1}{6}. By a symmetry argument it can be shown that \varphi_2(v)=\varphi_1(v)=\frac{1}{6}. Due to the efficiency axiom, the sum of all the Shapley values is equal to 1, which means that \varphi_3(v) = \frac{4}{6} = \frac{2}{3}. \sum_{i\in N}\varphi_i(v) = v(N) Proof: \sum_{i\in N} \varphi_i(v) = \frac{1} v( S \cup T ) \; . In terms of the synergy function w above, this reads \varphi_C(v) = \sum_{C \subseteq T \subseteq N} \frac{w(T)} ^n \frac{1}{t} Each value \varphi_{ij}(v) represents the value of player i to player j . This matrix satisfies \varphi_i(v) = \sum_{j \in N} \varphi_{ij}(v) i.e. the value of player i to the whole game is the sum of their value to all individual players. In terms of the synergy w defined above, this reads \varphi_{ij}(v) = \sum_{\{i, j\} \subseteq S \subseteq N} \frac{w(S)}{|S|^2} where the sum goes over all subsets S of N that contain i and j . This can be interpreted as sum over all subsets that contain players i and j , where for each subset S you take the synergy w(S) of that subset divide it by the number of players in the subset |S| . Interpret that as the surplus value player i gains from this coalition further divide this by |S| to get the part of player i 's value that's attributed to player j In other words, the synergy value of each coalition is evenly divided among all |S|^2 pairs (i, j) of players in that coalition, where i generates surplus for j . == Shapley value regression== Shapley value regression is a statistical method used to measure the contribution of individual predictors in a regression model. In this context, the "players" are the individual predictors or variables in the model, and the "gain" is the total explained variance or predictive power of the model. This method ensures a fair distribution of the total gain among the predictors, attributing each predictor a value representing its contribution to the model's performance. Shapley value contributions are recognized for their balance of stability and discriminating power, which make them suitable for accurately measuring the importance of service attributes in market research. Several studies have applied Shapley value regression to key drivers analysis in marketing research. Pokryshevskaya and Antipov (2012) utilized this method to analyze online customers' repeat purchase intentions, demonstrating its effectiveness in understanding consumer behavior. Similarly, Antipov and Pokryshevskaya (2014) applied Shapley value regression to explain differences in recommendation rates for hotels in south Cyprus, highlighting its utility in the hospitality industry. Further validation of the benefits of Shapley value in key-driver analysis is provided by Vriens, Vidden, and Bosch (2021), who underscored its advantages in applied marketing analytics. Calculating a Taxi Fare using the Shapley Value

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Shapley value". 1784180655. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1364397219

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·