Abstract
Even though grouping behaviour has been actively studied for over a century, the relative importance of the numerous proposed fitness benefits of grouping remain unclear. We use a digital model of evolving prey under simulated predation to directly explore the evolution of gregarious foraging behaviour according to one such benefit, the ‘many eyes’ hypothesis. According to this hypothesis, collective vigilance allows prey in large groups to detect predators more efficiently by making alarm signals or behavioural cues to each other, thereby allowing individuals within the group to spend more time foraging. Here, we find that collective vigilance is sufficient to select for gregarious foraging behaviour as long there is not a direct cost for grouping (e.g. competition for limited food resources), even when controlling for confounding factors such as the dilution effect. Furthermore, we explore the role of the genetic relatedness and reproductive strategy of the prey and find that highly related groups of prey with a semelparous reproductive strategy are the most likely to evolve gregarious foraging behaviour mediated by the benefit of vigilance. These findings, combined with earlier studies with evolving digital organisms, further sharpen our understanding of the factors favouring grouping behaviour.
Keywords: group foraging, many eyes hypothesis, anti-predator vigilance, genetic relatedness, reproductive strategy, tragedy of the commons
1. Introduction
Many prey choose to live, forage and reproduce in groups—this is one of the most readily observed phenomena in biology. A common adaptive explanation for grouping behaviour is that it aids in anti-predatory defence. For instance, starlings (Sturnus vulgaris) are well known to forage in flocks in the presence of predators [1]. Shoaling fish, e.g. the eastern mosquitofish (Gambusia holbrooki), have been documented to identify predators more accurately in larger groups [2]. Ostriches (Struthio camelus) have been reported to experience anti-predatory benefits when foraging in groups [3]. Even when there is a correlation between grouping behaviour and protection from predators, however, it is difficult to pin down what benefits actually select for the evolution of grouping behaviour.
Several such fitness benefits have been proposed. For example, grouping can improve group vigilance [4–7], reduce the chance of being encountered by predators [5,8], dilute an individual's risk of being attacked [9–14], enable an active defence against predators [15] or reduce predator attack efficiency by confusing the predator [16–20]. Other possible benefits not involving predation include improved mating success [21], increased foraging efficiency [22] and the ability for the group to solve problems that would be impossible to solve individually [23], for example through the division of labour [24].
With all of these interdependent factors potentially affecting the evolution of grouping, it is difficult to study the independent effects of each benefit in biological systems, let alone explore how they unfold over evolutionary time scales. However, recent research has shown that it is possible to explore the potential independent effects of each benefit by modelling them with digital models of evolution [25]. In previous work, we created several models to explore the predator confusion [20] and selfish herd [13,14] hypotheses to find when these benefits do (and do not) independently select for grouping behaviour. One advantage of these models is that once the independent effects of the various grouping benefits are understood, we can then combine the benefits into a single model to study their relative importance and separate the adaptive benefits (that select for the evolution of grouping) from the incidental side effects of grouping.
Here, we focus on anti-predator vigilance (i.e. the many eyes hypothesis) as a possible selective mechanism for the evolution of gregarious foraging behaviour, and control for the influence of the other benefits described above. First proposed using a mathematical model [4] and explored experimentally a year later [1], the many eyes hypothesis makes two key predictions, both of which arise from the assumption that vigilance is costly, because it imposes a trade-off with foraging efficiency: (i) individual prey vigilance will decline as group size increases and (ii) because prey can more equitably divide the task of watching for predators in large groups, they will experience a fitness benefit from foraging more. Therefore, there will be a selective advantage for prey that forage in groups up to a certain group size. In the 40 years since its inception, these predictions have been examined in numerous species across hundreds of independent studies [2,3,26–28]. Furthermore, several game theoretical models have been applied to refine the predictions of when collective vigilance in foraging groups should evolve [29], and subsequently matched to experimental data [30].
These previous studies focus on the potential fitness consequences of vigilance in groups of animals, but they do not address the circumstances under which vigilance, and the advantages of being in a group with many watchful eyes, provides a sufficient selection pressure to favour group living, independent of other pressures. When considering the evolution of grouping behaviour, it is vital to take into account both the benefits and costs imposed by the behaviour [31]. To satisfy this requirement, several researchers have recently turned to digital models to study the evolution of animal behaviour [32–34]. These researchers use a digital model of evolution to evolve the behaviour of a population of locally interacting animats, enabling them to explore the evolution of behaviour in complex environments that are beyond the means of mathematical models [35,25]. Additionally, these evolutionary model systems allow researchers to explicitly control for complicating factors, such as the dilution effect [27] and food density [36], that are commonly confounded with collective vigilance as factors benefiting group-living organisms.
In this study, we extend these digital evolution models to explore the conditions under which collective vigilance favours the evolution of gregarious foraging behaviour. We assume that vigilance has benefits (e.g. communicating the presence of a predator via alarm signals) but also costs (e.g. reduced foraging rates by watching for the predator). Under the many eyes hypothesis, grouping is beneficial because it reduces the cost of vigilance by sharing the cost of vigilance among the group, but it may have additional costs that must be considered, e.g. increased predation rates on larger groups [37]. Furthermore, this benefit would be diluted if some individuals can freeload on the vigilance of others (as in heterogeneous groups), but magnified if the group members are highly related. The benefits and costs would also be affected by the life history of the prey, in particular whether their reproduction is iteroparous (i.e. repeated) or semelparous (i.e. all at once): vigilance may be more beneficial in semelparous prey because a predation event can completely prevent them from reproducing, whereas iteroparous prey are more likely to have reproduced at least once prior to experiencing a predation event. To explore these issues, we manipulate the genetic relatedness and reproductive strategy of groups of prey that are under predation and observe the resulting behaviour after thousands of generations of digital evolution have taken place. A preliminary investigation of this work was published in the ALIFE 14 conference [38], which we expand significantly here.
2. Methods
Figure 1 depicts our model of predator–prey interactions in a disembodied model of artificial animals (‘animats’), wherein prey must balance the trade-offs between foraging and vigilance [33]. In an embodied model, every animat is situated in the world, perceives the world via its sensors and can act on the world via behavioural or other responses [39]. While embodied models offer more detail and can capture potentially important aspects of the real world, they are also sensitive to implementation-specific details of the sensors and actuators, which can skew the results. We therefore focus on a disembodied model1 for the remainder of this study, which enables us to explore several factors affecting the evolution of group vigilance in isolation.
In this model, prey fitness is directly related to the amount of time it spends foraging, where a single round of foraging increases prey fitness by 1.0. However, prey vigilance determines whether a predator's attack on the prey is successful. These two options (foraging and vigilance) are assumed to be mutually exclusive. Thus, prey must evolve to maximize their food intake while remaining vigilant enough to survive the entire simulation, which is akin to the maximum possible lifespan of the prey.
2.1. Simulation of predators and prey
We designed this model to capture certain features of natural predators and to control for potentially complicating factors. First, to ensure that predator attacks are not trivially predictable we simulate predators that attack at intervals that are normally distributed around a specific attack rate. Thus, predator attacks are randomly distributed throughout the 2000-time-step duration of the simulation. To model the observation that larger groups of prey often attract more attacks from predators—a realistic cost of group living known as the attraction effect [37]—we scale this attack rate with the group size, such that the group experiences approximately five predator attacks for every prey initially in the group over the course of the simulation. This scaling factor also allows us to control for the dilution effect, which has been suggested to allow prey to survive with lower vigilance levels in larger groups only because they are less likely to be the target of a predator's attack [27,40,41].
Each time a predator appears, we randomly select a target prey from the surviving prey of previous attacks. This is followed by a 10 time-step delay between the appearance of the predator in the simulation and the actual attack, representing the time it takes for a predator to close the distance to the prey. It is during this time that prey vigilance becomes important. If the target prey is vigilant at any time during this interval, then it spots the predator and the attack only has a 10% chance of success. If the target prey is not vigilant but one or more other prey in the group are vigilant, then the other prey communicate the presence of the predator via an alarm signal or other behavioural indicator and the predator will capture the target prey 30% of the time. These probabilities are chosen based on analytical models of group vigilance [33] such that group vigilance is not as effective as individual vigilance, and models the imperfect communication between members of the group [42]. Finally, if no members of the group are vigilant while the predator is closing the distance to its target, then the entire group is unaware of the predator and the attack will succeed 100% of the time. In all cases of a successful attack, the target prey is removed from the simulation and can no longer forage to increase its fitness.
Each individual prey makes the decision to forage or be vigilant every simulation time step. This decision-making process is modelled with a Markov network (MN), which is an ‘artificial brain’ that can stochastically make decisions based on sensory input, memory and previous actions [20,43,44]. Every prey MN is encoded by a list of numbers known as its genotype, such that changes to the genotype can result in changes in the function of the MN. Because we do not provide any sensory input to the prey in this simulation, we are effectively modelling the probability of a prey taking an action (e.g. be vigilant or forage) every simulation time step. More information on MNs—including details on their genetic encoding, mutational operators and functionality—is available in [14].
2.2. Evolutionary process
At the beginning of every experiment, we create a population of 100 individuals with random MNs. We repeat the evaluation procedure described above until all 100 individuals in the genetic algorithm (GA) population have been assigned a fitness (see [45] for a full description of GAs). Once all individuals have been assigned a fitness, we use fitness-proportional selection according to a Moran process [46] to produce the next generation's population of prey. Fitness-proportional selection ensures that prey with higher fitness values generally produce more offspring. The selected prey reproduce asexually, with a small probability of mutations (0.5% per site) affecting their offspring's genotype. We repeat this evaluation–selection–reproduction process for 2500 generations to ensure that the GA has reached an evolutionarily stable strategy [47] and replicate the experiments 100 times for each treatment—each with a distinct random number generator seed—to verify that we are capturing evolutionary trends rather than outlier scenarios.
2.3. Group size
Since the many eyes hypothesis predicts an inverse relationship between individual vigilance and group size [4,1], we study prey populations across a range of group sizes: 5, 10, 25 and 50. In our first set of experiments, we observe the equilibrium vigilance levels when prey are forced to group. In our second set of experiments, we relax this assumption and allow the prey to choose to group (or not) every time step. In the latter case, we report the group size as the maximum initial group size. To provide a baseline for the optional grouping experiment, we compare its equilibrium vigilance levels to that of experiments where prey are forced to group and experiments where prey are forced to forage individually.
2.4. Genetic relatedness
For all of the above experiments, we study the effect of genetic relatedness on group vigilance behaviour. Given that genetically related organisms are more likely to cooperate with each other than genetically unrelated organisms [48], we expect that genetic relatedness within the group will play a critical role in the evolution of group vigilance behaviour. To explore the two extremes of genetic relatedness, we form groups in two different ways.
In homogeneous groups, each individual in the GA population is evaluated separately. During an individual's fitness evaluation, we fill the group in the simulation with exact copies of the individual, and the fitness for that individual is the average fitness of all of its copies at the end of the simulation. Thus, for a GA with a population size of 100 individuals, we run 100 simulations every generation to acquire the fitness for each individual.
In heterogeneous groups, we use a subset of the GA population (which contains many prey with different genes) to study how the prey fare in direct competition (or cooperation) with each other. When forming a heterogeneous group, we randomly sample individuals from the GA population without replacement until we reach the desired group size for the current treatment. This group is then evaluated in the simulation, where each individual has only one copy and is assigned the fitness of that copy. Once the simulation finishes, we flag the evaluated individuals so they are not evaluated again in that generation. Since the desired group sizes (5, 10, 25 and 50) are always smaller than the GA population size (100), this procedure is repeated until all individuals have been evaluated. For example, if the desired group size is 25 and the GA population is composed of 100 individuals, then the randomly group-and-evaluate procedure is repeated four times. Thus, by following this procedure, all individuals in the GA population are evaluated only once per generation in a randomly assigned group.
Since vigilance indirectly benefits the vigilant individual in homogeneous groups by aiding its kin, we expect that group vigilance will be highly beneficial in homogeneous groups. By contrast, because the vigilance of one prey can potentially aid a rival prey in heterogeneous groups, we expect to observe lower levels of vigilance in heterogeneous groups.
2.5. Reproductive strategy
The benefits of making the right decision in this simulated environment are straightforward: the prey must maximize food intake by surviving the longest while minimizing the time spent being vigilant. But the cost of making the wrong decision can also depend on the life history of the prey. For example, two different reproductive strategies—semelparity and iteroparity—should incur different costs. Semelparous organisms sit on one end of the reproductive spectrum and are characterized by a single reproductive event prior to death. On the other end of the reproductive spectrum, iteroparous organisms continually reproduce throughout their lifetime. We explore these two extremes by simulating semelparous and iteroparous prey in separate treatments.
When simulating semelparous prey in our model, we assume that their reproductive event occurs at the end of the simulation. Therefore, if a semelparous prey is consumed by the predator before the end of the simulation, all of its gathered food counts for nothing: it will leave no offspring.
When simulating iteroparous prey in our model, we assume that the prey are constantly reproducing throughout their lifetime. Therefore, when a predator consumes an iteroparous prey, the prey can no longer increase its fitness via foraging, but any food it gathered prior to its death counts towards its fitness.
We hypothesize that the increased risk of genetic death introduced by the semelparous treatment will provide an evolutionary incentive for prey to invest in vigilance, whereas prey in the iteroparous treatment will be more likely to engage in risky, non-cooperative behaviour, because their demise does not necessarily doom their genetic lineage [49].
We note that these are highly simplified implementations of reproductive strategies and are meant to capture one key variable: the probability of reproduction occurring prior to a predation event. Our implementations of semelparity and iteroparity vary slightly from their typical use in life-history theory—which focuses on how an organism should allocate resources to growth versus reproduction—whereas here we use ‘semelparity’ and ‘iteroparity’ as shorthand for a manipulation of when the fitness consequences of predation are experienced during a life cycle. Some readers may also find our implementations of semelparity and iteroparity akin to capital and income breeding [50], respectively, which is also a viable interpretation of the reproductive strategies in our model.
2.6. Explicit cost of grouping
The model described so far includes a cost of vigilance (insofar as prey cannot forage at the same time that they are vigilant), but there is no explicit cost to choosing to group aside from the possibility of aiding a competing individual. In our final set of experiments, we implement such a grouping penalty in order to model the realistic constraints of limited resources and the resulting scramble competition for food [30,36,40,51]. This grouping penalty is only assessed on prey who choose to forage in the group, and decreases the amount of food they receive in that simulation time step in proportion to the number of prey in the group. The group foraging penalty is imposed according to the following equation:
2.1 |
where G is the number of prey in the group and M is the penalty multiplier that allows us to experimentally control the severity of the penalty. Given this penalty, prey foraging in larger groups receive less food every time they forage, but potentially enjoy the benefits of group vigilance.
3. Results
We evolve the vigilance behaviour of prey by subjecting them to predation under a variety of treatments that vary reproductive strategy and group composition. Vigilance is measured as the per cent chance that a prey will be vigilant at a given moment in time, averaged across all of the prey in the population. These treatments are repeated across a wide range of group sizes, allowing us to study not only whether the selection for vigilance can be generalized to groups of varying sizes, but also whether we can observe the inverse relationship between group size and vigilance predicted by the many eyes hypothesis.
In our first experiment, all prey in the simulation are forced to forage in the same group, and the only trait that is evolving is the prey decision to be vigilant or not at every time step. Under these conditions, we find that prey living in homogeneous groups consistently evolve higher levels of vigilance than their counterparts living in heterogeneous groups (figure 2). This finding suggests that organisms living in groups with high genetic relatedness are more likely to evolve cooperative strategies. Thus, in our model as in many natural systems, gregarious foraging is most favourable when genetic interests are aligned.
Figure 2 also shows that semelparous prey are more likely to evolve vigilant strategies than iteroparous prey. This is because semelparity selects more strongly than iteroparity for successful evasion of predator attacks, since prey death negates all previous foraging efforts in semelparous prey. This effect is seen across both homogeneous and heterogeneous groups, indicating that semelparity is a strong enough selective pressure to act independently of group genetic composition. Importantly, prey vigilance does not evolve at all in the absence of predation (electronic supplementary material, figure S1), and gradually reducing the predation rate leads to a correspondingly gradual decrease in prey vigilance levels (electronic supplementary material, figure S2). Therefore, we know that the selection pressure imposed by predation is the primary driving force behind this evolved vigilance behaviour.
All three treatments that evolve any level of vigilance also see the prevalence of vigilance decrease as group size increases. This pattern is important because it matches the pattern predicted by the many eyes hypothesis: as group size increases, individuals are able to rely more on collective rather than individual vigilance and can in turn devote more of their own time to foraging. Since we use a relative attack rate that scales the predator's attack frequency with group size, this phenomenon must be caused by group vigilance and not the dilution effect (i.e. fewer attacks per individual in larger groups) cited in other studies. We note that vigilance in the heterogeneous/semelparous treatment appears to evolve away almost entirely in a group size of 50. To explain why this trend might be due to something other than collective vigilance, we can instead look at trends in the fitness of the populations.
We observe several interesting trends when we look at the influence of group size on average group fitness. In both homogeneous treatments, there is a steady increase in fitness with increasing group size, suggesting that gregarious foraging behaviour is under positive selection. We see no significant fitness increase with group size in the heterogeneous/iteroparous populations, where the populations do not evolve vigilance behaviour (Wilcoxon rank-sum p=0.79 between group size 5 and 50). Unlike the other treatments, the heterogeneous/semelparous populations actually experience a significant decrease in fitness with increasing group size (Wilcoxon rank-sum p=2.77×10−6 between group size 5 and 50), which suggests that cooperative behaviour is not evolutionarily stable in larger heterogeneous groups. Accordingly, these findings suggest that heterogeneous populations are much more susceptible to non-vigilant, ‘cheating’ prey strategies that sweep the population and reduce the overall population fitness.
3.1. Optional grouping
So far we have shown that prey appear to take advantage of collective vigilance to increase their fitness when they are forced to group. We might expect from this (and the many eyes hypothesis predicts) that grouping provides a selective advantage. To test this expectation explicitly, we relax the constraints of the previous experiment by allowing the prey to evolve whether to group or not at every simulation time step. Since there is no direct fitness trade-off for grouping in this model yet (as there was for foraging and vigilance), this allows us to study whether the evolutionary advantages of grouping are favourable enough for vigilance and grouping to co-evolve.
Figure 3 shows that when we allow prey to choose to group, we find nearly the same results as before. This suggests that collective vigilance provides enough of a selective advantage to favour the evolution of grouping. It is not surprising that the homogeneous treatments evolve to group nearly 100% of the time, given that the population is genetically identical and any ‘altruistic’ action indirectly benefits the altruist as well. As in the forced grouping experiment, we observe a decline in fitness in the heterogeneous/semelparous populations as group size increases, to the point that the population is nearly driven extinct. The inability of the heterogeneous/semelparous populations to evolve consistently high levels of vigilance further supports the hypothesis that evolution is favouring selfish behaviour in heterogeneous populations. This phenomenon is commonly known as the tragedy of the commons [52,53], where selfish actions that provide individuals short-term benefits lead to a decrease in overall group fitness.
3.2. Tragedy of the commons in heterogeneous groups
To explore this apparent tragedy of the commons scenario further, we directly compare vigilance and fitness values from the forced and optional grouping experiments alongside a third experiment where we force the population to forage and survive as individuals. Figure 4 shows that when given the choice to group in the homogeneous treatments, prey behaviour closely mirrors the behaviour observed when forced to forage in a group. This observation confirms the previous suggestion that collective vigilance in homogeneous groups provides a fitness benefit that positively selects for gregarious foraging behaviours.
In contrast to the homogeneous populations, heterogeneous populations are much less likely to evolve gregarious foraging behaviours. Heterogeneous/iteroparous populations never evolve vigilance behaviour regardless of whether the prey are forced to group or not (figure 4). Similarly, heterogeneous/semelparous populations only evolve vigilance behaviour in smaller groups, whereas the advantage of collective vigilance is lost in larger groups. At larger group sizes, prey with the ability to choose whether or not to forage in heterogeneous/semelparous groups instead evolve lower levels of vigilance than required to protect the group (figure 4), which results in a decrease in overall group fitness relative to prey that always forage in groups (figure 5).
3.3. Explicit cost of grouping
In our final treatment, we investigate the impact of assessing a direct cost of foraging in a group (e.g. competition for food). Figure 6 shows that except in the homogeneous/semelparous treatment, an explicit grouping cost selects against gregarious foraging behaviour even when the grouping penalty is small (M=1.0). Conversely, prey in the homogeneous/semelparous treatment maintain some level of gregarious foraging behaviour even when the penalty for foraging in groups is extreme (M=1000). Therefore, we conclude that in the presence of even a small penalty for foraging in a group and the absence of additional selection pressures that favour gregarious foraging (e.g. improved social status for sentinels), only the combination of high genetic relatedness within the group and a semelparous reproductive strategy select strongly enough for gregarious foraging behaviour to evolve in our model.
4. Discussion
We found that gregarious foraging behaviour can emerge under a variety of conditions when there is a benefit of vigilance and the spreading of information about predators. Prey that forage in homogeneous groups are more likely to evolve gregarious foraging behaviours compared to those in heterogeneous groups. The same is true for semelparous organisms (who reproduce only once before death) compared to their iteroparous counterparts (who reproduce continually), but group homogeneity selects much more strongly for gregarious foraging behaviour.
Clearly, there are numerous challenges to evolving any form of cooperative behaviour in a population with unconstrained genetic relatedness. However, we have shown here that when there is strong selection for survival (as in the heterogeneous/semelparous treatment), the benefit of information sharing via being vigilant and making alarm signals is sufficient to select for cooperative behaviour in heterogeneous groups. This finding demonstrates that kinship is not necessary for cooperative behaviour to evolve as long as there is some benefit to information sharing within the group, e.g. reducing predator attack efficiency.
Further, our results point to a heretofore unsuspected cost of gregarious foraging that is unique to heterogeneous groups. We call this the ‘twofold cost of vigilance’. In our model, vigilance behaviour in heterogeneous groups is more than a trade-off with foraging on the individual level. By choosing to be vigilant, prey also risk aiding in the survival of rival prey, which then puts the vigilant prey at a fitness disadvantage because it sacrificed a round of foraging to aid the rival prey. Together, these costs could explain why prey in heterogeneous groups evolve to be less vigilant than those in homogeneous groups.
At the same time, it is also possible that there are some evolutionary advantages unique to heterogeneous groups that we have not yet addressed. For example, our model does not currently allow for any kind of specialization in roles between individuals, which could explain the presence of multi-species groups in nature [54,55]. If the prey could evolve to preferentially pay attention to certain ‘sentinel’ members of the population (who, in turn, choose to be vigilant nearly always in order to receive some form of rewards, e.g. food or increased social status) then perhaps an evolutionarily stable form of gregarious foraging could be found in heterogeneous groups of all sizes. It is even possible that such a complex social structure could out-perform the relatively primitive cooperation in our homogeneous groups.
Alongside genetic relatedness, another positive selective pressure for the evolution of vigilance is a semelparous reproductive strategy. When prey must survive any and all predator attacks in order to reproduce, the impetus to be vigilant is much greater. Semelparous organisms are known to be more risk-averse than similar, iteroparous organisms [56], and the decision to forage instead of being vigilant is an example of one such risky behaviour. Thus, rather than spending most of their time foraging (as iteroparous prey evolve to do in our model), semelparous prey in our model tend to devote most of their time to watching for predators. When given the opportunity to group with other prey and take advantage of collective vigilance, semelparous prey are actually able to spend less time being vigilant. Thus, when semelparous prey evolve lower levels of vigilance in larger groups, we are observing the effect of collective vigilance.
Given that many animals who rely on vigilance for survival are iteroparous, our result that vigilance is less likely to evolve in iteroparous populations may seem to be contradicted by evidence. In our experiments, we explore the two extremes of reproductive behaviour: semelparous strategies where the prey reproduce only once at the end of their lifetime, and iteroparous strategies where the prey constantly reproduce throughout their lifetime. It is plausible that an intermediate strategy—where prey reproduce within a few breeding episodes throughout their lifetime—could select for vigilance behaviour while at the same time offering the benefits of a more reliable iteroparous reproductive strategy. Even though such an intermediate strategy is not explored in this work, it would make an interesting focus for future work to explore the continuum between the two reproductive strategies.
Although our results suggest that the risk-averseness of semelparity induces semelparous prey to evolve to take advantage of collective vigilance, this selective pressure does not appear to be as strong as the pressure we observed in homogeneous groups. Proof of this observation can be found in the heterogeneous/semelparous treatment, where most group members attempt to cheat their way into collective vigilance by evolving lower levels of vigilance behaviour than is observed in populations where prey are forced to forage in the group (figure 4). Ultimately, this selfish behaviour results in lower fitness than the fitness of prey that are forced to forage in groups (figure 5), but the tendency for selfish strategies to outcompete cooperative strategies prevents a cooperative vigilance strategy from taking hold in the population.
The breakdown of cooperation in the heterogeneous/semelparous populations suggests that the populations are succumbing to a tragedy of the commons [52,53]. In our experiments, all prey are competing against each other to forage as much food as possible without being captured by the predator. However, because there is an unlimited amount of food, the only depletable group resource is vigilance, which protects the entire group from the predator. As the resulting non-cooperative behaviour in the heterogeneous/iteroparous populations demonstrates, absent any major selective pressures for collective vigilance, prey will evolve to selfishly forage 100% of the time. Therefore, group homogeneity and semelparity correspond to two previously established mechanisms for preventing a tragedy of the commons, namely kin selection and punishment for non-cooperative behaviours, respectively [52]. The relative efficacy of these mechanisms to prevent cheating merits further investigation; for example, does group homogeneity play a larger role than reproductive strategy in the evolution of collective vigilance?
In the presence of even a small penalty for foraging in groups, we observe that only prey in homogeneous groups with a semelparous reproductive strategy are capable of evolving gregarious foraging behaviour (figure 6). This finding suggests that, in the absence of unlimited food resources or extreme predation rates, collective vigilance (i.e. the many eyes hypothesis) is insufficient to select for gregarious foraging. However, there may be important aspects of natural systems that select for gregarious foraging that we did not model here. For example, predators have been observed to preferentially attack non-vigilant prey in groups [57], which would require prey to be vigilant even without the benefit of collective vigilance. Thus, it would be informative in future work to model such a preference for non-vigilant prey and observe the evolution of gregarious foraging under those conditions.
The experimental platform presented here enables a plethora of hypotheses to be studied in future work. Given that there is considerable evidence suggesting that foraging and vigilance behaviours are not mutually exclusive in some species [58–60], it would be instructive to relax that assumption in this model and make foraging only a ‘reduced vigilance’ state. Furthermore, we assume here that prey cannot detect the size of their group; a useful extension would be to allow prey to detect their group's size and study collective vigilance in prey that evolved in varying group sizes. We also assume here that prey always communicate the presence of the predator to their group members. Given that it may not always be evolutionarily advantageous to aid other group members, another informative extension would be to allow prey to optionally make their alarm signals upon detection of the predator. Finally, there are several hypotheses other than the many-eyes hypothesis that could be explored with a model similar to the one presented here, such as the predator confusion hypothesis [20] and the selfish herd hypothesis [13,14]. Once all of these hypotheses have been studied in isolation, we can then combine them into a single model to study their relative importance and separate the adaptive benefits (those that select for the evolution of grouping) from the chance side effects of grouping. Such experiments will further sharpen our understanding of the factors favouring grouping behaviour.
Supplementary Material
Acknowledgements
We thank Art Covert and the Freshman Research Initiative at The University of Texas at Austin for their support through the development of this project. This research has been supported by Michigan State University through computational resources provided by the Institute for Cyber-Enabled Research.
Footnotes
Model code: https://github.com/phaley/eos/tree/non-embodied.
Data accessibility
All data are reproducible from the open source code provided at https://github.com/phaley/eos/tree/non-embodied. Instructions are provided to ensure accurate replication of the experiments presented in this paper.
Author' contributions
R.S.O. conceived and designed the experiments, analysed the data, wrote the paper, prepared figures and/or tables and reviewed drafts of the paper. P.B.H. designed and performed the experiments, analysed the data, wrote the paper, prepared figures and/or tables and reviewed drafts of the paper. F.C.D. designed the experiments, wrote the paper, and reviewed drafts of the paper. C.A. designed the experiments, wrote the paper, and reviewed drafts of the paper.
Competing interests
The authors have declared that no competing interests exist.
Funding
All the authors were supported by the National Science Foundation BEACON Center under Cooperative Agreement DBI-0939454.
References
- 1.Powell GVN. 1974. Experimental analysis of the social value of flocking by starlings (Sturnus vulgaris) in relation to predation and foraging. Anim. Behav. 22, 501–505. (doi:10.1016/S0003-3472(74)80049-7) [Google Scholar]
- 2.Ward AJW, Herbert-Read JE, Sumpter DJT, Krause J. 2011. Fast and accurate decisions through collective vigilance in fish shoals. Proc. Natl Acad. Sci. USA 108, 2312–2315. (doi:10.1073/pnas.1007102108) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Bertram BCR. 1980. Vigilance and group size in ostriches. Anim. Behav. 28, 278–286. (doi:10.1016/S0003-3472(80)80030-3) [Google Scholar]
- 4.Pulliam HR. 1973. On the advantages of flocking. J. Theoret. Biol. 38, 419–422. (doi:10.1016/0022-5193(73)90184-7) [DOI] [PubMed] [Google Scholar]
- 5.Treisman M. 1975. Predation and the evolution of gregariousness. I. Models for concealment and evasion. Anim. Behav. 23, 779–800. (doi:10.1016/0003-3472(75)90106-2) [Google Scholar]
- 6.Kenward RE. 1978. Hawks and doves: factors affecting success and selection in goshawk attacks on woodpigeons. J. Anim. Ecol. 47, 449–460. (doi:10.2307/3793) [Google Scholar]
- 7.Treherne JE, Foster WA. 1981. Group transmission of predator avoidance behaviour in a marine insect: the Trafalgar effect. Anim. Behav. 29, 911–917. (doi:10.1016/S0003-3472(81)80028-0) [Google Scholar]
- 8.Inman AJ, Krebs J. 1987. Predation and group living. Trends Ecol. Evol. 2, 31–32. (doi:10.1016/0169-5347(87)90093-0) [Google Scholar]
- 9.Hamilton WD. 1971. Geometry for the selfish herd. J. Theoret. Biol. 31, 295–311. (doi:10.1016/0022-5193(71)90189-5) [DOI] [PubMed] [Google Scholar]
- 10.Foster WA, Treherne JE. 1981. Evidence for the dilution effect in the selfish herd from fish predation on a marine insect. Nature 293, 466–467. (doi:10.1038/293466a0) [Google Scholar]
- 11.Treherne JE, Foster WA. 1982. Group size and anti-predator strategies in a marine insect. Anim. Behav. 30, 536–542. (doi:10.1016/S0003-3472(82)80066-3) [Google Scholar]
- 12.Ioannou CC, Guttal V, Couzin ID. 2012. Predatory fish select for coordinated collective motion in virtual prey.Science 337, 1212–1215. (doi:10.1126/science.1218919) [DOI] [PubMed] [Google Scholar]
- 13.Olson RS, Knoester DB, Adami. C. 2013. Critical interplay between density-dependent predation and evolution of the selfish herd. In Proc. Genetic and Evolutionary Computation Conf. (GECCO), pp. 247–254. New York, NY: ACM; (doi:10.1145/2463372.2463394) [Google Scholar]
- 14.Olson RS, Knoester DB, Adami C. 2014. Evolution of swarming behavior is shaped by how predators attack. (http://arxiv.org/abs/1310.6012) [DOI] [PubMed] [Google Scholar]
- 15.Bertram BRC. 1978. Living in groups: predators and prey. In Behavioral ecology: an evolutionary approach (eds Krebs JR, Davies NB), pp. 64–96. Oxford, UK: Blackwell. [Google Scholar]
- 16.Krakauer DC. 1995. Groups confuse predators by exploiting perceptual bottlenecks: a connectionist model of the confusion effect. Behav. Ecol. Sociobiol. 36, 421–429. (doi:10.1007/BF00177338) [Google Scholar]
- 17.Kunz H, Züblin T, Hemelrijk CK. 2006. On prey grouping and predator confusion in artificial fish schools. In Proc. Int. Conf. on the Simulation and Synthesis of Living Systems (ALIFE), pp. 365–371. Cambridge, MA: MIT Press. [Google Scholar]
- 18.Jeschke JM, Tollrian R. 2007. Prey swarming: which predators become confused and why? Anim. Behav. 74, 387–393. (doi:10.1016/j.anbehav.2006.08.020) [Google Scholar]
- 19.Ioannou CC, Tosh CR, Neville L, Krause J. 2008. The confusion effect—from neural networks to reduced predation risk. Behav. Ecol. 19, 126–130. (doi:10.1093/beheco/arm109) [Google Scholar]
- 20.Olson RS, Hintze A, Dyer FC, Knoester DB, Adami C. 2013. Predator confusion is sufficient to evolve swarming behaviour. J. R. Soc. Interface 10, 20120305 (doi:10.1098/rsif.2013.0305) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Yuval B, Wekesa JW, Washino RK. 1993. Effect of body size on swarming behavior and mating success of male Anopheles freeborni (Diptera: Culicidae).J. Insect Behav. 6, 333–342. (doi:10.1007/BF01048114) [Google Scholar]
- 22.Pulliam RH, Caraco T. 1984. Living in groups: is there an optimal group size? In Behavioral ecology: an evolutionary approach (eds Krebs JR, Davies NB), 2nd edn, pp. 122–147. Sunderland, MA: Sinauer. [Google Scholar]
- 23.Couzin ID. 2009. Collective cognition in animal groups. Trends Cogn. Sci. 13, 36–43. (doi:10.1016/j.tics.2008.10.002) [DOI] [PubMed] [Google Scholar]
- 24.Goldsby HJ, Knoester DB, Clune J, McKinley PK, Ofria C. 2011. The evolution of division of labor. In Advances in artificial life. Darwin meets von Neumann (eds Kampis G, Karsai I, Szathmáry E). Lecture Notes in Computer Science, vol. 5778, pp. 10–18. Berlin, Germany: Springer. [Google Scholar]
- 25.Hamblin S. 2013. On the practical usage of genetic algorithms in ecology and evolution. Methods Ecol. Evol. 4, 184–194. (doi:10.1111/2041-210X.12000) [Google Scholar]
- 26.Caraco T. 1979. Time budgeting and group size: a test of theory. Ecology 60, 618–627. (doi:10.2307/1936082) [Google Scholar]
- 27.Roberts G. 1996. Why individual vigilance declines as group size increases. Anim. Behav. 51, 1077–1086. (doi:10.1006/anbe.1996.0109) [Google Scholar]
- 28.Beauchamp G. 2008. What is the magnitude of the group-size effect on vigilance? Behav. Ecol. 19, 1361–1368. (doi:10.1093/beheco/arn096) [Google Scholar]
- 29.RonaldPulliam H, Pyke GH, Caraco T. 1982. The scanning behavior of juncos: a game-theoretical approach. J. Theoret. Biol. 95, 89–103. (doi:10.1016/0022-5193(82)90289-2) [Google Scholar]
- 30.McNamara JM, Houston AI. 1992. Evolutionarily stable levels of vigilance as a function of group size. Anim. Behav. 43, 641–658. (doi:10.1016/S0003-3472(05)81023-1) [Google Scholar]
- 31.Clark CW, Mangel M. 1986. The evolutionary advantages of group foraging. Theoret. Popul. Biol. 30, 45–75. (doi:10.1016/0040-5809(86)90024-9) [Google Scholar]
- 32.Beauchamp G, Ruxton GD. 2007. False alarms and the evolution of antipredator vigilance. Anim. Behav. 74, 1199–1206. (doi:10.1016/j.anbehav.2007.02.014) [Google Scholar]
- 33.Ruxton GD, Beauchamp G. 2008. The application of genetic algorithms in behavioural ecology, illustrated with a model of anti-predator vigilance. J. Theoret. Biol. 250, 435–448. (doi:10.1016/j.jtbi.2007.10.022) [DOI] [PubMed] [Google Scholar]
- 34.Katsnelson E, Motro U, Feldman MW, Lotem A. 2011. Evolution of learned strategy choice in a frequency-dependent game. Proc. R. Soc. B 279, 20111734 (doi:10.1098/rspb.2011.1734) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Adami C. 2012. Boldly going beyond mathematics. Science 338, 1421–1422. (doi:10.1126/science.1230587) [Google Scholar]
- 36.Elgar MA. 1989. Predator vigilance and group size in mammals and birds: a critical review of the empirical evidence. Biol. Rev. 64, 13–33. (doi:10.1111/j.1469-185X.1989.tb00636.x) [DOI] [PubMed] [Google Scholar]
- 37.Ale SB, Brown JS. 2007. The contingencies of group size and vigilance. Evol. Ecol. Res. 9, 1263–1276. [Google Scholar]
- 38.Haley PB, Olson RS, Dyer FC, Adami. C. 2014. Exploring conditions that select for the evolution of cooperative group foraging. In Proc. Int. Conf. on the Simulation and Synthesis of Living Systems (ALIFE), pp. 310–311. Cambridge, MA: MIT Press. [Google Scholar]
- 39.Pfeiffer R, Bongard JC. 2006. How the body shapes the way we think. Cambridge, MA: MIT Press. [Google Scholar]
- 40.Beauchamp G. 2003. Group-size effects on vigilance: a search for mechanisms. Behav. Process. 63, 141–145. (doi:10.1016/S0376-6357(03)00011-1) [DOI] [PubMed] [Google Scholar]
- 41.Fairbanks B, Stephen Dobson F. 2007. Mechanisms of the group-size effect on vigilance in columbian ground squirrels: dilution versus detection. Anim. Behav. 73, 115–123. (doi:10.1016/j.anbehav.2006.07.002) [Google Scholar]
- 42.Lima SL. 1995. Collective detection of predatory attack by social foragers: fraught with ambiguity? Anim. Behav. 50, 1097–1108. (doi:10.1016/0003-3472(95)80109-X) [Google Scholar]
- 43.Edlund JA, Chaumont N, Hintze A, Koch C, Tononi G, Adami C. 2011. Integrated information increases with fitness in the evolution of animats. PLoS Comput. Biol. 7, e1002236 (doi:10.1371/journal.pcbi.1002236) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.Marstaller L, Hintze A, Adami C. 2013. The evolution of representation in simple cognitive networks. Neural Comput. 25, 2079–2107. (doi:10.1162/NECO_a_00475) [DOI] [PubMed] [Google Scholar]
- 45.Eiben AE, Smith JE. 2003. Introduction to evolutionary computing. Berlin, Germany: Springer. [Google Scholar]
- 46.Moran PAP. 1962. The statistical processes of evolutionary theory. Oxford, UK: Clarendon Press. [Google Scholar]
- 47.Hamblin S, Hurd PL. 2007. Genetic algorithms and non-ESS solutions to game theory models. Anim. Behav. 74, 1005–1018. (doi:10.1016/j.anbehav.2007.01.013) [Google Scholar]
- 48.Hamilton WD. 1964. The genetical evolution of social behaviour. I–II. J. Theoret. Biol. 7, 1–52. (doi:10.1016/0022-5193(64)90038-4) [DOI] [PubMed] [Google Scholar]
- 49.Hintze A, Olson RS, Adami C, Hertwig R. 2015. Risk sensitivity as an evolutionary adaptation. Sci. Rep. 5, 8242 (doi:10.1038/srep08242) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50.Stephens PA, Boyd IL, McNamara JM, Houston AI. 2009. Capital breeding and income breeding: their meaning, measurement, and worth. Ecology 90, 2057–2067. (doi:10.1890/08-1369.1) [DOI] [PubMed] [Google Scholar]
- 51.Sansom A, Cresswell W, Minderman J, Lind J. 2008. Vigilance benefits and competition costs in groups: do individual redshanks gain an overall foraging benefit? Anim. Behav. 75, 1869–1875. (doi:10.1016/j.anbehav.2007.11.005) [Google Scholar]
- 52.Rankin DJ, Bargum K, Kokko H. 2007. The tragedy of the commons in evolutionary biology. Trends Ecol. Evol. 22, 643–651. (doi:.10.1016/j.tree.2007.07.009) [DOI] [PubMed] [Google Scholar]
- 53.Wenseleers T, Ratnieks FLW. 2004. Tragedy of the commons in Melipona bees. Proc. R. Soc. Lond. B 271, S310–S312. (doi:10.1098/rsbl.2003.0159) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 54.Goodale E, Kotagama SW, Holberton RL. 2005. Alarm calling in Sri Lankan mixed-species bird flocks. Auk 122, 108–120. (doi:10.1642/0004-8038(2005)122[0108:ACISLM]2.0.CO;2) [Google Scholar]
- 55.Sridhar H, Beauchamp G, Shanker K. 2009. Why do birds participate in mixed-species foraging flocks? A large-scale synthesis. Anim. Behav. 78, 337–347. (doi:10.1016/j.anbehav.2009.05.008) [Google Scholar]
- 56.Abrams PA. 1991. Life history and the relationship between food availability and foraging effort. Ecology 72, 1242–1252. (doi:10.2307/1941098) [Google Scholar]
- 57.Krause J, Godin J-GJ. 1996. Influence of prey foraging posture on flight behavior and predation risk: predators take advantage of unwary prey. Behav. Ecol. 7, 264–271. (doi:10.1093/beheco/7.3.264) [Google Scholar]
- 58.Lima SL, Bednekoff PA. 1999. Back to the basics of antipredatory vigilance: can nonvigilant animals detect attack? Anim. Behav. 58, 537–543. (doi:10.1006/anbe.1999.1182) [DOI] [PubMed] [Google Scholar]
- 59.Cresswell W, Quinn JL, Whittingham MJ, Butler S. 2003. Good foragers can also be good at detecting predators. Proc. R. Soc. Lond. B 270, 1069–1076. (doi:10.1098/rspb.2003.2353) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 60.Fernández-Juricic E, Gall MD, Dolan T, Tisdale V, Martin GR. 2008. The visual fields of two ground-foraging birds, House Finches and House Sparrows, allow for simultaneous foraging and anti-predator vigilance. Ibis 150, 779–787. (doi:10.1111/j.1474-919X.2008.00860.x) [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
All data are reproducible from the open source code provided at https://github.com/phaley/eos/tree/non-embodied. Instructions are provided to ensure accurate replication of the experiments presented in this paper.