cooperation, social norm internalization, and …1 cooperation, social norm internalization, and 2...

25
Cooperation, social norm internalization, and 1 hierarchical societies 2 Pablo Lozano 1,2,* , Sergey Gavrilets 3 , and Angel S´ anchez 1,2,4,5 3 1 Grupo Interdisciplinar de Sistemas Complejos, Departamento de Matem ´ aticas, Universidad Carlos III de Madrid, 4 28911 Legan ´ es, Madrid, Spain 5 2 Unidad Mixta Interdisciplinar de Comportamiento y Complejidad Social (UMICCS), Spain 6 3 Department of Ecology and Evolutionary Biology, Department of Mathematics, National Institute for Mathematical 7 and Biological Synthesis, Center for the Dynamics of Social Complexity, University of Tennessee, Knoxville, TN 8 37996, USA 9 4 Institute for Biocomputation and Physics of Complex Systems (BIFI), University of Zaragoza, 50018 Zaragoza, 10 Spain 11 5 UC3M-Santander Big Data Institute (IBiDat), Universidad Carlos III de Madrid, 28903 Getafe, Madrid, Spain 12 * Corresponding author: [email protected] 13 ABSTRACT 14 Many animal and human societies exhibit hierarchical structures with different degrees of steepness. Some of these societies also show cooperative behavior, where cooperation means working together for a common benefit. However, there is an increasing evidence that rigidly enforced hierarchies lead to a decrease of cooperation in both human and non-human primates. In this work, we address this issue by means of an evolutionary agent-based model that incorporates fights as social interactions governing a dynamic ranking, communal work to produce a public good, and norm internalization, i.e. a process where acting according to a norm becomes a goal in itself. Our model also includes the perception of how much the individual is going to retain from her cooperative behavior in future interactions. The predictions of the model resemble the principal characteristics of human societies. When ranking is unconstrained, we observe a high concentration of agents in low scores, while a few ones climb up the social hierarchy and exploit the rest, with no norm internalization. If ranking is constrained, thus leading to bounded score differences between agents, individual positions in the ranking change more, and the typical structure shows a division of the society in upper and lower classes. In this case, we observe that there is a significant degree of norm internalization, supporting large fractions of the population cooperating in spite of the rank differences. Our main results are robust with respect to the model parameters and to the type of rank constraint. We thus provide a mechanism that can explain how hierarchy arises in initially egalitarian societies while keeping a large degree of cooperation. 15 Introduction 16 In nature, animals often benefit from living in groups due to reduced predation risk and increased availability of mates. At the 17 same time, group living can result in strong competition for critical resources. When unfamiliar individuals find themselves 18 in a group, they can compete violently initially, but then their competition can subdue once stable dominance-subordinate 19 relationships form. Dominance hierarchies are found in many different social animals, including hens, cows, fish, and crabs, 20 rats, primates and insects, especially wasps and bumblebees. 19 Among different dominance patterns, the most typical structure 21 is a linear hierarchy known as a classical pecking order 10, 11 . Linear hierarchies are formed both in nature and laboratory in a 22 vast range of species, including humans. Two main hypotheses have been proposed to explain linear hierarchies: they arise 23 from differences in the intrinsic attributes of animals, or they result from the dynamics of social interaction. 1, 1214 Several 24 mathematical models, 1521 suggest that dominance orders in animal societies could indeed result from a self-organizing process 25 through a double reinforcement mechanism: winners increase their probability of winning, and losers theirs of losing. In 26 addition, some agent-based models 22, 23 have shown that as the intensity of aggression increases, the double reinforcement 27 mechanism may cause an egalitarian society to change into a despotic one. Relevant works in this context also include the 28 papers by Ben-Naim & Redner 24, 25 and by Bonabeau et al. 15, 26, 27 to which we will come back below. 29 Social structure, whether it results from dominance interactions or from any other mechanism, has a strong impact on the 30 cooperative behavior of individuals. 2837 For our present purposes, we understand cooperation as working together to achieve a 31 common goal or obtain some benefit. 37, 38 Note that we do not restrict ourselves to social dilemma situations, in so far as working 32 together might be more beneficial than doing it alone, and our results are therefore quite general. In the case of nonhuman 33 primates, the characteristics of dominance hierarchies strongly affect cooperative outcomes, with steep hierarchies generally 34

Upload: others

Post on 21-Aug-2020

22 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

Cooperation, social norm internalization, and1

hierarchical societies2

Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez1,2,4,53

1Grupo Interdisciplinar de Sistemas Complejos, Departamento de Matematicas, Universidad Carlos III de Madrid,4

28911 Leganes, Madrid, Spain5

2Unidad Mixta Interdisciplinar de Comportamiento y Complejidad Social (UMICCS), Spain6

3Department of Ecology and Evolutionary Biology, Department of Mathematics, National Institute for Mathematical7

and Biological Synthesis, Center for the Dynamics of Social Complexity, University of Tennessee, Knoxville, TN8

37996, USA9

4Institute for Biocomputation and Physics of Complex Systems (BIFI), University of Zaragoza, 50018 Zaragoza,10

Spain11

5UC3M-Santander Big Data Institute (IBiDat), Universidad Carlos III de Madrid, 28903 Getafe, Madrid, Spain12

*Corresponding author: [email protected]

ABSTRACT14

Many animal and human societies exhibit hierarchical structures with different degrees of steepness. Some of these societiesalso show cooperative behavior, where cooperation means working together for a common benefit. However, there is anincreasing evidence that rigidly enforced hierarchies lead to a decrease of cooperation in both human and non-human primates.In this work, we address this issue by means of an evolutionary agent-based model that incorporates fights as social interactionsgoverning a dynamic ranking, communal work to produce a public good, and norm internalization, i.e. a process where actingaccording to a norm becomes a goal in itself. Our model also includes the perception of how much the individual is going toretain from her cooperative behavior in future interactions. The predictions of the model resemble the principal characteristicsof human societies. When ranking is unconstrained, we observe a high concentration of agents in low scores, while a few onesclimb up the social hierarchy and exploit the rest, with no norm internalization. If ranking is constrained, thus leading to boundedscore differences between agents, individual positions in the ranking change more, and the typical structure shows a divisionof the society in upper and lower classes. In this case, we observe that there is a significant degree of norm internalization,supporting large fractions of the population cooperating in spite of the rank differences. Our main results are robust with respectto the model parameters and to the type of rank constraint. We thus provide a mechanism that can explain how hierarchyarises in initially egalitarian societies while keeping a large degree of cooperation.

15

Introduction16

In nature, animals often benefit from living in groups due to reduced predation risk and increased availability of mates. At the17

same time, group living can result in strong competition for critical resources. When unfamiliar individuals find themselves18

in a group, they can compete violently initially, but then their competition can subdue once stable dominance-subordinate19

relationships form. Dominance hierarchies are found in many different social animals, including hens, cows, fish, and crabs,20

rats, primates and insects, especially wasps and bumblebees.1–9 Among different dominance patterns, the most typical structure21

is a linear hierarchy known as a classical pecking order10, 11. Linear hierarchies are formed both in nature and laboratory in a22

vast range of species, including humans. Two main hypotheses have been proposed to explain linear hierarchies: they arise23

from differences in the intrinsic attributes of animals, or they result from the dynamics of social interaction.1, 12–14 Several24

mathematical models,15–21 suggest that dominance orders in animal societies could indeed result from a self-organizing process25

