Skip to main content
eLife logoLink to eLife
. 2017 Mar 28;6:e25051. doi: 10.7554/eLife.25051

Lotka-Volterra pairwise modeling fails to capture diverse pairwise microbial interactions

Babak Momeni 1,2,*, Li Xie 2, Wenying Shou 2,*
Editor: Bruce Levin3
PMCID: PMC5469619  PMID: 28350295

Abstract

Pairwise models are commonly used to describe many-species communities. In these models, an individual receives additive fitness effects from pairwise interactions with each species in the community ('additivity assumption'). All pairwise interactions are typically represented by a single equation where parameters reflect signs and strengths of fitness effects ('universality assumption'). Here, we show that a single equation fails to qualitatively capture diverse pairwise microbial interactions. We build mechanistic reference models for two microbial species engaging in commonly-found chemical-mediated interactions, and attempt to derive pairwise models. Different equations are appropriate depending on whether a mediator is consumable or reusable, whether an interaction is mediated by one or more mediators, and sometimes even on quantitative details of the community (e.g. relative fitness of the two species, initial conditions). Our results, combined with potential violation of the additivity assumption in many-species communities, suggest that pairwise modeling will often fail to predict microbial dynamics.

DOI: http://dx.doi.org/10.7554/eLife.25051.001

Research Organism: None

eLife digest

From the soil to our body, microbes, such as bacteria, are everywhere and affect us in many ways. Many microbes perform important roles in natural environments and for our health, but some of them can cause harm and lead to diseases. Often, microbes affect and interact with each other within large groups or communities. Because of their widespread ramifications, it is important to understand how microbial communities work.

In addition to experiments, mathematical modeling offers one way to gain insight into the dynamics of microbial communities. A model commonly used to describe the interactions between organisms is the so-called ‘pairwise model’. Pairwise models can be useful to predict the dynamics of a community in which two species physically interact, such as a predator-prey community. However, it was unknown if this model was suitable to adequately predict the dynamics of microbial species in communities. Microbes often interact via chemicals that diffuse in the environment. For example, one microbe might provide food for another microbe or release toxins to kill it. However, a pairwise model does not consider food or toxins, but only how one microbe stimulates or inhibits the growth of another.

Momeni et al. simulated different scenarios commonly found in microbial communities to test whether a pairwise model could capture how, for example, chemicals released by one bacterial species would either help others to grow or stop them from growing. The results showed that for many scenarios, pairwise models cannot qualitatively represent the dynamics of a microbial community.

A next step will be to work on the limitations of current experimental technologies and mathematical models to improve the understanding of microbial communities. This knowledge could be used to develop new strategies for ecosystem engineering, such as for example making soils more fertile to improve crop yields, or tackling antibiotic resistance of bacteria.

DOI: http://dx.doi.org/10.7554/eLife.25051.002

Introduction

Multispecies microbial communities are ubiquitous. Microbial communities are important for industrial applications such as cheese and wine fermentation (van Hijum et al., 2013) and municipal waste treatment (Seghezzo et al., 1998). Microbial communities are also important for human health: they can modulate immune responses and food digestion (Round and Mazmanian, 2009; Kau et al., 2011) during health and disease. Properties of the entire community (‘community properties’, e.g. species dynamics, ability to survive internal or external perturbations, and biochemical activities of the entire community) are influenced by interactions wherein individuals alter the physiology of other individuals (Widder et al., 2016). To understand and predict community properties, choosing the appropriate mathematical model to describe species interactions is critical.

A mathematical model ideally focuses only on details that are essential to community properties of interest. However, it is often unclear a priori what the minimal essential details are. We define ‘mechanistic models’ as models that explicitly consider interaction mediators as state variables. For example, if species S1 releases a compound C1 which stimulates species S2 growth upon consumption by S2, then a mechanistic model tracks concentrations of S1, C1, and S2 (Figure 1A and B, left panels). Note that mechanistic models used here still omit molecular details such as how chemical mediators are received and processed by recipients and how mediators subsequently act on recipients. In contrast, Lotka-Volterra (‘L-V’) pairwise models only consider the fitness effects of interactions. Specifically, L-V models assume that the fitness of an individual is the sum of its basal fitness (the net growth rate of an individual in isolation) and fitness influences from pairwise interactions with individuals of the same species and of every other species in the community (‘additivity’ assumption). Furthermore, regardless of interaction mechanisms or quantitative details of a community, all fitness influences are typically expressed using a single equation form wherein parameters can vary to reflect the signs and magnitudes of fitness influences (‘universality’ assumption). Thus in the example above, a pairwise model only describes how S1 increases the fitness of S2 (Figure 1A and B, right panels).

Figure 1. The abstraction of interaction mechanisms in a pairwise model compared to a mechanistic model.

(A) The mechanistic model (left) considers a bipartite network of species and chemical interaction mediators. A species can produce or consume chemicals (open arrowheads pointing towards and away from the chemical, respectively). A chemical mediator can positively or negatively influence the fitness of its target species (filled arrowhead and bar, respectively). The corresponding L-V pairwise model (right) includes only the fitness effects of species interactions, which can be positive (filled arrowhead), negative (bar), or zero (line terminus). (B) In the example here, species S1 releases chemical C1, and C1 is consumed by species S2 and promotes S2’s fitness. In the mechanistic model, the three equations respectively state that (1) S1 grows exponentially at a rate r10, (2) C1 is released by S1 at a rate βC1S1 and consumed by S2 with saturable kinetics (maximal consumption rate αC1S2 and half-saturation constant KC1S2), and (3) S2’s growth (basal fitness r20) is influenced by C1 in a saturable fashion. In the pairwise model here, the first equation is identical to that of the mechanistic model. The second equation is similar to the last equation of the mechanistic model except that r21 and K21 together reflect how the density of S1 (S1) affects the fitness of S2 in a saturable fashion. For all parameters with double subscripts, the first subscript denotes the focal species or chemical, and the second subscript denotes the influencer. Note that unlike in mechanistic models, we have omitted ‘S’ from subscripts in pairwise models (e.g. r21 instead of rS2S1) for simplicity. In this example, both r21 and rS2S1 are positive.

DOI: http://dx.doi.org/10.7554/eLife.25051.003

Figure 1.

Figure 1—figure supplement 1. An L-V pairwise model successfully predicts oscillations in population dynamics of the hare-lynx prey-predator community.

Figure 1—figure supplement 1.

(A) In a pairwise model of prey-predation proposed by Lotka and Volterra, predator reduces the fitness of prey, while prey stimulates the fitness of predator. Such dynamics can be easily simulated (Green and Shou, 2014). (B) Assuming random encounter between prey and predator, the pairwise model predicts oscillations in the prey and predator population sizes. (C) Similar oscillations have been qualitatively observed in natural populations of lynx (predator) and hare (prey), providing support for the usefulness of pairwise models. Picture is adapted from https://biologyeoc.wikispaces.com/PopulationChanges (BiologyEOC, 2016).

Figure 1—figure supplement 2. Deriving a pairwise model.

Figure 1—figure supplement 2.

(A) Analytically deriving a pairwise model from a mechanistic model allows us to uncover approximations required for such a transformation (top). Alternatively (bottom), within a ‘training window’ of the mechanistic model population dynamics, we can numerically derive parameters for a pre-selected pairwise model such that it best fits the mechanistic model. We then quantify how well such a pairwise model matches the mechanistic model under conditions different from those of the training window. (B) A mechanistic model of three species interacting via two chemicals (left) can be translated into a pairwise model of three interacting species (center). S1 inhibits S1 and promotes S2 (via C1). S2 promotes S2 and S3 (via C2) as well as S1 (via removal of C1). S3 promotes S1 (via removal of C1) and inhibits S2 (via removal of C2). Take interactions between S2 and S3 for example: the saturable L-V pairwise model will require estimating ten parameters (colored, right), some of which (e.g. r33 in this case) may be zero. (C) In the numerical method, the six monoculture parameters (ri0, rii, and Kiii = 2, 3; green and red) are first estimated from training window T (within a dilution cycle) of monoculture mechanistic models (top and middle). Subsequently, the four interaction parameters ( and Kij, , olive) can be estimated from the training window T of the S2 +S3 coculture mechanistic model (bottom). Parameter definitions are described in Figure 1. Often in this work, pairwise model parameters that can be directly obtained from the mechanistic model (e.g. species basal fitness; ) are directly obtained from the mechanistic model (instead of being estimated). To estimate parameters, we use an optimization routine to minimize D¯, the fold-difference (hatched area) between dynamics from a pairwise model (dotted lines) and the mechanistic model (solid lines) averaged over T and species number N: D¯=1Ni=1N[1TTDi(t)dt]=1Ni=1N[1TT|log10(Si,pair(t)/Si,mech(t))|dt]. Here Si,pair and Si,mech are Si calculated using pairwise and mechanistic models, respectively. Since species with densities below a set extinction limit, Sext, are assumed to have gone extinct in the model, we set all densities below the extinction limit to Sext in calculating D¯ to avoid singularities. D¯ outside the training window can be used to quantify how well the best-matching pairwise model predicts the mechanistic model. Unless otherwise stated, in all simulations to ensure that resources not involved in interactions are never limiting, a community is diluted back to its inoculation density whenever total population increases to a high-density threshold, mimicking turbidostat experiments. Too frequent dilutions will allow only small changes in population dynamics within a dilution cycle or time T, which is not suitable for estimating pairwise model parameters. Dilutions can sometimes violate conditions for convergence to reference dynamics (Figure 3—figure supplement 4). Under most cases we have tested, small variations in dilution frequency do not affect our conclusions. See Methods-Summary of simulation files for relevant Matlab codes.

L-V pairwise models are popular. L-V pairwise modeling has successfully explained the oscillatory dynamics of hare and its predator lynx (Figure 1—figure supplement 1) (Volterra, 1926; Wangersky, 1978BiologyEOC, 2016). Pairwise models have also been instrumental in delineating conditions for multiple carnivores to coexist when competing for herbivores (MacArthur, 1970; Chesson, 1990). In both cases, mechanistic models and pairwise models happen to be mathematically equivalent for the following reasons. In the hare-lynx example, both species are also interaction mediators, and therefore pairwise and mechanistic models are identical. In the second example, if herbivores (mediators of competitive interactions between carnivores) rapidly reach steady state, herbivores can be mathematically eliminated from the mechanistic model to yield a pairwise model of competing carnivores (MacArthur, 1970; Chesson, 1990). Pairwise models are often used to predict how perturbations to steady-state species composition exacerbate or decline over time (May, 1972; Thébault and Fontaine, 2010; Mougi and Kondoh, 2012; Allesina and Tang, 2012; Suweis et al., 2013; Coyte et al., 2015). Although most work are motivated by contact-dependent prey-predation (e.g. hare-lynx) or mutualisms (e.g. plant-pollinator) where L-V models could be identical to mechanistic models, these work do not explicitly exclude chemical-mediated interactions where species are distinct from interaction mediators.

The temptation of using pairwise models is indeed high, including in microbial communities where many interactions are mediated by chemicals (Mounier et al., 2008; Faust and Raes, 2012; Stein et al., 2013; Marino et al., 2014; Coyte et al., 2015). Even though pairwise models do not capture the dynamics of chemical mediators, predicting species dynamics is still highly desirable in, for example, forecasting species diversity and compositional stability. For chemical-mediated interactions, L-V pairwise models are far easier to construct than mechanistic models for the following reasons. Mechanistic models would require knowledge of chemical mediators, which are often challenging to identify. Since chemical mediators are explicitly modeled, mechanistic models require more equations and parameters than their cognate pairwise models (Figure 1, Table). Pairwise model parameters are relatively easy to estimate using community dynamics or dynamics of monocultures and pairwise cocultures (Mounier et al., 2008; Stein et al., 2013; Guo and Boedicker, 2016). Consequently, pairwise modeling has been liberally applied to microbial communities.

L-V pairwise models have been criticized when applied to communities of more than two species (referred to as ‘multispecies communities’) (Levine, 1976; Tilman, 1987; Wootton, 1993, 2002; Werner and Peacor, 2003; Stanton, 2003; Schmitz et al., 2004). This is because a third species can influence interactions between a species pair (‘indirect interactions’), which sometimes violates the additivity assumption of pairwise models. For example, a carnivore can indirectly increase the density of a plant by decreasing the density of an herbivore (‘interaction chain’; ‘density-mediated indirect interactions’). A carnivore can also decrease how often an herbivore forages plants (‘interaction modification’, ‘trait-mediated indirect interactions’, or ‘higher order interactions’) (Vandermeer, 1969; Wootton, 1994; Billick and Case, 1994; Wootton, 2002). In interaction modification, foraging per herbivore decreases, whereas in interaction chain, the density of herbivores decreases. Interaction modification (but not interaction chain) violates the additivity assumption (Methods-Interaction modification but not interaction chain violates the additivity assumption) (Tilman, 1987; Wootton, 1994; Schmitz et al., 2004) and can cause the pairwise model to generate qualitatively wrong predictions. Indeed, pairwise models largely failed to predict biomass and species coexistence in three-species and seven-species plant communities (Dormann and Roxburgh, 2005), although reported failures of pairwise models could be due to limitations in data collection and analysis (Case and Bender, 1981; Billick and Case, 1994).

Here, we examine the universality assumption of pairwise models when applied to microbial communities (or any community that employs diverse chemical-mediated interactions). Microbes often influence other microbes in a myriad of fashions, via consumable metabolites, reusable signaling molecules, or a combination of chemicals (Figure 2). Can a single equation form, traditionally employed in pairwise models, qualitatively describe diverse interactions between two microbial species? The answer is unclear. On the one hand, pairwise models have been applied successfully to diverse microbial communities. For example, an L-V pairwise model and a mechanistic model both correctly predicted ratio stabilization and spatial intermixing between two strongly-cooperating populations exchanging diffusible essential metabolites (Momeni et al., 2013). In other examples, pairwise models largely captured competition outcomes and metabolic activities of three-species and four-species artificial microbial communities (Vandermeer, 1969; Guo and Boedicker, 2016; Friedman et al., 2017). On the other hand, pairwise models often failed to predict species coexistence in seven-species microbial communities (Friedman et al., 2017), although this could be due to interaction modification discussed above.

Figure 2. Chemical-mediated interactions commonly found in microbial communities.

Figure 2.

Interactions can be intra- or inter-population. Examples are meant to be illustrative instead of comprehensive.

DOI: http://dx.doi.org/10.7554/eLife.25051.006

Instead of investigating natural communities where interaction mechanisms can be difficult to identify, we use in silico communities. In these communities, two species interact via mechanisms commonly encountered in microbial communities, including growth-promoting and growth-inhibiting interactions mediated by reusable and consumable compounds (Figure 2) (Stams, 1994; Czárán et al., 2002; Duan et al., 2009). We construct mechanistic models for these two-species communities and attempt to derive from them pairwise models. A mechanistic reference model offers several advantages: community dynamics is deterministically known; deriving a pairwise model is not limited by inaccuracy of experimental methods; and the flexibility in creating different reference models allows us to explore a variety of interaction mechanisms. We demonstrate that a single pairwise equation form often fails for commonly-encountered diverse pairwise microbial interactions. We conclude by discussing when pairwise models might or might not be useful, in light of our findings.

Results

Throughout this work, we consider communities grown in a well-mixed environment where all individuals interact with each other with an equal chance. A well-mixed environment can be found in industrial fermenters. Moreover, at a sufficiently small spatial scale, a spatially-structured environment can be approximated as a well-mixed environment, as chemicals are uniformly-distributed locally. Motile organisms also reduce the degree of spatial structure. A well-mixed environment allows us to use ordinary differential equations (ODEs), which are more tractable than partial differential equations demanded by a spatially-structured environment. This in turn allows us to sometimes analytically demonstrate failures of pairwise models.

Mechanistic model versus pairwise model

A mechanistic model describes how species release or consume chemicals and how chemicals stimulate or inhibit species growth (Figure 1A left). In contrast, in pairwise models, interation mediators are not explicitly considered (Figure 1A right). Instead, the growth rate of an individual of species Si is the sum of its basal fitness (ri0, net growth rate of the individual in the absence of any intra-species or inter-species interactions) and fitness effects from intra-species and inter-species interactions. The fitness effect from species Sj to species Si is represented by fij(Sj), where Sj is the density of species Sj. fij(Sj) is a linear or nonlinear function of only Sj and not of another species. When j=i, fii(Si) represents density-dependent fitness effect within Si (e.g. density-dependent growth inhibition or stimulation).

In a multi-species pairwise model, a single form of fij is used for all pairwise species interactions. For example, the most popular L-V model is linear L-V:

dSidt=[ri0+jrijSj]Si (1)

Here, ri0 is the basal fitness of an individual of Si, and can be positive, negative, or zero; rij is the fitness effect per Sj individual on Si. Positive, negative, or zero rij represents growth stimulation, inhibition, or no effect, respectively. An example of linear L-V is the logistic L-V pairwise model traditionally used for competitive communities:

dSidt=ri0[1jSjΛij]Si (2)

Here, nonnegative ri0 is the basal fitness of Si; positive Λij is the carrying capacity imposed by limiting shared resource (e.g. space or carbon source) such that a single Si individual will have a zero net growth rate when competing with a total of Λij individuals of Sj.

Alternative forms of fitness effect fij (Wangersky, 1978) include L-V with delayed influence, where the fitness influence of one species on another may lag in time (Gopalsamy, 1992), or saturable L-V (Thébault and Fontaine, 2010) where

dSidt=[ri0+jrijSjKij+Sj]Si (3)

Here, ri0 is the basal fitness of an individual of Si, rij is the maximal fitness effect species Sj can exert on Si, and Kij (>0) is the Sj at which half maximal fitness effect on Si is achieved. ri0 and rij can be positive, negative, or zero. Note that at a low concentration of influencer, the saturable form can be converted to a linear form.

Our goal is to test whether a single equation form of pairwise model can qualitatively predict dynamics of species pairs engaging in various types of interactions commonly found in microbial communities (e.g. Figure 2). To do so, we use a combination of analytical and numerical approaches (Figure 1—figure supplement 2). Analytically deriving a pairwise model from a mechanistic model not only reveals assumptions required to generate the pairwise model, but also alleviates any concern that we may have failed to identify the optimal pairwise model parameters. When interactions become more complex (e.g. involving multiple mediators), we take the numerical approach, which is typically used to infer pairwise models from experimental results (Pascual and Kareiva, 1996). In the numerical approach, we mimic experimentalists by first deciding on a pairwise model to be used, and then employing a nonlinear least squares routine to numerically identify model parameters that minimize the average difference D¯ between pairwise and mechanistic model dynamics within a training time window T (Figure 1—figure supplement 2; Methods-Summary of simulation files). To evaluate how well a pairwise model predicts long-term mechanistic model dynamics, we ‘buy time’ by introducing 'dilutions' in numerical simulations of both models and quantify their difference D¯.

Reusable versus consumable mediators require different pairwise models

In this section, we analytically derive pairwise models from mechanistic models of two-species communities where one species affects the other species through a single mediator. The mediator is either reusable such as signaling molecules in quorum sensing (Duan et al., 2009; Jakubovics, 2010) or consumable such as metabolites (Stams, 1994; Freilich et al., 2011) (Figure 2). We show that a single pairwise model may not encompass these different interaction mechanisms and that for consumable mediator, the choice of pairwise model also depends on details such as the relative fitness and initial densities of the two species.

Consider a commensal community where species S1 stimulates the growth of species S2 by producing a reusable (Figure 3A) or a consumable (Figure 3B) chemical C1. We consider community dynamics where species are not limited by any abiotic resources, such as within a dilution cycle of a turbidostat experiment where all other metabolites are in excess.

Figure 3. Interactions mediated via a single mediator are best represented by different forms of pairwise models, depending on whether the mediator is consumable or reusable and on the relative fitness and initial densities of the two species.

