Skip to main content
  • Research article
  • Open access
  • Published:

Sympatric speciation in structureless environments



Darwin and the architects of the Modern Synthesis found sympatric speciation difficult to explain and suggested it is unlikely to occur. Increasingly, evidence over the past few decades suggest that sympatric speciation can occur under ecological conditions that require at most intraspecific competition for a structured resource. Here we used an individual-based population model with variable foraging strategies to study the evolution of mating behavior among foraging strategy types. Initially, individuals were placed at random on a structureless resource landscape, with subsequent spatial variation induced through foraging activity itself. The fitness of individuals was determined by their biomass at the end of each generational cycle. The model incorporates three diallelic, codominant foraging strategy genes, and one mate-choice or m-trait (i.e. incipient magic trait) gene, where the latter is inactive when random mating is assumed.


Under non-random mating, the m-trait gene promotes increasing levels of either disassortative or assortative mating when the frequency of m respectively increases or decreases from 0.5. Our evolutionary simulations demonstrate that, under initial random mating conditions, an activated m-trait gene evolves to promote assortative mating because the system, in trying to fit a multipeak adaptive landscape, causes heterozygous individuals to be less fit than homozygous individuals.


Our results extend our theoretical understanding that sympatric speciation can evolve under nicheless or gradientless resource conditions: i.e. the underlying resource is monomorphic and initially spatially homogeneous. Further the simplicity and generality of our model suggests that sympatric speciation may be more likely than previously thought to occur in mobile, sexually-reproducing organisms.


Sympatric speciation is thought to be uncommon [1], although several systems—including races of Rhagoletis pomonella (apple maggots) and the parasitic Braconid wasps (Diachasma alloeum) they host [2], sibling species of Monostroma (i.e. M. latissimum and M. nitidummarine, green algae off the coast of Japan [3]), cichlid species ((Amphilophus sp.) complexes in isolated lakes [4] (but see [5]), and the iconic Darwin finches [6]—are considered to be examples of such speciation. The current prevalent view of sympatric speciation is that it is driven by disruptive selection through ecological competition on traits linked to assortative mating mechanisms that, when of genetic origin and not associated with sexual selection, are referred to as “magic traits” [711]. The genetic mechanisms underlying sympatric speciation can be quite varied, but they are often thought to involve either some type of recognition system (see [12] and the references therein) or ecological-mediated mate-sorting, such as heteropatry (individuals mate within preferred patch types on a mosaic landscapes [13]). Other, more subtle types of mechanisms also exist [14], suggesting that more mechanisms are likely to be discovered.

Ecological models underlying disruptive selection have invoked either multiple distinct habitat types (which have been referred to as “Levene models” [1]) or a resource gradient, such as seed size in the case of gramnivorous vertebrates. These cases, of course, encompass a considerable variety of situations. An influential, logistic-equation-based, adaptive dynamics analysis by Dieckmann and Doebeli [15] showed that sympatric speciation is a likely outcome of competition for resources. Disruptive selection in their model arose from the competitive exclusion process associated with resource competition processes [16]. In concert with disruptive selection, Kirkpatrick and Ravigne [17] identified a concatenation of mechanisms needed for speciation to occur: an isolating mechanism (e.g. associative mating), a mechanism to link disruptive selection and isolation, a genetic basis for increased isolation, and an appropriate initial situation. Dieckmann and Doebeli’s [15] simulations involved pitting individuals against one another that have different density-dependent growth responses to a given implicit ecological background (the implicitness was reflected in terms of the value of the carrying capacity parameter in the logistic model for the individual in question) and, as such, fell within the growing genre of using individual-based models (IBM) to address ecological and evolutionary questions [18].

Recently, we used an IBM to demonstrated that if a uniform monomorphic resource landscape is peppered at random with consumers that are identical in terms of their ability to compete, extract and convert resources for growth—but employ individually variable movement behavior strategies (in terms of when and where to move, based on evaluations of resource levels and number of competitors in different directions of the compass)—then a polymorphic movement strategy guild emerges with structure dependent on historical quirks [19] rather than on an intrinsic system's attractor. This result considerably weakens the ecological precursors that are necessary for sympatric speciation to occur. Further, if we assume some type of mate labeling cues are linked to behavioral strategies, such as visual coloration correlated with both behavioral type and mating strategies in side-blotched lizard (Uta stansburiana) [20] and Midas cichlids (Amphilophus citrinellus) [21]—then we have a magic trait system [711] that can be used both to promote the reproductive separation of individuals belonging to different behavioral syndromic groups. Further, mating strategies that promote fitness often arise even though we currently may have no verified explanation for their origin, as with observations that olfactory cues are used to avoid sibmating in house mice (Mus musculus domesticus) [22]. In our model assortative mating, which is widespread through the animal kingdom [23], promotes fitness, as evidenced by the greater efficiency of clonal versus sexual foraging guilds in exploiting the model resource space [19].

The specific question we address here, in the context of individuals foraging on a structureless resource landscape [19], is the following: if the genetic precursors are in place for a magic-trait system to emerge within a randomly mating population, will assortative mating, as a precursor to sympatric speciation, emerge and become firmly established? The question is answered here in the affirmative, both through our simulation studies and with a well-supported explanation of why we should expect consumer-resource systems to behave in this way. In addition, the results we obtain serve to refute the following hypothesis, articulated in terms of a nicheless resource environment; by which we mean the resource is structurally homogeneous (i.e. it has no spectral qualities such as size or even color variation and exhibits no density gradients, though it can consist of randomly distributed patches or packages of resource):

Hypothesis: Two closely competing morphs (or strains), coevolving in a mixed population, cannot coexist if they both exploit a nicheless resource environment.

Given that it only takes one counterexample to disprove an hypothesis, the example we provide rejects this hypothesis and lays to rest the issue that some kind of resource niche structure is needed to ensure that sympatric speciation can occur when the supporting mechanisms of disruptive selection and genetically driven reproductive isolation, as identified by Kirkpatrick and Ravigne [17], emerge and become fixed. In short, the results we present below demonstrate that different foraging types may not only coexist (as demonstrated in [19]), but that they may be corralled by a magic-trait system [711] into mating assortatively, which is a precursor to reproductive isolation and, ultimately, speciation [17].


Evolutionary simulations

Simulations were carried out using the model described in the Methodology Section, essentially running an evolutionary algorithm on top of our individual-based, single-generation foraging (i.e. ecological) model over evolutionary epochs that were either 250 or 500 generations long. The ranges of final population sizes at generation 250 and 500, together with the means and standard deviations of the mating-phenotype (magic) parameter m across runs, as well as mean values of the standard deviation across runs, are given in Table 1. Statistical analyses of these results reveal that the mean values of m for the random (m = 0.49 ± 0.13, n = 124) and m-trait (m = 0.21 ± 0.09, n = 80) mating are significantly different at generation 250, as well as at generation 500 (n = 15 for both the random m = 0.53 ± 0.20 and m-trait m = 0.10 ± 0.09 mating cases), suggesting that the m-trait gene evolves to promote assortative mating. The distributions of the values of m for the 250-generation cases are plotted in Fig. 1, as a histogram binned into 0.1 unit intervals.

Table 1 Range of population sizes and basic statistics of the parameter values of m for random (value of m has no affect) and m-trait mating (i.e. assortative mating when m < 0.5, dissasortative mating when m > 0.5) simulations at the end of the 250 and 500 generation epochs
Fig. 1
figure 1

Frequency histograms of the mean value of m under random (blue) and m-trait (red) mating (purple represents areas of overlap) for the 500 generation cases. See Table 1 for more details

Emergent genetic structure

To provide a sense of the emergent genetic structure at the end of the 500 generation runs (where this structure is more evolved, and hence sharper than after 250 generations), in Table 2 we list the mean values of m across all agents in each of the 15 random and 15 m-trait mating runs along with the heterozygote deviance (i.e. an index of inbreeding and clustering; see Methods for details) associated with α, the most diverse of the three behavioral parameters in the model (See Methods for further explanation). The differences in each of these three measures when compared across random versus m-trait mating are all highly significant (p < 0.001 in all three cases, Mann–Whitney U tests).

Table 2 Information on the genetic structure of the population at generation 500 for 15 evolutionary runs under random versus m-trait mating (run numbers sorted on m separately for cases A. and B.; genetic structure of runs 1 and 15 for both cases illustrated in Fig. 2). The heterozygote deviance value (see Method section) is with respect to the parameter α, while the % variance explained by our principal components analysis (PCA) is with respect to the first two components

For the four simulations corresponding to the highest and lowest average m values for the random and m-trait mating cases in Table 2, the genetic structures that emerged at generation 500 are plotted in Fig. 2 (with results from all 30 simulations illustrated in the Additional file 1). Specifically, the plots are: the values of all four parameters (see the Methods Section for an explanation of these parameters) for each individual (Fig. 2, top panels in each of the four cases), the location of each individual in the first two principal components space (Fig. 2, middle panels in each case), and of the dendrograms associated with the principal components analysis (PCA; Fig. 2, bottom panels in each case). The m-trait simulations show defined genetic structure has evolved across all four parameters, with the lowest m value run of the m-trait mating case showing a particularly clear structure (Fig. 2) of two alleles for δ (red—the two dominant bands are the homozygote phenotypes), two alleles for ρ (green—the two dominant bands are the two homozygote phenotypes), one allele for m (black) parameters, and three alleles for α (blue—three dominant homogyzote bands plus smaller heterozygote bands). The PCA analysis shows very clear genetic groupings for the case of the smallest m value for the m-trait mating (Fig. 2) while PCA space grouping are much less distinct for the remaining three cases. Similarly the dendrograms indicate that the populations in the m-trait mating cases consist of a couple or several (depending at what vertical axis distance the groups are parsed) groups of more highly related individuals within groups and more distantly related individuals among groups, consistent with the fact that assortative mating groups are forming and increasing their reproductive isolation among groups.

Fig. 2
figure 2

Genetic structure of runs 1 and 15 in Table 2 for the random and m-trait mating cases are illustrated here in three different ways (see Additional file 1: Figures S1 and S2 in the supplementary online file for figures depicting all 30 cases for panel types i. and iii.). These are i.) bottom left panels for each case: the α (blue), δ (red), ρ (green) and m (black) parameter values (see Methods Section for an explanation of these parameters) ordered along the horizontal axis according to the final biomass achieved by individuals during generation 500 of the ecological simulation; ii.) bottom right panels for each case: a plot of each individual in the space of the first two principal components of a principal components analysis (PCA) for individuals located in the four-dimensional (α, δ, ρ, m)-parameter space, with the colored vectors (color coded as in 1. above) indicating the relative weightings of these four parameters (in the m-trait cases the weights of two parameters are almost identical resulting in one vector obscuring another); iii) top panels for each case: a plot of the dendrogram generated by the PCA