through a double reinforcement mechanism: winners increase their probability of winning, and losers theirs of losing. In26

addition, some agent-based models22, 23 have shown that as the intensity of aggression increases, the double reinforcement27

mechanism may cause an egalitarian society to change into a despotic one. Relevant works in this context also include the28

papers by Ben-Naim & Redner24, 25 and by Bonabeau et al.15, 26, 27 to which we will come back below.29

Social structure, whether it results from dominance interactions or from any other mechanism, has a strong impact on the30

cooperative behavior of individuals.28–37 For our present purposes, we understand cooperation as working together to achieve a31

common goal or obtain some benefit.37, 38 Note that we do not restrict ourselves to social dilemma situations, in so far as working32

together might be more beneficial than doing it alone, and our results are therefore quite general. In the case of nonhuman33

primates, the characteristics of dominance hierarchies strongly affect cooperative outcomes, with steep hierarchies generally34

Page 2: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

n Group sizeG Number of groups

S = nG Number of individuals in the societyT Number of rounds the whole society lastsQ Rounds that every generation lastse Error rate of optimizationv How much the cooperation is valued in the utility functionxi Dichotomous variable: i-th individual’s cooperation in collective actionri Discrete variable: i-th individual’s scoreηi Ability of the i-th individual to internalize the normµ Probability to revise the strategy

πCA Resource from the collective actionπ∗ Accumulated resourcescopt Cost of optimizing the payoffs in the utility functioncint Cost of internalizing the norm in the utility function

Table 1. Variables, parameters and attributes of the model and their meanings.

reducing cooperation. For example, in chimpanzees, known to live in basically linear hierarchies, cooperation is weak33, 3935

while species with more relaxed hierarchies, such as cottontop tamarins, are much more cooperative.32, 33, 35 Much less is known36

about the interplay of hierarchical structure and cooperative behavior in humans, but there is an experimental evidence that steep37

hierarchies also result in lower cooperation40 and that less steep hierarchies preserve it.41 Other theoretical analyses have shown38

that dominant individuals (e.g., leaders with higher motivation or strength) can act seemingly altruistically in between-group39

conflicts — expending more effort and having lower reproductive success — than their subordinate group-mates.42–45 In this40

context, an open question is how can large-scale cooperative societies arise if a strong hierarchical structure is present and41

sustained by physical or economic interactions.42

A crucial point in the discussion above is the fact that human behavior is more complex than animal behavior. Part of43

this complexity is that human behavior is affected by norms and values that are transmitted culturally. A social norm is a set44

of behaviors that one is expected to follow in a specific context, and expects others to follow in a given social situation.46, 4745

Social norms can play a fundamental role to coordinate aspects of social behavior, but they arise and evolve as a result of46

individual behaviors, expectations, and interactions with others.48, 49 Thus, humans learn the expected behavior for each47

specific context—which means they act according to prevalent norms—from sources such as family, via education and religion,48

information sources including media or books, and from interaction with and observation of others. In some cases, norms49

become internalized: they are then an end in themselves instead of a tool to simplify tasks or help in choosing the proper50

behavior to avoid social punishment. This internalization process is reminiscent of imitation and imprinting, that has been51

observed, e.g., in species of birds and mammals.50 Adherence to the associated norms and the corresponding behavior are52

subsequently reinforced by approval from others, rewards, and punishment when one fails to follow the norm.53

In this paper, we study a model with two stages: first individuals attempt to solve a collective action problem and then54

they engage in dyadic conflicts over shares of the collectively produced resource. These dyadic fights, in turn, modify the55

dominance rank of the involved individuals and, as a consequence, their future decisions. Norm internalization is included56

in the picture through a function that individuals optimize when choosing their behavior, and evolves through differential57

reproduction according to payoffs received. Our model can be understood as a combination of the ideas on norm internalization58

and collective action in Refs. 48, 49 with the double reinforcement mechanism in Ref. 25. As we discuss in detail below, we59

have found that the interplay of these two features gives rise to cooperative, hierarchical societies starting from an egalitarian60

situation.61

Model62

Model setup63

Our model considers of S individuals living in groups of constant size n (a summary of the model parameters and attributes64

can be found in Table 1). Each individual can interact only with other individuals in her group. Generations are discrete and65

non-overlapping, and consist of Q rounds with three stages: collective action, fights over resources, and strategy revision.66

Reproduction takes place at the end of each generation. Every individual has a series of attributes that can evolve over time:67

• An attribute which measures the score (position in the social scale): rk ∈ Z.68

2/14

Page 3: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

• A binary attribute xi, 0 or 1, indicating whether the individual cooperates or not in the collective action.69

• An attribute which measures norm internalization: η ∈R, with 0≤ η ≤ 1, where the norm is to cooperate in the collective70

action. ¡Let us note that this attribute is a property of the individual, and that in general it differs from one individual to71

the next. In contrast with the previous two parameters, this one does not change during the evolution of an individual,72

being modified only at the reproduction phase as discussed below.73

At the beginning of the simulations, the binary attribute x, describing the first decision of the individual, is randomly selected74

0 or 1 with a 50% probability. Hence, the mean value for the cooperation at the beginning of each round is 0.5. The initial75

values for η , the sensitivity to the norm, follow a uniform random distribution between 0 and 0.05, implying very little norm76

internalization at the beginning of the simulation. Scores are all set to 0 at the beginning of the simulation, so all individuals are77

equal. Let us know go in detail through the steps of the model dynamics.78

Evolution79

Model evolution consists of collective action, fights, computation of the utility function for the individuals, subsequent revision80

of strategies, computation of fitness and reproduction (see Figure 1).81

Figure 1. Model flow.

Collective action82

In this stage, each individual cooperates or not in the collective action to obtain a resource. When cooperating (xi = 1), eachindividual makes an effort spending an amount c of accumulated payoffs. The aggregated resource obtained from all theindividuals’ efforts is multiplied by a factor b and then shared equally among all group members, irrespective of whether theyhave collaborated or not. The payoff from the collective action for each individual k is calculated as

π(k)CA = bP(X)− cx.

The function P(X) gives the normalized value of the resource: P(X) = X/X , where X is the total effort of the group to which83

the individual belongs to, and X the mean effort of cooperation over all groups, while b is the multiplier of the collective effort84

and c is the cost of cooperating. This is the first ingredient of the model we take from Ref. 48.85

Fights86

In this second stage, dyadic conflicts may occur among randomly chosen individuals from the same group. In these conflicts,87

the contestants attempt to take each others’ share of the resource. We assume that the individual whose score is higher wins the88

fight 90% of the times, otherwise she loses. While this may seem a very extreme choice, we stress that we have tried other89

possibilities, including making the probability of a win dependent on the rank difference with very similar results. We decided90

to keep this simple choice for computational speed and convenience. For every individual and every round, we pick an opponent91

at random from the rest of the group the agent belongs to. In this manner, on average every agent is in two fights per rounds, is92

in at least one fight, and can be in up to n−1 fights. The winner increases her score by one unit and takes the loser’s last payoff93

from the collective action(

π(winner)CA = π

(winner)CA +π

(loser)CA

), while the loser’s score decreases by one unit and she loses her last94

payoff(

π(loser)CA = 0

). Payoffs after every round are accumulated, so each agent has an amount of resource π∗, which accounts95

for all the payoffs that the agent manages to keep along with her history. In this manner, πCA is used in the strategy update96

process, and π∗ is taken into account in the evolutionary process afterward. Note that there is no hierarchy between groups:97

