User:IssaRice/Shapley value: Difference between revisions
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
So in what sense is the shapley value an average? if <math>N = \{1, \ldots, n\}</math> is the set of players, then we can define the set of all permutations <math>\mathrm{Sym}(N)</math> on <math>N</math>. (This is also denoted as <math>\mathrm{Sym}(n)</math> and called the "symmetric group of degree n" since <math>N = \{1, \ldots, n\}</math> is the "default" set of size n.) | So in what sense is the shapley value an average? if <math>N = \{1, \ldots, n\}</math> is the set of players, then we can define the set of all permutations <math>\mathrm{Sym}(N)</math> on <math>N</math>. (This is also denoted as <math>\mathrm{Sym}(n)</math> and called the "symmetric group of degree n" since <math>N = \{1, \ldots, n\}</math> is the "default" set of size n.) | ||
Now, let's take the ugly-ass formula for the shapley value that you always see: | |||
<math>\frac{1}{n!} \sum_{S \subseteq N \setminus \{i\}} |S|! (n - |S| - 1)! (v(S \cup \{i\}) - v(S))</math> | |||
the Shapley value is <math>\frac{1}{|\mathrm{Sym}(n)|} \sum_{\sigma \in \mathrm{Sym}(n)} f_i(\sigma(1), \ldots, \sigma(n))</math> | the Shapley value is <math>\frac{1}{|\mathrm{Sym}(n)|} \sum_{\sigma \in \mathrm{Sym}(n)} f_i(\sigma(1), \ldots, \sigma(n))</math> |
Revision as of 04:20, 8 April 2023
most expositions of the Shapley value SUCK BALLS because they try to sum over the subsets excluding the playing in question (usually called "player i"). so here we go, here's a TRUE REDPILLED exposition of the shapley value!
first of all, what's the shapley value even trying to do? once we understand it in words, we can just convert our verbal understanding into symbols. and then we will be done.
...
So, the shapley value is an average. but what kind of average? an arithmetic average. well, an arithmetic average takes a specific form. it looks like this. if you're averaging the elements of some set , then the arithmetic average is
We throw in the function f because the elements of X might not be numbers. or even if they are numbers, you might want to apply some weighting other than the default one (the identity function).
So in what sense is the shapley value an average? if is the set of players, then we can define the set of all permutations on . (This is also denoted as and called the "symmetric group of degree n" since is the "default" set of size n.)
Now, let's take the ugly-ass formula for the shapley value that you always see:
the Shapley value is