Skip to main content
Scientific Reports logoLink to Scientific Reports
. 2019 Apr 3;9:5580. doi: 10.1038/s41598-019-41614-2

Reconciling cooperation, biodiversity and stability in complex ecological communities

Chengyi Tu 1,2,#, Samir Suweis 3,✉,#, Jacopo Grilli 4,5, Marco Formentin 6,, Amos Maritan 3,
PMCID: PMC6447617  PMID: 30944345

Abstract

Empirical evidences show that ecosystems with high biodiversity can persist in time even in the presence of few types of resources and are more stable than low biodiverse communities. This evidence is contrasted by the conventional mathematical modeling, which predicts that the presence of many species and/or cooperative interactions are detrimental for ecological stability and persistence. Here we propose a modelling framework for population dynamics, which also include indirect cooperative interactions mediated by other species (e.g. habitat modification). We show that in the large system size limit, any number of species can coexist and stability increases as the number of species grows, if mediated cooperation is present, even in presence of exploitative or harmful interactions (e.g. antibiotics). Our theoretical approach thus shows that appropriate models of mediated cooperation naturally lead to a solution of the long-standing question about complexity-stability paradox and on how highly biodiverse communities can coexist.

Introduction

Research in population dynamics has a long history dating back to almost one thousand years ago with Fibonacci’s modeling of the rabbit population. Nevertheless, it is still under debate which are the mechanisms allowing the coexistence of many interacting species in the same environment13. The current loss of Earth’s biodiversity4 makes this open question of great relevance today more than ever, and this challenge calls for interdisciplinary approaches. Historically, the Lotka and Volterra (LV) equations have provided much theoretical guidance and several microscopic derivations of these equations have been proposed1,57. Furthermore, these equations are the core of most of the multi-species deterministic population dynamics models based on the ecological concept of niche partitioning: competing species in order to coexist need to interact with the environment differently and to rely on not-overlapping resources. Recent works810 have studied the conditions for persistence of many species in random Lotka-Volterra equations, obtaining a trade-off between diversity and strength of interactions.

While consumer-resource dynamics and related models of population dynamics with prey-predator and competitive interactions have been extensively studied, cooperative interactions (mutualism and/or commensalism), which are beneficial to one or both the involved species, have historically received less attention11. The current approach to mutualistic population dynamics is a simple extension of the LV types of models, which does not change the functional form of the two-species interaction in the phenomenological equations. Indeed beneficial (+ +) instead of predator-prey (+ −, here called exploitative) interactions are utilized1,12. In particular, a microscopic derivation of the phenomenological equations specific for the population dynamics in mutualistic communities is still missing. Moreover, a generalization of the stability-complexity theorem1,13 has revealed that mutualism is even more detrimental to stability as the product S × c increases3,1416, where S is the number of species and c the connectivity, i.e. the fraction of non-zero pairwise interactions between species. This prediction clashes with the observation of widespread mutualistic interactions (or other cooperative interactions) in many natural and laboratory communities and where the biodiversity is very high1720, although other cases have been also reported21.

An alternative theoretical approach to niche-based multi-species deterministic modeling is the Neutral Theory (NT) of Biodiversity2,22,23. In NT organisms of a community have identical per-capita probabilities of giving birth, dying, migrating, and speciating, regardless of the species they belong to. In this sense, NT is symmetric and aims to model only species on the same trophic level, therefore competing for the same pool of resources. An important example of the neutral model is the voter model (VM)24. VM was initially introduced to model the dynamics of two or more competing opinions of a group of people and its evolution in a discrete time setting can be described as follow: at each time step a randomly chosen individual changes his/her opinion to agree with one of her/his neighbors picked at random (see Fig. 1). In the ecological context one deals with a community of N individuals belonging to S different species. In its simplest version, a randomly selected individual dies and the corresponding resources are freed up for colonization by other species at the rate proportional to their abundances. An important limitation of this modeling is that, apart from competition, it does not explicitly consider species interactions (e.g. mutualism/commensalism). Although it has been already shown that niche and neutral approaches are only apparently contrasting25,26, and few stochastic models have studied the impact of cooperative interactions on species coexistence and biodiversity patterns19,27, two crucial issues in the current literature are: (i) the lack of a general framework specifically developed to model indirect (e.g. habitat modification or cross-feeding) cooperative interactions; (ii) the role of cooperative interactions in determining species coexistence and how they impact on patterns such as ecosystem stability3,14,28.

Figure 1.

Figure 1

Graphical representation of our model. (A,B) The population dynamics is stochastic: at each time step a randomly chosen individual of a given species (denoted by the color) die and it is replaced by another species that is also picked at random and give birth to an offspring. The species birth rate depends on the species population abundance and on the species interaction matrix (C) - as given by Eq. (1).

In this work, we thus present a theoretical framework where, starting from a VM-like microscopic stochastic modelling, we add interactions among species and we properly account for the effect of the different type of ecological interactions. These interactions affect neutrality and lead, in their mean field formulation, to an emergent multi-species (implicit resource) model where cooperation is specifically modelled to take in account niche construction (by habitat modification through, for example, of release of secreted compounds). Reconciling apparently contrasting observations and previous results1,3,1315, we show that, in our model ecosystem, cooperation promotes biodiversity and diversity increases stability.

Results

Voter model with ecological interactions: breaking neutrality