Interpretation of the results

At the start of each generation the resource landscape consists of a uniformly distributed landscape of a monomorphic set of resource patches (top left panel, Fig. 3; top panel Fig. 4), where the resource biomass in each patch changes over time due to resource growth and forager extraction processes [19]. Foragers, in the form of 100 agents are peppered at random over this landscape at the start of each generational cycle. These agents at the start of the evolutionary epoch (250 or 500 generations, as the case may be) have variable foraging strategies assigned to them (second from top panel, Fig. 4). Some time into each intra-generational ecological simulation, the resources on the landscape have increased, except in those cells where agents have been exploiting resources (top middle panel, Fig. 3). Agents with poor foraging strategies appear as small white rectangles, while more successful agents appear as round purple dots in this same panel (bigger dots correspond to agents that have grown the most; cf. top middle panel, Fig. 3).

Fig. 3
figure 3

Various stages of the within-generation simulation (top three panels) show agent location and biomass state (blue-to-purple circles, size an indication of relative biomass) and within cell resource levels (light to dark green indicating low to high resource levels). Solid yellow rectangle contains the eight nearest-neighbors around agent 1’s current location); broken yellow rectangle contains the eight nearest-neighbors and 16 next-to-nearest neighbors around agent 2’s location. Individuals choose mates from across the whole landscape and not just local neighborhoods. Red and blue graphs in middle and right bottom panels show the result from two repeated runs of the number of agents each generation and the total final biomass of these agents and the end of each generation over a 500-generation evolutionary simulation

Fig. 4
figure 4