groups provide a setup for collective action and for an additional component of fitness via group selection.98

3/14

Page 4: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

Utility function and norm internalization99

We introduce a continuous norm internalization attribute, η , genetically controlled by a single locus with a continuum ofalleles.48 The attribute η is constant over the individual’s life and changes only through random mutations during reproduction.With this attribute, the utility function uη for the i-th individual is computed as

u(i)η (xi) = (1−ηi)F(ri)π(i)+ vηixi,

where π(i) is the expected payoff for the i-th individual, computed via myopic optimization. The utility function thus has two100

components: a purely material contribution, the first term in the equation above, and another one that arises from the satisfaction101

of the individual with her behavior through a norm internalization process. When η = 0, the individual is undersocialized and102

only wants to maximize her payoff from the collective action, not caring about the norm. If 0 < η < 1, following the norm103

will be a part of the individual’s preference, contributing to the individual’s utility along with the payoff. Individuals with104

η = 1 will be oversocialized, do not care about their material payoff, their utility arising simply from following the norm.105

The parameter v defines the maximum value of cooperating. So far, this is the same as the utility function of Ref. 48. For the106

purposes of the present paper, we introduce an additional, conflict-related ingredient, namely a function F . Specifically, we107

assume that individuals are aware of their rank in the group and about the possibility of future fights. In this case, low-rank108

individuals are expected to discount their future resource because they might lose it to stronger individuals. That is, we assume109

that individuals are capable of certain foresight44, 45. This is captured in a heuristic way by function F(r) = 1/(1+ exp(−γr)),110

where r is the score of the individual and γ is a parameter controlling the steepness of the curve (we will set γ = 0.5). Function111

F thus changes between 0 and 1. It can also be viewed as capturing relative differences in valuation of the collective goods by112

individuals of different rank42, 43.113

Strategy revision114

After the collective action stage, each individual can revise her strategy with probability µ , which measures the speed of the115

evolution. The approach we have chosen is to optimize the utility function via myopic optimization, i.e., pondering different116

possible actions while keeping all others’ decisions the same as in the previous round. In case an individual does revise her117

strategy, with probability 1− e an action x will be chosen such that uη is maximum. Otherwise, a random selection of x is118

selected with probability e.119

Fitness120

In this stage, the i-th individual’s fitness, wi, is defined by setting wi = 1+π∗/Qgen− copt(1−η)− cintη . Here, π∗ denotes the121

accumulated payoffs, π∗ = ∑ j πCA, j +∆ j, the sum running over all rounds, with ∆ j being the the quantities earned or lost in122

each round j. The parameter copt measures the cost of optimizing the payoffs instead of following the norm, and cint measures123

the cost of internalizing the norm.124

Reproduction125

Finally, reproduction is implemented proportionally to the individual’s fitness and the group’s collective effort. Each new126

group in the next generation will be descendant of one of the previous with probability proportional to the collective effort127

of the group, P, across Q rounds. Within each group, n parents will be chosen with probability proportional to their fitness,128

yielding n descendants. One individual can be chosen multiples times to yield descendants. Each descendant is subject to a129

random mutation on the attribute η . Offspring production is followed by random dispersal of half of the offspring, interpreted130

as females. The strategy revision, fitness, and reproduction steps, which are the ones introducing evolutionary dynamics in the131

individuals’ behavior, are taken from reference 48.132

133

In summary, our model combines the idea of fights feeding back into a hierarchical structure from Refs. 15, 25 with the134

participation in cooperative tasks and the possibility of social norm internalization from Refs. 42, 48, from where we have also135

taken the evolutionary dynamics for our simulations. We now turn to the discussion of the insights gained with this proposal on136

the arising of cooperative, structured societies.137

Results138

In the following, we present the results of agent-based simulations of our model. We have considered two types of scores: one139

in which they can take any value, and another one in which they are restricted within an interval of integer values. Below we140

discuss the main features of our model, namely the final distributions for the scores, the payoffs and their relationship with the141

scores, the amount of cooperators, and the norm internalization process. Given the large number of parameters of the model,142

we vary those that are more relevant to our research question, keeping the rest unchanged. Specifically, the parameters we keep143

constant are the following: T = 10000, Q = 40, G = 500, e = 10%, b = 1, c = 1, v = 1 and µ = 75%, and copt = cint = 0.1.144

We choose similar parameters to those from Ref. 48 to be able to compare the results of both models as needed.145

4/14

Page 5: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

Unconstrained model146

In the unconstrained model an individual’s score can increase and decrease without any restrictions, without upper and lower147

bounds for r. If we identify the score with somewhat similar to a physical force, this is a somewhat unrealistic situation, but it148

will allow us to gain some first insights on the outcome of our simulations.149

Figure 2 presents results for small groups (n= 8), aggregating over all groups. The score distribution is (almost) symmetrical150

with respect to r = 0, whereas the higher the score, the higher the accumulated payoffs. For negative scores, the dependence of151

the payoff on the score is weaker, but for positive scores, payoffs increase rapidly with score, as can be seen from the plot.152

Thus, individuals are more or less evenly distributed among scores, but half of the population, those with negative scores, have153

significantly fewer payoffs than the rest: As can be seen, the highest-ranked individuals may have substantial payoff differences154

among them, whereas the lowest-ranked individuals have more homogeneous payoffs and similar to those with r = 0. The155

reason for this is that individuals who won in the first rounds saw their scores increased, while those who lost were relegated to156

negative scores. These fundamental differences are subsequently amplified by the positive feedback loop a la Bonabeau,15157

leading to a ranking of agents with positions stable in time, i.e., there is no social mobility at all. Hence, subsequent evolution158

does not affect the score distribution, but does affect payoffs: Individuals with larger scores have been winning many fights, and159

as a consequence, they have accumulated more payoff.160

Figure 2. Simulations for unconstrained scores, small groups (n = 8). Top left: histograms of scores aggregated over allgroups. Blue indicates free riders (that do not follow the norm of cooperating), red indicates norm followers (cooperators). Topright: payoff as a function of the score. Line is the result of a linear regression. Bottom left: average fraction of cooperators asa function of time. Bottom right: average value of the norm internalization attribute as a function of time.

Having seen that the fight mechanism does lead to a stable hierarchical structure in the society correlated with payoffs, we161

can now focus on our main question, namely the interplay of hierarchy, cooperativeness, and social norm internalization. In162

Fig. 2 we can observe that the cooperation value per round is around 50%, with the other half of the population defecting in the163

collective action. This can be interpreted as half of the population being oppressed by the other half: exploited individuals164

(those with negative scores) cooperate in the collective action and those exploiting them (having positive scores) reap their165

payoffs. Indeed, low ranked individuals, with a very slim chance to defeat higher ranked ones, must cooperate to get some166

payoff, which they keep when they are not picked for a fight and defeated. This agrees with the results in the score histogram,167

5/14

Page 6: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

where we observe that the top half part of the population is the one not cooperating (not following the norm, choosing x = 0)168

and the bottom half is the one contributing to the collective action (following the norm, x = 1). In addition, there is very little169

internalization of the norm, mostly because those who might be better off by internalizing the norm in their utility function170

have very low fitness and practically never reproduce. Of course, a few lower-ranked individuals do show norm internalization,171

with values around η = 0.3, but these are clearly not the general case.172

The aggregate results we have just discussed describe well the evolution of individual groups. Section S1 in the SI shows173

examples of simulation results for individual groups. In brief, what we observe is that the division in high-ranked agents that do174