S1 stimulates the growth of S2 via a reusable (A) or a consumable (B) chemical C1. In mechanistic models of the two cases (i), equations for S1 and S2 are identical but equations for C1 are different. In (A), C1 can be solved to yield C1=(βC1S1/r10)S10exp(r10t)(βC1S1/r10)S10=(βC1S1/r10)S1(βC1S1/r10)S10, assuming zero initial C1. Here, S10 is S1 at time zero. We have approximated C1 by omitting the second term (valid after the initial transient response has passed so that C1 has become proportional to S1). This approximation allows an exact match between the mechanistic model and the saturable L-V pairwise model (ii). In (B), depending on the relative growth rates of the two species, and if additional requirements are satisfied (Methods; Figure 3—figure supplement 2; Figure 3—figure supplement 3; Figure 3—figure supplement 4; Figure 3—figure supplement 5), either saturable L-V or alternative pairwise model should be used.

DOI: http://dx.doi.org/10.7554/eLife.25051.007

Figure 3—source data 1. List of parameters for simulations in Figure 3—figure supplement 1.
DOI: 10.7554/eLife.25051.008
Figure 3—source data 2. List of parameters for simulations in Figure 3—figure supplement 2 on interactions through a consumable mediator.
DOI: 10.7554/eLife.25051.009
Figure 3—source data 3. List of parameters for simulations in Figure 3—figure supplement 3 on conditions required for convergence of the alternative pairwise model.
DOI: 10.7554/eLife.25051.010
Figure 3—source data 4. List of parameters for simulations in Figure 3—figure supplement 4 on how dilution might affect the convergence of a pairwise model.
DOI: 10.7554/eLife.25051.011

Figure 3.

Figure 3—figure supplement 1. For a reusable mediator, parameter estimation after acclimation time leads to a more accurate saturable L-V pairwise model.

Figure 3—figure supplement 1.

(A) We use the mechanistic model for a reusable mediator to generate reference dynamics of , , and over 150 generations of community growth. Note that population fractions (instead of population densities) are plotted, which fluctuate less than the mediator concentration during dilutions. After an initial period of time, becomes proportional to (inset). The basal fitness of S1 and S2 in pairwise models are identical to those in mechanistic models, and here and (= 1, 2) are irrelevant due to the lack of intra-population interactions. We use every 10 community doublings (within a dilution cycle) of reference dynamics as training windows to numerically estimate best-matching saturable L-V pairwise model parameters and . Dashed and solid rectangles represent a training window before and after acclimation, respectively. (B) Pairwise model parameters estimated after acclimation (e.g. solid rectangle) match their analytically-derived counterparts (black dotted lines) better than those estimated before acclimation (e.g. dashed rectangle). (C) A pairwise model generated from population dynamics before acclimation (top) predicts future reference dynamics less accurately than that generated after acclimation (bottom). (D) Quantification of the difference between pairwise and mechanistic models before (dashed) or after (solid) acclimation. All parameters are listed in Figure 3—source data 1.
Figure 3—figure supplement 2. Community trajectory approaching the -zero-isocline allows us to use the alternative pairwise model approximation.

Figure 3—figure supplement 2.

S1 releases a consumable metabolite C1 which stimulates S2 growth. In all panels, brown circles indicate the C1 and RS (=S2/S1) of a community, and are separated by 1/4 of community doubling time. In the vicinity of the f-zero-isocline (f=0) (blue line), can be eliminated to yield a pairwise model. (A–D) When rS2C1>r10r20>0 (Methods-Deriving a pairwise model for interactions mediated by a single consumable mediator, Case II), a steady state (green circle) exists. Let us scale and against their respective steady state values to obtain R^S and C^1. The f-zero-isocline (blue) and the steady state C^1=1 (vertical solid line) divide the phase portrait into four regions (① to ④). (A) The directions of movement are marked by grey arrowheads. According to the top portion of Equation 11,the right-hand side of Equation 14 is zero when C^1=1. Since C^1/(C^1+K^S2C1)=1/(1+K^S2C1/C^1) is an increasing function of C^1, when C^1>1, dR^S/dt > 0 (up arrows), and when C^1<1, dR^S/dt<0 (down arrows). From Equation 15, above the f-zero-isocline, dC^1/dt<0 (left arrows), while below the f-zero-isocline, dC^1/dt>0 (right arrows). Thus, the community moves toward the f-zero-isocline, and then moves slowly alongside (but not superimposing) the f-zero-isocline before reaching the steady state. A–C respectively describe community dynamics trajectories from when S10 is large and when R^S(t=0)1 (Case II-2), R^S(t=0)max(1,K^S2C11) (Case II-1), or R^S(t=0)1/(1+K^C1S2) (Case II-3). (D) R^S(t=0)1 but S10 is much smaller than that in A. In this case, instead of approaching the f-zero-isocline quickly as in A, the trajectory plunges sharply before moving toward the f-zero-isocline. The black dotted line marks R^S=1/(1+K^C1S2), the asymptotic value of f-zero-isocline. (E–H) When r10r20<0 (Methods-Deriving a pairwise model for interactions mediated by a single consumable mediator, Case III), there is no steady state. RS approaches infinity and C1 approaches 0. The black dotted line marks RS=βC1S1/αC1S2, the asymptotic value of f-zero-isocline. E, F, and G respectively describe community dynamics trajectories from C1=0 when S10 is large and when RS(0)βC1S1/αC1S2, RS(0)βC1S1/αC1S2 (Case III-1), and RS(0)βC1S1/αC1S2 (Case III-2). (H) RS(0)βC1S1/αC1S2 but S10 is much smaller than that in F. Note different axis scales in different figure panels. All parameters are listed in Figure 3—source data 2.
Figure 3—figure supplement 3. Condition for the alternative pairwise model to converge to the mechanistic model in the absence of dilutions.

Figure 3—figure supplement 3.

Here are the phase portraits of Equation 43. The olive vertical dotted lines correspond to RS=ω/ψ, a singularity point when ω<0. (A) Case II (rS2C1>r10r20>0), ω=0.5, ψ=0.25. Regardless of initial , the solution converges to steady state (in agreement with the mechanistic model). (B) Case II, ω=1, ψ=1. When RS(t=0)<ω/ψ (to the left of olive line), the alternative pairwise model falsely predicts extinction of S2. (C) Case III (r10<r20), ω=0.8, ψ=0.1. Regardless of initial , the model predicts extinction of S1 (in agreement with the mechanistic model). (D) Case III (r10<r20), ω=9, ψ=5. When RS(t=0)<ω/ψ (to the left of olive line), the alternative pairwise model falsely predicts steady state coexistence of the two species. All parameters are listed in Figure 3—source data 3.
Figure 3—figure supplement 4. Initial conditions that require long convergence time and thus dilutions may prevent the alternative pairwise model to converge to the mechanistic model.

Figure 3—figure supplement 4.

We consider commensalism through a consumable mediator, where the producer and the consumer could reach a steady state (Methods-Deriving a pairwise model for interactions mediated by a single consumable mediator, Case II). We choose a low consumption rate such that starting from equal proportions of producers and consumers, consumption can be neglected. (A) When the initial total population density is low (2 × 105 total cells/ml, and periodic 10x dilution maintains this low density), the community cannot approach the blue -zero-isocline in a reasonable time frame (brown trajectory in the phase space of C^1 and R^S, the mediator concentration and the consumer-to-producer ratio normalized to their potential steady state values, respectively). As a result, growth and dilution lead to an alternate sustained cycle for the community (inset). (B) In this case, accumulates proportionally to within each dilution cycle, and the ratio of to reaches a constant value (inset). (C) Since behaves as a reusable mediator and since the community remains far from the -zero-isocline, the use of the alternative pairwise model (dashed) is not justified. Instead, the saturable L-V pairwise model (dotted) provides a better approximation. (D) The same community at a higher initial total density (2 × 108 total cells/ml) approaches the blue -zero-isocline (brown trajectory in the phase space) after a few dilutions. (E) In the vicinity of the -zero-isocline, reaches its steady state value within each dilution cycle. (F) In this case, the alternative model produces a better approximation to the mechanistic model compared to a saturable L-V model. In (C) and (F), the saturable L-V model is fitted into dynamics of the reference model after 50 generations, whereas analytical formulas are used for the alternative pairwise model. All parameters are listed in Figure 3—source data 4.
Figure 3—figure supplement 5. Additional requirements for deriving a pairwise model from a mechanistic model, when S1 affects S2 via a single consumable mediator C1 where C1(0)=0.

Figure 3—figure supplement 5.

For details, see Methods. Here, RS=S2/S1. S1(0), S2(0), C1(0), and RS(0) are the initial values of the respective variables. (A) The initial condition requirement for a pairwise model to converge to the mechanistic model. (B) The time scale required for convergence. Conditions on S1(0) are sufficient, but may not be necessary.

When C1 is reusable, the mechanistic model (Figure 3A,i) can be transformed into a saturable L-V pairwise model (compare Figure 3A,ii with Equation 3), especially after the concentration of the mediator (which is initially zero) has acclimated to be proportional to the producer population size (Figure 3A legend; Figure 3—figure supplement 1). This saturable L-V pairwise model is valid regardless of whether the producer coexists with the consumer, outcompetes the consumer, or is outcompeted by the consumer.

If C1 is consumable, different scenarios are possible (Figure 3B; Methods).

Case I: When supplier S1 always grows faster than consumer S2 (the basal fitness of S1 is higher than the maximal fitness of S2), C1 will eventually accumulate proportionally to S1 (Figure 4A left; Methods-Deriving a pairwise model for interactions mediated by a single consumable mediator Case I). In this case, C1 may be approximated as a reusable mediator and can be predicted by the saturable L-V pairwise model (Figure 4A right, compare dotted and solid lines).

Figure 4. Saturable L-V and alternative pairwise models are not interchangeable.

Figure 4.

Consider a commensal community with a consumable mediator C1. (A) The mediator accumulates without reaching a steady state within each dilution cycle as the consumer S2 gradually goes extinct (Figure 3B, Case I). After a few tens of generations, C1 becomes proportional to its producer density S1 (inset in left panel). In this case, a saturable L-V (dotted) but not the alternative pairwise model (dashed) is suitable. All parameters are listed in Figure 4—source data 1. (B) The consumable mediator reaches a non-zero steady state within each dilution cycle (Figure 3B, Case II). From mechanistic dynamics where initial species ratio is 1, we use two training windows to derive saturable L-V (dotted) and alternative (dashed) pairwise models. We then use these pairwise models to predict dynamics of communities starting at two different ratios. The alternative model but not the saturable L-V predicts the mechanistic model dynamics. All parameters are listed in Figure 4—source data 2. Note that in all figures, population fractions (instead of population densities) are plotted, which fluctuate less during dilutions compared to mediator concentration.

DOI: http://dx.doi.org/10.7554/eLife.25051.017

Figure 4—source data 1. List of parameters for simulations in Figure 4 on an interaction through a reusable mediator.
DOI: 10.7554/eLife.25051.018
Figure 4—source data 2. List of parameters for simulations in Figure 4 on an interaction through a consumable mediator.
DOI: 10.7554/eLife.25051.019

Case II: When S1 and S2 can coexist (the basal fitness of S1 is higher than the basal fitness of S2 but less than the maximal fitness of S2), a steady state solution for C1 and species ratio RS=S2/S1 exists (Figure 4B; Methods-Deriving a pairwise model for interactions mediated by a single consumable mediator Case II, Equation 11). To arrive at a pairwise model, we will need to eliminate C1 which is mathematically possible (i.e. after community dynamics converges to the ‘f-zero-isocline’ on the phase plane of mediator C1 and species ratio RS, as depicted by blue lines in Figure 3—figure supplement 2A–D). However, the derived pairwise model differs from the saturable L-V model:

dS2dt=r20S2+rS2C1S1ωS1+ψS2S2 (4)

where constants r20, rS2C1, and ω=1KS2C1/KC1S2 can be positive, negative, or zero, and ψ =(KS2C1αC1S2)/(KC1S2βC1S1) is positive (see Figure 1 table for parameter definitions and see Equation 13 in Methods). We will refer to this equation as ‘alternative pairwise model’, although the fitness influence term is a function of both S1 and S2 instead of the influencer S1 alone as defined in the traditional L-V pairwise model.

Case III: When supplier S1 always grows slower than consumer S2, i.e. when the basal fitness of S1 (r10) is less than the basal fitness of S2 (r20), consumable C1 declines to zero concentration. This is because C1 is consumed by S2 whose relative abundance over S1 eventually exponentially increases at a rate of r20r10. Similar to Case II, under certain conditions (i.e. after community dynamics converges to the f-zero-isocline as seen in Figure 3—figure supplement 2E–H), the alternative pairwise model (Equation 4) can be derived (Methods-Deriving a pairwise model for interactions mediated by a single consumable mediator, Case III).

For both Case II and Case III, we analytically demonstrate that in the absence of dilutions, alternative pairwise model dynamics can converge to mechanistic model dynamics (see Figure 3—figure supplements 3 and 5 for initial condition requirement and time scale of convergence). However, if initial S1 and S2 are such that the time scale of convergence is long compared to the duration of one dilution cycle (e.g. Figure 3—figure supplement 2C and G), then we will have to perform dilutions and the saturable L-V model can sometimes be more appropriate than the alternative model (Figure 3—figure supplement 4). Thus in these cases, whether a saturable L-V or an alternative model is more appropriate also depends on initial conditions.

The alternative model (Equation 4) can be further simplified to

dS2/dt=(r20+ρS1/S2)S2  (5)

if additionally, the half-saturation constant K for C1 consumption (KC1S2) is identical to that for C1’s influence on the growth of consumer (KS2C1), and if S2 has not gone extinct. This equation form has precedence in the literature (e.g. [Mougi and Kondoh, 2012]), where the interaction strength r21 reflects the fact that the consumable mediator from S1 is divided among consumer S2. Thus, we can regard the alternative model (Equation 4) or its simplified version (Equation 5) as a ‘divided influence’ model.

The saturable L-V model and the alternative model are not interchangeable (Figure 4). When a consumable mediator accumulates without reaching a steady state within each dilution cycle (Figure 4A left; inset: C1 eventually becomes proportional to S1), the saturable L-V model is predictive of community dynamics (Figure 4A right, compare dotted and solid lines). In contrast, predictions from the alternative pairwise model are qualitatively wrong (Figure 4A right, compare dashed and solid lines). When a consumable mediator eventually reaches a non-zero steady state within each dilution cycle (Figure 4B, black), could a saturable L-V model still work? The saturable L-V model derived from training window i (initial 10 generations) fails to predict species coexistence regardless of initial species ratios (Figure 4B left magenta box, compare solid with dotted). In comparison, the saturable L-V model derived from training window ii (at steady-state species ratio) performs better, especially if the starting species ratio is identical to that of the training dynamics (Figure 4B, top panel in right magenta box). However, at a different starting species ratio, the saturable L-V model fails to predict which species dominates the community (Figure 4B, bottom panel in right magenta box). In contrast, community dynamics can be described by the alternative pairwise model derived from either window i or ii (Figure 4B, compare dashed and solid lines in left and right magenta boxes).

We have shown here that even when one species affects another species via a single mediator, either a saturable L-V model or an alternative pairwise model may be appropriate. The appropriate model depends on whether the mediator is reusable or consumable, how fitness of the two species compare, and initial species densities (Figure 3; Figure 3—figure supplements 25). Choosing the wrong pairwise model generates qualitatively flawed predictions (Figure 4). Considering that reusable and consumable mediators are both common in microbial interactions, our results call for revisiting the universality assumption of pairwise modeling.

Two-mediator interactions require pairwise models different from single-mediator interactions

A species often affects another species via multiple mediators (Kato et al., 2008; Yang et al., 2009; Traxler et al., 2013; Kim et al., 2013). For example, a fraction of a population might die and release numerous chemicals, and some of these chemicals can simultaneously affect another individual. Here we examine the case where S1 releases two reusable chemicals C1 and C2, both affecting the growth of S2 (Figure 5A). Since the effect of each mediator can be described by a saturable L-V pairwise model (Figure 3A), we ask when the two mediators can be mathematically regarded as one mediator and described by a saturable L-V pairwise model (Figure 5B).

Figure 5. An example of a two-mediator interaction where a saturable L-V pairwise model may succeed or fail depending on initial conditions.

(A) One species can affect another species via two reusable mediators, each with a different potency KCi where KCi is KS2Cir10/βCiS1 (Methods-Conditions under which a saturable L-V pairwise model can represent one species influencing another via two reusable mediators). A low KCi indicates a strong potency (e.g. high release of Ci by S1 or low Ci required to achieve half-maximal influence on S2). (B) Under what conditions can an interaction via two reusable mediators with saturable effects on recipients be approximated by a saturable L-V pairwise model? (C) A community where the success or failure of a saturable L-V pairwise model depends on initial conditions. Here, KC1= 103 cells/ml and KC2= 105 cells/ml. Community dynamics starting at low S1 (solid) can be predicted if the saturable L-V pairwise model is derived from reference dynamics starting at low (dotted). However, if we use a saturable L-V pairwise model derived from a community with high initial S1, prediction is qualitatively wrong (dash dot line). See Figure 5—figure supplement 1D for an explanation why a saturable L-V pairwise model estimated at one community density may not be applicable to another community density. Simulation parameters are listed in Figure 5—source data 1 .

DOI: http://dx.doi.org/10.7554/eLife.25051.020

Figure 5—source data 1. List of parameters for simulations in Figure 5 on an interaction through two concurrent mediators.
DOI: 10.7554/eLife.25051.021
Figure 5—source data 2. List of parameters for simulations in Figure 5—figure supplement 1 on an interaction through two concurrent mediators, assessed at high versus low cell densities.
DOI: 10.7554/eLife.25051.022

Figure 5.

Figure 5—figure supplement 1. Except under special conditions, a pairwise interaction through two mediators may not be represented by a single saturable L-V model.

Figure 5—figure supplement 1.

(A) Consider the interaction in Figure 5. The fitness effect of S1 on S2 via C1 and C2 is rS2,C1C2=rS2C1S1S1+KS2C1r10/βC1S1+rS2C2S1S1+KS2C2r10/βC2S1=rS2C1S1S1+KC1+rS2C2S1S1+KC2. (B–C) Under special conditions the fitness effect rS2,C1C2 (magenta line) can be approximated using a single saturable L-V model (grey dash-dot line) at all densities. These special conditions include when the potencies of two mediators, KC1 and KC2, are similar (B) or the potency of one mediator is orders of magnitude stronger than the other (C). Otherwise, saturable L-V pairwise models derived from a low-density community and from a high-density community can have qualitatively different parameters (D). Let’s first consider the low-density case (left black and blue bars corresponding to low total density and therefore low , respectively). When rS2,C1C2 (magenta line) is above the (r10r20) line (grey dashed line), the fitness of S2 (rS2,C1C2+r20) will be higher than the fitness of S1. Thus, even though S1 grows at its basal fitness during a dilution cycle, S1 fraction will decrease. Thus S1 will decrease at the next dilution cycle when total density is reset to a pre-fixed level (arrow pointing towards lower S1). In contrast, when rS2,C1C2<r10r20, S1 population fraction and S1 will increase at the next dilution cycle (arrow pointing towards higher S1). Thus, the dynamics will converge to a steady state ratio (filled dot). Interaction coefficient of a saturable L-V (grey dash-dot line) is estimated to be a positive value ( =+0.039). In contrast, in the high-density case (right black and blue bars), r10>rS2,C1C2+r20, and S2 goes extinct. Interaction coefficient of a saturable L-V (grey dash-dot line) is estimated to be a negative value ( = −0.010). As a result, a saturable L-V pairwise model with parameters estimated at high densities cannot predict communities at low densities (Figure 5). All parameters are listed in Figure 5—source data 2.