A cartoon of the processes involved in priming the system for sympatric speciation. See text for further discussion

As time progresses, the number of agents reaches a carrying capacity with stochastic perturbations (bottom middle and right panels in Fig. 3), but the relatively intense level of competition ensures that individuals are smaller on average than we see in the early stages of the evolutionary epoch (low values of the generation index g, as g increases from 1 to 250 or 500; compare top middle and right panels in Fig. 3), when population levels are around 100 (the first 10 generations) rather than above 300 (>150 generations—see lower middle panel of Fig. 3). In this latter period of intense competition, the homogeneous environment takes on a mosaic structure of resource patches at various stages of regeneration (upper right panel Fig. 3; third panel from the top Fig. 4). At this stage, the optimal foraging strategy type depends on the mix of existing foraging strategy types and is affected by both absolute and relative numbers. Thus, at the start of each generation, the fittest foraging strategy type depends both on the number of within generation foragers and on each of their strategy types. As in the iconic, but deterministic, hawk-dove game the evolutionarily stable strategy (ESS) is a polymorphism represented by a ratio of hawks to doves that satisfies Nash equilibrium conditions (a discussion of the concepts in this sentence can all be found in a review by Nowak and Sigmund [24]). Unlike the hawk-dove game, our system is dynamic with regard to the exploitation of resources by foragers (i.e., during each iteration of the ecological component of the model) and also stochastic. The latter implies that an ESS does not exist in the deterministic sense. To address the question of the existence of a long-run average ESS entails the formulation of the concept of a quasi-stationary strategy (QSS), as defined by Zhou et al. [25]. They demonstrated that a QSS can only be regarded as the long-run average ESS if the stochastic dynamical system’s approach to its QSS is not too rapid. If it is too rapid, as happens in our system, the QSS that emerges is different in each simulation (of 250 or 500 generations in our case). Put in other terms, the dynamic adaptive landscape that is associated with our system’s evolutionary dynamics is the basis for support of a polymorphic guild of foraging strategy types, where the evolving configuration is dependent on the early evolutionary history (i.e. on early stochastic events) of the simulation.

The m-trait mating gene that we included in our model, as an extension to our earlier work [19], has the potential to take the population in two directions—assortative or disassortative mating. In our simulation of this extended model we observed that: i) when the gene is inactive (i.e. it does not actually influence mating), the value of m wanders in either direction, but across runs realizes an average value very close to m = 0.5 (Table 1); ii). when the gene is active (i.e. it influences mate choice in individuals with m phenotypes sufficiently different from 0.5: viz. it engages disassortative or assortative mating 72 % of the time when m is respectively 0.6 or 0.4: see Methods section for details), the value of m evolves downwards over time, as illustrated in the panel second from the bottom in Fig. 4. This evolution of m is associated with the emergence of an organized genetic structure (bottom panel in Fig. 4), defined by homozygous individuals grouped into “strain” types. These strains are different behavioral foraging types, with regard to tradeoffs involving avoidance of competition, propensity to move from current to richer resources patches, and one-step-tactical versus two-steps-strategic planning (as described more precisely in the Methods section). Guilds of strains (or foraging types) are better at exploiting adaptive landscapes with multiple peaks (which may dynamically adjust with changes in strain frequencies and environmental factors: e.g., see [26]) than non-guild populations, much as clonal populations better exploit the environment than a randomly reproducing sexual population, as demonstrated in our previous study [19]. Since the integrity of these guilds is eroded by the continual production of heterozygote individuals, evolution drives mate selection to become associative when an m-trait system (e.g. recognition based on physical matching of mates to self) that permits mate selection is in place.

Generality of the model

The model we use is rather generically formulated. Resource consumption is modeled by a Holling type II response function that incorporates interference competition (as originally formulated by Beddington [27] in the context of both predators and parasite search efficiency, by DeAngelis and colleagues [28] in the context of trophic interactions at several levels, and by Getz in the context of biomass transformation webs [29]), but also includes an additional ‘abruptness’ parameter that interpolates between more contest-like and more scramble-like competition [30]. We set the abruptness parameter to be intermediate between these extremes, though interference competition in general for food resources is known to exert a strong selective force on all animals [31]. The movement rules in the model are as applicable to unicellular organisms able to detect resources and conspecifics using chemical gradient signals, as they are invertebrate or vertebrate herbivores, or even omnivores or carnivores if resources patches are suitably scaled to appropriate movement ranges. The primary requirements of the model are that individuals should: i) locally reduce resource density before moving on to areas of greater resource density; ii) have the means to perceive environmental conditions beyond their immediate surroundings (if necessary through the implementation of scouting activities before finally deciding where next to feed); and iii) be able to choose mates based on characteristics correlated with foraging behavior. The model, however, requires no assumptions about the structure of the resource other than the extraordinarily weak assumption that it is locally depletable but renewable. Resources in the model are monomorphic, grow everywhere at the same rate, and are initially homogenously distributed across the landscape. Spatial gradients or distribution across any kind of spectrum (such as seeds occurring in different sizes) are not needed, but any additional resource structure only enhances opportunities for individual specialization to occur, provided this structure is not overly elaborate [32, 33].

Applicability of the model

Biologists are increasingly identifying species complexes that are best understood in terms of sympatric speciation taking place due to disruptive selection—that is, heterozygotes (hybrids) are less fit than homozygotes (true-species)—and magic trait type mechanisms promoting assortative mating. Merrill et al. [34], for example, have shown in Heliconius butterflies that hybrid color-pattern phenotypes are attacked more frequently than parental forms, thereby demonstrating disruptive ecological selection on a trait that also acts as a mating cue. In the side-blotched lizard, Uta stansburiana, for example, Corl et al. [20] found geographically widespread throat color polymorphisms where, in some areas, these polymorphisms are reduced in numbers of different morphs. Their phylogenetic reconstructions show that ancestral polymorphisms, though often lost, give rise to morphologically distinct subspecies/species. They further showed that this polymorphism loss was associated with accelerated evolution of sexual dimorphisms, thereby suggesting that polymorphism loss is implicated in species formation. Podos et al. [11], for example, studied the contribution of a magic trait scenario in the divergence of song elements among the Galapagos Santa Cruz Island’s medium ground finches (Geospiza fortis). They used the results they obtained to argue that song divergence and discrimination, which are fundamental elements of assortative mating in these finches, is likely fostered in early stages of subspecies divergence under a magic trait mating scenario. Red crossbills provide another ornithological example [35, 36], as likely do some species of ducks [37]; and, in insects, fruitfly provide a possible example [38].

