Direct reciprocity is a powerful mechanism for the evolution of cooperation on the basis of repeated interactions1,2,3,4. It requires that interacting individuals are sufficiently equal, such that everyone faces similar consequences when they cooperate or defect. Yet inequality is ubiquitous among humans5,6 and is generally considered to undermine cooperation and welfare7,8,9,10. Most previous models of reciprocity do not include inequality11,12,13,14,15. These models assume that individuals are the same in all relevant aspects. Here we introduce a general framework to study direct reciprocity among unequal individuals. Our model allows for multiple sources of inequality. Subjects can differ in their endowments, their productivities and in how much they benefit from public goods. We find that extreme inequality prevents cooperation. But if subjects differ in productivity, some endowment inequality can be necessary for cooperation to prevail. Our mathematical predictions are supported by a behavioural experiment in which we vary the endowments and productivities of the subjects. We observe that overall welfare is maximized when the two sources of heterogeneity are aligned, such that more productive individuals receive higher endowments. By contrast, when endowments and productivities are misaligned, cooperation quickly breaks down. Our findings have implications for policy-makers concerned with equity, efficiency and the provisioning of public goods.
This is a preview of subscription content, access via your institution
Open Access articles citing this article.
Scientific Reports Open Access 25 January 2023
Nature Communications Open Access 27 October 2022
Scientific Reports Open Access 26 April 2022
Subscribe to Nature+
Get immediate online access to Nature and 55 other Nature journal
Subscribe to Journal
Get full journal access for 1 year
only $3.90 per issue
All prices are NET prices.
VAT will be added later in the checkout.
Tax calculation will be finalised during checkout.
Get time limited or full article access on ReadCube.
All prices are NET prices.
All evolutionary simulations and numerical calculations have been performed with MATLAB R2014A. We provide the respective scripts in the Supplementary Information. These scripts can be used to compute the payoffs of the players, to simulate the introspection dynamics and to numerically compute the expected dynamics.
Trivers, R. L. The evolution of reciprocal altruism. Q. Rev. Biol. 46, 35–57 (1971).
Axelrod, R. The Evolution of Cooperation (Basic Books, 1984).
Sigmund, K. The Calculus of Selfishness (Princeton Univ. Press, 2010).
Nowak, M. A. Five rules for the evolution of cooperation. Science 314, 1560–1563 (2006).
Piketty, T. & Saez, E. Inequality in the long run. Science 344, 838–843 (2014).
Scheffer, M., van Bavel, B., van de Leemput, I. A. & van Nes, E. H. Inequality in nature and society. Proc. Natl Acad. Sci. USA 114, 13154–13157 (2017).
Cherry, T. L., Kroll, S. & Shogren, J. F. The impact of endowment heterogeneity and origin on public good contributions: evidence from the lab. J. Econ. Behav. Organ. 57, 357–365 (2005).
Hargreaves Heap, S. P., Ramalingam, A. & Stoddard, B. Endowment inequality in public good games: a re-examination. Econ. Lett. 146, 4–7 (2016).
Nishi, A., Shirado, H., Rand, D. G. & Christakis, N. A. Inequality and visibility of wealth in experimental social networks. Nature 526, 426–429 (2015).
Hauser, O. P., Kraft-Todd, G. T., Rand, D. G., Nowak, M. A. & Norton, M. I. Invisible inequality leads to punishing the poor and rewarding the rich. Behav. Public Policy https://doi.org/10.1017/bpp.2019.4 (2019).
Nowak, M. & Sigmund, K. A strategy of win-stay, lose-shift that outperforms tit-for-tat in the Prisoner’s Dilemma game. Nature 364, 56–58 (1993).
Szabó, G., Antal, T., Szabó, P. & Droz, M. Spatial evolutionary prisoner’s dilemma game with three strategies and external constraints. Phys. Rev. E 62, 1095–1103 (2000).
Doebeli, M. & Hauert, C. Models of cooperation based on the prisoner’s dilemma and the snowdrift game. Ecol. Lett. 8, 748–766 (2005).
Stewart, A. J. & Plotkin, J. B. From extortion to generosity, evolution in the Iterated Prisoner’s Dilemma. Proc. Natl Acad. Sci. USA 110, 15348–15353 (2013).
van Veelen, M., García, J., Rand, D. G. & Nowak, M. A. Direct reciprocity in structured populations. Proc. Natl Acad. Sci. USA 109, 9929–9934 (2012).
Kerr, B., Godfrey-Smith, P. & Feldman, M. W. What is altruism? Trends Ecol. Evol. 19, 135–140 (2004).
Rand, D. G. & Nowak, M. A. Human cooperation. Trends Cogn. Sci. 17, 413–425 (2013).
Frank, M. R. et al. Detecting reciprocity at a global scale. Sci. Adv. 4, eaao5348 (2018).
Gächter, S., Mengel, F., Tsakas, E. & Vostroknutov, A. Growth and inequality in public good provision. J. Public Econ. 150, 1–13 (2017).
Pinheiro, F. L., Vasconcelos, V. V., Santos, F. C. & Pacheco, J. M. Evolution of all-or-none strategies in repeated public goods dilemmas. PLOS Comput. Biol. 10, e1003945 (2014).
Fudenberg, D. & Tirole, J. Game Theory 6th edn (MIT Press, 1998).
Fisher, J., Isaac, R. M., Schatzberg, J. W. & Walker, J. M. Heterogenous demand for public goods: behavior in the voluntary contributions mechanism. Public Choice 85, 249–266 (1995).
van Gerwen, N., Buskens, V. & van der Lippe, T. Individual training and employees’ cooperative behavior: evidence from a contextualized laboratory experiment. Rationality Soc. 30, 432–462 (2018).
Reuben, E. & Riedl, A. Enforcement of contribution norms in public good games with heterogeneous populations. Games Econ. Behav. 77, 122–137 (2013).
Abdallah, S. et al. Corruption drives the emergence of civil society. J. R. Soc. Interface 11, 20131044 (2014).
Muthukrishna, M., Francois, P., Pourahmadi, S. & Henrich, J. Corrupting cooperation and how anti-corruption strategies may backfire. Nat. Hum. Behav. 1, 0138 (2017).
Tricomi, E., Rangel, A., Camerer, C. F. & O’Doherty, J. P. Neural evidence for inequality-averse social preferences. Nature 463, 1089–1091 (2010).
Dawes, C. T., Fowler, J. H., Johnson, T., McElreath, R. & Smirnov, O. Egalitarian motives in humans. Nature 446, 794–796 (2007).
Durante, R., Putterman, L. & Van der Weele, J. Preferences for redistribution and perception of fairness: an experimental study. J. Eur. Econ. Assoc. 12, 1059–1086 (2014).
Tavoni, A., Dannenberg, A., Kallis, G. & Löschel, A. Inequality, communication, and the avoidance of disastrous climate change in a public goods game. Proc. Natl Acad. Sci. USA 108, 11825–11829 (2011).
Milinski, M., Sommerfeld, R. D., Krambeck, H.-J., Reed, F. A. & Marotzke, J. The collective-risk social dilemma and the prevention of simulated dangerous climate change. Proc. Natl Acad. Sci. USA 105, 2291–2294 (2008).
Pacheco, J. M., Santos, F. C., Souza, M. O. & Skyrms, B. Evolutionary dynamics of collective action in N-person stag hunt dilemmas. Proc. R. Soc. B 276, 315–321 (2009).
Jacquet, J. et al. Intra- and intergenerational discounting in the climate game. Nat. Clim. Change 3, 1025–1028 (2013).
Vasconcelos, V. V., Santos, F. C. & Pacheco, J. M. A bottom-up institutional approach to cooperative governance of risky commons. Nat. Clim. Change 3, 797–801 (2013).
Archetti, M. & Scheuring, I. Review: game theory of public goods in one-shot social dilemmas without assortment. J. Theor. Biol. 299, 9–20 (2012).
Milinski, M., Röhl, T. & Marotzke, J. Cooperative interaction of rich and poor can be catalyzed by intermediate climate targets. Clim. Change 109, 807–814 (2011).
Vasconcelos, V. V., Santos, F. C., Pacheco, J. M. & Levin, S. A. Climate policies under wealth inequality. Proc. Natl Acad. Sci. USA 111, 2212–2216 (2014).
Abou Chakra, M. & Traulsen, A. Under high stakes and uncertainty the rich should lend the poor a helping hand. J. Theor. Biol. 341, 123–130 (2014).
Abou Chakra, M., Bumann, S., Schenk, H., Oschlies, A. & Traulsen, A. Immediate action is the best strategy when facing uncertain climate change. Nat. Commun. 9, 2566 (2018).
Hauser, O. P., Traulsen, A. & Nowak, M. A. Heterogeneity in background fitness acts as a suppressor of selection. J. Theor. Biol. 343, 178–185 (2014).
Akin, E. What you gotta know to play good in the Iterated Prisoner’s Dilemma. Games 6, 175–190 (2015).
Nowak, M. A. & Sigmund, K. Tit for tat in heterogeneous populations. Nature 355, 250–253 (1992).
Frean, M. R. The prisoner’s dilemma without synchrony. Proc. R. Soc. Lond. B 257, 75–79 (1994).
Killingback, T., Doebeli, M. & Knowlton, N. Variable investment, the Continuous Prisoner’s Dilemma, and the origin of cooperation. Proc. R. Soc. Lond. B 266, 1723–1728 (1999).
Imhof, L. A. & Nowak, M. A. Stochastic evolutionary dynamics of direct reciprocity. Proc. R. Soc. B 277, 463–468 (2010).
Kurokawa, S., Wakano, J. Y. & Ihara, Y. Generous cooperators can outperform non-generous cooperators when replacing a population of defectors. Theor. Popul. Biol. 77, 257–262 (2010).
García, J. & Traulsen, A. The structure of mutations and the evolution of cooperation. PLoS ONE 7, e35287 (2012).
Grujić, J., Cuesta, J. A. & Sánchez, A. On the coexistence of cooperators,defectors and conditional cooperators in the multiplayer iterated Prisoner’s Dilemma. J. Theor. Biol. 300, 299–308 (2012).
Press, W. H. & Dyson, F. J. Iterated Prisoner’s Dilemma contains strategies that dominate any evolutionary opponent. Proc. Natl Acad. Sci. USA 109, 10409–10413 (2012).
Van Segbroeck, S., Pacheco, J. M., Lenaerts, T. & Santos, F. C. Emergence of fairness in repeated group interactions. Phys. Rev. Lett. 108, 158104 (2012).
Akin, E. in Ergodic Theory, Advances in Dynamics (ed. Assani, I.) 77–107 (de Gruyter, Berlin, 2016).
Stewart, A. J. & Plotkin, J. B. Collapse of cooperation in evolving games. Proc. Natl Acad. Sci. USA 111, 17558–17563 (2014).
Stewart, A. J. & Plotkin, J. B. The evolvability of cooperation under local and non-local mutations. Games 6, 231–250 (2015).
Szolnoki, A. & Perc, M. Defection and extortion as unexpected catalysts of unconditional cooperation in structured populations. Sci. Rep. 4, 5496 (2014).
Toupo, D. F. P., Rand, D. G. & Strogatz, S. H. Limit cycles sparked by mutation in the repeated prisoner’s dilemma. Int. J. Bifurc. Chaos 24, 1430035 (2014).
Dong, Y., Li, C., Tao, Y. & Zhang, B. Evolution of conformity in social dilemmas. PLoS ONE 10, e0137435 (2015).
Pan, L., Hao, D., Rong, Z. & Zhou, T. Zero-determinant strategies in iterated public goods game. Sci. Rep. 5, 13096 (2015).
Baek, S. K., Jeong, H. C., Hilbe, C. & Nowak, M. A. Comparing reactive and memory-one strategies of direct reciprocity. Sci. Rep. 6, 25676 (2016).
McAvoy, A. & Hauert, C. Autocratic strategies for iterated games with arbitrary action spaces. Proc. Natl Acad. Sci. USA 113, 3573–3578 (2016).
Reiter, J. G., Hilbe, C., Rand, D. G., Chatterjee, K. & Nowak, M. A. Crosstalk in concurrent repeated games impedes direct reciprocity and requires stronger levels of forgiveness. Nat. Commun. 9, 555 (2018).
Ichinose, G. & Masuda, N. Zero-determinant strategies in finitely repeated games. J. Theor. Biol. 438, 61–77 (2018).
Hilbe, C., Chatterjee, K. & Nowak, M. A. Partners and rivals in direct reciprocity. Nat. Hum. Behav. 2, 469–477 (2018).
Hilbe, C., Šimsa, Š., Chatterjee, K. & Nowak, M. A. Evolution of cooperation in stochastic games. Nature 559, 246–249 (2018).
García, J. & van Veelen, M. In and out of equilibrium I: evolution of strategies in repeated games with discounting. J. Econ. Theory 161, 161–189 (2016).
García, J. & van Veelen, M. No strategy can win in the repeated Prisoner’s Dilemma: linking game theory and computer simulations. Front. Robot. AI 5, 102 (2018).
Hendriks, A. SoPHIE — Software Platform for Human Interaction Experiments. https://www.sophie.uni-osnabrueck.de/start/ (2012).
Hauser, O. P., Hendriks, A., Rand, D. G. & Nowak, M. A. Think global, act local: preserving the global commons. Sci. Rep. 6, 36079 (2016).
This work was supported by the European Research Council Start Grant 279307: Graph Games (to K.C.), Austrian Science Fund (FWF) NFN Grant S11407-N23 Rigorous Systems Engineering/Systematic Methods in Systems Engineering (to K.C.), Office of Naval Research Grant N00014-16-1-2914 (to M.A.N.), Defense Advanced Research Projects Agency Grant W911NF-18-2-0265 (to M.A.N.), and the John Templeton Foundation Grant 55832 (to M.A.N.). C.H. acknowledges support from the ISTFELLOW program.
The authors declare no competing interests.
Publisher’s note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Peer review information Nature thanks Joe Yuichiro Wakano and the other, anonymous, reviewer(s) for their contribution to the peer review of this work.
Extended data figures and tables
In Figs. 2, 3, we show how often players cooperate on average. a–e, Here we depict evolutionary trajectories over time, for the five treatments considered in our experiment. We assume that players can choose among the 16 pure memory-1 strategies. Top, five single runs of the introspection dynamics. Bottom, expected trajectories of the introspection dynamics, which can be derived explicitly (Supplementary Information section 4.3). These expected trajectories represent the cooperation rate over time as we average over many realizations of the process. We observe substantial cooperation in three of the five cases: in the treatments with full equality (a), productivity inequality (c) and aligned inequality (d).
Extended Data Fig. 2 Under endowment inequality and misaligned inequality, players fail to coordinate on WSLS.
Here, we consider the long-run dynamics of the games considered in Extended Data Fig. 1. For each pair (p1, p2) of pure memory-1 strategies, we can compute how often the respective strategy pair is played according to the invariant distribution of the evolutionary process. a, c, d, Under full equality, productivity inequality or aligned inequality, players typically coordinate on a WSLS equilibrium, as indicated by the coloured square in the centre of the dotted lines. b, e, Under endowment inequality or misaligned inequality, players fail to coordinate on a unique equilibrium. Instead, most of the evolving strategies prescribe to defect against the opponent. We note that in those treatments in which players have different endowments, the low-endowment player faces a reduced strength of selection (because the endowment of this player is reduced from 0.5 to 0.25). As a consequence, the marginal distribution of the low-endowment player in b, e is more uniform than the marginal distribution of the high-endowment player.
Extended Data Fig. 3 An equilibrium analysis explains why cooperation emerges in only three of the five treatments.
Using the same two-player setup as in Extended Data Figs. 1, 2, we explored how much players contribute on average when we simultaneously vary the endowment (x axis) as well as their productivity r1 of player 1. For each parameter combination, we record the total contributions of the player and how often they use WSLS according to the invariant distribution of the evolutionary process (indicated in shades of grey). We compare these evolutionary results with the region for which WSLS is an equilibrium (indicated by dashed lines) and with the region for which Grim is an equilibrium (dotted lines); see Supplementary Information for details. The coloured symbols indicate which parameter combinations have been used for the experimental treatments. a–c, For equal productivities, the full equality treatment (1) is in the region in which cooperation can evolve, whereas the unequal endowment treatment (2) is not. d–f, For unequal productivities, only the misaligned inequality treatment (5) is outside the region in which cooperation can evolve.
a–c, To explore the robustness of our theoretical predictions, we varied the expected number of rounds played between two players (a), the selection strength (b) and the rate at which players commit an implementation error (c). Although the quantitative results depend on these parameters, the qualitative ordering of the five treatments is the same across all considered scenarios. Except for the parameters explicitly varied on the x axis, all parameters are the same as in Extended Data Figs. 1, 2.
Extended Data Fig. 5 Cooperation in an asymmetric game in which players derive different payoffs from the public good.
Instead of considering players who differ in their productivity, here we consider an asymmetric two-player public goods game in which players differ in the share of the public goods that they get (the exact model is specified in the Supplementary Information). We vary two parameters, player 1’s share of the initial endowment, and player 1’s share of the public good. For each parameter combination, we record the average contributions of the players over the course of the evolutionary process (indicated in the grey colour). For games in which players get different shares of the public good, we note that the game is a social dilemma only if neither player’s share is too large (otherwise that player would always have an incentive to cooperate, no matter what the co-player does). However, if both players get an intermediate share of the public good, full cooperation can again evolve when WSLS is an equilibrium.
a, Here we represent finite-state automata for a game between two players in which players can either contribute their full endowment (C) or nothing (D). A finite-state automaton consists of three components: a set of states (represented by the large circles), the action played in each state (represented by the colour of the circle and the letters ‘C’ and ‘D’) and a transition rule (represented by arrows; the associated letter shows for which of the co-player’s actions the respective arrow is taken). Finite-state automata are able to implement all memory-1 strategies. In addition, they can encode strategies that depend on arbitrarily long sequences of past actions. b, To model evolution among finite-state automata, we use a previously published mutation scheme15,64. When a mutation occurs, the direction of a random arrow is changed, the action in a randomly chosen state is changed, a random state is removed or a state is added. c, Using this more general strategy space, we repeated the simulations in Fig. 3. Although overall cooperation rates are slightly lower, all qualitative results remain unchanged.
For each of the five experimental treatments, we compare the average contributions and the average payoff of the two players. Grey bars indicate the theoretical prediction based on evolutionary simulations. Coloured bars depict the outcome of the experiment. Error bars represent the respective 95% confidence intervals. Asterisks indicate statistical differences based on two-tailed Wilcoxon signed-rank tests. The number of groups per treatment is 42, 42, 40, 39, 40 for treatments 1–5, respectively. a, b, Under full equality, the two players contribute a similar share of their endowment and they obtain approximately equal payoffs. Under endowment inequality, the cooperation rates of both players are reduced, with the contributions of the high-endowment player (player 1) being significantly lower than the contributions of player 2. c, d, For productivity inequality and aligned inequality, we find no differences in the relative contributions of the players. For misaligned inequality, the relative contributions of the better-endowed but less-productive player 2 are considerably reduced. For both aligned and misaligned inequality, the two players earn significantly different payoffs. Nevertheless, the player with the lower payoff in the aligned inequality treatment derives a similar payoff as the two player types under productivity inequality. For details, see Supplementary Information.
a–e, For each of the five treatments, we show the average contributions of the players over the course of the experiment. In all treatments the contributions are relatively stable over time, except for a significant negative trend in the treatment with endowment inequality (b) (see Supplementary Information for details).
a–e, To analyse the joint contribution decisions of the two players, we plot here how often player 1 has contributed y1 tokens while player 2 has contributed y2 tokens, for each pair (y1, y2). a, c, d, Under full equality (a), productivity inequality (c) and aligned inequality (d), most individual decisions are mutually cooperative. b, e, By contrast, under endowment inequality (b) and misaligned inequality (e), contributions are more scattered. e, Moreover, in the treatment with misaligned inequality, we observe that a substantial fraction of high-endowment players only matches the absolute contributions of the other player. For example, in 12.4% of the rounds, the low-endowment player contributes all 25 tokens at their disposal, and the high-endowment player contributes the same absolute amount of tokens (corresponding to 1/3 of this player’s endowment).
a, b, To explore whether subjects apply reciprocal strategies, we show the fraction of rounds in which subjects match or exceed their co-player’s relative contribution from the previous round. That is, if player 1 has contributed x% of their endowment in round t, we record whether or not player 2 contributes at least x% of their endowment in round t + 1. Note that reciprocal strategies do not automatically yield high cooperation rates, because mutually defecting players are also reciprocal. Error bars represent the respective confidence intervals. Statistically significant differences were analysed using a two-tailed Wilcoxon signed-rank test. ***P < 0.001. Sample sizes are 42, 42, 40, 39, 40 for the treatments 1–5, respectively. Generally, we find high levels of reciprocity; only in the treatment with misaligned inequality does the high-endowment low-productivity player 2 exhibit a strongly reduced reciprocity rate. See Supplementary Information for details.
This file contains a Supplementary Discussion, Supplementary Tables 1 and 2, and Supplementary References. Supplementary Table 1 summarizes the statistical results for our treatments with equal productivities. Supplementary Table 2 summarizes the statistical results for our treatments with unequal productivities.
About this article
Cite this article
Hauser, O.P., Hilbe, C., Chatterjee, K. et al. Social dilemmas among unequals. Nature 572, 524–527 (2019). https://doi.org/10.1038/s41586-019-1488-5
This article is cited by
Scientific Reports (2023)
Nature Communications (2022)
Scientific Reports (2022)
Experimental Economics (2022)
Nature Human Behaviour (2021)