In details, let be ηz the species label at spatial position z, where ηz ∈ {1, …, S} and z = 1, …, N. The state at time t of the system is given by η(t) = (η1(t), η2(t), …, ηN(t)) ∈ {1, …, S}N. We also set η¯k to be the fraction of individuals of the k-species present in the system. Both intra- and inter-species competition is indirectly accounted by fixing an hard constraint on the system carrying capacity2,23, i.e. an organism comes into the system always at the expenses of another organism. We now consider two main types of explicit ecological relationships: predator-prey or exploitative interactions (+ −) and cooperation (+ +, + 0). In the following we will also study the effect of harmful relationships (− 0) that can be mediated by secreted compounds (e.g. fosfomycin in bacteria communities).

We thus introduce a directed graph on the set {1, …, S}, where the nodes correspond to species and directed links represent the network of species interactions. Such a network is defined through cooperation matrix Mij and exploitation matrix Lij satisfying the following conditions: (i) For all i, j = 1, …, S, Mij ≥ 0; (ii) For all i, j = 1, …, S, it must be LijLji < 0 or Lij = Lji = 0; (iii) For all i, j = 1, …, S, we have LijMij = 0, i.e. species i and j cannot simultaneously have both mutualistic and exploitative interactions.

In ecological terms, given two species i and j, a directed link of strength Mij from i to j means that the j-th species receives a beneficial effect from the interaction with the i-th species, while Lkl > 0(<0) and Llk < 0(>0) denotes that the l-th species exploits (is exploited by) the k-th species. For instance, in the former case we can think a microbial community where the presence of a certain species creates an environment by secreting metabolites, which modifies the niches and favors the growth of other bacteria20; in the latter one, we may think to host-parasite symbiosis. Typically, it is very difficult to measure the strength of the interactions among two species, so we adopt the standard approach of drawing the matrix entries from a given bivariate probability distribution (e.g. Gaussian or Uniform) in the same spirit as traditionally done1,14. If Q is a given matrix, we define cQ its connectivity as well as μQ, σQ and ρQ the mean, standard deviation and correlation of the ij and ji entries, respectively.

The dynamics is described by a continuum time stochastic Markov process: a randomly chosen individual is removed and substituted by an individual of the j-th species at a rate

ω(j,η,M,L)=η¯j+ϵ1k=1Sη¯kMkjθ(η¯j)+ϵ2k=1Sη¯kLkjη¯j 1

where ϵ1 > 0 and ϵ2 > 0 give the cooperation and exploitation intensity, and θ(·) is the Heaviside step function, i.e. θ(x) > 0 when x > 0 and 0 otherwise. The presence of the θ-function in the mutualistic contribution, guarantees that the transition rate is zero if the j-th species is extinct. For ϵ1 = ϵ2 = 0 we recover the standard VM. When ϵ1 > 0 the species j is favored by the presence of the other species (k in the summation) to which it is connected and by their population. On the other hand, ϵ2 > 0 allows the possibility that a species exploits (or is exploited by) one or more other species.

It is important to highlight the differences of the contribution on Eq. (1) between exploitative and cooperative interactions. In the first case, the interaction term is quadratic in η¯ (i.e. η¯kLkjη¯j), as exploitative interactions can be derived using the law of mass-action used to describe chemical reactions5,6: a contact must occur between species and the chance of this interaction is, in the simplest hypothesis, proportional to both species concentrations. On the other hand, in cooperative interactions used to model effect of habitat modification or resource exchanges have a linear contribution to the birth rate in η¯ (i.e. η¯kMkj). In fact, if some species can generate a favorable environment for the growth of other species (like for example anaerobic conditions by aerobes, or the widespread phenomenon of growth facilitation through released metabolites driving non-limiting species co-occurrence20), then the linear term present in our equations just takes into account that the growth promoting effects are proportional to the population density of the species creating these conditions, but not to the population density of the species profiting of them. A further mechanism possibly behind the linear interaction term is indeed when interspecific cross-feeding (e.g. pollen, faecal pellets, metabolic waste) is present. Indeed, if a species is favored by a secreted compound released by another species, then what really contributes to the birth rate of the former is the amount of proper resources in the environment, which is proportional to the abundance of the latter (we assume that these resources are always fully utilized in the community and do not consider the limiting case of very low densities). If a species generates nourishment for more than one species, say k species, the hypothesis under which this leads to the above mentioned linear interaction term is when the secreted compound is used by each of the k species at a different time (see Supplementary Information, Section S1). This hypothesis has been used in many studies in cases where microbes tend to utilize nutrients in a specific sequential order29, as observed in Bacteroide species30 and in other studies29. Additionally, we also provide a mathematical derivation of the linear contribution to the birth rate based on the above mechanisms (see Supplementary Information, Section S1).

The microscopic dynamics given by rates Eq. (1) induces a Markovian evolution on the relative abundance η¯s of each species. Standard techniques31 can be used to prove that as N → ∞, the process (η¯1(t),,η¯S(t))t0 weakly converges to the solution of the system of ordinary differential (mean field) equation:

ddtη¯s(t)=ϵ1k=1Sη¯k(t)Mksθ(η¯s(t))+ϵ2k=1Sη¯k(t)Lksη¯s(t)η¯s(t)(ϵ1η¯k(t)Mkiθ(η¯i(t))+ϵ2η¯k(t)Lkiη¯i(t)) 2