Foraging behavior and correlated cues

To some extent we should expect foraging behavior to be an expression of a plastic response to environmental cues, though the threshold values of cues for producing behavior could be under genetic control. This is known, for example, to be the case in honeybees [39] (e.g. switching from within hive tasks to foraging). How likely is it, however, that variation in foraging behavior is correlated with detectable visual, auditory or olfactory cues that may be used in an m-trait mate selection system? Searle et al. [40] provide a detailed discussion regarding the ubiquity of variation of foraging behavior due to environmental and genetic causes in large mammalian herbivores, with a summary of the mechanisms driving this variation (cf. Table 1 in [40]). Variation can be morphological with associated visual cues: viz. stockier individuals may prevail under contest competition, lither individuals may be more efficient movers, taller individuals more able to assess the state of surrounding resources and so on. Additionally, physiological variation may be correlated with odor cues [41], while morphological variation with auditory cues [42]. In species that have evolved mechanisms to discriminate among individuals—which both invertebrates and vertebrates are able to do using purely genetic cues (i.e. no environmental influences are needed) in contexts as fine as discriminating among individuals based on degree of relatedness to self [43]—these mechanisms are in place to function as an m-system, provided mate-selection systems are also in place (which they often are [44, 45]). Additionally, it is conceivable that sympatric species, which vary with respect to foraging behavior, may have separated under a magic trait system that subsequently atrophied (e.g. the cue system disappeared) once other prezygote barriers emerged to entrench speciation.

Assortative mating systems

In our model, mate selection is not influenced in any way by constraints on movement, because we assume that individuals choose mates from among the population as a whole. In many species, individuals may avoid choosing siblings or even close cousins as mates, with recognition systems evolving to facilitate outbreeding [43]. Beyond this constraint, however, individuals may still assortatively mate, or at least it may be advantageous for them to assortatively mate. For example, it has been shown that individuals in a species of mouse (Mus spicilegus) reproduce more rapidly when mates are of similar personality types [46]. Similarly, it has been shown in the great tit (Parus major) that parental pairs with similar environmental exploratory rate scores interacted more at the nest than pairs with dissimilar scores [47], while it has been shown in Stellar’s jays that parental compatibility with regard to behavioral type (referred to as behavioral syndromes) increase fitness [48]. While assortative mating purely in the context of genetically expressed phenotype frequencies leads to increased homozygosity, it likely also leads to inbreeding, particularly in small populations, unless a counter prevailing system exists to avoid mating with close relatives. Though we did not include an assessment of inbreeding levels in our m-trait mating system, both our random and magic-mating simulations are subject to the same level of 'small population' inbreeding because they involve populations of similar sizes (see “Agent Ranges” column in Table 1). Thus any differences in levels of homozygosity that occur between our two simulation treatments (random vs. magic-mating) cannot be explained in terms of 'small population' inbreeding effects, but are due to assortative mating alone.

Existence of magic trait systems

How likely is it that magic trait systems exist? Thibert-Plante and Gavrilets [10] used a stochastic, individual-based model to study six different mechanisms of non-random mating, including magic trait mating, evolving in the context of dispersal, niche invasion, and adaptive radiation. As a result of their study, Thibert-Plante and Gavrilets [10] conjecture that mate choice is likely based on a few ‘major traits’ that have direct impact on fitness, which is the case in our model. Further, Thibert-Plante and Gavrilets [10] suggest that magic traits may emerge by co-opting locally adaptive traits for mating decisions, as is also the case in our model. Additionally, Servedio et al. [9] review a variety of mechanisms by which magic traits can be produced and conclude that magic traits occur more frequently than previously thought.


Our study builds on that of Dieckmann and Doebeli [15] who used an adaptive dynamics approach, in the framework of logistic growth models for a population of phenotypes characterized by a variable x, to show that the hypothesis articulated in the opening section of this paper does not hold, thereby rendering speciation a much more likely outcome of competition for resources than previously thought. Implicit in their model is a resource spectrum that implies individuals of phenotype x have an environmental carrying capacity K(x). Additionally we note that this function is an input rather than an emergent property of their model. This model was recently generalized by Haller et al. [33] and used to show that on complex landscapes—which may include environmental gradients, metapopulation structure, and patchiness at different spatial levels of resolution—that intermediate levels of heterogeneity are most likely to lead to the emergence of evolutionary branching, a pattern showed earlier to hold for species as well [32]. Haller et al. [33] also showed that the effects of different types of heterogeneity appear to some extent to be additive in causing evolutionary branching. In another recent study, Debarre [49] asked the question “Can speciation occur in a single population when different types of resources are available, in the absence of any geographical isolation, or any spatial or temporal variation in selection?” and answered the question by stating that “… sympatric ecological speciation is favored when (i) selection is disruptive (i.e. individuals with an intermediate trait are at a local fitness minimum), (ii) resources are differentiated enough and (iii) mating is assortative. In our model, unlike Debarre’s, no resource structure is specified. Further, an implicit resource spectrum is not implied, as in Doebeli and Dieckmann [15] in terms of an input function K(x), or explicitly specified, as in a recent analysis by Thibert-Plante and Hendry [50]. In fact, we model resource extraction and the ensuing growth effects identically for all individuals: all individuals have precisely the same growth rates and competitive interaction parameter values when exploiting resources at a particular level within any resource cell (patch) on the landscape.

