Quantitative investing

Shapley values

glossary-shapley-values.png

Where

φi is the Shapley value for player i
N is the set of all players and N\{i} is the set of all players excluding player i
n is the number of players in set N: the total number of all players
S is any subset of the set of all players excluding player i
v(S) is the payoff for a coalition consisting of the players in set S

Shapley values are a concept borrowed from game theory. Regarding the latter, the game constitutes a setting in which players contribute to an overall outcome (payoff). In terms of this, Shapley values are used to distribute the gains or costs fairly across several players cooperating in coalitions. Effectively, they are the average marginal contributions (gains or costs) for all players, when all possible coalitions have been taken into account.

For example, take two individuals (A and B) who would like to Uber home after work. If they do so separately, the cost for A is EUR 10 and for B EUR 15 given varying distances. However, if they share the ride, the fare amounts to EUR 20. With Shapley values, you can calculate how this should be split fairly between the two individuals. In this scenario, the players (A and B) form a coalition (carpool) and they play a game (Uber ride) to obtain a payoff/cost (EUR 20 fare).

In this setting, the Shapley values amount to the players’ average marginal contributions (or costs) across all possible orders in which the players can join the carpool arrangement, i.e., if A hails the ride first or if B is the first to request it. If A books the Uber, her marginal contribution will be EUR 10. Given that B joins the carpool as the second individual, his contribution will also be EUR 10 as that the total cost of the ride is EUR 20. But if B hails the ride, his marginal contribution will be EUR 15 and A will contribute the remaining EUR 5. Therefore, the Shapley values would then amount to EUR 7.5 for A – (10+5)/2 – and EUR 12.5 for B – (10+15)/2.

Shapley values have many applications, including machine learning (ML). In terms of our quant investing platform, we use them in interpreting our ML models. For example, they can help us to determine which variables (features) are the most impactful in our models and rank them in terms of importance. They can also shed light on the outputs generated by our models by deconstructing the marginal contributions of features, thus allowing us to better understand the economic rationale behind our model predictions.

As technology advances, so do the opportunities for quantitative investors. By incorporating more data and leveraging advanced modelling techniques, we can develop deeper insights and enhance decision-making.

Let's keep the conversation going

Keep track of fast-moving events in sustainable and quantitative investing, trends and credits with our newsletters.

Stay updated
Robeco

Robeco aims to enable its clients to achieve their financial and sustainability goals by providing superior investment returns and solutions.

Important information
The Robeco Capital Growth Funds have not been registered under the United States Investment Company Act of 1940, as amended, nor or the United States Securities Act of 1933, as amended. None of the shares may be offered or sold, directly or indirectly in the United States or to any U.S. Person (within the meaning of Regulation S promulgated under the Securities Act of 1933, as amended (the “Securities Act”)). Furthermore, Robeco Institutional Asset Management B.V. (Robeco) does not provide investment advisory services, or hold itself out as providing investment advisory services, in the United States or to any U.S. Person (within the meaning of Regulation S promulgated under the Securities Act).
This website is intended for use only by non-U.S. Persons outside of the United States (within the meaning of Regulation S promulgated under the Securities Act who are professional investors, or professional fiduciaries representing such non-U.S. Person investors. By clicking “I Agree” on our website disclaimer and accessing the information on this website, including any subdomain thereof, you are certifying and agreeing to the following: (i) you have read, understood and agree to this disclaimer, (ii) you have informed yourself of any applicable legal restrictions and represent that by accessing the information contained on this website, you are not in violation of, and will not be causing Robeco or any of its affiliated entities or issuers to violate, any applicable laws and, as a result, you are legally authorized to access such information on behalf of yourself and any underlying investment advisory client, (iii) you understand and acknowledge that certain information presented herein relates to securities that have not been registered under the Securities Act, and may be offered or sold only outside the United States and only to, or for the account or benefit of, non-U.S. Persons (within the meaning of Regulation S under the Securities Act), (iv) you are, or are a discretionary investment adviser representing, a non-U.S. Person (within the meaning of Regulation S under the Securities Act) located outside of the United States and (v) you are, or are a discretionary investment adviser representing, a professional non-retail investor.


Access to this website has been limited so that it shall not constitute directed selling efforts (as defined in Regulation S under the Securities Act) in the United States and so that it shall not be deemed to constitute Robeco holding itself out generally to the public in the U.S. as an investment adviser. Nothing contained herein constitutes an offer to sell securities or solicitation of an offer to purchase any securities in any jurisdiction. We reserve the right to deny access to any visitor, including, but not limited to, those visitors with IP addresses residing in the United States. This website has been carefully prepared by Robeco. The information contained in this publication is based upon sources of information believed to be reliable. Robeco is not answerable for the accuracy or completeness of the facts, opinions, expectations and results referred to therein. Whilst every care has been taken in the preparation of this website, we do not accept any responsibility for damage of any kind resulting from incorrect or incomplete information. This website is subject to change without notice. The value of the investments may fluctuate. Past performance is no guarantee of future results. If the currency in which the past performance is displayed differs from the currency of the country in which you reside, then you should be aware that due to exchange rate fluctuations the performance shown may increase or decrease if converted into your local currency. For investment professional use only. Not for use by the general public.