for s = 1, …, S where j=1Sη¯j(t)=1 and is conserved by the dynamics.

Emergent ecological patterns

Through Eq. (2) we can study many ecosystem properties of interest. One of the most important and studied emergent pattern in ecology, which we can determine within our model, is the relative species abundance (RSA)2,22,23. It describes commonness and rarity of species, thus characterizing the biodiversity of an ecological community. In our model, the RSA is given by the mean field stationary solution (m1, …, mS), which in turn depends on the species interaction matrices M and L.

The cumulative RSA is thus defined as the fraction of species with population greater that a certain value n, P>[n]=1Sk=1Sθ(nNmk) where we have fixed N = 1/min (m1, …, mS) when all species coexist, i.e. we have made the choice that the rarest species has population equal to 1. We numerically find that the stationary RSA displays a log-normal shape, as the one found in many real ecosystems2, and weakly depends on the specific distribution of the matrix elements Mij and Lij (see Fig. 2). Indeed, it is mainly determined only on its coefficient of variation, CV, i.e. the standard deviations of interaction strengths M and L relative to its mean (see Supplementary Information, Section S2). This allows to constrain the model parameters: in order to parametrize species interactions strengths, that are typically unknown, we use the random matrix approach1,14,15, where we fix the mean and the standard deviation according to the desired RSA one needs to fit. Our deterministic approximation for the RSA neglects the fluctuations due to demographic stochasticity, which on the other hand decreases as 1/N and thus when N is large enough, its effect becomes negligible.

Figure 2.

Figure 2

Cumulative RSA for a network of 300 species. The matrix elements of both Mij and Lij have been drawn from three different probability distributions (zh~ph(z), Mij~zh, Lij~zh, Lji~zh, h=1,2,3): the modulus of a Normal distribution z1~|N(α,β)| (blue lines), Gamma distribution z2~Γ(α,β) (green lines) and LogNormal distribution z3~LN(α,β) (orange lines). Connectivity for mutualistic interaction, M, is denoted by CM=C, while for exploitative interactions, L, is denoted by CL=0.1C (in all the studied cases CM+CL1). The cooperative and exploitative intensities are ϵ1=ϵ2=1. We set the distribution parameters α,β (see legend) so that in each case we build interaction matrices with three different values of coefficient of variation CV2,3,4. Log-log plots display the relative species abundances (RSA) from the stationary solution of Eq. (1) averages over 100 realizations and normalized so that the smallest population is 1. As we can see, the cumulative RSA is not very sensible to the distribution from which the matrix elements of both Mij and Lij are drawn, but only on the CV.

We now consider species abundance fluctuations, defined as xNi(t)=N(η¯i(t)mi) for i = 1, …, S. Another relevant quantity characterizing the ecosystem biodiversity is the covariance matrix V, Vij=xi(t)xj(t) xi(t)xj(t), describing the correlations in the population abundance fluctuations between pairs of species population abundances32. In our setting, we can compute analytically this quantity in the limit of normal fluctuations. The stochastic process (xN1(t),,xNS(t)) converges in distribution to a Gaussian Markov process X : = (X1(t), …, XS(t)), which solves the stochastic differential equation dX = AX dt + ΦdBt, where Bt is a S-dimensional Brownian motion, which corresponds to a S-dimensional Ornstein-Uhlenbeck process31,33. The analytical expressions for the matrices A and Φ in terms of the interaction matrices M and L, and of the equilibria, (m1, …, mS), of Eq. (2), are given in the Supplementary Information, Section S2. The covariance matrix, V, can be obtained by solving the following Lyapunov matrix equation AV + V AT + ΦΦT = 0.

This quantity is typically measured from species population time series, through the Pearson (or other type of) correlations34. Moreover, in many studies once the threshold is set opportunely, it is used as an empirical proxy of the species interactions matrix34,35. In other words, many works assume that M + L can be approximated through V. Other works, applying maximum entropy approach, use V−1 as the quantity to describe the species interactions network32. However, we find that both V and V−1 are not good proxies of the species interactions matrix M + L (see Supplementary Information, Section S2). This result highlights the importance to properly infer interaction networks from data34 by considering a suitable model, which explicitly takes into account species interactions.

Our shift in the assumptions behind cooperative interactions enlightens some theoretical problematic aspect in order to explain species coexistence and ecosystem stability as observed in many real complex ecological communities. In fact, we now show that cooperation promotes species biodiversity and strongly stabilizes the ecosystem dynamics.

The importance of mediated cooperation for preserving biodiversity

If we focus on the purely cooperative voter model (ϵ1 = ϵ and ϵ2 = 0), we are able to analytically relate key dynamical features of Eq. (2) to the topology of the interaction matrix M and prove various results of ecological importance.

First, we show that the presence of non-supported species–the i-th species is non-supported if jMji=0 – inhibits coexistence equilibria of the whole ecological community. More precisely, if species i is non-supported by other species then at stationarity Eq. (2) implies that mi = 0. The extinction of the i-th may create new unsupported species that goes to zero in the large time limit. Such a cascade of extinctions may eventually end only when jMji>0 for all nodes/species i of the network (see Supplementary Information, Section S3). The elimination of nodes of the interaction network corresponding to all non-supported species will be called pruning in the following.

