A spatial model of the red queen effect

Jules Ottino-Loffler*, William Rand, Uri Wilensky

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contribution

2 Scopus citations


Van Valen first discovered the ?Red Queen Effect? (RQE), where two species can dramatically co-evolve their phenotypes over time but never gain a relative advantage [2]. In the ideal version of the RQE, regardless of the actual values that the species evolve to obtain, they have not moved in relation to each other. Though previous models of the RQE exist, we developed an agent-based model (ABM) which has a base ontology more similar to real world coevolutionary systems than equation-based models (EBMs). For instance, this model contains spatial information and an individuallevel reproduction mechanism. Yet this model recreates traditional EBM results. For instance Dieckmann et al show that there are three possible outcomes of competitive coevolution: predator dominance, prey dominance and evolutionary cycling (RQE) [1]. By reconceptualizing this EBM using an ABM, we make it easier for students and researchers to understand, manipulate, and modify this model [4]. The model is written in the NetLogo agent-based modeling environment [3]. The model is initialized with 150 predator and 150 prey agents. Predator agents have a resistance level r and prey agents have a poison p. The agents are initially randomly distributed on a toroidal real-valued 35 by 35 grid. The initial resistance and poison values for the predators and prey are drawn from normal distributions with means ?r and ?p and a standard deviation of 1. During a model timestep, each agent moves one unit at a random heading. If at the end of its move a predator is within 1 unit of a prey, then it will challenge the prey. The predator will compare its resistance value to the prey?s poison value and which ever agent has the larger value will win the challenge and the other agent will be killed. At the end of an agent?s turn if the total number of agents is less than the maximum carrying capacity the agent willreproduce with a 50% probability. The new agent?s initial poison / resistance will be drawn from a normal distribution with the parent?s poison / resistan as the mean value and a standard deviation of 1. Our goal was to investigate whether this ABMwould repli-cate the results of the EBM of [1]. Our parameter of interest was ?p; we held ?r constant at 25 and varied ?p from 0 to 50 at increments of 5. For each value we ran the model 10 times for 5000 timesteps. Figure 1 illustrates the final average values of both the resistance and the poison for the various initial values. If there are no predators or prey then a value of 0 is plotted for the respective final trait. In most cases, one species drives the other to extinction, and there is little change in the initial trait values. However when the value of ?p is similar to ?r then neither species is completely destroyed, but if there is any significant difference between ?r and ?p then one species will die off. The highest final trait values are found when ?p = ?r, in this case we see the results of the RQE since the final trait values are much higher than the initial values. These final values are more than 1.5 rders of magnitude larger than the initial values. This model reproduces classical models of the RQE, but has two different mobile species interacting on a spatial grid over time which is a closer representation of reality than traditional models. This closer representation makes ABMs excellent teaching and experimental tools because their basic assumptions can easily be manipulated and explored. Acknowledgments: We thank the National Science Foundation and NICO for supporting this research.

Original languageEnglish (US)
Title of host publicationProceedings of GECCO 2007
Subtitle of host publicationGenetic and Evolutionary Computation Conference
Number of pages2
StatePublished - Aug 27 2007
Event9th Annual Genetic and Evolutionary Computation Conference, GECCO 2007 - London, United Kingdom
Duration: Jul 7 2007Jul 11 2007

Publication series

NameProceedings of GECCO 2007: Genetic and Evolutionary Computation Conference


Other9th Annual Genetic and Evolutionary Computation Conference, GECCO 2007
CountryUnited Kingdom


  • Agent-based modeling
  • Coevolution
  • Red queen effect
  • Spatial modeling

ASJC Scopus subject areas

  • Artificial Intelligence
  • Software
  • Theoretical Computer Science

Fingerprint Dive into the research topics of 'A spatial model of the red queen effect'. Together they form a unique fingerprint.

Cite this