In our model, differences in the strategies of individuals to gather resources over time arises from the particular behavioral strategy employed by individuals to efficiently search out resources over an initially homogeneous resource landscape, while individuals may also move to reduce competitive interactions to differing extents. This initially homogeneous landscape, however, takes on a stochastically generated mosaic structure as a result of the foraging patterns of competitors and of resource regrowth (or replacement) within patches. This induced spatial heterogeneity, without additional gradient structures, is both as simple as can be expected in nature with regard to overall resource structure (the resource is monomorphic with no specified spatial gradients) and more realistic than assuming a constant homogeneous background. The latter follows since all organisms locally deplete resources unless they are located in a constant resource flux (e.g. a spatially homogeneous photon flux and individuals are located so they do not shade the flux from competitors, which is a severely restrictive requirement). Dieckmann and Doebeli [15] also consider the evolution of assortative mating using the type of m-gene approach that we took here, and they demonstrated in their model that assortative mating often arises and takes the population in the direction of reproductive isolation among ecologically diverging subpopulations. In our case, though, the divergence emerges from a behavioral polymorphism rather than requiring a structural ecological input through a specified carrying capacity function K(x). Thus, to the extent that Dieckmann and Doebeli [15] conclude that their “… theory conforms well with mounting empirical evidence for the sympatric origin of many species,” we can conclude the same with less restrictive conditions in that we do not specify any growth rate or other ecologically-related variation with regard to individual phenotypes.


Agent-based consumer-resource model

The model was developed on the Nova Platform [51] following methods more fully described elsewhere [19]. The model is a discrete time, agent-based, stochastic, consumer-resource formulation that simulates the movement behavior and growth of a population of consumers on a cellular array. In each of 100 time steps, representing the passage of a single generation, and a single pass through of the ecological component of the model, individuals can either stay within their current cells (i.e., resource patches) and consume amounts of resources determined by a Beddington-DeAngelis type response function (i.e., compensatory with regard to resource density, decreasing with regard to the level of intraspecific competition and has the same parameter values for all individuals—for more details see [19, 29]), and hence gain in biomass, or individuals can move at some cost to their current biomass to one of 8 neighboring cells (lower left panel, Fig. 3). The resources in cells grow logistically, including a reservoir component (root mass below ground), but lose biomass due to extraction by consumers.

Foraging strategy within generation simulation

The only variation among individuals is their current location, their accumulated biomass state, and the value of three foraging-strategy parameters: α, δ and ρ. The specifics of how these parameters affect foraging behavior are described below and a description of the mathematical equations used are provided elsewhere [19]. For the sake of clarity, however, we summarize this foraging behavior in terms of the parameter values that represent the (α,δ,ρ)-strategy phenotypes of individuals: i) individuals compare the resources and competitors in their current cells, as well as eight neighboring cells, where each cell represents a movement direction, and competitors are counted in terms of the number of individuals that could potentially be inside cells in the next time step; ii) individuals also compute average resource levels and competitors in each of the eight neighboring directions, across those cells that can be reached in two moves (see dotted yellow rectangle in left bottom panel of Fig. 3); iii) individuals weigh the relative value of a unit of resource to the cost of competing with a conspecific, using the parameter value δ ≥0 (i.e. the competition tradeoff parameter) to obtain a weighted value for each cell; iv) individuals only move to the best neighboring cell if their current cells weighted value is less than ρ ≥ 0 times that of the best neighboring cell (i.e. the movement threshold parameter); v.) each neighboring cell also includes an average value of that cell’s nearest neighbors discounted by a factor α ≥ 0 (i.e. the next neighbor-discount parameter). Note that α ≥ 1 implies an inflation of the relative importance of the values of the cells two steps removed from an individual’s current location compared with its immediate neighbors. A simulation run of the model begins with an initial number of individuals, which we set to 100 in the first generation (lower middle panel, Fig. 3). For the first few time steps each individual exploits its local patch in an otherwise homogeneous landscape (top left panel, Fig. 3) until individuals with high movement threshold phenotypes values ρ move (the closer ρ ≥ 0 is to 1 the more readily individuals move). The individuals then accumulate biomass by grazing pathways through a regenerating resource landscape (top middle panel, Fig. 3), with the individual’s biomass state at the end of the 100 times steps (i.e. 1 generation) representing the individual’s relative reproductive fitness.

Reproduction model

At the end of each 100 step, intergenerational cycle or single pass through of the ecological component of the model, individuals are ranked according to their biomass and then allowed to reproduce sexually, assuming a diploid genetic structure and hermaphroditic mating (i.e. parents pair up, using rules described below, without regard to sexual designation). In a previous study [19], we employed hard selection by allowing the top half of individuals to pair up at random and produce four young each, thereby restoring a preselected number of individuals to compete each generation. Here we employed soft selection as follows. After pairing individuals, we took the average biomass B pair of each pair, and produced a pair fecundity index P pair, based on the maximum biomass B max over all individuals: viz., P pair = B pair /B max. We then used the binomial distribution with maximum possible number of progeny n max to stochastically calculate the actual number of progeny n pair ~ BINOMIAL[n max,P pair] (for “~” read “is drawn from”). This produced at the end of generation g (g = 1,…,250 or 500, as the case may be) a total of N g+1 progeny to start off the next generation, each with the same initial biomass condition. Note that each iteration of g represents one run through of the ecological component of the model, followed by one run through of the reproduction component of the model. As we see in Fig. 3 (bottom middle panel), for the ecological parameter values used in our model (i.e., those used in [19]), the system evolves from an initial 100 progeny in the first generation to stabilize at an across-generation average of around 300 plus individuals from generation 100 onwards. Note that we used the same parameter values for the ecological component of the model as we did in [19], because the purpose of this study was to not explore the evolutionary aspects of the ecological behavior of the system in more depth, but to extend our previous work to study how easily assortative mating may arise in a systems that has the potential for non-random mating (either assortative or disassortative) to evolve.

Genetic and magic-trait model

Beyond the three foraging-strategy phenotype parameters (α,δ,ρ) included in our previous study [19], we included a fourth magic trait parameter m. Because our individuals are diploid, under the assumption that all traits are governed by co-dominant phenotypic determination, individual k (k = 1,…, N g in generation g) has the following genotype and phenotype:

Genotype of individual k: (α κ1, α κ2; δ κ1, δ κ2; ρ κ1, ρ κ2; m κ1, m κ1)

Phenotype of individual k: ([α κ1 + α κ2]/2; [δ κ1 + δ κ2]/2; [ρ κ1 + ρ κ2]/2; [m κ1 + m κ1]/2)

In all our simulations, we created from 0 to n max (number given by binomial drawing described above) progeny genotypes under Mendelian random segregation: i.e. each parent contributed one of its two alleles at random for each of the parameters in the progeny genotype. We then allowed for mutations, using a procedure described in [19] (i.e. each allele in each progeny could be perturbed by a small amount that declined from around 10 to 0.1 % over time using a simulated annealing approach within our genetic algorithm).

