Hostname: page-component-78c5997874-fbnjt Total loading time: 0 Render date: 2024-11-05T04:45:41.521Z Has data issue: false hasContentIssue false

Evolution of cooperation in networks with well-connected cooperators

Published online by Cambridge University Press:  10 October 2024

Josefine Bohr Brask*
Affiliation:
Copenhagen Center for Social Data Science (SODAS), University of Copenhagen, Copenhagen, Denmark Section for Ecology & Evolution, Department of Biology, University of Copenhagen, Copenhagen, Denmark Department of Applied Mathematics and Computer Science (DTU Compute), Technical University of Denmark, Kongens Lyngby, Denmark
Jonatan Bohr Brask
Affiliation:
Center for Macroscopic Quantum States (bigQ), Department of Physics, Technical University of Denmark, Kongens Lyngby, Denmark
*
Corresponding author: Josefine Bohr Brask; Email: [email protected]
Rights & Permissions [Opens in a new window]

Abstract

Cooperative behavior constitutes a key aspect of human society and non-human animal systems, but explaining how cooperation evolves represents a major scientific challenge. It is now well established that social network structure plays a central role for the viability of cooperation. However, not much is known about the importance of the positions of cooperators in the networks for the evolution of cooperation. Here, we investigate how the spread of cooperation is affected by correlations between cooperativeness and individual social connectedness (such that cooperators occupy well-connected network positions). Using simulation models, we find that these correlations enhance cooperation in standard scale-free networks but not in standard Poisson networks. In contrast, when degree assortativity is increased such that individuals cluster with others of similar social connectedness, we find that Poisson networks can maintain high levels of cooperation, which can even exceed those of scale-free networks. We show that this is due to dynamics where bridge areas between social clusters act as barriers to the spread of defection. We also find that this positive effect on cooperation is sensitive to the presence of Trojan horses (defectors placed within cooperator clusters), which allow defection to invade. The results provide new knowledge about the conditions under which cooperation may evolve, and are also relevant to consider in regard to the design of cooperation studies.

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BYCreative Common License - NCCreative Common License - SA
This is an Open Access article, distributed under the terms of the Creative Commons Attribution-NonCommercial-ShareAlike licence (https://creativecommons.org/licenses/by-nc-sa/4.0/), which permits non-commercial re-use, distribution, and reproduction in any medium, provided the same Creative Commons licence is used to distribute the re-used or adapted article and the original article is properly cited. The written permission of Cambridge University Press must be obtained prior to any commercial use.
Copyright
© The Author(s), 2024. Published by Cambridge University Press

1. Introduction

Cooperation, understood as behavior where individuals help others, has long constituted a major conundrum for science. Cooperative behavior seemingly contradicts the central prediction of Darwinian evolutionary theory that individuals will behave in ways that maximize their own gain. Nevertheless, cooperation is found widely across species, including humans, other mammals, fish, birds, insects, and microscopic organisms (Brask et al., Reference Brask, Croft, Edenbrow, James, Bleakley, Ramnarine, Heathcode, Tyler, Hamilton, Dabelsteen and Darden2019; Brucks and Bayern Reference Brucks and von Bayern2020; Carter and Wilkinson, Reference Carter and Wilkinson2013; Queller and Strassmann, Reference Queller and Strassmann1998; Rand and Nowak, Reference Rand and Nowak2013; Rutte and Taborsky, Reference Rutte and Taborsky2007; Turner and Chao, Reference Turner and Chao1999; Voelkl et al., Reference Voelkl, JPortugal, Unsöld, Usherwood, Wilson and Fritz2015). Explaining the evolution of cooperation has been called one of the biggest scientific challenges of our time (Pennisi, Reference Pennisi2005).

During recent decades, it has become clear that social network structure plays an essential role for the evolution of cooperation (Gokcekus et al., Reference Gokcekus, Cole, Sheldon and Firth2021; Jusup et al., Reference Jusup, Holme, Kanazawa, Takayasu, Romić, Wang, Geček, Lipic, Podobnik, Wang, Luo, Klanjšček, Fan, Boccaletti and Perc2022; Roca et al., Reference Roca, Cuesta and Sánchez2009; Szabó and Fáth, Reference Szabó and Fáth2007). Simulation studies have shown that while unstructured populations are not conducive to cooperation, certain network structures can promote and stabilize it (e.g. Assenza et al., Reference Assenza, Gómez-Gardeñes and Latora2008; Nowak and May, Reference Nowak and May1992; Ohtsuki et al., Reference Ohtsuki, Hauert, Lieberman and Nowak2006; Santos and Pacheco, Reference Santos and Pacheco2005; Santos et al., Reference Santos, Pacheco and Lenaerts2006b). There is also now extensive empirical evidence that nonrandom social network structure is ubiquitously present in different species (Brask et al., Reference Brask, Ellis and Croft2021; Krause et al., Reference Krause, James, Franks and Croft2015). This implies that the study of cooperation in social structures is of general importance for understanding the evolution cooperative behavior.

A social network can be described as a set of nodes and a set of edges, where each node constitutes an individual and the edges constitute their social connections. A large body of work has investigated how the spread and viability of cooperation is affected by different structural network features, such as degree distribution (Santos and Pacheco, Reference Santos and Pacheco2005, Reference Santos and Pacheco2006), degree heterogeneity (Santos et al., Reference Santos, Pacheco and Lenaerts2006b; Santos et al., Reference Santos, Pinheiro, Lenaerts and Pacheco2012), average degree (Ohtsuki et al., Reference Ohtsuki, Hauert, Lieberman and Nowak2006), degree assortativity (Duh et al., Reference Duh, Gosak, Slavinec and Perc2019; Rong et al., Reference Rong, Li and Wang2007; Wang et al., Reference Wang, Wang and Perc2014), clustering (Assenza et al., Reference Assenza, Gómez-Gardeñes and Latora2008; David-Barrett, Reference David-Barrett2023), and modularity (Gianetto and Heydari, Reference Gianetto and Heydari2015; Voelkl and Kasper, Reference Voelkl and Kasper2009; see Jusup et al., Reference Jusup, Holme, Kanazawa, Takayasu, Romić, Wang, Geček, Lipic, Podobnik, Wang, Luo, Klanjšček, Fan, Boccaletti and Perc2022; Roca et al., Reference Roca, Cuesta and Sánchez2009; Szabó and Fáth, Reference Szabó and Fáth2007 for reviews). However, while the role of network structure in the evolution of cooperation thus has been extensively investigated, little is known about the role of the positions of cooperative and defective individuals in the network (in other words, the role of correlations between cooperative strategy and node properties such as connectedness; Chen et al., Reference Chen, Fu and Wang2008). Across species, real-world social networks are characterized by considerable heterogeneity in the social positions of individuals, where some are more socially connected than others (Brask et al., Reference Brask, Ellis and Croft2021; Krause et al., Reference Krause, James, Franks and Croft2015). If cooperative individuals tend to have specific social network positions, this may affect the spread and persistence of cooperation. In particular, it may intuitively be expected that cooperation should fare better in situations where cooperative individuals have more social connections (higher degree) than defective individuals, as their higher connectedness potentially could help them propagate their strategy. Such effects could play an important role for the evolution of cooperation, but they are currently not well understood.

Here, we investigate how correlations between cooperative strategy and social connectedness affect the evolution of cooperation in different network structures. This can elucidate the importance of the network positions of cooperative individuals, and thereby increase our general understanding of the conditions under which cooperation can persist. The investigations are also relevant for situations where social networks are deliberately constructed. For example, in experiments with humans playing cooperation games in artificial network structures (e.g. Cassar, Reference Cassar2007; Gracia-Lázaro et al., Reference Gracia-Lázaro, Ferrer, Ruiz, Tarancón, Cuesta, Sánchez and Moreno2012; Grujić and Lenaerts Reference Grujić and Lenaerts2020; Li et al., Reference Li, Jusup, Wang, Li, Shi, Podobnik, Stanley, Havlin and Boccaletti2018; Melamed et al., Reference Melamed, Harrell and Simpson2018; Rand et al., Reference Rand, Nowak, Fowler and Christakis2014), initial stochastic correlations between cooperativeness and network position could potentially have a significant effect on the results and influence the conclusions of the experiments, in particular because the number of replications in such experiments can be low due to practical constraints.

We use a standard methodological approach for investigating the evolution of cooperation in networks, namely game theory-based simulation modeling. Evolutionary game theory provides a common framework for the study of cooperation (Leimar and McNamara, Reference Leimar and McNamara2023; Smith and Price, Reference Smith and Price1973; Smith, Reference Smith1982; Traulsen and Glynatsi, Reference Traulsen and Glynatsi2023). In this approach, the interaction between individuals is formalized as games where each player adopts one of a limited number of strategies, such as cooperative or defective (selfish). The game is played repeatedly and players adapt their strategies to optimize their performance in terms of game payoffs. Alternatively, each iteration can be interpreted as a reproductive generation, so that the adaptation is genetic. With this framework, it becomes possible to study the stability and dynamics of cooperation by looking at temporal changes in the frequency of cooperators. The evolution of cooperation in structured populations can be studied by simulating games on network structures where interactions occur over the network edges (the social connections), which has been done widely (reviewed in Jusup et al., Reference Jusup, Holme, Kanazawa, Takayasu, Romić, Wang, Geček, Lipic, Podobnik, Wang, Luo, Klanjšček, Fan, Boccaletti and Perc2022; Roca et al., Reference Roca, Cuesta and Sánchez2009; Szabó and Fáth, Reference Szabó and Fáth2007). A key outcome of the simulations is the fraction of cooperators in the population after a large number of timesteps (game rounds), which indicates the long-term viability of cooperation in the network. The simulations most often begin with the strategies being randomly assigned to the network nodes. In other words, usually cooperators and defectors are initially randomly positioned in the network (Roca et al., Reference Roca, Cuesta and Sánchez2009; Szabó and Fáth, Reference Szabó and Fáth2007).

In this study, we investigate the effect of nonrandom strategy positions on the spread and survival of cooperation. We specifically study the effect of correlations between cooperative strategy and node degree. We focus on degree because this is a fundamental measure of network position that is easily interpretable (as the number of social interaction partners an individual has). Our approach is to run simulations of the evolution of cooperation in networks, where cooperators are initially placed on well-connected (high-degree) nodes (stochastically or deterministically), and compare the results to those of corresponding simulations where the cooperators are placed randomly in the networks. We note that the simulations can be interpreted both as: (1) simulating systems where the correlations between strategy and network position is a result of the networks being deliberately constructed, for example as in human cooperation experiments; and (2) simulating systems where the correlations between strategy and network position is a result of previous evolution. Thus, the positioning of cooperators on well-connected nodes can be viewed either as the system’s actual initial conditions, or as a transient state. In either case, the simulations show how cooperators’ occupation of well-connected nodes affects subsequent strategy evolution.

We study the effects of the cooperator positions in Poisson networks and scale-free networks, which have been widely used in models of cooperation. We use standard versions of these networks that have been commonly used in other studies of cooperation in networks (Roca et al., Reference Roca, Cuesta and Sánchez2009; Szabó and Fáth, Reference Szabó and Fáth2007), as well as versions with increased degree assortativity (where individuals of similar connectedness are more likely to be linked to each other in the network; (Newman, Reference Newman2002; Noldus and Van Mieghem, Reference Noldus and Van Mieghem2015)). Such assortativity is frequently observed in real-world networks and is particularly likely to affect the evolution of cooperation when strategy is correlated to degree, because it then affects the extent to which cooperators are connected to each other.

We study the evolution of cooperation in these networks for two fundamental and commonly used game-theoretical formalisations of cooperative interactions, the Prisoner’s Dilemma game and the Snowdrift game. The Prisoner’s Dilemma game represents a situation where behaving cooperatively in itself is not beneficial to the actor, and cooperation cannot survive in a well-mixed (i.e. unstructured) population (without special mechanisms). This game embodies the paradox of the evolution of cooperation. The Snowdrift game represents a weaker social dilemma where behaving cooperatively in itself provides a benefit to the actor, and a well-mixed population in equilibrium can contain both cooperators and defectors.

2. Model

2.1 General modeling framework

The model simulates the dynamics of a cooperative strategy in network structures, with interactions between individuals (nodes) occurring across the network edges. While the network structure does not change throughout a simulation, the individuals change their strategies over time, and the main outcome of the simulation is the frequency of cooperators in the population after a set number of timesteps. Each timestep consists of an interaction phase, where all individuals connected by a direct edge interact pairwise, and an update phase, where all individuals update their strategy adaptively.

We focus on two-player, symmetric games with a binary choice of strategies, as is commonly done in models of cooperation. The game is determined by the following payoff matrix

(1)

For each node $i$ in the network, we will denote the strategy adopted by the corresponding individual by $s_i$ . The payoff for individual $i$ when playing against individual $j$ is then $M_{s_i s_j}$ .

Two well-known instances of games of the above form are the Prisoner’s Dilemma game and the Snowdrift game. They both formalize a situation where it is of advantage for the individual to defect (having $T$ as the highest payoff), but if both individuals defect they are worse off than if they both cooperate. In Prisoner’s Dilemma, the worst outcome is to be defected upon while cooperating, with the order of the payoffs being $T\gt R\gt P\gt S$ , whereas in the Snowdrift game, the worst is to be defected upon while defecting, with the payoff order being $T\gt R\gt S\gt P$ . Note that in Prisoner’s Dilemma, the strategy with the highest individual payoff is to defect regardless of the opponent’s strategy. In well-mixed populations (corresponding to networks where all nodes are connected directly to each other), evolution therefore selects for defection, and cooperation does not survive. In the Snowdrift game, the best payoff depends on the opponent’s strategy, and cooperation and defection can co-exist in unstructured populations.

In our simulations, we use common one-parameter versions of the two games (Hauert and Doebeli, Reference Hauert and Doebeli2004; Nowak and May, Reference Nowak and May1992; Santos and Pacheco, Reference Santos and Pacheco2005, Reference Santos and Pacheco2006), where the severity of the social dilemma (how hard it is for cooperation to evolve, everything else equal) is determined by a single parameter. For Prisoner’s Dilemma, we set $R = 1$ and $P=S=0$ , and the game is parameterized by the benefit to defectors $b=T$ . For $b=1$ there is no dilemma, while larger values represent larger temptation to defect (making it harder for cooperation to evolve). As is often done, we take $1 \leq b \leq 2$ . The Snowdrift game is parameterized by the cost-to-benefit ratio of mutual cooperation $0 \lt \rho \leq 1$ , with $T=\frac{1}{2}(\rho ^{-1}+1)$ , $R=\frac{1}{2}\rho ^{-1}$ , $S=\frac{1}{2}(\rho ^{-1} - 1)$ , and $P=0$ . In unstructured populations, $1-\rho$ is the equilibrium fraction of cooperators (for replicator dynamics).

In the interaction phase of each simulation timestep, each individual plays a single game round with each of its network neighbors. We define an individual’s fitness in a given timestep to be its summed game payoffs for that timestep. That is, for an individual defined by a node $i$ , the fitness is

(2) \begin{equation} F_i = \sum _{j \in \mathcal{N}_i} M_{s_i s_j} , \end{equation}

where $\mathcal{N}_i$ is the set of neighboring nodes of $i$ .

The simulation proceeds to the update phase when all network neighbors have interacted. Here, each individual decides whether to change its strategy, based on how well it did in the interaction phase in terms of fitness. Strategy update is synchronous and follows the proportional imitation update rule (Hauert and Doebeli, Reference Hauert and Doebeli2004; Santos and Pacheco, Reference Santos and Pacheco2005). For an individual defined by node $i$ , a neighbor $j$ is chosen uniformly at random from the set of neighbors $\mathcal{N}_i$ . If the neighbor has higher fitness than $i$ , that is $F_j \gt F_i$ , then $i$ adopts its strategy with probability

(3) \begin{equation} \frac{F_{j}-F_{i}}{\max \{k_i,k_j\} D} , \end{equation}

where $k_i$ denotes the degree of node $i$ , and $D$ is the difference between the largest and smallest payoffs for the given game ( $D=T-S$ for Prisoner’s Dilemma and $D=T-P$ for Snowdrift). The denominator ensures normalization of the probability. We note that the above update rule corresponds to replicator dynamics adjusted to structured, finite populations (Hauert and Doebeli, Reference Hauert and Doebeli2004; Hofbauer and Sigmund, Reference Hofbauer and Sigmund1998; Santos and Pacheco, Reference Santos and Pacheco2005), and that it assumes that individuals do not have perfect information on their neighbors (a relevant assumption for many cases in social systems). Also note that the update phase can alternatively be interpreted as reproduction, in which case each timestep is a generation.

2.2 Networks

We use four types of networks: standard versions of Poisson and scale-free networks, and versions of these networks with the same degree distributions but with increased degree assortativity. All networks have $N=10^3$ nodes (large enough to avoid boundary effects, Santos and Pacheco, Reference Santos and Pacheco2005) and an average degree of $\bar{k}=10$ , and we use only networks where all nodes are contained in a single component, i.e. all individuals are at least indirectly connected to each other.

For the standard networks, we use Poisson networks of the Erdős-Rényi type (Erdős and Rényi Reference Erdős and Rényi1960) and scale-free networks of the Barabási-Albert type (Barabási and Albert, Reference Barabási and Albert1999). To generate versions of these networks with increased degree assortativity, we apply the algorithm introduced by Xulvi-Brunet and Sokolov (Xulvi-Brunet and Sokolov, Reference Xulvi-Brunet and Sokolov2004), which preserves the degree distribution of the network. The algorithm consists of iterated rewiring rounds. In each rewiring round, two edges of the network are chosen uniformly at random and one of two rewiring schemes are carried out: (i) with probability $p$ the edges are rewired such that one edge connects the two nodes of highest degree and one connects the two nodes of lowest degree (if this is not already the case); (ii) with probability $1-p$ the edges are rewired at random. The degree assortativity of the network can thus be controlled by varying $p$ . We use $p=1$ (i.e. maximal degree assortativity given the degree distribution and the condition of all nodes belonging to the same component). The rewiring procedure must be repeated sufficiently many times that almost all edges have been rewired, i.e. such that every edge has been selected for rewiring with high probability. Denoting the total number of edges in the network by $L$ , after $\tau$ iterations the probability that a given edge has not yet been selected is $(1-2/L)^\tau \approx e^{-2\tau /L}$ for large $L$ . The number of edges not yet selected is thus approximately $L e^{-2\tau /L}$ . Requiring this number to be of order unity, we see that we need $\tau \approx L \log\!(L)/2$ iterations. To make sure we reach maximum assortativity for a given network, we take $\tau = 10 L\log\!(L)$ .

2.3 Correlations between cooperative strategy and social connectedness

We use three levels of correlation between cooperative strategy and social connectedness (degree), which we create by using different methods for how strategies (cooperate and defect) are assigned to nodes in the beginning of the simulations. Denoting the total number of nodes by $N$ and the number of cooperators by $N_c$ , the fraction of cooperators in the population is $r = N_c/N$ . The initial fraction of cooperators is $r_{in}$ , and we take $r_{in} = 1/2$ . To create the three levels of strategy-degree correlations, We use the following strategy assignment procedures:

  1. (1) No correlation (uniform assignment). Here, cooperators are placed randomly in the network and there is no correlation induced between strategy and connectedness, giving a baseline for our investigations. $N r_{in}$ nodes are picked uniformly at random among all nodes and assigned the cooperator strategy, and the remaining nodes are assigned the defector strategy. The probability for any given node of being a cooperator thus equals $r_{in}$ .

  2. (2) Intermediate correlation (stochastic-by-degree assignment). Here, cooperators are placed preferentially on high-degree nodes, but with stochasticity in the placement, creating intermediate correlation between strategy and connectedness. Nodes to be assigned the cooperator strategy are selected sequentially based on their relative degree. The first cooperator node is drawn among all nodes, with the probability of drawing node $i$ given by $k_i / \sum _j k_j$ , where $k_i$ is the degree of node $i$ . Each subsequent cooperator node is drawn from the remaining set of nodes according to $k_i / \sum _{j\notin \mathcal{C}} k_j$ , where $\mathcal{C}$ is the set of nodes which have already been selected. This is iterated until $N r_{in}$ nodes have been assigned the cooperator strategy. The remaining nodes are assigned the defector strategy.Footnote 1

  3. (3) Perfect correlation (deterministic-by-degree assignment). Here, cooperators are placed on the highest-degree nodes without any stochasticity in the placement, giving perfect correlation between strategy and connectedness. The $N r_{in}$ nodes of highest degree are assigned the cooperator strategy and the rest are assigned the defector strategy.

2.4 Simulation procedures

We run simulations for all combinations of the two games, the four network types, and the three levels of strategy-degree correlation (strategy assignment methods) described above. For each of these 24 combinations, we run simulations for different severities of the social dilemma (that is, for different values of the game parameters $b$ and $\rho$ ). We run 50 replications for each setting (i.e. for each combination of game, network type, strategy-degree correlation level, and game parameter value). All simulations have a total of $t_{max}=10^4$ timesteps, and the average final fraction $r_{fin}$ of cooperators for a given setting is calculated as the average fraction in the last 100 timesteps of the 50 replications.

An example of a simulation run (a single replication) is shown in Figure 1. In this particular example, the cooperator fraction drops from the initial value of 0.5 to close to zero at the end of the simulation, i.e. cooperation approaches extinction. The example is for Prisoner’s Dilemma with intermediate strategy-degree correlation (stochastic-by-degree strategy assignment), and the insets indicate that higher-degree nodes, as expected, tend to be more likely to be cooperators.

Figure 1. An example of a single simulation run of the evolution of cooperation in a network with correlation between strategy and connectedness. The graph shows the fraction of cooperators over time in a standard scale-free (Barabási-Albert) network for Prisoner’s Dilemma with $b=2$ and intermediate correlation between cooperative strategy and degree. The red shaded region indicates the last 100 generations used to compute the final fraction of cooperators $r_{fin}$ . Insets: snapshots of the cooperator fraction vs. node degree at timesteps 1, 3000, and 10000, for degree 1-20 (above 20 there are only few nodes per degree).

3. Results

The simulation results are shown in Figure 2. For the standard networks (Figure 2, top row of plots), the social connectedness of cooperators has an effect on the evolution of cooperation only in scale-free networks, for both games. For standard scale-free networks (Figure 2a,c), the average final cooperator fraction is increased for the whole game parameter range for both games, when there is correlation between cooperative strategy and degree (intermediate or perfect). For standard Poisson networks (Figure 2b,d), the strategy-degree correlations have negligible effect for both games. Also, for each of the standard networks, the final cooperator fractions for the intermediate and perfect correlation between strategy and degree are almost indistinguishable. In the standard networks, the effect of cooperator connectedness thus mainly depends on the network type (scale-free vs. Poisson), with similar results for the two games and the two types of non-zero correlation. The results show that when cooperators occupy well-connected network positions, it increases cooperation in scale-free networks.

Figure 2. Simulation results of the evolution of cooperation in networks with different levels of correlation between cooperative strategy and social connectedness. It can be observed that correlations between strategy and connectedness can increase the success of cooperation, and that the effect depends on the combination of game, network type, and level of strategy-connectedness correlation. Results for the Prisoner’s Dilemma game and the Snowdrift game are to the left and right respectively. In the upper row are shown results for standard scale-free and Poisson networks, and in the lower row are results for versions of these networks with increased degree assortativity. The average final fraction of cooperators is plotted against the severity of the social dilemma (game parameters $b$ and $\rho$ ). The three curves on each plot are for three different levels of correlation between cooperative strategy and connectedness (see legend).

The picture is somewhat different for the networks with increased degree assortativity (Figure 2, bottom row of plots). For degree-assorted scale-free networks, both types of strategy-degree correlation (intermediate and perfect) enhance cooperation for Prisoner’s Dilemma, with the perfect correlation having a larger effect (Figure 2e). For the Snowdrift game, however, the effects in this network type are very limited (Figure 2g). For degree-assorted Poisson networks, the intermediate strategy-degree correlation does not affect cooperation (Figure 2f,h). In contrast, the perfect correlation has a large, positive effect for all $b\gt 1$ for Prisoner’s Dilemma, and also enhances cooperation for large $\rho$ for the Snowdrift game. Hence, for the networks with increased degree assortativity, the effect of correlation between cooperative strategy and social connectedness depends non-trivially on the combination of the network type, the game, and the level of correlation (presence of stochasticity in the cooperator placement). Here, cooperators’ occupation of well-connected network positions can enhance cooperation in both scale-free and Possion networks, under certain conditions.

4. Discussion

Our results support the intuitive expectation that well-connected cooperators can enhance the spread and persistence of cooperation, but also show that they only do so under certain conditions. We see that in standard networks (without increased degree assortativity), the enhancement depends on the network type, with correlation between cooperative strategy and social connectedness (degree) having an effect on final cooperator fractions in scale-free networks and negligible effect in Poisson networks. In degree-assorted networks, we find a more involved pattern of effects, and further investigation of our results confirm that this pattern is due to specific strategy dynamics arising from the modular nature of the degree-assorted networks. Here, bridge areas between clusters of individuals with similar degree can act as barriers for the spread of the defective strategy when cooperators are occupying high-degree nodes, which can lead to a large increase (towards 40 percent) in the average final cooperator fraction; but this increase is sensitive to Trojan horses, i.e. defectors placed within the cooperator clusters (when the correlation between strategy and degree is imperfect), which can counteract the protective effect of the bridge areas. In the following we go into further details about these insights. We first consider why well-connected cooperators sometimes—but not always—enhance cooperation, and we thereafter focus on the dynamics behind the results in degree-assorted networks.

4.1 Presence and absence of enhancement of cooperation when cooperators are well connected

To understand why well-connected cooperators sometimes—but not always—enhance the spread and persistence of cooperation, we may consider the mechanisms by which increased social connectedness can help them promote their strategy. Firstly, the cooperators’ higher number of edges means that they are more likely to be picked as role models when individuals update their strategy (while this is not true in the limit of perfect degree assortativity, we checked that it holds true for all the network types used here). Secondly, well-connected cooperators have higher maximal fitness (because a higher number of social partners means increased opportunity to gain benefits from cooperative interactions, c.f. Eq. (2)), and this increases the chance that their strategy will actually be copied when they are used as role models (because individuals only copy strategies from neighbors with higher fitness than themselves). Together, these circumstances can increase the chance that cooperators will spread their strategy to neighbors, when the relative connectedness of cooperators is increased.

However, we see from the results that correlation between cooperative strategy and social connectedness does not always enhance cooperation (even under perfect correlation). This has to do with the fact that cooperators and defectors do not get the same payoff from the same neighborhood, meaning that everything else equal, a cooperator having a higher degree than a defector is not always enough for it to gain higher fitness than the defector. More specifically, a cooperator generally needs to have considerably more cooperator neighbors than a defector, to get a higher fitness than the defector (see Appendix A for details). A higher degree for the cooperator will not always lead to this requirement being satisfied, and therefore does not necessarily give the cooperator advantage over the defector. In the standard networks, we saw positive effects of the correlations between cooperativeness and degree in scale-free networks, whereas there were no effects in the Poisson networks - even under perfect correlation. Our results thus show that the cooperators’ benefit from higher social connectedness is too small to affect the final outcome in standard Poisson networks, whereas in standard scale-free networks the advantage cooperators gain from the increased connectedness leads to positive effects on the evolution of cooperation.

4.2 Degree assortativity creates barriers that can strongly enhance cooperation, but their effect can be counteracted by Trojan horses

In the networks with increased degree assortativity, we see an interesting pattern with strong enhancements of cooperation under the perfect correlation between cooperative strategy and social connectedness, in particular in Poisson networks where the average final cooperator fraction stays relatively high throughout the game parameter ranges (above about 20 percent, Figure 2). This enhancement comes about because of the structure of the degree-assorted networks, where nodes are clustered by degree. When cooperators occupy the high-degree nodes, the bridge areas between clusters act as barriers against the defector strategy, leading to dynamics where the defector strategy invades a cluster rapidly and then is stopped by the bridges, where it then waits until it might eventually overcome them and invade the next cluster. This limits the spread of defection and thereby leads to the high final cooperator fractions. These dynamics can be seen from further investigation of the simulation results. An example of how the defector strategy is stopped at bridge areas for a single simulation is shown in Figure 3. More generally, the pattern is evidenced by the average defector degree over time, which increases in very rapid steps (corresponding to the overtaking of clusters), separated by long periods of no change (corresponding to the spread of defection being hindered by bridge areas; Figure 4). And finally, the dynamics are also reflected in the distributions of final cooperator fractions (Figure 5), where we see that in the degree-assorted network, these fractions occur in multiple distinct peaks that correspond to the defector strategy waiting by the various bridge areas (a pattern that arises because the simulation is statistically unlikely to stop during the rapid cluster invasions).

Figure 3. Strong correlations between strategy and connectedness in degree-assorted networks can lead to dynamics where the defector strategy is held back at bridge areas between clusters. The figure shows an example of strategy distributions for different timesteps $t$ in a Poisson network with increased degree assortativity and perfect correlation between strategy and degree (for the Prisoner’s Dilemma and b = 2). Cooperators are shown in red and defectors in blue, and larger node size indicates higher degree.

Figure 4. Dynamics of defector invasions in networks with increased degree assortativity and strong correlations between cooperative strategy and social connectedness. It can be observed how the average defector degree increases in rapid steps corresponding to the overtaking of network clusters (where many defectors increase their degree within a relatively short time), which are separated by long periods of no change that correspond to the defector strategy being held back at the bridge areas between clusters. The average defector degree over time is shown for 50 simulations (one line for each), for Poisson networks with increased degree assortativity, under the Prisoner’s Dilemma and perfect correlation between cooperative strategy and social connectedness (degree). The average defector degree was measured every 100 time steps.

We do not observe a strong enhancement of cooperation in the degree-assorted networks when the correlation between cooperative strategy and degree is intermediate. In this case, the protection from the bridge areas is counteracted by what we term Trojan horses, i.e. defectors placed within cooperator-dominated clusters, which facilitate the spread of the defective strategy from within the clusters. Our results thus show that although the extent of the strategy-degree correlations (intermediate or perfect) made virtually no difference in the standard networks, it can make a major difference under increased degree assortativity, via the Trojan-horse effect.

Figure 5. Distributions of final cooperator fractions for Poisson networks with strong correlations between cooperative strategy and social connectedness, with and without increased degree assortativity. It can be observed how the final cooperator fractions occur in distinct peaks for the degree-assorted network, due to the defector strategy being held back at bridge areas between clusters. The final cooperator fraction $r_{fin}$ is shown for different values of the game parameter $b$ . The results are for the Prisoner’s Dilemma with perfect correlation between cooperative strategy and social connectedness (degree), for (a) standard Poisson networks, and (b) Poisson networks with increased degree assortativity. Each distribution is based on 50 replicates and scaled to its maximal value.

While this study focuses on the effect of correlations between strategy and connectedness on cooperation, the results also add to the knowledge about the effect of degree assortativity. Degree assortativity (also known as degree mixing or degree-degree correlation) has been studied in various settings, including multilayer networks (e.g. Wang et al., Reference Wang, Wang and Perc2014; Duh et al., Reference Duh, Gosak, Slavinec and Perc2019) and evolving networks (e.g. Tanimoto, Reference Tanimoto2010), and analytical measures for the heterogeneity of networks with degree assortativity have been developed (Devlin and Treloar, Reference Devlin and Treloar2009). The effect of degree in the absence of any degree variation (i.e. perfect degree assortativity) has also been investigated (e.g. Stella et al., Reference Stella, Baar and Bauso2022). Rong et al., studied the effect of directly tuning the degree assortativity in static networks, similarly to the method we used here to create versions of standard networks with increased degree assortativity (Rong et al., Reference Rong, Li and Wang2007). They found that increased degree assortativity in itself can decrease cooperation, which is also seen in our results under no correlation and intermediate correlation between cooperative strategy and social connectedness. Interestingly, we observe that the perfect correlation between strategy and connectedness counteracts the negative effect of degree assortativity to such an extent that in the Poisson networks, cooperation does better in the degree-assorted networks than in the standard networks (Figure 2f,h vs. Figure 2b,d).

We also note that under certain circumstances (the Prisoner’s Dilemma with perfect strategy-degree correlation and degree assortativity; Figure 2e,f), cooperation does better under Poisson degree distribution than under scale-free degree distribution. This is opposite to the pattern found for standard Poisson and scale-free networks (Figure 2a,b and previous studies, e.g. Santos and Pacheco, Reference Santos and Pacheco2006), where cooperation does much better under scale-free degree distribution than under Poisson distribution. This demonstrates that the generally observed positive relationship between degree heterogeneity and cooperation (Santos et al., Reference Santos, Pacheco and Lenaerts2006b; Santos et al., Reference Santos, Pinheiro, Lenaerts and Pacheco2012) is under some conditions overruled.

4.3 Further remarks

Our study implies that correlation between cooperativeness and social connectedness is a relevant factor to consider both for our understanding of the evolution of cooperation in general and when designing and conducting scientific investigations of cooperation. Empirical experiments of humans playing cooperation games in constructed networks constitutes an important tool in the study of cooperation (e.g. Cassar, Reference Cassar2007; Gracia-Lázaro et al., Reference Gracia-Lázaro, Ferrer, Ruiz, Tarancón, Cuesta, Sánchez and Moreno2012; Grujić and Lenaerts Reference Grujić and Lenaerts2020; Li et al., Reference Li, Jusup, Wang, Li, Shi, Podobnik, Stanley, Havlin and Boccaletti2018; Melamed et al., Reference Melamed, Harrell and Simpson2018; Rand et al., Reference Rand, Nowak, Fowler and Christakis2014, see also Jusup et al., Reference Jusup, Holme, Kanazawa, Takayasu, Romić, Wang, Geček, Lipic, Podobnik, Wang, Luo, Klanjšček, Fan, Boccaletti and Perc2022). Given that the number of replicates in such experiments can be low due to practical constraints, random variation in initial conditions can have significant effects. Our results imply that if cooperative individuals are by chance placed in more well-connected network positions, this can potentially affect the experimental results. We also saw that the amount of variation in the final cooperator fractions differed between settings, with some of them having more propensity for outliers than others (Figure 5, and see Appendix B for similar plots for the other settings), increasing the chance of getting unrepresentative experimental results. Such effects can therefore be important to consider when conducting network cooperation experiments. Similarly, the results show that initial conditions (here in the form of strategy-degree correlations) can have considerable effects in simulation studies of cooperation in networks, which underlines the importance of using replications in such studies.

We have looked at the evolution of cooperation in static networks (where the structure does not change). This allowed us to investigate how the effect of correlations between cooperative strategy and social connectedness depends on the network structure. While social systems of humans and other species are dynamic in the sense that they consist of series of time-limited social interactions, temporal changes in the emerging social network structures (that is, termination and emergence of social bonds) may be slow, which is supported by the finding of long-term stability in the structure of social networks in multiple species (Borgeaud et al., Reference Borgeaud, Sosa, Sueur and Bshary2017; Godfrey et al., Reference Godfrey, Sih and Bull2013; Kerth et al., Reference Kerth, Perony and Schweitzer2011; Prehn et al., Reference Prehn, Laesser, Clausen, Jønck, Dabelsteen and Brask2019). When changes in the real social structures are much slower than the rate by which individuals change their cooperative strategies, then static social networks can approximate the systems well in investigations of the evolution of cooperation. Our results imply that correlations between cooperative strategy and social connectedness can potentially contribute to the persistence and spread of cooperation in real-world networks with stable social structures. Such effects may also be relevant in unstable networks, depending on the nature of the social linking dynamics (Santos et al., Reference Santos, Pacheco and Lenaerts2006a; Zimmermann and Eguíluz, Reference Zimmermann and Eguíluz2005; Tanimoto, Reference Tanimoto2010; Duh et al., Reference Duh, Gosak and Perc2020). Investigations of the role of correlations between strategy and network position for the evolution of cooperation in real and simulated social systems with different levels of stability (Li et al., Reference Li, Zhou, Su, Cornelius, Liu, Wang and Levin2020) constitute an exiting avenue for future research.

Acknowledgements

We thank Sylvia Dimitriadou, Tim Fawcett, and Andrew Higginson for helpful comments on an earlier version of the manuscript.

Competing interests

The authors declare no competing interests.

Data availability statement

This paper does not use any data.

Funding statement

This research was supported by a grant from the Carlsberg Foundation (grant number: CF20-0663) to Josefine Bohr Brask, and a grant from the Independent Research Fund Denmark (grant number: 7027-00044B) to Jonatan Bohr Brask.

A. Neighborhoods and fitness

Consider a cooperator node of degree $k$ with $n$ cooperator neighbors and a defector node of degree $k^{\prime}$ with $n^{\prime}$ cooperator neighbors. The fitness of two such nodes for games with payoffs such as those used here (formalised in Eq. (1)) will be respectively

(4) \begin{equation} F = n R + (k-n) S , \end{equation}

and

(5) \begin{equation} F^{\prime} = n^{\prime} T + (k^{\prime}-n^{\prime}) P . \end{equation}

The cooperator has higher fitness than the defector when $F\gt F^{\prime}$ . For the one-parameter Prisoner’s Dilemma game, the payoffs are $S=P=0$ , $R=1$ , and $T=b$ , and thus $F\gt F^{\prime}$ if and only if

(6) \begin{equation} n \gt b n^{\prime} . \end{equation}

That is, a cooperator must have $b$ times as many cooperator neighbors as a defector to gain a higher fitness. For the one-parameter Snowdrift game, we have $T=\frac{1}{2}(\rho ^{-1}+1)$ , $R=\frac{1}{2}\rho ^{-1}$ , $S=\frac{1}{2}(\rho ^{-1} - 1)$ , and $P=0$ . In this case $F\gt F^{\prime}$ when

(7) \begin{equation} n \rho + k(1-\rho ) \gt n^{\prime} (1+\rho ) . \end{equation}

We see that for the Snowdrift game, the cooperator also benefits from a high number of cooperator neighbors, but a sufficiently high degree can compensate for a low number of cooperator neighbors. The inequality is always fulfilled for $k=n^{\prime}(1+\rho )/(1-\rho )$ . However, for cost-to-benefit ratios approaching 1 this diverges, and so in this regime $n$ must again be larger than $n^{\prime}$ . For the most severe instances of both games, i.e. for the parameter settings making it hardest for cooperation to evolve ( $b=2$ and $\rho =1$ ), cooperators need to have more than twice as many cooperator neighbors as defectors to achieve higher fitness.

Figure 6. Distributions of $r_{fin}$ for prisoner’s dilemma.

Figure 7. Distributions of $r_{fin}$ for snowdrift.

B. Final cooperator fraction figures

Distributions of final cooperator fractions for the Prisoner’s Dilemma game and the Snowdrift game, for all combinations of the four network types and the three levels of strategy-degree correlation. For each combination, the distribution is shown for each used value of the respective game parameter.

Footnotes

1 Note that this is reminiscent of probability-proportional-to-degree sampling without replacement.

References

Assenza, S., Gómez-Gardeñes, J., & Latora, V. (2008). Enhancement of cooperation in highly clustered scale-free networks. Physical Review E, 78(1), 017101. doi: 10.1103/PhysRevE.78.CrossRefGoogle ScholarPubMed
Barabási, A.-L., & Albert, R. (1999). Emergence of scaling in random networks. Science, 286(5439), 509512. doi: 10.1126/science.286.5439.509.CrossRefGoogle Scholar
Borgeaud, C., Sosa, S., Sueur, C., & Bshary, R. (2017). The influence of demographic variation on social network stability in wild vervet monkeys. Animal Behaviour, 134, 155165.CrossRefGoogle Scholar
Brask, J. B., Croft, D. P., Edenbrow, M., James, R., Bleakley, B. H., Ramnarine, I. W., Heathcode, R. J. P., Tyler, C. R., Hamilton, P. B. Dabelsteen, T., & Darden, S. K. (2019). Evolution of non-kin cooperation: social assortment by cooperative phenotype in guppies. Royal Society Open Science, 6(1), 181493.CrossRefGoogle ScholarPubMed
Brask, J. B., Ellis, S., & Croft, D. P. (2021). Animal social networks: an introduction for complex systems scientists. Journal of Complex Networks, 9(2), cnab001.CrossRefGoogle Scholar
Brucks, D., & von Bayern, A. M. P. (2020). Parrots voluntarily help each other to obtain food rewards. Current Biology, 30(2), 292297.CrossRefGoogle ScholarPubMed
Carter, G. G., & Wilkinson, G. S. (2013). Food sharing in vampire bats: reciprocal help predicts donations more than relatedness or harassment. Proceedings of the Royal Society B: Biological Sciences, 280(1753), 20122573. doi: 10.1098/rspb.2012.2573.CrossRefGoogle Scholar
Cassar, A. (2007). Coordination and cooperation in local, random and small world networks: experimental evidence. Games and Economic Behavior, 58(2), 209230. doi: 10.1016/j.geb.2006.03.008.CrossRefGoogle Scholar
Chen, X., Fu, F., & Wang, L. (2008). Influence of different initial distributions on robust cooperation in scale-free networks: a comparative study. Physics Letters A, 372(8), 11611167. doi: 10.1016/j.physleta.2007.09.0440.CrossRefGoogle Scholar
David-Barrett, T. (2023). Clustering drives cooperation on reputation networks, all else fixed. Royal Society Open Science, 10(4), 230046.CrossRefGoogle ScholarPubMed
Devlin, S., & Treloar, T. (2009). Cooperation in an evolutionary prisoner’s dilemma on networks with degree- degree correlations. Physical Review E, 80(2), 026105.CrossRefGoogle Scholar
Duh, M., Gosak, M., & Perc, M. (2020). Mixing protocols in the public goods game. Physical Review E, 102(3), 032310.CrossRefGoogle Scholar
Duh, M., Gosak, M., Slavinec, M., & Perc, M. (2019). Assortativity provides a narrow margin for enhanced cooperation on multilayer networks. New Journal of Physics, 21(12), 123016.CrossRefGoogle Scholar
Erdős, P., & Rényi, A. (1960). On the evolution of random graphs. Publication of the Mathematical Institute of the Hungarian Academy of Sciences, 5(1), 1760.Google Scholar
Gianetto, D. A., & Heydari, B. (2015). Network modularity is essential for evolution of cooperation under uncertainty. Scientific Reports, 5(1), 17.CrossRefGoogle ScholarPubMed
Godfrey, S. S., Sih, A., & Bull, C. M. (2013). The response of a sleepy lizard social network to altered ecological conditions. Animal Behaviour, 86(4), 763772.CrossRefGoogle Scholar
Gokcekus, S., Cole, E. F., Sheldon, B. C., & Firth, J. A. (2021). Exploring the causes and consequences of cooperative behaviour in wild animal populations using a social network approach. Biological Reviews, 96(5), 23552372.CrossRefGoogle ScholarPubMed
Gracia-Lázaro, C., Ferrer, A., Ruiz, G., Tarancón, A., Cuesta, J. A., Sánchez, A., & Moreno, Y. (2012). Heterogeneous networks do not promote cooperation when humans play a prisoner’s dilemma. Proceedings of the National Academy of Sciences, 109(32), 1292212926. doi: 10.1073/pnas.1206681109.CrossRefGoogle Scholar
Grujić, J., & Lenaerts, T. (2020). Do people imitate when making decisions? Evidence from a spatial prisoner’s dilemma experiment. Royal Society Open Science, 7(7), 200618.CrossRefGoogle ScholarPubMed
Hauert, C., & Doebeli, M. (2004). Spatial structure often inhibits the evolution of cooperation in the snowdrift game. Nature, 428(6983), 643646. doi: 10.1038/nature02360.CrossRefGoogle ScholarPubMed
Hofbauer, J., & Sigmund, K. (1998). Evolutionary games and population dynamics. Cambridge: Cambridge University Press.CrossRefGoogle Scholar
Jusup, M., Holme, P., Kanazawa, K., Takayasu, M., Romić, I., Wang, Z., Geček, S.,Lipic, T., Podobnik, B., Wang, L., Luo, W., Klanjšček, T., Fan, J., Boccaletti, S., & Perc, M. (2022). Social physics. Physics Reports, 948, 1148.CrossRefGoogle Scholar
Kerth, G., Perony, N., & Schweitzer, F. (2011). Bats are able to maintain long-term social relationships despite the high fission–fusion dynamics of their groups. Proceedings of the Royal Society B: Biological Sciences, 278(1719), 27612767.CrossRefGoogle ScholarPubMed
Krause, J., James, R., Franks, D. W., & Croft, D. P. (2015). Animal social networks. USA: Oxford University Press.Google Scholar
Leimar, O., & McNamara, J. M. (2023). Game theory in biology: 50 years and onwards. Philosophical Transactions of the Royal Society B, 378(1876), 20210509.CrossRefGoogle Scholar
Li, A., Zhou, L., Su, Q., Cornelius, S. P., Liu, Y.-Y., Wang, L., & Levin, S. A. (2020). Evolution of cooperation on temporal networks. Nature Communications, 11(1), 2259.CrossRefGoogle ScholarPubMed
Li, X., Jusup, M., Wang, Z., Li, H., Shi, L., Podobnik, B., Stanley, H. E., Havlin, S., & Boccaletti, S. (2018). Punishment diminishes the benefits of network reciprocity in social dilemma experiments. Proceedings of the National Academy of Sciences, 115(1), 3035.CrossRefGoogle ScholarPubMed
Melamed, D., Harrell, A., & Simpson, B. (2018). Cooperation, clustering, and assortative mixing in dynamic networks. Proceedings of the National Academy of Sciences, 115(5), 951956.CrossRefGoogle ScholarPubMed
Newman, M. E. J. (2002). Assortative mixing in networks. Physical Review Letters, 89(20), 208701. doi: 10.1103/PhysRevLett.89.208701.CrossRefGoogle ScholarPubMed
Noldus, R., & Van Mieghem, P. (2015). Assortativity in complex networks. Journal of Complex Networks, 3(4), 507542.CrossRefGoogle Scholar
Nowak, M. A., & May, R. M. (1992). Evolutionary games and spatial chaos. Nature, 359(6398), 826829. doi: 10.1038/359826a0.CrossRefGoogle Scholar
Ohtsuki, H., Hauert, C., Lieberman, E., & Nowak, M. A. (2006). A simple rule for the evolution of cooperation on graphs and social networks. Nature, 441, 70927502. doi: doi.org/10.1038/nature04605.CrossRefGoogle Scholar
Pennisi, E. (2005). How did cooperative behavior evolve? Science, 309(5731), 93. doi: 10.1126/science.309.5731.93.CrossRefGoogle ScholarPubMed
Prehn, S. G., Laesser, B. E., Clausen, C. G., Jønck, K., Dabelsteen, T., & Brask, J. B. (2019). Seasonal variation and stability across years in a social network of wild giraffe. Animal Behaviour, 157, 95104.CrossRefGoogle Scholar
Queller, D. C., & Strassmann, J. E. (1998). Kin selection and social insects. BioScience, 48(3), 165175. doi: 10.2307/1313262.CrossRefGoogle Scholar
Rand, D. G., & Nowak, M. A. (2013). Human cooperation. Trends in Cognitive Sciences, 17(8), 413425.CrossRefGoogle Scholar
Rand, D. G., Nowak, M. A., Fowler, J. H., & Christakis, N. A. (2014). Static network structure can stabilize human cooperation. Proceedings of the National Academy of Sciences, 111(48), 1709317098. doi: 10.1073/pnas.1400406111.CrossRefGoogle ScholarPubMed
Roca, C. P., Cuesta, J. A., & Sánchez, A. (2009). Evolutionary game theory: temporal and spatial effects beyond replicator dynamics. Physics of Life Reviews, 6(4), 208249. doi: 10.1016/j.plrev.2009.08.001.CrossRefGoogle ScholarPubMed
Rong, Z., Li, X., & Wang, X. (2007). Roles of mixing patterns in cooperation on a scale-free networked game. Physical Review E, 76(2), 027101027101. doi: 10.1103/PhysRevE.76.027101.CrossRefGoogle ScholarPubMed
Rutte, C., & Taborsky, M. (2007). Generalized reciprocity in rats. PLoS Biology, 5(7), e196. doi: 10.1371/journal.pbio.0050196.CrossRefGoogle ScholarPubMed
Santos, F. C., & Pacheco, J. M. (2005). Scale-free networks provide a unifying framework for the emergence of cooperation. Physical Review Letters, 95(9), 098104. doi: 10.1103/PhysRevLett.95.098104.CrossRefGoogle ScholarPubMed
Santos, F. C., & Pacheco, J. M. (2006). A new route to the evolution of cooperation. Journal of Evolutionary Biology, 19(3), 726733. doi: 10.1111/j.1420-9101.2005.01063.x.CrossRefGoogle ScholarPubMed
Santos, F. C., Pacheco, J. M., & Lenaerts, T. (2006a). Cooperation prevails when individuals adjust their social ties. PLoS Computational Biology, 2(10), e140.CrossRefGoogle ScholarPubMed
Santos, F. C., Pacheco, J. M., & Lenaerts, T. (2006b). Evolutionary dynamics of social dilemmas in structured heterogeneous populations. Proceedings of the National Academy of Sciences, 103(9), 34903494.CrossRefGoogle ScholarPubMed
Santos, F. C., Pinheiro, F. L., Lenaerts, T., & Pacheco, J. M. (2012). The role of diversity in the evolution of cooperation. Journal of Theoretical Biology, 299, 8896. doi: 10.1016/j.jtbi.2011.09.003.CrossRefGoogle ScholarPubMed
Smith, J. M., & Price, G. R. (1973). The logic of animal conflict. Nature, 246, 5427–5415. doi: 10.038/246015a0.CrossRefGoogle Scholar
Smith, J. M. (1982). Evolution and the theory of games. Cambridge, England: Cambridge University Press.CrossRefGoogle Scholar
Stella, L., Baar, W., & Bauso, D. (2022). Lower network degrees promote cooperation in the prisoner’s dilemma with environmental feedback. IEEE Control Systems Letters, 6, 27252730.CrossRefGoogle Scholar
Szabó, G., & Fáth, G. (2007). Evolutionary games on graphs. Physics Reports, 446(4), 97216. doi: 10.1016/j.physrep.2007.04.004.CrossRefGoogle Scholar
Tanimoto, J. (2010). The effect of assortativity by degree on emerging cooperation in a 2 dilemma game played on an evolutionary network. Physica A: Statistical Mechanics and its Applications, 389(16), 33253335.CrossRefGoogle Scholar
Traulsen, A., & Glynatsi, N. E. (2023). The future of theoretical evolutionary game theory. Philosophical Transactions of the Royal Society B, 378(1876), 20210508.CrossRefGoogle Scholar
Turner, P. E., & Chao, L. (1999). Prisoner’s dilemma in an RNA virus. Nature, 398(6726), 441443. doi: 10.1038/18913.CrossRefGoogle Scholar
Voelkl, B., & Kasper, C. (2009). Social structure of primate interaction networks facilitates the emergence of cooperation. Biology Letters, 5(4), 462464. doi: 10.1098/rsbl.2009.0204.CrossRefGoogle ScholarPubMed
Voelkl, B., JPortugal, S., Unsöld, M., Usherwood, J. R., Wilson, A. M., & Fritz, J. (2015). Matching times of leading and following suggest cooperation through direct reciprocity during v-formation flight in ibis. Proceedings of the National Academy of Sciences, 112(7), 21152120. doi: 10.1073/pnas.CrossRefGoogle ScholarPubMed
Wang, Z., Wang, L., & Perc, M. (2014). Degree mixing in multilayer networks impedes the evolution of cooperation. Physical Review E, 89(5), 052813.CrossRefGoogle ScholarPubMed
Xulvi-Brunet, R., & Sokolov, I. M. (2004). Reshuffling scale-free networks: from random to assortative. Physical Review E, 70(6), 066102. doi: 10.1103/PhysRevE.70.066102.CrossRefGoogle ScholarPubMed
Zimmermann, M. G., & Eguíluz, V. M. (2005). Cooperation, social networks, and the emergence of leadership in a prisoner’s dilemma with adaptive local interactions. Physical Review E, 72(5), 056118.CrossRefGoogle Scholar
Figure 0

Figure 1. An example of a single simulation run of the evolution of cooperation in a network with correlation between strategy and connectedness. The graph shows the fraction of cooperators over time in a standard scale-free (Barabási-Albert) network for Prisoner’s Dilemma with $b=2$ and intermediate correlation between cooperative strategy and degree. The red shaded region indicates the last 100 generations used to compute the final fraction of cooperators $r_{fin}$. Insets: snapshots of the cooperator fraction vs. node degree at timesteps 1, 3000, and 10000, for degree 1-20 (above 20 there are only few nodes per degree).

Figure 1

Figure 2. Simulation results of the evolution of cooperation in networks with different levels of correlation between cooperative strategy and social connectedness. It can be observed that correlations between strategy and connectedness can increase the success of cooperation, and that the effect depends on the combination of game, network type, and level of strategy-connectedness correlation. Results for the Prisoner’s Dilemma game and the Snowdrift game are to the left and right respectively. In the upper row are shown results for standard scale-free and Poisson networks, and in the lower row are results for versions of these networks with increased degree assortativity. The average final fraction of cooperators is plotted against the severity of the social dilemma (game parameters $b$ and $\rho$). The three curves on each plot are for three different levels of correlation between cooperative strategy and connectedness (see legend).

Figure 2

Figure 3. Strong correlations between strategy and connectedness in degree-assorted networks can lead to dynamics where the defector strategy is held back at bridge areas between clusters. The figure shows an example of strategy distributions for different timesteps $t$ in a Poisson network with increased degree assortativity and perfect correlation between strategy and degree (for the Prisoner’s Dilemma and b = 2). Cooperators are shown in red and defectors in blue, and larger node size indicates higher degree.

Figure 3

Figure 4. Dynamics of defector invasions in networks with increased degree assortativity and strong correlations between cooperative strategy and social connectedness. It can be observed how the average defector degree increases in rapid steps corresponding to the overtaking of network clusters (where many defectors increase their degree within a relatively short time), which are separated by long periods of no change that correspond to the defector strategy being held back at the bridge areas between clusters. The average defector degree over time is shown for 50 simulations (one line for each), for Poisson networks with increased degree assortativity, under the Prisoner’s Dilemma and perfect correlation between cooperative strategy and social connectedness (degree). The average defector degree was measured every 100 time steps.

Figure 4

Figure 5. Distributions of final cooperator fractions for Poisson networks with strong correlations between cooperative strategy and social connectedness, with and without increased degree assortativity. It can be observed how the final cooperator fractions occur in distinct peaks for the degree-assorted network, due to the defector strategy being held back at bridge areas between clusters. The final cooperator fraction $r_{fin}$ is shown for different values of the game parameter $b$. The results are for the Prisoner’s Dilemma with perfect correlation between cooperative strategy and social connectedness (degree), for (a) standard Poisson networks, and (b) Poisson networks with increased degree assortativity. Each distribution is based on 50 replicates and scaled to its maximal value.

Figure 5

Figure 6. Distributions of $r_{fin}$ for prisoner’s dilemma.

Figure 6

Figure 7. Distributions of $r_{fin}$ for snowdrift.