{'fraction_non_alphanumeric': 0.03407555183731257, 'fraction_numerical': 0.010264495784799536, 'mean_word_length': 4.954972216899789, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Impact of interaction style and degree on the evolution of cooperation on Barabási–Albert scale-free network

In this work, we study an evolutionary prisoner’s dilemma game (PDG) on Barabási–Albert scale-free networks with limited player interactions, and explore the effect of interaction style and degree on cooperation. The results show that high-degree preference interaction, namely the most applicable interaction in the real world, is less beneficial for emergence of cooperation on scale-free networks than random interaction. Besides, cooperation on scale-free networks is enhanced with the increase of interaction degree regardless whether the interaction is high-degree preference or random. If the interaction degree is very low, the cooperation level on scale-free networks is much lower than that on regular ring networks, which is against the common belief that scale-free networks must be more beneficial for cooperation. Our analysis indicates that the interaction relations, the strategy and the game payoff of high-connectivity players play important roles in the evolution of cooperation on scale-free networks. A certain number of interactions are necessary for scale-free networks to exhibit strong capability of facilitating cooperation. Our work provides important insight for members on how to interact with others in a social organization.


Introduction
Understanding the emergence of cooperation among selfish individuals is one of the central topics in evolutionary game theory [1].This problem remains a challenge in a social dilemma situation because the evolutionary equilibrium predicted by game theory is defection, not cooperation. Many natural and social scientists have investigated the possible mechanisms for the emergence of cooperation in a popular social dilemma, i.e., prisoner's dilemma game (PDG). Several effective mechanisms have been identified, including kin selection, group selection, direct reciprocity, reputation, and spatial structure [2].
Spatial structure means that some individuals interact more often than others. One approach of capturing this effect is the evolutionary graph theory [3], which allows us to study PLOS  how spatial structure or social network affects the evolution of cooperation. Nowak and May first proposed this mechanism in 1992 [4]. In their pioneering work, players occupy the nodes of a square lattice, play PDG with four neighbors, collect an aggregate payoff, and imitate the strategy of the most successful neighbor. Their simulation results show that cooperation can be obtained in PDG, and the clusters formed by cooperators on a square lattice are crucial for prevailing cooperative behaviors. Following this work, a wealth of studies provides additional evidence for the positive effect of spatial lattices on cooperation in PDG, but the spatial effects are closely related to lattice minutiae [5,6], social diversity [7][8][9], teaching activity [10,11], variable investment [12], heterogeneous coupling [13], and population density [14]. In a spatial lattice, a player can interact with his/her neighbors in some type of array, and each player has the same number of neighbors. However, social interaction situations are rarely described by such an extreme style. Some more compelling network patterns, such as small-world networks [15,16] and scale-free networks [17], are used to characterize the interactions between social individuals. The studies about the evolution of PDG on these networks [18][19][20][21] show that cooperation depends heavily on the interaction pattern defined by different network structures. Among these studies, a well-known conclusion is that scale-free networks produce a much higher cooperation level than regular ring networks and provide a unifying framework for the emergence of cooperation [21]. Based on that, a large number of studies have addressed various aspects related to the evolution of PDG on scale-free networks.
Firstly, the degree distribution of scale-free networks, which follows a power-law pattern and exhibits higher level of structural heterogeneity than that of other networks (such as random networks, single-scale networks and broad-scale networks), is recognized as a prominent factor for cooperation in evolutionary game dynamics [22]. Furthermore, it is found that the variance of the degree distribution affects the evolution of cooperation, and there exists an appropriate value of the variance, at which cooperation is optimal [23].
Secondly, since social networks have non-trivial clustering [15,16], assortativity mixing [24,25] and community structure [26,27], which differ from most other types of networks (such as technological networks and biological networks), the effect of these structural properties of scale-free networks on cooperation have also been widely explored. It is found that high clustering and obvious community structure of scale-free networks have positive effect on cooperation [28][29][30][31], but assortativity mixing of scale-free networks hinders the evolution of cooperation [32].
Thirdly, the payoff mechanism, which describes how each player's payoff is calculated in each round game, influences the evolution of cooperation. If the mechanism changes from accumulated payoff to average payoff, the outstanding ability of scale-free networks to facilitate cooperation found in the work [21] deteriorates continuously, eventually collapsing with the results obtained on regular graphs [33]. While an asymmetric payoff mechanism is introduced and the hub nodes are favored in the payoff matrix, the cooperation is further promoted on scale-free networks [34]. Under the measurement of average payoffs, cooperation is sometimes inhibited and sometimes enhanced on the scale-free networks, with respect to the cases on the random regular networks and regular lattices [35].
Lastly, some other mechanisms also have non-trivial influences on cooperation in scale-free networks. Under a preferential selection mechanism, the level of cooperation is greatly influenced by the initial strategies of hub nodes [36]. While error and attach mechanism are introduced, cooperation is extremely robust against random deletion of nodes, but declines quickly if nodes with the maximal degree are targeted [37]. Social diversity [38], tie weight [39,40], conformity [41], strategy update rules [42,43], punishment [44] and emotion [45] have shown to reinforce the cooperation in scale-free networks.
It is worth mentioning that under different payoff mechanisms, the effects of scale-free networks on cooperation are different accordingly [21,[33][34][35]. Average payoff scheme emphasizes that everyone in the real world has limited time and energy, and so an individual with numerous connections is unlikely to interact with all neighbors in every round of game. By dividing the accumulated payoff of a player by his/her number of neighbors, average payoff scheme measures the average level of payoff that a player gets from one interaction. It reflects an implicit assumption that all players have the same capability in interacting with others, i.e., obtaining payoff from one interaction in every round of game. This conflicts with the actual situation in the real world where some people are more adept at interactions than most others. Besides, the theoretical results obtained by Wu et al. [35] show that under the measurement of average payoff, game payoffs of high-connectivity players are far smaller than those of lowconnectivity players for some parameter conditions. This is unreasonable, because high-connectivity players in social organizations are generally the well-known persons or leaders, whose payoffs are universally higher than ordinary people. Thus, we argue that average payoff mechanism eliminates too much benefit of having a high degree in scale-free networks. Conversely, accumulated payoff is more reasonable for payoff measurement in scale-free networks, as long as we can explicitly include time or energy limitation of players in simulation model, i.e., there should be a restriction on player interactions in every round of the game.
Note that such a restriction on player interactions is briefly attempted for cooperation on scale-free networks in literature [46]. In that work, the players interact with limited neighbors randomly. However, random interaction only accounts for a small fraction of interaction situations in the real world. In most cases, we interact with each other with preference. To this end, we introduce a realistic interaction style, i.e., high-degree preference interaction, which is opposite to the random interaction applied in the literature [46] and is rooted in obtaining more benefits from the individuals who have more connections and resources. Equally important, since the overwhelming advantage of scale-free networks against regular ring networks found in the work [21] is based on full interactions, it is intriguing to investigate whether this kind of advantage still exist while limited interaction is considered. This part is also not considered in the literature [46]. Our work makes significant contributions by revealing the importance of interaction style and degree for cooperation, which provides us insight into how to interact with others in a social organization especially when time and energy are limited.
The remainder of this paper is organized as follows. Section 2 describes the model. Section 3 presents the simulation results and the analysis. Section 4 summarizes our findings and concludes the paper.

Model
Scale-free networks are widespread in the real world and are characterized by a degree distribution that decays as a power-law. A theoretical scale-free network can be generated by the Barabási-Albert model [17]. Two important processes, namely growth and preferential attachment, are integrated into the model. The growth process starts with a small number (m 0 ) of nodes, and at every time step, a new node with m( m 0 ) edges is linked to m different nodes already present in the system. For the preferential attachment process, the probability P(k i ) that a new node will be connected to node i depends on the degree k i of node i, such that Impact of interaction style and degree on the evolution of cooperation on Barabási-Albert scale-free network Prisoner's dilemma game (PDG) describes the interactions of two players with two possible behavioral options: cooperate (C-strategy) or defect (D-strategy). Two players must simultaneously decide whether to cooperate or defect. They both receive R upon mutual cooperation and P upon mutual defection. A defector exploiting a cooperator gets an amount T and the exploited cooperator receives S, such that T>R>P>S and 2R > T + S.
Each player in PDG occupies a node of the scale-free network generated by the Barabási-Albert model. If player i has an edge with player j in the network, then player j is a neighbor of player i and vice versa. Three important procedures are implemented by each player at each game time t: select interacting-neighbors; play PDG with interacting-neighbors; update strategy. The process can be summarized in

Select interacting-neighbors
Players sequentially select interacting-neighbors based on their degrees. The higher the degree a player has in the scale-free network, the higher the priority he/she has for selecting interacting-neighbors. For the players with the same degree, the priority among them is assigned randomly. Such a priority for high-connectivity individuals can be observed universally in the real world.
Player i selects his/her interacting-neighbors using two possible rules, high-degree preference rule and random rule. Under the high-degree preference rule, player i prefers interacting with high-connectivity neighbors. This preference is rooted in obtaining more benefits from the individuals who have more connections and resources. Then, the probability P(k j ) that player i will propose an interaction with neighbor j depends on the degree k j of j, such that where O i is the neighbor set of player i. Under the random rule, player i treats his/her neighbors equally and will propose an interaction with neighbor j randomly. This rule can be applied if the interactions among players are exogenously determined, and is a valuable comparison of high-degree preference interaction. If player i has less than W interacting-neighbors, he/she can propose an interaction with a neighbor j based on high-degree preference rule or random rule. Given that player i proposes an interaction with the neighbor j, a reciprocal interaction relation between them will be built only if neighbor j also has less than W interacting-neighbors. In this situation, neighbor j becomes the 'interacting-neighbor' of player i at game time t, and vice versa.
Player i tries to find W interacting-neighbors at game time t. However, if there are not enough potential interacting-neighbors around him/her or if all potential interacting-neighbors have already been "reserved" by other interactions, player i has to stop selecting, and therefore he/she has less than W interacting-neighbors or no interacting-neighbors at game time t. This means that if a player has a degree larger than W, some of his/her neighbors inevitably have no interactions with the player. Such an interaction situation corresponds to some actual cases in the real world. For example, during a given period of time, such as one day, an individual who has many friends can only meet with some of them, and a researcher who has many collaborators can only work with several of them. Here, W is referred to as the "upperbound" and represents the limited interaction degree of players.

Play PDG with interacting-neighbors
After all players complete the procedure of selecting interacting-neighbors, the PDG at time t begins among players who have reciprocal interaction relations. Player i uses the same strategy in all his/her interactions. Let x i,t denote player i's strategy at game time t, x i,t = (1,0) and x i,t = (0,1) represent C-strategy and D-strategy, respectively. The payoff U i,t of player i at game time t is then obtained by summing the payoffs from all his/her interacting-neighbors and can be expressed as

Update strategy
After all players obtained their game payoff, the strategy updating begins. All players update strategy synchronously. While player i updates his/her strategy, he/she first randomly selects an interacting-neighbor j from set O a i;t . Then, player i compares the payoffs of j and himself/ herself. If U j,t > U i,t , he/she will adopt the strategy of j at the next game time t + 1 with the probability given by where and O a j;t , respectively. Otherwise, if U j,t U i,t , player i keeps his/her strategy at the next game time t + 1, i.e., x i,t+1 = x i,t . If a player has no interacting-neighbors at game time t (i.e., n O a i;t ¼ 0), he/she also keeps his/her strategy. After all players have updated their strategies, the next game time t + 1 begins.

Simulation parameter settings
The current model is conducted on the scale-free networks with parameters m = m 0 = 2. Population sizes N = 1000,10000 and upper-bounds W = 4,6,8,12,16,32 are examined. Following common practice in literatures [2,21,46], PDG parameters are set as R = 1, P = S = 0, T = b, which have the same qualitative properties as the typical PDG with P > S when an evolutionary PDG is played on networks [3]. The only one free parameter b (2>b>1) represents the advantage of defectors over cooperators and is generally referred to as 'defect temptation'.
The initial strategies (cooperation or defection) are randomly assigned among players with equal probability, and so the frequency of cooperator f C (t) in the whole population at game   (N = 1000,10000). In order to investigate whether the overwhelming advantage of scale-free networks against regular ring networks found in literature [21] still exist while limited interaction is considered, the game dynamics defined by Eq (3) and Eq (4) is run on a corresponding regular ring network where all players have a degree of W, which is called ring-W network here. As a comparison, the case where there is no actual restriction on interactions is examined by setting upper-bound as W = N, because no player has a degree higher than population size. Besides, we checked a standard PDG parameter combination R = 1, P = 0, S = −0.1, T = b(2.1>b>1) which satisfies T>R>P>S and 2R>T+S. The results are presented in Fig 3. It can be seen from Figs 2A, 2B and 3 that although the density of cooperators P C has some trivial differences, it shows the same qualitative properties under different population sizes N = 1000,10000 and different prisoner's dilemma parameter settings (R = 1,

Results and analysis
. Firstly, the density of cooperators P C decreases with defection temptation b. This is because, a higher value of b makes defective behavior more competitive and players are more favorable of defecting. Secondly, the effects of interaction style and interaction degree on cooperation on scale free networks also exhibit the same characteristics. For a given upper-bound W, random interaction is better for the evolution of cooperation compared with high-degree preference interaction. For a given interaction style, upper-bounds W have positive effect on cooperation. While the value of upper-bounds W is very low (W = 4), P C on scale-free networks is much lower than that on corresponding ring-4 network, which is against the common perception that scale-free networks must be more beneficial for cooperation than regular ring networks. Next, we analyze and discuss the effects of  Fig 4A shows that all high-connectivity players cooperate under random interaction and obtain much higher game payoffs than defectors. However, in Fig 4B, a lot of high-connectivity players defect under high-degree preference interaction and the payoffs of them are nearly the same as those of high-connectivity cooperators. This is because, under different interaction  styles, the interacting-neighbors of high-connectivity players are different. More specifically, under random interaction, each high-connectivity player selects interacting-neighbors randomly from his/her neighbor set, and so they are surrounded by interacting-neighbors with different degrees. However, under high-degree preference interaction, each high-connectivity player prefers selecting other high-connectivity players. Accordingly, high-connectivity players form a core group where they interact with each other actively. Such an interaction situation can be observed anywhere in the real world, and is similar to the interaction on an assortative network.
Rong et al. [32] indicate that, when players interact on an assortative network, high-connectivity players tend to be interconnected and compose a core group, and then the ability of them to self-sustain the cooperation becomes weaker. Similarly, under high-degree preference interaction, high-connectivity players prefer forming an interacting core group. Then, many high-connectivity players defect other than cooperate. Such a phenomenon is verified by the network presentation in Figs 5 and 6. Fig 5 shows the interaction relation networks formed by 1000 players in the stationary regime of evolutionary dynamics under two different interaction styles while the upper-bound is set as W = 16. In both interaction relation networks, the highest interaction number of players is 16 and the lowest one is 0. It has been explored that there are 20 players and 23 players whose interaction number is 16 in Fig 5A and 5B, respectively, and all of them are the highconnectivity players in the corresponding scale-free networks. Besides, there are 5 players and 11 players whose interaction number is 0 in Fig 5A and 5B, respectively, and all of them are just the neighbors of the players whose interaction number is 16. It seems that there is no significant difference in interaction relation networks under two different interaction styles. However, when we make further exploration on the interactions among the high-connectivity players, i.e., the players whose interaction number is 16 in the stationary regime of evolutionary dynamics, significant difference is found, as shown in Fig 6. It can be seen in Fig 6A that  It can be seen in Fig 7A that the frequency of the cooperative interacting-neighbors is very high, which means that most of interacting-neighbors of high-connectivity cooperators are also cooperators. In Fig 7B, the frequency of the cooperative interacting-neighbors of a highconnectivity defector is obviously lower than that of a high-connectivity cooperator, which means that high-connectivity defectors have very strong ability in influencing their interacting-neighbors to select defective behavior.
In sum, the relevant analysis from Figs 4 to 7 indicates that under high-degree preference interaction, the high-connectivity players form an interacting core group. Accordingly, it is easy for a high-connectivity defector to invade the core group and then many high-connectivity players defect other than cooperate. This further influences their interacting-neighbors to choose defective behavior. Inversely, under random interaction, high-connectivity players prefer cooperating and obtain higher game payoff than defectors, which influence their interacting-neighbors to cooperate. As a result, random interaction is better for the evolution of cooperation compared with high-degree preference interaction. Of course, such a difference cannot be observed for all the upper-bounds W. This is because, for a very low upper-bounds, such as W = 4 or W = 6, it is difficult for high-connectivity players to form the interacting core group even though high-degree preference interaction is implemented.
Analysis for the impact of interaction degree on cooperation. To understand the effect of interaction degree on cooperation we first examine the average payoff U C ðkÞ ¼  Impact of interaction style and degree on the evolution of cooperation on Barabási-Albert scale-free network are shown in Fig 8. High-degree interaction rule shows the same qualitative properties as the random case.
For the upper-bound W = 4 (Fig 8A), some low-connectivity players whose degrees are no more than k = 8 cooperate, but all high-connectivity players defect and obtain no payoff (U(k) = 0).With the increase of upper-bound (W = 6 in Fig 8B and W = 8 in Fig 8C), more high-connectivity players cooperate and obtain higher payoff than defective ones, even though defect temptation increases at b = 1.2 and b = 1.3, respectively.
Although some low-connectivity cooperators Fig 8A obtain higher payoff than others, it is difficult for them to form a big cooperative cluster which is conductive to the evolution of cooperation. It can be seen in Fig 9 that cooperators are separated in different sub-graph, and those in the biggest connected sub-graph only account for 45% of all the cooperators. The reason for such a phenomenon is that, high-connectivity players defect and obtain no payoff under upper-bound W = 4, which leads to the fact that they have no influence on the strategy decision of their interacting-neighbors. In this situation, high-connectivity players act as being 'deleted' during the strategy evolution, which would 'divide' the whole interacting network into several small parts. This leads to the occurrence of some small cliques of cooperators. As a result, P C on scale-free networks under the upper-bound W = 4 is much lower than that on corresponding ring-4 network in all the cases.
Inversely, in Fig 8B and 8C, the higher payoffs of high-connectivity cooperators not only encourage their interacting-neighbors to cooperate because of the strategy updating rule defined by Eq (4), but also benefit cooperators to form a big cooperative cluster. It indicates that, the cooperators in the biggest connected sub-graph in the stationary regime of evolutionary dynamics account for 91.6% of all the cooperators under upper-bound W = 6, and 95.3% under upper-bound W = 8. As a result, the players with different degrees are more likely to cooperate under higher upper-bound W Fig 10 shows the probability P C (k) that a player of degree k acts as a cooperator in the stationary regime of evolutionary dynamics. For a given realization l of initial condition (W, b, selection rule), P C ðkÞ ¼ X l n C l ðkÞ= X l n l ðkÞ, where n C l ðkÞ is the number of cooperators of degree k and n l (k) is the number of players of that degree.
In Fig 10, we can observe that the players with different degrees are more likely to cooperate under higher upper-bounds. More specific data analysis results are provided as follows. For the players whose degrees k are between 2 and 32, a higher upper-bound W corresponds to a higher P C (k); for the players whose degrees k are larger than 32, a higher upper-bound W corresponds to a higher average level of P C (k), i.e., average P C (k) = 0 for W = 4, average P C (k) = 0.2721 for W = 6, and average P C (k) = 0.6495 for W = 8. These results indicate that under a higher upper-bound W, the players of all degrees are more resistant to defect temptation. As a result, the density of cooperators P C on scale-free networks increases with upper-bound W and the interaction degree exhibits positive effect on cooperation on scale-free networks.
In brief, the relevant analysis from Figs 8 to 10 indicates that more interactions on scalefree network help high-connectivity players choose cooperative behavior and obtain higher game payoff than defective ones. This encourages their interacting-neighbors to cooperate, and benefit the cooperators to form a big cooperative cluster which is conductive to the evolution of cooperators. As a result, the players with different degrees are more likely to cooperate under higher upper-bound W. A certain number of interactions are necessary for scale-free networks to exhibit strong capability in facilitating cooperation.

Conclusive remarks
In this paper, we study the evolutionary Prisoner's Dilemma Game on scale-free networks with limited interaction. Since the interaction is limited, individuals have to selectively interact with others. Then, the effect of interaction style on cooperation is the first problem we focus on. For this purpose, we introduce a universally applicable interaction style in the real world, i.e., high-degree preference interaction. Such a preference interaction is rooted in obtaining more benefits from the individuals who have more connections and resources, and is compared with random interaction. It is found that high-degree preference interaction is less beneficial for the evolution of cooperation than random interaction, because high-connectivity players form an interacting core group and then it is easier for high-connectivity defectors to invade the core group. Impact of interaction style and degree on the evolution of cooperation on Barabási-Albert scale-free network Meanwhile, we investigate the effect of interaction degree on cooperation under two different interaction styles, and examine whether the overwhelming advantage of scale-free networks against regular ring networks still exist if limited interaction, instead of full interaction, is considered. It is discovered that cooperation is enhanced with the increase of interaction degree on scale-free networks regardless of the interaction style (e.g., high-degree preference or random), and if the interaction degree is very low, the cooperation level on scale-free networks is much lower than that on regular ring networks. This discovery is against the common belief that scale-free networks must be more beneficial for cooperation than the ring network. It can be attributed to the fact that for a very low interaction degree, although some low-connectivity cooperators obtain higher payoff than others, it is difficult for them to form a big cooperative cluster which is conductive to the evolution of cooperation. On the opposite, with the increase of interaction degree, high-connectivity players cooperate and obtain higher payoff than others, which not only influence their interacting-neighbors to cooperate, but also benefit the cooperators to form a big cooperative cluster. Thus, a certain number of interactions are necessary for scale-free networks to prompt a high level cooperation.
The above results provide insightful information for individual interactions in the real world. Firstly, social organizations should provide their members more chances to interact in scale-free networks, i.e., more connections should be consciously built between leaders and ordinary staff. At the same time, leaders should interact actively and consciously with ordinary staff. The actual situation in the real world is that leaders generally have more connections and interactions among themselves, which does not benefit a high-level cooperation. Network structure, interaction style, and interaction degree are all essential to facilitate a high level of cooperation in a social organization.
Based on the current results, we can also envision some important extension work in the future. Firstly, social diversity (i.e., heterogeneous players) might favor cooperation in PDG [7][8][9]38], then it would be interesting to investigate the possible impact of running the current simulation model with a heterogeneous player set. If the upper-bound W is also heterogeneous and is related to the degree of players, what happens to the cooperation on scale-free networks? Obviously, the results also depend on the interaction rules. Besides, Holme-Kim scale-free network [29], Xulvi-Brunet-Sokolov scale-free networks [32], hierarchical scale-free network [47], multilayer networks [48], dynamic networks [49] and various social dilemmas [50,51] have been applied to study the mechanism of cooperation among selfish individuals. It is valuable to explore whether the interaction style and degree also have impact on cooperation under other network patterns or social dilemmas. Lastly, in the real world, the interaction Impact of interaction style and degree on the evolution of cooperation on Barabási-Albert scale-free network number of individuals generally changes with the time rather than keep constant. For example, while a strategy leads to a high payoff in interaction, individuals generally become more active in interaction and prefer that strategy. Then, if the interaction degree evolves along with the strategy, does the effect of the interaction styles on cooperation on scale-free networks change? The rule of changing interaction degree should be related to the game payoff of players, just as the rule of strategy updating. Those considerations will further advance the study of cooperation on networks.
Supporting information S1 Text. The simulation framework for the model described in section 2. The symbol '%. . .' is the annotation for the framework. The simulation code was implemented in Matlab (R2015b). (DOCX)