not follow the norm and low-ranked agents that do takes place in most groups, albeit subject to a degree of noise as sometimes,175

for instance, there is an agent that is high-ranked and follows the norm (cf. Fig. S1b). In any event, the fraction of mismatched176

agents is always low. Similarly, the correlation between score and payoff applies at each individual group, with a small degree177

of noise. At the same time, agents with more probability to reproduce and pass offspring to the next generation are those with178

higher scores (cf. Figs. S5 and S6). We can thus be confident that the aggregate results are a good picture of what happens in179

individual groups, which are the units whose social structure is relevant.180

For larger groups, namely n = 24, there are two main differences with the results reported so far: First, the score distribution181

changes and, second, the average cooperation level follows a different behavior. Regarding the aggregate score distribution, for182

groups with 24 individuals, we cannot say that the scores are evenly distributed as before. The distribution is more similar to183

a Gaussian, with many agents in the middle zone and only a few of them with extreme (positive or negative values). This is184

probably due to the length of the lifetime of the group, which is the time scores have to evolve. Having more individuals means185

that more fights would be needed to organize them in a more linear form. As for the cooperation level, at every generation it186

increases from the initial random level at 50% up to ∼ 90%, and then decreases to the initial value, around 50%, jumping again187

at the next restart of the population as the ranking between agents sets in. There are no changes regarding the internalization188

level of the norm, which is similar to the previous case and for similar reasons, as well as with respect to the relationship189

between the payoffs and the scores. Therefore, our main conclusion is that also in larger groups there is no promotion of190

cooperation and the norm does not become internalized. On the other hand, as with small groups, results for individual groups191

are very similar to those reported for the aggregate, cf. Figs. S2, S4 and S6 in the SI.192

6/14

Page 7: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

(b) Payoffs per position in society

Figure 3. Simulations for exogenously constrained scores, small groups (n = 8). Top left: histograms of scores aggregatedover all groups. Blue indicates free riders (that do not follow the norm of cooperating), red indicates norm followers(cooperators). Top right: payoff as a function of the score. Line is the result of a linear regression. Bottom left: average fractionof cooperators as a function of time. Bottom right: average value of the norm internalization attribute as a function of time.

Exogenously constrained model193

In this section, we consider a slightly more realistic version of our model, in which scores are restricted to the interval [0,n], n194

being the group size. This constraint is imposed externally, hence the name ‘exogenously constrained’; we will consider below195

another variant of the model in which scores decay with time resulting in an endogenous constraint of their values. As we will196

see, constraining scores gives rise to significant changes with respect to the unconstrained version.197

Figure 3 shows the score distribution, in which the majority of individuals end up in the maximum and the minimum, with198

few agents occupying intermediate scores. This occurs because as the system evolves, fights won (respectively, lost) feedback199

on score, leading to higher (respectively, lower) scores, pushing individuals to the maximum (respectively, minimum) possible200

values. On the other hand, having many individuals in the lowest and highest rankings leads to a much lower impact of score on201

payoffs, as shown in Fig. 3, where no significant relationship between score position and payoff is observed. The reason for202

this is that at both extremes of the hierarchy there are many individuals with the same score, and fights between them lead to203

random results. This is in stark contrast with the unconstrained case, where the large differences in score decided practically204

every fight and induced a correlation with payoffs.205

As can be seen from Fig. 3, cooperation level starts at around 50%, the initial random assignment of cooperation-defection206

in each new generation, and rapidly increases a high value. Subsequently, it oscillates between 70% and 90%. It is important to207

note that the inset of the plot corresponds to the last 1000 rounds of evolution, where the mean value of the norm has reached a208

value around 0.4. as also shown in Fig. 3. Indeed, contrary to the unconstrained model, we find that the norm is internalized to209

a high value, thus increasing the cooperation level to high values. At the level of individual groups, we observe that the small210

fraction of individuals who do not follow the norm can be anywhere in the hierarchy, most likely because their small number211

makes them not very relevant in terms of the dynamics of the society.212

For the exogenously constrained model, when we go down to the level of individual groups, there is a larger variability in213

behaviors, still within the same overall picture. There may be low-ranked agents who do not cooperate or, on the contrary,214

7/14

Page 8: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

cooperative agents with the highest rank, cf. Figs. S7 (a) and (b) in the SI. The most important point to notice with respect215

to the individual groups of size n = 8 is that agents have a fitness distribution that is not correlated with their position in the216

hierarchy (cf. Fig. S11). This arises because the limits to the scores allow for larger mobility of the agents within the scores:217

high-ranked agents at one time may become low-ranked after a few, unlucky rounds. We have confirmed that this is indeed the218

case by checking the evolution in time of the scores (cf. representative examples in Figs. S13a). In turn, the fact that agents219

spend time in low scores leads to an increase of the norm internalization attribute, as we have observed in the aggregate. We220

believe that this mobility is the reason for the increased cooperation and norm internalization found in the aggregate (cf. Fig. 3).221

Indeed, as agents spend part of the lifetime of their group in lower scores, they generally cooperate and their degree of norm222

internalization increases. Subsequently, the small differences in payoff between higher-ranked and lower-ranked agents makes223

them reproduce with similar frequencies, allowing for the norm to continue internalizing in the next generation.224

As with the unconstrained model, the outcome of the simulations changes again when the group size increases. This is225

shown in Fig.4, where it can be noticed that the score distribution is similar to the previous case, with an even more bimodal226

character, but now the payoff distribution is more clearly dependent on the score, most likely due to the fact that there are more227

individuals and the range of possible scores is larger. The fact that now the payoffs depend more on the score leads to a situation228

with less cooperation and less norm internalization: Indeed, cooperation tends to the same values as in the unconstrained229

model: the dynamics follows the same pattern as in the case of small groups, but now the decay in each generation reaches230

values close to 50%. We also observe that the norm internalization achieves lower values, though still more significant than231

in the constrained model. This change has another consequence, namely that we go back to a situation in which high ranked232

individuals do not follow the norm while low ranked ones do as in the case of the unconstrained model. For the case of large,233

individual groups, the phenomenon of mobility within scores is quite less marked, mostly because now agents can have a larger234

range of scores, in agreement with the fact that there is less norm internalization and higher dependence of the payoff on the235

scores.236

Endogenously constrained model237

For the sake of making our model more realistic, we now consider another version in which scores decrease following a certain238

rule. While this decay does not impose any hard bound to the score values, it effectively leads to a constrained range for239

them, hence the name ‘endogenously constrained’ model. This version consists of the same stages as before (collective action,240

conflicts, and reproduction) plus an additional one, the time evolution of the scores, which obeys the following dynamics:241

rt+1 = (1−λ )rt +∆r, with 0≤ λ ≤ 1, rounding rt+1 to the closest integer value. This rule implies that, in the absence of any242

interaction, scores decrease to a fraction of their initial value ((1−λ )rt), whereas the results of the fights affect them through243

the term (∆r). Consistently with the previous versions of our model, we set ∆r =±1, depending on whether an individual wins,244

+1, or loses, −1, a fight. This update rule can be interpreted as follows: when the value of λ is low, the next competitive score245

will be close to the previous one, and the benefits of scaling in the ranking by increasing one’s score through fighting last longer.246

When the value of λ is high, every new score will be closer to r = 0, making the society more egalitarian every round and247

strongly limiting the score benefits in time. Thus, we have a new parameter λ , whose effect we consider below.248

8/14

Page 9: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

