Full text
i Evolution of Cooperation in Multilayer Networks Paulo Barreto Valeriano de Albuquerque Sardinha Dissertation presented as partial requirement for obtaining the Master’s degree in Information Management
i Management School Instituto Superior de Estatística e Gestão de Informação Universidade Nova de Lisboa EVOLUTION OF COOPERATION IN MULTILAYER SOCIAL NETWORKS by Paulo Barreto Valeriano de Albuquerque Sardinha Dissertation presented as partial requirement for obtaining the Master’s degree in Information Management, with a specialization in Information Systems and Technologies Management Advisor: prof. Doutor Flávio L. Pinheiro (NOVA IMS) Co Advisor: prof. Doutor Francisco C. Santos (INESC-ID/Instituto Superior Técnico) July 2020
ii To my parents, Eulália and Francisco, with love and gratitude
iii ACKNOWLEDGEMENTS I would like to thank my supervisor, Dr Flávio Pinheiro, for his optimism, for the opportunity created and for providing me guidance and feedback throughout this project. Without his support I would not have been able to complete this research. I would also like to thank my co-supervisor Dr Francisco Santos for his insightful comments on this research. The papers I had the chance to read from them were inspiring and decisive in my decision to undertake this research. I would also like to thank Margarida for her constant encouragement, interest and help in the subjects I studied during the master's curricular component leading to this thesis. Last but not least I want to thank my family and friends for their incentive and for putting up with the time I invested in this master program depriving me of social gatherings.
iv ABSTRACT Individuals take part in multiple layers of networks of interactions simultaneously. These interdependent networks account for the different sort of social ties individuals maintain per layer. In each layer individuals participate in N-Player Public Goods Games where benefits collected increase with amounts invested. It is, however, tempting to be a free-rider, i.e., to take advantage of the common pool without contributing to it, a situation from which a social dilemma results. This thesis offers new insights on how cooperation dynamics is shaped by multiple layers of social interactions and diversity of contributions invested per game. To this end, we resort to Evolutionary Game Theory and Network Science to provide a convenient framework to address the most important prototypical social conflicts and/or dilemmas in large networked populations. In particular, we propose a novel mean-field approach capable of tracking the self-organization of Cooperators when co-evolving with Defectors in a multilayer environment. We show that the emerging collective dynamics, which depends (i) on the underlying layer networks of interactions and (ii) on the criteria to share a finite investment across all games, often does not bear any resemblance with the local processes supporting them. Our findings suggest that, whenever individual investments are distributed among games or layers, resilience of cooperation against free-riders increases with the number of layers, and that cooperation emerges from a non-trivial organization of cooperation across the layers. In opposition, under constant, non-distributed investments, the level of cooperation shows little sensibility to variations in the number of layers. These findings put in evidence the importance of asymmetric contributions across games and social contexts in the emergence of human cooperation. KEYWORDS Evolutionary Game Theory, Networks, Evolution, Cooperation, Public Goods Games, Multilayer, Average Gradient of Selection
v INDEX 1. Introduction ................................................................................................................. 1 1.1. Thesis Structure ..................................................................................................... 4 2. Literature Review ......................................................................................................... 7 2.1. The Problem Of Cooperation ................................................................................ 7 2.1.1. Two Person Games, the Prisoner’s Dilemma .............................................. 8 2.1.2. Public Goods Games .................................................................................. 11 2.1.3. Evolutionary dynamics in finite populations ............................................. 13 2.1.4. The Replicator Dynamics .......................................................................... 22 2.2. The Mechanisms of Cooperation......................................................................... 26 2.3. The Science of Networks..................................................................................... 30 2.3.1. Models of Networks ................................................................................... 35 2.3.1.1. Random Networks .......................................................................... 35 2.3.1.2. Horand Networks ............................................................................ 38 2.3.1.3. Scale-Free Networks ....................................................................... 38 2.3.1.4. Multilayers ...................................................................................... 40 2.3.1.5. Definition of a Multilayer Network ................................................ 42 2.3.1.6. Degree-Degree Correlation ............................................................. 44 2.3.1.7. Overlapping .................................................................................... 46 2.4. Evolutionary Games on Structured Populations.................................................. 46 2.4.1. Accumulated versus Average Payoffs ....................................................... 48 2.4.2. Update Rules .............................................................................................. 49 2.4.3. Gradient of Selection ................................................................................. 52 2.4.4. The Structure of Social Graphs .................................................................. 55 2.5. Other Relevant Bibliography for the Thesis ........................................................ 57 2.5.1. Multilayer networks ................................................................................... 58 2.5.2. Cooperation in Multilayer Networks ......................................................... 58 3. Model And Methods ................................................................................................... 63 3.1. Model ................................................................................................................... 63 3.2. Computer Simulations ......................................................................................... 65 3.2.1. Numerical Methods .................................................................................... 70 4. Results and Discussion ............................................................................................... 72 4.1. Topological Enslavement under Distributed Investments and Large Number of Layers ............................................................................................... 77
vi 4.2. Layer and Population Polarization ...................................................................... 80 4.3. Aggregated Average Gradient of Selection ......................................................... 85 5. Conclusions ............................................................................................................... 91 5.1. Future Work......................................................................................................... 93 6. Bibliography ............................................................................................................... 95 Appendix A. Algorithm for Payoff and AGoS Calculation ...................................... 102 Appendix B. Degree-Degree Correlation and Overlapping ...................................... 107 Appendix C. Criteria and Topological Enslavement ................................................ 114 Appendix D. Theoretical Aggregated Gradient of Selection with Distributed Investment ........................................................................ 129 Appendix E. Multilayers with different Types of Networks .................................... 133
vii LIST OF FIGURES Figure 1- T-S Quadrants for 2-Player Games ............................................................................ 9 Figure 2- Markov Chain for a Layer with State reflecting the Number of Cooperators .......... 16 Figure 3- Examples of superexponential and subexponential growths. ................................... 25 Figure 4- Mechanisms of Cooperation. .................................................................................... 27 Figure 5- Network Adjacency Matrix ...................................................................................... 31 Figure 6- Examples of Network Assortativity and Disassortativity. ....................................... 33 Figure 7- Examples of Clustering Coefficient Calculations for 3 Networks. .......................... 34 Figure 8- From Regular to Random Neworks. ......................................................................... 37 Figure 9- Poisson versus Power-law Distributions. ................................................................. 39 Figure 10- Multilayer Networks. .............................................................................................. 43 Figure 11-Effects of Population Structure on 2-Player Games. ............................................... 48 Figure 12- Application of Update Rule in a Multiplex ............................................................ 52 Figure 13-Average Gradient of Selection ................................................................................ 55 Figure 14- Level of Cooperation as a Function of Network type, Investment Criteria, Number of Layers, Intensity of Selection (β) and Enhancement Factor (F). ........ 72 Figure 15- Quasi-Stationary Probability for an 8-Layer Multilayer with BA Networks and Baseline Investment Criteria .......................................................................... 74 Figure 16- Level of Cooperation in Multilayer Networks in 2-Player Distributed Prisoner Dilemma (=0.1). .................................................................................... 75 Figure 17- Experimental Quasi-Stationary Distribution for Multilayers averaged across Network Layers. ......................................................................................... 78 Figure 18- Individual Strategy Consistency across an 8 layer BA multilayer with k=4,β=0.1,N=1000. .................................................................................... 81 Figure 19- Saturation in Multilayers as the Number of Layers vary. ..................................... 82 Figure 20- Saturation of Layers in a Multilayer as Investment Criteria and the Number of Layers vary. ........................................................................................................... 83 Figure 21- Layer and Node Consistency in a Multilayer as Investment Criteria and the Number of Layers vary. ......................................................................................... 84 Figure 22- Averaged Aggregated Gradient of Selection (AGoS) averaged across Layers and Time. ................................................................................................... 85 Figure 23- Aggregated Gradient of Selection (AGoS) for 4 Layers Multilayer over Time. .... 87 Figure 24- Aggregated Gradient of Selection (AGoS) for Multilayers averaged over Time. . 88 Figure B-1- Example of a Degree-Degree Correlation Matrix ............................................. 107 Figure B-2- Average Level of Cooperation for Degree-Degree Correlation versus Intensity of Selection (β). ................................................................................. 109
viii Figure B-3- Average Level of Cooperation for Degree-Degree Correlation versus Enhancement Factor. ......................................................................................... 111 Figure B-4- Average Level of Cooperation in BA Multilayers as a function of Link Overlapping and Enhancement Factor. ............................................................. 112 Figure C-1- Payoffs Distribution for Horand Multilayer with Investment per Game versus Number of Layers. ................................................................................. 117 Figure C-2- Time Series of Evolution of Cooperation Level in 16 Layer Horand Multilayer with Investment distributed per Game. ........................................... 118 Figure C-3- Markov Chain corresponding to Drunkard’s Walk Process .............................. 119 Figure C-4- Theoretical results for a Mean-Field approximation of a Layer with Nodes with equal Payoff. .................................................................................. 121 Figure C-5- Topological and Criteria Enslavement in Multilayers with 16 Layers, Investment distributed per Game. ..................................................................... 123 Figure C-6- Final Level of Cooperation as a Function of initial One. .................................. 124 Figure C-7- Topological and Criteria Enslavement for 16-layers Multilayer, 1000 nodes (N) per layer. ........................................................................................... 125 Figure C-8 - Domain of Topological Enslavement for Investment distributed per Game. .... 126 Figure C-9 - Consistency Trend in Multilayers with Investment distributed per Game. ....... 127 Figure C-10- Consistency in Horand Multilayers as the Number of Layers varies. .............. 127 Figure D-1- Theoretical AGoS for Horand Networks in Multilayers with Investment per Game Criteria .............................................................................................. 132 Figure E-1- Multilayer with 8 layers BA or Horand vs. Mixed Multilayer with 4 layers Horand plus 4 layers BA. .................................................................................. 133
5 favoured. Yet, cooperation is observed on many levels of biological and social organizations. The next section attempts to explain mechanisms that may be put in place for natural selection to favour cooperation and how they offset the costs of cooperation by causing Cooperators to also be on the receiving end more often. An overview of the most relevant concepts from the novel field of Network Science to be used throughout the text follows with a characterization of the networks that support the experimentations. Game dynamics, whether unfolding over continuous or discrete time, governed at the microscopic-agent level by stochastic rules or following deterministic rules modelling the direction and intensity of selection as a function of relative population concentrations is focused next. For the sake of completeness, chapter 2 finishes with a survey on publications related to the topics pursued in this thesis. Experiments were conducted via computer simulations that run on a framework built ad hoc, implementing multiple instances of agents with behaviours governed by stochastic processes. Chapter 3 aims to explain this framework, to detail the models constructed, to discuss the implementation options available and the rational beyond the options taken. Independent parameters, both topological and behavioural, and metrics to collect (outputs) as well as the methodologies followed are identified. Chapter 4 presents the main results collected from the simulations, highlighting the individual influence of the parameters on the cooperation levels attained by the system. In particular, it shows how the combination of topology and the criteria for deciding on how to share a finite investment among all games each individual participates in impacts the cooperation level achieved, leading, in extreme circumstances, to an enslavement in which the level of cooperation attained becomes insensitive to other environment parameters. A limited set of parameters dictate the enslavement condition. When this condition sets in, changes in other parameters have a marginal effect on the levels of cooperation attained which is preserved since multilayer initialization time. Mathematical explanations for enslavement to occur and for its consequences are explored. In order to better understand the dynamics unleashed on complex systems often unrelated to the stochastic rules programmed at agentlevel the former are built upon, one has resorted to Average Gradient of Selection (AGoS), a time and context independent metric, because of being averaged across time and the population, but dependent on parameters such as the networks supporting the interactions among individuals that reflects a trend for the evolution of the number of Cooperators over time. The use of AGoS initially conceived to a single layer is generalized to a multilayer case. AGoS results are interpreted and correlated with enslavement. Finally, in chapter 5, we draw concluding remarks and discuss future steps.
6 The thesis includes a number of appendixes complementing the results shown in chapter 4. Appendix A complements chapter 3 in presenting the algorithm conceived in order to minimize the duration of the simulations executed. In appendix B, we discuss the effects of degree-degree correlation and overlapping on the evolution of cooperation levels reached by the multilayer are explored. In appendix C, a mathematical analysis explaining the topological and investment criteria enslavement is developed. With conditions for enslavement met and taking a mean field approach, expected AGoS is anticipated via a mathematical path pursued in appendix D. Finally, in appendix E, we present results concerning cooperation levels and AGoS attained in multilayers with different types of networks are presented.
7 2. LITERATURE REVIEW In this section we motivate the study of the problem of cooperation. A literature review is undertaken from seminal papers towards a general objective of assessing the current state of knowledge on the subject. The literature review allowed us to identify directions of research and unexplored questions. It also helped in adopting a consistent terminology and on building up the foundations for a theoretical framework. Along this chapter, the literature review is presented with an emphasis on a number of concepts that are the cornerstone to the research conducted and presented in this thesis and that served as the ground/baseline for the extensive computer simulations conducted. Important keywords that summarize the topics researched in this section include Cooperation; Game Theory; Complex Networks; Evolutionary Dynamics; Public Goods Games; Multilayer Networks, and Gradient of Selection. 2.1. THE PROBLEM OF COOPERATION All great human achievements and the emergence of human culture are results of cooperative enterprises. Genes cooperate to form a genome, cells cooperate to produce multicellular organisms, individuals cooperate to form groups and societies. Language and human culture are just examples of results from cooperative enterprises. Cooperation relates to altruism, which opposes to competition, a cornerstone of evolution in Biology. Cooperation can be viewed as an outcome of a game that, despite potential costs incurred by participating individuals, is “good” (measured by some appropriated fitness measure) for them and that requires some sort of collective action. In this sense, to cooperate means to behave cooperatively, to bring something to the table. The problem with cooperation is that frequently it is costly, weighs on individual wellbeing and prosperity and is, thus, always vulnerable to exploitation by Defectors. Individuals are, thus, divided between acting selfishly and sacrificing part of their self interest in exchange for bringing value to society. The theoretical framework used most frequently to study cooperation among selfish individuals is Evolutionary Game Theory (Nowak M. , 2006), where the concept of a social dilemma captures the essence of the problem. Social dilemmas or collective action problems are situations where there is a conflict between individual and group interests so that if the individuals try to maximize their own payoff the whole group ends up with less than if they had acted in another-regarding way.
8 This tension between rational choice and successful cooperation is the topic of a vast literature spread over disciplines of social science (Eriksson & Strimling, 2012). Because cooperation is beneficial to society, understanding the mechanisms and conditions that encourage it and identifying the tuning parameters that may influence and catalyse its emergence is of utmost importance. 2.1.1. Two Person Games, the Prisoner’s Dilemma Classic game theory is based on two key assumptions. One is that players act rationally, they are fully aware of their and their opponent’s strategy options and payoff values. They are capable of correctly assessing missing information (if applicable) and process new information revealed by the play of opponents (in dynamic games) in terms of probability distributions. The second assumption is one of common knowledge, i.e., that each player knows not only that all others act rationally but also that others are aware that he/she knows they know, and so on recursively (Szabo & Fath, 2007). Players’ rationality assumption has been relaxed over time in order to push further the limits of classic game theory. Players have well defined and consistent goals and preferences, which can be described by a utility function. A utility function measures the satisfaction resulting from a certain outcome of the game, and players’ goal is to maximize their utility. It must be stressed here that the maximization problem of game theory differs from a general one of physics. In physics, one generally has a single parametrized function whose extreme condition characterizes the whole system. In game theory, it is common to have instead a set of functions to optimize as many as the number of interacting players, as they continuously restructure the landscape for each other in pursuit of their selfish individual goals (optimum). Players need to have at least two strategies to choose from. The combination of strategies chosen by each player, called strategy profiles, yields a result. In classic game theory, the payoff corresponds to the players’ evaluations of this result. A static one-shot 2-player game can be represented as in table 3 by 𝑁 times 𝑀 matrices (normal form) with 𝜋1𝑖𝑗=𝑢1(𝑆1𝑖,𝑆2𝑗) representing the utility function for player 1, when player 1 and 2 apply 𝑆1𝑖 and 𝑆2𝑗 strategies, respectively. Reciprocally, 𝜋2𝑖𝑗 𝑇=𝑢2(𝑆1𝑖,𝑆2𝑗), where 𝑢2 represents the utility function for player 2 in the same circumstances. Roles of the players define the game (a)symmetry. In a symmetric game players’ roles are identical and interchangeable, which implies that they possess the same strategy options and payoffs, N = M and 𝜋1𝑖𝑗=𝜋2𝑖𝑗.
9 Table 3 – Generalized Payoff Matrix of a 2-Player, 2-Strategy Game Player 2 (Payoff) 𝑆21 … 𝑆2𝑀 Player 1 𝑆11 (𝜋111,𝜋211 𝑇) … (𝜋11𝑀,𝜋21𝑀 𝑇) ⋮ ⋮ ⋱ ⋮ 𝑆1𝑁 (𝜋1𝑁1,𝜋2𝑁1 𝑇) … (𝜋1𝑁𝑀,𝜋2𝑁𝑀 𝑇) A particular group of a symmetric two-player games, the only ones to be the subject of this thesis, happen when the number of pure strategies is 2, C (Cooperation) and D (Defection), with payoff matrix as in table 2. In order to better chart and normalize territories of fear and greed in the playground of 2- Person games and as proposed in (Santos, Pacheco, & Lenaerts, 2006; Santos F. C., Pinheiro, Lenaerts, & Pacheco, 2012) payoff matrix is linearly transformed in order for and R and P to value 1 and 0, respectively. Figure 1- T-S Quadrants for 2-Player Games Having applied this transformation and as depicted in figure 1, the Stag–Hunt (SH) also known as the Coordination Dilemma emerges with 𝑅>𝑇>𝑃>𝑆 and unfolds in the lower left quadrant, when the fear of being cheated by 𝐷 (𝑃>𝑆) may justify defection instead of cooperation. In an isolated environment, each player may decide to behave as a C or a D. When both players decide to cooperate, each receives a reward R. Mutual defection results in a punishment of P. If they choose different strategies, the one offering cooperation receives S,
10 Sucker’s payoff, whereas the Defector collects T, interpreted as the Temptation to defect. Different dilemmas result from different ordering of these payoffs. Whenever 𝑇>𝑅, greed emerges and defection is tempting as it is the best strategy against a Cooperator. In the absence of fear (𝑃<𝑆), greed leads to Chicken, Hawk-Dove or Snowdrift (SG) game with 𝑇>𝑅>𝑆>𝑃. With both greed and fear present, 𝑇>𝑅>𝑃> 𝑆, the game obtained is Prisoner Dilemma (PD) (Santos F. C., Pinheiro, Lenaerts, & Pacheco, 2012). More generally, a game is a cooperative dilemma when two Cooperators get a higher payoff than two Defectors, 𝑅>𝑃, and still there is an incentive to defect. This incentive must exists when at least one of the following conditions hold true: (i) if 𝑇>𝑅 then it is better to defect when playing against a Cooperator; (ii) if 𝑃>𝑆 then it is better to defect when playing against a Defector; and (iii) if 𝑇>𝑆 then it is better to be the Defector in an encounter between a Cooperator and a Defector (Nowak M. , 2012). This sort of dilemma is present in anyone’s everyday life, when one has to decide between committing or being lazy, being selfish or altruistic, etc. A game is in a Nash equilibrium (NE) if, for each player, the strategy applied is the one that brings him the highest payoff considering the strategies chosen by other players, with is the same to say that the strategy followed by each player is the one he/she has no interest to deviate from, as it maximizes his/her payoff, taking into account the strategies chosen by his/her peers. The dilemma underlying prisoner’s game is that acting rationally unable to anticipate opponent’s strategy, players will defect and NE occurs with mutual defection, although both players would be better off if they cooperated. NE is insensitive to payoff matrix scaling or an addition of arbitrary constants to payoff columns (Szabo & Fath, 2007). Thus, offsetting the matrix in order to get a null payoff when Defectors meet each other and further scaling it in order for a 1 unit payoff to result between Cooperators interaction as was performed in figure 1, is a linear transformation from which no loss of generality in game dynamics results (Broom, 2005). The offset is irrelevant in replicator dynamics based on payoff differential. As to the positive multiplicative factor, it only rescales the time. Along the text the concept of Evolutionary Stable Strategy related to the probability of a homogenous population to be immune against the invasion of a minority of intruders or mutants will emerge. A strategy S is considered to be an Evolutionary Stable Strategy (ESS) if a population composed only by S individuals is resilient to the invasion from a minority of invaders with any other strategy. Being a refinement of a NE, not all NE are necessarily ESS.
11 2.1.2. Public Goods Games There are many socially and economically important examples with a number of decision makers involved greater than two. Although sometimes these situations can be modelled as repeated play of simple pair interactions, there are many cases where the most fundamental unit of the game is irreducibly of multi-player nature. These games cannot be cast in a matrix or bi-matrix form. Still the basic solution concept is the same: when played by rational agents the outcome should be a Nash equilibrium where no player has an incentive to deviate unilaterally. One example of Public Goods Games (PGG) is the Tragedy of the Commons, an abstract game that exemplifies what has been one of the major concerns of political philosophy and economic thinking since the 19th century (Hardin, 1968) and is now part of the mainstream economic theory, assuming that the selfish and rational human nature will lead to the depletion of essential and common resources, e.g. water, soil, etc., in the absence of well-defined property rights, formal, top-down management institutions, rules of access and exploitation. In order to quantitatively better illustrate how the Tragedy of Commons unfolds, one can assume a common finite resource, e.g. a village green, and N players, farmers. The cost of taking one goat grazing in the green is c. It is up to each player i to decide on how many goats 𝑔𝑖 he/she will take grazing. In total there will be 𝐺=𝑔1+⋯+𝑔𝑁 goats grazing. u(G) is an utility function that returns the individual benefit from taking a goat grazing as a function of green utilization. As the green suffers from overgrazing, not only will 𝑢(𝐺) decrease with G, which means 𝑑𝑢 𝑑𝐺<0, as this decrease will be sharper for higher G, which means 𝑑2𝑢 𝑑𝐺2<0. The payoff of each player will be of 𝑝𝑖=(𝑢(𝐺)−𝑐)𝑔𝑖 (1) At a Nash equilibrium, famers’ decision on the number of goats grazing will be (𝑔1∗,…,𝑔𝑁 ∗) as no farmer will be better of if he changes his/her chosen number of goats in the green. Thus, at Nash equilibrium 𝜕𝑝𝑖 𝜕𝑔𝑖=0, i.e., 𝜕𝑝𝑖 𝜕𝑔𝑖=𝑢(𝐺∗)+𝑑𝑢(𝐺∗) 𝑑𝐺 𝜕𝐺 𝜕𝑔𝑖𝑔𝑖∗−𝑐=𝑢(𝐺∗)+𝑑𝑢(𝐺∗) 𝑑𝐺 𝑔𝑖∗−𝑐= 0 (2) Summing up left identity of rightmost equation for all players, one gets 𝑢(𝐺∗)+𝐺∗ 𝑁𝑑𝑢(𝐺∗) 𝑑𝐺 −𝑐=0 (3)
12 If 𝑢(𝐺) is known, the optimum 𝐺∗ can be found. However, were there a central management entity in place, the social welfare would take place at 𝐺∗∗which maximizes total payoff 𝑝= (𝑢(𝐺)−𝑐)𝐺. This implies 𝑢(𝐺∗∗)+ 𝐺∗∗𝑑𝑢(𝐺∗∗) 𝑑𝐺 −𝑐= 0 (4) Comparing both equations and taking into account the fact of 𝑢(𝐺) and its derivate decreasing with 𝐺, one concludes that 𝐺∗∗<𝐺∗, which means that at Nash equilibrium compared with social welfare optimum the common resource is over utilized. This makes the game a social dilemma (Szabo & Fath, 2007). In another variation of PGG (Kleineberg & Helbing, 2018; Battiston, Matjaz, & Latora, 2017; Li, Shen, & Jiang, 2016; Pacheco, Pinheiro, & Santos, 2009; Santos, Santos, & Pacheco, 2008) each player 𝑖 in a total of 𝑁 makes a contribution 𝑐𝑖 to a common pool, topped arbitrarily by 1. The total collected, ∑𝑐𝑖𝑖 is multiplied by an enhancement factor 𝐹,1<𝐹<𝑁, a synergy factor reflecting how much the whole is greater than the sum of the parcels, to be equally divided among all participating players, no matter the amount of individual contributions,. Being a Defector in this game means contributing with 𝑐𝑖=0. Those who contribute with 𝑐𝑖>0 are Cooperators. Maximum total income is achieved if all players contribute maximally. In this case each player receives 𝐹𝑐, resulting in a final payoff is (𝐹−1)𝑐. Players are faced with the temptation of being free-riders, i.e., to take advantage of the common pool without contributing to it, as any individual investment is a loss for the player because only the fraction 𝐹 𝑁<1 will be repaid. Consequently, rational players invest nothing and one ends up with another Tragedy of Commons, Free Rider problem, Social Dilemma on N-Player PD (Szabo & Fath, 2007). If the number of players is 2 and players’ choices are binary, i.e., they are constrained to not invest or to invest a fixed amount, then the game becomes a Prisoner’s Dilemma. With due tuning of parameters, a N-person round robin PD game can simulate a PGG. As it will be hereafter discussed in Network section individuals are located as nodes in a network. Each PGG instance makes use of a focal node such that the focal node has all its direct neighbours, i.e., all nodes directly linked to the focal node, constitute the N players of the game. While it is common to assume that in every game individuals can contribute/invest a fixed amount c to the public good, a broader scenario inspired in the 2-Player Distributed Prisoner Dilemma (DPD) from (Pacheco, Pinheiro, & Santos, 2009) is explored. Hence, a PGG
13 involving two individuals that participate in multiple games is considered, investment values being distinct per players. In the distributed scenario, individuals have to split their investment across a set of games they participate (that can be all of them, or part of them). In that case, the possible outcomes of each player actions can be summarized in a payoff matrix as in table 4 with 𝐶1 and 𝐶2 representing, respectively, the investments of players 1 and 2. Table 4 - Payoff matrix for Public Goods Games in the 2-Player Distributed (Version in Player1’s Perspective) 𝜋 (Payoff) Player 2 C D Player1 C (𝐹2−1)𝐶1 + 𝐹2 𝐶2 (𝐹2−1)𝐶1 D 𝐹2𝐶2 0 Depending on the assumptions of the DPD the values of 𝐶1 and 𝐶2 may be computed differently. The single N+1-Player game is substituted by N 2-Person games, one per each of the N neighbours the focal node can play with. 2.1.3. Evolutionary dynamics in finite populations The evolutionary game dynamics of a finite population can be described by a stochastic process, an approach well suited for computer simulation that models the microscopic mechanisms underlying strategy transference between individuals. Once the evolutionary path is traced, one will force both (i) population size to tend to infinity and (ii) time intervals between system updates to tend to zero, looking for a convergence with the solution that would have been reached had the population been considered infinite and dynamical rules defined at population level. As a mechanism for strategy transference, some alternatives can be considered from which the following are highlighted: Pairwise comparison- Along this alternative, a focal individual f available to update his strategy is randomly selected. A second distinct individual r is also randomly selected. All individuals have an equal probability of being chosen in any selection.
14 The first individual copies a strategy of a second individual with a probability that increases with the fitness differential between them. The reference probability can be Prob =12+𝑤2𝜋𝑟−𝜋𝑓 △𝜋 (5) with △𝜋 representing the maximum payoff difference that can be found between individuals, the numerator of the fraction standing for the difference between r and f individuals’ payoff and 0≤𝑤≤1 . 𝑤 measures the relative importance of selection compared to neutral drift. An alternative for not having to anticipate △𝜋 is to rely on Fermi distribution and have (Traulsen, Nowak, & Pacheco, 2006) Prob =1 1+𝑒−𝑤(𝑛𝑟−𝑛𝑓) (6) In both pairwise comparisons, for 𝑤=0 the decision to update a strategy has 0.5 probability and does not take into account payoff differences. For 0<𝑤≪1, the two reference probabilities become similar because 1 1+𝑒−𝑤(𝑛𝑟−𝑛𝑓) =12+ 𝑤 2(𝑛𝑟−𝑛𝑓)+ 𝑂(𝑤2). Specifically for the Fermi case, if 𝑤→∞ the process becomes deterministic: an individual switches strategy if and whenever the one he compares to has an higher payoff (Traulsen & Hauert, 2008). Pairwise comparison models a process of cultural evolution by learning and imitation. Moran birth-death process- Firstly a focal individual f is randomly selected for reproduction with a probability proportional to its fitness. His/Her offspring inherits ancestor’s strategy. Another r distinct individual is selected randomly with uniform probability. In order to preserve the size of the population, the r individual is replaced by the offspring. The Moran birth-death process (Moran, 1958) originated in genetics provides a mechanism for most fit individuals to spread across the population. Fitness of an individual as proxyed by its payoff can be given by 1−𝑤+𝑤𝜋, with 0≤𝑤≤ 1 standing for the balance between selection and neutral drift. The Moran birth-death process maps to the traditional interpretation of evolutionary game dynamics in which strategies are encoded in genomes and spread throughout the population as a function of its relative fitness. In order to better illustrate how finiteness impacts evolution, one starts considering a wellmixed population with N individuals and with two strategies, A and B, available for individuals to choose from with a generic payoff matrix 𝜋𝑖𝑗 as in table 5.
21 𝜕 𝜕𝑡𝜌(𝑥,𝑡0)=−𝜕 𝜕𝑥[(𝑇+(𝑥0)−𝑇−(𝑥0))𝜌(𝑥0,𝑡0)]+ 12𝜕2 𝜕𝑥2[(𝑇+(𝑥0)+𝑇−(𝑥))𝜌(𝑥0,𝑡0)] 𝑁 + 𝑂(𝑁−2) (36) 𝑥0 and 𝑡0 are points within intervals ]𝑥,𝑥+1 𝑁[ and ]𝑡,𝑡+1 𝑁[, respectively, with 𝑁 tending to infinity. In order to solve this equation, a parenthesis is opened to derive the same equation via a Stochastic Differential equation of the form 𝑑𝑋𝑡=𝜇(𝑥,𝑡)𝑑𝑡+𝜎(𝑥,𝑡)𝑑𝐵𝑡 (37) 𝑋𝑡 is a stochastic process with a drift over time of 𝜇(𝑥,𝑡) and a local volatility given by 𝜎(𝑥,𝑡). Both 𝜇 and 𝜎 functions are deterministic. 𝐵𝑡 is a Brownian process, also known as Wiener process, resulting from the integration of white noise. It is characterized by being stationary with 𝑃𝑟𝑜𝑏(𝐵0=0)=1 and 𝐵𝑡−𝐵𝑠~𝑁(0,|𝑡−𝑠|). Differential calculus will be of no use here as 𝐵𝑡, although continuous, is not differentiable. However, Itô lemma can be applied. Further calculating density probability 𝑝(𝑥,𝑡) of process X, one gets a similar Fokker-Planck equation (Oksendal, 2003) 𝜕 𝜕𝑡𝑝(𝑥,𝑡)=−𝜕 𝜕𝑥(𝜇(𝑥,𝑡)𝑝(𝑥,𝑡))+12𝜕2 𝜕𝑥2(𝜎2(𝑥,𝑡)𝑝(𝑥,𝑡)) (38) Comparing equation 36 to 38 and considering process X as defined in 37 to be a solution for equation 38, a solution for equation 36 is 𝑑𝑥(𝑡) 𝑑𝑡 =(𝑇+(𝑥)−𝑇−(𝑥))+√𝑇+(𝑥)+𝑇−(𝑥) 𝑁𝜂(𝑡) (39) Second term on the right hand side, which includes a white noise component 𝜂(𝑡) derivate of the Brownian process can be discarded, because of 𝜂(𝑡) having a normalized Gaussian amplitude probability and the population size 𝑁 tending to infinity. Payoff of followers of A and B strategy from a Stochastic Markov Birth-Death process as in equations 7 and 9 adapted to the continuous case and still considering payoff as a proxy to fitness results in 𝑓𝐴(𝑥)=𝑎𝑥+(1−𝑥)𝑏 𝑓𝐵(𝑥)=𝑐𝑥+(1−𝑥)𝑑 (40) (41) 𝑇±(𝑥) for the Fermi distribution pairwise comparison, the one to be explored along the thesis, values 𝑇±(𝑥)= 𝑥(1−𝑥) 1 1+𝑒±𝛽(𝑓𝐵(𝑥)−𝑓𝐴(𝑥)) (42) For 𝑇+(𝑥), 1−𝑥 stands for the probability of first individual to be randomly selected from B population, 𝑥 for the probability of second selected individual to be from population A and
22 finally the fraction represents the Fermi probability of first individual to copy strategy from second one. Introducing equalities from equation 40 to 42 into equation 39 and considering in this last equation only the first term from right side, as second one is discardable when N tends to infinity, one gets 𝑑𝑥(𝑡) 𝑑𝑡 = 𝑥(1−𝑥)(1 1+𝑒𝛽(𝑓𝐵(𝑥)−𝑓𝐴(𝑥))−1 1+𝑒−𝛽(𝑓𝐵(𝑥)−𝑓𝐴(𝑥)))= 𝑥(1−𝑥)tanh (𝛽2(𝑓𝐴(𝑥)−𝑓𝐵(𝑥))) (43) which for for 𝛽≪1 simplifies to 𝑑𝑥(𝑡) 𝑑𝑡 =𝛽2𝑥(1−𝑥)(𝑓𝐴(𝑥)−𝑓𝐵(𝑥))=𝛽2𝑥(𝑓𝐴(𝑥)−〈𝑓(𝑥)〉) (44) with 〈𝑓(𝑥)〉 standing for the average payoff of the population, equal to 𝑥𝑓𝐴(𝑥)+(1− 𝑥)𝑓𝐵(𝑥). This is the replicator equation, a deterministic equation for infinite populations to be introduced in the following chapter stating that the relative growth rate of a population (1𝑥𝑑𝑥(𝑡) 𝑑𝑥 ) is proportional to the differential of its fitness to average fitness. It assumes individuals are equally likely to interact with any others. (Traulsen, Claussen, & Hauert, 2006; Traulsen & Hauert, 2008) show that the replicator equation is also the limit of equation 36 for infinite populations for Moran birth-death process. 2.1.4. The Replicator Dynamics On a large unstructured population tending to infinity, the rules describing the selection among a limited number of strategies is defined at macroscopic level. They assume the form of nonlinear differential equations coined as the replicator dynamics that take into consideration the selection mechanism applicable, modelling the evolution of the populations’ frequency by means of fitness comparisons. The replicator equation provides a mean-field deterministic description of a population evolutionary dynamics, which means considering an infinite and well-mixed population driven by a continuous time dynamical process. Concretizing, by taking a dynamic perspective in Evolutionary Game Theory and by interpreting the rate of reproduction of a population as its fitness, a population with x(t) individuals at time t without environment constraints against its growth and reproducing at a rate of r per individual and unit of time has an evolution over time that can be described by the differential equation
23 𝑑𝑥 𝑑𝑡 = rx (45) with the solution x(t) = 𝑥0𝑒𝑟𝑡 (46) where 𝑥0 represents the size of the population at 𝑡=0. If 𝑟 is positive, the population growths to infinity. If population death is to be considered, the differential equation is to be replaced by 𝑑𝑥 𝑑𝑡=(𝑟−𝑑)𝑥 (47) with 𝑑 representing the death rate per individual and unit of time. If one considers additionally a maximum environment carrying capacity 𝐾, growth rate can be topped by a (1−𝑥 𝐾) factor as in 𝑑𝑥 𝑑𝑡 = (𝑟−𝑑)𝑥(1−𝑥 𝐾) (48) with solution 𝑥(𝑡)= 𝐾𝑥0𝑒(𝑟−𝑑)𝑡 𝐾+𝑥0(𝑒(𝑟−𝑑)𝑡−1) (49) So far, a single population of individuals was considered. When second population is introduced, natural selection gets in the play because it is a key mechanism of evolution that operates whenever different types of individuals reproduce at different rates. With more than one population and considering a scenario in which the total population is held constant, e.g. due to the ecosystem having a maximum constant carrying capacity, on the macroscopic level the replicator dynamics can be postulated directly with the reasonable assumption that the per capita growth rate of a population, 1𝑥𝑑𝑥 𝑑𝑡, is proportional to the population fitness to average fitness differential (Szabo & Fath, 2007; Nowak M. , 2006),. The fitness measures the individual’s evolutionary success, i.e., the payoff of the game in this game theory context. Along this rational, let 𝑥 and 𝑦 represent the ratio of individuals over total population and let 𝑎 and 𝑏 stand for reproduction ratios for X and Y populations, respectively. Obviously 𝑥 + 𝑦 = 1. Let also ∅=ax+by stand for the average fitness of the all population. Then, according to assumptions about populations’ growth, one has 𝑑𝑥 𝑑𝑡 = 𝑥(𝑎−∅) (50) (51)
24 𝑑𝑦 𝑑𝑡 = 𝑦(𝑏−∅) Because the sum of 𝑥 and 𝑦 proportions is fixed, the sum of their derivate equals 0. So, if right sides of both equations are added one gets (ax + by) − (x+y)∅, which equals zero as expected. Previous system of equations is redundant, so replacing y by 1 –𝑥 in first equation (or vice-versa) one gets 𝑑𝑥 𝑑𝑡 = 𝑥(1−𝑥)(𝑎−𝑏) (52) Equilibrium is reached when 𝑑𝑥 𝑑𝑡=0, i.e., when 𝑥=0 or 𝑥=1. This makes sense, because it corresponds of all population consisting only of X or Y individuals. The equation highlights another aspect. If 𝑎>𝑏, 𝑑𝑥 𝑑𝑡>0, which implies that X population will dominate and Y be extinct. If 𝑎<𝑏 it is Y time to dominate. If 𝑎=𝑏, whatever the initial relative proportions of X and Y population, they are preserved. The evolutionary scenario analysed is an example of the survival of the fittest, but other scenarios can be anticipated in which both population can co-exist. Such scenarios can be represented by more general evolutionary equations such as 𝑑𝑥 𝑑𝑡 = 𝑎𝑥𝑐−∅𝑥 𝑑𝑦 𝑑𝑡 = 𝑏𝑥𝑐−∅𝑦 (53) (54) where 𝑥, 𝑦, 𝑎, and 𝑏 maintain their previous meaning. There is now a new variable, 𝑐. If 𝑐= 1, the previous scenario is recovered. In order to keep total population constant, i.e., for the sum of variations in X and Y populations to be zero, ∅ is updated to ∅=𝑎𝑥𝑐+ 𝑏𝑦𝑐. Substituting ∅ in first system of equations one gets 𝑑𝑥 𝑑𝑡 = 𝑎𝑥𝑐−(𝑎𝑥𝑐+𝑏𝑦𝑐)𝑥 = 𝑥(𝑎𝑥𝑐−1−𝑎𝑥𝑐−𝑏𝑦𝑐)= 𝑥((1−𝑥)𝑎𝑥𝑐−1−𝑏(1−𝑥)𝑐−1 = 𝑥(1−𝑥)(𝑎𝑥𝑐−1−𝑏(1−𝑥)𝑐−1) (55) The derivate of X population frequency is zero for 𝑥=0 or 𝑥=1, as in previous scenario. There is however a new root for this derivate that values 𝑥∗= 1 1+ √𝑎𝑏 𝑐−1 (56) Depending on the combination of 𝑎, 𝑏 and 𝑐 parameters, this root can be stable or unstable.
25 Figure 3- Examples of superexponential and subexponential growths. Growth is governed by 𝑑𝑥 𝑑𝑡 = 𝑥(1− 𝑥)(𝑎𝑥𝑐−1−𝑏(1−𝑥)𝑐−1) equation. Left panel obtained with 𝑎=9, 𝑏=2, 𝑐=3 has an unstable root. In right panel, the combination 𝑎=3, 𝑏=8, 𝑐=0.5 leads to a stable root. Figure 3 presents examples of both sorts of roots. The root 𝑥∗ naturally belongs to interval ]0,1[. However, depending on 𝑐− 1 signal, the behaviour of the system changes. If 𝑐 > 1, the derivate of X population frequency will be negative in interval ]0,𝑥∗[, positive in ]𝑥∗,1[. If the derivate is positive, the trend of the population is to grow. Thus, in first interval the population shrinks, to grow on the second one. No matter how small the perturbation is, if 𝑥 surpasses 𝑥∗, because of 𝑑𝑥 𝑑𝑡 being positive, 𝑥 keeps increasing until 𝑥=1. The reciprocal happens if a perturbation makes 𝑥 smaller than 𝑥∗, with 𝑥 darting to 0. This makes 𝑥∗ is an unstable equilibrium point. The remarkable aspect to stress is that this conclusion is irrespective of the rates of growth of X and Y populations. Even if Y has a higher reproduction rate, if at a certain point in time frequency of population X goes beyond 𝑥∗, population Y is doomed. If 𝑐<1, 𝑥=0 and 𝑥 = 1 are still equilibrium points but unstable. The introduction of a minimum number of individuals from X or Y population in a population of all Y or all X individuals, respectively, drives the system to a co-existence scenario with 𝑥∗ and 𝑦∗ = 1 – x∗ as the relative frequencies for X and Y populations, respectively. Again, irrespective of the reproduction rates of both populations. The relative reproduction rates of the populations only determines where x* is located. Because starting relative frequency dictates the stable equilibrium point to converge to, superexponential growth (𝑐>1) favours whoever was there first (survival of the first), whereas subexponential growth (𝑐 < 1) leads to the survival of all. This is illustrated in figure 3.
26 2.2. THE MECHANISMS OF COOPERATION Cooperation problems emerge as a result from a misalignment between individual motivations and collective goals. This tension is best captured by the prisoner's dilemma a 2-Player game with 𝑇>𝑅 >𝑃 >𝑆, played in both territories of greed, as it is tempting to defect against a Cooperator because 𝑇 > 𝑅, and fear as with 𝑃 > 𝑆 defection arises as the best strategy against a Defector (see figure 1). Thus, no matter the strategy followed by the opponent, the best option for a rational player is always to defect. By seeking selfishly to maximize his/her own profits, rational players end up in a less desirable collective outcome, instead of 2𝑅 they get 2𝑃. Natural selection is a key mechanism of evolution that operates whenever different types of individuals reproduce at different rates (Nowak M. , 2006) which leads one to expect that every individual should be designed to promote its own evolutionary success at the expense of its competitors. This is why, in the absence of any other assumption and in a well‐mixed population, Defectors always have a higher expected payoff than Cooperators, and therefore natural selection rewards selfish behaviour and favours Defectors. In opposition, cooperation is an altruistic act that is costly to perform, because it means individuals giving up part of their (reproductive) potential in order to benefits others and in favour of a common good Besides, cooperation is always vulnerable to exploitation by Defectors. Thus, this stated, cooperation future does not look promising. Yet cooperation is observed on many levels of biological organization, from bacteria and cellular organisms to animals (Nowak M. , 2007). Cooperation is the decisive organizing principle of human society. Many great achievements of humankind were accomplished via cooperation. Additionally, populations of Defectors have a lower fitness than if they played the cooperation role. So, besides relying on individual social value orientation (Bogaert, Boone, & Declerck, 2007), a concept from social psychology attempting to reflect how much weight a person attaches to the welfare of others in relation to its own, for justifying cooperation, explaining the
27 Figure 4- Mechanisms of Cooperation. Clockwise from top left corner direct reciprocity mechanism is presented with individuals repeatedly interacting and helping each other. Indirect reciprocity follows. By helping a peer an individual builds on his reputation. In kin selection the level of help depends on peer relatedness. In group selection when a an individual reproduces in a group already at its maximum capacity the group splits in two and another already existing group is chosen for extinction. Population structure dictates who interacts with whom allowing the formation of cluster emergence of cooperation requires certain mechanisms in place for natural selection to favour cooperation over defection and to prevent Cooperators from losing ground to Defectors. Such mechanisms will have for sure to offset the costs of cooperation by causing Cooperators to also be on the receiving end more often. In (Nowak M. , 2007) 5 such mechanisms are identified: kin selection, direct reciprocity, indirect reciprocity, group selection and network reciprocity, which are schematically represented in figure 4. For each mechanism, the authors start from a PD payoff matrix duly adapted with new parameters in order for it to correctly reflect the interaction between two basic strategies with the mechanism in action. In doing so rewards from choosing a cooperation strategy get more appealing. Conditions are even created for cooperation to become an evolutionary stable strategy. A sixth mechanism of punishment was also considered as studied in (Fehr & Gächter, 2002; Fowler & Harpending, 2005). These mechanisms can be briefly summarized as follows: Kin Selection- Kin selection operates whenever interactions occur among genetic relatives, i.e., among individuals who are more probable to share a common ancestor
28 than if they were randomly sampled from the whole population. Relatedness of individuals is defined as the probability of them sharing a gene. The coefficient of relatedness between two individuals, 𝑟, a value in the interval [0,1] equals 1/2 for two brothers, 1/8 for cousins (Nowak M. , 2007). Direct Reciprocity- In nature cooperation between unrelated individuals is noticeable, so kin selection fails short to explain cooperation in more general circumstances. In order to tackle this limitation, (Trivers, 1971) proposed direct reciprocity as another mechanism for the evolution of cooperation based upon the principle of “I will help you if you help me later”. The fact of encounters between the same players been repeated turns cooperation more inviting. Indirect Reciprocity- Direct reciprocity relies on repeated encounters between the same two individuals. Help provided by the donor is less costly than beneficial for the recipient. However, particularly in human relations, interactions are asymmetric and unbalanced. Indirect reciprocity relies on reputation and applies mostly to human relationships. “For direct reciprocity one needs a face, but for indirect reciprocity a name is needed instead”. Indirect reciprocity is build out of direct reciprocity witnessed by an interested audience. Encounters are observed by others and information spreads through communication channels, allowing individuals to adopt conditional strategies depending on the reputation of the peer in the game. Direct reciprocity relies on a player’s own experience with someone, while indirect reciprocity uses the experience of other players. In indirect reciprocity the help provided may never be returned by the beneficiary, or by individuals who in turn have been helped by the beneficiary (Nowak M. S., 1998). Group Selection- Group selection also known as multilevel selection is based on the assumption that competition occurs not only between individuals but also between groups. (Traulsen & Nowak, 2006) propose a minimalist stochastic model of group selection where the population is subdivided into 𝑛𝑔 groups, which grow in size as individuals within them reproduce. In any one time step, a single individual from the entire population is chosen for (genetic) reproduction with a probability proportional to its payoff. The offspring is added to the same group. When a group reaches a threshold size N, it either divides into two child groups with probability q (in which case a random group from the population is eliminated), or it does not divide (with complementary probability 1−𝑞), in which case a random individual in the group is
29 eliminated so that groups do not get over populated. Social interactions occur only among members of the same group and individuals bearing a mutant allele, a particular form of a gene, help others by decreasing their payoff by 𝑐 as the counterpart of generating a benefit 𝑏 to be shared by all other group members. As a result, selfish individuals tend to replicate faster than helpers within groups, but groups comprising helpers grow faster and have a greater chance of dividing before risking extinction. Network Reciprocity - With no mechanisms to catalyse cooperation, natural selection favours defection because a well-mixed population is assumed where a player potentially can play any other with equal probability. This approximation is used by all standard approaches to evolutionary game dynamics (Nowak M. , 2007). However, in reality populations are not well-mixed and it is not equally likely that a player meets any other. In fact individuals tend to interact with a limited number of peer per geographic reasons or any others. Thus, with network reciprocity populations are supported in networks with individuals at their nodes, links represent interactions and determine who can interact with whom. In this context, it has been shown that cooperation may emerge (or not) depending on the topology of the interaction graph (Santos & Pacheco, 2005; Santos, Pacheco, & Lenaerts, 2006). As discussed in more detail below, the network structure changes the effective game played at a populationwide level, even if, locally, individuals continue to face the same dilemma (Pinheiro, Pacheco, & Santos, 2012). The network reciprocity mechanism relies on two factors. The first is a limitation in the number of game opponents, that is, “depressing anonymity,” rather than having an infinite and well-mixed population (Ohtsuki, Hauert, Lieberman, & Nowak, 2006). Second one is a local adaptation mechanism, in which a player can only copy a strategy from a directly linked neighbour as determined by underlying network (Tanimoto, 2015). Punishment- From an evolutionary perspective, cooperation is a double-edged sword. On the one hand, it brings an edge advantage to a community, since some tasks can only be achieved through cooperation. On the other hand, since punishment involves additional costs (Fehr & Gächter, 2002; Fowler & Harpending, 2005) from an individual's perspective it becomes tempting to enjoy the results of cooperation, without investing in it. This is the typical free-rider problem that characterizes social dilemmas and if allowed to proliferate can break down cooperation. Since selection in evolution takes place on the level of the individual, Cooperators are replaced by freeriders, putting cooperation to an end. In order to discourage free-riders behaviour, a
30 mechanism of punishment is considered with two main objectives: first one is to expel from the group free-rider members, from which decision a payoff per capita increase results; second one is to account for the costs of a group exclusion in defection strategy, which ends up as a dissuasive measure. A more exhaustive list of supporting mechanisms for the evolution of cooperation can be found in (Zaggi, 2013). Of all these cooperation mechanisms considered, this thesis focus on network reciprocity. 2.3. THE SCIENCE OF NETWORKS A network in its simplest form is a collection of points joined together in pairs by lines. Points are referred to as nodes or vertices (V) and represent the elements in a system, e.g. stations in subway map, and the lines, referred to as links or edges, represent a direct relation between the nodes they connect, e.g. a line connection between two stations. Many objects of interest in the physical, biological, and social sciences can be thought of as networks. From a modelling standpoint, a network is a relatively simple object, consisting of only nodes and links formally described by 𝐺 = (𝑉,𝐸) where 𝑉 represents the set of nodes and 𝐸 𝑉 𝑥 𝑉 the set of links considered as pairs of nodes linked together. Social networks is a recent jargon referring to the mesh of social relationships between individuals in a group, community or population. The type of relationships dictates the type of network, be it scientific collaboration, professional, hobby-oriented, etc. The ubiquity of networks far extend social domain, to enter those of transportation /subway, airlines), power grid, telecommunications, health care and others (Kim, Olave-Rojas, Álvarez-Miranda, & Seung-Woo, 2018). In general, not only are networks shaped from individuals’ actions as reciprocally individuals’ traits and behaviour are largely influenced by the network (Girard, Hett, & Schunk, 2014). In the particular case of social networks, this individual versus collective behaviour had already been addressed decades ago in Sociology with Structuration theories which emerged as an attempt to dispel division within the social sciences between those who considered social phenomena to be determined by objective social structures (determinism) and others who saw social phenomena as the outcome of human agents subjectively interpreting the world (voluntarism) (Timbrell, Delaney, Chan, Yue, & Gable, 2005).
37 N (see 2.3.1.1), rather than following a polynomial expected for regular lattices. High Clustering The average clustering coefficient of real networks is much higher than the one expected for a random network of similar number of nodes and links. Figure 8- From Regular to Random Neworks. (source: (Watts & Strogatz, 1998)). L is defined as the number of edges in the shortest path between two vertices, averaged over all pairs of nodes. C measures clustering coefficient averaged over all nodes. A probability of 10−3is enough for making average distance in the network to decay around 45%. A probability of 10−2already makes average distance to decay 80% with almost no degradation of clustering index. As in figure 8, one starts with a regular ring lattice where nodes are positioned. Each node is connected to <𝑘> 2 neighbours on each side, with 〈𝑘〉 denoting the intended average degree. If 〈𝑘〉 is odd it is arbitrated which side has regularly minus one neighbours. In a second step, for each node 𝑛1, the connection to each of its 𝑛2 right side neighbours is considered for rewiring with probability p, a parameter of the algorithm. In case of rewiring, a node 𝑛3 is randomly chosen with uniform probability among those with which 𝑛1 has not yet a connection and excluding 𝑛1. Rewiring consists of 𝑛1 connecting to 𝑛3 and disconnecting from 𝑛2. The Watts-Strogatz network interpolates between a regular lattice, which has high clustering but lacks the small-world phenomenon, and a random network, which has low clustering, but displays the small-world property. Because of the small-world character inherited from random network influence via the rewiring mechanism activated, Watts-Strogatz networks are also known as small-world networks . This small-world effect had already been identified by Stanley Milgram in an experiment conducted in the late sixties that was later coined as six degrees of separation. Surprising Regular Random Small-World (Watts-
38 results showed that despite society huge size of 6 billion individuals, by following social links any pair of nodes is on average six links apart, requiring each person to have an average degree lesser than 2 (Barabási & Frangos, Linked, 2002). 2.3.1.2. Horand Networks In a homogeneous networks such as lattices, all nodes share the same degree implying degree distribution to be a delta function exhibiting a single peak at 〈𝑘〉. This useful feature is combined with the small-world one in Horand networks (Santos, Rodrigues, & Pacheco, 2005; Santos F. C., Pinheiro, Lenaerts, & Pacheco, 2012). The construction of a Horand network as in Watts-Strogatz model starts with a regular ring lattice where nodes are positioned. Being 〈𝑘〉 the intended degree of the network, each node connects to the closest <𝑘> 2 nodes on its left and right side. Up to now, the network exhibits the intended degree, has maximum clustering coefficient but lacks small-world feature. Second step of Watts-Strogatz algorithm provides the small-world character but at expenses of degree variation among nodes. To acquire the small-world feature without sacrificing degree homogeneity a pair of links is chosen randomly. Subject to a certain probability p, one node of one link is exchanged with one node in the other link, ensuring no duplication of links among the same pair of nodes. The process is repeated iteratively until a fraction p of all links has been rewired. The appearance of a Horand network is similar to a Watts-Strogatz one but with a fixed degree distribution. 2.3.1.3. Scale-Free Networks The degree distribution of a random network is of Poisson form, which means that most nodes have a degree that is close to its average. It implies additionally that there are extremely few nodes highly connected, because the curve falls away from its peak faster than exponentially. The random model of Erdős-Rényi rests on two simple and often disregarded assumptions. The first one is that the set of nodes if fixed, remains unchanged throughout the network lifetime and is known upfront from the beginning of network conception. The second one is that all nodes are equal. Unable to distinguish between the nodes, they link randomly to each other (Barabási & Frangos, 2002).
39 Figure 9- Poisson versus Power-law Distributions. (Source: (Barabási & Pósfai, Network Science, 2016)) On the left panel of figure 9 a Poisson distribution for the probability of finding a node with degree k (𝑝𝑘) from random networks is compared to a power-law distribution (γ= 2.1) from Scale-free networks on a log-log plot. Both distributions have ⟨k⟩= 11. On the central and right panel a random and a scale-free networks are plot. Both networks have 50 nodes and 〈𝑘〉=3. The size of each node is proportional to its degree. (Reka, Jeong, & Barabasi, 1999) studied the World Wide Web and found out that degree distribution follows a power law, where the probability of a node having degree 𝑘 is proportional to 𝑘− with 2. The same conclusion was drawn for other networks analysed as power-grid, Hollywood network of actors or IBM chip wiring diagram. A Scale-Free (SF) network is a network whose degree distribution follows a power law as in figure 9. The SF qualifier derives from the fractal-like character of the network, namely that the distribution of the nodes’ degree is preserved no matter the scale of analysis. Thus, for populations tending to infinity, the distribution of the node degree in interval [a, b], apart from a multiplicative factor, is invariant whenever interval boundaries are multiplied by another positive factor. The second and higher moments of the degree distribution goes to infinity when < 3. For many SF networks, is located between 2 and 3. This type of dependency on k, which is not exclusive to the technology field or online communities but also characterizes other networks in the natural world and social fields, is not fortuitous but derives instead from the process conducting to network growth over time. In (Barabási, 2013) four organizing principles are identified for networks such as web and social networks to be held together. SF is the first organizing principle, which implies that hubs are not only tolerated, but expected. Small-world is the second principle, which states that two nodes are likely to be connected by a relatively short path of nodes, even in a very Scale-Free Random
40 large and sparse SF network as the Web. The third principle is of preferential attachment by which newcomers to the network preferably connect to nodes with higher degree. The forth principle is related to the notion of fitness and allows merit to prevailed over seniority and provide competition. Network growth develops over time, new links are stablished between old nodes, but the rate of growth is controlled by the fitness and the nodes with a greater fitness will tend to ‘win out’ and become very highly connected. This explains why Google or Facebook arrived late to the web but became winners. By viewing networks as dynamical systems that change continuously over time, the SF model embodies a new modelling philosophy. SF topology is the result of organizing principles acting at each stage of the network formation process. Growth and preferential attachment explain the basic features of many of the networks seen in nature, social networks included. As long as these ingredients are present, it will maintain its hub-dominated SF topology. One important property of SF networks is resilience against random error. If nodes are removed at random from most types of networks they will eventually fragment into a set of smaller networks or individual nodes, but instead a SF network will remains robust against random decay; it may shrink but not fall apart. It even remains connected indefinitely if < 3 as in the case of World Wide Web. The Achilles’ heel of a SF network is an intentional attack targeting the most connected nodes (Barabási, 2013). (Barabási, 1999) propose an algorithm to generate a SF network with = 3 used extensively along the simulations in this thesis. It starts with 𝑚0 nodes fully connected. Then iteratively nodes are added. Each new node is connected to 𝑚 distinct nodes (𝑚 𝑚0) already part of the network. A new node choses randomly a node in the network to connect to with a probability proportional to its degree. This mechanism favours seniority and creates hubs. In order to avoid a correlation between the index of the nodes and its degree, a final step once the network is constructed consists of scrambling the indexes of the nodes. The average degree of created network tends to 〈𝑘〉=2𝑚. SF networks with =3 are called Barabási-Albert. Barabási-Albert stresses the small-world characteristic of the network by having 〈𝑑〉~ln (𝑁) 𝑙𝑛(ln(𝑁)) (73) 2.3.1.4. Multilayers Networks consisting of a set of nodes or vertices connected by links or edges have been typically used to describe for example traffic in a city, interactions between individuals, the
41 trade among markets or the World Wide Web. Information in the form of news, messages, or digital viruses can be transmitted through networks, as well as infectious diseases or general goods. Several algorithms have been proposed to generate and replicate the most important structural properties of real-world networks from which examples were presented in previous chapters. In spite of the progress achieved in network science during recent decades, traditionally one has assumed that nodes are connected to each other within the same, isolated infrastructure, the so-called single-layer network. This assumption, however, may in some circumstances be an oversimplification, considering that some nodes can simultaneously be the building blocks of more than just one network. This important consideration applies to natural as well as to social systems. Many complex systems demand manifold resources to be supplied from distinct channels to function properly, such as water, gas, and electricity for a city (De Domenico, et al., 2013). As major cities are interconnected not just by means of roads, but also by means of rails, as well as by means of air transportation, similarly, people interact face-to-face, via phone, on online social networks, in their work environment, and so on (Min, 2014). It is thus often justified to abandon the traditional assumption of a single-layer network and replace it with a multilayer network formalism. Not surprisingly then, the multilayer network, defined as a combination class of networks that are interrelated in a nontrivial way, has recently emerged as a fundamental concept to quantitatively describe the interactions not just within, but also among different networks. Networks of networks have been brought to the spotlight by the discovery that even small and seemingly irrelevant changes in one network can have catastrophic and very much unexpected consequence in another network (Buldyrev, Parshani, Paul, Stanley, & Havlin, 2010). What sets a multilayer network apart from the traditional single-layer network is that a multilayer network typically consists of 𝑀 (𝑀 > 1) networks (or layers), where the nodes in each network (layer) are connected via intra-layer links, but there may be also inter-layer links that connect together nodes from other networks. Sometimes the inter-layer links do not serve to connect the nodes, but merely serve to communicate information or some other form of influence between the nodes forming the 𝑀 networks.
42 The same node may appear in more than one network and sometimes all the nodes pertain to all 𝑀 networks with the difference between them being the intra-layer links. Depending on these particularities, the terminology that is used also varies. One of the challenges in network theory is therefore to treat together ties of different kind preserving existing differences. The multilayer metaphor, which allows to distinguish the different kinds of relationships among a set of nodes, constitutes a promising framework to study and model multilayer systems. If evolutionary games are played on multiplex networks, strategy imitation and payoff accumulation can take place either in the local neighbourhood of a particular layer or across the layers, since all nodes exist in all layer. 2.3.1.5. Definition of a Multilayer Network When nodes are connected to each other in a single infrastructure one has a single-layer network or graph formally described by G = (V, E) where V represents the set of nodes and E V x V the set of links considered as pairs of nodes linked together. However, a single-layer can be an oversimplification, e.g. if nodes represent airports and the links the different airline companies flights. Airlines have their own set of connections linking the airports, constituting a layer of coverage independent from the ones corresponding to other companies. Whenever there are different infrastructures to consider and there are costs flowing between them, it is preferable to consider a multilayer formally described as 𝐺𝑀= (𝑉𝑀,𝐸𝑀) where 𝑀 represents the number of layers, 𝑉𝑀= 𝑈𝛼=1 𝑀 𝑉𝛼 𝑤𝑖𝑡ℎ 𝑉𝛼={𝑉1𝛼,…,𝑉𝑁𝛼 𝛼} and 𝑁𝛼 equal to the number of nodes in layer α. 𝑉𝛼 and 𝑉𝑀 represent, respectively, the set of nodes in layer α and in the all multilayer. In what concerns multilayer edges one has 𝐸𝑀 = {𝐸𝛼 𝑈 𝐸𝛼 :𝛼, 𝜖 {1,…,𝑀},𝛼 ≠ } with 𝐸𝛼⊆ 𝑉𝛼𝑥 𝑉𝛼 and 𝐸𝛼𝛽⊆ 𝑉𝛼𝑥 𝑉𝛽. According to (Wang, Wang, Szolnoki, & Perc, 2015) and as in figure 10 multilayers can be classified into three broad categories: Multiplex Networks In a multiplex network all the layers contain the same set of nodes or share at least some fraction of the nodes. The difference between the layers is the way the nodes are connected with each other in each particular layer. The network of airports can be translated into a multiplex form with different layers consisting of the routes of different airplane carriers. The collaboration and the citation networks constitute another example of layers of a multiplex.
43 Figure 10- Multilayer Networks. Multiplex network have the same nodes across all layers. Interdependent networks typically have different nodes in different layers. Additionally well-being of nodes in one layer may depend of the well-being of other nodes in other layers. Interconnected network are like interdependent ones but with physical connections inter-layer. In all the three types of multilayers intra-layer connections are independent across layers. All layers having the same nodes and no inter-layer links can be formally expressed as 𝑉𝛼 ∩ 𝑉 = 𝑉𝑀 = 𝑉,∀ 𝛼 ≠ . Additionally, Eα =∅,∀ α ≠ , i.e., no links between layers. Interdependent Networks An interdependent network is typical made up of two or more different networks, such that there is little or no overlap between the nodes in the different layers. The performance of nodes in a particular layer depend on the performance of nodes in a different layer, and vice versa. Thus, there exists the so-called dependency links between the nodes that are part of different layers. These links are not actual physical links, but rather imaginary links that denote the co-dependence; hence the name interdependent networks. The concept of interdependent networks is referred to in (Buldyrev, Parshani, Paul, Stanley, & Havlin, 2010) where cascading failures between an electrical grid network and a computer network are studied. Airports and seaport networks can be interpreted as interdependent networks, because the proper functioning of a seaport may depend on goods delivered by air.
44 Each layer having different types of nodes and there being no dependency links (not physical connections) between the nodes can be formalized as 𝑉𝛼 ∩ 𝑉 = ∅ ∀ 𝛼≠ 𝛽. Interconnected networks An interconnected network is similar to an interdependent network in that it is typical made up of two or more different networks, such that there is little or no overlap between the nodes in the different layers. In the interconnected network, however, there are actual physical links that connect together the nodes from different layers. Interconnected networks can thus be regarded as interconnected communities or clusters within a single larger network. The climate network can be decomposed into different network interconnected layers in exploiting the stratification and circulation of the terrestrial atmosphere. Each layer having different types of nodes and there being actual physical links between the nodes in different layers can be formalized as ∃𝛼,𝛽∈ {1,…,𝑀} 𝑉𝛼 ∩ 𝑉 ≠ ∅ ⋀ 𝛼≠ 𝛽. Real multiplex networks are far from random superposition of their constituent layer topologies. Instead, the degrees of the same nodes in different layers may be correlated, as they may tend to connect to similar nodes in different layers creating overlapping edges. In this thesis only multiplex networks will be addressed. Whenever hereafter multilayer social network are referred to, it is its multiplex variant to be assumed. 2.3.1.6. Degree-Degree Correlation An interesting property observed in real multiplex networks is the presence of correlations between the degrees of the same node at different layers. This is normally signalled by the fact that the probability 𝑃(𝑘𝛼= 𝑘11,𝑘 = 𝑘2) to find a node with degree 𝑘1 on layer α and degree 𝑘2 on layer does not factorize in the product 𝑃𝛼(𝑘)𝑃 (𝑘) of the degree distributions of the two layers. Within a layer, degree correlation captures the relationship between the degrees of nodes linking to each other. Layers can be assortative, if nodes with a higher (lower) degree tend to link to nodes with a higher (lower) degree, disassortative if the trend is the other way around or neutral if no trend is identified. Multiplex networks, because of having the same nodes in all layers, allow the extension of intra-layer degree correlation concept to multiplex scope. This is the rationale behind degree-
45 degree correlation index designed to quantify assortative (disassortative) mixing pattern between layers. The degree-degree correlation is evident in social networks. If a famous individual like a singer or a sportsman is famous in one network, e.g. Facebook or Twitter, probability he/she will also be famous in another one. Degree-degree correlation is supposed to reflect this assortative pattern. (Nicosia & Latora, 2015) propose several methods to calculate degree-degree correlations. One possibility is the Pearson's linear correlation coefficient. If 𝑘𝑖𝛼and 𝑘𝑖𝛽 denote respectively de degree of node 𝑖 in layer 𝛼 and 𝛽, Pearson's correlation coefficient of the two-degree sequences is defined as: 𝑟𝛼𝛽 = 1 𝑁∑𝑘𝑖𝛼𝑘𝑖𝛽 𝑁 𝑖=1 − 1 𝑁2∑𝑘𝑖𝛼∑𝑘𝑖𝛽 𝑁 𝑖=1 𝑁 𝑖=1 √1 𝑁∑(𝑘𝑖𝛼)2−(1 𝑁∑𝑘𝑖𝛼 𝑁 𝑖=1 )2 𝑁 𝑖=1 √1 𝑁∑(𝑘𝑖𝛽)2−(1 𝑁∑𝑘𝑖𝛽 𝑁 𝑖=1 )2 𝑁 𝑖=1 (74) which can succinctly be stated as 𝑟𝛼𝛽 = <𝑘𝑖𝛼𝑘𝑖𝛽>− <𝑘𝑖𝛼><𝑘𝑖𝛽> 𝜎𝑘𝛼𝜎𝑘𝛽 (75) Another possibility is to use the Spearman's rank correlation coefficient, which for the two 𝑅𝑖𝛼 and 𝑅𝑖𝛽 rank sequences of degree in layer α and β, respectively, is given by: 𝜌𝛼,𝛽=∑(𝑅𝑖𝛼−𝑅𝛼 )(𝑅𝑖𝛽−𝑅𝛽 ) 𝑖 √∑(𝑅𝑖𝛼−𝑅𝛼 )2∑(𝑅𝑗𝛽−𝑅𝛽 )2 𝑗𝑖 (76) where 𝑅𝑖𝛼 and 𝑅𝑖𝛽are the ranks of node i due to its degree in layers α and β, respectively, and 𝑅𝛼 and 𝑅𝛽 are the average ranks of nodes in the same layers 1 . A third alternative would be to use Kendall’s 𝜏 rank correlation coefficient. (Nicosia & Latora, 2015) calculate the 3 correlation coefficients for American Physical Society co-authorship network with 10 layers each one assigned to subfields or research area. The procedure is repeated for IMDb network of collaboration between actors with layers defined according to movie genre. In both networks, the 3 correlation coefficients provide a consistent indication about assortativeness between layers. (Nicosia & Latora, 2015) provide two algorithms based on simulated annealing to construct multiplex networks with controllable inter-layer degree-degree correlation, useful for 1 Within layer 𝛼, node 𝑖 having rank 𝑅𝑖𝛼 means that in this layer nodes with an higher degree than 𝑖’s have 𝑅𝑖𝛼−1 distinct values of degree. E.g., nodes with second greater degree in a layer have rank 2 in that layer.
46 simulations in order to better understand how degree correlations across layers influence multiplex performance. 2.3.1.7. Overlapping In multiplexes, networks nodes take part in all layers of networks simultaneously. Social networks where each individual node has different kind of social ties, one for family ones, another for friendship, for professional, etc., or transportation systems where each location is connected to another location by different types of transport, one per layer, are just examples of multiplex characterized by a significant overlap of the links in different layers (Bianconi, 2013). Overlapping between two layers 𝛼 and 𝛽 provides an indicator on how probable it is for an arbitrary pair of nodes to be linked in both layers. It is defined according to (Battiston, Matjaz, & Latora, 2017) as overlapping𝛼𝛽= ∑𝑎𝑖𝑗 𝛼𝑎𝑖𝑗 𝛽 𝑖<𝑗 ∑𝑎𝑖𝑗 𝛼+ ∑𝑎𝑖𝑗 𝛽 𝑖<𝑗 − ∑𝑎𝑖𝑗 𝛼𝑎𝑖𝑗 𝛽 𝑖<𝑗𝑖<𝑗 (77) with 𝑎𝑖𝑗 𝛼 and 𝑎𝑖𝑗 𝛽 representing, respectively, the adjacency matrixes in layers 𝛼 and 𝛽 and 𝑎𝑖𝑗 𝛼= {1, if nodes 𝑖 and 𝑗 are linked in layer 𝛼 0, otherwise (78) Overlap between two layers falls in the interval [0,1]. Minimum value is achieved if layers have no links in common. Maximum value reflects the case of both layers coinciding. Degreedegree correlation is a more relaxed measure of the similarity between layers, because a correlation of 1 does not imply layers’ coincidence. It only concerns the same node on different layers having the same number of neighbours no matter if they differ between layers. The overlapping of the whole multiplex can be defined as the average of the overlap for every pair of layers: overlapping = 1 𝐶2𝑀∑overlapping𝛼𝛽 𝑀 𝛼=1,𝛽=1,𝛼<𝛽 = 2 𝑀(𝑀−1)∑overlapping𝛼𝛽 𝑀 𝛼=1,𝛽=1,𝛼<𝛽 (79) 2.4. EVOLUTIONARY GAMES ON STRUCTURED POPULATIONS Evolutionary Game Theory is a mathematical approach aiming to describe the competition of species in an ecosystem, the interaction between individuals of distinct populations, whether they are molecules, living organisms or humans ideas and behaviours. The mechanism that leads to the evolution of cooperation in these settings could be called ‘spatial
53 Nowak, 2006; Traulsen, Shoresh, & Nowak, 2008), failing to explain how a strategy co-exists or outcompetes another. The weakness of analytical studies stem from their validity scope, often requiring unrealistic population structures or other extreme conditions such as weakselection for Moran processes, which means having 𝑤≪1 when fitness (𝑓) is related to payoff (𝜋) as in 𝑓=(1−𝑤)+𝑤𝜋 (83) Besides, these studies target on fixation probabilities, a concept specific to biology, missing the nexus between the network topology and the evolutionary dynamics created. Until (Pinheiro, Pacheco, & Santos, 2012), network studies failed to characterize the self-organizing process by which one strategy co-exists with or displaces the other. In order to shed some light on the topological mechanism that departing from networked individuals engaged in a local game leads to a global, population wide, behavioural dynamics which deviates strongly from the original one, (Pinheiro, Pacheco, & Santos, 2012) define an average gradient of selection (AGoS) to track the self-organization of Cooperators when interacting with Defectors under network reciprocity. At any point in time, AGoS reflects the expected increase in the number of Cooperators in the population. In arbitrary network populations, it is not possible to derive a closed form expression for the AGoS, but it can be numerically calculated. It allows assessing the role of population structure in the evolutionary dynamics since it is by design similar to the replicator equation in an infinite well-mixed population. For AGoS calculation, evolution is modelled via a stochastic birth-death process where each individual 𝑖 with payoff 𝑝𝑖 adopts the strategy of a randomly selected neighbour 𝑗 with payoff 𝑝𝑗 with probability given by the Fermi function 𝑝= 1 1+𝑒−𝛽(𝑝𝑗−𝑝𝑖) (84) For each individual i, the probability of imitating the behaviour of any of its neighbours at time 𝑡, 𝑇𝑖(𝑡), is given by 𝑇𝑖(𝑡)= 1 𝑘𝑖∑1 1+𝑒−𝛽(𝑝𝑗−𝑝𝑖) 𝑛𝑖 𝑗=1 (85) with 𝑘𝑖 and 𝑛𝑖 representing, respectively, the degree of 𝑖 and the number of its neighbours with a different strategy then the one from 𝑖.
54 If 𝑇𝑖(𝑡) is averaged across all Cooperators or Defectors, one obtains the probability for the population at time 𝑡 to decrement or increment by 1 the number of Cooperators, respectively, 𝑇𝐴−(𝑐,𝑡) and 𝑇𝐴+(𝑐,𝑡), given by 𝑇𝐴±(𝑐,𝑡)= 1 𝑁∑ 𝑇𝑗(𝑡) 𝑁 𝑗=1,𝐴𝑙𝑙𝐷𝑠 𝑗=1,𝐴𝑙𝑙𝐶𝑠 (86) The first parameter in 𝑇𝐴±(𝑐,𝑡) was added to make explicit the dependency of this variable on the number of Cooperators in the population. During the course of simulation s at time t, the expected increase in the number of Cooperators in the population already with c Cooperators is given by 𝐺𝑠(𝑐,𝑡)=𝑇𝐴+(𝑐,𝑡) - 𝑇𝐴−(𝑐,𝑡) (87) a quantity with an absolute value no greater than 1. Trusting on the ergodicity of the process, which means that averages over probability space and over time coincide, AGoS is obtained by averaging 𝐺𝑠(𝑐,𝑡) across the time of a large number of samples: AGoS(c) = 1 ΛΩ∑ ∑ 𝐺𝑠(𝑐,𝑡) t ∈ Ωs ϵ Λ (88) where Λ represents the space dimension of all network evolutionary simulations. Ω represents the number of time steps per simulation. In a network with N nodes, there are 𝐶𝑐𝑁= 𝑁! (𝑁−𝑐)!𝑐! distinct configurations with c Cooperators. Along the evolution simulations, some strategy configurations will be more likely than others, e.g. movements from uncorrelated assortments to correlated ones should be more probable than the other way round, which will make the probabilities of the various configurations with c Cooperators unequal. In order for AGoS to be drawn for all possible c number of Cooperators and for a maximum number of distinct configurations with c Cooperators to be evaluated, each simulation in the Λ space is to be initialized with Cooperators randomly positioned in the network in a number given by a uniformly distributed variable in the interval [0, N], in order to prevent lack of observations in the state space. AGoS being a topology dependent mean-field descriptor for a structured population can be computed for arbitrary population structure and arbitrary game parameterization. Figure 13 exemplifies possible shapes for AGoS.
55 Figure 13-Average Gradient of Selection Average Gradient of Selection in structured populations are measured across networks randomly sampled from a set of networks of the same type, e.g. Horand vrs BA, degree, assortativity, etc. Clockwise, starting in top left corner in first panel, the network will evolve towards Full Cooperation. In next panel the evolution is toward Full Defection. In next panel, the network is bound to either Full Cooperation or Full Defection, final destination depending on initial Cooperator frequency in relation to critical frequency x*. One has a Coordination Game. In last panel, the system converges to a strategy co-existence scenario. The type of network or the relative values of payoff matrix contribute to dictate the type of AGoS applicable. 2.4.4. The Structure of Social Graphs The connectivity structure can be characterized by a number of topological properties presented in section 2.3. The graphs to consider along the thesis are all connected, meaning there is at least one path along links between any pair of nodes. Networks co-exist in different layers of a multiplex. All layers share the same set of nodes, but with a layer specific link set. Nodes in different layers may have degree-degree correlation or links have a certain amount of overlapping between layers. Square lattices are one of the simplest networks. They can be a lattice with von Neumann neighbourhood, 4 connections between nearest neighbour nodes, or Moore neighbourhood with connections between nearest and next-nearest neighbours, in a total of 8, etc. It may be the case that regular lattice only provides an initial structure for the creation of more realistic
56 social networks where a portion of players and/or interactions are randomly removed (Nowak M. , 2006). Lattices lack the small-world typical characteristic of real-networks. Along the thesis, Horand networks will be considered. Due to their construction process not only do they exhibit the small-world characteristics but also a fixed degree, useful when trying to understand analytically certain phenomena or the role of another property, without degree variation. Homogenous networks, in which category Horand networks fit in, allow the creation of clusters of Cooperators that interact and maximize payoff in order to better resist Defectors exploitation, although with an high sensitivity on the intensity of selection (Pinheiro, Pacheco, & Santos, 2012). A pattern observed in numerical simulations is that for games played on networks, at the beginning the number of Cooperators decreases, as a Defector playing against a Cooperator gets a higher payoff. However, on the long run, small clusters of Cooperators form on the lattice, because Cooperators playing against each other perform better than Defectors against Defectors. The initial decrease in cooperation is the price to pay for Cooperators to reorganize and assemble (Perc, 2013). For Moran process of death-birth type in a donation game with weak selection (see equation 83), (Ohtsuki, Hauert, Lieberman, & Nowak, 2006) state that cooperation is favoured whenever 𝑏𝑐>〈𝑘〉, with b standing for the benefit of an altruistic act, c for its cost and 〈𝑘〉 for the degree of the networks. The authors also concluded that the aforementioned condition leads Cooperators (Defectors) to a fixation probability 𝜌𝐴(𝜌𝐷), such that 𝜌𝐴>1 𝑁>𝜌𝐷, with 1 𝑁 standing for the fixation of a single Cooperator with neutral drift, i.e. w=0 in equation 83. These results holds for large populations with 𝑁≫〈𝑘〉. Real networks that evolved by adding nodes, such that new nodes attach randomly to existing nodes with a probability proportional to the degree of the latter are better described by a SF network. Aged nodes tend to have greater degree. Along the thesis, the BA model, a SF network with =3, is adopted. These heterogeneous networks provide not only an adequate topology for Cooperators to gather, interact and reinforce mutual payoffs, but also function as a reference landmark of cooperation strategy influence over the neighbourhood due to the high payoff achieved. The impact of heterogeneous networks on cooperation reflected in the right panel of figure 11 is pointed out in (Santos & Pacheco, 2005) for 2-Players games and later on extended for PGG in (Santos, Santos, & Pacheco, 2008). Initially Defectors perform well interacting with
57 high-degree nodes, but soon are victims of their own success as their neighbours cease being Cooperators. This allows a Cooperator to invade the hub, seed a cluster and avoid exploitation by other Defectors. (Gómez-Gardeñes, Campillo, Floría, & Moreno, 2007) show that a more heterogeneous degree distributions results in increased cooperation by measuring the frequency or proportion of players that consistently play either cooperation or defection after the system reaching equilibrium. In SF networks, there is a single large core of pure Cooperators difficult to invade organized in hubs. The smaller number of hubs on random network is the reason for the lower level of cooperation in these networks. 2.5. OTHER RELEVANT BIBLIOGRAPHY FOR THE THESIS If previous sections targeted to establish a common ground of consistent terminology and to build up the foundations for a theoretical framework, this sections accounts for bibliography more specific to the subjects of multilayer networks, modelling and structural measures, support for evolutionary dynamics and the sort of Public Goods Games (PGG) that can be played in these structures. (Santos, Santos, & Pacheco, 2008) focus on PGG in a single layer. Each node with k degree participates in 𝑘+1 games with a start topology, centered on each of its 𝑘 neighbours and itself. The only two strategies considered are cooperation and defection. The fitness of a player is associated with the accumulated payoff resulting from all PGG in which he/she participates. Strategy evolution is implemented via replicator dynamics: at each time step, each individual adopts the strategy of a randomly chosen neighbour with a probability proportional to the payoff (fitness) difference. The two parameter variables considered are the type of network, either regular graphs or SF, and the investment to apply per player in each game. Per Cooperator player, either there is a fixed investment to be applied per game, or there is a fixed investment per player to be equally divided among the k+1 games he/she plays. Simulation results show that network heterogeneity favours cooperation. Additionally, sharing a fixed investment across all games, i.e., having fixed investment by player, lowers the synergy factor normalized by 𝑘+1 threshold beyond which cooperation becomes viable. A mathematical analysis to the results presented in (Santos, Santos, & Pacheco, 2008) is developed by (Pacheco, Pinheiro, & Santos, 2009) in order to explain why diversity on contribution and on network favour cooperation. Conditions for a Cooperator to invade a
58 Defector hub are presented for both cases of fixed investment per player or per game. Condition for latter alternative is less stringent that its counterpart for the former one. As in (Santos F. C., Pinheiro, Lenaerts, & Pacheco, 2012) the AGoS reflecting the variation (increase or decrease) in the number of Cooperators as a function of Cooperators frequency is plot. The plots unveils that the underlying structure effectively transforms a local cooperative dilemma into a global coordination game. For fixed investment per game with underlying SF networks, there is a critical initial level of cooperation, function of applicable synergy factor, below (above) which the level of cooperation tends to an All-Defectors (Cooperators) network. Moreover, changing the contributive scheme from fixed investment per game to fixed investment per player in a SF network population structures changes a PD effectively into a Harmony Game where cooperation become advantageous irrespectively of their concentration, which means evolution moved to an ALL-Cooperators network. 2.5.1. Multilayer networks A formalism to deal with systems composed of several layers, either with binary or weighted links, is proposed by (Battiston, Nicosia, & Latora, 2014). Different perspectives of description of a multiplex network are introduced: the aggregated topological matrix, the overlapping and the weighted overlapping matrix, which are simpler and more compact structures, but not so rich as the adjacency matrix 𝐴𝑖𝑗 per layer. Basic metrics to characterize the structural properties of a single layer network such as degree distribution, node clustering, shortest paths, betweenness or closeness are extended to a multiplex scenario. New measures as multiplex degree entropy emerge. There is a focus on the quantification of the participation of single nodes to the structure of each layer, and on its importance for the overall efficiency of the multiplex network, in terms of node reachability and clustering. Proposed measures are tested and validated on a genuine multiplex real-world dataset, the one of Top Noordin Terrorist Network (Battiston, Nicosia, & Latora, 2014). 2.5.2. Cooperation in Multilayer Networks (Li, Wang, & Sheng, 2017) study in a single layer representing a 2D space the evolution of cooperation on networks that incorporate geographical costs into the payoff function of evolutionary games. The longer the distance between a pair of players, the higher the spatial cost incorporated into the payoff matrix of the game. Nodes have weights standing for its relevance, e.g. population of a city. Networks are fully connected with structures geographically induced, as both nodes’ relevance and their distance
59 are taken into account in a gravity alike function, used in cost-benefit analysis when deciding which links to incorporate in the network. Nodes have 2D coordinates and each link is characterized by the Euclidean distance between the nodes it connects. PGG are played but the amount invested by a player in each game is now proportional to a cost function given by a Fermi distribution applied to the Euclidean distance to each of his neighbours. A relevant result is that a polarized distribution of geographical costs can significantly lower the threshold value of the synergy factor for cooperation in networked PGG to succeed. In other words, the geographical mechanism, which polarizes cooperative costs is able to lower the threshold value of the synergy factor for cooperation in PGG. On the other hand, more uniform alike distribution of geographical costs hinders the evolution of cooperation. (Nakamur, Nagashim, & Yasutak, 2015) study a two layer multiplex with random networks, small-world networks, following Watts-Strogatz model, and SF graphs, based on Barabási-Albert model. Nodes appear in all layers with no inter-layer links and have a single strategy across layers. 3 network types in 2 independent layers, in a total of 32 combinations are simulated. In each layer, PD is played taking into account payoffs acquired exclusively in that layer. Each nodes updates its strategy by copying it from a neighbour with a probability linearly proportional to their layer payoff difference normalized by the maximum degree between them. Once a node updates its strategy on one layer, it assumes it in all other layers so that a node’s strategy is coherent across layers. In this model, cooperation only has a chance if both layers are SF. (Battiston, Matjaz, & Latora, 2017) explore multiplexes with layers formed by regular random graphs, nodes with independent strategies per layer. Player’s playoff is accumulated across layers. For a common synergy factor across all layers, the more overlapping are links across layers, the lesser is the critical synergy factor for cooperation to set in. Moreover, for a given positive average node overlapping, the bigger the number of layers the smaller the critical synergy factor for cooperation to prevail. In a two layer multiplex case, having different synergy factors in the layers allows new absorbing states with Full Cooperation on one layer and Full Defection on the other. (Li, Shen, & Jiang, 2016) tackle a scenario of players having limited resources available to be spent in PGG played across all multiplex layers. An agent is represented by a tuple of nodes, one per layer. The synergy factor is common to all layers. Layers have homogeneous networks, Erdős–Rényi or small-world models, or SF heterogeneous models. Each agent has
60 an investment allocation, an array of investments, one element per layer, such that the investment per layer is non-negative and the total investment per agent is topped. Agent payoffs are calculated per layer. Agents have variable contributions across layers with null contributions allowed. An Agent behaves as a Cooperator or a Defector when his/her contribution is positive or null, respectively. Per iteration, an agent is randomly selected. Selected agent payoffs across layers are compared and based on Fermi distribution, a layer is selected. In the chosen layer, the focal node adopts the allocation strategy of a random neighbour in the same layer with Fermi probability distribution applied to focal and neighbour nodes’ payoffs in that layer. In case allocation strategy is copied, further normalization of the new investment allocation of the focal agent is required in order to keep its total topped. Greedy-first mechanism was coined for the scenario when an agent in choosing the layer to play prefers to update the allocation strategy in the higher payoff layer as determined by Fermi distribution. Simulations for 2-layer multiplex reveal that greedy-first agents can perform cooperative behaviours in multiplex networks when one layer is SF network and degree differences between peer nodes increase. An additional conclusion is that degree diversity and greedyfirst mechanism can defeat temptation of defective behaviours and avoid the extremely biased cooperation in a certain layer. A critic to the paper from the author of this thesis is that parts of the formalism introduced, in particular the greedy-first mechanism, lacked generalization to multiplexes of more than 2 layers. (Hayashi, Suzuki, & Arita, 2016) address a multiplex scenario where an agent cannot afford to play PGG in more than 1 layer at any instant of time. Thus, an agent can have a node in any layer, but exclusively, i.e., in any point in time an agent will have a single node that will be positioned in only one layer, although this presence layer can dynamically evolve over time. Cooperation and defection are the applicable strategies. Game evolution allows an agent to change the layer where its single node lays. All layers, independent, are defined as Erdös–Rényi random graph with the same constant degree. The game roughly evolves as follows. For each agent the payoff of its representative node is calculated in its layer of presence by playing PGG with its neighbours as dictated by layer network who are necessarily present in that layer. With payoffs calculated, for each agent a
61 potential neighbour, not necessarily present in the same layer, is identified. A reference value function of node’s payoffs dictates the probabilities with which strategy and layer of presence is copied from focal agent to its neighbour or the other way around. With arbitrary probabilities mutations hit agents: layer of presence of its single node updates to a randomly chosen new one and strategy of its node changes. As the number of layers increase, other things being equal, cooperation frequency increases, so does the normalized entropy of the distribution of the presence of agents per layer, resulting this increase from the cyclic coevolution processes of game strategies and layer selection strategies. Departing from a scenario with the same Erdös–Rényi random graph across all layers and then randomly rewiring them in each layer, it was also showed that heterogeneity among layers is a catalyst in multiplex networks to facilitate the evolution of cooperation. In a way, this result is a reminiscence of the results obtained by (Santos F. C., Pinheiro, Lenaerts, & Pacheco, 2012) in a single layer case. (Kleineberg & Helbing, 2018) study multiplexes with independent SF networks. Nodes have independent strategies per layer. Evolution of the system is governed by imitation dynamics, which means individuals tend to adopt the strategy of more successful neighbours. In each round of the game, firstly each node chooses one layer randomly and then, within this layer, one neighbour at random. Neighbour’s strategy for that layer is copied with a probability given by Fermi distribution applied to the differential of nodes payoff. The payoff of a node is calculated as the average payoff accomplished across all layers. If PD is the game played and there is no degree correlation between layers, increasing the number of layers only leads to minimum changes in final level of cooperation from a single layer scenario. However, if degree correlations are present and the number of layers is large enough, an average level of cooperation of 0.5 dominates the whole T-S parameter space and justifies the ‘topological enslavement’ title of the article. Topological enslavement emerges and highlights payoff irrelevance as both the number of layers and the strength of degree correlations are increased. Topological enslavement is also observed with the Harmony game (𝑆=𝑇=0.5) and PD with 𝑆=−0.5,𝑇=1.5. In a single layer, former game tends to All Cooperators; latter one to All Defectors. However, the same games with a sufficient large number of layers and strong degree correlation among layers converge to a Cooperator concentration of 0.5. Topological enslavement implies also that the initial multiplex level of cooperation determines the final distribution of the level of cooperation across layers, almost irrespective
62 of T-S parameter combination supporting the game played, subject to the condition of existing a strong degree correlation across layers. Topological enslavement is not exclusive to 2-Player games like the PD or the Harmony game. It also occurs in PGG. PGG are played independently in different layers, and the total payoffs are aggregated and averaged per node. There is a fixed investment per player per layer. Cooperators’ frequency gets larger in the absence of degree correlations, but if this correlation is present and the number of layers increases, Cooperators’ frequency drops to a fixed value around 50%. These results are independent of similarity correlation or overlapping, a trend nodes may have to connect to the same neighbours in different layers.
69 Table 6- List of the Parameters used in the Computer Simulation model List of parameters used Investment Criteria Network type, BA or Horand, common across all layers Number of layers (M) Intensity of selection (), within the interval between 0.01 and 10.0 Enhancement factor (F), within the interval between 1 and 2 Table 7Error! Reference source not found. summarises the metrics obtained from computer simulations used to conduct the discussion and support our findings. Table 7- List of all the Metrics collected from Computer Simulations Metrics to collect from Computer Simulations Level of Cooperation corresponding to the average level of cooperation over all layers snapshotted at the end of each simulation Distribution of the probability of the number of Cooperators per layer and aggregated, i.e., averaged across all layers, as observed during simulations period Distribution of the probability of the number of Cooperators per layer and aggregated as snapshotted at the end of each simulation Level of Cooperation corresponding to the average level of cooperation over all layers snapshotted at the end of each simulation Distribution of the probability of the number of Cooperators per layer and aggregated, i.e., averaged across all layers, as observed during simulations period Distribution of the final evolutionary outcome discriminated per layer Average Gradient of Selection (AGoS) per layer and averaged across all layers snapshotted at the end of regular number of generations and at the end of each simulation Strategy coherence or node consistency Distribution of the final evolutionary outcome per layer is snapshotted at the end of simulations in each of the following disjoint conditions: (i) All layers saturated as ALLC; (ii) All layer saturated as ALLD; (iii) All layers saturated, at least one as ALLC and at least one as ALLD; and (iv) At least one layer not saturated as ALLC or as ALLD. Strategy coherence or node consistency, which is computed as = 1 𝑁∑1 𝑀 𝑁 𝑛𝑜𝑑𝑒=1 |∑𝑆∗𝑖𝑙 𝑀 𝑙𝑎𝑦𝑒𝑟 𝑙=1 | (93) with
70 𝑆∗𝑖𝑙 = {1, for a Cooperator -1, for a Defector (94) is measured at the end of each simulation and averaged across all simulations. If there are 𝑀 layers and the node is Cooperator in 𝑀𝐶 of them, then consistency equals |1−2𝑝|, with p = 𝑀𝐶/𝑀. Consistency as a function of 𝑝 is a 𝑣 line with a minimum of 0 at 𝑝=0.5. 3.2.1. Numerical Methods Calculating AGoS is very CPU demanding. Taking into account that the consequence of an individual updating his/her strategy is that its investments across layers vary, its neighbours at distance 1 across all layers have their payoff updated and that the impact on individual contributions to AGoS at layer level is circumscribed to neighbours at distance up to 2 in any layer, an algorithm was conceived to incrementally update multilayer payoffs and AGoS at each stochastic process iteration, instead of recalculating these metric integrally from scratch. Appendix A presents the algorithm followed to incrementally calculate AGoS and payoffs at each iteration of the stochastic process having numerical optimization in mind. The algorithm conceived results from a trade-off between a lesser burden on CPU time and an increase in memory consumption, with more auxiliary variables being considered. Although attractive because of its performance, the downside of adopted incremental updating of Table 8- Comparison on the Number of Operations required for Payoff and AGoS Calculation with and without Numerical Optimization Average number of Operations per a Node Strategy update in a Layer Operations Unoptimized Version Optimized Version # of individual Payoff Calculations 𝑁𝑀 Baseline: 2〈𝑘〉1 〈𝑘〉+1=3(1) Distributed criteria: 2𝑀〈𝑘〉1 〈𝑘〉+M=3M(1) # of individual AGoS Calculations 𝑁𝑀 𝑀(〈𝑘〉+1)+2𝑀1 〈𝑘〉〈𝑘〉2= 𝑀(3〈𝑘〉+1) (3) (1)From steps 2, 5 and 6 of the algoritm (see appendix A) (2)From steps 1, 7 and 8 of the algoritm (see appendix A)
71 variables per iteration is that rounding errors due to machines finite precision accumulate. Measures to mitigate and control this consequence are also mentioned in appendix A. The compared number of operations in optimized and non-optimized calculations for each iteration of the stochastic process on a multilayer with 𝑀 layers of networks, each with 𝑁 nodes and 〈𝑘〉 average degree, is as in table 8. In non-optimized version it is assumed that at every iteration all payoffs and AGoS are calculated from scratch. As 𝑁≫〈𝑘〉, the saving of CPU utilization in the optimized calculus of stochastic process evolution is evident. Were other operations as the calculus of layer and multilayer aggregated AGoS considered and the gain on the optimized version side would be strengthened.
72 4. RESULTS AND DISCUSSION The goal of this work is to explore how different investment criteria impacts the evolution of cooperation. Given the large parameter space, our first approach was to slice it along a number of dimensions. That means, keeping some variables constant while exploring the impact of varying the remaining along a predefined domain. Hence, it made it possible to investigate the impact of different conditions graphically and derive some intuition on the underlying mechanics of cooperation promotion. Figure 14 results from a coarse grain sweeping of the parameter space and plots levels of cooperation averaged across all layers of the multilink colour coded. It is an eagle’s eye view on how the 5 parameters considered, investment criteria, network type, number of layers, intensity of selection (𝛽) and enhancement factor (𝐹), determine the levels of cooperation attained. In a single go it attempts both to roughly assess the impact of different resource investment criteria in the evolution of cooperation in populations interacting through a multilayer network and to assess how sensitive is the overall multilayer behaviour to environment parameters, in particular the number of layers and underlying network types. Figure 14- Level of Cooperation as a Function of Network type, Investment Criteria, Number of Layers, Intensity of Selection (𝛽) and Enhancement Factor (𝐹). Each layer with 𝑁=1000 individuals was initialized with half of them randomly chosen as Cooperators. There is no degree-degree correlation or overlapping. Overall, we concluded that in the presence of distributed investment criteria, levels of cooperation increased with increasing number of layers. In opposition, for baseline criteria the level of cooperation has little sensibility to variations in the number of layers. This is because adding more layers to a multilayer with baseline criteria has a limited impact on original
73 layers. Partial payoff of individuals on original layers suffers no change; only the probability of copying the strategy from a neighbour changes as accumulated payoff per individual is updated. On the other hand, with distributed investment the addition of a layer completely changes the game. By forcing a fraction of the investment of each individual to flow towards the new layer, as long as the individual cooperates in the new layer, such flow of investment impacts on the payoffs of individuals’ neighbours in all layers he cooperates. This creates a new dynamics by changing both individuals’ partial payoffs in original layers as well as the probability of copying strategies from neighbours. When all other variables are set as constant, cooperation improves with increasing enhancement factor (𝐹) as expected, because a greater F implies that in the payoff matrix of DPD Cooperators’ payoffs get closer to Defectors’ ones, thus promoting Cooperation 3 . Additionally, BA networks lead to broader conditions for the promotion of cooperation than Horand networks. Concerning the role of the intensity of selection (𝛽), we observe that cooperation is favoured in strong selection regimes with large enhancement factors. When the number of layers increases, cooperation becomes dominant across the entire range of selection pressures for an intensity of selection above a critical threshold that raises with the number of layers, but in a way that is not transversal to all parameter scenarios and thus requires a segmented analysis. Noticeable in each heat map (see figure 14), under distributed investment criteria and for increasing number of layers there is a region on the left side with an uniform colour corresponding to half way the colour map considered, precisely the same level of cooperation with which layers were initialized. Noticeable also is that this region gets larger with its right frontier moving rightwards as the number of layers increases. Within this region, the cooperation level tends to become insensitive to enhancement factor (𝐹). The formation of this region is more evident in Horand networks and with investment distributed per layer criteria, but although not experimented in the parameter subdomain underlying the figure it is extensible to the other distributed investment criteria and BA networks. The phenomenon in place is a combined topological and criteria enslavement that further on we will elaborate on and that in short boosts multilayer inertia to change, leading the multilayer to preserve 3 In each iteration, would the choice of the layer where to play the DPD game be deterministic, e.g. by choosing the layer where an individual maximizes its local payoff, and cooperation level would not increase with enhancement factor.
74 throughout simulations whatever level of cooperation it was initialized with. Characteristic of this enslavement region is also that the maximum intensity of selection (𝛽) delimiting its border varies in the same direction as the number of layers. Under the baseline criteria and with four BA layers or more, cooperation levels are high (around 80%) in strong selection and high enhancement values (F). This trend has a different motivation than the one pointed out for distributed investment criteria cases and had already been identified in (Kleineberg & Helbing, 2018). What happens is that in the absence of correlations between layers as their number increases so do the odds of an individual being a Cooperator and a hub in at least one of the layers. As payoffs are accumulated and new layers do not change investment already applied, the contribution from new cooperative hubs helps an individual both to hold his/her ground in layers where he/she plays cooperation with few neighbours as in layers where defection was the option. We considered F = 1.7 in baseline criteria, and we observed that average cooperation level tops at around 80% with the multilayer in a stable equilibrium point with layers holding individuals with both strategies and individuals with distinct strategies across layers. Figure 15 plots the probability of finding an 8-layer baseline multilayer at a particular average level of cooperation by the end of a simulation. The expected value of this distribution corresponds precisely to the values measured in figure 14. Figure 15- Quasi-Stationary Probability for an 8-Layer Multilayer with BA Networks and Baseline Investment Criteria. Intensity of Selection (𝛽) values 1 and the number of individuals (𝑁) per layer equals to 1000. Probabilities were calculated at the end of simulations. Each layer was initialized with half individuals randomly chosen as Cooperators. There is no degree-degree correlation or overlapping.
75 In order to shrink the parameter space and zoom in into different sub-domains where cooperation is experienced, reference values were identified for the intensity of selection ( ). Values chosen were 1.0 and 0.1, based on the rational that multilayers with this parametrization can span the entire range of cooperation levels. Figure 16 explores how the level of cooperation responds to different slices in parameter space defined by an intensity of selection ( ); enhancement factor (𝐹) and number of layers (M). In each column we consider scenarios where two parameters are constant and the remaining ones vary within the interval of analysis. Figure 16- Level of Cooperation in Multilayer Networks in 2-Player Distributed Prisoner Dilemma (=0.1). Level of cooperation was measured and averaged at the end of simulations. Networks in each layer have 1000 individuals (𝑁), half random and independently initialized as Cooperators. The upper and bottom left panels show the level of cooperation as a function of enhancement factor (𝐹), with the number of layers set to 8 and intensity of selection 𝛽=0.1. For BA networks, under the baseline criteria for F lower than 1.5 we observe that full defection (ALLD) is the dominant outcome, and for F greater than 1.8, population reaches a full cooperation state (ALLC). In between these values, we witness individuals changing strategy from Defection to Cooperation. The existence of a critical enhancement factor (𝐹) beyond which cooperation levels rise had already been identified in (Pacheco, Pinheiro, & Santos, 2009) for a single layer. Although not shown, results from this article were recovered. Investment distributed per layer line has a similar trend to the one concerning baseline. If investment is distributed per game cooperation raises steadily with 𝐹, but with a low slope.
76 Under the baseline criteria with Horand networks the critical enhancement factor (𝐹) is located near 𝐹=1.9, meaning that it is a more stringent context for the evolution of cooperation. Only beyond this value, there is room for cooperation. Under the distributed investment criteria the level of cooperation increases monotonically with F until reaching a level of cooperation of 0.5 for 𝐹=2.0. This behaviour is due to these slices cutting the parameter space almost entirely within the aforementioned regions of uniform cooperation level of 0.5 in figure 14. The middle top and bottom panels show the evolution of cooperation while varying number of layers in the multilayer. We consider a constant enhancement factor of 1.7 and an intensity of selection of 𝛽=0.1. The selection of the enhancement factor took into consideration the location of the level of cooperation phase transition observed on BA on top left panel. On BA networks (upper middle) panel we observe the existence of an optimum number of layers that maximizes cooperation. This maximum can be explained by the combination of two mechanisms with opposing effects: first, as the number of layers increases the critical F beyond which cooperation is triggered decreases, as the case for investment per layer criteria is the most evident one; secondly, as the number of layers increases the cooperation level tends to reach a fixed value determined by the initial proportion of cooperation, a phenomenon known as enslavement region (see appendix C). The baseline related curve raises with the number of layers but topped by the already mentioned barrier around 80%. On Horand networks and in the bottom middle panel we explore a scenario where the enhancement factor (𝐹) lies in a region of full defection. Hence, a similar outcome is obtained when we increase the number of layers. However, when investment is distributed per layer, cooperation becomes feasible in networks with four or more layers. For investment distributed per game, cooperation becomes feasible for networks with two layers or more. Under distributed investment criteria, there is thus a critical number of layers for cooperation to emerge. Relevant from middle panels is also that for both distributed investment criteria and for both types of networks, although more evident in the Horand case, the level of cooperation converges to 0.5 as the number of layers increase. Again, this is due to point {𝛽,𝐹}= [0.1,1.7} for the number of layers sampled lying within the aforementioned regions of uniform level of cooperation of 0.5 in figure 14. Finally, on the upper and bottom right panels we explore the level of cooperation as a function of the intensity of selection ( ), for networks with 8 layers and an enhancement factor of 1.7. On BA networks, cooperation is sustained in the entire interval of selection pressures
77 investigated. Moreover, there is an optimal intensity of selection ( ) that maximizes the level of cooperation. A finding that has been observed previously in single layered networks (Pinheiro, Pacheco, & Santos, 2012). On Horand networks, since for F = 1.7 under the baseline criteria a regime of full defection is in place, there is little impact in varying the intensity of selection ( ). However, for the distributed investment criteria, we observe significant gains in the level of cooperation for increasing selection pressure and in particular when investments are distributed per layer. For both distributed investment criteria and both networks, right panels also highlight the fact that for minimal intensity of selection ( ), the level of cooperation reached coincides with the one of multilayer initialization. The deviation increases as intensity of selection ( ) raises. As experimentally verified, were the figure replicated with a higher number of layers and the critical until which initial and final levels of cooperation are convergent would increase. Although not shown here, we have repeated the case where the fitness of individuals corresponded to the averaged payoff across layers, that is, instead of the accumulated payoff. In that context, the results are similar to the ones discussed in here with a rescaled selection pressure to account for the normalization done by the number of layers. Moreover, in appendix B we explore the impact of degree-degree correlations in multilayer social networks in the evolution of cooperation for the three investment criteria under analysis. We show that while increasing degree-degree correlations widens the range of dilemmas for which cooperation is prevalent, the region of parameters where the population is able to reach an ALLC state decreases substantially. 4.1. TOPOLOGICAL ENSLAVEMENT UNDER DISTRIBUTED INVESTMENTS AND LARGE NUMBER OF LAYERS It is important to detail the limiting case of topological enslavement that emerges when the number of layers is very large. This scenario is specific to distributed investment criteria, although it can also be observed under the baseline criteria in restricted subdomains of the parameter space, eventually requiring additional conditions on the multilayer degree-degree correlation. The prevalence of topological enslavement stems from the fact that, in opposition to baseline criteria, in distributed investment criteria when an individual becomes a Defector in one layer he/she will redistribute his/her investment towards the other layers where he/she remains a Cooperator. As a result, all individuals will have the same expected accumulated payoff with minimal variance. From this, it results that in the limit of many layers the
78 evolutionary dynamics recovers a random walk pattern, where the outcome is a function of the initial abundance of Cooperators and Defectors. Quasi-Stationary Distribution for Horand Multilayer averaged across Layers (= 𝟏,〈𝐤〉=𝟒,𝐅=𝟏.𝟕) Quasi-Stationary Distribution for BA Multilayer averaged across Layers (= 𝟎.𝟏,〈𝐤〉=𝟒,𝐅=𝟏.𝟕) Figure 17- Experimental Quasi-Stationary Distribution for Multilayers averaged across Network Layers. Layers with 1000 individuals (𝑁) are uncorrelated and were independently initialized, each one with a number of Cooperators determined by a uniformly distributed variable with values from 0 to 1000, inclusive
85 This section shed light on how the microscopic dynamics locally defined at individual level relates to the resulting global dynamics and allowed to conclude on the inexistence of patterns of “self-similarity” at different scales. 4.3. AGGREGATED AVERAGE GRADIENT OF SELECTION Up to now, we have analysed the evolutionary dynamics of distributed investments in multilayered social networks on the attained level of cooperation. We now introduce the Aggregated Gradient of Selection (AGoS) tool in order to obtain a more accurate description of the underlying dynamics that leads to the observed outcomes. Hence, we aim at answering what is the population-wide dynamics that characterizes the social-dilemma faced by the population. In a single layer with finite population, the AGoS is calculated as the difference in the probability to increase of the number of Cooperators by one and the probability to decrease the number of Cooperators by one. The AGoS, which must be computed numerically, aims to estimate these two quantities for all possible state transitions through a large number of computer simulations of the evolutionary process. The AGoS is, by definition, network dependent but context independent, as it recovers the population mean-field character. The AGoS captures dynamical information equivalent to that provided by replicator equation in EGT for infinite well-mixed population presented in 2.1.4. Figure 22- Averaged Aggregated Gradient of Selection (AGoS) averaged across Layers and Time. All networks have 1000 individuals (𝑁) with 〈𝑘〉=4,𝛽=1. Layers were independently initialized with a number of Cooperators given by a random variable uniformly distributed between 0 and 1000, inclusive
86 In order to extend the AGoS to multilayer social networks, we opted to compute the AGoS independently per layer, which is then averaged to obtain a population and layer wide AGoS representation of the dynamics at hand. Figure 22 shows the average AGoS on multilayers with different number of layers and types of networks. We consider an intensity of selection of 1.0 ( =1.0) for both types of networks. The criteria for selecting the enhancement factor (𝐹) follows from the outcomes shown in figure 14 for both network topologies and involves selecting an enhancement factor that is precisely at the transition between ALLD and ALLC outcomes. In that sense, we will be using 𝐹=1.6 for BA networks and 𝐹=1.9 for Horand networks. For baseline criteria and BA networks, the multilayer behaviour is one of coordination. In that case, the evolutionary dynamics is characterized by an unstable fixed point. From it results that depending on the initial abundance of Cooperators and the location of the internal fixed point all layers will be driven towards an ALLC or an ALLD outcome. In addition, the location of the fixed point is seemingly invariant with the number of layers. Would the enhancement factor (𝐹) increase (decrease) the fixed point would move to the left (right). The BA type of network is responsible for transforming a defection dominant DPD game in a well-mixed population into a game that is commonly associated with a mild social dilemma for cooperation, a coordination game often known as a Stag Hunt. Cooperation in Horand multilayers under the baseline criteria is doomed for a small number of layers. However, for 8 layers population evolution is such that the possibility of a coexistence scenario with a stable equilibrium root emerges. The multilayer jointly with the baseline criteria transform a defection dominant DPD game in a well-mixed population into a game with an AGoS typical of a co-existence game. This means that even tough individuals are locally engaged in a DPD, multilayer leads to the emergence of a global population wide dynamics that promotes the co-existence of Cooperators and Defectors. In the case of a single layer and baseline criteria, results are aligned with those obtained in (Pinheiro, Pacheco, & Santos, 2012). For investment distributed per layer and BA networks, the curves have a similar shape to the baseline case but move leftwards and cease sharing the same equilibrium point. With increasing number of layers, the fixed point moves towards 0. Moreover, in a case in which the number of layers is very high the AGoS tend to be fully positive, typical of a system evolving to full cooperation. With Horand network and a small number of layers, all defection is multilayer fate as with baseline criteria. However, as the number of layers increase, a stable equilibrium point emerges, and the absolute value of the
87 averaged AGoS tends to zero. In fact, this reduction of AGoS magnitude was already experienced in the BA case. With investment distributed per game and BA networks multilayer evolves to full cooperation. It is also noticeable the decrease of the averaged AGoS magnitude as the number of layers increases. In the case of Horand networks, a similar behaviour is observed with the exception that evolution is directed towards full defection in the cases that have been studied. Common to both distributed investment criteria is that the magnitude of the average AGoS decreases as the number of layers increases, something that had already been anticipated in previous section. Having AGoS with magnitudes close to zero simply means that multilayer trend is to preserve the level of cooperation with which it was initialized. In other words, evolution approaches neutral drift. For distributed investment criteria and Horand networks, appendix D presents a mathematical explanation to why AGoS magnitude tends to zero as the number of layers increases. Figure 22 shows results for the average AGoS, that is the average AGoS of all layers computed independently. However, as layers are statistically indistinguishable among themselves, individual AGoS concerning each layer are very close between themselves and thus close to their average AGoS. Figure 23 illustrates this result for multilayers with 4 layers and on both types of networks topologies. Figure 23- Aggregated Gradient of Selection (AGoS) for 4 Layers Multilayer over Time. All networks have 1000 individuals (𝑁) with 〈𝑘〉=4,𝛽=1. Layers were independently initialized with a number of Cooperators given by a random variable uniformly distributed between 0 and 1000, inclusive. Moreover, the computed AGoS presented so far results from a time average that spans over 150 generations. This disposition has the drawback of not capturing the eventual evolution over time that AGoS may experience, thus fails to capture the self-organizing process that
88 occurs as strategy assortments in the networks build up. In order to report the AGoS temporal dynamics, the time interval was fractioned in 150 intervals of 1 generation each. In each of these intervals, AGoS was calculated independently. BA Multilayers with 𝜷=𝟏,𝑭=𝟏.𝟔,〈𝒌〉=𝟒 Horand Multilayers with 𝛃=𝟏,𝐅=𝟏.𝟗,〈𝐤〉=𝟒 Figure 24- Aggregated Gradient of Selection (AGoS) for Multilayers averaged over Time. Layers with 1000 individuals (𝑁) were independently initialized with a number of Cooperators given by a random variable uniformly distributed between 0 and 1000, inclusive. The noise increases with generation index due to generations having fewer samples. Were the number of 300.000 simulations increased and this noise would be reduced. Figure 24 exhibits snapshots of the AGoS at different generations for multilayers with different networks and with different number of layers. A common observation to all multilayers considered is that during the first generations AGoS is always negative, which means that multilayers in first evolutionary steps witness an increase in the number of Defectors. Gradually in subsequent generations AGoS changes and results in the emergence of a basin of attraction that favours cooperation. The initial increase in the number of
89 Defectors results from two motives. First one is related to the fact of Cooperators and Defectors in the initial configuration of the multilayer are randomly positioned in the network making the clustering of nodes with the same strategy extremely improbable. With DPD being played locally, an arguably difficult game for the promotion of cooperation, the AGoS becomes negative. Secondly, may be simply that in the multilayer cooperation is doomed. As population evolve and Cooperators is adopted via the investment they are willing to apply, we witness assortment of strategies with the formation of hubs of cooperation. For baseline strategy and BA networks, AGoS recovers the unstable fixed point as generations evolve. Around the 10th generation, the fixed point emerges for levels of cooperation close to 1. As generations unfold, the fixed point moves to lower levels of cooperation (decreasing the coordination threshold) until stabilizing at a value with little sensibility to the number of layers. A similar behaviour is depicted on Horand networks. Here the fixed point is stable, thus promoting a co-existence, and starts emerging with levels of cooperation close to 0. As generations unfold the fixed point moves to higher levels of cooperation until it stabilizes. For investment per layer criteria and BA networks, AGoS also recovers from negative values to acquire an unstable fixed point that initially also arises close to full cooperation. The difference is that this point moves to lower levels of cooperation faster as generations progress and with greater number of layers. With investment per layer in Horand networks and from four layers onwards an AGoS characterized by a co-existence point emerges. For a given number of layers the co-existence root moves towards larger levels of cooperation for later generations. Additionally, not only the difference in co-existence root between the same generations shrinks as the number of layers increases as the fixed point moves closer to full cooperation. For investment per game criteria and BA networks, apart from first generations, all subsequent ones have positive AGoS. As the number of layers increases, AGoS magnitudes for the same generations decrease. A similar behaviour is observed on Horand networks, where the AGoS is negative for all generations. As the number of layers increases, the magnitude of AGoS reduces drastically. For 8 layers, AGoS beyond the 10th generation look like white noise with minimum magnitude. The simple qualitative comparison of successive generations of AGoS concerning the same investment criteria and network combination may be misleading unless we take into account their relative magnitudes. For instance, for one layer the AGoS magnitude for the first generations is much higher than for subsequent ones. If for a given investment criteria and
90 number of layers combination all generation dependent AGoS are averaged, we recover the AGoS presented in figure 22. Here, we have focused only in multilayers built from a single type of network. Appendix E addresses the case of a multilayer with heterogeneous layers: half as Horand, another half as BA.
91 5. CONCLUSIONS In this thesis we have used methods from Evolutionary Game Theory to study the evolution of cooperation in multilayers made up of distinct and topologically independent networks of a single type, be it homogeneous or heterogeneous. Game dynamics were modelled at microscopic agent level via the Fermi-update dynamics and explored through computer simulations. In each layer, individuals engaged in the simple Public Goods Games in the form of the Distributed Prisoner Dilemma. Intrinsic to Public Goods Games is a criteria on how much to invest in a game an individual participates as a Cooperator. Three criteria were explored. One scenario of unconstrained resources, the baseline one, considered that individuals contributed a fixed amount of 1 unit per game, irrespective of the number of distinct peers they may interact with. A second one had investment distributed per layer. That is, individuals had to distribute the same unit of investment equally through all layers where he/she participated as a Cooperator. Third criteria of investment was distributed per game, meaning that under that criteria individuals had to split equally a fixed investment across all the games they participated as Cooperators on all layers. For the baseline investment criteria, we have shown that it has little sensibility to variations in the number of layers. For homogenous networks of Horand type, the parameter domain where cooperation is possible has a minimum enlargement with the number of layers increasing. Adding layers just increases the size of regular space, without breaking its symmetry, as new layers are statistically identical to previous ones with no impact on the investments already applied. If the networks are heterogeneous of BA type, the ones that better map social networks, a slight degradation in cooperation levels is even experienced when the number of layers increases with minimum change of the domain where cooperation is viable. For distributed investment criteria, as the number of layers increases, we see the emergence of cooperation for lower levels of selection pressure ( ). In the case of investment per layer and as the number of layers increases, the promotion of cooperation is more consistent in the homogeneous case than in heterogeneous one. Moreover, the fluctuations of cooperation level in the parameter domain are smaller in the homogeneous case. For investment per game, heterogeneous networks favour cooperation for any number of layers. With homogeneous networks, a higher number of layers is required for Cooperation to succeed. Similar to both distributed investment criteria is that as either the number of layers increases or the intensity of selection ( ) decreases, a topological and criteria enslavement
92 emerges, causing final level of cooperation to coincide with the initial proportion of Cooperators, irrespective of the values enhancement factor (𝐹) environment. In the parameter space of the number of layers versus intensity of selection ( ), a conceptual line with these parameters varying in the direct ratio can be traced such that for any combination of these parameters below the threshold defined by the line enslavement rules. Moreover, in the distributed investment criteria, as time unfolds layers saturate becoming either ALLC or ALLD for heterogeneous networks and a layer polarization is reached. Thus, the initial proportion of Cooperators reflects in the proportion of layers that saturate as ALLC. For homogeneous cases, we find a mix of polarized layers and polarized populations, i.e., layers where both strategies coexist. However, as the number of layers increases the number of layers with polarized populations fades away until complete disappearance. Because the number of layers is discrete, when it increases also decreases error grain for difference between the proportion of layers saturating as ALLC and initial Cooperator concentration. This layer polarization is of no surprise, as the increasing number of layers leads the evolutionary dynamics to converge to neutral drift having two absorbing states, ALLC or ALLD, with complementary probabilities of being reached, the probability assigned to former state resulting from the level of cooperation the multilayer was initialized with. By definition for homogeneous networks cooperation levels attained with investment distributed per game coincide with the ones obtained with investment distributed per game with an higher intensity of selection ( ) factor. This behaviour is also experienced with heterogeneous networks. Another challenge targeted was to understand multilayer global dynamics and how they relate with microscopic dynamics locally defined at agent level. To tackle this, we resorted to AGoS, a numerically computed measure that is network dependent. Initially conceived for a single layer, it was here extended to the case of multilayered social networks. The AGoS measures the balance of probabilities to increase and decrease the number of Cooperators by one at a given strategy configuration. Firstly, the single layer concept was generalized to a multilayer resulting in an averaged AGoS across layers. What averaged AGoS across layers demonstrates is that for homogeneous networks, regardless of the investment criteria, as the number of layers increases the magnitude of AGoS tends to zero (i.e., to neutral selection). This trend is even emphasized for distributed investment, which explains why the proportion of Cooperators with which a multilayer is initialized is preserved. Still for distributed investment criteria,
93 AGoS also shows that as the number of layers increases, although with a magnitude tending to zero, AGoS can become positive with an overall dynamics of a co-existence scenario. For heterogeneous networks, the magnitude of AGoS also tends to zero as the number of layers increases. For baseline and investment per layer criteria, global dynamics is one of coordination. In the former case the root proportion of Cooperators is insensible to the number the layers whereas in latter case it moves leftwards tending to zero. A signal of what is to come for investment distributed by game with an higher number of layers is already verified for investment distributed per game with AGoS always positive and tending to zero as the number of layers increases. An immediate takeaway from this thesis is that with distributed investment available, which can be time to share among many social networks of interest, in scenarios as the ones explored along the study developed, when the number of layers increases individuals tend to synchronize their strategies and cooperate (defect) in the same layers. Having this thesis been mostly theoretical in character, with due humility and comparisons apart, the author reminds the anecdotic Hardy example. Hardy was an English mathematician and pacifist who lived during two previous centuries. He claimed to have never done anything useful during his life. By useful he meant applied, that could be used by the army. Because he insisted on only working on pure and abstract mathematics, he never dreamed of it, but much of his work was later on applied in various branches of science as e.g. population genetics. 5.1. FUTURE WORK As to suggestions for continuing this work, a number of directions can be anticipated. The dependency of cooperation levels on average network degree was not experimented, because although trying different types of networks, all network instances shared the same average degree. When increasing 〈𝑘〉 no significant changes in the results are expected, although according to equation 15 in appendix C topological enslavement may require an higher number of layers to emerge as 𝜎𝐶2 2∝〈𝑘〉, where 𝜎𝐶2 2 accounts for the variance of an individual payoff from neighbours investment. In each multilayer experimented all layers had the same average degree and type of network, no assortiveness. It would be interesting to break this symmetry in three independent directions: cease to have the same average degree across all layers of the same multilayer, allow different types of networks in different layers as it is performed in appendix E and vary assortiveness. A major impact is expected on calculating AGoS in scenarios where symmetry across layers is broken. In terms of characterization, layers share no more a number of indicators or statistical distributions, e.g. 〈𝑘〉, 𝑃𝑟𝑜𝑏(𝑘),
94 assortiveness, etc., which certainly implies AGoS per layer to differ. The challenge is now if and how partial layers AGoS could be combined and summarized in a single one explaining the evolution of cooperation. i.e., if there is a coherent game played across all layers or in opposition if different games are played in different layers such that a summary AGoS ends up reflecting an “average” game played nowhere. Interesting to find out is also whether asymmetry between layers in a multilayer can break topological and criteria enslavement. A simple extension to Public Goods Games and to its Distributed Prisoner Dilemma version would be to address voluntary participation, i.e., to allow each player to adopt a third strategy in each interaction, the one of Loner. When an individual abstains from playing by deciding to be Loner, his/her peer in pairwise interaction is compelled to also act as Loner and both players are rewarded by an amount 𝜎, positive but smaller than the typical value corresponding to a cooperation interaction. Because a Loner is better off than a non-Loner playing against a Defector, although with a smaller reward than if playing against a Cooperator, Loner is an attractive strategy for the risk averse players. Different sets of stochastic rules can be conceived for an individual in a layer to become or cease behaving as a Loner. In the limit when 𝜎=0, whenever an individual acts as a Loner in a layer, it is as his/her relationships were temporarily erased from the layer at least during the time interval he/she insists on playing as Loner. An alternative to the game having 3 individual strategies, would be for players to adhere to one of two mixed strategies, Loner plus a base strategy of Cooperation or Defection. Game participation would be probabilistic.
101 Traulsen, A., & Hauert, C. (2008). Stochastic Evolutionary Game Dynamics. Reviews of Nonlinear Dynamics and Complexity, 2, doi:10.1002/9783527628001.ch2. Traulsen, A., & Nowak, M. A. (2006). Evolution of cooperation by multilevel selection. National Academy of Sciences, 103, 10952-10955, doi:10.1073/pnas.0602530103. Traulsen, A., Claussen, J. C., & Hauert, C. (2006). Coevolutionary Dynamics: From Finite to Infinite Populations. Physical review letters, 95, 238701, doi: 10.1103/PhysRevLett.95.238701. Traulsen, A., Nowak, M., & Pacheco, J. (2006). Stochastic Dynamics of Invasion and Fixation. Physical review. E, Statistical, nonlinear, and soft matter physics, 74, 011909, doi:10.1103/PhysRevE.74.011909. Traulsen, A., Shoresh, N., & Nowak, M. (2008). Analytical Results for Individual and Group Selection of Any Intensity. Bulletin of mathematical biology, 70, 1410-24, doi:10.1007/s11538-008-9305-6. Trivers, R. L. (1971). The Evolution of Reciprocal Altruism. The Quarterly Review of Biology, 46, 35-57, doi:doi: 10.1086/406755. Wang, Z., Perc, M., & Szolnoki, A. (2012). Evolution of public cooperation on interdependent networks: The impact of biased utility functions. EPL (Europhysics Letters), 97, doi:10.1209/0295-5075/97/48001. Wang, Z., Szolnoki, A., & Perc, M. (2013). Optimal interdependence between networks for the evolution of cooperation. Scientific reports, 3, 2470, doi:10.1038/srep02470. Wang, Z., Wang, L., Szolnoki, A., & Perc, M. (2015). Evolutionary games on multilayer networks: A colloquium. The European Physical Journal B, 88, 124-138, doi:10.1038/srep02470. Watts, D. J., & Strogatz, S. H. (1998). Collective dynamics of ‘small-world’ networks. Nature, 393, 440–442, doi:10.1038/30918. Zaggi, M. (2013). Eleven mechanisms for the evolution of cooperation. Journal of Institutional Economics, 10, 197-230, doi:10.1017/S1744137413000374. Zukewich, J., Kurella, V., Doebeli, M., & Hauert, C. (2013). Consolidating Birth-Death and Death-Birth Processes in Structured Populations. PloS one, 8, e54639, doi:10.1371/journal.pone.0054639.
102 Appendix A. Algorithm for Payoff and AGoS Calculation The numeric optimization considered in order to make the simulations less demanding on CPU requires more variables (memory) as a trade-off. The relevant set of variables considered for the optimization of the simulations’ duration is as follows: Variable Meaning 𝑛 - Chosen node which strategy is to be updated in… 𝑙𝑛 - … layer 𝑙𝑛 F - Enhancement factor M - Number of layers 𝛽 - Intensity of selection 𝑁𝑙 - Number of nodes in layer 𝑙 with 𝑁𝑙=𝑁 𝑆𝑖𝑙 - Strategy of node 𝑖 in layer 𝑙 It can value 𝐶 (Cooperator) or 𝐷 (Defector) Invest𝑖𝑙 - Investment of node 𝑖 in layer 𝑙 per game Payoff𝑖𝑙 - Payoff collected by node 𝑖 in layer 𝑙 Payoff𝑖 - Accumulated payoff of node 𝑖 across all layers Payoff𝑖=∑Payoff𝑖𝑙 𝑀 𝑙=1 Neigh1𝑖 𝑙 - Set of nodes with direct links to node 𝑖 in layer 𝑙 The distance between nodes 𝑖 and 𝑥 in layer 𝑙 with 𝑥∈ 𝑁𝑒𝑖𝑔ℎ1𝑖 𝑙 values 1. Neigh2𝑖 𝑙 - Set defined as {𝑥:∃𝑗∈Neigh1𝑖 𝑙,𝑥∈𝑁𝑒𝑖𝑔ℎ1𝑗 𝑙,𝑥≠𝑖,𝑥∉Neigh1𝑖 𝑙}, it implies that Neigh2𝑖 𝑙∩Neigh1𝑖 𝑙=∅. The distance between nodes 𝑖 and 𝑥 in layer 𝑙 with 𝑥∈ 𝑁𝑒𝑖𝑔ℎ2𝑖 𝑙 values 2. 𝑘𝑖𝑙 - Number of neighbours of node 𝑖 in layer 𝑙. 𝑘𝑖𝑙 equals the cardinality of Neigh1𝑖 𝑙 set.
103 AGoS𝑖𝑙 - Contribution of node 𝑖 to AGoS of layer 𝑙 𝐴𝐺𝑜𝑆𝑖𝑙= { 1 𝑘𝑖𝑙∑1 1+𝑒−𝛽(Payoffj l−Payoff𝑖𝑙) 𝑗∈Neigh1𝑖 𝑙,𝑆𝑗𝑙=𝐶 ,𝑖𝑓 𝑆𝑖𝑙=𝐷 −1 𝑘𝑖𝑙∑1 1+𝑒−𝛽(Payoffj l−Payoff𝑖𝑙) 𝑗∈Neigh1𝑖 𝑙,𝑆𝑗𝑙=𝐷 ,𝑖𝑓 𝑆𝑖𝑙=𝐶 AGoS𝑙 - AGoS in layer 𝑙 AGoS𝑙=1 𝑁𝑙∑AGoS𝑗𝑙 𝑁𝑙 𝑗=1 The AGoS variables are stored in an IEEE 754 double format with 8 bytes, 52 bits (plus 1 more implicit bit) for the significant digits of a number in binary format. This means a precision of at least 𝑓𝑙𝑜𝑜𝑟(𝑙𝑜𝑔10(253))=15 decimal digits, more than enough to accommodate the cumulative effects of rounding errors resulting from the iterations of each simulation. In each iteration of the stochastic process modelling the evolution of cooperation on a multilayer with 𝑀 layers of networks, after focal node 𝑛 in layer 𝑙𝑛 has been selected, pairwise comparison of its payoff with the one of its neighbour with a distinct strategy in the same layer may dictate with a Fermi-like probability that strategy 𝑆𝑛𝑙𝑛 is to be updated. In case it is and before it is, the following steps are taken in order to incrementally update individual and global payoffs and AGoS with minimum CPU consumption: 1. At every layer, delete (i) contribution of node 𝑛 to AGoS of the layer, (ii) contribution of direct neighbours of node n to AGoS of the layer and contributions of nodes at distance 1 from node 𝑛 to (iii) the partial AGoS of nodes at distance 2 of node 𝑛 and (iv) to the AGoS of the layer: For every 𝑙∈{1,…,𝑀} do AGoS𝑙←AGoS𝑙 ‐ AGoS𝑛𝑙 -- (i) For every 𝑥∈Neigh1𝑛 𝑙 do AGoS𝑙←AGoS𝑙 ‐ AGoS𝑥𝑙 -- (ii) For every 𝑦∈Neigh2𝑛 𝑙 do IF 𝑆𝑥𝑙≠𝑆𝑦𝑙 THEN aux ← contribution to 𝐴𝐺𝑂𝑆𝑦𝑙 from node 𝑥 in layer 𝑙
104 AGoS𝑦𝑙←AGoS𝑦𝑙−aux -- (iii) AGoS𝑙←AGoS𝑙−aux -- (iv) END IF 2. Delete contributions of node 𝑛 to its neighbours’ payoffs at (i) layer and (ii) multilayer level: Set 𝐿𝑆={𝑙𝑛} or 𝐿𝑆={1,…,𝑀}, depending on investment distribution criteria being baseline or other, respectively. For every 𝑙∈𝐿𝑆 do IF 𝑆𝑛𝑙==𝐶 THEN For every 𝑥∈Neigh1𝑛 𝑙 do aux ←𝐹2𝐼𝑛𝑣𝑒𝑠𝑡𝑛𝑙 Payoff𝑥𝑙←Payoff𝑥𝑙−aux -- (i) Payoff𝑥←Payoff𝑥−aux -- (ii) END IF 3. Update focal node 𝑛 strategy in layer 𝑙𝑛 𝑆𝑛𝑙𝑛←𝑆𝑛𝑙𝑛==𝐶 ?𝐷: 𝐶 4 With strategy 𝑆𝑛𝑙𝑛 updated, following steps close current iteration of stochastic process: 4. In case of distributed investment, i.e. not baseline, update investment Invest𝑛 𝑙 across all 𝑙 layers. 5. Update contributions of node 𝑛 to its neighbours’ payoffs at (i) layer and (ii) multilayer level: Set 𝐿𝑆={𝑙𝑛} or 𝐿𝑆={1,…,𝑀}, depending on investment distribution criteria being baseline or other, respectively. 4 𝑐𝑜𝑛𝑑 ? 𝑣𝑎𝑙1∶ 𝑣𝑎𝑙2 values 𝑣𝑎𝑙1 or 𝑣𝑎𝑙2 depending on Boolean condition 𝑐𝑜𝑛𝑑 being 𝑡𝑟𝑢𝑒 or 𝑓𝑎𝑙𝑠𝑒, respectively.
105 For every 𝑙∈𝐿𝑆 do IF 𝑆𝑛𝑙==𝐶 THEN For every 𝑥∈Neigh1𝑛 𝑙 do aux ←𝐹2𝐼𝑛𝑣𝑒𝑠𝑡𝑛𝑙 Payoff𝑥𝑙←Payoff𝑥𝑙+aux -- (i) Payoff𝑥←Payoff𝑥+aux -- (ii) 6. Calculate new node 𝑛 payoffs (i) per layer and (ii) multilayer: Payoff𝑛←0 For every 𝑙∈{1,…,𝑀} do Payoff𝑛 𝑙←0 For every 𝑥∈Neigh𝑛 𝑙 do Payoff𝑛 𝑙← Payoff𝑛 𝑙+(𝑆𝑥𝑙==𝐶 ? 𝐹2Invest𝑥𝑙∶ 0) Payoff𝑛 𝑙← Payoff𝑛 𝑙+(𝑆𝑛𝑙==𝐶 ?( 𝐹2‐1)Invest𝑛 𝑙𝑘𝑛𝑙∶ 0) -- (i) Payoff𝑛←∑Payoff𝑛 𝑙 𝑀 𝑙=1 -- (ii) 7. Update (i) node 𝑛 AGoS in every layer and impact it on (ii) AGoS of the layer: For every 𝑙∈{1,…,𝑀} do Calculate 𝐴𝐺𝑜𝑆𝑛𝑙 -- (i) AGoS𝑙←AGoS𝑙 + AGoS𝑛𝑙 -- (ii) 8. At every layer, (i) calculate AGoS for neighbours of node 𝑛, (ii) impact it on the AGoS of the layer, add contributions of nodes at distance 1 from node 𝑛 (iii) to the partial AGoS of nodes at distance 2 of node 𝑛 and (iv) to the AGoS of the layer: For every 𝑙∈{1,…,𝑀} do For every 𝑥∈Neigh1𝑛 𝑙 do Calculate 𝐴𝐺𝑜𝑆𝑥𝑙 -- (i) AGoS𝑙←AGoS𝑙 + AGoS𝑥𝑙 -- (ii) For every 𝑦∈Neigh2𝑛 𝑙 do IF 𝑆𝑥𝑙≠𝑆𝑦𝑙 THEN
106 aux ← contribution to 𝐴𝐺𝑂𝑆𝑦𝑙 from node 𝑥 in layer 𝑙 AGoS𝑦𝑙←AGoS𝑦𝑙+aux -- (iii) AGoS𝑙←AGoS𝑙+aux -- (iv) END IF Model variables are ready for subsequent stochastic process iteration.
107 Appendix B. Degree-Degree Correlation and Overlapping Degree-degree correlation in a multilayer is only meaningful for its multiplex subtype with the same set of nodes present in all layers, no inter-layer links, and in case these are supported on heterogeneous networks. Pearson correlation index is used to estimate the degree correlation between two layers. It varies between -1 (when individuals have the same degrees but in different network layers), passing by 0 (meaning layer networks with uncorrelated individual degrees) to 1 (when individuals have coinciding degrees in both layer networks). A methodology for correlation tuning was developed, based on a simulated annealing method proposed in (Nicosia & Latora, 2015). The starting point is a set of two layers, second one replicated from first one. Then iteratively, one randomly selects a pair of individuals, 𝑁1 and 𝑁2, in second layer and switches their names in that layer. Implicitly, in second layer 𝑁1‘s neighbours swap with 𝑁2‘s and viceversa. If the individual switching moves degree-degree correlation towards intended target it is accepted; otherwise, it is accepted conditioned on a certain probability. This allowed deviation from the path towards target correlation is essential, in order to avoid getting stuck on local minima and to keep the parameter space of exploitation open. This logic is applied in cascade to the 𝑀−1 consecutive pairs of an M-layers multilayer. As in (Nicosia & Latora, 2015), a M-layers multilayer having a particular degree-degree correlation means that layers 𝑙 and 𝑙+1, whatever 𝑙 𝜖 {1,…,𝑀−1} have that degree-degree correlation. As correlation between layers is non-transitive, the pairs of layers {𝑙−1,𝑙} and {𝑙,𝑙+1} having the same correlation does not imply the same value applies to {𝑙−1,𝑙+1} pair of layers. Additionally and due to the inexistence of inter-layer links, the notion of consecutive layers is purely arbitrary, depends on labelling, as layers are statistically Figure B-1- Example of a Degree-Degree Correlation Matrix
108 indistinguishable from each other. If degree-degree correlation 𝑀𝑥𝑀 matrix is to be plotted for a M-layer multilayer resulting from the application of this algorithm, main diagonal values 1 and diagonals next to main one assume multilayer degree-degree correlation. The matrix is symmetric. Values for other entries are not anticipated. An example of a correlation 𝑀𝑥𝑀 matrix is depicted in Figure B-1. Overlapping is a different concept from degree-degree correlation, although not independent. Overlapping between two layers 𝛼 and 𝛼′ provide an indicator on how probable it is for an arbitrary pair of nodes to be linked in both layers. It is defined as 𝑜𝑣𝑒𝑟𝑙𝑎𝑝𝑝𝑖𝑛𝑔𝛼𝛼′= ∑𝑎𝑖𝑗 𝛼𝑎𝑖𝑗 𝛼′ 𝑖<𝑗 ∑𝑎𝑖𝑗 𝛼+ ∑𝑎𝑖𝑗 𝛼′ 𝑖<𝑗 − ∑𝑎𝑖𝑗 𝛼𝑎𝑖𝑗 𝛼′ 𝑖<𝑗𝑖<𝑗 (1) with 𝑎𝑖𝑗 𝛼= {1,𝑖𝑓 𝑛𝑜𝑑𝑒𝑠 𝑖 𝑎𝑛𝑑 𝑗 𝑎𝑟𝑒 𝑙𝑖𝑛𝑘𝑒𝑑 𝑖𝑛 𝑙𝑎𝑦𝑒𝑟 𝛼 0,𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒 (2) Although overlap concept applies to multilayers both with heterogeneous networks as with Horand networks, former case is the only one addressed because of its increased relevance due to degree heterogeneity. Overlapping between two layers was tuned by copying randomly links from one BA layer to the other, until reaching the pretended number of replicated links. Then, in the layer in construction new links are added such that (i) they are absent from reference layer, (ii) each node needs to have at least 𝑚 (=<𝑘> 2) connections and (iii) preferential attachment principle is taken into account when deciding on the nodes to be connected next by new links. The steps have been conducted ensuring that networks remain fully connected. Degree-degree correlation and overlapping are not independent variables, because one cannot be totally controlled without impacting the other, e.g. a perfect 1 overlapping implies a degree-degree correlation of 1. If layers 𝛼 and 𝛼′ have not a single link in common connecting the same pair of nodes, overlapping is null. If any pair of nodes linked in one layer is also linked in the other, overlapping is total. Along this appendix, the influence of degree-degree correlation and overlapping on multilayer behaviour is taken into account. Here we will conclude that in general degreedegree correlation refrains cooperation and in particular for unconstrained (baseline) criteria favours topology enslavement, a phenomenon in which the system gets insensitive to system
109 parameters as enhancement factor (𝐹) or intensity of selection ( ) in the case of Public Goods Games or alike, S or T in original pairwise games as Prisoner’s Dilemma. No matter the value of this parameter, the level of cooperation achieved coincides with the one the multilayer was initialized with. Overlapping also leads to topology enslavement because it implies degreedegree correlation. For the constrained case, topology enslavement is also observed but driven by a chain of mechanisms of different sort described in appendix C. In an attempt to shed light on degree-degree correlation influence on cooperation evolution, average level of cooperation across layers was calculated as a function of degree-degree correlation and intensity of selection for 8-layers multilayer with BA networks and an enhancement factor of 1.7, a value for which cooperation is viable for any investment criteria. The results discriminated by investment distribution criteria are presented in figure B-2. Figure B-2- Average Level of Cooperation for Degree-Degree Correlation versus Intensity of Selection (𝛽). Multilayer have 8 layers, 1000 (𝑁) individuals per layer, 〈k〉 equals to 4 and F values 1.7 and BA networks. In each layer, nodes were randomly initialized with half as Cooperators. The figure highlights two facts. The most notorious one is that, apart from baseline criteria for very low intensity of selections, level of cooperation decreases when degree-degree correlation gets stronger, a behaviour due to cumulative payoff. When degree-degree correlation is maximum, the cooperation level for all criteria reaching the value of 50%, precisely the proportion of Cooperators the multilayer was initialized with, is the second fact to highlight in the figure. This multilayer inertia in changing initial level of cooperation had already been noticed by (Kleineberg & Helbing, 2018) for the baseline case. The way a multilayer is constructed, it having a high degree-degree (Pearson) correlation means that the number of neighbours any node has in any layer with a high probability is similar to the set of neighbours the same node has across all layers in the multilayer. Thus, odds of a hub in a layer being also a hub in another layer increase with degree-degree
110 correlation. Let us now consider a hub node and a high degree-degree correlation between the layers in the multilayer. Because of this correlation factor, hubs are aligned across layers. The payoff collected in layers in which the node cooperates, because of it being cumulative, impacts all layers. This means that a hub can defect in a layer 𝑙0 with a high payoff collected in other layers where the hub cooperates. The Defector strategy of this hub in layer 𝑙0 because of its high payoff functions as a reference and tends to, if not to saturate the all layer as ALLD, at least to dry out cooperation in the neighbourhood. The initial strategy of bigger nodes in a layer, randomly determined, dictates the direction of saturation, ALLC or ALLD, of the layer or at least the neighbourhood. Moreover, when degree-degree correlation is high, a node tends to have the same neighbours in all layers, which means that if it has k degree it tends of have a total of distinct 𝑘 neighbours across all 𝑀 layers of the multilayer. Now let us consider a multilayer with maximum degree-degree correlation, investment per layer criteria, an arbitrary focal node and any one of its neighbours. These two nodes will share a link across all layers. If the neighbour is cooperative in 𝑁𝐶 layers, it will contribute to focal node payoff with 𝐹 2𝑁𝐶 per link in 𝑁𝐶links resulting in an aggregated contribution of 𝐹2. If this neighbour now switches strategy from cooperation to defection in one of the layers its contribution to focal node payoff will be updated to 𝐹 2(𝑁𝐶−1)(𝑁𝐶−1), i.e., in spite of strategy update neighbour contribution to focal node payoff was preserved, as long as the neighbour kept cooperating in at least 1 layer, a condition with probability tending to 1 as the number of layers tends to infinity. This rational is easily extended to focal node change of strategy and the other distributed investment criteria. The bottom line is that degree-degree correlation tends to make individuals’ accumulated payoffs invariant in time. Additionally, having Cooperators been randomly positioned, the chances of an individual A switching strategy under influence of a neighbour B in a layer is equal to chances of symmetrical strategy switch between the same pair of individuals. This leads to the preservation of initial level of cooperation. On the other hand, for unconstrained baseline criteria, contributions of a neighbour in different layers are independent and an exclusive function of neighbour’ strategy in that layer. This suggests baseline not to be so dependent on degree-degree correlation as figure B-2 illustrates. For a fixed intensity of selection, the variation of the level of cooperation versus degree-degree correlation replicates findings in (Kleineberg & Helbing, 2018). Still for baseline criteria and maximum degree-degree cooperation, topological enslavement derives from hub alignment across layers, which provides them a considerable strategy inertia,
117 If we consider equations 4 and 15, the corollary that follows is that in Horand multilayers accumulated payoff variance tends to zero as the number of layers increase. Experimental evidences on first moments of accumulated payoff across a Horand multilayer are depicted Figure C-1- Payoffs Distribution for Horand Multilayer with Investment per Game versus Number of Layers. Networks are built with uncorrelated layers with =1,〈𝑘〉=4,𝐹=1.7, 1000 nodes (𝑁) per layer. . Layers were initialized with half nodes as Cooperators randomly chosen. Results were collected after 100 generations, one generation being equal to number of layers ties 1000 iterations. Two facts are highlighted in the figure: payoff average tends to 𝐹–1 and its variation to zero as the number of layers increase. Although not presented, the extension of this phenomenon to BA multilayers was also noticed. in figure C-1. Having node payoff variance tending to zero has an additional consequence when it comes for a node to consider imitating a neighbour in a given layer with a different strategy: the argument of the exponential in Fermi distribution tends to zero, which allows its expression to be simplified to 𝑃𝑟𝑜𝑏(SA SB)=1 1+ 𝑒−𝛽(𝜋𝐵− 𝜋𝐴)≅12+𝛽4(𝜋𝐵−𝜋𝐴) (16) meaning that with equal probability the strategy of a node is maintained or updated. The probability of a node updating its strategy on a layer depends now only on it and one of its neighbours randomly chosen having different strategies, which depends on the level of cooperation on the layer. Dependency on nodes relative payoff vanishes as the number of layers increases. Up to now homogeneous networks with investment per game criteria were considered, but arguments are extensible to investment per layer criteria as a multilayer with homogeneous
118 networks with degree 〈𝑘〉, 𝛽0 intensity of selection and investment per game criteria behaves exactly the same as if it had investment per layer and 𝛽0/〈𝑘〉 intensity of selection. As all nodes tend to have a similar accumulated payoff and all layers look and behave alike, i.e., they are replicas from the same stochastic model, each generic layer can be mapped to a one dimension random walk alike model with dynamic probabilities of moving either way or staying in the same spot. Figure C-2 plots samples of time series on the evolution of the number of Cooperators for both the average number of Cooperators across a Horand multilayer and the number of Cooperators in individual layers. Figure C-2- Time Series of Evolution of Cooperation Level in 16 Layer Horand Multilayer with Investment distributed per Game. Networks are built with =1,〈k〉=4,F=1.7, 1000 nodes (𝑁) per layer. Layers were initialized with half nodes as Cooperators. On the right side multilayer average number of Cooperators is plot for 5 different runs. On the right side, for a single run, the evolution of the number of Cooperators per layer is plot. Saturation of some layers is noticeable. Once a multilayer is characterized at a particular point in time, its evolution depends exclusively on its status at that point in time being irrelevant the path leading to that status. This fact makes the evolution of the multilayer suitable to be studied as a Markov process in which the past has no influence on the future once the present is specified. Thus, in a Markov process x(t) 𝑃𝑟𝑜𝑏(𝑥(𝑡𝑛) 𝑥𝑛 | 𝑥(𝑡),𝑡 𝑡𝑛−1) = 𝑃𝑟𝑜𝑏(𝑥(𝑡𝑛) 𝑥𝑛 | 𝑥(𝑡𝑛−1)) (17) 𝑥(𝑡) is generically an array with one position per layer. A special sort of Markov process is the Markov chain when the system can be described by a finite or countably infinite set of states such that the future evolution of the process, once it is in a given state, depends only on the present state and not on how it arrived at that state. A Markov chain is a stochastic model that can be described as a set of states, 𝑆 = {𝑠1,…,𝑠𝑛} and a set of events implying transitions
119 between states. The process starts in one of these states and moves successively from one state to another with a probability that is an exclusively function of the former and latter states irrespectively of eventual states visited before. Each move is called a step. If the chain is currently in state 𝑠𝑖, then the probability of moving to state 𝑠𝑗 is given by 𝑝𝑖𝑗. Naturally, ∑𝑝𝑖𝑗𝑗 = 1. A single layer with N nodes can be modelled by a Markov chain where each state is assigned a particular combination of strategies followed by nodes. For a system with N nodes and S strategies there are potentially 𝑁𝑆 different states. A multilayer with M layers can also be represented by a Markov chain, but the number of states skyrockets to 𝑁𝑆𝑀. In order to tackle this complexity and with no loss of generality, a single layer will be addressed instead as representative of the set of all multilayer layers, as all layers are replicas from a single agent-level dynamics reference. Moreover, a mean-field approximation will be used in which the identity of the individual nodes following a particular strategy will not be addressed, but instead only the number of nodes following each strategy will be accounted. With mean field approximation, a scenario where the layer can be divided by a frontier such that on each side of the line all nodes have the same strategy in terms of state representation cannot be distinguished from another one where nodes with different strategies are all randomly mixed. With mean-field representation, because reproduction is modelled via an imitation process, at each step of the process in the layer where imitation happens the number of Cooperators is altered by at most 1 unit. This implies 𝑝𝑖𝑗 = 0 for |𝑖 –𝑗|>1. A state i is called absorbing if 𝑝𝑖𝑗=𝛿𝑖𝑗, i.e., once state i is entered it is exited with probability zero. ALLC and ALLD, i.e., state 1000 and state 0 will be absorbing states. Non-absorbing states are qualified as transient. The graphical representation of the Markov chain derived from mean-field evolution of a single layer is as in figure C-3. This Markov chain corresponds to the one describing the classical stochastic Drunkard’s walk process (or Gambler’s Ruin) (Grinstead & Snell, 1997) Figure C-3- Markov Chain corresponding to Drunkard’s Walk Process
120 with the following differences: the probability of preserving the state is not zero (𝑝𝑖𝑖≠0) and the probabilities of changing state depends on present state. The two absorbing states map to home and bar states in Drunkard’s walk. Corresponding Markov transition matrix as described in 2.1.3 for finite populations, is given by the following expressions: 1 , 𝑖=𝑗=0 1 , 𝑖=𝑗=𝑁 𝑁−𝑖 𝑁 ∗ 𝑖 𝑁−1 ∗ ProbFermi (Sj Si) , 𝑗=𝑖+1 𝐴𝑁𝐷 0<𝑖<𝑁 𝑝𝑖𝑗= 𝑖𝑁 ∗ 𝑁−𝑖 𝑁−1 ∗ ProbFermi (Sj Si) , 𝑗=𝑖−1 𝐴𝑁𝐷 0<𝑖<𝑁 1−p𝑖,𝑖−1−p𝑖,𝑖+1 , 0<𝑖<𝑁 0 , 𝑖=0 𝐴𝑁𝐷 𝑗>0 , 𝑖=𝑁 𝐴𝑁𝐷 𝑗<𝑁 , |𝑗−𝑖|>1 (18) with 𝑃𝑟𝑜𝑏𝐹𝑒𝑟𝑚𝑖(𝑆𝑗 𝑆𝑖) representing the Fermi probability of node i with strategy 𝑆𝑖 copying 𝑆𝑗 strategy from node j. 𝑃𝑟𝑜𝑏𝐹𝑒𝑟𝑚𝑖(𝑆𝑗 𝑆𝑖) is a function of both node i and node j payoffs. As the number of layers increases, all nodes tend to share the same payoff and 𝑃𝑟𝑜𝑏𝐹𝑒𝑟𝑚𝑖(𝑆𝑗 𝑆𝑖) tend to 12. Let us focus on the content of 𝑝𝑖,𝑖+1, the probability of increasing the number of Cooperators. First factor, 𝑁−𝑖 𝑁, reflects the probability of first chosen node being a Defector. Second factor, 𝑖 𝑁−1, accounts for the probability of, given that a Defector has already been chosen, from N – 1 nodes to choose from, next node to select is 1 of i Cooperators available. Clearly here mean-field approach is followed, as the concrete underlying network is not taken into account. Now that nodes selected are suitable for a strategy imitation, all it is lacking is a favourable probability from Fermi distribution. Markov transition matrix mixes absorbing and transient states. For an absorbing Markov chain P and after canonicalization is performed as in 2.1.3, one obtains the fundamental matrix N = ∑𝑄𝑘 +∞ 𝑘=0 = (𝐼−𝑄)−1 for P. The entry 𝑛𝑖𝑗 of N gives the expected number of times that the process reaches the transient state 𝑠𝑗 if it is started in the transient state 𝑠𝑖. This implies that the expected number of steps before the chain is absorbed, given that the chain starts in
121 state 𝑠𝑖, is given by 𝑡𝑖, the i-th element of t column vector t, with 𝑡=𝑁𝑐, where c is a column vector all of whose entries are 1 (Grinstead & Snell, 1997). The probability that Markov chain will evolve to absorbing state 𝑠𝑗 starting from transient sate 𝑠𝑖 is given by 𝑏𝑖𝑗 entry of matrix B resulting from 𝐵=𝑁𝑅. In what follows, Markov chain is applied to a single multilayer average layer with 1000 nodes whose level of cooperation results from the average of Cooperators across all layers. Figure C-4 plots on its left panel the theoretical quasi-stationary distribution for the meanfield approximation of single layer pretending to represent a multilayer with investment distributed per game and a number of layers tending to infinity. This quasi-stationary distribution reflects the probability of each transient state being visited until the multilayer saturates in any of the absorbing states. Considering all states equally probable for multilayer initialization and the ergodicity of the Markov chain, what is plot in left side panel is just ∑𝑛𝑖𝑗𝑖 ∑𝑛𝑖𝑗𝑖𝑗 , where the denominator is just a normalization factor to transform the number of visits in a state into a probability. This corresponds to equally weight each line of the fundamental N matrix, i.e., each possible starting state. The equal probability for all transient states is the highlighting result. Figure C-4- Theoretical results for a Mean-Field approximation of a Layer with Nodes with equal Payoff. Quasi-stationary distribution, number of steps until reaching an absorbing state and probability of reaching each absorbing state are plot for a mean-field approximation of a generic layer pretending to represent a multilayer with investment distributed per game and number of layers tending to infinity Vector t, with fields calculated as 𝑡𝑖=∑𝑛𝑖𝑗𝑗 is depicted in central panel. As expected, the number of steps increases further away from absorbing state initial state is located. Symmetry of the line results from problem symmetry, 𝑝𝑖,𝑗=𝑝𝑁−𝑖,𝑁−𝑗.
122 Finally the right panel depicts normalized bij for final absorbing state j equal to 0 or 1000, i.e., the probability of the system ending up in each of the two absorbing state as a function of starting state. Lines in graph are complementary because in an absorbing Markov chain 𝑄𝑛 0 as the number of steps (n) increases, thus the probability that the process will be absorbed is 1, and 0 and 1000 are the only possible absorbing states. This quasi-stationary distribution uniformity of a generic layer implies an AGoS tending to zero which forces a multilayer to preserve the proportion of Cooperators with which it was initialized. On the other hand, as time unfolds the natural trend is for individual layers to saturate either as ALLC or ALLD. Thus, the initial proportion of Cooperators is reflected in the proportion of layers saturated as ALLC. This layer polarization is of no surprise, because this overall multilayer Drunkard’s walk alike process, having absorbing states of ALLC or ALLD, is doomed to converge to one of them. In this stochastic process, the probability of convergence to ALLC final state equals the proportion of initial Cooperators with which the system was initialized, which justifies why the initial proportion of Cooperators is preserved and why quasi-stationary distribution of states is uniform. In order to compare theoretical and experimentally the influence of initial Cooperator probability in multilayer evolution, a multilayer with 16 layers of BA and Horand networks with investment criteria distributed per game was independently initialized with a variable concentration of Cooperators. Usual enhancement factors were applied. The evaluation was performed both until and at saturation time. The results are depicted in Figure C-5. Focusing on BA multilayer, until saturation, final level of cooperation depends on initial one with almost no dependency on enhancement factor. Would the number of layers increase and this dependency would completely fade away. Additionally, for extreme initial probabilities, a sharp transition in final level of cooperation is noticeable. Considering again a single layer with equal payoffs representative of the multilayer, theoretical value for final level of cooperation results from plotting 𝐸(𝑁𝐶𝑓|𝑁𝐶𝑖), with 𝑁𝐶𝑖 and 𝑁𝐶𝑓 representing, recpectively, initial and final number of Cooperators. Taking into account that generic 𝑛𝑖𝑗 entry from Markov chain fundamental N matrix represents the expected number of times the multilayer will be in state j , given that it starts in state i, one has Prob(𝑁𝐶𝑓=𝑗|𝑁𝐶𝑖=i) = 𝑛𝑖𝑗 ∑𝑛𝑖𝑥 𝑥 (19)
123 𝐸(𝑁𝐶𝑓|𝑁𝐶𝑖=𝑖)=∑𝑗 𝑛𝑖𝑗 ∑𝑛𝑖𝑥𝑥 𝑗 (20) The theoretical result of 𝐸(𝑁𝐶𝑓|𝑁𝐶𝑖=𝑖) is precisely what is plot on the top right panel of the figure. The matching is perfect particularly for extreme initial levels of cooperation. At saturation time the heat map is analogous apart from the fact that final level of cooperation varies linearly with initial one. Against this is as expected and already depicted in right panel of figure C-4. What happens for this BA multilayer as will be illustrated in appendix D when studying its AGoS is that all layers of the multilayer will saturate, some as ALLC; others as ALLD. Moreover, because the naming of the layers is arbitrary and layers are independent, the same layer saturates either as ALLD or ALLC across experiences. Figure C-5- Topological and Criteria Enslavement in Multilayers with 16 Layers, Investment distributed per Game. Both BA and Horand multilayers have 1000 nodes (𝑁) and 〈k〉=4. Former one has = 0.05 and 〈k〉=4, latter one =1.0. Multilayer layers are independent and randomly initialized with a number of Cooperators taken from a discrete random variable in the set 0 to 1000, inclusive. The proportion between the number of layers in different conditions will be such as dictated by initial level of cooperation. Topology and investment criteria enslave the multilayer because its evolution cannot be steered by acting upon enhancement factor. Reasoning on the basis of the Markov chain corresponding to a Drunkard’s walk stochastic process, the single layer the multilayer is mapped to is doomed to end up as either ALLC (𝑁𝐶𝑓=𝑁) or ALLD (𝑁𝐶𝑓=0), The probability of ending up as ALLC is given by the initial proportion of Cooperators in the layer as from the right panel from figure C-4, i.e.,
124 𝑃𝑟𝑜𝑏(𝑁𝐶𝑓=𝑁)=𝑁𝐶𝑖 𝑁 (21) As there are only two outcomes possible, ALLC or ALLD, E(𝑁𝐶𝑓)=𝑁𝑃𝑟𝑜𝑏(𝑁𝐶𝑓=𝑁)+0𝑃𝑟𝑜𝑏(𝑁𝐶𝑓=0)=𝑁𝐶𝑖 (22) which leads one to conclude that final level of cooperation equals initial one. As in fact one has a multilayer instead of a single layer and as all layers saturate, the initial proportion of Cooperator population in the multilayer dictates the percentage of layers that saturate as ALLC, i.e., the final proportion as Cooperators in the system as all the other layers will saturate as ALLD. The Horand multilayer exhibits the same trends as described for BA multilayer but with deviations for small initial levels of cooperation, particularly for small values of enhancement factors. This deviation from the theoretical expectations is not surprising and will be experienced in following figures where it will be explained. Were the number of layers greater or the intensity of selection lower and the agreement between theoretical and experimental results would be better. Considering exclusively multilayers with investment per game criteria, the lines reflecting the way the number of layers, intensity of selection, type of network or enhancement factor modulate the final level of cooperation versus initial are depicted in Figure C-6. The higher Figure C-6- Final Level of Cooperation as a Function of initial One. Each network has 1000 nodes (𝑁), 〈𝑘〉= 4. Investment is distributed per game and layers in the multilayer were initialized with half nodes as Cooperators.
125 the number of layers for a fixed intensity of selection, the closer experimental curve fits theoretical one. Higher values for intensity of selection require high number of levels for experimental lines to better fit theoretical ones. This makes sense because in the exponential argument controlled of the Fermi distribution controlling the probability of strategy imitation an increase in the β value is compensated by a lower payoff variance resulting from a higher number of layers and vice-versa. Higher values of enhancement factors are particularly useful for low initial level of cooperation. Something also expectable as it is essential for the few Cooperators to hold their ground. Theoretical and experimental lines share the same shape but the deviation between them is higher for smaller initial levels of cooperation. This is not surprising because the theoretical model is based on the approximation of a binomial distribution to a Poisson one, which is only valid for great values of (=𝑁𝑝). For smaller values of initial level of cooperation, theoretical model loses validity and so it is senseless to expect an exact match between these lines. Taking as a reference investment distribution per game criteria, for a given type of network, Bara or Horand, the number of layers determines de variance of accumulated payoff between nodes, which dictate the level of topological and criteria enslavement.. For investment distributed per game, Figure C-7 depicts the fact that for a given number of layers, 16 in this particular case, a maximum intensity of selection can be identified below which multilayer evolution is stuck to initial conditions and insensitive to variations in enhancement factor. For Horand networks, the figure shows that up to intensity factors valuing 1 and irrespective of enhancement factor, average level of cooperation does not change from initial values. Were the multilayer initialized with a different value and that same value would Figure C-7- Topological and Criteria Enslavement for 16-layers Multilayer, 1000 nodes (𝑁) per layer. Multilayers are initialized with half Cooperators per layer random and independently selected.
126 be preserved. Moreover, if heat maps corresponding to a different number of layers are depicted, it will be noticeable that the wave front of the colour code corresponding to the initial level of cooperation with which the multilayer was initialized moves rightwards as the number of layers increase. For a distributed investment criteria, heterogeneous networks tend to have a behaviour similar to homogeneous one, but requiring more layers to achieve the same behaviour with the same intensity of selection. For a given network type, investment per layer criteria tends to experience the same behaviour as its investment per layers counterpart, but with a higher number of layers and/or lower intensity of selection. Defining enslavement as the condition of final level of cooperation in a multilayer with investment per game criteria differing in less than 20% from the initial level of 50% with which a multilayer was initialized, whatever the value of enhancement factor 𝐹∈[1,2], Figure C-8 displays the domain of the number of layers versus intensity of selection 𝛽 where enslavement rules. Were the enslavement criteria more demanding against acceptable fluctuation on the final level of cooperation, for the same number of layers a lower intensity of selection would be required. Figure C-8 - Domain of Topological Enslavement for Investment distributed per Game. Shaded areas represent the locus of number of layers l and intensity of selection 𝛽 parameters such that heat map ℎ𝑚𝑙(𝛽,𝐹) displaying the level of cooperation achieved in a multilayer with l layers, initialized with half nodes as Cooperators, investment distributed per game, intensity of selection 𝛽 and enhancement factor F, for a given number of layer 𝛽=max 𝑥|ℎ𝑚𝑙(𝑥,𝐹)−0.5|<0.1,x∈[10−2,10],∀ 𝐹∈[1,2] Node consistency is another possible comparison perspective of confrontation between experimental and theoretical results as depicted in figure C-9. Due to the finite number of layers it must be stressed that experimental consistency evolves by quanta that amount to
133 Appendix E. Multilayers with different Types of Networks In the main body of the document, multilayers were considered of independent layers supported on network instances of a single type. Here we drop second constrain: layers are still independent but need to more to share network type. Figure E-1 presents results collected from a multilayer with half layers as Horand, another half as BA. Figure E-1- Multilayer with 8 layers BA or Horand vs. Mixed Multilayer with 4 layers Horand plus 4 layers BA. Level of cooperation and AGoS for pure 8-layer Horand and BA multilayer are compared with a mixed multilayer with half layers with Horand networks and the other half with BA networks. AGoS lines were calculated for intensity of selection 𝛽=1, enhancement factor 𝐹=1.6 and 1000 (𝑁) nodes per layer. Layers were independently initialized with half individuals as Cooperators or a number of Cooperators given by a random variable uniformly distributed between 0 and 1000, inclusive, depending on the level of cooperation or AGoS being calculated, respectively. Lines for single network type multilayers were recovered from graphics previously traced on document main body. Pure BA multilayers are more cooperative than Horand ones. In particular for enhancement factor 𝐹=1.6 and baseline criteria, Horand only 8-layer multilayer is defective. However, in the mixed scenario and due to contributions to accumulated payoff received from of some BA layers cooperation becomes feasible. As a general rule, the behaviour of the mixed multilayer is positioned somewhere between behaviours of pure ones.
Page | i