Furthermore, we have found sufficient conditions on the topology of the cooperative interaction matrix M for the existence of stable stationary states of Eq. (2). In fact, if M is irreducible, i.e. if for any node i we can reach any other node j through a path of oriented links (k, l) such that Mkl > 0, then the Perron-Frobenius (PF) theorem holds36 and there is a unique non-trivial stationary state (m1, …, mS) with only positive entries. This solution is proportional to the left eigenvector, v, of M corresponding to the eigenvalue of M with the largest modulus, which turns out to be non-degenerate, real and positive36, denoted by α in the following (and that for brevity we will refer to it as PF eigenvalue). In other words, if M satisfies the PF theorem, then α tells us how the stationary species abundances m are distributed (see Methods). The corresponding right eigenvector will be denoted by w, and it gives information on how press perturbations spread throughout the network15. All components of both v and w are strictly positive and mi=vi/kvk. An example of irreducible matrix M occurs when Mij > 0 implies Mji > 0 and the network has a single connected component. Many network architectures that have been observed in natural ecological communities satisfy this condition (e.g. hierarchical modular structure in mutualistic networks)18.

Therefore, within our framework, we can analytically study the impact of the species interaction network architecture on system stability and species extinction. Two simple examples are shown corresponding to an ecosystem with no extinction (see Fig. 3A,B) and with extinction (see Fig. 3C,D). Additionally, a real-world example is also shown (see Fig. 3E,F).

Figure 3.

Figure 3

The results of the mean field predictions. (A) Species interaction network for 7 species where each species i has one mutualistic partner j, i.e. Mij = 1, ϵ1 = 1, ϵ2 = 1. (B) Time evolution of the populations of the 7 species as predicted by the mean field dynamics Eq. (2). (C) Species interaction network for 7 species where one species is not helped by any species and the iterative pruning process, as described in the main text, leads to a cascade of extinctions. (D) As the time evolution of the mean field Eq. (2), only one species dominates the community. (E) Nested structure for fruit eating birds community in Mexico39. (F) All species coexist, as predicted by our theoretical framework. In the ordinate axis use the notation η¯ and not η.

We then turn on also exploitative interactions (ϵ2 > 0) and we numerically find that, even in presence of relatively large concentrations of exploitative interactions (cL), at stationarity the system still admits an high biodiversity and full coexistence is observed, as long as a mutualistic network of interactions is present, corresponding to an irreducible matrix, M (see Fig. 4A and Methods). Further discussion can be found in the Supplementary Information, Section S4.

Figure 4.

Figure 4

The fraction of extinctions of network with exploitative or harmful interactions as well as cooperative interactions. (A) Species interaction network for 7 species where each species i has one mutualistic partner j, i.e. Mij = 1, some species have exploitative interactions (+ −) and cooperative and exploitative intensities are ϵ1 = ϵ2 = 1. The corresponding time evolution of the populations of the 7 species, as predicted by the mean field dynamics Eq. (2), are also shown. During the time evolution, the rates given by Eq. (1) remain positive and extinctions are not observed. (B) Example of a network with harmful interactions and plot of the fraction of extinctions (defined as the fraction of species extinct in the community) as a function of the connectivity of harmful matrix H (cH) and with connectivity of the cooperative matrix M (cM = 1 − cH) for different average interaction strengths (colored points) μM = −μH = 0.05, 0.1, 0.3, 1 (see legend) and cooperative and harmful intensities are ϵ1 = ϵH = 1. The off-diagonal elements of matrices M and H are drawn from normal distribution, i.e. Mij ~ z, Hij, Hji ~ 0, −z, z ~ N (μM, μM/3). The network size considered in these simulations is S = 50 and each point is the mean of 10 realizations. Similar results are found also for S = 20, S = 100 (not shown here).

Effect of harmful interactions

The current model can also take into account the harmful interactions such as impact of noxious secreted compounds (e.g. antibiotics and fosfomycin molecule) on species biodiversity. We can thus introduce a further directed network H on the set {1, …, S}, where Hij representing indirect harmful relationships (−0), i.e. a directed link of strength Hij from i to j means that the j-th species receives a harmful effect from the i-th species. The overall species interaction network is defined through three matrices M, L and H where Mij representing cooperation interactions (+ +, + 0), Lij representing exploitation interactions (+ −) and Hij representing harmful interactions (−0). These matrices satisfy the following conditions for all i, j = 1, …, S: (i) Mij ≥ 0. A directed link of strength Mij from i to j means that the j-th species receives a beneficial effect from the interaction with the i-th species; (ii) LijLji < 0 or Lij = Lji = 0. Lij > (<0) and Lji < 0(>0) denotes that the j-th species exploits (is exploited by) the i-th species; (iii) Hij < 0, Hji = 0 or Hij = 0, Hji < 0 or Hij = Hji = 0. A directed link of strength Hij from i to j means that the j-th species receives a harmful effect from the interaction with the i-th species; (iv) LijMijHij = 0 that is each pair of species, i and j, can have at most one of the above interactions.

The term of harmful interactions is linear in η¯ (i.e. η¯kHkj), so the dynamics as induced by the Markovian evolution on the relative abundance η¯s of each species lead to the following mean field equation:

ddtη¯s(t)=ϵ1k=1Sη¯k(t)Mksθ(η¯s(t))+ϵ2k=1Sη¯k(t)Lksη¯s(t)+ϵ3k=1Sη¯k(t)Hksθ(η¯s(t))η¯s(t)i,k=1S(ϵ1η¯k(t)Mkiθ(η¯i(t))+ϵ2η¯k(t)Lkiη¯i(t)+ϵ3η¯k(t)Hkiθ(η¯i(t))) 3

for s = 1, …, S where j=1Sη¯j(t)=1 and is conserved by the dynamics.

For simplicity but without loss of generality, we turn off the exploitations (given by the L matrix) and thus consider only the interaction matrices M and H, i.e. we focus on cooperation and on the effects harmful interactions mediated by secreted compounds. We discuss the results for a fully connected network, cM + cH < 1, since the case cM + cH < 1 does not alter our main conclusions. Of course, we only consider feasible and stable solutions. To do that, we first find the stationary solutions and then calculate the Jacobian matrix evaluated at that solution to check the stability. Figure 4B shows the fraction of extinction as a function of cH. We consider an extinction to occur if the species abundance goes below an extinction threshold 1/S2, where S is the number of species (notice that the average population density in the uniform case is 1/S). When cH > 0 the PF theorem cannot be applied. However, we start to detect extinctions only after a critical threshold of harmful interactions in the system and the extinction rate is an increasing function of cH. For cH larger than 0.6, the only feasible solutions are not stable and thus the extinction rate is not shown. Therefore, as expected, the existence of such molecules challenges the unlimited coexistence seen in the purely cooperative model.

Cooperation determines ecosystem stability

We now study analytically the stability of the equilibria for an ecosystem with cooperative and exploitative interactions, by analyzing the eigenvalues of the linearization of Eq. (2), i.e. the Jacobian matrix J, around the equilibria, mi, as a function of ecological complexity (c × S). We set the diagonal elements of M to zero and the off-diagonal pair (Mij, Mji) is equal to (0, 0) with probability 1 − cM and with probability cM drawn from a bivariate Gaussian distribution of means (μ, μ)T and covariance matrix Σ=(σ2,ρσ2;ρσ2,σ2). This guarantees that, for a connected cluster, coexistence of all species occurs. The mean, variance and correlation of the non-diagonal elements of matrix M are μL=cLμ, σM2=cMσ2+cM(1cM)μ2 and ρM=ρσ2+(1cM)μ2σ2+(1cM)μ2. The case in which each element of Mij is assigned independently of Mji simply corresponds to the case ρ = 0 (notice that even if ρ = 0 we can have ρ ≠ 0). The exploitative matrix L is considered similarly. If μMσM(1+ρM)/S, the leading eigenvalue λM=SμM=ScMμ and the corresponding eigenvector has positive components14. Moreover, the components of the leading eigenvector are approximately constant, i.e. the equilibria of system given by Eq. (2) can be written as mi=(1+ξi)/S for i = 1, …, S with iξi=0. Using the fact that 1=Smiξi, λM=SμM and taking into account that all the terms involving ξj are sub-leading in S, we obtain that the leading term of the system Jacobian does not depend on L (see Methods) and it is equal to:

Jij=δijSμM+(MijμM)=δijSμM+Mij 4

where Mij:=MijμM is a random matrix with zero mean, variance σM2 and correlation ρM. This implies that the eigenvalues are uniformly distributed in an ellipse centered around −M with semi-axis SσM(1+ρM) and SσM(1ρM)14. The largest eigenvalue of the Jacobian is therefore given by SμM+SσM(1+ρM). Thus, for fixed connectivity, c, in the presence of cooperation the system stability increases with S, where as if only predator-prey interactions are present, then the system is always unstable for large enough S, as the May theorem would predict (see Fig. 5 and Supplementary Information, Section S5).

Figure 5.

Figure 5

Eigenvalues spectrum of the Jacobian matrix J. (A) Pure exploitative interactions where CL = 1, ϵ2 = 1 and ϵ1 = 0. (B) Exploitative and mutualistic interactions where CL = CM = 0.5, ϵ1 = 0.75 and ϵ2 = 1. The off-diagonal elements of matrices M and L are drawn uniformly between 0 and 1, i.e. Mij ~ z, Lij, Lji ~ ±z, z ~ U(0, 1). The points are the eigenvalues of one Jacobian matrix obtained sampling at random the matrices M and L, while the lines indicate the analytical prediction for the support of the J eigenvalues in the corresponding cases (see Eq. (4)). The black vertical line indicates the instability threshold.

Discussion