Figure 4. Simulations for exogenously constrained scores, large groups (n = 24). Top left: histograms of scores aggregatedover all groups. Blue indicates free riders (that do not follow the norm of cooperating), red indicates norm followers(cooperators). Top right: payoff as a function of the score. Line is the result of a linear regression. Bottom left: average fractionof cooperators as a function of time. Bottom right: average value of the norm internalization attribute as a function of time.

Figure 5 collects the results for the endogenously constrained model in small groups, showing that, as we have just discussed,249

the higher λ the more egalitarian the society, to the point that for λ = 0.75 only three different scores exist. The structure of the250

society is different from that of the exogenously constrained model, in the sense that now we observe that most individuals251

concentrate in intermediate scores and only a few of them have extreme (positive or negative) values. At the same time,252

cooperation grows with λ , reaching almost full cooperation for λ = 0.5 and higher. The differences in payoff are large for small253

λ , whereas upon increasing λ the influence of the score on the payoffs becomes very limited. As regards norm internalization,254

it increases with λ , as can be seen in Fig. 5: internalization is higher for larger values of λ , reaching values similar to those of255

the exogenously constrained model. We believe that these results arise from the fact for such limited range of scores they are256

no longer decisive to decide the outcome of the fights. In this model, most agents have zero score, particularly for large λ ,257

and therefore fights are not so relevant anymore, as most participants randomly win half of them. This is in contrast with the258

exogenously constrained model, where agents are concentrated in the minimum and maximum values, and they win every fight259

with the lower half of the population.260

The changes in the results when group size increases up to n = 24 can be seen in figure 6. While the distribution of scores261

is very similar to the case of small groups, the dependence of payoffs on scores is essentially the same as before. As for the262

behavior concerning norm internalization, it is the opposite to the one observed in figure 5: when λ increases, the attribute η is263

less internalized. At the same time, the cooperation level is very high for all values of λ . We believe that for large groups, the264

large λ results are comparable to those in Ref. 48. Given that most individuals are equal, fights become statistically irrelevant,265

and therefore the situation is similar to that model, with no fights and no punishment. Thus, in agreement with this previous266

work, we see very little norm internalization for large groups with endogenously constrained scores. The results from the267

individual groups (cf. Figs. S15 and S16 in the SI) agree in general with this picture; the fact that the mobility between ranks is268

somewhat lower for larger groups (cf. Figs. S17 and S18) may also be another reason for the smaller norm internalization in269

that case.270

9/14

Page 10: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

Figure 5. Top to bottom: Histograms of scores aggregated over all groups; blue indicates free riders (that do not follow thenorm of cooperating), red indicates norm followers (cooperators). Payoff as a function of the score; line is the result of a linearregression. Final distributions of scores for different values of λ . Internalization attribute evolution for different values of λ .Left to right, λ = 0.1,0.25,0.5 and 0.75.

Discussion271

In this paper, we have introduced an agent-based model showing how a hierarchical structure may emerge in a population272

of initially egalitarian individuals, and how this structure affects within-group cooperation. As we have seen, the emergence273

of hierarchies is a robust feature of the model observed in both versions we considered in our research: unconstrained or274

constrained scores, and both for small or large groups. The specific score structure and other features of the model do depend275

on the version of interest. Thus, when score values are unconstrained, leading to substantial, time-independent probabilities of276

winning (or losing) fights, payoffs and ranking are very correlated: the higher the score, the larger the payoffs, for small and277

large groups, which is a characteristic of hierarchical structures. Cooperation is limited to lowest score individuals, and about278

half of the individuals cooperate. This takes place without any internalization of the norm whatsoever and arises because of279

purely material interest, i.e., agents try to maximize their payoff by generating resources even if they might be robbed via fights.280

10/14

Page 11: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

Figure 6. Simulation results for large groups, n = 24. Top to bottom: Histograms of scores aggregated over all groups; blueindicates free riders (that do not follow the norm of cooperating), red indicates norm followers (cooperators). Payoff as afunction of the score; line is the result of a linear regression. Final distributions of scores for different values of λ .Internalization attribute evolution for different values of λ . Left to right, λ = 0.1,0.25,0.5 and 0.75.

On the other hand, when we impose an external constraint on the scores, avoiding indefinite growth of fight capability,281

society becomes structured, polarized, in fact, with most individuals being either at the top or the bottom of the ranking. This282

structure turns out to be compatible with high cooperation levels. However, contrary to the unconstrained model, in this case,283

cooperation takes place via norm internalization. It is also observed that the degree of norm internalization is smaller for larger284

groups, and in this case, it is internalized mostly by lowest-ranked individuals. In this society, individuals experience rapid285

transitions between scores: when they go down in the hierarchy, they cooperate because the individuals who are higher than286

them in the hierarchy can take the payoffs from them, and they cannot reciprocate. In turn, this leads to norm internalization287

when individuals experience a phase of having low scores. Interestingly, an interpretation of these results is that this dynamical288

hierarchy can play the role of the punishment phase in Ref. 48.289

We have also introduced the possibility that constraints arise endogenously, decaying when individuals do not fight. In290

this case, norm internalization takes place also for small groups, and it is not an artifact of the arbitrarily imposed limits. The291

structure of the society is different in this case, with a large fraction of the population living in the region of intermediate scores.292

In the case of larger groups, this makes fights practically irrelevant, as many individuals win or lose them 50% of the times,293

11/14

Page 12: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

making the model comparable to that studied in Ref. 48, where the norm did not internalize for large groups.294

Generally speaking, all three versions of the model produce hierarchical structures in small groups, but only when scores295

are constrained, be it exogenously or endogenously, there is a sizable degree of norm internalization. As was the case in Ref. 48296

(in the so called us-vs-them situation, competition between groups) larger groups pose more difficulties to norm internalization,297

although in the case of the exogenously constrained model this occurs to a lesser extent. Therefore, the main conclusion we298

can draw from our models is that it is possible to observe a transition from an egalitarian society—with all individuals ranked299

equally—to another one where there is a hierarchy, but, at the same time, there are high levels of cooperation. We want to stress300

that this does not occur only for a very restricted set of parameters and attributes, but coexistence of cooperation and hierarchy301

arises in a wide range of values. Thus, we varied the group sizes (n = 8,16,24), the multiplier of the collective effort (b = 2,4),302

the value of cooperation of the utility function (ν = 1,1.5), the probability that the winner of the fights is the one with the303

higher rank (0.9,0.75,0.5), including changing the dependence of the probability on the rank, the probability to revise the304

strategy (µ = 0.9,0.75,0.5), and the error rate of optimization (e = 0.1,0.25,0.5). Finally, we also studied different choices for305

the decay parameter in the endogenously constrained model (λ = 0.1,0.25,0.4,0.5,0.75,0.8), and the cost of optimizing the306

payoffs and the cost of internalizing the norm (copt = cint = 0.1,0.25). The number of parameters makes it very cumbersome to307

carry out a full sensitivity analysis, but we believe that these checks allows us to be confident that the outcome of the model is308

very general and not strongly dependent on the parameters.309

Our finding that hierarchy can arise in a cooperative society is in contrast with the experimental observation that hierarchy310

might be detrimental for cooperation in Ref. 40, but consistent with the fact that cooperation may be compatible with rankings311

arising from cooperative action41. Interestingly, the main difference between the nature of fights in our model and in Ref. 40312

is the lack of feedback from fights to hierarchy in the latter: experiments were carried with a fixed score assigned to each313

