Abstract
Living systems operate far from equilibrium, yet few general frameworks provide global bounds on biological transients. In high-dimensional biological networks like ecosystems, long transients arise from the separate timescales of interactions within versus among subcommunities. Here, we use tools from computational complexity theory to frame equilibration in complex ecosystems as the process of solving an analogue optimization problem. We show that functional redundancies among species in an ecosystem produce difficult, ill-conditioned problems, which physically manifest as transient chaos. We find that the recent success of dimensionality reduction methods in describing ecological dynamics arises due to preconditioning, in which fast relaxation decouples from slow solving timescales. In evolutionary simulations, we show that selection for steady-state species diversity produces ill-conditioning, an effect quantifiable using scaling relations originally derived for numerical analysis of complex optimization problems. Our results demonstrate the physical toll of computational constraints on biological dynamics.
Author summary
Distinct species can serve overlapping functions in complex ecosystems. For example, multiple cyanobacteria species within a microbial mat might serve to fix nitrogen. Here, we show mathematically that such functional redundancy can arbitrarily delay an ecosystem’s approach to equilibrium. We draw a mathematical analogy between this difficult equilibration process, and the complexity of computer algorithms like matrix inversion or numerical optimization. We show that this computational complexity manifests as a transient chaos in an ecosystem’s dynamics, allowing us to develop scaling laws for the expected length of transients in complex ecosystems. Transient chaos also produces strong sensitivity on the duration and route that the system takes towards equilibrium, affecting the ecosystem’s response to perturbations. Our results highlight the physical implications of computational complexity for large biological networks.
Introduction
Half a century ago, the biologist Robert May used random matrix theory to show that large, random ecosystems are typically unstable—challenging conventional understanding of biodiversity, and suggesting that structural and evolutionary factors tune biological networks towards stable equilibria [1]. But how relevant is stability to real-world biological systems? In physics, high-dimensional dynamical systems typically undergo extended excursions away from stable fixed points. For example, while a fluid flowing through a pipe possesses a globally-stable laminar state, small disturbances trigger transient turbulent excursions with expected lifetimes that increase rapidly with the flow speed [2].
Transient effects dominate many real-world foodwebs over experimentally-relevant timescales; examples include cyclic succession among rival vegetation species [3], turnover in patchy phytoplankton communities [4], and establishment of gut microbiota [5]. Theoretical works confirm that long-lived transients robustly appear in model foodwebs as the number of interacting species increases [6–8]. Transients may thus influence how real-world ecosystems respond to exogenous perturbations [9], with implications for management and biodiversity [3]. However, analytical techniques primarily consider the effects of small perturbations from equilibrium points, thus characterizing transients in terms of local quantities like reactivity or finite-time Lyapunov exponents [9–13]. Such approaches successfully predict experimental phenomena such as critical slowdown near tipping points in microbial ecosystems [12,14], but they provide less insight into community assembly or large changes (e.g., crises) [15]. Recently, statistical approaches extend local measures by characterizing the distribution of fixed points in random ecosystems; these methods calculate the frequency and stability of local minima and marginally-stable equilibria, which act as kinetic traps that impede equilibration [6,16–19]. Statistical approaches also bound the set of valid solutions for a given ecosystem, thus providing null models against which experimentally-observed communities are assessed [20–22]. However, few analytical approaches directly characterize the global structure of ecological transients, and it remains unknown whether universal, statistical bounds—analogous to the flow speed in turbulence—govern the onset of transients in ecological networks.
Here, we show that computational complexity measures from optimization theory govern the equilibration of ecological networks. We introduce a class of ill-conditioned ecosystems, for which functional redundancies among species control the rate of approach to equilibrium. We show that the resulting system maps onto a numerical optimization problem, the computational difficulty of which depends on the degree of redundancy. We show that computational complexity leads to transient chaos, in which routes to equilibrium depend sensitively on the initial conditions or assembly sequence of the ecosystem. When dimensionality reduction methods, such as principal components analysis, are applied to the resulting dynamics, they precondition the dynamics by separating fast relaxation from slow "solving" dynamics associated with redundant species. We conclude by using genetic algorithms to evolve random ecosystems to support higher steady-state diversity, which we find increases ill-conditioning and thus optimization hardness. Our results frame ecological dynamics through analogue optimization hardness, and show how computational constraints on biological systems produce physical effects.
Materials and methods
We study a minimal model of an ecological network described by the generalized Lotka-Volterra model
(1) |
where ni(t) refers to the abundance of species i with intrinsic growth rate ri. This species interacts with other species in the community through the matrix . A full table of symbols and their definitions is given in Appendix 1. Each matrix element Aij quantifies the degree to which species j promotes (Aij > 0) or inhibits (Aij < 0) the growth of species i. While Eq 1 simplifies the complex mechanics of real-world ecosystems, its general form—growth modulated by pairwise interactions with other species—captures phenomena seen in real ecosystems [23].
The interaction parameters Aij are typically unknown for large ecosystems because they require − separate isolation experiments. Instead, classical works in mathematical biology randomly sample the elements of A from a fixed probability distribution, and then consider the typical behavior of solutions of A averaged across a large sample of possible ecosystems [1]. Typically, A is sampled from the class of matrices,
(2) |
where the elements of are drawn from a normal distribution, , d > 0 is constant intraspecific density limitation, and I is the identity matrix. The density of a species i governed by Eq 1 and Eq 2 will initially grow exponentially at a rate ri, before reaching an asymptotic plateau at a carrying capacity set by intraspecific crowding or competition (d) and a mix of cooperative and competitive interactions with other species (). While Eq 1 can, in principle, produce unphysical ecosystems with unbounded exponential growth, when the density limitation d is sufficiently high, Eq 1 always has a single stable, non-invasible global equilibrium. This occurs when is negative definite, known as Lyapunov diagonal stability [24].
The model Eq 1 and Eq 2 exhibits a known relationship between stability and steady-state diversity as N increases. The global fixed point has a quantity species that stably coexist at steady state (). When Eq 2 is resampled many times to produce many replicate ecosystems, the expected number of coexisting species obeys a binomial distribution with surviving species on average [23]. Thus, both steady-state diversity (as measured by ), and variance across different ecosystems, increase with the ecosystem size N.
However, prior analyses of Eq 1 primarily characterize the equilibrium state , and not the full dynamics ni(t). We thus seek to sample a family of interaction matrices that produce dynamical transients. In ecology, transients generically arise due to functional redundancy, in which multiple species have nearly-identical roles in an ecosystem, leading to timescale separation between fast intergroup dynamics and slow intragroup dynamics [4,25,26]. For example, microbial mats contain multiple similar species performing nitrogen fixation [27]. These redundant species may slightly differ in morphology or genetic composition, but have identical interactions with all other species [28]. Redundant species may be grouped into metaspecies such as distinct trophic levels, allowing a coarse-grained description of the system in terms of interactions among these groups (Fig 1A). However, over long timescales, minute variations lead to slow dynamics within each group. This timescale separation between fast intergroup and slow intragroup dynamics produces long transients.
Fig 1. Functional redundancy as low-rank interspecific interactions.
(A) A three-level food web, in which lower levels contain multiple species that duplicate one other’s role. (B) The interspecific interaction matrix decomposes into a full-rank group-level component, and a low-rank assignment matrix mapping species to groups. Small-amplitude variations among taxa within each group restore the rank, but lead to high condition number. The exact form of the interaction matrix is given by Eq 3.
We introduce redundant structure into Eq 1 by sampling A from the family of low-rank matrices,
(3) |
where the assignment matrix encodes exact functional redundancies, and the perturbation matrix encodes small differences among redundant species, which have typical amplitude set by the constant . We draw all parameter values from the unit normal distribution . When P = I, our formulation exactly reduces to prior models [23]. After sampling A, we set of interactions to zero, to mimic the low connectance () of real-world communities [29]. As in prior works, we find this condition does not affect our observed results as long as the connectance exceeds the percolation threshold (Appendix 1) [23].
When and , the rank-deficient assignment matrix P encodes functional redundancy among species in the population. For example, in a microbial ecosystem, N corresponds to the full number of resolvable operational taxonomic units (OTU), while M corresponds to the number of functional niches or trophic groups. In one such scenario considered in previous work, P represents the identity matrix with the column duplicated at position k, implying that two species j and k serve exactly indistinguishable functions within the ecosystem, such as exactly two nearly-identical nitrogen-fixing species in a microbial food web [17]. For this particular case, P reduces to a rectangular matrix , which maps between N species and M trophic groups. We visualize this case in Fig 1.
Here, we allow P to encode more general, arbitrary linear combinations of species that collectively substitute for others within the population, such as microbial consortia [25,30]. When , P and A are rank-deficient and Eq 1 is multistable. Each steady-state solution occupies a continuous hyperplane of equivalent solutions containing varying mixtures of the substitutable species. For example, if two nitrogen-fixing species are truly indistinguishable, then the dynamics of a microbial food web should be insensitive to one-to-one replacement of one species with the other. As a result, across an ensemble of replicate populations, a wide range of functionally-equivalent mixtures of species will be observed. However, introducing the singular perturbation breaks this symmetry among exact solutions and restores full rank (), causing the system to regain a single global equilibrium . In the microbial mat example, this corresponds to a minute difference between two nitrogen fixers, leading to gradual competitive dynamics as one species slowly excludes the other. The resulting dynamics exhibit a slow timescale associated with final approach to equilibrium (Fig 2A).
Fig 2. Long-lived transients in ill-conditioned ecosystems.
(A) Equilibration of a random food web without (top) and with (bottom) a pair of functionally-redundant species. Long-lived transients appear in the latter case. (B) Settling time versus condition number for 104 random communities; dashed line shows the scaling expected for an iterative linear program solver.
Prior theoretical studies show that steady-state degeneracy due to functional redundancy can be broken by spatial effects, introducing slow dynamical modes associated with a characteristic diffusion time (equivalent to in our model) [26]. In the Appendix, we consider another, previously-studied variant of Eq 1 that exhibits a transition between multistability and global stability [31–33]. As the system approaches the transition region, we find that it produces comparable dynamics to our model Eq 3. However, our particular formulation Eq 3 maps the onset of complex dynamics onto a single parameter, the redundancy , which we will show has a physical interpretation.
1. Results and discussion
Functional redundancy produces long-lived transients
We simulate the dynamics of 104 random ecosystems of the form Eq 1, with interspecific interactions A and functional redundancy sampled randomly according to Eq 3. Across many random ecosystems, we find that increasing functional redundancy () delays approach to steady-state, implying that slow competition among similar species limits the rate of equilibration. Varying over five orders of magnitude, we observe a power law increase in the settling time that it takes each ecosystem to first reach the global equilibrium (Fig 2B).
To understand this scaling, we note that the particular form of Eq 1 requires that each steady-state solution solves the constrained linear regression problem , . We therefore frame approach to equilibrium in complex ecosystems as a computational challenge: given a set of constraints imposed by the interactions A, we seek the corresponding equilibrium that solves the linear program in Eq 1. In the theory of numerical optimization, the intrinsic difficulty of a computational problem determines the minimum time that an algorithm takes to solve it [34]. We thus expect that the lifetime of ecological transients relates to the intrinsic difficulty of the linear optimization problem defined by Eq 1, which is quantified by the condition number, . A condition number implies that A may easily be inverted to solve for . However, as , algorithms for solving the system become increasingly sensitive to small errors; the expected number of digits of required precision increases as [34]. In a continuous natural system like Eq 1, sensitivity at large leads to transient chaos, which we explore in the next sections.
We expect that ecosystems become ill-conditioned as redundant species become harder to distinguish. In numerical analysis, iterative solutions of linear programs exhibit a known bound on convergence time where is the initial distance from the solution (Fig 2B, dashed line) [34]. We find that this bound coincides with the scaling of the settling time in random ecosystems, underscoring the physical effects of ill-conditioning in our system. Rather than a purely numerical consideration, is a physical quantity that can be interpreted as a measure of computational complexity or inverse distance to an ill-conditioned (here, degenerate) problem [35]. As a result, despite the heterogeneity of the various random ecosystems in Fig 2B, the quantity imposes a global constraint on equilibration time. Thus, while Eq 1 represents a model foodweb, we find that analytic predictions can be generated by interpreting ecosystems as computational optimization problems.
Dimensionality reduction optimally preconditions the dynamics
Given a high-dimensional experimental time series of species abundances, dimensionality reduction techniques are frequently used to map the dynamics to reduced-order coordinates [17]. For example, when principal components analysis is applied to time series from a microbial ecosystem, the leading principal components correspond to groups of dynamically-correlated species that serve equivalent functions, such as producers, consumers, or scavengers [17,36]. These groups of strongly-correlated species, termed ecomodes, identify species that act in concert, and thus reveal functional redundancy directly from observed dynamics.
We apply these methods to a sample of trajectories from an N = 103-dimensional ill-conditioned ecosystem by embedding the dynamics into two dimensions using principal components analysis (Fig 3A, black traces). We find that trajectories originating from diverse initial conditions become trapped along a low-dimensional manifold. Setting and then reintegrating each trajectory reveals that this manifold comprises a set of degenerate equilibria, which becomes a trapping region when (Fig 3A, blue points). Gradual traversal of this slow manifold generically produces long transients; trajectories approach the global fixed point only after escaping the slow manifold. Slow transients due to weakly-unstable solutions have previously been characterized in complex foodwebs [3], and they particularly arise in systems with cyclic dominance and succession [4]. These slow manifolds represent a subspace within the full N-dimensional phase space on which intragroup dynamics unfold. For example, if one of two nearly-redundant nitrogen-fixing species in a microbial mat has a slightly higher survival rate, its gradual exclusion of the less-fit species occurs along the slow manifold. In numerical analysis, optimization of random high-dimensional landscapes is often dominated by saddle points, which become exponentially more likely than local minima as problem dimensionality grows [37]. Recent theoretical results confirm this effect for Eq 1 in the well-conditioned (P = I) limit: as the number of species grows, the system spends more time trapped near unstable equilibria [7,18,32,38]. We thus attribute the empirical success of dimensionality reduction for ecological datasets to the existence of slow manifolds, which represent low-dimensional trapping regions within the full N-dimensional space in which the dynamics unfold.
Fig 3. Slow manifolds form a complex optimization landscape.
(A) An embedding of 103 trajectories with different initial conditions in an ill-conditioned ecosystem (). The global equilibrium is marked with a star, and the corresponding solutions of the degenerate () case are overlaid (blue). (B) Time that ill-conditioned trajectories for different random ecosystems (colored by condition number) spend near the former () solutions, versus the solution’s Morse instability index. (C) Projection of a single trajectory onto the right singular vectors associated with the largest (red) and smallest (blue) singular values.
Because our formulation Eq 1 contains slow manifolds induced by the symmetry-breaking perturbation , we consider the degree that these manifolds globally shape the dynamics. Recent work on low-rank structure in large datasets ties low effective dimensionality to the structure of underlying interaction networks [39]. Any interaction matrix A admits a real-valued singular value decomposition of the form , where the diagonal matrix contains the singular values of A in decreasing order along its main diagonal (Fig 4) [34]. Physically, this decomposition isolates groups of related species within the basis sets that fluctuate characteristic timescales . For our interaction matrix Eq 3, the magnitudes of the singular values, and thus relevant timescales in the system, obey Weyl’s inequality . This implies that A is a low-rank matrix with N–M singular values [39]. As a result, the N-dimensional dynamics rapidly converge onto M-dimensional slow manifolds. These slow modes (formerly stable solutions in the case) are misaligned across phase space, leading to a separation between gradual dynamics on slow modes, and fast high-dimensional transitions among them. On a given mode , we perform a matched expansion of Eq 1 in terms of and a small perturbation off the slow manifold , producing the linearized dynamics . The first term represents linear dynamics governed by the Jacobian of the unperturbed system (), commonly known as the community matrix [15]. The second term prevents equilibration by inducing slow drift along the manifold. To quantify this kinetic trapping effect, we numerically identify slow manifolds for each of the random ecosystems shown in Fig 2B, and measure its relative stability via the scaled Morse instability index, . The Morse index quantifies the relative number of unstable “escape” directions emanating from a given saddle region based on the eigenvalue spectrum of J. Saddles with relatively few downwards directions () generally take longer to escape, leading to a smaller Morse index . We confirm this effect by directly measuring the escape time for each pseudosolution (Fig 3B). The escape time linearly decreases with across different ecosystems, consistent with the theoretical expectation for hyperbolic dynamical systems [40].
Fig 4. Singular value decomposition of a species interaction matrix.
A schematic of singular value decomposition of the hierarchical species interaction matrix shown in Fig 1. The left and right sets of singular vectors U,V isolate groups of species that are functionally redundant, while the diagonal elements in the singular value matrix encode the hierarchy of timescales that emerge due to functional redundancy.
To better understand dimensionality reduction and ecomode decomposition of ecological time series, we separately study the dynamics associated with fast and slow modes. Rather than directly study the full N-dimensional dynamics , we perform a linear transformation that projects the dynamics into a dimensions. Recent results for low-rank systems show that the particular projection minimizes the least-squares alignment error between the vector field of a high-dimensional system and its K-dimensional reduced-order projection. The columns of contain the first K right singular vectors V in the singular value decomposition of A [39]. Because the matrix A has N right singular vectors, we choose two projections and , and apply them to an ill-conditioned ecosystem’s trajectory in Fig 3C.
We find that projection onto the ecomodes ( and ) separates fast timescales for relaxation onto the slow manifold network, and slow () timescales associated with navigating these modes (Fig 3C). In numerical optimization theory, ill-conditioning is mitigated by finding a preconditioning transformation such that . For our system, we observe that both and effectively precondition the dynamics, with and . In general, the condition number may always be expressed as a ratio of the extremal singular values of A,
(4) |
implying that the condition number essentially measures timescale separation in Eq 1. Applying dimensionality reduction to the dynamics of a complex ecosystem therefore preconditions by isolating singular values associated with fast and slow dynamics. Preconditioning is known to isolate fast and slow subspaces in iterative linear solvers [34], and our findings connect this phenomenon to the empirical success of ecomode analysis in describing high-dimensional foodwebs, especially microbial ecosystems [17,25,36]. When A is symmetric, our preconditioning argument supports prior works that construct ecomodes using eigenvectors of the interaction matrix [17]. These works also find slow manifolds associated with degenerate eigenvalues, which identify substitutable species and thus the rank (effective size) of the ecosystem [17]. However, because the eigenvectors of a non-symmetric matrix have no general relationship with the right singular vectors, the projection should be preferred for systems with non-reciprocal (e.g. predator-prey or consumer-resource) interactions.
Transient chaos slows approach to equilibrium
Random ill-conditioned ecosystems are harder to solve due to the need to navigate a network of slow manifolds, suggesting that such systems pose more computationally-demanding optimization problems. But where is this excess computation allocated? The physical Church-Turing thesis asserts that continuous simulation of a hard combinatorial optimization problem likely incurs exponential cost [41]. Recent continuous formulations of discrete constraint satisfiability problems show that hard problem instances exhibit transient chaos, which manifests as exponentially-increasing sensitivity (and thus required precision) and fractal basin boundaries across initial conditions [42]. For our system, we surmise that the slow manifolds act analogously to constraints, producing an irregular landscape of slow barriers that temporarily scatter trajectories as they approach the global fixed point, a mechanism reminiscent of a pachinko game (Fig 5A). To investigate this effect, we compute the fast Lyapunov indicator (), a quantity originally developed by astrophysicists to quantify the stability of planetary orbits in high dimensions [43]. For each trajectory of Eq 1, we integrate the variational equation , where . The quantity represents the maximum chaoticity encountered on a trajectory, a quantity more informative than traditional Lyapunov exponents for transient dynamics where . We note that the dynamics represent a continuous-time variant of the power method, a standard iterative technique for finding the largest eigenvalues of square matrices [34]. We therefore interpret as a spatially-resolved probe of the local conditioning of A for a given initialization .
Fig 5. Transient chaos due to slow manifold scattering.
(A) The "pachinko" mechanism for ill-conditioned dynamics, in which slow manifolds temporarily disperse neighboring trajectories that later reunite at the global equilibrium. (B) Caustics in the Fast Lyapunov Indicator () versus initial conditions on a two-dimensional slice through the N-dimensional space of initial species densities.
A random two-dimensional slice through the space of initial species densities reveals intricate pseudobasins, indicating abrupt changes in the route by which the ecosystem approaches equilibrium when initial species densities change by small amounts (Fig 5B). These patterns resemble optical caustics, which arise when density fluctuations in a transparent medium distort the pathlengths of light rays. Here, the slow manifolds play a similar role by intermittently trapping and scattering trajectories arising from different initial conditions. This slow-mode mechanism differs from the scrambling induced by chaotic saddles in high-dimensional open chaotic systems like planetary orbits [43,44], in which conservation of mechanical energy precludes approach to a fixed point. Rather, we find that Eq 1 exhibits doubly-transient chaos, a recently-characterized phenomenon in dissipative systems that approach global fixed points by differing routes [45]. Although a globally-stable community will ultimately approach the same equilibrium regardless of its assembly route or initial species densities, transient chaos introduces contingency because minute fluctuations cause the time to reach equilibrium to vary by three orders of magnitude.
Selection for diversity creates ill-conditioned ecosystems
We next consider whether ill-conditioned dynamics can occur in real ecosystems, which typically have more structured interaction networks than Eq 3. Using a genetic algorithm, we evolve random foodwebs by selecting for an increased number of surviving species at steady-state, , a measure of diversity in May’s original work [1]. In our procedure, we start by randomly sampling 103 distinct well-conditioned random foodwebs (P = I in Eq 3), and then simulate their dynamics until they reach equilibrium . We then select the 10% of foodwebs with the highest diversity . We propagate these foodwebs to the next generation, and cull the remaining and replace them with new foodwebs assembled from random blocks of row-column pairs sampled from the surviving . We repeat this procedure for 103 generations.
We find that evolving foodwebs towards higher diversity robustly produces higher- ecosystems, independently of modelling choices like foodweb scale or mutation and crossover rates (Fig 6A). The robust emergence of ill-conditioning implies that an intrinsic physical tradeoff, rather than a dynamical effect, produces the observed scaling. Intuitively, as the diversity increases, fewer positivity constraints in Eq 1 remain active at equilibrium, and so the system becomes more linear. Additional coexisting species increases the probability that a subset serve a substitutable role, leading to a higher condition number. This effect occurs in experimental microbial ecosystems, in which substitutable consortia of closely-related species emerge at high diversities [46,47]. To measure this effect, we introduce a restricted condition number describing the minor matrix comprising only the columns of A associated with nonzero entries in . Principal minors of a positive definite matrix remain positive definite, and so the reduced system retains a global fixed point, corresponding to a noninvasible equilibrium of the reduced ecosystem containing only the species that survive at equilibrium. Computing for random ecosystems with varying confirms a general relationship (Fig 6B), which closely follows a known scaling law for the condition number of a random rectangular matrix, (dashed line) [48]. This suggests that ill-conditioning arises primarily from selection for diversity, and not fine-tuned interaction values. Physically, this effect represents species packing: adding new species to an ecosystem increases the probability of duplicating an existing function. From an optimization standpoint, there are two competing effects: as increases, fewer non-negativity constraints remain active, but the probability that two species are redundant increases. This interplay is known as complementary slackness in constrained optimization [34]. Consistent with this interpretation, recent works map consumer-resource models (which generalize Eq 1) onto quadratic optimization programs [16] and constraint satisfaction problems [21], and find that niche overlap may be understood as redundancy emerging at high constraint loads. To confirm this connection, in the Appendix we repeat our analysis for a previously-studied variant of Eq 1 that exhibits a controllable transition from multistability to global noninvasible stability [31–33]. We observe a rapid increase in the conditioning near the critical point, as well as transient chaos. Taken together, these results suggest that, under generic selection for high steady-state diversity, ecosystems will exhibit ill-conditioning because functional redundancy becomes inevitable. Recent works describe species packing in crowded environments like the microbiome [24,46], and our work shows that such systems likely exhibit long transients and wide variation in the timescales over which different subcommunities equilibrate.
Fig 6. Selection for diversity produces ill-conditioning.
(A) The condition number versus generation for 103 replicate random ecosystems of N = 103 species evolved to have high steady-state diversity, defined as the number of coexisting species at equilibrium. (B) The restricted condition number of the interaction matrix of species that survive at steady-state, versus the overall steady-state diversity. Dashed line indicates expected condition number for a random matrix with normally-distributed elements.
Perturbations experimentally probe the slow manifold
We next consider the detection of ill-conditioned dynamics in experimental settings. Testing our results for scaling laws and pseudobasins requires the ability to perform many replicate experiments with slight variations in initial conditions or parameter values, which is impractical at the current scale and precision of microbial ecosystem experiments [27]. Moreover, it is difficult to fit an analytic model like Eq 1 directly to experimental data, which requires resolving interaction parameters in a model of the form Eq 1.
However, we note that our framework is based on singular perturbation theory in numerical analysis. We therefore look to these methods for potential routes for measuring the conditioning in real-world ecosystems, without the need to directly measure A in Eq 1. In numerical analysis, Krylov algorithms probe the properties of large matrices without directly materializing them [34]. Two common approaches, power and inverse iteration, respectively estimate the largest and smallest eigenvalues of a large matrix A by repeatedly applying a linear transformation derived from A to a random vector. Because the condition number may be alternatively formulated as a ratio of singular values (Eq 4), we anticipate that, within a large ecological network, the properties of A may be probed by applying a multifactorial “pulse” perturbation, in which multiple species are temporarily and simultaneously perturbed [49,50]. In the non-invasible case, the ecosystem relaxes back to the global equilibrium , but the directions of fastest and slowest return to equilibrium will reveal the effective conditioning .
In Fig 7, we apply 100 random perturbations to an ecosystem of the form Eq 1 that is initialized at its global steady state . Each perturbation corresponds to a random Gaussian vector of small amplitude , though we set to zero any elements of the perturbation vector corresponding to species that are excluded at steady-state. The resulting dynamics always equilibrate back to steady state, but take widely-varying routes depending on the particular alignment of the random perturbation with slow manifolds of the underlying system.
Fig 7. Community response to perturbations reveals the slow manifold.
(A) A set of 100 experiments in which a random pulse perturbation is applied to an equilibrated ecosystem, and the dynamics are allowed to return to steady state. The full N = 200 dimensional dynamics are projected onto the fastest and slowest directions associated with the singular vectors of the interaction matrix A. The slow manifold (blue points) is numerically detected by repeating the experiment with in Eq 1. (B) The Pearson correlation (inner product) between the velocity vector of the dynamics at each timepoint, and the fast and slow manifolds. Error bars represent standard errors over 100 replicate communities.
We visualize the N = 200-dimensional dynamics by projecting the trajectories onto the fastest and slowest modes, and . These two directions correspond to the first and last right singular vectors of the interaction matrix A. While the interaction matrix A is not directly measurable in real-world ecosystems, the extremal singular vectors correspond to principal components (or ecomodes) derived from trajectory time series [36]. In this projected basis, we observe that the dynamics quickly traverse the fast manifold by widely-varying routes, and then slowly approach the global equilibrium along the slow manifold.
However, our ensemble-based analysis is impractical in a strongly data-limited setting, such as a field experiment, in which only a single “pulse” perturbation occurs (such as a weather event or habitat change). We therefore construct a proxy for the slow and fast manifolds from a single time series (Fig 7B). Given a single time series, we estimate the velocity vector using finite differences. At long timescales after the pulse perturbation ends, this velocity vector becomes aligned (exhibits high Pearson correlation) with the direction of the slow manifold, consistent with emergent low-dimensionality in the observed dynamics. This direction remains consistent across different random perturbations, underscoring that the geometry of the slow manifold determines equilibration. We thus find that slow, ill-conditioned dynamics associated with functional redundancy will produce a characteristic signature in an ecosystem’s response to perturbations, even when an underlying model is unavailable.
Conclusion
Drawing on recent work in transient chaos and optimization theory, we have shown that equilibration of random ecosystems is globally constrained by ill-conditioning. Our work generalizes the classic stability vs. complexity dichotomy in mathematical biology [1], by demonstrating how transients complicate approach to equilibrium. Physically, ill-conditioning corresponds to a case where in-group dynamics (e.g. competition among similar nitrogen-fixing species in a microbial mat) unfold over a slower timescale than intergroup competition, like community assembly from different niches [51,52]. This manifests as ultra-long transient dynamics, with durations that can vary by orders of magnitude given minor changes in the assembly sequence or initial species densities. Extended transients provide opportunities for noise, seasonal changes, climate variation, and other exogenous factors to disrupt or re-route the dynamics [15]. Moreover, transient chaos implies that even an ecosystem that has successfully reached equilibrium is vulnerable to disruption, because transiently chaotic systems can undergo extended excursions away from equilibrium, if subjected to perturbations exceeding a finite threshold [2,49]. Our results thus highlight that classical equilibrium-based analysis methods fail to fully characterize high-dimensional ecosystems, for which steady-state is an exception, not the rule.
We expect that our methods have relevance to other high-dimensional biological networks: the perfectly-substitutable case () implies that A has N–M repeated eigenvalues, a scenario equivalent to zero modes that arise in elastic models of allostery in biomolecules [53], as well as epistasis in genetic models [54]. Additionally, in statistical learning theory, high-dimensional optimization landscapes have been found to exhibit linear mode connectivity, in which networks of zero-barrier connections bridge between optima [55], a concept extending earlier works describing symmetry-induced submanifolds that influence the dynamics of learning [56]. These diverse systems all represent cases in which small perturbations may disrupt an intricate network of solutions, leading to slow, multiscale dynamics.
While our analysis largely relies on the particular form of Eq 1 as an analogue constrained linear regression, we emphasize that physically represents the functional redundancy, and thus the computational cost to solve a linear system. Generalizations of Eq 1 instead sample A from more structured probability distributions, in order to account for phenomena like niche competition or predation hierarchies [12,51,57]. Other approaches use different dynamical equations, including stochastic models and empirical models learned directly from experimental data [16,58,59]. Because all such models approach equilibrium, we expect that many of our observations are robust to the particular form of Eq 1. This is because, in optimization theory, a generalized condition number exists for any constrained problem in terms of the distance to singularity within the feasible solution set [60]. For example, in random Boolean satisfiability problems, the effective conditioning is governed by the ratio of constraints to variables [42]. While direct calculation of the generalized condition number is prohibitive for many problem classes, its existence suggests that global computational constraints on equilibration exist for more complicated foodweb models, or other types of biological networks. Our work thus provides a tractable example of how intrinsic computational complexity may influence the organization of biological systems.
Table of symbols
We summarize all variables and their meanings in Table 1.
Table 1. Mathematical symbols and their descriptions.
Symbol | Description |
---|---|
N | The number of species. |
M | The number of functional trophic groups, |
The scale of intraspecific variation within functional groups, equivalent to the amplitude of the singular perturbation. | |
A | The matrix of interactions among all species. |
P | The assignment matrix describing functional redundancies among groups, such as trophic levels. |
The random initial matrix of interactions among species, before functional redundancies are included. | |
r i | The growth rate in isolation of the species |
E | The random matrix encoding minor variations among functionally redundant groups. |
The condition number of the interaction matrix, which determines the ratio of the largest to the smallest relevant timescales in a community. | |
The restricted condition number, corresponding to the condition number of the reduced matrix of interactions among only the species that survive at equilibrium. | |
ni(t) | The instantaneous density of the species at a given time t |
The densities of the species after the ecosystem reaches steady-state | |
The equilibration time that it takes the ecosystem to reach steady-state | |
The number of surviving (coexisting) species at steady-state, | |
d | The intraspecific density limitation |
The connectance, or the number of all interactions in the ecosystem divided by the total number of possible interactions | |
The Morse instability index, indicating the relative rate of escape from a saddle point | |
The instantaneous difference between the density of the species, and its value at steady-state | |
The singular value of the matrix A, ranked in descending order of magnitude | |
The fast Lyapunov indicator, a measure of the relative sensitivity of the route to equilibrium associated with a given set of species densities |
Appendix
Slow modes in the generalized Lotka-Volterra model
The generalized Lotka-Volterra model has the form
(5) |
The growth rates include species capable of growing in isolation (ri > 0, such as autotrophs) and those that require other species to survive ri < 0. The matrix A is sampled from the family of matrices
(6) |
where , , d is a density-limitation constant, and I is the identity matrix. We introduce the notation , where . We linearize Eq 5 around a slow manifold , such that and . Matching terms of equivalent order results in linearized dynamics
(7) |
where we have discarded terms and . We note that retaining the latter terms would lead to perturbations to the eigenvalues of the unperturbed Jacobian; however, in the globally-stable regime, the dynamics near the equilibrium point are dominated by the density-dependent term d, and so these cross-terms have minor effects on the global fixed point.
The first term in Eq 7 creates linearized dynamics described by the unperturbed Jacobian matrix (community matrix) [49]. The unperturbed Jacobian matrix may be alternatively written as the matrix product , which is independent of . The second term biases the dynamics away from the unperturbed fixed point , creating a flow with speed along the slow manifolds.
Numerical integration
All numerical results are generated with an implicit embedded Runge-Kutta solver (Radau) that inverts the analytic Jacobian at each timestep. Relative and absolute tolerances of the solver are set to <10−12, ensuring accuracy comparable to recent studies of transient chaos [45,61].
For calculation of the settling time, we numerically integrate until , and we then use the eigenvalues of analytical Jacobian of Eq 5 to confirm that the asymptotic value is a local minimum, which we consider an estimate of the global solution . We then use a nonnegative least-squares solver (the Lawson-Hanson algorithm implemented in scipy.optimize.nnls) to directly verify that . We then retroactively find the settling time by choosing the fixed convergence floor and find . The precision floors are chosen so that, in all cases, occurs before the termination of integration.
Calculation of the fast Lyapunov indicator
For calculation of the Fast Lyapunov Indicator (FLI), the variational equation , is introduced based on the analytic Jacobian of Eq 5. The variational equation is integrated concurrently with the original trajectory, with all timesteps controlled by the dynamics of . During integration, whenever grows too large for numerical stability, we rescale all matrix elements and then store the scale factor, allowing the exact value of to be reconstructed post hoc. For a given initial condition , the Fast Lyapunov Indicator is given by
where the and [62]. The variational equation may be interpreted as evolving each column of separately. Because each column points in a different initial direction, the columns stretch at different rates depending on whether they happen to initially align with the dominant stretching directions of . At long times, the fastest-growing column dominates the matrix norm. may thus be interpreted as the fastest exponential divergence observed at any time, and along any initial direction, for a given point in the domain of a dynamical system. This property contrasts with the true Lyapunov exponent , which eventually approaches zero or a negative value for most initial conditions in systems that exhibit scattering or a global fixed point. Prior works have shown that can robustly detect transient events unfolding over a range of timescales, including short-period scrambling events in the restricted three-body problem [63], long-timescale resonances in the solar system [64,65], and gradual diffusion in quasi-integrable Hamiltonian systems [43].
Embedding the slow manifold dynamics
We fix the parameters of an ecosystem Eq 5, with denoting the right hand side of the differential equation. We compute a set of simulations originating from different initial conditions and sampled at T discrete timepoints, . On this set of trajectories, we perform principal components analysis (PCA) and transform the data into the full principal components space . For visualization purposes, we truncate this matrix in order to view the trajectories along only the top two principal components, . For each initial condition, we perform a replicate integration with in order to identify the set of fixed points for the degenerate case, . We project these unperturbed solutions into the truncated PCA coordinates, in order to visualize in low dimensions the locations of formerly-stable solutions, .
To obtain a vector field and streamlines, we define a uniform mesh over the first two PCA embedding coordinates , which we then promote to a full-dimensional mesh by appending the mean of the remaining (N–2) PCA coordinates, producing the coordinates . We then invert the PCA transformation (a linear transformation and a shift by the featurewise mean vector) in order to pull back into the ambient coordinates . In the inverted mesh coordinates, we evaluate Eq 5 at each mesh location to produce a velocity vector field in the ambient coordinates, which we then project back into the truncated PCA basis in order to visualize the vector field and streamlines along the slow manifold. Trajectories in the embedded coordinates appear to cross streamlines, because the observed dynamics are a projection of higher-dimensional trajectories from a velocity field , where streamlines do not cross.
Evolutionary simulations lead to ill-conditioned dynamics
We randomly sample 103 random interaction matrices with P = I, in Eq 6. We integrate their dynamics under Eq 5, using the same integration precision and termination conditions described in 1. Consistent with prior results [23], we observe that the initial steady-state diversity, , exhibits a binomial distribution across replicates, with .
We next select the top of foodwebs (A matrices) to survive to the next generation, and we delete the remaining . We replace these culled foodwebs with new foodwebs with interactions randomly sampled from the surviving foodwebs. However, we hold constant the vector r of growth rates for each species. This is because the individual growth rates are the only distinguishing characteristic that would allow for distinct niches among the different species; if growth rates also evolve during the simulation, the system will trivially collapse onto a degenerate space of identical species in equal proportions. This case would be consistent with our observation that functional redundancy (and thus ill-conditioning) emerges at high diversity, but it otherwise provides little mechanistic insight.
We have also considered variants of our evolutionary procedure, including the addition of random mutations, constraints on crossover due to clamped values of the sparsity and norm of each A, and a more gradual recombination procedure, in which low-fitness ecosystems are not culled, but rather only partially updated based on interactions found in high-diversity ecosystems. While these hyperparameters affect evolution rate and convergence time, they have no effect on the scalings and tradeoffs we observe, suggesting that the phenomenon represents an intrinsic property of the space of ecosystems and A matrices, rather than an artifact of our particular matrix sampling procedure.
From a biological perspective, our approach represents a limiting case of eco-evolutionary dynamics, in which population dynamics proceed rapidly compared to evolutionary dynamics. Interestingly, while the population dynamics represent an optimization in the sense of solving a non-negative least-squares problem, the process of evolving the A matrices with genetic algorithms represent a higher-level meta-optimization,
where the population dynamics are now encoded within an equality constraint.
Alternative models
In our formulation of the generalized Lotka-Volterra model Eq 5, the role of the condition number on the interaction matrix A is explicitly encoded in the parameter via the structured interaction matrix Eq 6. Several recent studies instead parametrize A in terms of a random ensemble of scaled interactions,
(8) |
where denotes the identity matrix, denotes a matrix of all ones, and the elements of are randomly sampled from a bivariate Gaussian distribution of the form
so that and .
Analytical and numerical studies show that Eq 8 exhibits a threshold at which the system transitions from exhibiting multiple stable equilibria to a single, globally stable fixed point [31–33]. We apply our analysis from the main text to this system. We simulate a random ensemble of ecosystems and find that, near the transition point between global stability and multistability, the condition number rapidly increases and produces long-transients associated with ill-conditioned dynamics (Fig 8A). In this intermediate regime, the system exhibits the same phenomena we report in our main results, including scaling of equilibration (i.e. solving) time with the condition number (Fig 8B), and the appearance of caustics and transient chaos associated with differing routes to equilibrium (Fig 8C).
Fig 8. Complex transients in an alternative ecosystem model.
(A) The condition number as an ecosystem model transitions from noninvasible global stability to multistability. Settling time versus condition number for 104 random communities. (B) Caustics in the Fast Lyapunov Indicator () versus initial conditions on a two-dimensional slice through the N-dimensional space of initial species densities.
Effect of network connectivity on dynamics
We repeat our scaling experiments for different values of the connectance , corresponding to the total number of connections among nodes C divided by the total possible connections − . In Fig 9, we find that the observed scaling of transient lifetime with condition number does not vary with connectance over two orders of magnitude. In Fig 10, we find that the pseudobasins associated with transient dynamics change in structure, but not intensity, as the connectance varies.
Fig 9. The effect of network connectivity on scaling of transient dynamics.
Settling time versus condition number for random communities; dashed line shows the scaling expected for an iterative linear program solver. Colors indicate communities with different values of the connectance ().
Fig 10. The effect of network connectivity on transient dynamics.
Caustics in the Fast Lyapunov Indicator () versus initial conditions on a two-dimensional slice through the N-dimensional space of initial species densities. Panels correspond to three levels of network connectance ().
Effect of slow manifold dimension on dynamics
We repeat our experiments by varying the relative dimensionality of the slow manifold, corresponding to M/N. In Fig 11, we find that the observed scaling of transient lifetime with condition number does not vary with connectance over two orders of magnitude. However, in Fig 12, we find that the pseudobasins associated with transient dynamics change in structure and intensity. In general, as the slow manifold becomes a larger dimensional slice through phase space, more routes trap trajectories along the slow manifold, leading to sharper caustics in the fast Lyapunov indicator .
Fig 11. The effect of slow manifold dimension on scaling of transient dynamics.
Settling time versus condition number for random communities; dashed line shows the scaling expected for an iterative linear program solver. Colors indicate communities with different slow manifold dimensionalities (M/N).
Fig 12. The effect of slow manifold dimension on transient dynamics.
Caustics in the Fast Lyapunov Indicator () versus initial conditions on a two-dimensional slice through the N-dimensional space of initial species densities. Panels correspond to three values of the slow manifold dimension (M/N).
Acknowledgments
W.G. thanks Aleksandra Walczak, Rob Phillips, Yuanzhao Zhang, and Annette Ostling for informative discussions. Computational resources for this study were provided by the Texas Advanced Computing Center (TACC) at The University of Texas at Austin. W.G. thanks Medici Therapeutics.
Data Availability
Code for this model is available here: https://github.com/williamgilpin/illotka.
Funding Statement
This project has been made possible in part by the Chan Zuckerberg Initiative DAF, an advised fund of Silicon Valley Community Foundation (Grant No. DAF2023-329596 to W.G.). This work was supported by National Science Foundation (DMS 2436233 to W.G.) and (CMMI 2440490 to W.G.). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
References
- 1.May RM. Will a large complex system be stable?. Nature. 1972;238(5364):413–4. doi: 10.1038/238413a0 [DOI] [PubMed] [Google Scholar]
- 2.Avila M, Barkley D, Hof B. Transition to turbulence in pipe flow. Annu Rev Fluid Mech. 2023;55:575–602. [Google Scholar]
- 3.Hastings A, Abbott KC, Cuddington K, Francis T, Gellner G, Lai Y-C, et al. Transient phenomena in ecology. Science. 2018;361(6406):eaat6412. doi: 10.1126/science.aat6412 [DOI] [PubMed] [Google Scholar]
- 4.Morozov A, Abbott K, Cuddington K, Francis T, Gellner G, Hastings A, et al. Long transients in ecology: theory and applications. Phys Life Rev. 2020;32:1–40. doi: 10.1016/j.plrev.2019.09.004 [DOI] [PubMed] [Google Scholar]
- 5.Schlomann BH, Parthasarathy R. Timescales of gut microbiome dynamics. Curr Opin Microbiol. 2019;50:56–63. doi: 10.1016/j.mib.2019.09.011 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.de Pirey TA, Bunin G. Many-species ecological fluctuations as a jump process from the brink of extinction. Phys Rev X. 2024;14(1):011037. [Google Scholar]
- 7.Ben Arous G, Fyodorov YV, Khoruzhenko BA. Counting equilibria of large complex systems by instability index. Proc Natl Acad Sci U S A. 2021;118(34):e2023719118. doi: 10.1073/pnas.2023719118 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Chen X, Cohen J. Transient dynamics and food–web complexity in the Lotka–Volterra cascade model. Proc R Soc Lond B Biol Sci. 2001;268(1469):869–77. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Neubert MG, Caswell H. Alternatives to resilience for measuring the responses of ecological systems to perturbations. Ecology. 1997;78(3):653–65. doi: 10.1890/0012-9658(1997)078[0653:atrfmt]2.0.co;2 [DOI] [Google Scholar]
- 10.Snyder RE. What makes ecological systems reactive?. Theor Popul Biol. 2010;77(4):243–9. doi: 10.1016/j.tpb.2010.03.004 [DOI] [PubMed] [Google Scholar]
- 11.Townley S, Carslake D, Kellie-Smith O, McCarthy D, Hodgson D. Predicting transient amplification in perturbed ecological systems. J Appl Ecol. 2007;1243–51.
- 12.Tang S, Allesina S. Reactivity and stability of large ecosystems. Front Ecol Evol. 2014;2:21. [Google Scholar]
- 13.Suweis S, Grilli J, Banavar JR, Allesina S, Maritan A. Effect of localization on the stability of mutualistic ecological networks. Nat Commun. 2015;6:10179. doi: 10.1038/ncomms10179 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Dai L, Vorselen D, Korolev KS, Gore J. Generic indicators for loss of resilience before a tipping point leading to population collapse. Science. 2012;336(6085):1175–7. doi: 10.1126/science.1219805 [DOI] [PubMed] [Google Scholar]
- 15.Hastings A, Wysham DB. Regime shifts in ecological systems can occur with no warning. Ecol Lett. 2010;13(4):464–72. doi: 10.1111/j.1461-0248.2010.01439.x [DOI] [PubMed] [Google Scholar]
- 16.Mehta P, Cui W, Wang C-H, Marsland R. Constrained optimization as ecological dynamics with applications to random quadratic programming in high dimensions. Phys Rev E. 2019;99(5–1):052111. doi: 10.1103/PhysRevE.99.052111 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Tikhonov M. Theoretical microbial ecology without species. Phys Rev E. 2017;96(3–1):032410. doi: 10.1103/PhysRevE.96.032410 [DOI] [PubMed] [Google Scholar]
- 18.Biroli G, Bunin G, Cammarota C. Marginally stable equilibria in critical ecosystems. New J Phys. 2018;20(8):083051. [Google Scholar]
- 19.Blumenthal E, Rocks JW, Mehta P. Phase transition to chaos in complex ecosystems with nonreciprocal species-resource interactions. Phys Rev Lett. 2024;132(12):127401. doi: 10.1103/PhysRevLett.132.127401 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Tikhonov M, Monasson R. Collective phase in resource competition in a highly diverse ecosystem. Phys Rev Lett. 2017;118(4):048103. doi: 10.1103/PhysRevLett.118.048103 [DOI] [PubMed] [Google Scholar]
- 21.Altieri A, Franz S. Constraint satisfaction mechanisms for marginal stability and criticality in large ecosystems. Phys Rev E. 2019;99(1–1):010401. doi: 10.1103/PhysRevE.99.010401 [DOI] [PubMed] [Google Scholar]
- 22.Goyal A, Rocks J, Mehta P. A universal niche geometry governs the response of ecosystems to environmental perturbations. bioRxiv. 2024. 2024–03.
- 23.Serván CA, Capitán JA, Grilli J, Morrison KE, Allesina S. Coexistence of many species in random ecosystems. Nat Ecol Evol. 2018;2(8):1237–42. doi: 10.1038/s41559-018-0603-6 [DOI] [PubMed] [Google Scholar]
- 24.MacArthur R. Species packing and competitive equilibrium for many species. Theor Popul Biol. 1970;1(1):1–11. doi: 10.1016/0040-5809(70)90039-0 [DOI] [PubMed] [Google Scholar]
- 25.Louca S, Jacques SMS, Pires APF, Leal JS, Srivastava DS, Parfrey LW, et al. High taxonomic variability despite stable functional structure across microbial communities. Nat Ecol Evol. 2016;1(1):15. doi: 10.1038/s41559-016-0015 [DOI] [PubMed] [Google Scholar]
- 26.Weiner BG, Posfai A, Wingreen NS. Spatial ecology of territorial populations. Proc Natl Acad Sci U S A. 2019;116(36):17874–9. doi: 10.1073/pnas.1911570116 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Louca S, Polz MF, Mazel F, Albright MBN, Huber JA, O’Connor MI, et al. Function and functional redundancy in microbial systems. Nat Ecol Evol. 2018;2(6):936–43. doi: 10.1038/s41559-018-0519-1 [DOI] [PubMed] [Google Scholar]
- 28.Lee KK, Park Y, Kuehn S. Robustness of microbiome function. Curr Opin Syst Biol. 2023;36:100479. doi: 10.1016/j.coisb.2023.100479 [DOI] [Google Scholar]
- 29.Dunne JA, Williams RJ, Martinez ND. Food-web structure, network theory: the role of connectance and size. Proc Natl Acad Sci U S A. 2002;99(20):12917–22. doi: 10.1073/pnas.192407699 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Taillefumier T, Posfai A, Meir Y, Wingreen NS. Microbial consortia at steady supply. Elife. 2017;6:e22644. doi: 10.7554/eLife.22644 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Rieger H. Solvable model of a complex ecosystem with randomly interacting species. J Phys A: Math Gen. 1989;22(17):3447–60. doi: 10.1088/0305-4470/22/17/011 [DOI] [Google Scholar]
- 32.Bunin G. Ecological communities with Lotka-Volterra dynamics. Phys Rev E. 2017;95(4–1):042414. doi: 10.1103/PhysRevE.95.042414 [DOI] [PubMed] [Google Scholar]
- 33.Ros V, Roy F, Biroli G, Bunin G, Turner AM. Generalized Lotka-Volterra equations with random, nonreciprocal interactions: the typical number of equilibria. Phys Rev Lett. 2023;130(25):257401. doi: 10.1103/PhysRevLett.130.257401 [DOI] [PubMed] [Google Scholar]
- 34.Trefethen L, Bau D. Numerical linear algebra. SIAM. 2022.
- 35.Demmel J. The probability that a numerical analysis problem is difficult. Math Comput. 1988;50(182):449–80. [Google Scholar]
- 36.Frentz Z, Kuehn S, Leibler S. Strongly deterministic population dynamics in closed microbial communities. Phys Rev X. 2015;5(4):041014. [Google Scholar]
- 37.Dauphin Y, Pascanu R, Gulcehre C, Cho K, Ganguli S, Bengio Y. Identifying and attacking the saddle point problem in high-dimensional non-convex optimization. Adv Neural Inf Process Syst. 2014;27. [Google Scholar]
- 38.Altieri A, Roy F, Cammarota C, Biroli G. Properties of equilibria and glassy phases of the random Lotka-Volterra model with demographic noise. Phys Rev Lett. 2021;126(25):258301. doi: 10.1103/PhysRevLett.126.258301 [DOI] [PubMed] [Google Scholar]
- 39.Thibeault V, Allard A, Desrosiers P. The low-rank hypothesis of complex systems. Nat Phys. 2024;:1–9.
- 40.Kantz H, Grassberger P. Repellers, semi-attractors and long-lived chaotic transients. Physica D. 1985;17(1):75–86. [Google Scholar]
- 41.Vergis A, Steiglitz K, Dickinson B. The complexity of analog computation. Math Comput Simul. 1986;28(2):91–113. [Google Scholar]
- 42.Ercsey-Ravasz M, Toroczkai Z. Optimization hardness as transient chaos in an analog approach to constraint satisfaction. Nat Phys. 2011;7(12):966–70. doi: 10.1038/nphys2105 [DOI] [Google Scholar]
- 43.Froeschle C, Guzzo M, Lega E. Graphical evolution of the Arnold web: from order to chaos. Science. 2000;289(5487):2108–10. doi: 10.1126/science.289.5487.2108 [DOI] [PubMed] [Google Scholar]
- 44.Lai Y, Tél T. Transient chaos: complex dynamics on finite time scales. Springer. 2011.
- 45.Motter AE, Gruiz M, Károlyi G, Tél T. Doubly transient chaos: generic form of chaos in autonomous dissipative systems. Phys Rev Lett. 2013;111(19):194101. doi: 10.1103/PhysRevLett.111.194101 [DOI] [PubMed] [Google Scholar]
- 46.Goldford JE, Lu N, Bajić D, Estrela S, Tikhonov M, Sanchez-Gorostiaga A, et al. Emergent simplicity in microbial community assembly. Science. 2018;361(6401):469–74. doi: 10.1126/science.aat1168 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47.Louca S, Parfrey LW, Doebeli M. Decoupling function and taxonomy in the global ocean microbiome. Science. 2016;353(6305):1272–7. doi: 10.1126/science.aaf4507 [DOI] [PubMed] [Google Scholar]
- 48.Chen Z, Dongarra JJ. Condition numbers of Gaussian random matrices. SIAM J Matrix Anal Appl. 2005;27(3):603–20. doi: 10.1137/040616413 [DOI] [Google Scholar]
- 49.Novak M, Yeakel JD, Noble AE, Doak DF, Emmerson M, Estes JA, et al. Characterizing species interactions to understand press perturbations: what is the community matrix? Annu Rev Ecol Evol Syst. 2016;47(1):409–32. doi: 10.1146/annurev-ecolsys-032416-010215 [DOI] [Google Scholar]
- 50.Stone L. The stability of mutualism. Nat Commun. 2020;11(1):2648. doi: 10.1038/s41467-020-16474-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 51.Gravel D, Massol F, Leibold MA. Stability and complexity in model meta-ecosystems. Nat Commun. 2016;7:12457. doi: 10.1038/ncomms12457 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 52.Pastore AI, Barabás G, Bimler MD, Mayfield MM, Miller TE. The evolution of niche overlap and competitive differences. Nat Ecol Evol. 2021;5(3):330–7. doi: 10.1038/s41559-020-01383-y [DOI] [PubMed] [Google Scholar]
- 53.Rocks JW, Ronellenfitsch H, Liu AJ, Nagel SR, Katifori E. Limits of multifunctionality in tunable networks. Proc Natl Acad Sci U S A. 2019;116(7):2506–11. doi: 10.1073/pnas.1806790116 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 54.Husain K, Murugan A. Physical constraints on epistasis. Mol Biol Evol. 2020;37(10):2865–74. doi: 10.1093/molbev/msaa124 [DOI] [PubMed] [Google Scholar]
- 55.Ainsworth S, Hayase J, Srinivasa S. Git re-basin: merging models modulo permutation symmetries. In: Proceedings of the Eleventh International Conference on Learning Representations. 2022.
- 56.Saad D, Solla S. On-line learning in soft committee machines. Phys Rev. 1995;52(4):4225. [DOI] [PubMed] [Google Scholar]
- 57.Johnson S, Domínguez-García V, Donetti L, Muñoz MA. Trophic coherence determines food-web stability. Proc Natl Acad Sci U S A. 2014;111(50):17923–8. doi: 10.1073/pnas.1409077111 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 58.Poderoso FC, Fontanari JF. Controlling species richness in spin-glass model ecosystems. Phys Rev E Stat Nonlin Soft Matter Phys. 2006;74(5 Pt 1):051919. doi: 10.1103/PhysRevE.74.051919 [DOI] [PubMed] [Google Scholar]
- 59.Wu L, Wang X-W, Tao Z, Wang T, Zuo W, Zeng Y, et al. Data-driven prediction of colonization outcomes for complex microbial communities. Nat Commun. 2024;15(1):2406. doi: 10.1038/s41467-024-46766-y [DOI] [PMC free article] [PubMed] [Google Scholar]
- 60.Renegar J. Incorporating condition measures into the complexity theory of linear programming. SIAM J Optim. 1995;5(3):506–24. [Google Scholar]
- 61.Zhang Y, Cornelius SP. Catch-22s of reservoir computing. Phys Rev Res. 2023;5(3):033213. [Google Scholar]
- 62.Froeschl’e C, Lega E, Gonczi R. Fast Lyapunov indicators. Application to asteroidal motion. Celest Mech Dyn Astron. 1997;67(1):41–62. [Google Scholar]
- 63.Lega E, Guzzo M, Froeschl’e C. Detection of close encounters and resonances in three-body problems through Levi-Civita regularization. Mon Not R Astron Soc. 2011;418(1):107–13. [Google Scholar]
- 64.Todorović N, Wu D, Rosengren AJ. The arches of chaos in the Solar System. Sci Adv. 2020;6(48):eabd1313. doi: 10.1126/sciadv.abd1313 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 65.Fouchard M, Lega E, Froeschle C, Froeschle C. On the relationship between fast Lyapunov indicator, periodic orbits for continuous flows. In: Modern Celestial Mechanics: From Theory to Applications: Proceedings of the Third Meeting on Celestical Mechanics–CELMEC III, held in Rome, Italy and 18–22 June 2001. Springer; 2002. p. 205–22.
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
Code for this model is available here: https://github.com/williamgilpin/illotka.