In this work we have proposed how to incorporate the effect of indirect cooperation induced by habitat modification or cross-feeding19,27,37 in order to have effective equations where resources are not explicitly modelled (as in Lotka Volterra equations). This framework is a possible choice to model species dynamics with implicit resources and cooperative interactions. The introduction of indirect mutualism changes the whole stability profile of the corresponding system’s dynamics. This result highlights the importance of having a microscopic derivation of the phenomenological models and the birth rate should be accurately chosen depending on the specific ecological system one wants to model. Our results can be applied to study the effect of the interaction network topology on species coexistence in real ecological communities. In particular, we found that nested architecture, observed in plant-pollinators ecological communities15,18, where specialist species, with only few mutualistic links, tend to interact with a proper subset of the many mutualistic partners of any of the generalist species, (see Fig. 3E) satisfies the hypothesis of the PF theorem and thus favor species coexistence (see Fig. 3F). We have then shown that by properly deriving the contribution of cooperation in the species population dynamics, we solve two long-standing problems in theoretical ecology: how a large number of species can coexist together and the complexity-stability paradox. In fact, we found that cooperation promotes ecosystem biodiversity, that in turn increases its stability without any fine-tuning of the species interaction strengths or of the self-interactions. Even moderate cooperative interactions can stabilize the dynamics and the stability increases with the ecosystem complexity (see Fig. 5). In our framework we can also model and studies the effect of harmful secreted compound, such as antibiotics. We observe that these harmful interactions may lead to the extinctions of targeted species, but also in this case our conclusions still hold: cooperation promotes ecosystem biodiversity and stability. Of course, if we add direct cooperation beside the mediated mutualism, such as classic Holling quadratic interactions term, as long as indirect linear mutualism is present, we observe violation of the classic complexity-stability paradox (see Supplementary Information, Section S6).

Our results can be compared to the ones obtained recently by Servan et al.9, where it was shown that in random Lotka-Volterra systems many species were coexisting. It is important to underline, that that result was obtained assuming the stability of the interaction matrix, as the focus was to study the effect of feasibility. If the interaction matrix is not stable, in fact, one should expect more extinctions10. Conversely, in this work, a high level of coexistence is obtained without assuming the stability of the interaction matrix or, equivalently, small interaction strengths. All presented results consider effective competition by fixing the system carrying capacity, i.e. an organism comes into the system always at the expenses of another organism. The results do not change when the hard constraint of total fixed population size is relaxed by introducing the possibility for a site to become empty (see Supplementary Information, Section S7).

Finally, we may also consider a constant effort hypothesis38 in regulating species interactions. This would translate in normalizing the strengths of each interaction matrix by the by corresponding species in-degree (see Supplementary Information, Section S8). Nevertheless, in all these different scenarios our conclusions still hold: we find that a shift in the assumptions behind cooperative interactions resolve long-standing open theoretical question on the relation between stability and complexity and provides a unifying modeling approach to describe emergent patterns in ecology and interacting large ecological systems, as observed recently in real microbial communities27,37.

Methods

Application of the Perron-Frobenius theorem to the model equations

Let us consider the dynamics given by Eq. (2) for ϵ2 = 0. If M is irreducible, then the PF theorem holds36 and given the initial condition η¯s(0)>0 where s = 1, …, S, the time dependent solution for the species fractions is

η¯(t)=η¯(0)TeϵMts(η¯(0)TeϵMt)s 5

Since for any eigenvalue, β ≠ α, of M we have (β)<α, the dominant term in both numerator and denominator in Eq. (5) is veαt(η¯(0)w) leading to limtη¯(t)=vsvs=m. This is an easy computation when M has a basis of eigenvectors and in general can be derived using the Jordan decomposition. As a corollary of the derivation above, we have also that the stationary solution is globally stable in the region η¯s(0)>0 for all s = 1, …, S.

Analytical justification of the coexistence condition in the presence of exploitative interactions

As explained in the main text, if the matrix M is irreducible and the transition rates given by Eq. (1) are positive during the time evolution (a necessary condition in order that the derivation of the mean field is justified), then we find numerically that, even in presence of a large concentrations of exploitative interactions, at stationarity the system still admits an high biodiversity and full coexistence is observed. Here we want to heuristically justify what we have observed numerically. Adding exploitative interactions does not lead to extinction, as long as the mutualistic network of interactions is present, corresponding to an irreducible matrix, M. We argue that, under this hypothesis, when η¯s is positive but close to zero the complete mean field equations - where both ò1 and ò2 are positive - are perturbation of the mean field equation where only mutualistic interaction are present, since we have proved that a pure mutualistic system has no extinction as long as the matrix M is irreducible. Following the notation in Results, our continuous time Markov process is defined by the rule: a randomly chosen individual is removed and substituted by an individual of the j-th species at a rate

ω(j,η,M,L)=η¯j+ϵ1k=1Sη¯kMkjθ(η¯j):=ωjM+ϵ2k=1Sη¯kLkjη¯j:=ωjL 6

where ϵ1 > 0 and ϵ2 > 0 give the cooperation and exploitation intensity, and θ() is the Heaviside step function, i.e., θ(x) > 0 when x > 0 and 0 otherwise. As N → ∞ the relative abundance η¯s converges to the solution of the system of ordinary differential equation for s = 1, …, S. Equation for η¯s, when η¯s is positive but close to zero, can be written in the following form

ddtη¯s(t)=ωsMη¯s(t)i=1SωiMδ>0+O(η¯s) 7

The first two terms in Eq. (7) are the vector fields corresponding to mean field equation for M irreducible and no exploitation (i.e. ϵ2 = 0). We know that such a system has no extinction and its vector field is typically greater than δ > 0 out of equilibrium when η¯s0. The last term in Eq. (7) contains terms which are linear dependent of ωjL which is O(η¯s). Thus ddtη¯s(t) is positive for η¯s close to zero. The requested transition rates never become negative during the time evolution of the mean field equation. This is a necessary condition otherwise the derivation itself of the mean filed equation would be meaningless.

Stability of the equilibria

In the case of ϵ2 ≠ 0, the entries of the Jacobian read