individual. This strongly suggests that a key feature behind the coexistence of hierarchy and cooperation may be the dynamic314

character of the score. Besides, at least for small groups with a realistic (constrained) ranking system, this may require an315

additional ingredient, namely the possibility of internalizing a norm that favors cooperativeness. In this respect, our model is316

aligned with recent work51 showing that societies developed in regions where agriculture—i.e., solving the collective action317

problem—was practiced for longer, providing more time for norms to emerge, and conflicts were more intense creating a318

stronger selection pressure. Further research is needed to assess appropriately the mechanisms allowing cooperation in strongly319

hierarchical societies, and we hope that this paper stimulates such research.320

Acknowledgments321

This research has been partially supported by Ministerio de Ciencia, Innovacion y Universidades/FEDER (Spain/UE) through322

grant PGC2018-098186-B-I00 (BASIC). P.L. acknowledges a fellowship from Universidad Carlos III de Madrid for a research323

stay at the University of Knoxville. SG was supported by the U. S. Army Research Office grants W911NF-14-1-0637 and324

W911NF-18-1-0138 and the Office of Naval Research grant W911NF-17-1-0150, the National Institute for Mathematical and325

Biological Synthesis through NSF Award #EF-0830858, and by the University of Tennessee, Knoxville.326

References327

1. Guhl, A. M. Social stability and social inertia in chickens. Anim. Behav. 16, 219–232 (1968).328

2. Barton, E. P., Donaldson, S. L., Ross, M. A. & Albright, J. L. Social rank and social index as related to age, body weight329

and milk production in dairy cows. Proc. Ind. Acad. Sci. 83, 473–477 (1974).330

3. Wilson, E. O. Sociobiology: The New Synthesis (Cambridge, MA: Harvard University Press, 1975).331

4. Jachowsky, R. L. Agonistic behaviour of the blue crab, Callinectes sapidus Rathbun. Behav. 50, 232–253 (1974).332

5. Van de Poll, N. E., Jonge, F. D., Oyen, H. G. V. & Pett, J. V. Aggressive behaviour in rats: effects of winning and losing on333

subsequent aggressive interactions. Behav. Process. 7, 143–155 (1982).334

6. Thierry, B. Patterns of agonistic interactions in three species of macaque (Macaca mulatta, M fascicularis, M335

tonkeana). Aggress. Behav. 11, 223–233 (1985). URL https://onlinelibrary.wiley.com/doi/abs/336

10.1002/1098-2337%281985%2911%3A3%3C223%3A%3AAID-AB2480110305%3E3.0.CO%3B2-A. DOI337

10.1002/1098-2337(1985)11:3¡223::AID-AB2480110305¿3.0.CO;2-A.338

7. Theraulaz, G., J. Gervet, B. T., Pratte, M. & Semenoff-Tian-Chansky, S. Patterns of agonistic interactions in three species339

of macaques (Macaca mulatta, M. fascicularis, M. tonkeana). Ethol. 91, 177–202 (1992).340

8. Van Honk, C. & Hogeweg, P. The ontogeny of the social structure in a captive Bombus terrestris colony. Behav. Ecol.341

Sociobiol. 9, 111–119 (1981).342

9. Huntingford, F. A. Animal Conflict (Springer Netherlands, 1987).343

12/14

Page 13: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

10. Chase, I. D. Models of hierarchy formation in animal societies. Behav. Sci. 19, 374–382 (1974).344

11. Chase, I. D. The sequential analysis of aggressive acts during hierarchy formation: an application of the ‘jigsaw’ puzzle345

approach. Anim. Behav. 33, 86–100 (1985).346

12. Dugatkin, L. A. A model of coalition formation in animals. Proc. Royal Soc. Lond. B 265, 2121–2125 (1998).347

13. Dugatkin, L. A. Bystander effects and the structure of dominance hierarchies. Behav. Ecol. 12, 348–352 (2001).348

14. Chase, I. D., Tovey, C., Spangler-Martin, D. & Manfredonia, M. Individual differences versus social dynamics in the349

formation of animal dominance hierarchies. Proc. Natl. Acad. Sci. USA 99, 5744 – 5749 (2002).350

15. Bonabeau, E., Theraulaz, G. & Deneubourg, J.-L. Dominance Orders in Animal Societies: The Self-organization351

Hypothesis Revisited. Bull. Math. Biol. 61, 727–757 (1999). URL http://www.sciencedirect.com/science/352

article/pii/S0092824099901088. DOI 10.1006/bulm.1999.0108.353

16. Landau, H. G. On dominance relations and the structure of animal societies: I. Effect of inherent characteristics.354

The Bull. Math. Biophys. 13, 1–19 (1951). URL http://link.springer.com/10.1007/BF02478336. DOI355

10.1007/BF02478336.356

17. Landau, H. G. On dominance relations and the structure of animal societies: II. Some effects of possible social factors. The357

Bull. Math. Biophys. 13, 245–262 (1951). URL http://link.springer.com/10.1007/BF02477920. DOI358

10.1007/BF02477920.359

18. Landau, H. G. Development of structure in a society with a dominance relation when new members are added successively.360

The Bull. Math. Biophys. 27, 151–160 (1965). URL http://link.springer.com/10.1007/BF02477272. DOI361

10.1007/BF02477272.362

19. Theraulaz, G., Bonabeau, E. & Deneubourg, J.-L. Self-organization of hierarchies in animal societies: the case of the363

primitively eusocial wasp Polistes dominulus Christ. J. Theor. Biol. 174, 313–323 (1995). URL https://linkinghub.364

elsevier.com/retrieve/pii/S0022519385701014. DOI 10.1006/jtbi.1995.0101.365

20. Beacham, J. Models of Dominance Hierarchy Formation: Effects of Prior Experience and Intrinsic Traits. Behav. 140,366

1275–1303 (2003). URL https://brill.com/view/journals/beh/140/10/article-p1275_6.xml.367

DOI 10.1163/156853903771980594.368

21. Johnstone, R. A. & Dugatkin, L. A. Coalition formation in animals and the nature of winner and loser effects. Proc.369

Royal Soc. Lond. Ser. B: Biol. Sci. 267, 17–21 (2000). URL https://royalsocietypublishing.org/doi/370

10.1098/rspb.2000.0960. DOI 10.1098/rspb.2000.0960.371

22. Hemelrijk, C. K. An individual-based model of the emergence of despotic and egalitarian societies. Proc. Royal Soc. Lond.372

B 266, 361–369 (1999).373

23. Hemelrijk, C. K. Self-organization and natural selection in the evolution of complex despotic societies. Biol. Bull. 202,374

283–288 (2002).375

24. Ben-Naim, E. & Redner, S. Dynamics of social diversity. J. Stat. Mech. Theory Exp. 9–16 (2005). DOI 10.1088/1742-376

5468/2005/11/L11002.377

25. Ben-Naim, E. & Redner, S. Phase diagram of a model of self-organizing hierarchies. J. Stat. Mech. Theory Exp. (2005).378

26. Bonabeau, E., Theraulaz, G. & Deneubourg, J. L. Mathematical model of self-organizing hierarchies in animal societies.379

Bull. Math. Biol. 58, 661–717 (1996). DOI 10.1016/0092-8240(95)00364-9.380

27. Bonabeau, E., Theraulaz, G. & Deneubourg, J. L. Phase diagram of a model of self-organizing hierarchies. Phys. A: Stat.381

Mech. its Appl. 217, 373–392 (1995). DOI 10.1016/0378-4371(95)00064-E.382

28. van Schaick, C. & Kappeler, P. (eds.) Cooperation in primates and humans: Closing the gap in Cooperation in Primates383

and Humans: Mechanisms and Evolution (Springer, 2006).384

29. de Waal, F. B. M. & Luttrell, L. M. Mechanisms of social reciprocity in three primate species: Symmetrical relationship385

characteristics or cognition? Ethol. Sociobiol. 9, 101–118 (1988).386

30. Kappeler, P. M. & Heymann, E. W. Nonconvergence in the evolution of primate life history and socio-ecology. Biol. J.387

Linn. Soc. 59, 297–326 (1996).388

31. Werdenich, D. & Huber, L. Social factors determine cooperation in marmosets. Anim. Behav. 64, 771–781 (2002).389

32. Cronin, K. A., Kurian, A. V. & Snowdon, C. T. Cooperative problem solving in a cooperatively breeding primate (Saguinus390

oedipus). Anim. Behav. 69, 133–142 (2005).391

13/14

Page 14: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

33. Hare, B., P, M. A., Woods, V., Hastings, S. & Wrangham, R. Tolerance allows bonobos to outperform chimpanzees on a392

cooperative task. Curr. Biol. 17, 619–623 (2007).393

34. Roca, C. P., Cuesta, J. A. & Sanchez, A. Evolutionary game theory: Temporal and spatial effects beyond replicator394

dynamics. Phys. Life Rev. 208–249 (2009).395

35. Zahed, S. R., Kurian, A. V. & Snowdon, C. T. Social dynamics and individual plasticity of infant care behavior in396

cooperatively breeding cotton-top tamarins. Am. J. Primatol. 72, 296–306 (2010).397

36. Cronin, K. Prosocial behaviour in animals: the influence of social relationships, communication and rewards. Anim. Behav.398

84, 1085–1093 (2012).399

37. Cronin, K. A. & Sanchez, A. Social Dynamics and Cooperation: The Case of Nonhuman Primates and its Implications400

for human Behavior. Adv. Complex Syst. 15, 1250066 (2012). URL http://www.worldscientific.com/doi/401

abs/10.1142/S021952591250066X. DOI 10.1142/S021952591250066X.402

38. Dugatkin, L. A. Cooperation Among Animals: An Evolutionary Perspective (1997).403

39. Melis, A. & Semmann, D. How is human cooperation different? Philos. Trans. R. Soc. B Biol. Sci. 365, 2663–2674 (2009).404

40. Cronin, K. A., Acheson, D. J., Hernandez, P. & Sanchez, A. Hierarchy is Detrimental for Human Cooperation. Sci. Reports405

5 (2016). URL http://www.nature.com/articles/srep18634. DOI 10.1038/srep18634.406

41. Antonioni, A., Pereda, \. a., Cronin, K. A., Tomassini, M. & Sanchez, A. Collaborative hierarchy maintains cooperation in407

asymmetric games. Sci. Rep. 8, 5375 (2018).408

42. Gavrilets, S. & Fortunato, L. A solution to the collective action problem in between-group conflict with within-group409

inequality. Nat. Commun. 5 (2014).410

43. Gavrilets, S. Collective action problem in heterogeneous groups. Proc. Royal Soc. Lond. B 370, 20150016 (2015).411

44. Perry, L., Shrestha, M. D., Vose, M. D. & Gavrilets, S. Collective action problem in heterogeneous groups with punishment412

and foresight. J. Stat. Phys. https://link.springer.com/article/10.1007/s10955–018–2012–2 (2018). DOI 10.1007/s10955-413

018-2012-2.414

45. Perry, L. & Gavrilets, S. Foresight in a game of leadership. Sci. Reports 10, article 2251 (2020).415

46. Bicchieri, C. The Grammar of Society. The Nature and Dynamics of Social Norms (Cambridge University Press, 2006).416

47. Bicchieri, C. Norms in the Wild: How to Diagnose, Measure, and Change Social Norms (Oxford University Press, 2017).417

48. Gavrilets, S. & Richerson, P. J. Collective action and the evolution of social norm internalization. Proc. Natl. Acad.418

Sci. 114, 6068–6073 (2017). URL http://www.pnas.org/lookup/doi/10.1073/pnas.1703857114. DOI419

10.1073/pnas.1703857114.420

49. Gavrilets, S. On the evolutionary origins of the egalitarian syndrome. Proc. Natl. Acad. Sci. 109, 14069–14074 (2012).421

URL http://www.pnas.org/cgi/doi/10.1073/pnas.1201718109. DOI 10.1073/pnas.1201718109.422

50. Whiten, A. On the nature and evolution of imitation in the animal kingdom: Reappraisal of a century of research. Adv Stud423

Behav 21, 239–283 (1992).424

51. Currie, T. E., Turchin, P. & Gavrilets, S. History of agriculture and intensity of warfare shaped the evolution of large-scale425

human societies in Afro-Eurasia. preprint, SocArXiv (2019). URL https://osf.io/9kmrw.426

14/14

Page 15: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

Supplementary Information:Cooperation, social norm internalization, and

hierarchical societies

Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez1,2,4,5

1Grupo Interdisciplinar de Sistemas Complejos, Departamento de Matematicas,Universidad Carlos III de Madrid, 28911 Leganes, Madrid, Spain

2Unidad Mixta Interdisciplinar de Comportamiento y Complejidad Social(UMICCS), Spain

3Department of Ecology and Evolutionary Biology, Department of Mathematics,National Institute for Mathematical and Biological Synthesis, Center for the

Dynamics of Social Complexity, University of Tennessee, Knoxville, TN 37996,USA

4Institute for Biocomputation and Physics of Complex Systems (BIFI), Universityof Zaragoza, 50018 Zaragoza, Spain

5UC3M-Santander Big Data Institute (IBiDat), Universidad Carlos III de Madrid,28903 Getafe, Madrid, Spain

*Corresponding author: [email protected]

Page 16: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

(a) Rank distribution—group 94 (b) Rank distribution—group 326

Figure S1: Rank distributions for the unconstrained model—individual, small groups.

(a) Rank distribution—group 39 (b) Rank distribution—group 213

Figure S2: Rank distributions for the unconstrained model — individual, big groups.

S1 Unconstrained model: Individual groups

The results reported in the main article offer an overall picture of the whole population, by aggregating theresults of different groups. However, it is essential to take the study one level down and look at processesand mechanisms at the individual group level, to assess to what extent the aggregate results describe themwell. Therefore, we now look at this individual group level, beginning with Figure S1 (a), where we cansee representative examples showing that, as previously mentioned, most of the individuals in the upperhalf do not follow the norm of cooperating in the collective action. In contrast, the rest of the individualsfollow the norm. This is not always true, inasmuch of in Figure S1 (b) there is an individual with rank� 0 who is following the norm, and an individual with rank � 0 who is not following the norm. Therefore,the behavior is subject to noise, but the proportion of individuals misbehaving for their rank is very low ifwe compare these figures with Figure 3 (c) from the main article, where the aggregated behavior is shown.The same applies to the case of bigger groups but, due to the increased number of individuals, the behavioris more consistent, and those who have a high (respectively, low) rank and cooperate (respectively, do notcooperate) are less noticeable.

Also, within this perspective of what goes on in each group, we observe that the payoffs’ distribution cor-relates with the expected behavior: within the groups, the individuals with higher rank have more payoffs

Page 17: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