We assume that fitness effects from different chemical mediators on a focal species are additive. Not making this assumption will likely violate the additivity assumption essential to pairwise models. Additive fitness effects have been observed for certain ‘homologous’ metabolites. For example, in multi-substrate carbon-limited chemostats of E. coli, the fitness effects from glucose and galactose were additive (Lendenmann and Egli, 1998). ‘Heterologous’ metabolites such as carbon and nitrogen sources likely affect cell fitness in a multiplicative fashion. However, if WC and WN, the fitness influences of released carbon and nitrogen with respect to those already in the environment, are both small (i.e. WC, WN< < 1), the additional relative fitness influence will be additive: (1+WC)(1+WN)1WC+WN. However, we need to keep in mind that even among homologous metabolites, fitness effects may not be additive (Hermsen et al., 2015). ‘Sequential’ metabolites (e.g. diauxic shift) provide another example of non-additivity. Similar to the previous section, we assume that all abiotic resources are unlimited.

For the two reusable mediators, depending on their relative ‘potency’ (defined in Figure 5A legend), their combined effect generally cannot be modeled as a single mediator except under special conditions (Methods-Conditions under which a saturable L-V pairwise model can represent one species influencing another via two reusable mediators). These special conditions include: (1) mediators share similar potency (Figure 5—figure supplement 1B), or (2) one mediator dominates the interaction (Figure 5—figure supplement 1C). If these conditions are not satisfied, we can easily find examples where saturable L-V pairwise models derived from a low-density community and from a high-density community have qualitatively different parameters (Figure 5—figure supplement 1D). Consequently, the future dynamics of a low-density community can be predicted by a saturable L-V model derived from a low-density community but not by a model derived from a high-density community (Figure 5C). Thus, even though each mediator can be modeled by saturable L-V, their joint effects may or may not be modeled by saturable L-V depending on the relative potencies of the two mediators and sometimes even on initial conditions (high or low initial S1).

Similarly, when both mediators are consumable and do not accumulate (as in Cases II and III of Figure 3B), the fitness effect term becomes rS2C1S1ωC1S1+ψC1S2+rS2C2S1ωC2S1+ψC2S2. Except under special conditions (e.g. when ωC1 and ωC2 are zero, or when ωC1/ωC2=ψC1/ψC2, or when one mediator dominates the interaction), the two mediators may not be regarded as one. By the same token, when one mediator is a steady-state consumable and the other is reusable, they generally may not be regarded as a single mediator and would require yet a different pairwise model (i.e. with the fitness effect term rS2C1S1ωC1S1+ψC1S2+rS2C2S1S1+KS2C2r10/βC2S1).

In summary, when S1 influences S2 through multiple mediators, rarely can we approximate them as a single mediator. Sometimes, a pairwise model derived from one community may not apply to communities initiated at different densities (Figure 5C; Figure 5—figure supplement 1D). This casts further doubt on the usefulness of a single pairwise model for all pairwise microbial interactions.

L-V competition model can fail if two competing species engage in an additional interaction

So far, by assuming that abiotic resources are always present in excess (e.g. in turbidostats), we have not considered species competition for abiotic resources. In this section, we consider a competitive commensal community in a batch environment where S1 and S2 compete for an essential shared resource C1 supplied by the environment at a constant rate (e.g. constant light), and S1 supplies an essential consumable metabolite C2 to promote S2 growth (Figure 6A, left). We show that an L-V pairwise model works for some but not all communities even though these communities qualitatively share the same interaction mechanism.

Figure 6. An example of a competitive commensal community where an L-V pairwise model may work or fail.

Figure 6.

(A) Left: Two species S1 and S2 compete for shared resource C1. Additionally, S1 produces C2 that promotes the growth of S2 upon consumption. Right: An L-V pairwise model captures the intra- and inter-species competition as well as the commensal interaction between the two species. (B,C) Examples where L-V pairwise models predict the mechanistic reference dynamics well. (D) An example where the L-V pairwise model fails to predict the dynamics qualitatively (note the much longer time range). Here, population fractions fluctuate due to changes in relative concentration of C1 compared to C2. In all cases, the pairwise model is derived from the population dynamics in the initial stages of growth (150 hr in all cases). Simulation parameters are listed in Figure 6—source data 1.

DOI: http://dx.doi.org/10.7554/eLife.25051.024

Figure 6—source data 1. List of parameters for simulations in Figure 6 on an interaction through a consumable mediator, for species consuming a shared abiotic resource.
DOI: 10.7554/eLife.25051.025

In our mechanistic model (Methods-Competitive commensal interaction, Equation 47), the fitness of S2 is multiplicatively affected by C1 and C2 (Mankad and Bungay, 1988). We choose parameters such that the effect from C2 to S2 is far from saturation (e.g. linear with respect to C2 and S1) to simplify the problem. In our L-V pairwise model (Figure 6A, right; Methods-Competitive commensal interaction, Equation 48), intra- and inter-species competition is represented by the traditional logistic L-V model (Equation 2; Gause, 1934; Thébault and Fontaine, 2010; Mougi and Kondoh, 2012). We then introduce a linear term (r21S1) to describe the fitness effect of commensal interaction.

We tested various sets of mechanistic model parameters where the two species coexist in a steady fashion (Figure 6B), or one species goes extinct (Figure 6C), or species composition fluctuates (Figure 6D). L-V pairwise models deduced from a fixed period of training time could predict future dynamics in the first two cases, but failed to do so in the third case. Thus, depending on dynamic details of communities, a pairwise model sometimes works and sometimes fails.

To summarize our work, even for pairwise microbial interactions, depending on interaction mechanisms (reusable versus consumable mediator, single mediator versus multiple mediators), we will need to use a plethora of pairwise models to avoid qualitative failures in predicting which species dominates a community or whether species coexist (Figures 3, 4 and 5). Sometimes, even when different communities share identical interaction mechanisms, depending on details such as relative species fitness, interaction strength, and initial conditions, the best-fitting pairwise model may or may not predict future dynamics (Figure 3B, Figure 3—figure supplement 4, Figure 4, Figure 5, Figure 5—figure supplement 1, and Figure 6). This defeats the very purpose of pairwise modeling – using a single equation form to capture fitness effects of all pairwise species interactions regardless of interaction mechanisms or quantitative details. In a community of more than two microbial species, interaction modification can cause pairwise models to fail (Figure 7). Even if species interact in an interaction chain and thus interaction modification does not occur, various chain segments may require different forms of pairwise models. Taken together, a pairwise model is unlikely to be effective for predicting community dynamics especially if interaction mechanisms are diverse.

Figure 7. Interaction chain but not interaction modification may be represented by a multispecies pairwise model.

We examine three-species communities engaging in indirect interactions. Each species pair is representable by a two-species pairwise model (saturable L-V or alternative pairwise model, purple in the right columns of B, D, and F). We then use these two-species pairwise models to construct a three-species pairwise model, and test how well it predicts the dynamics known from the mechanistic model. In B, D, and F, left panels show dynamics from the mechanistic models (solid lines) and three-species pairwise models (dotted lines). Right panels show the difference metric D¯. (A–B) Interaction chain: S1 affects S2, and S2 affects S3. The two interactions employ independent mediators C1 and C2, and both interactions can be represented by the saturable L-V pairwise model. The three-species pairwise model matches the mechanistic model in this case. Simulation parameters are provided in Figure 7—source data 1. (C–F) Interaction modification. In both cases, the three-species pairwise model fails to predict reference dynamics even though the dynamics of each species pair can be represented by a pairwise model. (C–D) S3 consumes C1, a mediator by which S1 stimulates S2. Parameters are listed in Figure 7—source data 2. Here, S1 changes the nature of interaction between S2 and S3: S2 and S3 do not interact in the absence of S1, but S3 inhibits S2 in the presence of S1. The three-species pairwise model makes qualitatively wrong prediction about species coexistence. As expected, if S3 does not remove C1, the three-species pairwise model works (Figure 7—figure supplement 1A–B). (E–F) S1 and S3 both supply C1 which stimulates S2. Here, no species changes ‘the nature of interactions’ between any other two species: both S1 and S3 contribute reusable C1 to stimulate S2. S1 promotes S2 regardless of S3; S3 promotes S2 regardless of S1; S1 and S3 do not interact regardless of S2. However, a multispecies pairwise model assumes that the fitness effects from the two producers on S2 will be additive, whereas in reality, the fitness effect on S2 saturates at high . As a result, the three-species pairwise model qualitatively fails to capture relative species abundance. As expected, if C1 affects S2 in a linear fashion, the community dynamics is accurately captured in the multispecies pairwise model (Figure 7—figure supplement 1C–D). Simulation parameters are listed in Figure 7—source data 3.

DOI: http://dx.doi.org/10.7554/eLife.25051.026

Figure 7—source data 1. List of parameters for simulations in Figure 7B on interaction between three species in a chain.
DOI: 10.7554/eLife.25051.027
Figure 7—source data 2. List of parameters for simulations in Figure 7D on interaction modification through consumption of a shared mediator by a third species.
DOI: 10.7554/eLife.25051.028
Figure 7—source data 3. List of parameters for simulations in Figure 7F on interaction modification through production of a shared mediator by a third species.
DOI: 10.7554/eLife.25051.029
Figure 7—source data 4. List of parameters for simulations in Figure 7—figure supplement 1B on an interaction between three species through a shared reusable mediator affecting multiple species.
DOI: 10.7554/eLife.25051.030
Figure 7—source data 5. List of parameters for simulations in Figure 7—figure supplement 1D on an interaction between three species through a shared reusable mediator produced by multiple species.
DOI: 10.7554/eLife.25051.031

Figure 7.

Figure 7—figure supplement 1. A multispecies pairwise model can work under special conditions.

Figure 7—figure supplement 1.

(A–B) As a control for Figure 7C, if S3 does not remove the mediator of interaction between S1 and S2, a three-species pairwise model accurately matches the mechanistic model. Simulation parameters are provided in Figure 7—source data 4. (C–D) As a control for Figure 7E, we ensured that fitness effects from multiple species are additive. In this case, a three-species pairwise model can represent the mechanistic model. To ensure the linearity and additivity of fitness effects, we have used a larger value of half saturation concentration (KS2C1=103 μM, instead of 10−1 μM in Figure 7E–F). We have adjusted the interaction coefficients accordingly such that the overall interaction strength exerted by S1 and S3 on S2 is comparable to that in Figure 7E–F (as evident by comparable population compositions). Since the interaction influences under these conditions remain in the linear range, the three-species pairwise model accurately predicts the reference dynamics. Simulation parameters are provided in Figure 7—source data 5.

Discussions