Jij=ϵ1(MijTδijh,k=1SmhMhkmik=1SMjk)+ϵ2(Ljimi+δijh=1SmhLhiδijh,k=1SmhLhkmkmik=1SLjkmkmik=1SLkjmk) 8

The diagonal entries of the Jacobian are

Jii=ϵ1h,k=1SmhMhk+ϵ2h=1SmhLhiϵ2h,k=1SmhLhkmk 9

Since mi~1/S, it is simple to observe that the term proportional to ϵ1 is of order S (plus sub-leading fluctuations). On the other hand, the leading order of the terms proportional to ϵ2, is of order 1 and therefore always sub-leading if ϵ1 > 0. A similar argument applies to the off-diagonal elements. In that case, the terms proportional to ϵ2 are of order 1, while the ones proportional to ϵ2 are of order 1/S.

Similarly to what found in the case ϵ2 = 0, we have that the following relations hold: μL = CLμ, σL=cL(σ2+(1cL)μ2) and ρL=ρσ2+(1cL)μ2σ2+(1cL)μ2 where μ and σ are the mean and the standard deviation of the distribution from which we draw the value for the exploitative interaction strengths. These expressions have been used together with μM, σM and ρM, when calculating the coefficient of variation. The above considerations indicate that the distribution of the eigenvalues of the Jacobian, Eq. (9), is the same as the ϵ2 = 0 case. Figures visualizing these results are presented in the Supplementary Information, Section S5.

Supplementary information

Acknowledgements

We acknowledge enlightening discussions with S. Allesina, S. Azaele, J. Banavar and M. Munoz. S.S., C.T., A.M. acknowledge Fondazione Cariparo for financial support. S.S. acknowledge the Dept. of Physics and Astronomy, UNIPD for support to SID grant 2018 and UNIPD for the STARS grant 2017. M.F. was partially supported by the INdAM–GNAMPA Project 2017 and by Grant P201/12/2613 of the Czech Science Foundation (GACR). C.T. acknowledges part of the financial support comes from Yunnan University project C176210103.

Author Contributions

S.S., M.F. and A.M. designed the study, C.T., J.G. and S.S. performed numerical simulations, A.M., M.F. and J.G. performed analytical calculations. All authors contributed in writing the manuscript.

Competing Interests

The authors declare no competing interests.

Footnotes

Publisher’s note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Chengyi Tu and Samir Suweis contributed equally.

Contributor Information

Samir Suweis, Email: suweis@pd.infn.it.

Marco Formentin, Email: marco.formentin@unipd.it.

Amos Maritan, Email: maritan@pd.infn.it.

Supplementary information

Supplementary information accompanies this paper at 10.1038/s41598-019-41614-2.

References

  • 1.May RM. Will a large complex system be stable? Nature. 1972;238:413. doi: 10.1038/238413a0. [DOI] [PubMed] [Google Scholar]
  • 2.Hubbell, S. P. The Unified Neutral Theory of Biodiversity and Biogeography (Princeton University Press, 2001).
  • 3.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]
  • 4.Hull PM, Darroch SAF, Erwin DH. Rarity in mass extinctions and the future of ecosystems. Nature. 2015;528:345. doi: 10.1038/nature16160. [DOI] [PubMed] [Google Scholar]
  • 5.Matsuda H, Ogita N, Sasaki A, Satō K. Statistical mechanics of population: the lattice Lotka-Volterra model. Progress of theoretical Physics. 1992;88:1035–1049. doi: 10.1143/ptp/88.6.1035. [DOI] [Google Scholar]
  • 6.Constable GWA, McKane AJ. Models of genetic drift as limiting forms of the Lotka-Volterra competition model. Physical review letters. 2015;114:038101. doi: 10.1103/PhysRevLett.114.038101. [DOI] [PubMed] [Google Scholar]
  • 7.Chesson P. Mechanisms of maintenance of species diversity. Annual review of Ecology and Systematics. 2000;31:343–366. doi: 10.1146/annurev.ecolsys.31.1.343. [DOI] [Google Scholar]
  • 8.Grilli J, et al. Feasibility and coexistence of large ecological communities. Nature communications. 2017;8:0. doi: 10.1038/ncomms14389. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Serván, C. A. et al. Coexistence of many species in random ecosystems. 2, 1237 (2018). [DOI] [PubMed]
  • 10.Bunin, G. J. P. R. E. Ecological communities with Lotka-Volterra dynamics. 95, 042414 (2017). [DOI] [PubMed]
  • 11.Kéfi S, Holmgren M, Scheffer M. When can positive interactions cause alternative stable states in ecosystems? Functional Ecology. 2016;30:88–97. doi: 10.1111/1365-2435.12601. [DOI] [Google Scholar]
  • 12.Holling CS. Some characteristics of simple types of predation and parasitism. The Canadian Entomologist. 1959;91:385–398. doi: 10.4039/Ent91385-7. [DOI] [Google Scholar]
  • 13.McCann KS. The diversity–stability debate. Nature. 2000;405:228. doi: 10.1038/35012234. [DOI] [PubMed] [Google Scholar]
  • 14.Allesina S, Tang S. Stability criteria for complex ecosystems. Nature. 2012;483:205. doi: 10.1038/nature10832. [DOI] [PubMed] [Google Scholar]
  • 15.Suweis S, Simini F, Banavar JR, Maritan A. Emergence of structural and dynamical properties of ecological mutualistic networks. Nature. 2013;500:449. doi: 10.1038/nature12438. [DOI] [PubMed] [Google Scholar]
  • 16.Suweis S, Grilli J, Banavar JR, Allesina S, Maritan A. Effect of localization on the stability of mutualistic ecological networks. Nature communications. 2015;6:10179. doi: 10.1038/ncomms10179. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Posfai A, Taillefumier T, Wingreen NS. Metabolic trade-offs promote diversity in a model ecosystem. Physical review letters. 2017;118:028103. doi: 10.1103/PhysRevLett.118.028103. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Bascompte J, Jordano P. Plant-animal mutualistic networks: the architecture of biodiversity. Annu. Rev. Ecol. Evol. Syst. 2007;38:567–593. doi: 10.1146/annurev.ecolsys.38.091206.095818. [DOI] [Google Scholar]
  • 19.Morris BEL, Henneberger R, Huber H, Moissl-Eichinger C. Microbial syntrophy: interaction for the common good. FEMS microbiology reviews. 2013;37:384–406. doi: 10.1111/1574-6976.12019. [DOI] [PubMed] [Google Scholar]
  • 20.Zelezniak, A. et al. Metabolic dependencies drive species co-occurrence in diverse microbial communities. Proceedings of the National Academy of Sciences, 201421834 (2015). [DOI] [PMC free article] [PubMed]
  • 21.Foster KR, Bell T. Competition, not cooperation, dominates interactions among culturable microbial species. Current biology. 2012;22:1845–1850. doi: 10.1016/j.cub.2012.08.005. [DOI] [PubMed] [Google Scholar]
  • 22.Volkov I, Banavar JR, Hubbell SP, Maritan A. Neutral theory and relative species abundance in ecology. Nature. 2003;424:1035. doi: 10.1038/nature01883. [DOI] [PubMed] [Google Scholar]
  • 23.Azaele S, et al. Statistical mechanics of ecological systems: Neutral theory and beyond. Reviews of Modern Physics. 2016;88:035003. doi: 10.1103/RevModPhys.88.035003. [DOI] [Google Scholar]
  • 24.Liggett, T. M. Stochastic interacting systems: contact, voter and exclusion processes. Vol. 324 (springer science & Business Media, 2013).
  • 25.Segura AM, et al. Emergent neutrality drives phytoplankton species coexistence. Proceedings of the Royal Society of London B: Biological Sciences. 2011;278:2355–2361. doi: 10.1098/rspb.2010.2464. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Fisher CK, Mehta P. The transition between the niche and neutral regimes in ecology. Proceedings of the National Academy of Sciences. 2014;111:13111–13116. doi: 10.1073/pnas.1405637111. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Goldford JE, et al. Emergent simplicity in microbial community assembly. Science. 2018;361:469–474. doi: 10.1126/science.aat1168. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Butler S, O’Dwyer JP. Stability criteria for complex microbial communities. Nature communications. 2018;9:2970. doi: 10.1038/s41467-018-05308-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Monod J. The growth of bacterial cultures. Annual Reviews in Microbiology. 1949;3:371–394. doi: 10.1146/annurev.mi.03.100149.002103. [DOI] [Google Scholar]
  • 30.Tuncil YE, et al. Reciprocal prioritization to dietary glycans by gut bacteria in a competitive environment promotes stable coexistence. mBio. 2017;8:e01068–01017. doi: 10.1128/mBio.01068-17. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Ethier, S. N. & Kurtz, T. G. Markov processes: characterization and convergence. Vol. 282 (John Wiley & Sons, 2009).
  • 32.Volkov I, Banavar JR, Hubbell SP, Maritan A. Inferring species interactions in tropical forests. Proceedings of the National Academy of Sciences. 2009;106:13854–13859. doi: 10.1073/pnas.0903244106. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33.Gardiner, C. W. Handbook of stochastic methods for physics, chemistry and the natural sciences. Vol. 25 (1986).
  • 34.Faust K, Raes J. Microbial interactions: from networks to models. Nature Reviews Microbiology. 2012;10:538. doi: 10.1038/nrmicro2832. [DOI] [PubMed] [Google Scholar]
  • 35.Lima-Mendez G, et al. Determinants of community structure in the global plankton interactome. Science. 2015;348:1262073. doi: 10.1126/science.1262073. [DOI] [PubMed] [Google Scholar]
  • 36.Seneta, E. Non-negative matrices and Markov chains. (Springer Science & Business Media, 2006).
  • 37.Pacheco, A. R., Moel, M. & Segre, D. Costless metabolic secretions as drivers of interspecies interactions in microbial ecosystems. bioRxiv, 300046 (2018). [DOI] [PMC free article] [PubMed]
  • 38.Suweis S, Grilli J, Maritan A. Disentangling the effect of hybrid interactions and of the constant effort hypothesis on ecological community stability. Oikos. 2014;123:525–532. doi: 10.1111/j.1600-0706.2013.00822.x. [DOI] [Google Scholar]
  • 39.Kantak GE. Observations on some fruit-eating birds in Mexico. The Auk. 1979;96:183–186. [Google Scholar]

Associated Data

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

Supplementary Materials


Articles from Scientific Reports are provided here courtesy of Nature Publishing Group

RESOURCES