Mate choice process

At the start of the evolutionary simulation, the allelic values for m of all individuals were all assigned the value 0.5, so non-random mate selection played no role in the mating process. Under random mating, the phenotypic value of m, though it would drift, and even self-organize because of linkages that arise to other genes through inbreeding in small population sizes, played no role in mate choice. Under m-trait mating, however, the value of m played a role in the model as follows.

  1. a.

    The measures D k  = 2*|m i  − 0.5| where calculated thereby insuring 0 ≤ D k ≤1 for all individuals k = 1,…,N g ,.

  2. b.

    Starting with the largest individual (ranked by biomass at the end of each generation), individual k selected a mate at random with probability 1-(D k )γ, 0 < γ ≤ 1 (thus as γ approaches 0 the probability of random mating approaches 0 for all possible value of D i ). In our study we used the value γ =0.2, which results in non-random mating 72 % of the time when m is respectively 0.6 or 0.4.

  3. c.

    We model the assumption that individual k could have a sense of its degree of similarity to individual j, by defining the measures

    $$ \begin{array}{ccc}\hfill {d}_{kj}=\sqrt{{\left({\alpha}_k-{\alpha}_j\right)}^2+{\left({\delta}_k-{\delta}_j\right)}^2+{\left({\rho}_k-{\rho}_j\right)}^2},\hfill & \hfill j\ne k,\ \hfill & \hfill j=1,\dots, {N}_g\hfill \end{array} $$

    and then applying the following deterministic rules when individuals have been selected to mate non-randomly

    1. i.

      If m k  < 0.5 then individual k chooses individual j, where \( j=\underset{i}{ \min}\left\{{d}_{ki}\right\} \)

    2. ii.

      If m k  > 0.5 then individual k chooses individual j where \( j=\underset{i}{ \max}\left\{{d}_{ki}\right\} \)

    3. iii.

      If m k  = 0.5 then individual i choose individual j at random.

Under this algorithm, individuals are increasingly likely to mate non-randomly as their phenotypic value of m drifts away from 0.5, mating disassortatively when m k  > 0.5, but mating according to the a magic trait assumption (i.e. assortatively) when m k  < 0.5.

Analysis of evolutionary data

Initially, we undertook a series of random mating and m-trait mating runs of the model over an evolutionary epoch of 250 generations. For the sake of efficiency, we ran these on several different computers simultaneously, experiencing some failures due to web issues and computer crashes. At the point where we had accumulated 124 random mating and 80 m-trait mating runs we decided to compare the results using a Mann–Whitney U test of the average m-trait values across the final population of progeny produced at generation 500. We selected the Mann–Whitney U test, rather than the more general Kolmogorov-Smirnov test for differences between two distributions, because we were interested in evaluating shift rather than general shape differences in the two distributions of m-trait values. To sharpen the outcomes of the evolutionary process, we conducted an additional 15 runs each of random mating and m-trait mate selection of an evolutionary epoch of 500 generations. At the end of each of the runs, we generated a csv (comma separated values) file that organized the following output data, with rows being individuals the following information by columns (phenotype and then genotype information follows the biomass column): Individual#, biomass, α, δ, ρ, m, α 1, α 2, δ 1, δ 2, ρ 1, ρ 2, m 1, m 2. We computed the means and standard deviation for each of the columns, as well as the means of these column summary statistics across groups of runs. We also produced graphs of the phenotypes of individuals (vertical axis) organized by biomass of individuals (horizontal axis). We applied cluster analyses (Ward’s method) to the α-phenotype data in each run and plotted the resulting phylogenetic trees and the data in the plane spanned by the first two principal components (PC analysis or PCA) of these data. We calculated the heterozygote deviance of the population from Hardy-Weinberg equilibrium [52] using the following formula involving the observed proportion, H obs, of heterozygotes and the expected proportion, H exp, at Hardy-Weinberg equilibrium

$$ \mathrm{Heterozygote}\kern0.5em \mathrm{deviance}=\left({H}_{obs}\hbox{--} {H}_{exp}\right)/{H}_{exp} $$

Our reason for focusing on the α parameter rather than δ or ρ (note: an individual may be homogeneous in one and heterogeneous in another of these parameters) is that greatest allelic variation in our model is observed at the α gene (i.e. the gene that weighs the relative importance of being tactical versus strategic—i.e. looking at the state of the ‘immediate’ versus ‘next-to-immediate’ neighborhoods).

Availability of data and materials

This study was not based on empirical data, but rather simulations obtained by running a model built using the Nova Software Platform. This Nova can be downloaded from the Nova Software Website The software platform is free, but users need to register and obtain a license to run the model under Windows, Mac OS X, and Linux operating systems.

The model itself can downloaded from by clicking on the link: “Sympatric Speciation Foraging System”.



principle components analysis