Multispecies pairwise models are widely used in theoretical ecology due to their simplicity. These models assume that all pairwise species interactions can be captured by a single pairwise model regardless of interaction mechanisms or quantitative details of a community (universality assumption). This assumption may be satisfied if, for example, interaction mediators are always species themselves (e.g. prey-predation in a food web) so that pairwise models are equivalent to mechanistic models. However, interactions in microbial communities are diverse and often mediated by chemicals (Figure 2). Here, we consider the validity of universality assumption of pairwise models in well-mixed, two-species microbial communities. We have focused on various types of chemical-mediated interactions commonly encountered in microbial communities (Figure 2) (Kato et al., 2005; Gause, 1934; Ghuysen, 1991; Jakubovics et al., 2008; Chen et al., 2004; D'Onofrio et al., 2010; Johnson et al., 1982; Hamilton and Ng, 1983). For each type of species interaction, we construct a mechanistic model to generate reference community dynamics (akin to experimental results). We then attempt to derive the best-matching pairwise model and ask how predictive it is.

We first consider cases where abiotic resources are in excess. When one species affects another species via a single chemical mediator, either the saturable L-V or the alternative pairwise model is appropriate, depending on the interaction mechanism (consumable versus reusable mediator), relative fitness of the two species, and initial conditions (Figure 3; Figure 3—figure supplement 2 to Figure 3—figure supplement 5). These two models are not interchangeable (Figure 4). If one species influences another species through multiple mediators, then in general, these mediators may not be regarded as a single mediator nor representable by a single pairwise model. For example, for two reusable mediators, unless their potencies are similar or one mediator is much more potent than the other, saturable L-V model parameters can qualitatively differ depending on initial community density (Figure 5—figure supplement 1D). Consequently, a pairwise model derived from a high-density community generates false predictions for low-density communities (Figure 5C), limiting the usefulness of pairwise models. We then consider a community where two species compete for a shared resource while engaging in commensalism via a single chemical mediator. We find that the best-fitting L-V pairwise model can predict future dynamics in some but not all communities, depending on parameters used in the mechanistic model (Figure 6). Thus, although a single equation form can work in many cases, it generates qualitatively wrong predictions in many other cases.

In communities of more than two microbial species, indirect interactions via a third species can occur. When indirect interactions take the form of interaction chains, if each chain segment of two species engages in an independent interaction and can be represented by a pairwise model, then multispecies pairwise models can work (Figure 7A-B). However, as discussed above, pairwise equation forms may vary among chain segments depending on interaction mechanisms and quantitative details of a community. When indirect interactions take the form of interaction modification, even if each species pair can be accurately represented by a pairwise model, a multispecies pairwise model may fail (Figure 7C–F, ). Interaction modification includes trait modification (Wootton, 2002; Werner and Peacor, 2003; Schmitz et al., 2004), or, in our cases, mediator modification. Mediator modification is very common in microbial communities. For example, antibiotic released by one species to inhibit another species may be inactivated by a third species, and this type of indirect interactions can stabilize microbial communities (Kelsic et al., 2015; Bairey et al., 2016). As another example, interaction mediators are often generated by and shared among multiple species. For example in oral biofilms, organic acids such as lactic acid are generated from carbohydrate fermentation by many species (Bradshaw et al., 1994; Marsh and Bradshaw, 1997; Kuramitsu et al., 2007). Such by-products are also consumed by multiple species (Kolenbrander, 2000).

One can argue that an extended pairwise model (e.g. dS2dt=r20S2+rS2CS1ς+ωS1+ψS2S2) embodying both the saturable form and the alternative form can serve as a general-purpose model at least for pairwise interactions via a single mediator. In fact, even the effects of indirect interactions may be quantified and included in the model by incorporating higher-order interaction terms (Case and Bender, 1981; Worthen and Moore, 1991), although with many challenges (Wootton, 2002). In the end, although these strategies may lead to a sufficiently accurate phenomenological model especially within the training window, they may fail to predict future dynamics.

When might a pairwise model be useful? First, pairwise models have been instrumental in understanding ecological phenomena such as prey-predator oscillatory dynamics and coexistence of competing predator species (Volterra, 1926; MacArthur, 1970; Case and Casten, 1979; Chesson, 1990). In these cases, mechanistic models are either identical to pairwise models or can be transformed into pairwise models under simplifying assumptions. Second, pairwise models of pairwise species interactions can provide a bird’s-eye view of strong or weak stimulatory or inhibitory interactions in a community. For example, Vetsigian et al., 2011 found that interactions between soil-isolated Streptomyces strains are enriched for reciprocity – if A inhibits or promotes B, it is likely that B also inhibits or promotes A (Vetsigian et al., 2011). Third, pairwise models have been useful in qualitatively understanding species assembly rules in small communities (Friedman et al., 2017). That is, qualitative information regarding species survival in competitions among a small number of species may be used to predict survival in more diverse communities within a similar time window. Fourth, a pairwise model can serve as a starting point for generating hypotheses on species interactions (e.g. Li et al., 2015). Note that when applied to microbial communities (Mounier et al., 2008; Stein et al., 2013; Marino et al., 2014), a fitting pairwise model means that the training dynamics of the community under investigation can be approximated by a theoretical community where species interactions satisfy the additivity and universality assumptions of pairwise models. Even though the theoretical community is likely different from the real community, hypothesis formulation can still be valuable. Finally, pairwise models can be useful in making predictions of limited scales. For example, Stein et al. used 2/3 of community dynamics data as a training set to derive a multispecies pairwise model, and in the best-case scenario, the model generated reasonable predictions on the remaining 1/3 of data (Stein et al., 2013). However, as we have shown, pairwise models can generate qualitatively wrong predictions (Figures 47), especially if interaction mechanisms are diverse such as in microbial communities. Not surprisingly, predicting qualitative consequences of species removal or addition using a pairwise model has encountered difficulties, especially in communities of more than three species (Mounier et al., 2008; Friedman et al., 2017).

An alternative to a pairwise model is a mechanistic model. How much information about interaction mechanisms do we need to construct a mechanistic model? That is, what is the proper level of abstraction which captures the phenomena of interest, yet avoids unnecessary details (Li et al., 2015; Durrett and Levin, 1994)? For example, Tilman argued that if a small number of mechanisms (e.g. the ‘axes of trade-offs’ in species traits) could explain much of the observed pattern (e.g. species coexistence), then this abstraction would be highly revealing (Tilman, 1987). However, the choice of abstraction is often not obvious. Consider for example a commensal community where S1 grows exponentially (not explicitly depicted in equations in Figure 8) and the net growth rate of S2, which is normally zero, is promoted by mediator C from S1 in a linear fashion (Figure 8). If we do not know how S1 stimulates S2, we can still construct an L-V pairwise model (Figure 8A). If we know the identity of mediator C and realize that C is consumable, then we can instead construct a mechanistic model incorporating C (Figure 8B). However, if C is produced from a precursor via an enzyme E released by S1, then we get a different form of mechanistic model (Figure 8C). If, on the other hand, E is anchored on the membrane of S1 and each cell expresses a similar amount of E, then equations in Figure 8D are mathematically equivalent to Figure 8B. This simple example, inspired by extracellular breakdown of cellulose into a consumable sugar C (Bayer and Lamed, 1986; Felix and Ljungdahl, 1993; Schwarz, 2001), illustrates how knowledge of mechanisms may eventually help us determine the right level of abstraction.

Figure 8. Different levels of abstraction in a mechanistic model.

Figure 8.

How one species (S1) may influence another (S2) can be mechanistically modeled at different levels of abstraction. For simplicity, here we assume that interaction strength scales in a linear (instead of saturable) fashion with respect to mediator concentration or species density. The basal fitness of S2 is zero. (A) In the simplest form, S1 stimulates S2 in an L-V pairwise model. (B) In a mechanistic model, we may realize that S1 stimulates S2 via a mediator C which is consumed by S2. The corresponding mechanistic model is given. (C) Upon probing more deeply, it may become clear that S1 stimulates S2 via an enzyme E, where E degrades an abundant precursor (such as cellulose) to generate mediator C (such as glucose). In the corresponding mechanistic model, we may assume that E is released by S1 at a rate ζES1 and that E liberates C at a rate ηCE. (D) If instead E is anchored on the cell surface (e.g. cellulosome), then E is proportional to S1. If we substitute E into the second equation, then (B) and (D) become equivalent. Thus, when enzyme is anchored on cell surface but not when enzyme is released, the mechanistic knowledge of enzyme can be neglected.

DOI: http://dx.doi.org/10.7554/eLife.25051.033

In summary, under certain circumstances, we may already know that microbial interaction mechanisms fall within the domain of validity for a particular pairwise model. In these cases, a pairwise model provides the appropriate level of abstraction, and constructing such a pairwise model is much easier than a mechanistic model (Figure 1). However, if we do not know whether a pairwise model is valid, we will need to be cautious since pairwise models can fail to even qualitatively capture pairwise microbial interactions. We need to be equally careful when extrapolating and generalizing conclusions obtained from pairwise models, especially for communities where species interaction mechanisms are diverse. Considering recent advances in identifying and quantifying interactions, we advocate a transition to models that incorporate interaction mechanisms at the appropriate level of abstraction.

Materials and methods

Interaction modification but not interaction chain violates the additivity assumption

In a pairwise model, the fitness of a focal species Si is the sum of its ‘basal fitness’ (ri0, the net growth rate of a single Si individual in the absence of any intra-species or inter-species interactions) and the additive fitness effects exerted by pairwise interactions with other members of the community. Mathematically, an N-species pairwise model is often formulated as

dSidt=(ri0+j=1Nfij(Sj))Si (6)

Here, fij(Sj) describes how Sj, the density of species Sj, positively or negatively affects the fitness of Si, and is a linear or nonlinear function of only Sj.

Indirect interactions via a third species fall under two categories (Wootton, 1993). The first type is known as ‘interaction chain’ or ‘density-mediated indirect interactions’. For example, the consumption of plant S1 by herbivore S2 is reduced when the density of herbivore is reduced by carnivore S3. In this case, the three-species pairwise model

{dS1dt=(r10f12(S2))S1dS2dt=(r20+f21(S1)f23(S3))S2dS3dt=(r30+f32(S2))S3 (7)

does not violate the additivity assumption (compare with Equation 6 (Case and Bender, 1981; Wootton, 1994).

The second type of indirect interactions is known as ‘interaction modification’ or ‘trait-mediated indirect interactions’ or ‘higher order interactions’ (Vandermeer, 1969; Wootton, 1994; Billick and Case, 1994; Wootton, 2002), where a third species modifies the ‘nature of interaction’ from one species to another (Wootton, 2002; Werner and Peacor, 2003; Schmitz et al., 2004). For example, when carnivore is present, herbivore will spend less time foraging and consequently plant density increases. In this case, f12 in Equation 7 is a function of both S2 and S3, violating the additivity assumption.

Summary of simulation files

Simulations are based on Matlab and executed on an ordinary PC. Steps are:

Step 1: Identify monoculture parameters ri0, rii, and Kii (Figure 1—figure supplement 2C, Row 1 and Row 2).

Step 2: Identify interaction parameters rij, rji, Kij, and Kji where ij (Figure 1—figure supplement 2C, Row 3).

Step 3: Calculate distance D¯ between population dynamics of the reference mechanistic model and the approximate pairwise model over a period of time outside of the training window to assess if the pairwise model is predictive.

Fitting is performed using nonlinear least squares (lsqnonlin routine) with default optimization parameters. The following list describes the m-files used for different steps of the analysis:

File name

Function

FitCost_BasalFitness

Source code 1

Calculates the cost function for monocultures (i.e. the difference between the target mechanistic

model dynamics and the dynamics obtained from the pairwise model)

FitCost_BFSatLV.m

Source code 2

Calculates the cost function for communities (i.e. the difference between the target mechanistic

model dynamics and the dynamics obtained from the saturable L-V pairwise model)

FitCost_BFSatLV_Dp.m

Source code 3

Calculates the cost function for communities (i.e. the difference between the target mechanistic model

dynamics and the dynamics obtained from the alternative pairwise model)

DynamicsMM_WM_MonocultureDpMM.m

Source code 4

Returns growth dynamics for monocultures, based on the mechanistic model

DynamicsMMSS_WM_NetworkDpMM.m

Source code 5

Returns growth dynamics for communities of multiple species, based on the mechanistic model

DynamicsWM_NetworkBFSatLV.m

Source code 6

Returns growth dynamics for communities of multiple species, based on the saturable L-V pairwise

model

DynamicsWM_NetworkBFSatLV_Dp.m

Source code 7

Returns growth dynamics for communities of multiple species, based on the alternative pairwise model

DeriveBasalFitnessMM_WM_DpMM.m

Source code 8

Estimates monoculture parameters of pairwise model (Step 1)

DeriveBFSatLVMMSS_WM_DpMM.m

Source code 9

Estimates saturable L-V pairwise model interaction parameters (Step 2)

DeriveBFSatLVMMSS_WM_DpMM_Dp.m

Source code 10

Estimates alternative pairwise model interaction parameters (Step 2)

DeriveBFSatLVMMSS_WM_DpMM_r21.m

Source code 11

Estimates saturable L-V pairwise model interaction parameters (r21 and K21) in cases where we know

that S2 is only affected by S1, to accelerate optimization

DeriveBFSatLVMM_WM_DpMM_Dp_r21.m

Source code 12

Estimates alternative pairwise model interaction parameter (r21) in cases where we know that S2

is only affected by S1 and that KS2C1=KC1S2 to accelerate optimization

DynamicsWM_NetworkBFLogLV_DI.m

Source code 13

Returns growth dynamics for communities of two species competing for an environmental resource

while engaging in an additional interaction, based on the logistic L-V pairwise model (Figure 6)

C2Sp2_ARCLi_NoSatDp_FitBFLogLV_DI.m

Source code 14

Estimates logistic L-V pairwise model interaction parameters for communities of two species

competing for an environmental resource while engaging in an additional interaction, and

compares community dynamics from pairwise and mechanistic models (Figure 6)

Dynamics_WM_NetworkDpMM_ODE23.m

Source code 15

Defines differential equations when using Matlab’s ODE23 solver to calculate community dynamics

Case_C1Sp2_CmnsDp_ODE23.m

Source code 16

Example of using Matlab ODE23 solver for calculating community dynamics

Deriving a pairwise model for interactions mediated by a single consumable mediator

To facilitate mathematical analysis, we assume that requirements calculated below are eventually satisfied within each dilution cycle (see Figure 3—figure supplement 4 for an example where dilution cycles necessitated by long convergence time violate requirements for a pairwise model to converge to the mechanistic model). We further assume that r10>0 and r20>0 so that species cannot go extinct in the absence of dilution. See Figure 3—figure supplement 5 for a summary of this section.

When S1 releases a consumable mediator which stimulates the growth of S2, the mechanistic model as per Figure 3B, is

{dS1dt=r10S1dS2dt=r20S2+rS2C1C1C1+KS2C1S2dC1dt=βC1S1S1αC1S2C1C1+KC1S2S2=(βC1S1αC1S2C1C1+KC1S2S2S1)S1 (8)

Let C1(t=0)=C10=0S1(t=0)=S10; and S2(t=0)=S20. Note that the initial condition C10=0 can be easily imposed experimentally by pre-washing cells. Under which conditions can we eliminate C1 so that we can obtain a pairwise model of S1 and S2?

Define RS=S2/S1 as the ratio of the two populations.

dRSdt=dS2dtS1S2dS1dtS12=(r20+rS2C1C1C1+KS2C1)S2S1S2S12r10S1=(r20+rS2C1C1C1+KS2C1r10)RS (9)

Case I: r10r20>rS2C1

Since producer S1 always grows faster than consumer S2, RS0 as t. Define C~1=C1/S1 (‘~' indicating scaling against a function).

dC1~dt=d(C1/S1)dt=dC1dtS1C1dS1dtS12=(βC1S1S1αC1S2C1C1+KC1S2S2)S1C1r10S1S12=βC1S1r10C1~αC1S2C~1C~1+KC1S2exp(r10t)/S10RS (10)

Since RS declines exponentially with a rate faster than |r20+rS2C1r10|, we can ignore the third term of the right hand side of Equation 10 if it is much smaller than the first term. That is,

αC1S2C~1C~1+KC1S2exp(r10t)/S10RS<αC1S2RSαC1S2RS(0)exp(|r20+rS2C1r10|t)βC1S1.

Thus for tln(αC1S2RS(0)βC1S1)/|r20+rS2C1r10|dC~1dtβC1S1r10C~1. When initial C1~ is 0, this equation can be solved to yield: C1~βC1S1(1exp(r10t))/r10. After time of the order of 1/r10, the second term can be neglected. Thus, C1~βC1S1/r10 after time of the order of max(ln(αC1S2RS(0)βC1S1)/|r20+rS2C1r10|,1/r10). Then C1 can be replaced by (βC1S1/r10)S1 in Equation 8, and a saturable L-V pairwise model can be derived.

Case II: rS2C1>r10r20>0

For Equation 8, we find that a steady state solution for C1 and RS, denoted respectively as C1 and RS, exist. They can be easily found by setting the growth rates of S1 and S2 to be equal, and dC1/dt to zero.

{C1=r10r20r20+rS2C1r10KS2C1RS=βC1S1αC1S2(1+KC1S2C1) (11)

However, if C1 has not yet reached steady state, imposing steady state assumption would falsely predict RS at steady state and thus remaining at its initial value (Figure 4Bii , dotted lines). Since dC1/dt in Equation 8 is the difference between two exponentially growing terms, we factor out the exponential term S1 to obtain

dC1dt=(βC1S1αC1S2C1C1+KC1S2S2S1)S1=βC1S1f(C1,RS)S1 (12)

where f(C1,RS)=1αC1S2βC1S1C1C1+KC1S2RS. When f0, we can eliminate C1 and obtain an alternative pairwise model

dS2dt=r20S2+rS2C1βC1S1KC1S2S1βC1S1(KC1S2KS2C1)S1+αC1S2KS2C1S2S2 (13)

Or

dS2dt=r20S2+rS2C1S1ωS1+ψS2S2 (4)

where ω and ψ are constants (Figure 3Bii).

For certain conditions (which will be discussed at the end of this section, Figure 3—figure supplement 5A), this alternative model can make reasonable predictions of community dynamics even before the community reaches the steady state (Figure 4Bii , compare dashed and solid lines). Below we discuss the general properties of community dynamics and show that there exists a time scale tf after which it is reasonable to assume f0 and the alternative model can be derived. We also estimate tf for several scenarios.

We first make C1 and RS dimensionless by defining C^1=C1/C1 and R^S=RS/RS (‘ ^ ' indicating scaling against steady state values). Equation 9 can then be rewritten as

dR^Sdt=(r20+rS2C1C^1C^1+K^S2C1r10)R^S (14)

where K^S2C1=KS2C1/C1.

From Equations 8 and 11, we obtain

dC1C1dt=1C1(βC1S1αC1S2C1C1+KC1S2RSRSRS)S1=1C1(βC1S1αC1S2C1C1+KC1S2R^SRS)S1=1C1(βC1S1αC1S2C1/C1C1/C1+KC1S2/C1R^SβC1S1αC1S2(1+KC1S2C1))S1=1C1βC1S1(1C^1(1+K^C1S2)C^1+K^C1S2R^S)S1

or

dC^1dt=β^C1S1[1C^1(1+K^C1S2)C^1+K^C1S2R^S]S1 (15)

where β^C1S1=βC1S1/C1 and K^C1S2=KC1S2/C1.

Using these scaled variables, f (i.e. the square bracket in Equation 15) can be rewritten as

f(C^1,R^S)=1C^1(1+K^C1S2)C^1+K^C1S2R^S (16)

and

dC^1dt=β^C1S1f(C^1,R^S)S1 (17)

Equations 14 and 17 allow us to construct a phase portrait where the x axis is C^1 and the y axis is R^S (Figure 3—figure supplement 2A–D). Note that at steady state, (C^1,R^S)=(1,1). Setting Equation 16 to zero:

R^S=(1+K^C1S2/C^1)/(1+K^C1S2)or C^1=K^C1S2/[R^S(1+K^C1S2)1] (18)

defines the f-zero-isocline on the C^1R^s phase plane (i.e. values of (C^1,R^S) at which f(C^1,R^S)=0 and thus C^1 can be eliminated to obtain a pairwise model; Figure 3—figure supplement 2A–D blue lines). As shown in Figure 3—figure supplement 2A, the phase portrait is divided into four regions by the f-zero-isocline (blue) and the steady state C^1=1 (vertical solid line), and grey arrows dictate the direction of the community dynamics trajectory (C^1R^S). Starting from 'initial state' (C^1(t=0)=0, R^S(t=0)), the trajectory moves downward right (brown circles and orange lines in Figure 3—figure supplement 2A–D) until it hits C^1=1. Then, it moves upward right and eventually hits the f-zero-isocline. Afterward, the trajectory moves toward the steady state (green circles) very closely along (and not superimposing) the f-zero-isocline during which the alternative pairwise model can be derived (Figure 3—figure supplement 2A–D).

It is difficult to solve Equations 14 and 15 analytically because the detailed community dynamics depends on the parameters and the initial species composition in a complicated way. However, under certain initial conditions, we can estimate tf, the time scale for the community to approach the f-zero-isocline. Note that tf is not a precise value. Instead it estimates the acclimation time scale after which a pairwise model can be derived.

One assumption used when estimating all tf is that S10 is sufficiently high (Figure 3—figure supplement 5B) to avoid the long lag phase that is otherwise required for the mediator to accumulate to a high enough concentration.

From Equation 18, the asymptotic value for the f-zero-isocline is

R^S(C^1)=1/(1+K^C1S2) (19)

This is plotted as a black dotted line in Figure 3—figure supplement 2A–D.

Below we consider three different initial conditions for R^S(t=0):

Case II-1. R^S(t=0)max(1,K^S2C11)

From Equation 11, this becomes RS(0)/RSmax(1,r10r20r20+rS2C1r10).

A typical trajectory of the system is shown in Figure 3—figure supplement 2B: at time t=0, using Equations 14 and 15, the community dynamics trajectory (orange solid line in Figure 3—figure supplement 2B inset) has a slope of

dR^SdC^1|C^1(0)=0=dR^S/dtdC^1/dt|t=0=(r20r10)R^S(0)β^C1S1S1(0) (20)

From Equation 18, the slope of the f-zero-isocline (blue line in Figure 3—figure supplement 2B inset) at R^S=R^S(0) is

dR^SdC^1|R^S=R^S(0)=d[(1+K^C1S2/C^1)/(1+K^C1S2)]dC^1|R^S=R^S(0)=11+K^C1S2K^C1S2C^12|R^S=R^S(0)=K^C1S21+K^C1S2(R^S(0)(1+K^C1S2)1K^C1S2)2=[(1+K^C1S2)R^S(0)1]2(1+K^C1S2)K^C1S2(1+K^C1S2)R^S(0)2K^C1S2 (21)

The approximation in the last step is due to the very definition of Case II-1: R^S(t=0)1. The initial steepness of the community dynamics trajectory (Equation 20) will be much smaller than that of the f-zero-isocline (Equation 21) if

S1(0)K^C1S2(r10r20)β^C1S1(1+K^C1S2)R^S(0) (22)

If we do not scale, together with Equation 11, this becomes:

S1(0)(KC1S2/C1*)(r10r20)(βC1S1/C1*)(1+KC1S2/C1*)RS(0)/RS*=KC1S2(r10r20)RS(0)αC1S2 (23)

In this case, the community dynamics trajectory before getting close to the f-zero-isocline can be approximated as a straight line (the orange dotted line) and the change in R^S can be approximated by the green segment in the inset of Figure 3—figure supplement 2B. Since the green segment, the orange dotted line and the red dashed line form a right angle triangle, the length of green segment can be calculated once we find the length of the red dashed line ΔC^1, which is the horizontal distance between (C^1(0)R^S(0)) and the f-zero-isocline and can be calculated from Equation 16:

1ΔC^1(1+K^C1S2)ΔC^1+K^C1S2R^S(0)=0

which yields

ΔC^1=K^C1S2R^S(0)(1+K^C1S2)1K^C1S2R^S(0)(1+K^C1S2) (24)

The green segment ΔR^S is then the length of red dashed line (ΔC^1, Equation 24 ) multiplied with dR^SdC^1|C^1(0)=0 (Equation 20), or

ΔR^S=(r20r10)K^C1S2β^C1S1S1(0)(1+K^C1S2) (25)

Note that if Equation 22 is satisfied, |ΔR^S|R^S(0). What is the time scale tf for the community to traverse the orange dotted line to be close to the f-zero-isocline? Since from Equation 14 dR^Sdt=(r20+rS2C1C^1C^1+K^S2C1r10)R^S(r20r10)R^S. In Equation 14, the second term in the parenthese can be dropped if

|rS2C1r20r10C^1C^1+K^S2C1|1.

In case II-1, before the system reaches the f-zero-isocline, from Equation 24, C^1ΔC^1<1/R^S(0) thus

|rS2C1r20r10C^1C^1+K^S2C1|<|rS2C1r20r10ΔC^1ΔC^1+K^S2C1|<|rS2C1r20r1011+R^S(0)K^S2C1|.

From the top portion of Equation 11,

rS2C1r10r20=K^S2C1+1

thus

|rS2C1r20r10C^1C^1+K^S2C1|<(K^S2C1+1)11+R^S(0)K^S2C1.

According to the condition, R^S(0)max(1,K^S2C11). If K^S2C11>1, then R^S(0)K^S2C11R^S(0)K^S2C11 and K^S2C1<1.

|rS2C1r20r10C^1C^1+K^S2C1|<(K^S2C1+1)11+R^S(0)K^S2C1<21+R^S(0)K^S2C11

If K^S2C11<1, then R^S(0)1

|rS2C1r20r10C^1C^1+K^S2C1|<(K^S2C1+1)11+R^S(0)K^S2C1=(1+K^S2C11)1K^S2C11+R^S(0)<2R^S(0)1

Thus, the above approximation of Equation 14 is valid, and we obtain

tfln(R^S(0)+ΔR^SR^S(0))/(r20r10).

Since here ΔR^SR^S(0) and ln(1+x)x for small x, together with Equation 25, we have

tfK^C1S2β^C1S1S1(0)(1+K^C1S2)R^S(0) (26)

If unscaled, using Equation 11, this becomes

tfKC1S2/C1*βC1S1/C1*(1+KC1S2/C1*)S1(0)RS(0)/RS*=KC1S2αC1S2S2(0)

Case II-2. R^S(t=0) is comparable to 1

That is, RS(t=0)RS*. If S10 is low, a typical example is shown in Figure 3—figure supplement 2D. Here, because it takes a while for C1 to accumulate, during this lagging phase R^S(t)R^S(0)exp(|r10r20|t) and there is a sharp plunge in R^S before the trajectory levels off and climbs up. Although the trajectory eventually hits the f-zero-isocline where the alternative pairwise model can be derived, estimating tf is more complicated. Here we consider a simpler case where S10 is large enough so that the trajectory levels off immediately after t=0, and R^S1 before the trajectory hits the f-zero-isocline (Figure 3—figure supplement 2A). Since R^S decreases until C^1=1 and from Equation 20, and similar to the reasoning in Case II-1, if

|ΔR^S|=|dR^SdC^1|C^1(0)=0|×1=|(r20r10)R^S(0)β^C1S1S1(0)|R^S(0)

or if

S1(0)(r10r20)β^C1S1 (28)

a typical trajectory moves toward the f-zero-isocline almost horizontally (Figure 3—figure supplement 2A). The unscaled form of Equation 28 is

S1(0)(r10r20)β^C1S1=(r10r20)C1βC1S1=(r10r20)2KS2C1βC1S1(r20+rS2C1r10) (29)

To calculate the time it takes for the trajectory to reach the f-zero-isocline, let ΔsC^1=C^11 and ΔsR^S=R^S1 at any time point t respectively represent deviation of (C^1(t)R^S(t)) away from their steady state values of (1, 1). We can thus linearize Equation 14 and Equation 15 around the steady state. Note that since at the steady state f= 0, thus Δsf=f.

Rewrite Equation 14 as

dR^Sdt=(r20+rS2C1C^1C^1+K^S2C1r10)R^S=h(C^1,R^S).

We linearize this equation around the steady state C^1=1,  R^S=1

d(1+ΔsR^S)dt=h(1+ΔsC^1,1+ΔsR^S)h(1,1)+ΔsC^1hC^1||(C^1=1,R^S=1)+ΔsR^ShR^S|(C^1=1,R^S=1).

At steady state, dR^Sdt=h(1,1)=0. Thus, r20+rS2C11+K^S2C1r10=0.

dΔsR^Sdt=ΔsC^1R^SrS2C1(C^1+K^S2C1)C^1(C^1+K^S2C1)2|(C^1=1,R^S=1)+ΔsR^S(r20+rS2C1C^1C^1+K^S2C1r10)|(C^1=1,R^S=1)=ΔsC^1rS2C1K^S2C1(1+K^S2C1)2+ΔsR^S(r20+rS2C11+K^S2C1r10)=ΔsC^1rS2C1K^S2C1(1+K^S2C1)2.

Thus,

dΔsR^Sdt=ΔsC^1rS2C1K^S2C1(1+K^S2C1)2 (30)

Recall Equations 15 and 17 as

dC^1dt=β^C1S1(1C^1(1+K^C1S2)C^1+K^C1S2R^S)S1=β^C1S1f(C^1,R^S)S1.

Linearize around the steady state C^1=1,R^S=1 (note f(1,1)=0):

d(1+ΔsC^1)dt=β^C1S1S1(ΔsC^1fC^1|(C^1=1,R^S=1)+ΔsR^SfR^S|(C^1=1,R^S=1))=β^C1S1S1(ΔsC^1((1+K^C1S2)(C^1+K^C1S2)C^1(1+K^C1S2)(C^1+K^C1S2)2R^S)|(C^1=1,R^S=1)+ΔsR^SC^1(1+K^C1S2)C^1+K^C1S2|(C^1=1,R^S=1))=β^C1S1S1(ΔsC^1K^C1S21+K^C1S2+ΔsR^S).

Thus,

dΔsC^1dt=β^C1S1(ΔsC^1K^C1S21+K^C1S2+ΔsR^S)S1 (31)

Similar to the above calculation, we expand f (Equation 16) around steady state 0,

Δsf=f0=ΔsC^1fC^1|(C^1=1,R^S=1)+ΔsR^SfR^S|(C^1=1,R^S=1)=ΔsC^1K^C1S21+K^C1S2ΔsR^S (32)

Utilizing Equation 30, Equation 31, and Equation 32,

dΔsfdt=dfdt=ddt(ΔsC^1K^C1S21+K^C1S2+ΔsR^S)=K^C1S2β^C1S11+K^C1S2(ΔsC^1K^C1S21+K^C1S2+ΔsR^S)S1ΔsC^1rS2C1K^S2C1(1+K^S2C1)2=K^C1S2β^C1S1S11+K^C1S2fΔsC^1rS2C1K^S2C1(1+K^S2C1)2 (33)

Taking the derivative of both sides, and using Equation 31 and Equation 32, we have

d2fdt2=K^C1S2β^C1S11+K^C1S2d(S1f)dt+rS2C1K^S2C1(1+K^S2C1)2β^C1S1(ΔsC^1K^C1S21+K^C1S2+ΔsR^S)S1=K^C1S2β^C1S11+K^C1S2d(S1f)dtβ^C1S1rS2C1K^S2C1(1+K^S2C1)2fS1.

The solution to the above equation is:

f=exp(b2r10er10tr10t2)(D1M(12+abr10,0,er10tbr10)+D2W(12+abr10,0,er10tbr10))

where a=rS2C1K^S2C1β^C1S1S10/(1+K^S2C1)2 and b=β^C1S1K^C1S2S10/(1+K^C1S2) are two positive constants. D1 and D2 are two constants that can be determined from the initial conditions of R^S and C^1. M(κ,μ,z) and W(κ,μ,z) are Whittaker functions with argument z. As z (http://dlmf.nist.gov/13.14.E20 and http://dlmf.nist.gov/13.14.E21)

M(κ,μ,z)exp(z/2)zκW(κ,μ,z)exp(z/2)zκ.

Thus when er10tb/r101,

fD1exp[b2r10er10tr10t2+er10tb2r10](er10tbr10)(12+abr10)+D2exp[b2r10er10tr10t2er10tb2r10](er10tbr10)(12+abr10)=(br10)(12+abr10)D1exp((r10+ab)t)+(br10)(12+abr10)D2exp(br10er10t+abt).

The second term approaches zero much faster compared to the first term due to the negative exponent with an exponential term. Thus,

fexp((r10+ab)t)=exp((r10+rS2C1K^S2C1β^C1S1S10/(1+K^S2C1)2β^C1S1K^C1S2S10/(1+K^C1S2))t)=exp((r10+rS2C1K^S2C1(1+K^C1S2)K^C1S2(1+K^S2C1)2)t) (34)

Thus, when er10tb/r101, Δsf =f approaches zero at a rate of r10+rS2C1K^S2C1(1+K^C1S2)K^C1S2(1+K^S2C1)2. Therefore, as a conservative estimation, for

tr101 (35)

the community is sufficiently close to f-zero-isocline.

Case II-3. R^S(t=0)1/(1+K^C1S2) or RS(0)βC1S1/αC1S2

Similar to Case II-2, if Equation 28 is satisfied, a typical trajectory is illustrated in Figure 3—figure supplement 2C where the trajectory decreases slightly until C^1=1C^1then increases to much greater than one before the system reaches the f-zero-isocline. tf can then be estimated from tf1, the time it takes for C^1 to reach 1 and tf2 , the time takes for R^S to increase to 1/(1+K^C1S2). Using Equation 15, since R^S decreases very little, and R^S(t=0)1/(1+K^C1S2),

dC^1dtβ^C1S1S1=β^C1S1S10exp(r10t)

Therefore, C^1β^C1S1S1(0)r10(er10t1).

During tf1, C^1 increases from 0 to 1. Thus, 1β^C1S1S1(0)r10(er10tf11). tf1ln(r10/(β^C1S1S10)+1)/r10.

If

S1(0)r10β^C1S1 (36)

tf1(β^C1S1S10)1r101.

Using Equation 14 and since C^1 is very large,

dR^Sdt=(r20+rS2C1C^1C^1+K^S2C1r10)R^S(r20+rS2C1r10)R^S.

This yields

tf2ln(1R^S(0)(1+K^C1S2))/(r20+rS2C1r10),

and a conservative estimation of tf is

tf1/r10+ln(1R^S(0)(1+K^C1S2))/(r20+rS2C1r10) (37)

In the unscaled form, this becomes:

tf1r10+ln((1+KC1S2C1)RS(0)RS)/(r10r20rS2C1)=1r10+ln((1+KC1S2C1)RS(0)βC1S1αC1S2(1+KC1S2C1))/(r10r20rS2C1)=1r10+ln(αC1S2RS(0)βC1S1)(r10r20rS2C1) (38)

Case III: r10<r20

In this case, supplier S1 always grows slower than S2. As t, RS=S2/S1 and C10. The phase portrait is separated into two parts by the f-zero-isocline (Figure 3—figure supplement 2E), where, as in Equation 12,

f(C1,RS)=1αC1S2βC1S1C1C1+KC1S2RS=0 or RS=βC1S1αC1S2(1+KC1S2C1).

Note that the asymptotic value of RS (black dotted line, Figure 3—figure supplement 2E–H) is

RS(C1)=βC1S1/αC1S2 (39)

From Equation 9, dRS/dt>0. From Equation 8, below the f-zero-isocline, dC1/dt>0 and above the f-zero-isocline, dC1/dt<0. Thus if the system starts from (0,RS(0)), the phase portrait dictates that it moves with a positive slope until a time of a scale tf when it hits the f-zero-isocline, after which it moves upward to the left closely along the f-zero-isocline (Figure 3—figure supplement 2E). After tf, the alternative pairwise model can be derived. Although tf is difficult to estimate in general, it is possible for the following cases.

Case III-1. RS(0)βC1S1/αC1S2

Similar to Case II-2, if S10 is small, there is a lagging phase during which the trajectory rises steeply before leveling off (Figure 3—figure supplement 2H). Although the alternative pairwise model can be derived once the trajectory hits the f-zero-isocline, tf takes a complicated form. Here we consider two cases where S10 is large enough so that we can approximate the trajectory as a straight line going through (0,Rs(t=0)) (Figure 3—figure supplement 2F). Graphically, S10 is large enough so that the green segment in Figure 3—figure supplement 2F, whose length is ΔRS, is much smaller than RS(0). In other words,

ΔRS=dRSd(C1/KC1S2)|C1(0)=0×Δ(C1/KC1S2)RS(0).

From Equations 8 and 9

dRSd(C1/KC1S2)|C1(0)=0=dRS/dtdC1/dt|t=0KC1S2=(r20r10)RS(0)KC1S2βC1S1S1(0).

Δ(C1/KC1S2), the red segment in Figure 3—figure supplement 2F, is the horizontal distance between (0,RS(0)) and the f-zero-isocline and

ΔC1KC1S2=βC1S1RS(0)αC1S2βC1S1.

Thus, if

ΔRS=(r20r10)RS(0)KC1S2βC1S1S1(0)βC1S1RS(0)αC1S2βC1S1(r20r10)KC1S2S1(0)αC1S2RS(0),

or

S1(0)(r20r10)KC1S2αC1S2RS(0)

then from Equation 9 and r20>r10, the upper bound of tf can be calculated as

tfln(RS(0)+ΔRSRS(0))/(r20r10)ΔRSRS(0)(r20r10)KC1S2RS(0)S1(0)αC1S2=KC1S2S2(0)αC1S2 (41)

Case III-2. RS(0)βC1S1/αC1S2

A typical example is displayed in Figure 3—figure supplement 2G. The trajectory moves with a small positive slope so that the intersection of the community dynamics trajectory with the f-zero-isocline is near the black dotted line βC1S1/αC1S2 (Equation 39) where C1/KC1S2 is large. The upper bound of tf can thus be estimated from Equation 9:

dRSdt=(r20+rS2C1C1/KS2C1C1/KS2C1+1r10)RS(r20r10)RS

which yields a conservative estimate of

tfln(βC1S1αC1S2RS(0))/(r20r10) (42)

Conditions for the alternative pairwise model to approximate the mechanistic model

Cases II and III showed that population dynamics of the mechanistic model could be described by the alternative pairwise model. However, since the initial condition for C1 cannot be specified in pairwise model, problems could occur. To illustrate, we examine the phase portrait of the pairwise equation

dS2dt=r20S2+rS2C1S1ωS1+ψS2S2 (13)

where ω=1KS2C1KC1S2, ψ=αC1S2KS2C1βC1S1KC1S2. From Equations 8 and 13,

dRSdt=d(S2S1)dt=(r20+rS2C1S1ωS1+ψS2)S2S1S2r10S1S12=(r20+rS2C1ω+ψRSr10)RS (43)

Below, we plot Equation 43 under different parameters (Figure 3—figure supplement 3) to reveal conditions for convergence between mechanistic and pairwise models.

  • Case II (rS2C1>r10r20>0): steady state RS exists for mechanistic model.

If ω=1KS2C1/KC1S20 (Figure 3—figure supplement 3A): When RS<RS, dRS/dt is positive. When RS>RS, dRS/dt is negative. Thus, wherever the initial RS, it will always converge toward the only steady state RS of the mechanistic model.

If ω<0 (Figure 3—figure supplement 3B): ω+ψRS=0 or RS=ω/ψ creates singularity. Pairwise model RS will only converge toward the mechanistic model steady state if

RS(0)>ω/ψ (44)
  • Case III (r10<r20): RS increases exponentially in mechanistic model (Equation 9). Thus, C1 will decline toward zero as C1 is consumed by S2 whose relative abundance over S1 exponentially increases. Hence, according to Equation 9RS eventually increases exponentially at a rate of r20r10.

If ω0 (Figure 3—figure supplement 3C): Equation 43 dRSdt=(r20+rS2C1ω+ψRSr10)RS>0. Thus, Equation 43, which is based on alternative pairwise model, also predicts that RS will eventually increase exponentially at a rate of r20r10, similar to the mechanistic model.

If ω<0 (Figure 3—figure supplement 3D): RS(0)>ω/ψ (Equation 44) is required for unbounded increase in RS (similar to the mechanistic model). Otherwise, RS converges to an erroneous value instead.

Conditions under which a saturable L-V pairwise model can represent one species influencing another via two reusable mediators

Here, we examine a simple case where S1 releases reusable C1 and C2, and C1 and C2 additively affect the growth of S2 (see example in Figure 5). Similar to Figure 3A, the mechanistic model is:

{S1=S10exp(r10t)dS2dt=(r20+rS2C1S1S1+KS2C1r10/βC1S1+rS2C2S1S1+KS2C2r10/βC2S1)S2 (45)

Now the question is whether the saturable L-V pairwise model

{S1=S10exp(r10t)dS2dt=(r20+r21S1S1+K21)S2

can be a good approximation.

For simplicity, let’s define KC1=KS2C1r10/βC1S1 and KC2=KS2C2r10/βC2S1. Small KCi means large potency (e.g. small KC2 can be caused by small KS2C2 which means low C2 required to achieve half maximal effect on S2, and/or large synthesis rate βC2S1). Since S1 from pairwise and mechanistic models are identical, we have

D¯=12TT|log10(S2,pair)log10(S2,mech)|dt=12Tln(10)T|ln(S2,pair)ln(S2,mech)|dt=12Tln(10)T|t|(r20+r21S1S1+K21)dτt(r20+rS2C1S1S1+KC1+rS2C2S1S1+KC2)dτ|dt=12Tln(10)T|t[r21S1S1+K21(rS2C1S1S1+KC1+rS2C2S1S1+KC2)]dτ|dt (46)

D¯ can be close to zero when (i) KC1KC2 or (ii) rS2C1S1S1+KC1 and rS2C2S1S1+KC2(effects of C1 and C2 on S2) differ dramatically in magnitude. For (ii), without loss of generality, suppose that the effect of C2 on S2 can be neglected. This can be achieved if (iia) rS2C2 is much smaller than rS2C1, or (iib) KC2 is large compared to S1.

Competitive commensal interaction

For the community in Figure 6A, our mechanistic model is:

dS1dt=(r10+rS1C1C1C1+KS1C1)S1dS2dt=[r20+rS2C1,2(C1/KS2C1)(C2/KS2C2)C1/KS2C1+C2/KS2C2(1C1/KS2C1+1+1C2/KS2C2+1)]S2dC1dt=β0αC1S1rS1C1C1C1+KS1C1S1αC1S2rS2C1,2C1KS2C1C2KS2C2C1KS2C1+C2KS2C2(1C1KS2C1+1+1C2KS2C2+1)S2dC2dt=βC2S1S1αC2S2rS2C1,2(C1/KS2C1)(C2/KS2C2)C1/KS2C1+C2/KS2C2(1C1/KS2C1+1+1C2/KS2C2+1)S2 (47)

Here, S1 and S2 are the densities of the two species; ri0 is the basal net growth rate of Si (negative, representing death in the absence of the essential shared resource C1); C1 is supplied at a constant rate β0; βC2S1is the production rate of C2 by S1; αCiSj is the amount of resource Ci consumed to produce a new Sj cell.

The growth of S2 is controlled by C1 and C2. When C1 is limiting (C1/KS2C1C2/KS2C2), the fitness influence of the two chemicals on S2 becomes:

rS2C1,2(C1/KS2C1)(C2/KS2C2)C1/KS2C1+C2/KS2C2(1C1/KS2C1+1+1C2/KS2C2+1)rS2C1,2(C1/KS2C1)(C2/KS2C2)C2/KS2C2(1C1/KS2C1+1)=rS2C1,2C1/KS2C1C1/KS2C1+1=rS2C1,2C1C1+KS2C1

which is the standard Monod equation. A similar argument holds for limiting C2. We have intentionally chosen very large KS2C2 to ensure that the fitness effect of C2 on S2 is linear with respect to C2. This way, we minimize the number of pairwise model parameters that need to be estimated.

For our L-V pairwise model, to capture intra-species competition, we use

dSidt=bi0(1Siκi)SidiSi

where non-negative bi0 represents the maximal birth rate of Si at nearly zero population density (no competition), and non-negative di represents the constant death rate of Si. Positive κi is the ‘carrying capacity’ imposed by the limiting resource, and is the Si at which birth rate becomes zero. This equation can be simplified to:

dSidt=(bi0di)[1Siκi(1di/bi0)]Si=ri0[1SiΛi]Si.

When Λi>0 (i.e. when bi0>di), this resembles standard L-V model traditionally used for competitive interactions (compare to Equation 2; Gause, 1934; Thébault and Fontaine, 2010; Mougi and Kondoh, 2012).

Thus, for the competitive commensal community, we have:

dS1dt=b10(1S1Λ11S2Λ12)S1d1S1dS2dt=(b20+r21S1)(1S1Λ21S2Λ22)S2d2S2 (48)

Here, birth rate of each species is reduced by competition from the two species, and Λij is the carrying capacity such that a single Si individual will have a zero birth rate when encountering a total of Λij individuals of Sj. For S2, We used (b20+r21S1)(1S1Λ21S2Λ22)S2 instead of b20(1S1Λ21S2Λ22)S2+r21S1S2 so that when the shared resource is exhausted (i.e. 1S1Λ21S2Λ22=0), S2 does not keep growing due to the presence of S1.

Funding Statement

The funders had no role in study design, data collection and interpretation, or the decision to submit the work for publication.

Funding Information

This paper was supported by the following grants:

  • Boston College to Babak Momeni.

  • NIH Office of the Director to Babak Momeni, Wenying Shou.

  • W. M. Keck Foundation to Babak Momeni, Li Xie, Wenying Shou.

  • Fred Hutchinson Cancer Research Center to Li Xie, Wenying Shou.

Additional information

Competing interests

WS: Reviewing editor, eLife.

The other authors declare that no competing interests exist.

Author contributions

BM, Conceptualization, Resources, Software, Formal analysis, Funding acquisition, Validation, Investigation, Visualization, Methodology, Writing—original draft, Project administration, Writing—review and editing.

LX, Software, Formal analysis, Validation, Investigation, Visualization, Methodology, Writing—review and editing.

WS, Conceptualization, Resources, Formal analysis, Supervision, Funding acquisition, Validation, Investigation, Visualization, Methodology, Writing—original draft, Project administration, Writing—review and editing.

Additional files

Source code 1. Calculates the cost function for monocultures (i.e. the difference between the target mechanistic model dynamics and the dynamics obtained from the pairwise model).

DOI: http://dx.doi.org/10.7554/eLife.25051.034

elife-25051-code1.m (1.5KB, m)
DOI: 10.7554/eLife.25051.034
Source code 2. Calculates the cost function for communities (i.e. the difference between the target mechanistic model dynamics and the dynamics obtained from the saturable L-V pairwise model).

DOI: http://dx.doi.org/10.7554/eLife.25051.035

DOI: 10.7554/eLife.25051.035
Source code 3. Calculates the cost function for communities (i.e. the difference between the target mechanistic model dynamics and the dynamics obtained from the alternative pairwise model).

DOI: http://dx.doi.org/10.7554/eLife.25051.036

elife-25051-code3.m (1.3KB, m)
DOI: 10.7554/eLife.25051.036
Source code 4. Returns growth dynamics for monocultures, based on the mechanistic model.

DOI: http://dx.doi.org/10.7554/eLife.25051.037

elife-25051-code4.m (3.5KB, m)
DOI: 10.7554/eLife.25051.037
Source code 5. Returns growth dynamics for communities of multiple species, based on the mechanistic model.

DOI: http://dx.doi.org/10.7554/eLife.25051.038

elife-25051-code5.m (3.8KB, m)
DOI: 10.7554/eLife.25051.038
Source code 6. Returns growth dynamics for communities of multiple species, based on the saturable L-V pairwise model.

DOI: http://dx.doi.org/10.7554/eLife.25051.039

elife-25051-code6.m (1.6KB, m)
DOI: 10.7554/eLife.25051.039
Source code 7. Returns growth dynamics for communities of multiple species, based on the alternative pairwise model.

DOI: http://dx.doi.org/10.7554/eLife.25051.040

elife-25051-code7.m (1.6KB, m)
DOI: 10.7554/eLife.25051.040
Source code 8. Estimates monoculture parameters of pairwise model (Step 1).

DOI: http://dx.doi.org/10.7554/eLife.25051.041

elife-25051-code8.m (1.5KB, m)
DOI: 10.7554/eLife.25051.041
Source code 9. Estimates saturable L-V pairwise model interaction parameters (Step 2).

DOI: http://dx.doi.org/10.7554/eLife.25051.042

elife-25051-code9.m (2.1KB, m)
DOI: 10.7554/eLife.25051.042
Source code 10. Estimates alternative pairwise model interaction parameters (Step 2).

DOI: http://dx.doi.org/10.7554/eLife.25051.043

DOI: 10.7554/eLife.25051.043
Source code 11. Estimates saturable L-V pairwise model interaction parameters (r21 and K21) in cases where we know that S2 is only affected by S1, to accelerate optimization.

DOI: http://dx.doi.org/10.7554/eLife.25051.044

DOI: 10.7554/eLife.25051.044
Source code 12. Estimates alternative pairwise model interaction parameter (r21) in cases where we know that S2 is only affected by S1 and that KS2C1=KC1S2 to accelerate optimization.

DOI: http://dx.doi.org/10.7554/eLife.25051.045

DOI: 10.7554/eLife.25051.045
Source code 13. Returns growth dynamics for communities of two species competing for an environmental resource while engaging in an additional interaction, based on the logistic L-V pairwise model (Figure 6).

DOI: http://dx.doi.org/10.7554/eLife.25051.046

DOI: 10.7554/eLife.25051.046
Source code 14. Estimates logistic L-V pairwise model interaction parameters for communities of two species competing for an environmental resource while engaging in an additional interaction, and compares community dynamics from pairwise and mechanistic models (Figure 6).

DOI: http://dx.doi.org/10.7554/eLife.25051.047

DOI: 10.7554/eLife.25051.047
Source code 15. Defines differential equations when using Matlab’s ODE23 solver to calculate community dynamics.

DOI: http://dx.doi.org/10.7554/eLife.25051.048

DOI: 10.7554/eLife.25051.048
Source code 16. Example of using Matlab ODE23 solver for calculating community dynamics.

DOI: http://dx.doi.org/10.7554/eLife.25051.049

DOI: 10.7554/eLife.25051.049

References

  1. Allesina S, Tang S. Stability criteria for complex ecosystems. Nature. 2012;483:205–208. doi: 10.1038/nature10832. [DOI] [PubMed] [Google Scholar]
  2. Bader FG. Analysis of double-substrate limited growth. Biotechnology and Bioengineering. 1978;20:183–202. doi: 10.1002/bit.260200203. [DOI] [PubMed] [Google Scholar]
  3. Bairey E, Kelsic ED, Kishony R. High-order species interactions shape ecosystem diversity. Nature Communications. 2016;7:12285. doi: 10.1038/ncomms12285. [DOI] [PMC free article] [PubMed] [Google Scholar]
  4. Bayer EA, Lamed R. Ultrastructure of the cell surface cellulosome of Clostridium thermocellum and its interaction with cellulose. Journal of Bacteriology. 1986;167:828–836. doi: 10.1128/jb.167.3.828-836.1986. [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. Billick I, Case TJ. Higher order interactions in Ecological Communities: what are they and how can they be detected? Ecology. 1994;75:1529–1543. doi: 10.2307/1939614. [DOI] [Google Scholar]
  6. BiologyEOC PopulationChanges. 2016. [June 1 2016]. https://biologyeoc.wikispaces.com/PopulationChanges
  7. Bradshaw DJ, Homer KA, Marsh PD, Beighton D. Metabolic cooperation in oral microbial communities during growth on mucin. Microbiology. 1994;140:3407–3412. doi: 10.1099/13500872-140-12-3407. [DOI] [PubMed] [Google Scholar]
  8. Case TJ, Bender EA. Testing for higher order interactions. The American Naturalist. 1981;118:920–929. doi: 10.1086/283885. [DOI] [Google Scholar]
  9. Case TJ, Casten RG. Global stability and multiple domains of attraction in ecological systems. The American Naturalist. 1979;113:705–714. doi: 10.1086/283427. [DOI] [Google Scholar]
  10. Chen H, Fujita M, Feng Q, Clardy J, Fink GR. Tyrosol is a quorum-sensing molecule in candida albicans. PNAS. 2004;101:5048–5052. doi: 10.1073/pnas.0401416101. [DOI] [PMC free article] [PubMed] [Google Scholar]
  11. Chesson P. MacArthur's consumer-resource model. Theoretical Population Biology. 1990;37:26–38. doi: 10.1016/0040-5809(90)90025-Q. [DOI] [Google Scholar]
  12. Coyte KZ, Schluter J, Foster KR. The ecology of the microbiome: networks, competition, and stability. Science. 2015;350:663–666. doi: 10.1126/science.aad2602. [DOI] [PubMed] [Google Scholar]
  13. Czárán TL, Hoekstra RF, Pagie L. Chemical warfare between microbes promotes biodiversity. PNAS. 2002;99:786–790. doi: 10.1073/pnas.012399899. [DOI] [PMC free article] [PubMed] [Google Scholar]
  14. D'Onofrio A, Crawford JM, Stewart EJ, Witt K, Gavrish E, Epstein S, Clardy J, Lewis K. Siderophores from neighboring organisms promote the growth of uncultured bacteria. Chemistry & Biology. 2010;17:254–264. doi: 10.1016/j.chembiol.2010.02.010. [DOI] [PMC free article] [PubMed] [Google Scholar]
  15. Dormann CF, Roxburgh SH. Experimental evidence rejects pairwise modelling approach to coexistence in plant communities. Proceedings of the Royal Society B: Biological Sciences. 2005;272:1279–1285. doi: 10.1098/rspb.2005.3066. [DOI] [PMC free article] [PubMed] [Google Scholar]
  16. Duan K, Sibley CD, Davidson CJ, Surette MG. Chemical interactions between organisms in microbial communities. Contributions to Microbiology. 2009;16:1–17. doi: 10.1159/000219369. [DOI] [PubMed] [Google Scholar]
  17. Durrett R, Levin S. The importance of being discrete (and spatial) Theoretical Population Biology. 1994;46:363–394. doi: 10.1006/tpbi.1994.1032. [DOI] [Google Scholar]
  18. Faust K, Raes J. Microbial interactions: from networks to models. Nature Reviews Microbiology. 2012;10:538–550. doi: 10.1038/nrmicro2832. [DOI] [PubMed] [Google Scholar]
  19. Felix CR, Ljungdahl LG. The cellulosome: the exocellular organelle of Clostridium. Annual Review of Microbiology. 1993;47:791–819. doi: 10.1146/annurev.mi.47.100193.004043. [DOI] [PubMed] [Google Scholar]
  20. Freilich S, Zarecki R, Eilam O, Segal ES, Henry CS, Kupiec M, Gophna U, Sharan R, Ruppin E. Competitive and cooperative metabolic interactions in bacterial communities. Nature Communications. 2011;2:589. doi: 10.1038/ncomms1597. [DOI] [PubMed] [Google Scholar]
  21. Friedman J, Higgins LM, Gore J. Community structure follows simple assembly rules in microbial microcosms. Nature Ecology & Evolution. 2017;1:0109. doi: 10.1038/s41559-017-0109. [DOI] [PubMed] [Google Scholar]
  22. Gause GF. The Struggle for Existence. Baltimore: Williams & Wilkins; 1934. [Google Scholar]
  23. Ghuysen JM. Serine beta-lactamases and penicillin-binding proteins. Annual Review of Microbiology. 1991;45:37–67. doi: 10.1146/annurev.mi.45.100191.000345. [DOI] [PubMed] [Google Scholar]
  24. Gopalsamy K. Stability and Oscillations in Delay Differential Equations of Population Dynamics. Springer Science & Business Media; 1992. [Google Scholar]
  25. Green R, Shou W. Modeling community population dynamics with the open-source language R. Methods in Molecular Biology. 2014;1151:209–231. doi: 10.1007/978-1-4939-0554-6_15. [DOI] [PubMed] [Google Scholar]
  26. Guo X, Boedicker JQ. The contribution of High-Order metabolic interactions to the global activity of a four-species microbial community. PLoS Computational Biology. 2016;12:e1005079. doi: 10.1371/journal.pcbi.1005079. [DOI] [PMC free article] [PubMed] [Google Scholar]
  27. Hamilton IR, Ng SKC. Stimulation of glycolysis through lactate consumption in a resting cell mixture of Streptococcus salivarius and Veillonella parvula. FEMS Microbiology Letters. 1983;20:61–65. doi: 10.1111/j.1574-6968.1983.tb00090.x. [DOI] [Google Scholar]
  28. Hermsen R, Okano H, You C, Werner N, Hwa T. A growth-rate composition formula for the growth of E.coli on co-utilized carbon substrates. Molecular Systems Biology. 2015;11:801. doi: 10.15252/msb.20145537. [DOI] [PMC free article] [PubMed] [Google Scholar]
  29. Jakubovics NS, Gill SR, Vickerman MM, Kolenbrander PE. Role of hydrogen peroxide in competition and cooperation between Streptococcus gordonii and Actinomyces naeslundii. FEMS Microbiology Ecology. 2008;66:637–644. doi: 10.1111/j.1574-6941.2008.00585.x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  30. Jakubovics NS. Talk of the town: interspecies communication in oral biofilms. Molecular Oral Microbiology. 2010;25:4–14. doi: 10.1111/j.2041-1014.2009.00563.x. [DOI] [PubMed] [Google Scholar]
  31. Johnson EA, Sakajoh M, Halliwell G, Madia A, Demain AL. Saccharification of complex cellulosic substrates by the cellulase system from Clostridium thermocellum. Applied and Environmental Microbiology. 1982;43:1125–1132. doi: 10.1128/aem.43.5.1125-1132.1982. [DOI] [PMC free article] [PubMed] [Google Scholar]
  32. Kato S, Haruta S, Cui ZJ, Ishii M, Igarashi Y. Stable coexistence of five bacterial strains as a cellulose-degrading community. Applied and Environmental Microbiology. 2005;71:7099–7106. doi: 10.1128/AEM.71.11.7099-7106.2005. [DOI] [PMC free article] [PubMed] [Google Scholar]
  33. Kato S, Haruta S, Cui ZJ, Ishii M, Igarashi Y. Network relationships of bacteria in a stable mixed culture. Microbial Ecology. 2008;56:403–411. doi: 10.1007/s00248-007-9357-4. [DOI] [PubMed] [Google Scholar]
  34. Kau AL, Ahern PP, Griffin NW, Goodman AL, Gordon JI. Human nutrition, the gut microbiome and the immune system. Nature. 2011;474:327–336. doi: 10.1038/nature10213. [DOI] [PMC free article] [PubMed] [Google Scholar]
  35. Kelsic ED, Zhao J, Vetsigian K, Kishony R. Counteraction of antibiotic production and degradation stabilizes microbial communities. Nature. 2015;521:516–519. doi: 10.1038/nature14485. [DOI] [PMC free article] [PubMed] [Google Scholar]
  36. Kim KS, Lee S, Ryu CM. Interspecific bacterial sensing through airborne signals modulates locomotion and drug resistance. Nature Communications. 2013;4:1809. doi: 10.1038/ncomms2789. [DOI] [PubMed] [Google Scholar]
  37. Kolenbrander PE. Oral microbial communities: biofilms, interactions, and genetic systems. Annual Review of Microbiology. 2000;54:413–437. doi: 10.1146/annurev.micro.54.1.413. [DOI] [PubMed] [Google Scholar]
  38. Kuramitsu HK, He X, Lux R, Anderson MH, Shi W. Interspecies interactions within oral microbial communities. Microbiology and Molecular Biology Reviews. 2007;71:653–670. doi: 10.1128/MMBR.00024-07. [DOI] [PMC free article] [PubMed] [Google Scholar]
  39. Lendenmann U, Egli T. Kinetic models for the growth of Escherichia coli with mixtures of sugars under carbon-limited conditions. Biotechnology and Bioengineering. 1998;59:99–107. doi: 10.1002/(SICI)1097-0290(19980705)59:1&#x0003c;99::AID-BIT13&#x0003e;3.0.CO;2-Y. [DOI] [PubMed] [Google Scholar]
  40. Levine SH. Competitive interactions in ecosystems. The American Naturalist. 1976;110:903–910. doi: 10.1086/283116. [DOI] [Google Scholar]
  41. Levins R. The Strategy of Model Building in Population Biology. American Scientist. 1966;54:421–431. [Google Scholar]
  42. Li XY, Pietschke C, Fraune S, Altrock PM, Bosch TC, Traulsen A. Which games are growing bacterial populations playing? Journal of the Royal Society, Interface. 2015;12:20150121. doi: 10.1098/rsif.2015.0121. [DOI] [PMC free article] [PubMed] [Google Scholar]
  43. MacArthur R. Species packing and competitive equilibrium for many species. Theoretical Population Biology. 1970;1:1–11. doi: 10.1016/0040-5809(70)90039-0. [DOI] [PubMed] [Google Scholar]
  44. Mankad T, Bungay HR. Model for microbial growth with more than one limiting nutrient. Journal of Biotechnology. 1988;7:161–166. doi: 10.1016/0168-1656(88)90062-4. [DOI] [Google Scholar]
  45. Marino S, Baxter NT, Huffnagle GB, Petrosino JF, Schloss PD. Mathematical modeling of primary succession of murine intestinal Microbiota. PNAS. 2014;111:439–444. doi: 10.1073/pnas.1311322111. [DOI] [PMC free article] [PubMed] [Google Scholar]
  46. Marsh PD, Bradshaw DJ. Physiological approaches to the control of oral biofilms. Advances in Dental Research. 1997;11:176–185. doi: 10.1177/08959374970110010901. [DOI] [PubMed] [Google Scholar]
  47. May RM. Will a large complex system be stable? Nature. 1972;238:413–414. doi: 10.1038/238413a0. [DOI] [PubMed] [Google Scholar]
  48. Momeni B, Brileya KA, Fields MW, Shou W. Strong inter-population cooperation leads to partner intermixing in microbial communities. eLife. 2013;2:e00230. doi: 10.7554/eLife.00230. [DOI] [PMC free article] [PubMed] [Google Scholar]
  49. Mougi A, Kondoh M. Diversity of interaction types and ecological community stability. Science. 2012;337:349–351. doi: 10.1126/science.1220529. [DOI] [PubMed] [Google Scholar]
  50. Mounier J, Monnet C, Vallaeys T, Arditi R, Sarthou AS, Hélias A, Irlinger F. Microbial interactions within a cheese microbial community. Applied and Environmental Microbiology. 2008;74:172–181. doi: 10.1128/AEM.01338-07. [DOI] [PMC free article] [PubMed] [Google Scholar]
  51. Pascual MA, Kareiva P. Predicting the outcome of competition using experimental data: maximum likelihood and bayesian approaches. Ecology. 1996;77:337–349. doi: 10.2307/2265613. [DOI] [Google Scholar]
  52. Pimm SL. Food Webs. Netherlands: Springer; 1982. pp. 1–11. [Google Scholar]
  53. Round JL, Mazmanian SK. The gut microbiota shapes intestinal immune responses during health and disease. Nature Reviews Immunology. 2009;9:313–323. doi: 10.1038/nri2515. [DOI] [PMC free article] [PubMed] [Google Scholar]
  54. Schmitz OJ, Krivan V, Ovadia O. Trophic cascades: the primacy of trait-mediated indirect interactions. Ecology Letters. 2004;7:153–163. doi: 10.1111/j.1461-0248.2003.00560.x. [DOI] [Google Scholar]
  55. Schwarz WH. The cellulosome and cellulose degradation by anaerobic bacteria. Applied Microbiology and Biotechnology. 2001;56:634–649. doi: 10.1007/s002530100710. [DOI] [PubMed] [Google Scholar]
  56. Seghezzo L, Zeeman G, van Lier JB, Hamelers HVM, Lettinga G. A review: the anaerobic treatment of sewage in UASB and EGSB reactors. Bioresource Technology. 1998;65:175–190. doi: 10.1016/S0960-8524(98)00046-7. [DOI] [Google Scholar]
  57. Stams AJ. Metabolic interactions between anaerobic bacteria in methanogenic environments. Antonie Van Leeuwenhoek. 1994;66:271–294. doi: 10.1007/BF00871644. [DOI] [PubMed] [Google Scholar]
  58. Stanton ML. Interacting guilds: moving beyond the pairwise perspective on mutualisms. The American Naturalist. 2003;162:S10–S23. doi: 10.1086/378646. [DOI] [PubMed] [Google Scholar]
  59. Stein RR, Bucci V, Toussaint NC, Buffie CG, Rätsch G, Pamer EG, Sander C, Xavier JB. Ecological modeling from time-series inference: insight into dynamics and stability of intestinal microbiota. PLoS Computational Biology. 2013;9:e1003388. doi: 10.1371/journal.pcbi.1003388. [DOI] [PMC free article] [PubMed] [Google Scholar]
  60. Suweis S, Simini F, Banavar JR, Maritan A. Emergence of structural and dynamical properties of ecological mutualistic networks. Nature. 2013;500:449–452. doi: 10.1038/nature12438. [DOI] [PubMed] [Google Scholar]
  61. Thébault E, Fontaine C. Stability of ecological communities and the architecture of mutualistic and trophic networks. Science. 2010;329:853–856. doi: 10.1126/science.1188321. [DOI] [PubMed] [Google Scholar]
  62. Tilman D. The importance of the mechanisms of interspecific competition. The American Naturalist. 1987;129:769–774. doi: 10.1086/284672. [DOI] [Google Scholar]
  63. Traxler MF, Watrous JD, Alexandrov T, Dorrestein PC, Kolter R. Interspecies interactions stimulate diversification of the Streptomyces coelicolor secreted metabolome. mBio. 2013;4:e00459-13. doi: 10.1128/mBio.00459-13. [DOI] [PMC free article] [PubMed] [Google Scholar]
  64. van Hijum SA, Vaughan EE, Vogel RF. Application of state-of-art sequencing technologies to indigenous food fermentations. Current Opinion in Biotechnology. 2013;24:178–186. doi: 10.1016/j.copbio.2012.08.004. [DOI] [PubMed] [Google Scholar]
  65. Vandermeer JH. The competitive structure of communities: an experimental approach with protozoa. Ecology. 1969;50:362–371. doi: 10.2307/1933884. [DOI] [Google Scholar]
  66. Vetsigian K, Jajoo R, Kishony R. Structure and evolution of Streptomyces interaction networks in soil and in silico. PLoS Biology. 2011;9:e1001184. doi: 10.1371/journal.pbio.1001184. [DOI] [PMC free article] [PubMed] [Google Scholar]
  67. Volterra V. Variations and fluctuations of the number of individuals in animal species living together. Journal Du Conseil Conseil Permanent International Pour Exploration De La Mer. 1926;1931:3–51. [Google Scholar]
  68. Wangersky PJ. Lotka-Volterra population models. Annual Review of Ecology and Systematics. 1978;9:189–218. doi: 10.1146/annurev.es.09.110178.001201. [DOI] [Google Scholar]
  69. Werner EE, Peacor SD. A review of trait-mediated indirect interactions in ecological communities. Ecology. 2003;84:1083–1100. doi: 10.1890/0012-9658(2003)084[1083:AROTII]2.0.CO;2. [DOI] [Google Scholar]
  70. Widder S, Allen RJ, Pfeiffer T, Curtis TP, Wiuf C, Sloan WT, Cordero OX, Brown SP, Momeni B, Shou W, Kettle H, Flint HJ, Haas AF, Laroche B, Kreft JU, Rainey PB, Freilich S, Schuster S, Milferstedt K, van der Meer JR, Groβkopf T, Huisman J, Free A, Picioreanu C, Quince C, Klapper I, Labarthe S, Smets BF, Wang H, Soyer OS, Isaac Newton Institute Fellows Challenges in microbial ecology: building predictive understanding of community function and dynamics. The ISME Journal. 2016;10:2557–2568. doi: 10.1038/ismej.2016.45. [DOI] [PMC free article] [PubMed] [Google Scholar]
  71. Wootton JT. Indirect effects and habitat use in an intertidal community: interaction chains and interaction modifications. The American Naturalist. 1993;141:71–89. doi: 10.1086/285461. [DOI] [Google Scholar]
  72. Wootton JT. The nature and consequences of indirect effects in ecological communities. Annual Review of Ecology and Systematics. 1994;25:443–466. doi: 10.1146/annurev.es.25.110194.002303. [DOI] [Google Scholar]
  73. Wootton JT. Indirect effects in complex ecosystems: recent progress and future challenges. Journal of Sea Research. 2002;48:157–172. doi: 10.1016/S1385-1101(02)00149-1. [DOI] [Google Scholar]
  74. Worthen WB, Moore JL. Higher-Order interactions and indirect effects: a resolution using laboratory Drosophila communities. The American Naturalist. 1991;138:1092–1104. doi: 10.1086/285271. [DOI] [Google Scholar]
  75. Yang YL, Xu Y, Straight P, Dorrestein PC. Translating metabolic exchange with imaging mass spectrometry. Nature Chemical Biology. 2009;5:885–887. doi: 10.1038/nchembio.252. [DOI] [PMC free article] [PubMed] [Google Scholar]
eLife. 2017 Mar 28;6:e25051. doi: 10.7554/eLife.25051.050

Decision letter

Editor: Bruce Levin1

In the interests of transparency, eLife includes the editorial decision letter and accompanying author responses. A lightly edited version of the letter sent to the authors after peer review is shown, indicating the most substantive concerns; minor comments are not usually included.

[Editors’ note: a previous version of this study was rejected after peer review, but the authors submitted for reconsideration. The first decision letter after peer review is shown below.]

Thank you for submitting your work entitled "The validity of pairwise models in predicting community dynamics" for consideration by eLife. Your article has been reviewed by two peer reviewers, and the evaluation has been overseen by a Reviewing Editor, Bruce R. Levin, and a Senior Editor. The reviewers have opted to remain anonymous.

Our decision has been reached after consultation between the reviewers. Based on these discussions and the individual reviews below, we regret to inform you that your work will not be considered further for publication in eLife.

This review and editorial decision, has two elements. Part 1 has been put together by the Reviewing editor but is the product of a discussion between the editor and the reviewers. Part 2 are the separate comments and suggestions of the reviewers. There is a fair amount of overlap. BRL agrees with all of the critical comments and suggestions of the reviewers. Following our discussion, BRL sent the first part of this recommendation to the reviewers. Save for a typo, they approved of this collective review and recommendation.

Part 1.

Recommendation:

The subject of this report is right on. In addition to the considerable industrial and ecological and medical interest in bacterial communities, thanks to the "microbiome mania" the need to understand the processes that determine and maintain the structure of these communities has become increasingly important. Central to acquiring this understanding will doubtless be mathematical and/or computer simulations models of the population and evolutionary dynamics of bacteria and the interactions between these populations and the physical, chemical and biotic factors that determine their densities and relative frequencies in communities. How to construct and analyze the properties of these models is not at all clear at this time; the long-standing fissure between population and community ecology has yet to be breached. This report considers the problems of modeling bacterial populations and communities.

As trendy and important as this subject is, we don't consider this report to be of sufficient general interest to be published in ELife. Although it may be of interest to some theoreticians, we believe it would be of little interest and utility to population and evolutionary biologists and biometricians doing experimental or other empirical research with bacteria and bacterial communities. It is too abstract and doesn't address specific questions. Some readers may also see it as a complex, equation illustrated rant telling them what they already know about the limitations of pairwise models. We believe it would be more suitable for a fine but more specialized journal like PLoS Computational Biology, where the readers will be more attune to mathematical modeling of the sort considered in this report.

Collective comments and suggestions:

1) – We agree with the George Box adage, "All models are wrong, some are useful". However, we don't see how their pairwise models would be useful for understanding the processes that determine "distribution and abundance" of bacterial strains and species in communities. To be sure, even without understanding the mechanisms responsible, it would be useful to be able to predict the distribution and abundance of species from empirical estimates of the parameter of these "pairwise" models. But as we see this report as a cautionary tale saying that it is unlikely that pairwise models will be able to achieve these ends much beyond three species and if that. Moreover, even if it were possible to provide predictive pairwise models for specific simple communities, perhaps the macrobiotic of yogurt, there would be little or no generality, like to cheese or bread starters, much less natural communities.

2) Arguably (not to BRL) mechanistic models are most useful when they are wrong, when there are substantial qualitative rather than just small quantitative differences between the predictions of the model and observations in the empirical studies. That way one knows that there are fundamental errors in the biological, chemical and environmental assumptions upon which the model was based. In the best of cases, a wrong mechanistic model will point to the biological and other assumptions that have to be modified to obtain a better fit and thereby increase our understanding of the mechanisms responsible for the phenomenon under study. It is not clear how the pairwise models of the sort they are considering could achieve this end when they fit or don't fit.

3) What one means by a "mechanistic model" and mechanisms in general is in the eyes, mind and perspective of the beholder. The authors can do a better job of providing the readers with a clear distinction between what they mean by pairwise rather than mechanistic models. They present the logistic model and its extensions, like the Gause competition models, as pairwise rather than mechanistic models. We agree, but some may not. These models make the reasonable assumption that the rate of growth of populations decline as they approach the point of saturation of the environment, the parameter K. But the authors and most others interpret that parameter to reflect resource limitation, which seems mechanistic albeit not explicit in the model. Moreover, the ecological nature of the equilibrium in Logistic models and its extensions is not defined. Is that equilibrium, K, the density at stationary phase in batch culture? Or is the population at equilibrium in an environment in which resources are continually made available and bacteria and wastes are continually being removed, like a chemostat or turbidostat?

4) There is a real need to develop models that deal with the inconvenient reality of the physical structure of real habitats of bacteria. The ODE mechanistic and pairwise models considered in this report do not address this reality, which doubtless contributes to the distribution and abundance of species and strains of bacteria in natural communities.

Part 2.

Reviewer #1:

In this work, the authors study the validity of utilizing phenomenological models of pairwise interactions to describe the dynamics of ecological communities. To do so, they employ theory and simulations to compare the dynamics of detailed mechanistic models to the ones of appropriately parameterized pairwise models.

Improving our understanding of the capabilities and limitations of pairwise models is an important and timely goal, especially given their recent popularity in modeling microbial communities. I also appreciate the authors' approach of trying to delineate the types of mechanistic situations in which the pairwise approximation is valid.

However, the aspects of the problem that the authors focused on are not always the ones I feel are the most interesting and useful. Specifically, the authors focused on identifying situations in which a specific pairwise model can provide an exact description of the community dynamics. It is not surprising that phenomenological pairwise models often fail to capture exactly the dynamics of more complex mechanistic models. Nonetheless, there may be many situations where they are still useful, either by providing approximate description of the dynamics, or by capturing important qualitative features, such as the existence of oscillations, the set of coexisting species, presence of alternative stable states, etc. To me, understanding the conditions under which pairwise models are not even approximately correct, or make qualitatively wrong prediction is one of the important outstanding challenges in community modeling. I would encourage the authors to use their approach to provide insight into these questions, but, at the very least, they should clarify the difference between different failures of pairwise models. Additionally, they should be more explicit about cases in which no pairwise model would capture the community dynamics (e.g. in cases of interaction modification, or higher order interaction), versus ones in which the pairwise model that was considered wasn't adequate, but there may be a different one that is.

The authors also do not consider cases where interactions are mediated by externally supplied, abiotic mediators, rather than ones produced by the species themselves. The author's model is an extension of MacArthur's competition model, whose link to pairwise models have been extensively studied (e.g. Chesson, P. "MacArthur's Consumer Resource Model." Theoretical Population Biology 37, no. 1 (1990): 2638.).

What is not captured is competition of abiotic resources, such as the models common in David Tilman's work. The authors should make these distinctions clear, and put their work in the context of previous work. I also believe that extending the work to include competition for abiotic resources would add significant value to the work.

Reviewer #2:

The work of Momeni et al. "The validity of pairwise models in predicting community dynamics" explores conditions under which mechanistic models of species interacting via chemical mediators can be reduced to pairwise models. Pairwise models do not require a full mechanistic understanding of the nature of interactions within the community and thus use fewer parameters, which is why they are often used. The authors report that in many cases, pairwise models fail to predict, quantitatively or qualitatively, the dynamics of many species communities, which is why they should be used with caution. The authors do a good job in exploring the various scenarios under which pairwise models are not sufficient to capture these dynamics.

A point that deserves more attention however is how these results are immediately relevant for past and future studies of microbial communities? The authors provide references to several studies that employed pairwise models to simulate community dynamics. However, many of those do not model chemically mediated interactions, but rather direct interactions, such as the predator prey examples mentioned in the introduction and are thus not directly relevant to what is studied here. Can the authors provide more specific examples of works that employ pairwise models to model chemically mediated interactions?

The authors clearly describe several regimes under which pairwise models fail. However, to identify whether the community being modeled falls into these regimes, one often needs to have a quite detailed mechanistic understanding of the interactions within the community in the first place. What would then be the advantages of using a pairwise model, given that this information is available? Also, it is not clear if this is an exhaustive list of regimes that they look at or are there other regimes out there to be explored? Thus, we are left with a conundrum that the work does not address: why the results are useful for systems where we do not know all the details of the interactions?

In general, for dynamical systems it is not at all surprising that 'the devil is in the details' of interactions for many a system, as weak couplings can often have important roles. Especially for systems that are under evolutionary pressure I can see how small couplings can be essential. Thus, models with underdetermined number of parameters will often fail, especially as long as the main state variables of a system are unknown, or when these tend to shift in importance from system to system.

Thus, to me the strong 'punch' in the message of the paper is missing, especially for a wider audience outside of the ecology crowd.

As a reviewer I am part of this outside audience I am not an ecologist nor am I a theorist.

eLife. 2017 Mar 28;6:e25051. doi: 10.7554/eLife.25051.051

Author response


[Editors’ note: the author responses to the first round of peer review follow.]

This review and editorial decision, has two elements. Part 1 has been put together by the Reviewing editor but is the product of a discussion between the editor and the reviewers. Part 2 are the separate comments and suggestions of the reviewers. There is a fair amount of overlap. BRL agrees with all of the critical comments and suggestions of the reviewers. Following our discussion, BRL sent the first part of this recommendation to the reviewers. Save for a typo, they approved of this collective review and recommendation.

Part 1.

Recommendation:

The subject of this report is right on. In addition to the considerable industrial and ecological and medical interest in bacterial communities, thanks to the "microbiome mania" the need to understand the processes that determine and maintain the structure of these communities has become increasingly important. Central to acquiring this understanding will doubtless be mathematical and/or computer simulations models of the population and evolutionary dynamics of bacteria and the interactions between these populations and the physical, chemical and biotic factors that determine their densities and relative frequencies in communities. How to construct and analyze the properties of these models is not at all clear at this time; the long-standing fissure between population and community ecology has yet to be breached. This report considers the problems of modeling bacterial populations and communities.

As trendy and important as this subject is, we don't consider this report to be of sufficient general interest to be published in eLife. Although it may be of interest to some theoreticians, we believe it would be of little interest and utility to population and evolutionary biologists and biometricians doing experimental or other empirical research with bacteria and bacterial communities.

The famous quote of George Box (“All models are wrong, some are useful”) reflects the need to omit less important details and focus on important aspects of a system when constructing a model. This quote creates a dilemma for experimentalists: how would they decide which models are sufficiently useful? Their fears are legitimate: although all models are wrong, there are different reasons for being “wrong”. Certain models are “wrong” because details (e.g. the precise values of parameters) are off. Other models are wrong because the fundamental assumptions are wrong (e.g. blending inheritance). The first class can still yield insightful information that transcends details (e.g. the famous L-V pairwise model capturing the oscillatory dynamics of predator-prey communities). We presume that this is the reason why theoretical papers are still being written and some of them are still published in high-profile journals. Given the complexity of microbial communities, the temptation of using simple pairwise modeling by “biologists and biometricians doing experimental or other empirical research with bacteria and bacterial communities” is in fact strong (see Introduction, fourth paragraph). Thus, our work is directly relevant to people who work on microbial communities.

It is too abstract and doesn't address specific questions. Some readers may also see it as a complex, equation illustrated rant telling them what they already know about the limitations of pairwise models. We believe it would be more suitable for a fine but more specialized journal like PLoS Computational Biology, where the readers will be more attune to mathematical modeling of the sort considered in this report.

The specific question we have addressed is “Can we use a single equation form to represent diverse pairwise microbial interactions, as done in multispecies pairwise modeling?” The answer is “No”, as elaborated in Figures 36. This fundamental flaw we have uncovered is orthogonal to the known limitation of pairwise modeling (i.e. modification of pairwise interactions by a third species). To our knowledge, our findings have not been discussed in the literature. This is a major contribution, given the popularity and intellectual impact of pairwise models.

From reading reviewers’ comments, we realize that our writing may have been too abstract. Thus, we have reduced the use of equations in the main text (only keeping the essential ones) and have relegated most of our mathematical derivations to Methods so that general readers don’t have to read them, but for those who might be interested, the information is readily available. To demonstrate success or failure of pairwise modeling, we have replaced abstract figures of parameter comparisons with easier-to-read figures of population composition dynamics. Finally, since it is already known that interaction modification by a third species undermines multi-species pairwise modeling, we have cut down descriptions on this and moved it (Figure 7) from Results to Discussion.

Collective comments and suggestions:

1) We agree with the George Box adage, "All models are wrong, some are useful". However, we don't see how their pairwise models would be useful for understanding the processes that determine "distribution and abundance" of bacterial strains and species in communities.

We are arguing the opposite: pairwise models are not as useful as one might hope when applied to microbial communities and should be used and interpreted with great caution.

To be sure, even without understanding the mechanisms responsible, it would be useful to be able to predict the distribution and abundance of species from empirical estimates of the parameter of these "pairwise" models. But as we see this report as a cautionary tale saying that it is unlikely that pairwise models will be able to achieve these ends much beyond three species and if that.

As stated above, we argue that a single equation form, which is the standard of practice in pairwise modeling, often fails even for two-species microbial communities.

Moreover, even if it were possible to provide predictive pairwise models for specific simple communities, perhaps the macrobiotic of yogurt, there would be little or no generality, like to cheese or bread starters, much less natural communities.

The possible lack of generality among different communities does not negate the importance of being able to understand communities of interest.

2) Arguably (not to BRL) mechanistic models are most useful when they are wrong, when there are substantial qualitative rather than just small quantitative differences between the predictions of the model and observations in the empirical studies. That way one knows that there are fundamental errors in the biological, chemical and environmental assumptions upon which the model was based. In the best of cases, a wrong mechanistic model will point to the biological and other assumptions that have to be modified to obtain a better fit and thereby increase our understanding of the mechanisms responsible for the phenomenon under study. It is not clear how the pairwise models of the sort they are considering could achieve this end when they fit or don't fit.

We agree with you that failure of pairwise models may not be as informative as failure of mechanistic models. However, to be fair, pairwise models can be useful in some aspects. We have added this paragraph to the Discussion:

“When might pairwise modeling be useful? First, pairwise modeling has been instrumental in understanding ecological phenomena such as prey-predator oscillatory dynamics and coexistence of competing predator species (Volterra 1926; MacArthur 1970; Case and Casten 1979; Chesson 1990). […] Not surprisingly, predicting qualitative consequences of species removal or addition using pairwise modeling has encountered difficulties, especially in communities of more than three species (Mounier et al. 2008; Friedman, Higgins, and Gore 2016).”

3) What one means by a "mechanistic model" and mechanisms in general is in the eyes, mind and perspective of the beholder. The authors can do a better job of providing the readers with a clear distinction between what they mean by pairwise rather than mechanistic models.

This is a very good point. We have now provided a clear definition of what we mean by “mechanistic models” in the Introduction:

“We define “mechanistic models” as models that explicitly consider interaction mediators as state variables. For example, if species S1 releases a compound C1 which stimulates species S2 growth upon consumption by S2, then a mechanistic model tracks concentrations of S1, C1, and S2 (Figure 1A and B, left panels). Note that mechanistic models used here still omit molecular details such as how chemical mediators are received and processed to affect recipient.”

They present the logistic model and its extensions, like the Gause competition models, as pairwise rather than mechanistic models. We agree, but some may not. These models make the reasonable assumption that the rate of growth of populations decline as they approach the point of saturation of the environment, the parameter K. But the authors and most others interpret that parameter to reflect resource limitation, which seems mechanistic albeit not explicit in the model. Moreover, the ecological nature of the equilibrium in Logistic models and its extensions is not defined. Is that equilibrium, K, the density at stationary phase in batch culture? Or is the population at equilibrium in an environment in which resources are continually made available and bacteria and wastes are continually being removed, like a chemostat or turbidostat?

In our definition, the logistic model is not considered mechanistic because it does not model interaction mediators (the limiting metabolite). We agree that the logistic model can nicely capture resource competition, as shown by Gause. To clarify (Figure 1 table), in our mechanistic model, parameter KSCis the concentration of mediator C where half maximal fitness effect on recipient species S is achieved. In our pairwise model, parameter Kijis the density of the interaction-initiating species Sjwhere half maximal fitness effect on recipient species Siis achieved. Communities in our original manuscript were grown in a turbidostat so that no metabolites other than interaction mediators were limiting. We intentionally did so to avoid introducing additional mediators and additional parameters. However, as per reviewer 1’s request, we have added an example where two species in a batch environment compete for an abiotic metabolite while simultaneously engaging in commensalism (Figure 6). We show that although a logistic L-V pairwise model can work in some cases, it generates wrong predictions in other cases, depending on parameter choices of the mechanistic model.

4) There is a real need to develop models that deal with the inconvenient reality of the physical structure of real habitats of bacteria. The ODE mechanistic and pairwise models considered in this report do not address this reality, which doubtless contributes to the distribution and abundance of species and strains of bacteria in natural communities.

Spatial structure is undoubtedly important, as demonstrated in our earlier work (eLife 00230, eLife 00960). In this work, we consider a well-mixed environment. We have added a paragraph to justify our choice in Results:

“Throughout this work, we consider communities grown in a well-mixed environment where all individuals interact with each other at an equal chance. […] This in turn allows us to sometimes analytically demonstrate failures of pairwise modeling.”

If a model fails to capture microbial interactions in a well-mixed environment, a spatially-structured environment is unlikely to rescue this failure.

Part 2.

Reviewer #1:

In this work, the authors study the validity of utilizing phenomenological models of pairwise interactions to describe the dynamics of ecological communities. To do so, they employ theory and simulations to compare the dynamics of detailed mechanistic models to the ones of appropriately parameterized pairwise models.

Improving our understanding of the capabilities and limitations of pairwise models is an important and timely goal, especially given their recent popularity in modeling microbial communities. I also appreciate the authors' approach of trying to delineate the types of mechanistic situations in which the pairwise approximation is valid.

However, the aspects of the problem that the authors focused on are not always the ones I feel are the most interesting and useful. Specifically, the authors focused on identifying situations in which a specific pairwise model can provide an exact description of the community dynamics. It is not surprising that phenomenological pairwise models often fail to capture exactly the dynamics of more complex mechanistic models.

Our writing did at times create the impression that we were only interested in exact matches, but this is not our intention. Figures 4, 5, 6 and 7, and Figure 3—figure supplement 4 now demonstrate qualitative failures of using a single pairwise equation form to describe diverse pairwise microbial interactions and diverse details of microbial communities. We have also revised our writing in Results to clarify our intention.

Our goal is to test whether a single form of pairwise model can qualitatively predict dynamics of species pairs engaging in various types of interactions commonly found in microbial communities (e.g. Figure 2).

We summarize our results in the Discussion:

“We first consider cases where abiotic resources are in excess. When one species affects another species via a single chemical mediator, either saturable L-V or alternative pairwise model is appropriate, depending on interaction mechanism (consumable versus reusable mediator), relative fitness of the two species, and initial conditions (Figure 3; Figure 3—figure supplement 2 to Figure 3—figure supplement 5). […] Thus, although a single equation form can work in many cases, it generates qualitatively wrong predictions in many other cases.

Nonetheless, there may be many situations where they are still useful, either by providing approximate description of the dynamics, or by capturing important qualitative features, such as the existence of oscillations, the set of coexisting species, presence of alternative stable states, etc.

Yes, we agree. Please see the fifth paragraph of the Discussion. We have also added the following paragraph to the Introduction:

“L-V pairwise models are popular. L-V pairwise modeling has successfully explained the oscillatory dynamics of hare and its predator lynx (Figure 1—figure supplement 1) (Volterra 1926; Wangersky 1978; “BiologyEOC – PopulationChanges” 2016). […] In the second example, if herbivores (mediators of competitive interactions between carnivores) rapidly reach steady state, herbivores can be mathematically eliminated from the mechanistic model to yield a pairwise model of competing carnivores (MacArthur 1970; Chesson 1990).

To me, understanding the conditions under which pairwise models are not even approximately correct, or make qualitatively wrong prediction is one of the important outstanding challenges in community modeling. I would encourage the authors to use their approach to provide insight into these questions, but, at the very least, they should clarify the difference between different failures of pairwise models. Additionally, they should be more explicit about cases in which no pairwise model would capture the community dynamics (e.g. in cases of interaction modification, or higher order interaction), versus ones in which the pairwise model that was considered wasn't adequate, but there may be a different one that is.

We have re-organized our text so that in the Discussion, we recap the two failure reasons of pairwise modeling: i) Interaction modification/higher order interactions in communities of three or more species violate the additivity assumption (this is previously known; Figure 7). In this case, even if each pairwise species interaction can be described by a pairwise model, the multispecies pairwise model will fail. ii) A single equation form cannot describe diverse pairwise interactions between microbes, thus violating the universality assumption (this is the focus of our paper; Figures 3, 4, 5 and 6).

We would like to emphasize that we are not trying to argue that “no pairwise model would capture the community dynamics”. This is likely true for complex interactions mediated by chemicals, but a strong statement like this would require a mathematical proof, which is beyond the scope of this paper. Instead, we argue that (last paragraph of Results):

“To summarize our work, even for pairwise microbial interactions, depending on interaction mechanisms (reusable versus consumable mediator, single mediator versus multiple mediators), we will need to use a plethora of pairwise models to avoid qualitative failures in predicting which species dominate a community or whether species coexist (Figures 3, 4 and 5). […] Taken together, pairwise modeling is unlikely to be effective for predicting community dynamics especially if interaction mechanisms are diverse.”

The authors also do not consider cases where interactions are mediated by externally supplied, abiotic mediators, rather than ones produced by the species themselves. The author's model is an extension of MacArthur's competition model, whose link to pairwise models have been extensively studied (e.g. Chesson, P. "MacArthur's Consumer Resource Model." Theoretical Population Biology 37, no. 1 (1990): 2638.).

What is not captured is competition of abiotic resources, such as the models common in David Tilman's work. The authors should make these distinctions clear, and put their work in the context of previous work. I also believe that extending the work to include competition for abiotic resources would add significant value to the work.

Originally, we intentionally left out the influence of external nutrients (e.g. competition for abiotic resources) so that we could focus on interactions mediated by a single chemical. If failure of pairwise modeling is established in these simpler cases, then our conclusion on the limitation of pairwise modeling is already valid. Nevertheless, we have now added a section on two species competing for an abiotic resource while engaging in a commensal interaction. Again, we observed that depending on parameter choices of the mechanistic model, the best-fitting pairwise model would work in some communities, but fail in other communities (Figure 6).

Reviewer #2:

The work of Momeni et al. "The validity of pairwise models in predicting community dynamics" explores conditions under which mechanistic models of species interacting via chemical mediators can be reduced to pairwise models. Pairwise models do not require a full mechanistic understanding of the nature of interactions within the community and thus use fewer parameters, which is why they are often used. The authors report that in many cases, pairwise models fail to predict, quantitatively or qualitatively, the dynamics of many species communities, which is why they should be used with caution.

Our focus is not “many-species communities.” Instead, we show that a single pairwise equation form (as used in pairwise modeling) cannot capture diverse pairwise chemical-mediated microbial interactions. Please see the last paragraph of the Results.

The authors do a good job in exploring the various scenarios under which pairwise models are not sufficient to capture these dynamics.

A point that deserves more attention however is how these results are immediately relevant for past and future studies of microbial communities?

We have moved an originally supplementary figure to the main text. In this figure (the new Figure 2), we list many examples of microbial interactions mediated by reusable or consumable compounds, which cannot be modeled by a single form of pairwise model (Figures 3 and 4 and Figure 3—figure supplement 4). Multi-mediator interactions, which pose challenges for pairwise modeling (Figure 5), are also a norm rather than an exception:

“A species often affects another species via multiple mediators (Kato et al. 2008; Yang et al. 2009; Traxler et al. 2013; Kim, Lee, and Ryu 2013). For example, a fraction of a population might die and release numerous chemicals, and some of these chemicals can simultaneously affect another individual.”

As per reviewer 1’s request, we have also added an example where two species compete for an abiotic resource while engaging in a commensal interaction. Again, we find that a pairwise model sometimes works but sometimes fails (Figure 6). Given the ubiquity of various interaction mechanisms that we consider in our work, our results are immediately relevant for studies of microbial communities.

The authors provide references to several studies that employed pairwise models to simulate community dynamics. However, many of those do not model chemically mediated interactions, but rather direct interactions, such as the predator prey examples mentioned in the introduction and are thus not directly relevant to what is studied here.

We have added this to our Introduction:

“Pairwise models are often used to predict how perturbations of steady-state species composition exacerbate or decline over time (May 1972; Thébault and Fontaine 2010; Mougi and Kondoh 2012; Allesina and Tang 2012; Suweis et al. 2013; Coyte, Schluter, and Foster 2015). Although most work are motivated by contact-dependent prey-predation (e.g. hare-lynx) or mutualisms (e.g. plant-pollinator) where L-V models could be identical to mechanistic models, these work do not explicitly exclude chemical-mediated interactions where species are distinct from interaction mediators. “

Relevant details of these papers are below:

(May, Nature1972)

This paper models density-dependent self-inhibition for each species (aii< 0), and positive or negative inter-species interactions (aij). The work is abstract, with no mentioning of particular interaction mechanisms.

(Thébault and Fontaine, Science2010)

This work examines two types of networks: trophic (all interactions are +/-) and mutualistic (all interactions are +/+). For both cases, a logistic L-V form is used for intra-species competition and a saturable L-V form is used for the effect of inter-species interactions. Aside from pest-plant and plant-pollinator images to illustrate trophic and mutualistic interactions, there is no mentioning that such model may not be applied to interactions where interaction mediators are distinct from species themselves.

(Mougi and Kondoh, Science2012)

This work argues that studies on purely mutualistic or purely trophic networks may not be adequate and examines communities with both types of interactions. The model is fairly general, with one assumption that distinguishes it from previous models: "with a biologically feasible assumption that interaction strengths decrease with increasing resource species, due to an allocation of interacting effort". This makes it closer to our alternative model (Eq. 5). The work does not mention that such models can fail for microbial communities when interactions are mediated by chemicals.

(Allesina and Tang, Nature2012)

This works uses the same framework as May, but examines what would happen when interactions are mostly trophic or mostly mutualistic (or a mix), and when more realistic network structures are imposed. They broadly speak of ecological networks, without mentioning specific mechanisms that are valid or not valid.

(Suweis et al., Nature2013)

This work examines mutualistic communities (mentioning plant-animal interactions in their motivations). This work uses two types of equations: Holling Type I (linear L-V, similar to May's equations) and Holling Type II (nonlinear, similar to (Thebault and Fontaine, 2010) or the saturable L-V). Beyond occasionally mentioning plant-animals (as an example of cooperation), they don't delve into which interaction mechanisms are valid or invalid.

(Coyte et al., Science2015)

This paper specifically mentions human gut microbiome as their motivation and as examples throughout. They use equations similar to May's for their analysis.

We do not intend to undermine these works by suggesting that they should have made this distinction clear. However, without an explicit analysis such as offered by this work, pairwise models have been applied liberally to any, including microbial, communities where interaction mediators are chemicals and not species.

Can the authors provide more specific examples of works that employ pairwise models to model chemically mediated interactions?

Given the universality of chemical-mediated interactions in microbial communities (Figure 2), a sizable fraction of microbial interactions are mediated by chemicals. In fact, the field of “secreted metabolomics” is devoted to identifying chemical interaction mediators. We have added this to the Introduction:

“The temptation of using pairwise models is indeed high, including in microbial communities where many interactions are mediated by chemicals (Mounier et al. 2008; Faust and Raes 2012; Stein et al. 2013; Marino et al. 2014; Coyte, Schluter, and Foster 2015).”

Coyte, K.Z., Schluter, J., and Foster, K.R. (2015). The ecology of the microbiome: Networks, competition, and stability. Science 350, 663–666.

Faust, K., and Raes, J. (2012). Microbial interactions: from networks to models. Nat. Rev. Microbiol. 10, 538–550.

Marino, S., Baxter, N.T., Huffnagle, G.B., Petrosino, J.F., and Schloss, P.D. (2014). Mathematical modeling of primary succession of murine intestinal microbiota. Proc. Natl. Acad. Sci. 111, 439–444.

Mounier, J., Monnet, C., Vallaeys, T., Arditi, R., Sarthou, A.-S., Hélias, A., and Irlinger, F. (2008). Microbial interactions within a cheese microbial community. Appl. Environ. Microbiol. 74, 172–181.

Stein, R.R., Bucci, V., Toussaint, N.C., Buffie, C.G., Rätsch, G., Pamer, E.G., Sander, C., and Xavier, J.B. (2013). Ecological Modeling from Time-Series Inference: Insight into Dynamics and Stability of Intestinal Microbiota. PLoS Comput Biol 9, e1003388.

This list is by no means exhaustive.

The authors clearly describe several regimes under which pairwise models fail. However, to identify whether the community being modeled falls into these regimes, one often needs to have a quite detailed mechanistic understanding of the interactions within the community in the first place. What would then be the advantages of using a pairwise model, given that this information is available?

Please see the fifth paragraph of the Discussion. Also, in Discussion:

“In summary, under certain circumstances, we may already know that microbial interaction mechanisms fall within the domain of validity for a particular pairwise model. In these cases, pairwise modeling provides the appropriate level of abstraction, and constructing a pairwise model is much easier than a mechanistic model (Figure 1).”

Also, it is not clear if this is an exhaustive list of regimes that they look at or are there other regimes out there to be explored? Thus, we are left with a conundrum that the work does not address: why the results are useful for systems where we do not know all the details of the interactions?

The point of our work is to caution against indiscriminative use of pairwise modeling. Our work is by no means an exhaustive list of regimes that work or not work for pairwise modeling. Nor is this our goal. By demonstrating that a single form of pairwise equation, as traditionally used in pairwise modeling, cannot qualitatively capture diverse interaction mechanisms between two microbial species, we reveal an unknown/undiscussed limitation of pairwise modeling. We hope that our work will help putting pairwise modeling to proper uses (Discussion, fifth paragraph). Even though our work emphasizes the importance of delineating interaction mechanisms, we do not argue that all details of interactions must be known for a model to be useful. In fact, a good model abstracts away nonessential details. For example, interactions mediated by a single reusable mediator can be described by a saturable L-V model without the knowledge of mediator identity. Our Figure 8 provides another example of omitting unnecessary details (Figure 8D is equivalent to Figure 8B). We also added to the Introduction:

“Can a single pairwise model traditionally employed in pairwise modeling qualitatively describe diverse interactions between two microbial species?[…] On the other hand, pairwise models often fail to predict species coexistence in seven-species microbial communities (Friedman, Higgins, and Gore 2016), but this could be due to interaction modification discussed above.”

In general, for dynamical systems it is not at all surprising that 'the devil is in the details' of interactions for many a system, as weak couplings can often have important roles. Especially for systems that are under evolutionary pressure I can see how small couplings can be essential. Thus, models with underdetermined number of parameters will often fail, especially as long as the main state variables of a system are unknown, or when these tend to shift in importance from system to system.

Thus, to me the strong 'punch' in the message of the paper is missing, especially for a wider audience outside of the ecology crowd.

As a reviewer I am part of this outside audience I am not an ecologist nor am I a theorist.

You are right in that models with underdetermined number of parameters and state variables unsurprisingly fail (although we provide as many cases where they work as cases where they fail to work, see Figures 3, 4, 5, 6 and 7). According to this view, then no pairwise modeling paper should be published. However, the reality is that these papers are published in high-profile general-audience journals and that pairwise model remains one of the most popular tools in theoretical ecology. To our knowledge, our finding (a single pairwise model cannot describe diverse pairwise microbial interactions) has not been discussed in the literature. “One man’s trivial is another man’s fundamental”, although here we are not talking about “another man” but many other men! Our work points out a fundamental flaw in arguably one of the most influential models in ecology when applied to microbial communities, and thus deserves to be in a high-profile, general-audience journal.

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    Figure 3—source data 1. List of parameters for simulations in Figure 3—figure supplement 1.

    DOI: http://dx.doi.org/10.7554/eLife.25051.008

    DOI: 10.7554/eLife.25051.008
    Figure 3—source data 2. List of parameters for simulations in Figure 3—figure supplement 2 on interactions through a consumable mediator.

    DOI: http://dx.doi.org/10.7554/eLife.25051.009

    DOI: 10.7554/eLife.25051.009
    Figure 3—source data 3. List of parameters for simulations in Figure 3—figure supplement 3 on conditions required for convergence of the alternative pairwise model.

    DOI: http://dx.doi.org/10.7554/eLife.25051.010

    DOI: 10.7554/eLife.25051.010
    Figure 3—source data 4. List of parameters for simulations in Figure 3—figure supplement 4 on how dilution might affect the convergence of a pairwise model.

    DOI: http://dx.doi.org/10.7554/eLife.25051.011

    DOI: 10.7554/eLife.25051.011
    Figure 4—source data 1. List of parameters for simulations in Figure 4 on an interaction through a reusable mediator.

    DOI: http://dx.doi.org/10.7554/eLife.25051.018

    DOI: 10.7554/eLife.25051.018
    Figure 4—source data 2. List of parameters for simulations in Figure 4 on an interaction through a consumable mediator.

    DOI: http://dx.doi.org/10.7554/eLife.25051.019

    DOI: 10.7554/eLife.25051.019
    Figure 5—source data 1. List of parameters for simulations in Figure 5 on an interaction through two concurrent mediators.

    DOI: http://dx.doi.org/10.7554/eLife.25051.021

    DOI: 10.7554/eLife.25051.021
    Figure 5—source data 2. List of parameters for simulations in Figure 5—figure supplement 1 on an interaction through two concurrent mediators, assessed at high versus low cell densities.

    DOI: http://dx.doi.org/10.7554/eLife.25051.022

    DOI: 10.7554/eLife.25051.022
    Figure 6—source data 1. List of parameters for simulations in Figure 6 on an interaction through a consumable mediator, for species consuming a shared abiotic resource.

    DOI: http://dx.doi.org/10.7554/eLife.25051.025

    DOI: 10.7554/eLife.25051.025
    Figure 7—source data 1. List of parameters for simulations in Figure 7B on interaction between three species in a chain.

    DOI: http://dx.doi.org/10.7554/eLife.25051.027

    DOI: 10.7554/eLife.25051.027
    Figure 7—source data 2. List of parameters for simulations in Figure 7D on interaction modification through consumption of a shared mediator by a third species.

    DOI: http://dx.doi.org/10.7554/eLife.25051.028

    DOI: 10.7554/eLife.25051.028
    Figure 7—source data 3. List of parameters for simulations in Figure 7F on interaction modification through production of a shared mediator by a third species.

    DOI: http://dx.doi.org/10.7554/eLife.25051.029

    DOI: 10.7554/eLife.25051.029
    Figure 7—source data 4. List of parameters for simulations in Figure 7—figure supplement 1B on an interaction between three species through a shared reusable mediator affecting multiple species.

    DOI: http://dx.doi.org/10.7554/eLife.25051.030

    DOI: 10.7554/eLife.25051.030
    Figure 7—source data 5. List of parameters for simulations in Figure 7—figure supplement 1D on an interaction between three species through a shared reusable mediator produced by multiple species.

    DOI: http://dx.doi.org/10.7554/eLife.25051.031

    DOI: 10.7554/eLife.25051.031
    Source code 1. Calculates the cost function for monocultures (i.e. the difference between the target mechanistic model dynamics and the dynamics obtained from the pairwise model).

    DOI: http://dx.doi.org/10.7554/eLife.25051.034

    elife-25051-code1.m (1.5KB, m)
    DOI: 10.7554/eLife.25051.034
    Source code 2. Calculates the cost function for communities (i.e. the difference between the target mechanistic model dynamics and the dynamics obtained from the saturable L-V pairwise model).

    DOI: http://dx.doi.org/10.7554/eLife.25051.035

    DOI: 10.7554/eLife.25051.035
    Source code 3. Calculates the cost function for communities (i.e. the difference between the target mechanistic model dynamics and the dynamics obtained from the alternative pairwise model).

    DOI: http://dx.doi.org/10.7554/eLife.25051.036

    elife-25051-code3.m (1.3KB, m)
    DOI: 10.7554/eLife.25051.036
    Source code 4. Returns growth dynamics for monocultures, based on the mechanistic model.

    DOI: http://dx.doi.org/10.7554/eLife.25051.037

    elife-25051-code4.m (3.5KB, m)
    DOI: 10.7554/eLife.25051.037
    Source code 5. Returns growth dynamics for communities of multiple species, based on the mechanistic model.

    DOI: http://dx.doi.org/10.7554/eLife.25051.038

    elife-25051-code5.m (3.8KB, m)
    DOI: 10.7554/eLife.25051.038
    Source code 6. Returns growth dynamics for communities of multiple species, based on the saturable L-V pairwise model.

    DOI: http://dx.doi.org/10.7554/eLife.25051.039

    elife-25051-code6.m (1.6KB, m)
    DOI: 10.7554/eLife.25051.039
    Source code 7. Returns growth dynamics for communities of multiple species, based on the alternative pairwise model.

    DOI: http://dx.doi.org/10.7554/eLife.25051.040

    elife-25051-code7.m (1.6KB, m)
    DOI: 10.7554/eLife.25051.040
    Source code 8. Estimates monoculture parameters of pairwise model (Step 1).

    DOI: http://dx.doi.org/10.7554/eLife.25051.041

    elife-25051-code8.m (1.5KB, m)
    DOI: 10.7554/eLife.25051.041
    Source code 9. Estimates saturable L-V pairwise model interaction parameters (Step 2).

    DOI: http://dx.doi.org/10.7554/eLife.25051.042

    elife-25051-code9.m (2.1KB, m)
    DOI: 10.7554/eLife.25051.042
    Source code 10. Estimates alternative pairwise model interaction parameters (Step 2).

    DOI: http://dx.doi.org/10.7554/eLife.25051.043

    DOI: 10.7554/eLife.25051.043
    Source code 11. Estimates saturable L-V pairwise model interaction parameters (r21 and K21) in cases where we know that S2 is only affected by S1, to accelerate optimization.

    DOI: http://dx.doi.org/10.7554/eLife.25051.044

    DOI: 10.7554/eLife.25051.044
    Source code 12. Estimates alternative pairwise model interaction parameter (r21) in cases where we know that S2 is only affected by S1 and that KS2C1=KC1S2 to accelerate optimization.

    DOI: http://dx.doi.org/10.7554/eLife.25051.045

    DOI: 10.7554/eLife.25051.045
    Source code 13. Returns growth dynamics for communities of two species competing for an environmental resource while engaging in an additional interaction, based on the logistic L-V pairwise model (Figure 6).

    DOI: http://dx.doi.org/10.7554/eLife.25051.046

    DOI: 10.7554/eLife.25051.046
    Source code 14. Estimates logistic L-V pairwise model interaction parameters for communities of two species competing for an environmental resource while engaging in an additional interaction, and compares community dynamics from pairwise and mechanistic models (Figure 6).

    DOI: http://dx.doi.org/10.7554/eLife.25051.047

    DOI: 10.7554/eLife.25051.047
    Source code 15. Defines differential equations when using Matlab’s ODE23 solver to calculate community dynamics.

    DOI: http://dx.doi.org/10.7554/eLife.25051.048

    DOI: 10.7554/eLife.25051.048
    Source code 16. Example of using Matlab ODE23 solver for calculating community dynamics.

    DOI: http://dx.doi.org/10.7554/eLife.25051.049

    DOI: 10.7554/eLife.25051.049

    Articles from eLife are provided here courtesy of eLife Sciences Publications, Ltd

    RESOURCES