- Editors' Suggestion
- You're Mobile Enabled
- Access by Universitaet Linz
Phase Transition to Chaos in Complex Ecosystems with Nonreciprocal Species-Resource Interactions
Phys. Rev. Lett. 132, 127401 – Published 21 March, 2024
Abstract
Nonreciprocal interactions between microscopic constituents can profoundly shape the large-scale properties of complex systems. Here, we investigate the effects of nonreciprocity in the context of theoretical ecology by analyzing a generalization of MacArthur’s consumer-resource model with asymmetric interactions between species and resources. Using a mixture of analytic cavity calculations and numerical simulations, we show that such ecosystems generically undergo a phase transition to chaotic dynamics as the amount of nonreciprocity is increased. We analytically construct the phase diagram for this model and show that the emergence of chaos is controlled by a single quantity: the ratio of surviving species to surviving resources. We also numerically calculate the Lyapunov exponents in the chaotic phase and carefully analyze finite-size effects. Our findings show how nonreciprocal interactions can give rise to complex and unpredictable dynamical behaviors even in the simplest ecological consumer-resource models.
Physics Subject Headings (PhySH)
Article Text
Many complex systems operate out of equilibrium where components generically interact nonreciprocally. Significant current research aims to untangle the implications of nonreciprocal interactions for self-organization and pattern formation. While much progress has been made towards understanding nonreciprocity in systems composed of a few types of species or fields, the consequences of nonreciprocity in more complex systems composed of many interacting components are less clear and present interesting questions in studies of ecosystems, pattern formation, active matter, mechanical networks, and neural networks .
Large, diverse ecosystems with many types of species and resources provide a natural setting for exploring this open problem. Over the last decade, researchers have adapted methods from the statistical physics of disordered systems (e.g., replicas, the cavity method, random matrix theory) to analyze such ecosystems . Much of this work has focused on systems with reciprocal interactions in which dynamics are often implicitly governed by an optimization function and reach a fixed point .
One notable exception are recent studies of the random generalized Lotka-Volterra (GLV) model in which species interact non-reciprocally . These systems can exhibit novel behaviors such as dynamic fluctuations and chaos, including unpredictable “boom-and-bust” dynamics where low-abundance species suddenly bloom to high abundance . These observations suggest that nonreciprocal interactions can qualitatively change ecological dynamics in species-only models. However, the generalization of these observations to more complex ecosystems with multiple trophic layers or environmentally mediated interactions remains unexplored.
Here, we introduce a generalization of the classic MacArthur consumer resource model (MCRM) that includes nonreciprocal interactions between species and resources. Consumer-resource models, first introduced by MacArthur and Levins , have played a foundational role in modern theoretical ecology and undergird many powerful theoretical frameworks for understanding ecological competition, including contemporary niche theory and Tilman’s R* principle .
Theoretical setup.—We consider an ecosystem with
where
To develop intuition for the role of nonreciprocity in the aMCRM, we consider the limit where the resource dynamics are fast and the resource abundances become entrained to species dynamics. In this case, we take the right-hand side of Eq. to be zero and solve to find
where
In MacArthur’s original consumer-resource model, impacts and benefits are identical,
Numerical integration of the aMCRM is performed with a small immigration rate to numerically regularize simulations and ensure that when a steady state is reached, it is uninvadable (see Supplemental Material , Sec. D2 for details).
Thermodynamic limit.—To investigate the aMCRM, we work in the thermodynamic limit where the numbers of species
where
With this parametrization,
When
Cavity method.—Just as in the original MCRM, we can analytically calculate the thermodynamic-limit behavior using the cavity method . Unlike replicas, the cavity method does not require the existence of an energy function and therefore can be extended to the aMCRM. We assume dynamics are self-averaging and described by a replica-symmetric ansatz. Using this ansatz, we derive self-consistent mean-field equations for the fraction of surviving species, the fraction of nondepleted resources, the first and second moments of the steady-state species and resource abundances, and the average linear-order responses of a resource’s abundance to a small change in its own carrying capacity and of a species’ population to a small change in its own natural mortality rate (see Supplemental Material , Sec. A for detailed derivations). As seen in Figs. A2 and A4, numerical simulations and analytical predictions agree remarkably well for moderate nonreciprocity.
Transition to dynamic phase.—Without reciprocal interactions, the aMCRM has no guarantee of reaching a steady state. We find that when the interaction reciprocity
Example dynamics of the aMCRM in a community of
Using the cavity method, we can analytically compute the phase boundary between the stable and dynamic phases . We perturb the nonzero steady-state species and resource abundances,
The phase transition to the dynamic phase is signaled by the divergence of the these susceptibilities’ second moments (see Fig. ). Surprisingly, we find that
When
Phase diagram of the aMCRM and diverging susceptibility. (a) Heat map of the fraction of simulations which reached steady state in finite simulation time for various values of
Figure shows a phase diagram overlain on a heat map of the fraction of simulations that reach steady state within a chosen finite runtime. We highlight the locations of the simulations in the stable and dynamic phases in Fig. with a circle and a star, respectively. In Fig. , we plot the second moments of the susceptibilities as a function of
Finally, we note that for certain choices of parameters, the replica-symmetric self-consistent equations do not have a solution. This transition to infeasibility has an interesting interpretation but is not physically realized because it occurs within the dynamic phase where the replica-symmetric solution is unstable (see Supplemental Material , Sec. A5). When
Chaos.—In order to better understand the transition to chaos, we numerically computed the maximal Lyapunov exponent
Chaos in the dynamic phase of the aMCRM. (a) Dot and box-and-whisker plot of
A direct signature of chaotic dynamics is high sensitivity to initial conditions as observed in Fig. . The red and blue lines show the simulated trajectory of a single species (top) and resource (bottom) started from initial conditions with slight differences. Initially, the trajectories are almost identical before diverging from each other significantly after a few Lyapunov times.
Finite-size effects.—Like most phase transitions, the transition between the stable and dynamic phases is a thermodynamic-limit phenomenon. In small ecosystems, the aMCRM may approach steady state even when in the dynamic phase due to finite-size effects. As a result, it is not clear in Fig. what the true probability of steady state is in the thermodynamic limit. In Supplemental Material , Sec. E, we quantify these effects by performing a numerical analysis to extrapolate the steady-state probabilities to infinite system size for each of the two points highlighted in Fig. . For both sets of parameters, we measure the distribution of steady-state times for many simulations for a variety of system sizes. Using a custom method based on maximum-likelihood estimation, we then perform a finite-size scaling collapse on these distributions, allowing us to approximately determine the steady-state probabilities as a function of system size. Our scaling collapses provide strong evidence that the probability of reaching steady state in the thermodynamic limit approaches exactly zero in the dynamic phase and one in the stable phase.
Discussion.—In this Letter, we analyzed the effects of nonreciprocal species-resource interactions on the stability of ecosystems. We introduced the asymmetric MacArthur Consumer Resource Model (aMCRM), a generalization of the MacArthur Consumer Resource Model (MCRM). Using the cavity method, we identified a phase transition between a stable phase in which a unique, uninvadable, self-averaging steady state exists and a dynamic phase with chaotic fluctuations. Remarkably, the phase boundary depends on model parameters only through the species-packing ratio—the ratio of surviving species to nondepleted resources.
Tilman analyzed stability in a two-species, two-resource system where the yields of the species on resources differs from their growth and determined “the equilibrium point will be stable if each species consumes proportionately more of the resource that more limits its own growth” . The divergence between
We found that the chaotic regime is generic and occurs robustly and shares features with GLV models with asymmetric interactions where chaos can also be found . In consumer-resource models, chaotic dynamics generically occurs when the systems are well below the competitive exclusion bound, while the dynamics in GLV systems can violate the competitive exclusion principle. Unlike previous work on dynamical fluctuations in consumer-resource models , the aMCRM does not require the introduction of explicit species-species interactions to exhibit chaotic dynamics, chaos occurs below the competitive exclusion bound, the resource carrying capacities are static, the dynamics are continuous and not discrete, and the onset of chaos requires no fine-tuning and is analyzed in high dimensions. Additionally, our analysis works explicitly with the consumer-resource model and not the effective GLV model.
Collectively, these works suggest that non-reciprocal interactions can lead to complex, chaotic dynamics in systems with many types of species/fields. In particular, like GLV models, we also find that species and resources often jump rapidly between low and high abundances. In the future, it will be interesting to see if the methods developed in Ref. in the context of GLV systems generalize to explain boom-and-bust dynamics in consumer-resource models and derive relevant correlation functions and dynamical susceptibilities. Preliminary results suggest that other consumer resource models with non-reciprocal species-resource interactions, such as that with externally supplied resources , also exhibit chaotic dynamics; we hope to explore this in future work. Finally, further investigations may seek to understand these phenomena in the context of ecological processes such as immigration, alternative resource dynamics , the addition of network and metabolic structure into interactions , the inclusion of additional trophic structure , and spatial and temporal structure .
We would like to thank Zhijie (Sarah) Feng, Claudio Chamon, and Chris Laumann for useful discussions. Additionally, we thank the Boston University Research Computing Services for managing computational resources. This work was funded by NIH NIGMS R35GM119461 to P. M. and the Boston University Undergraduate Research Opportunities Program to E. B. .
Supplemental Material
The supplemental material contains details of the cavity calculation and numerical methods used to derive and confirm the results in the main text. It also contains information about the parameters used in simulations for figures included in the main text. To preserve references between the main text and the SI, we have employed the xr-hyper and hyperref LaTeX packages which generate the SI and main text simultaneously and create references between them.
References (58)
- M. Fruchart, R. Hanai, P. B. Littlewood, and V. Vitelli, Non-reciprocal phase transitions, Nature (London) 592, 363 (2021).
- A. V. Ivlev, J. Bartnick, M. Heinen, C.-R. Du, V. Nosenko, and H. Löwen, Statistical mechanics where Newton’s third law is broken, Phys. Rev. X 5, 011035 (2015).
- H. Sompolinsky and I. Kanter, Temporal association in asymmetric neural networks, Phys. Rev. Lett. 57, 2861 (1986).
- H. Sompolinsky, A. Crisanti, and H. J. Sommers, Chaos in random neural networks, Phys. Rev. Lett. 61, 259 (1988).
- L. Gómez-Nava, R. Bon, and F. Peruani, Intermittent collective motion in sheep results from alternating the role of leader and follower, Nat. Phys. 18, 1494 (2022).
- R. M. May, Will a large complex system be stable?, Nature (London) 238, 413 (1972).
- Y. Yoshino, T. Galla, and K. Tokita, Statistical mechanics and stability of a model eco-system, J. Stat. Mech. (2007) P09003.
- S. Diederich and M. Opper, Replicators with random interactions: A solvable model, Phys. Rev. A 39, 4333 (1989).
- A. Mahadevan, M. T. Pearce, and D. S. Fisher, Spatiotemporal ecological chaos enables gradual evolutionary diversification without niches or tradeoffs, eLife 12, e82734 (2023).
- C. K. Fisher and P. Mehta, The transition between the niche and neutral regimes in ecology, Proc. Natl. Acad. Sci. U.S.A. 111, 13111 (2014).
- B. Dickens, C. K. Fisher, and P. Mehta, Analytically tractable model for community ecology with many species, Phys. Rev. E 94, 022423 (2016).
- R. Marsland, W. Cui, and P. Mehta, A minimal model for microbial biodiversity can reproduce experimentally observed ecological patterns, Sci. Rep. 10, 3308 (2020).
- M. Advani, G. Bunin, and P. Mehta, Statistical physics of community ecology: A cavity solution to Macarthur’s consumer resource model, J. Stat. Mech. (2018) 033406.
- W. Cui, R. Marsland III, and P. Mehta, Diverse communities behave like typical random ecosystems, Phys. Rev. E 104, 034416 (2021).
- A. Altieri, F. Roy, C. Cammarota, and G. Biroli, Properties of equilibria and glassy phases of the random Lotka-Volterra model with demographic noise, Phys. Rev. Lett. 126, 258301 (2021).
- R. Marsland, W. Cui, and P. Mehta, The minimum environmental perturbation principle: A new perspective on niche theory, Am. Nat. 196, 291 (2020).
- M. Gatto, A general minimum principle for competing populations: Some ecological and evolutionary consequences, Theor. Popul. Biol. 37, 369 (1990).
- T. J. Case, Macarthur’s minimization principle: A footnote, Am. Nat. 115, 133 (1980).
- P. Chesson, Macarthur’s consumer-resource model, Theor. Popul. Biol. 37, 26 (1990).
- M. T. Pearce, A. Agarwala, and D. S. Fisher, Stabilization of extensive fine-scale diversity by ecologically driven spatiotemporal chaos, Proc. Natl. Acad. Sci. U.S.A. 117, 14572 (2020).
- F. Roy, M. Barbier, G. Biroli, and G. Bunin, Complex interactions can create persistent fluctuations in high-diversity ecosystems, PLoS Comput. Biol. 16, 1 (2020).
- J. Hu, D. R. Amor, M. Barbier, G. Bunin, and J. Gore, Emergent phases of ecological diversity and dynamics mapped in microcosms, Science 378, 85 (2022).
- V. Ros, F. Roy, G. Biroli, G. Bunin, and A. M. Turner, Generalized Lotka-Volterra equations with random, nonreciprocal interactions: The typical number of equilibria, Phys. Rev. Lett. 130, 257401 (2023).
- V. Ros, F. Roy, G. Biroli, and G. Bunin, Quenched complexity of equilibria for asymmetric generalized Lotka-Volterra equations, J. Phys. A 56, 305003 (2023).
- T. Arnoulx de Pirey and G. Bunin, Aging by near-extinctions in many-variable interacting populations, Phys. Rev. Lett. 130, 098401 (2023).
- T. A. de Pirey and G. Bunin, Many-species ecological fluctuations as a jump process from the brink of extinction, Phys. Rev. X 14, 011037 (2024).
- R. MacArthur and R. Levins, The limiting similarity, convergence, and divergence of coexisting species, Am. Nat. 101, 377 (1967).
- R. Macarthur, Species packing and competitive equilibrium for many species, Popul. Biol. 1, 1 (1970).
- D. Tilman, Resource Competition and Community Structure (Princeton University Press, Princeton, NJ, 1982).
- J. M. Chase and M. A. Leibold, Ecological Niches: Linking Classical and Contemporary Approaches (University of Chicago Press, Chicago, 2009).
- See Supplemental Material at http://link.aps.org/supplemental/10.1103/PhysRevLett.132.127401 for complete derivations, further numerical methods and results, and additional figures, which includes Refs. [32–35].
- R. Marsland, W. Cui, J. Goldford, and P. Mehta, The community simulator: A Python package for microbial ecology, PLoS One 15, e0230430 (2020).
- M. Dal Bello, H. Lee, A. Goyal, and J. Gore, Resource–diversity relationships in bacterial communities reflect the network structure of microbial metabolism, Nat. Ecol. Evol. 5, 1424 (2021).
- P. Frederickson, J. L. Kaplan, E. D. Yorke, and J. A. Yorke, The Liapunov dimension of strange attractors, J. Diff. Eqn. 49, 185 (1983).
- G. Datseris, I. Kottlarz, A. P. Braun, and U. Parlitz, Estimating fractal dimensions: A comparative review and open source implementations, Chaos 33, 102101 (2023).
- G. Bunin, Ecological communities with Lotka-Volterra dynamics, Phys. Rev. E 95, 042414 (2017).
- H. Nishimori, Statistical Physics of Spin Glasses and Information Processing: An Introduction, International Series of Monographs on Physics (Oxford University Press, New York, 2001).
- C. Rackauckas and Q. Nie, DifferentialEquations.jl–a performant and feature-rich ecosystem for solving differential equations in Julia, J. Open Res. Software 5, 15 (2017).
- J. Bezanson, A. Edelman, S. Karpinski, and V. B. Shah, Julia: A fresh approach to numerical computing (2017), https://julialang.org/.
- C. Tsitouras, Runge–Kutta pairs of order 5 (4) satisfying only the first column simplifying assumption, Comput. Math. Appl. 62, 770 (2011).
- S. P. N. Ernst Hairer and Gerhard Wanner, Solving Ordinary Differential Equations I (Springer Berlin Heidelberg, Berlin, Heidelberg, 1993).
- J. SciML, Blackboxoptim.jl, GitHub (2022).
- V. K. Dixit and C. Rackauckas, Optimization.jl: A unified optimization package (2023), https://docs.sciml.ai/Optimization/stable/.
- G. Benettin, L. Galgani, A. Giorgilli, and J.-M. Strelcyn, Lyapunov characteristic exponents for smooth dynamical systems and for Hamiltonian systems; a method for computing all of them. Part 1: Theory, Meccanica 15, 9 (1980).
- K. Geist, U. Parlitz, and W. Lauterborn, Comparison of different methods for computing Lyapunov exponents, Prog. Theor. Phys. 83, 875 (1990).
- G. Datseris and U. Parlitz, Nonlinear Dynamics (Springer International Publishing, New York, 2022).
- G. Datseris, Dynamicalsystems.jl: A Julia software library for chaos and nonlinear dynamics, J. Open Source Software 3, 598 (2018).
- C. Skokos, T. Bountis, and C. Antonopoulos, Geometrical properties of local dynamics in Hamiltonian systems: The Generalized Alignment Index (GALI) method, Physica (Amsterdam) 231D, 30 (2007).
- J. L. Kaplan and J. A. Yorke, Chaotic behavior of multidimensional difference equations, in Functional Differential Equations and Approximations of Fixed Points, Lecture Notes in Mathematics Vol. 730, edited by H. O. Peitgen and H. O. Walter (Springer, Berlin, 1979).
- I. Dalmedigos and G. Bunin, Dynamical persistence in high-diversity resource-consumer communities, PLoS Comput. Biol. 16, 1 (2020).
- D. G. Ladeira and M. M. de Oliveira, Chaotic coexistence in a resource-consumer model, J. Biol. Syst. 27, 167 (2019).
- Q. Din and M. I. Khan, A discrete-time model for consumer–resource interaction with stability, bifurcation and chaos control, Qual. Theory Dyn. Syst. 20, 56 (2021).
- R. J. Williams and N. D. Martinez, Stabilization of chaotic and non-permanent food-web dynamics, Eur. Phys. J. B 38, 297 (2004).
- E. Benincà, B. Ballantine, S. P. Ellner, and J. Huisman, Species fluctuations sustained by a cyclic succession at the edge of chaos, Proc. Natl. Acad. Sci. U.S.A. 112, 6389 (2015).
- W. Cui, R. Marsland III, and P. Mehta, Effect of resource dynamics on species packing in diverse ecosystems, Phys. Rev. Lett. 125, 048101 (2020).
- S. Marcus, A. M. Turner, and G. Bunin, Local and extensive fluctuations in sparsely-interacting ecological communities, arXiv:2308.01828.
- Z. Feng, R. Marsland III, J. W. Rocks, and P. Mehta, Emergent competition shapes the ecological properties of multi-trophic ecosystems, arXiv:2303.02983.
- A. Ebrahimi, A. Goyal, and O. X. Cordero, Particle foraging strategies promote microbial diversity in marine environments, eLife 11, e73948 (2022).