(a) Payoff distribution — group 94 (b) Payoff distribution — group 240

Figure S3: Payoff distributions for the unconstrained model — individual, small groups.

(a) Payoff distribution — group 63 (b) Payoff distribution — group 93

Figure S4: Payoff distributions for the unconstrained model — individual, big groups.

than those in lower ranks (according to Figures S3 and S4). This is consistent with the fact that the higherthe rank, the more probable it is for an individual to win a fight and, therefore, to accumulate more payoffs.There is still noise in the distribution, as in Figure S4 (b), an individual with low rank has more payoffsthan those above it.

Finally, attending to the individual distribution of fitness values concerning the position in the hierarchy,Figures S5 and S6 show that the individuals with more probability of having offspring the next generationare those with the higher ranks. This happens in both small and big groups. With these figures and theones in S1-S2, the individual behavior in the reproduction stage can be predicted: those who reproduce withhigher probability are those who do not follow the norm, in agreement with the observed behavior of theinternalization parameter in Figure 3 (b) from the main article. In any event, looking at these individualexamples, and at the rest of those in the simulations, we can conclude that the aggregate behavior representswell the general features of individual groups.

Page 18: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

(a) Fitness vs ranks — group 47 (b) Fitness vs ranks — group 141

Figure S5: Fitness vs ranks for the unconstrained model — individual, small groups.

(a) Fitness vs ranks — group 55 (b) Fitness vs ranks — group 154

Figure S6: Fitness vs ranks for the unconstrained model — individual, big groups.

Page 19: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

(a) Rank distribution — group 213 (b) Rank distribution — group 288

Figure S7: Rank distributions for the constrained model — individual, small groups.

(a) Rank distribution — group 213 (b) Rank distribution — group 405

Figure S8: Rank distributions for the constrained model — individual, big groups.

S2 Exogenously constrained model: Individual groups

Figures below show the ranks distributions for individual groups within the constrained model with sizen = 8 (Figure S7), and n = 24 (Figure S8). Groups have been randomly selected, and the behavior isconsistent between all of them. As in figure S1, if the individual is in the lower part of the ranking, itis more likely to cooperate. However, there is a larger degree of variability in behaviors, as shown in therest of the examples in this figure. There may be individuals with low-ranking who do not cooperate or, onthe contrary, individuals that do cooperate even when they have the highest rank, as in figures S7 (a) and (b).

The difference between the constrained model and the unconstrained model can be seen in the payoffdistributions from Figures S9 and S10. For the constrained model, all the individuals have, approximately,the same amount of payoffs when the groups are small (Figures S9), with an increment in the differencewhen the size of the group increases (see figures S10).

There exists a critical difference between this model and the previous, unconstrained one, that can beseen in Figures S11 and S12. The individuals in small groups (S11) have a fitness distribution that is notcorrelated with their position in the hierarchy. Some individuals have the highest fitness even when its rankis the lowest (see Figure S11 (a) or (b)). This translates into a higher probability of selecting an individual

Page 20: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

(a) Payoff distribution — group 260 (b) Payoff distribution — group 402

Figure S9: Payoffs distributions for the constrained model — individual, small groups.

(a) Payoff distribution — group 340 (b) Payoff distribution — group 489

Figure S10: Payoffs distributions for the constrained model — individual, big groups.

Page 21: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

(a) Fitness vs ranks — group 67 (b) Fitness vs ranks — group 211

Figure S11: Fitness vs rank for the constrained model — individual, small groups.

(a) Fitness vs ranks — group 382 (b) Fitness vs ranks — group 445

Figure S12: Fitness vs rank for the constrained model — individual, big groups.

with a low rank for reproducing (and thus, more probable that cooperates in the CA). The mechanismmaking this happen is the same that increases the internalization parameter in Figure 5 from the mainarticle: the mobility of the individual within the hierarchy, from high ranks—where it can increase its accu-mulated payoffs, making it more probable to be selected at the individual level when reproducing—to lowranks—where it cooperates more due to its rank, and that makes its group increase its success in the CAproblem, thus being more probable to be selected at the group level—. This does not happen when thegroup size is larger, as in Figures S12, so the increase in the size mitigates this effect.

We have looked at different trajectories from randomly selected individuals (Figure S13 and S14) toprovide grounds for our hypothesis: moving individuals in the hierarchy increases internalization by forcingthem to cooperate in low ranks. In these plots, two individuals from the same group are selected at random,and their trajectories are plotted. In Figure S13 (a) we observe different behavior from the ones in figures(b) to (b). In figure (a), the individuals exchange their positions: one of them increased its rank up tothe maximum and then suddenly decreased it to the minimum possible. However, the second individualmaintained a low rank while the first was on the highest possible rank; and slowly increased it up to themaximum in a few rounds. Individuals transitioning from low ranks to high ones and vice versa are indeedobserved in these models.

On the contrary, in Figure S14 (a), we observe individuals who had a constant behavior of increasing or

Page 22: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

(a) Small, bounded group (b) Big, bounded group

Figure S13: Trajectories for two different individuals in different groups and models: (a) group with n = 8and (b) group with n = 24, and bounds.

(a) Small, not bounded group (b) Big, not bounded group

Figure S14: Trajectories for two different individuals in different groups and models: (a) group with n = 8and (b) group with n = 24, and no bounds.

decreasing its rank, and in figure (b), we observe an initial perturbation before increasing their ranks. Thus,rank trajectories in unconstrained systems are steady. In Figure S13 (b) we observe initial movement in thetrajectories before one of them quickly rose to the top of the hierarchy, but the difference with small modelsis that we do not observe as many individuals transitioning from the top to the bottom of the hierarchy asin models with smaller group size.

S3 Endogenously constrained model: Individual groups

Figures below show, for individual groups, the ranks distributions, payoff distributions per rank, and therelationship between fitness and ranks. Figure S15 shows the plots for small groups (size n = 8), and figureS16 shows the ones for big groups (size n = 24). Groups have been randomly selected, and the behavior isconsistent between all of them.

Page 23: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

Figure S15: Simulation results for small groups, n = 8. Columns from left to right correspond to λ =0.1, 0.25, 0.5 and 0.75. Top to bottom rows correspond to: Two rows of score histograms for twodifferent groups; where blue indicates free riders—do not follow the norm of cooperating—andred indicates norm followers—cooperators. Two rows of payoff with respect the score plots.Two rows of fitness v. ranks plots.

Page 24: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

Figure S16: Simulation results for large groups, n = 24. Columns from left to right correspond to λ =0.1, 0.25, 0.5 and 0.75. Top to bottom rows correspond to: Two rows of score histograms for twodifferent groups; where blue indicates free riders—do not follow the norm of cooperating—andred indicates norm followers—cooperators. Two rows of payoff with respect the score plots.Two rows of fitness v. ranks plots.

Page 25: Cooperation, social norm internalization, and …1 Cooperation, social norm internalization, and 2 hierarchical societies Pablo Lozano1,2,*, Sergey Gavrilets3, and Angel Sanchez´

(a) λ = 0.1 (b) λ = 0.25 (c) λ = 0.5 (d) λ = 0.75

Figure S17: Trajectories for four different individuals within the same group for the endogenously constrainedmodel. Groups consist of n = 8 individuals.

(a) λ = 0.1 (b) λ = 0.25 (c) λ = 0.5 (d) λ = 0.75

Figure S18: Trajectories for four different individuals within the same group for the endogenously constrainedmodel. Groups consist of n = 24 individuals.