supporting information (file online)


  1. Bolnick DI, Fitzpatrick BM. Sympatric speciation: models and empirical evidence. Annu Rev Ecol Evol Syst. 2007;38:459–87. doi:10.1146/Annurev.Ecolsys.38.091206.095804.

    Article  Google Scholar 

  2. Forbes AA, Powell THQ, Stelinski LL, Smith JJ, Feder JL. Sequential sympatric speciation across trophic levels. Science. 2009;323(5915):776–9. doi:10.1126/Science.1166981.

    Article  CAS  PubMed  Google Scholar 

  3. Bast F, Kubota S, Okuda K. Phylogeographic assessment of panmictic Monostroma species from Kuroshio Coast, Japan, reveals sympatric speciation. J Appl Phycol. 2014:1-11. doi:10.1007/s10811-014-0452-x.

  4. Barluenga M, Stolting KN, Salzburger W, Muschick M, Meyer A. Sympatric speciation in Nicaraguan crater lake cichlid fish. Nature. 2006;439(7077):719–23. doi:10.1038/Nature04325.

    Article  CAS  PubMed  Google Scholar 

  5. Martin CH, Cutler JS, Friel JP, Touokong CD, Coop G, Wainwright PC. Complex histories of repeated gene flow in Cameroon crater lake cichlids cast doubt on one of the clearest examples of sympatric speciation. Evolution. 2015;69(6):1406–22. doi:10.1111/Evo.12674.

    Article  PubMed  Google Scholar 

  6. Grant BR, Grant PR. Darwin finches–population variation and sympatric speciation. Proc Natl Acad Sci U S A. 1979;76(5):2359–63. doi:10.1073/Pnas.76.5.2359.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  7. Gavrilets S. Fitness landscapes and the origin of species. Princeton, N.J.; Oxford: Princeton University Press; 2004.

    Google Scholar 

  8. Servedio MR, Kopp M. Sexual selection and magic traits in speciation with gene flow. Curr Zool. 2012;58(3):510–6.

    Article  Google Scholar 

  9. Servedio MR, Van Doorn GS, Kopp M, Frame AM, Nosil P. Magic traits in speciation: ‘magic’ but not rare? Trends Ecol Evol. 2011;26(8):389–97. doi:10.1016/J.Tree.2011.04.005.

    Article  PubMed  Google Scholar 

  10. Thibert-Plante X, Gavrilets S. Evolution of mate choice and the so-called magic traits in ecological speciation. Ecol Lett. 2013;16(8):1004–13. doi:10.1111/Ele.12131.

    Article  PubMed Central  PubMed  Google Scholar 

  11. Podos J, Dybboe R, Ole Jensen M. Ecological speciation in Darwin’s finches: parsing the effects of magic traits. Curr Zool. 2013;59(1):8–19.

    Article  Google Scholar 

  12. Hepper PG. Kin recognition. Cambridge: CUP; 1991.

    Book  Google Scholar 

  13. Getz WM, Kaitala V. Ecogenetic models, competition, and heteropatry. Theor Popul Biol. 1989;36(1):34–58.

    Article  Google Scholar 

  14. Norrström N, Getz WM, Holmgren NMA. Selection against accumulating mutations in niche-preference genes can drive speciation. Plos One. 2011;6(12), e29487. doi:10.1371/journal.pone.0029487.

    Article  PubMed Central  PubMed  Google Scholar 

  15. Dieckmann U, Doebeli M. On the origin of species by sympatric speciation. Nature. 1999;400(6742):354–7. doi:10.1038/22521.

    Article  CAS  PubMed  Google Scholar 

  16. Levin SA. Community equilibria and stability, and an extension of competitive exclusion principle. Am Nat. 1970;104(939):413. doi:10.1086/282676.

    Article  Google Scholar 

  17. Kirkpatrick M, Ravigne V. Speciation by natural and sexual selection: models and experiments. Am Nat. 2002;159:S22–35. doi:10.1086/338370.

    Article  PubMed  Google Scholar 

  18. DeAngelis DL, Mooij WM. Individual-based modeling of ecological and evolutionary processes. Annu Rev Ecol Evol Syst. 2005;36:147–68. doi:10.1146/annurev.ecolsys.36.102003.152644.

    Article  Google Scholar 

  19. Getz WM, Salter RM, Lyons AJ, Sippl-Swezey N. Panmictic and clonal evolution on a single patchy resource produces polymorphic foraging guilds. Plos One. 2015;10(10), e0133732. doi:10.1371/journal.pone.0133732.

    Article  PubMed Central  PubMed  Google Scholar 

  20. Corl A, Davis AR, Kuchta SR, Sinervo B. Selective loss of polymorphic mating types is associated with rapid phenotypic evolution during morphic speciation. Proc Natl Acad Sci U S A. 2010;107(9):4254–9. doi:10.1073/Pnas.0909480107.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  21. Kusche H, Elmer KR, Meyer A. Sympatric ecological divergence associated with a color polymorphism. BMC Biol. 2015;13. doi:10.1186/S12915-015-0192-7

  22. Sherborne AL, Thom MD, Paterson S, Jury F, Ollier WER, Stockley P, et al. The genetic basis of inbreeding avoidance in house mice. Curr Biol. 2007;17(23):2061–6. doi:10.1016/J.Cub.2007.10.041.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  23. Jiang YX, Bolnick DI, Kirkpatrick M. Assortative mating in animals. Am Nat. 2013;181(6):E125–38. doi:10.1086/670160.

    Article  PubMed  Google Scholar 

  24. Nowak MA, Sigmund K. Evolutionary dynamics of biological games. Science. 2004;303(5659):793–9. doi:10.1126/Science.1093411.

    Article  CAS  PubMed  Google Scholar 

  25. Zhou D, Wu B, Ge H. Evolutionary stability and quasi-stationary strategy in stochastic evolutionary game dynamics. J Theor Biol. 2010;264(3):874–81. doi:10.1016/j.jtbi.2010.03.018.

    Article  PubMed  Google Scholar 

  26. Sasaki A, Dieckmann U. Oligomorphic dynamics for analyzing the quantitative genetics of adaptive speciation. J Math Biol. 2011;63(4):601–35. doi:10.1007/S00285-010-0380-6.

    Article  PubMed  Google Scholar 

  27. Beddington JR. Mutual interference between parasites or predators and its effect on searching efficiency. J Anim Ecol. 1975;44:331–40.

    Article  Google Scholar 

  28. DeAngelis DL, Goldstein RA, Oneill RV. Model for trophic interaction. Ecology. 1975;56:881–92.

    Article  Google Scholar 

  29. Getz WM. Biomass transformation webs provide a unified approach to consumer-resource modelling. Ecol Lett. 2011;14(2):113–24. doi:10.1111/j.1461-0248.2010.01566.x.

    Article  PubMed Central  PubMed  Google Scholar 

  30. Getz W. A hypothesis regarding the abruptness of density dependence and the growth rate of populations. Ecology. 1996;77:2014–26.

    Article  Google Scholar 

  31. Ward AJW, Webster MM, Hart PJB. Intraspecific food competition in fishes. Fish Fish. 2006;7(4):231–61. doi:10.1111/J.1467-2979.2006.00224.X.

    Article  Google Scholar 

  32. Chow SS, Wilke CO, Ofria C, Lenski RE, Adami C. Adaptive radiation from resource competition in digital organisms. Science. 2004;305(5680):84–6. doi:10.1126/Science.1096307.

    Article  CAS  PubMed  Google Scholar 

  33. Haller BC, Mazzucco R, Dieckmann U. Evolutionary branching in complex landscapes. Am Nat. 2013;182(4):E127–41. doi:10.1086/671907.

    Article  PubMed  Google Scholar 

  34. Merrill RM, Wallbank RWR, Bull V, Salazar PCA, Mallet J, Stevens M, et al. Disruptive ecological selection on a mating cue. P Roy Soc B-Biol Sci. 2012;279(1749):4907–13. doi:10.1098/Rspb.2012.1968.

    Article  Google Scholar 

  35. Benkman CW. Divergent selection drives the adaptive radiation of crossbills. Evolution. 2003;57(5):1176–81.

    Article  PubMed  Google Scholar 

  36. Hynes DP, Miller EH. Vocal distinctiveness of the Red Crossbill (Loxia curvirostra) on the island of Newfoundland, Canada. Auk. 2014;131(3):421–33. doi:10.1642/auk-13-224.1.

    Article  Google Scholar 

  37. Kraus RHS, Kerstens HHD, van Hooft P, Megens H-J, Elmberg J, Tsvey A et al. Widespread horizontal genomic exchange does not erode species barriers among sympatric ducks. BMC Evol Biol. 2012;12. doi:10.1186/1471-2148-12-45.

  38. Korol A, Rashkovetsky E, Iliadi K, Nevo E. Drosophila flies in “Evolution Canyon” as a model for incipient sympatric speciation. Proc Natl Acad Sci U S A. 2006;103(48):18184–9.

    Article  PubMed Central  CAS  PubMed  Google Scholar 

  39. Page RE, Robinson GE, Britton DS, Fondrk MK. Genotypic Variability for rates of behavioral-development in worker honeybees (Apis-Mellifera L). Behav Ecol. 1992;3(2):173–80. doi:10.1093/Beheco/3.2.173.

    Article  Google Scholar 

  40. Searle KR, Hunt LP, Gordon IJ. Individualistic herds: individual variation in herbivore foraging behavior and application to rangeland management. Appl Anim Behav Sci. 2010;122(1):1–12. doi:10.1016/J.Applanim.2009.10.005.

    Article  Google Scholar 

  41. Torr SJ, Mangwiro TNC, Hall DR. The effects of host physiology on the attraction of tsetse (Diptera: Glossinidae) and Stomoxys (Diptera: Muscidae) to cattle. B Entomol Res. 2006;96(1):71–84. doi:10.1079/Ber2005404.

    Article  CAS  Google Scholar 

  42. Fischer J, Hammerschmidt K, Cheney DL, Seyfarth RM. Acoustic features of male baboon loud calls: Influences of context, age, and individuality. J Acoust Soc Am. 2002;111(3):1465–74. doi:10.1121/1.1433807.

    Article  PubMed  Google Scholar 

  43. Hauber ME, Sherman PW. Self-referent phenotype matching: theoretical considerations and empirical evidence. Trends Neurosci. 2001;24(10):609–16. doi:10.1016/S0166-2236(00)01916-0.

    Article  CAS  PubMed  Google Scholar 

  44. Jennions MD, Petrie M. Variation in mate choice and mating preferences: a review of causes and consequences. Biol Rev. 1997;72(2):283–327. doi:10.1017/S0006323196005014.

    Article  CAS  PubMed  Google Scholar 

  45. Kokko H, Brooks R, Jennions MD, Morley J. The evolution of mate choice and mating biases. P Roy Soc B-Biol Sci. 2003;270(1515):653–64. doi:10.1098/Rspb.2002.2235.

    Article  Google Scholar 

  46. Rangassamy M, Dalmas M, Feron C, Gouat P, Rodel HG. Similarity of personalities speeds up reproduction in pairs of a monogamous rodent. Anim Behav. 2015;103:7–15. doi:10.1016/J.Anbehav.2015.02.007.

    Article  Google Scholar 

  47. David M, Pinxten R, Martens T, Eens M. Exploration behavior and parental effort in wild great tits: partners matter. Behav Ecol Sociobiol. 2015;69(7):1085–95. doi:10.1007/S00265-015-1921-1.

    Article  Google Scholar 

  48. Gabriel PO, Black JM. Behavioural syndromes, partner compatibility and reproductive performance in Steller’s Jays. Ethology. 2012;118(1):76–86. doi:10.1111/J.1439-0310.2011.01990.X.

    Article  Google Scholar 

  49. Debarre F. Refining the conditions for sympatric ecological speciation. J Evolution Biol. 2012;25(12):2651–60. doi:10.1111/j.1420-9101.2012.02621.x.

    Article  CAS  Google Scholar 

  50. Thibert-Plante X, Hendry AP. Factors influencing progress toward sympatric speciation. J Evolution Biol. 2011;24(10):2186–96. doi:10.1111/j.1420-9101.2011.02348.x.

    Article  CAS  Google Scholar 

  51. Salter RM. Nova: a modern platform for system dynamics, spatial, and agent-based modeling. Procedia Computer Science. 2013;18:1784–93.

    Article  Google Scholar 

  52. Zhou JJ, Lange K, Papp JC, Sinsheimer JS. A heterozygote-homozygote test of Hardy-Weinberg equilibrium. Eur J Hum Genet. 2009;17(11):1495–500. doi:10.1038/ejhg.2009.57.

    Article  PubMed Central  PubMed  Google Scholar 

Download references


We thank Pauline Kamath and Neil Tsutsui for comments that have helped improve this paper. This work was supported by NSF/CPATH-2 CNS0939153 to RS.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Wayne M. Getz.

Additional information

Competing interests

The authors declare that they have no competing interests.

Authors’ contributions

WMG conceived the study, designed the model, carried out simulations and help generate figures, RS coded the model, DPS carried out analysis on the simulation data and helped generate figures, PvH helped place the results in context and develop the discussion. All authors helped write and edit the manuscript. All authors have read and approved the final version of the manuscript.

Additional file

Additional file 1:

The supplementary online file contains a link to a related publication, information on running our simulation model using the Nova Software Platform, and Additional file 1 : Figures S1 and S2 referred to in the caption to Fig.  2 . (PDF 3328 kb)

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (, which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Getz, W.M., Salter, R., Seidel, D.P. et al. Sympatric speciation in structureless environments. BMC Evol Biol 16, 50 (2016).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: