Abstract
Dynamical systems theory suggests that ecosystems may exhibit alternative dynamical attractors. Such alternative attractors, as for example equilibria and cycles, have been found in the dynamics of experimental systems. Yet, for natural systems, where multiple biotic and abiotic factors simultaneously affect population dynamics, it is more challenging to distinguish alternative dynamical behaviors. Although recent research exemplifies that some natural systems can exhibit alternative states, a robust methodology for testing whether these constitute distinct dynamical attractors is currently lacking. Here, using attractor reconstruction techniques we develop such a test. Applications of the methodology to simulated, experimental and natural time series data, reveal that alternative dynamical behaviors are hard to distinguish if population dynamics are governed by purely stochastic processes. However, if population dynamics are brought about also by mechanisms internal to the system, alternative attractors can readily be detected. Since many natural populations display evidence of such internally driven dynamics, our approach offers a method for empirically testing whether ecosystems exhibit alternative dynamical attractors.
Similar content being viewed by others
Introduction
Dynamical systems theory has been applied extensively in the quest for a better understanding of critical transitions; that is, abrupt changes in the dynamics, of ecosystems1,2,3,4. A key result derived from this theory, indeed a common feature of non-linear mathematical models, is that novel dynamical regimes may arise through perturbations affecting either parameter values (that is, through bifurcations) or state variables of a system (systems can enter alternative basins of attraction)2. Even a simple discrete one-dimensional model can display a wide array of different types of dynamics5, and in higher dimensions - the dimensionality of which real ecosystems most likely are composed - the set of potential dynamics that can arise from a model can increase dramatically6. Thus, if non-linear mathematical models are useful descriptions of real ecosystems we would expect some ecosystems to display qualitative changes in their temporal dynamics following critical transitions.
Experiments clearly indicate that alternative dynamical regimes, including alternative attractors such as cycles and chaos, can exist in a system7,8,9,10. Still, a robust proof of whether a given ecosystem has switched to an alternative attractor is lacking3. A number of studies indicate that natural systems may exhibit alternative attractors3,11,12,13,14,15, yet to our knowledge, only one study has thoroughly investigated if the temporal dynamics in an ecosystem is qualitatively different pre and post a critical transition. In this study, it was found through visual inspection of time series that trajectories were qualitatively different pre and post an induced trophic cascade in a whole lake experiment16. However, no formal statistical test was conducted to determine whether the time series trajectories were indeed different. In fact, no such test has so far been developed.
Here we develop a formal test for testing whether systems exhibit alternative dynamical attractors. The test distinguishes if the trajectories of two-time series (e.g., pre-chosen from breakpoint analysis17 or biological knowledge of the system) are qualitatively different. It is based on attractor reconstruction techniques (See “Methods”) and the rationale behind the test is that predictions of the dynamics in a given dynamical regime should be significantly more accurate if time series from the same, rather than a contrasting dynamical regime, are used to inform predictions. Thus, if regimes (attractors) are dynamically dissimilar we expect significantly lower prediction errors for within than across regime (attractor) predictions, and therefore test if prediction errors of within and across regime predictions are significantly different.
Results and discussion
We illustrate the approach using a simple example with two dynamical regimes (Fig. 1): a two-point limit cycle and a four-point limit cycle (MA and MB in Fig. 1, respectively). The trajectories for two species, a consumer C and its resource R, can either be plotted as a function of time (left panels Fig. 1a) or in phase space (right panels Fig. 1a). Now, assume that information from one dynamical regime (e.g. MA) is used to predict dynamics from the same dynamical regime, then predictions (\({\hat{{{{{{\boldsymbol{Y}}}}}}}}_{A}(t)|{{{{{{\boldsymbol{M}}}}}}}_{A}\)) are very similar to the true observed dynamics (comparing \({\hat{{{{{{\boldsymbol{Y}}}}}}}}_{A}(t)|{{{{{{\boldsymbol{M}}}}}}}_{A}\) and YA(t) in Fig. 1b). However, if information from another dynamical regime (MB) is used to inform predictions, then predictions (\({\hat{{{{{{\boldsymbol{Y}}}}}}}}_{A}(t)|{{{{{{\boldsymbol{M}}}}}}}_{B}\)) are completely different to the true dynamics (comparing \({\hat{{{{{{\boldsymbol{Y}}}}}}}}_{A}(t)|{{{{{{\boldsymbol{M}}}}}}}_{B}\) and YA(t) in Fig. 1b). Predictions based on data from a contrasting regime (\({\hat{{{{{{\boldsymbol{Y}}}}}}}}_{A}(t)|{{{{{{\bf{M}}}}}}}_{B}\)) are thus less accurate than predictions based on data from the same regime (\({\hat{{{{{{\boldsymbol{Y}}}}}}}}_{A}(t)|{{{{{{\bf{M}}}}}}}_{A}\)) (Fig. 1c), inferring larger prediction errors for across regime predictions (\({\hat{{{{{{\boldsymbol{Y}}}}}}}}_{A}(t)|{{{{{{\bf{M}}}}}}}_{B}-{{{{{{\boldsymbol{Y}}}}}}}_{A}(t)\)) than within regime predictions (\({\hat{{{{{{\boldsymbol{Y}}}}}}}}_{A}(t)|{{{{{{\bf{M}}}}}}}_{A}-{{{{{{\boldsymbol{Y}}}}}}}_{A}(t)\)) (Fig. 1d). Moreover, larger across (\({\hat{{{{{{\boldsymbol{Y}}}}}}}}_{B}(t)|{{{{{{\bf{M}}}}}}}_{A}-{{{{{{\boldsymbol{Y}}}}}}}_{B}(t)\)) than within regime prediction errors (\({\hat{{{{{{\boldsymbol{Y}}}}}}}}_{B}(t)|{{{{{{\bf{M}}}}}}}_{B}-{{{{{{\boldsymbol{Y}}}}}}}_{B}(t)\)), would also be found if dynamical regime YB(t) was predicted, as within regime predictions (\({\hat{{{{{{\boldsymbol{Y}}}}}}}}_{B}(t)|{{{{{{\bf{M}}}}}}}_{B}\)) are more similar to the true dynamics than across regime predictions (\({\hat{{{{{{\boldsymbol{Y}}}}}}}}_{B}(t)|{{{{{{\bf{M}}}}}}}_{A}\)) also for this dynamical regime (YB(t)) (last row Fig. 1b). A comparison of prediction errors for across and within regime predictions can thus be used to test if the temporal dynamics in two dynamical regimes are qualitatively different.
Figure 2 shows the probability of detecting difference in across (\({\hat{{{{{{\boldsymbol{Y}}}}}}}}_{i}(t)|{{{{{{\bf{M}}}}}}}_{j}-{{{{{{\boldsymbol{Y}}}}}}}_{i}(t)\)) and within regime (\({\hat{{{{{{\boldsymbol{Y}}}}}}}}_{i}(t)|{{{{{{\bf{M}}}}}}}_{i}-{{{{{{\boldsymbol{Y}}}}}}}_{i}(t)\)) prediction errors, in data from a simulated food-chain model (See “Methods” and Supplementary Figs. 1a–d and 2, 3). Differences in across and within regime prediction errors is detectable across all dynamical regimes in which the observed dynamics is a cyclic regime (i.e. B, C, or D in Fig. 2), except for the obvious case where across and within regime predictions are based on the same dynamical regime (diagonal in Fig. 2). For the specific case where across and within regime predictions are compared across a stochastic equilibrium and a cyclic regime (A predicts B, C, or D; and B, C, or D predicts A in Fig. 2), a dichotomous response is observed. This means that for a given pair of regimes, one test indicates a significant difference in prediction errors (e.g. A predicts B in Fig. 2) whereas in the opposite direction (e.g. B predicts A in Fig. 2) the test is not significant. This result is caused by the low predictive ability, and the low intrinsic predictability, of stochastic equilibria (Supplementary Table 1). Overall, our approach can thus robustly detect dynamical difference among contrasting regimes when at least one regime is governed by internally driven signals.
Fussman et al.7 proposed that two qualitatively different dynamical regimes were apparent in an experimental system. This conclusion was arrived at through a comparison of the predictions of a mathematical model and the coefficient of variance of time series produced by experimentally varying the dilution rate in predator-prey chemostats. Two distinct dilution rate regions, giving rise to equilibria and cycles, were suggested based on an abrupt increase in the variability of time series at a specific dilution rate. This suggests that the system had gone through a Hopf-bifurcation, yet we note that there was no formal test conducted on whether the temporal dynamics were qualitatively different in the different parameter regions.
Our analyses of the Fussman et al.7 data set show that the temporal dynamics of time series (Supplementary Figs. 4–11), previously suggested to represent equilibria and cycles, are indeed different (Fig. 3). This is because: (i) a significant difference in prediction error for across and within regime predictions is often found when an “equilibrium” time series is used to predict a “cyclic” time series (upper left squares Fig. 3a, b; note that the most obvious exceptions are observed for the two shortest time series [n = 18 and 21]); and (ii) a difference in prediction errors for across and within regime predictions is not found when “cyclic” time series are used to predict “equilibria” (lower right squares Fig. 3a, b). These results indicate that the “equilibrium” time series are mainly stochastic, and that the “cyclic” time series contain a higher degree of predictable information; a result which resembles the result derived from analyses of data from the food-chain model (B predicts A, and A predicts B in Fig. 2).
Moreover, a significant difference in prediction errors for across and within regime predictions are often also found when “cyclic” time series are used to predict other “cyclic” time series (upper right squares Fig. 3a, b). This result may seem counterintuitive. Yet, if a non-linear mathematical model is a good description of an experimental system, generically different cycle periodicities and amplitudes will emerge for different parameter values within the cyclic parameter region6. That we find dynamical difference among “cyclic” time series may thus be explained by the fact that these time series indeed have qualitatively different internal signatures. Our results thus extend the findings of Fussman et al.7 by showing that the temporal dynamics of unique time series, from a region of parameter values producing cyclic dynamics, are often also qualitatively different.
The experimental system and the food-chain model (Figs. 2, 3) investigated above are examples of deterministic systems, since mechanisms internal to those systems induce population variability. However, alternative dynamical regimes may also exist in systems where population dynamics is brought about by stochasticity. It is for example well-known that the characteristics of time series (e.g. autocorrelation) produced by stochastic one-dimensional models depend on their proximity to bifurcation points4. If a model exhibits alternative stable equilibria this infers that random perturbations may induce qualitatively different time-series signals depending on in which basin of attraction the model’s state resides (Fig. 4a and Supplementary Fig. 1e–g).
We apply our approach to data produced by a stochastic alternative stable state model (“Methods”; Fig. 4a and Supplementary Fig. 1e–g). In general, alternative stochastic regimes are not distinguishable (Fig. 4b, c). Still, for fixed parameters values that may best represent natural systems that have gone through regime shifts (i.e. parameter values close to bifurcation points) dynamical difference is detectable (c≈1.8 or c≈2.7, in Fig. 4b, c, respectively). However, long time series are required for a robust detection also for these specific cases. Thus, our approach has a limited ability of detecting dynamical difference among alternative stochastic regimes.
As a final example of the approach, we apply it to a phytoplankton time series from a eutrophic Lake in Germany. We tested if pre- and post-critical transition time series, as previously found using breakpoint analysis18, constitute alternative dynamical attractors in this system (Fig. 5a). The results show a significant difference (p ≈ 0.03, permutation test) in across and within regime predictions for the pre-transition time series, and no difference (p ≈ 0.98, permutation test) in across and within regime prediction errors for the post-transition time series (Fig. 5b). This suggests that the pre-transition dynamics constitute a more strongly internally driven dynamical regime than the post-transition dynamics, a result resembling the result found when comparing cyclic and stochastic equilibria produced by a food-chain model (Fig. 2). A comparison of mean absolute prediction errors (MAPE) of pre- and post-transition dynamics further supports this assertion by showing that the post-transition dynamics are associated with overall larger prediction errors (MAPEW = 0.6; MAPEA = 0.67) than the pre-transition dynamics (MAPEW = 0.53; MAPEA = 0.57). Predictions for post-transition dynamics are thus less accurate than predictions of pre-transition dynamics, suggesting that the pre-transition dynamics is to a larger extent governed by internally driven dynamics than the post-transition dynamics.
Conclusion
Overall, simulation results show that if internally driven signals are evident in one out of two, or both regimes, of a natural population time series, our methodology can robustly detect alternative dynamical attractors (See also Supplementary Discussion). However, if stochastic processes dominate in both regimes of a time series, the approach cannot distinguish alternative attractors. Therefore, if dynamical difference is detected using the methodology developed here alternative internally driven dynamics is detected. On the other hand, if a system is strongly driven by stochastic processes, alternative stochastic behaviors may be detected using other approaches such as power spectrum analyses19.
Since the methodological approach presented in this study is most likely to detect dynamic dissimilarity among time series displaying internally driven signals, a key question is whether natural populations exhibit deterministic signals. To this end, meta-analyses of population time series have often found that natural populations display non-linear deterministic dynamics such as cycles20,21, suggesting that internally driven signals are not overwhelmed by stochasticity in natural populations. In natural systems, stochastic processes most likely integrate with internal processes22,23, creating novel dynamics that necessarily still reflects the internal process22,23,24. As our approach is useful for such dynamics, we reckon it as part of the growing toolbox of approaches (e.g. early warning signals) required to understand and mitigate against ecosystem collapse (e.g. regime shifts). With the increasing presence of the global footprint development of such methodologies are critical.
Methods
Detecting alternative attractors in ecosystem dynamics
We use empirical dynamical modeling, a set of equation-free tools for analyzing non-linear time series (for a review and assumptions see25,26, respectively), to test if the temporal dynamics of alternative dynamical regimes are qualitatively different. Empirical dynamic modeling builds fundamentally on Takens embedding theorem, which shows that attractors of multi-dimensional dynamical systems can be reconstructed using higher order lags of its embedded time series27. However, if a dynamical system has gone through a bifurcation, or switched to an alternative basin of attraction, attractors are qualitative dissimilar in the two regimes. Theoretically, this infers that it should be possible to reconstruct the attractor of one regime using information from the same regime, but not from the other regime. In practice, this implies that if a model (attractor reconstruction) based on one dynamical regime is used to predict the dynamics of variables from the same dynamical regime predictions should be accurate (i.e. low prediction errors), whereas if an attractor reconstruction based on one dynamical regime is used to predict the dynamics of variables of another attractor predictions should be less accurate (i.e. high prediction errors). We make use of this idea by specifically testing if prediction errors of across and within regime predictions are different. As explained below this idea can be used for both univariate and multivariate time series data.
Univariate approach
Univariate attractor reconstructions can be found using the simplex algorithm28,29. First, for a given dynamical regime, a time series can be split into a library of vectors, and each vector is described by
where \({Y}_{A}(t)\) is an observation of variable Y at time t in dynamical regime A and E is the reconstructed attractors embedding dimension. Using the simplex projection algorithm, a one-step ahead forecast is produced as follows:
where tm is a time index of an observation in dynamical regime B, E is the embedding dimension of regime B, and wm is an exponential weighting described by:
where n and m belongs to the set of the E+1 nearest neighbors of vector \({\underline{y}}_{A}(t)\) in the set of vectors \(\{{\underline{y}}_{B}({t}_{m})\}\), \({u}_{m}=\exp \{-d[{\underline{y}}_{A}(t),{\underline{y}}_{B}({t}_{m})]/d[{\underline{y}}_{A}(t),{\underline{y}}_{B}({t}_{1})]\}\), and \(d[{\underline{y}}_{A}(t),{\underline{y}}_{B}({t}_{1})]\,\)is the Euclidean distance between the prediction vector \({\underline{y}}_{A}(t)\) and its nearest neighbor \({\underline{y}}_{B}({t}_{1})\) in the set \(\{{\underline{y}}_{B}({t}_{m})\}\).
The only parameter that is estimated using the simplex algorithm is the embedding dimension E. This parameter is estimated by optimizing the correlation between observations (\({Y}_{A}(t+1)\)) and predictions \(({\hat{Y}}_{A}(t+1)|{{{{{{\boldsymbol{M}}}}}}}_{A})\) using a leave-one-out cross validation approach (See Supplementary Discussion). The embedding dimension E and its corresponding set of E-dimensional vectors (Eq. 1) constitutes the reconstructed attractor, MA, of a given dynamical regime A. This reconstructed attractor (MA) is then used to predict data for both the same dynamical regime (\({\hat{Y}}_{A}(t+1)|{{{{{{\boldsymbol{M}}}}}}}_{A}\)), and the contrasting dynamical regime \({\hat{Y}}_{B}(t+1)|{{{{{{\boldsymbol{M}}}}}}}_{A}\). Likewise, the reconstructed attractor MB can be used to predict time series dynamics from both dynamical regimes; that is, \({\hat{Y}}_{A}(t+1)|{{{{{{\boldsymbol{M}}}}}}}_{B}\) and \({\hat{Y}}_{B}(t+1)|{{{{{{\boldsymbol{M}}}}}}}_{B}\), respectively.
Multivariate approach
A multivariate time series describes a number of simultaneously evolving variables. For example, a bivariate time series can be described by variables X and Y. For such time series, Sugihara et al.30 developed an approach for testing if two variables (time series) are dynamically coupled. Their methodology builds on the fact that a reconstructed attractor should map 1:1 to the original attractor on which the reconstruction is based. This infers that two attractor reconstructions (based on two different variables) should also map 1:1 to each other30. Practically, this means that if two variables are dynamically coupled one-time series should be predictable based on an attractor reconstruction of another variable. However, if a dynamical system has gone through a bifurcation, or potentially switched to an alternative basin of attraction, a new set of rules will govern the dynamics of the system. Hence, a new attractor should have emerged. Now, since this new attractor is most likely governed by a new set of rules it should be difficult to predict the dynamics of this new alternative attractor based on information from the former attractor. Thus, if one variable in one dynamical regime is used to predict another variable in another dynamical regime, predictions should be biased. Yet, if one variable from one dynamical regime is used to predict another variable from the same regime predictions should be more accurate.
The simplex algorithm can be used to make predictions of a variable Y using a time series of another variable X30. Predictions are produced as follows:
where tm is the time series index of a vector of variable X of dynamical regime B, wm is an exponential weighting based on variable X:
where n and m belongs to the set of the E+1 nearest neighbors of \({\underline{x}}_{A}(t)\) in \(\{{\underline{x}}_{B}({t}_{m})\}\), \({u}_{m}=\exp \{-d[{\underline{x}}_{A}(t),{\underline{x}}_{B}({t}_{m})]/d[{\underline{x}}_{A}(t),{\underline{x}}_{B}({t}_{1})]\}\), and \(d[{\underline{x}}_{A}(t),{\underline{x}}_{B}({t}_{1})]\,\)is the Euclidean distance between the prediction vector\(\,{\underline{x}}_{A}(t)\) and its nearest neighbor \({\underline{x}}_{B}({t}_{1})\) in dynamical regime \(B\).
The reconstructed attractors, MA and MB, for each variable and regime are found using the univariate simplex algorithm described above28,29,30. Similar to the univariate case, the reconstructed attractor (MA) is used to predict data from the same dynamical regime (\({\hat{Y}}_{{{{{{\boldsymbol{A}}}}}}}(t)|{{{{{{\boldsymbol{M}}}}}}}_{A}\)), and to predict time series of a contrasting dynamical regime (\({\hat{Y}}_{{{{{{\boldsymbol{A}}}}}}}(t)|{{{{{{\boldsymbol{M}}}}}}}_{B}\)). Yet, it is important to stress that MA here reflects an attractor reconstruction based on a variable that is not being predicted (that is, variable X is used to predict variable Y). This prediction approach thus infers that predictions are made on data that was not used to fit the model (X predicts Y and vice versa). Thus, neither across nor within regime predictions are made on data used to fit a model.
Test statistic
We used mean absolute prediction errors to test for difference between across and within regime predictions. Alternative metrics, such as mean sum of square errors, can also be used. However, since our approach gives skewed prediction errors we used mean absolute prediction errors to reduce the impact of extreme values. Further, since the absolute prediction errors are non-normally distributed we used a permutation test. The null hypothesis that is tested reads:
where MAPEA is the mean absolute prediction error for across regime predictions (that is, \({{{{{\rm{MAP{E}}}}}}}_{A}=\frac{1}{n}\mathop{\sum}\limits_{t=1:n}{{{{{\rm{abs}}}}}}({\hat{Y}}_{{{{{{{\boldsymbol{M}}}}}}}_{{{{{{\boldsymbol{A}}}}}}}}(t)|{{{{{{\boldsymbol{M}}}}}}}_{B}-{Y}_{{{{{{{\boldsymbol{M}}}}}}}_{{{{{{\boldsymbol{A}}}}}}}}(t))\), and \({{{{{\rm{MAP{E}}}}}}}_{w}\) is the mean absolute prediction error for within regime predictions (that is, \({{{{{\rm{MAP{E}}}}}}}_{w}=\frac{1}{n}\mathop{\sum}\limits_{t=1:n}{{{{{\rm{abs}}}}}}({\hat{Y}}_{{{{{{{\boldsymbol{M}}}}}}}_{{{{{{\boldsymbol{A}}}}}}}}(t)|{{{{{{\boldsymbol{M}}}}}}}_{A}-{Y}_{{{{{{{\boldsymbol{M}}}}}}}_{{{{{{\boldsymbol{A}}}}}}}}(t))\). A test is consider significant if observed difference in across and within regime mean prediction errors is larger than the 95th percentile of 1000 permuted data sets.
Food-chain model
We used a food-chain model parameterized as in McCann and Yodzis31 to simulate food-chain dynamics:
where R is the resource density, C consumer density, and P predator density. All parameters, except half-saturation constants R0 (here set to 0.16129) and C0 (here set to 0.5), and resource carrying capacity K, are derived from bioenergetics and body size allometry30 (xc = 0.4, yc = 2.009, yp = 2.876, R0, r = 1, xp = 0.08).
This model can display a rich set of dynamics depending on parameter values31. Here we alter resource carrying capacity K in order to simulate the dynamics (using the deSolve package32 in R) of qualitatively different attractors (See Supplementary Fig. 1; K = 0.78, equilibrium; K = 0.85; two-point limit cycle; K = 0.92, four-point limit cycle; K = 0.997, chaotic dynamics). Every fifth time step of the simulated dynamics, corresponding to a sampling frequency of ≈10 samples per cycle for the 2-point limit cycle, was sampled. Observation noise was thereafter added to the deterministic dynamics produced by the model:
where \(N_{l}^{\prime}(t)\) is the abundance of species l (P, C or R) simulated by the food-chain model at time point t, \(\rho\) is the level of observation noise and \({\sigma }_{N_{l}^{\prime}}\) is the standard deviation of the deterministic dynamics of species l produced by the food chain model.
In order to investigate how time series length and observation noise affects the probability of detecting alternative attractors we derived probability landscapes. These were derived by testing the null-hypothesis (H0:\(|{\hat{{{{{{\boldsymbol{Y}}}}}}}}_{{{{{{\boldsymbol{i}}}}}}}|{{{{{{\boldsymbol{M}}}}}}}_{{{{{{\boldsymbol{i}}}}}}}-{{{{{{\boldsymbol{Y}}}}}}}_{{{{{{\boldsymbol{i}}}}}}}| > |{\hat{{{{{{\boldsymbol{Y}}}}}}}}_{{{{{{\boldsymbol{i}}}}}}}|{{{{{{\boldsymbol{M}}}}}}}_{{{{{{\boldsymbol{j}}}}}}}-{{{{{{\boldsymbol{Y}}}}}}}_{{{{{{\boldsymbol{i}}}}}}}|\); See Test statistic above) across 100 replicates for each combination of time series length and level of observation noise, \(\rho\). Time-series length was varied from 10 to 100 in steps of 10, and observation noise, \(\rho\), was varied from 0.01 to 0.3 in steps of 0.01, in total yielding 300 combinations of observation noise and time series length, for each combination of dynamical regimes i and j. Predator dynamics was used to predict consumer and resource dynamics using the multivariate approach described above (results for the cases where consumer or resource dynamics are used to predict the other species´ dynamics are presented in Supplementary Figs. 2, 3). All time series were standardized (\(\mu =0;sd=1\)) prior testing for dynamical difference.
Experimental data set
The experimental data set was given by Fussman et al.7. This data set contains 14 time series of a predator Brachionus calyciflorus and its prey Chlorella vulgaris derived from chemostat experiments. Time series for different dilution rates were produced by keeping the dilution rate fixed in different chemostats (Supplementary Figs. 3–11). Brachionus calyciflorus and Chlorella vulgaris time series were used to predict Chlorella vulgaris and Brachionus calyciflorus time series, respectively, using the multivariate approach described above. We tested for qualitative difference in the temporal dynamics across all time series, which were standardized (\(\mu =0;sd=1\)) prior testing.
Alternative stable state model
We used a stochastic version of a well-known alternative stable state model4,33 to produce alternative stochastic dynamical regimes. The model is described by:
where K is the carrying capacity (here set to 11), c is a harvest rate, and σ (here set to 0.01) is the magnitude of noise which is described by a Wiener process (dw).
The model was simulated for fixed harvest rates (c) assuming that the system state resides in either of its two basins of attraction. The initial value for the simulation was set to the equilibrium of the noise-free model skeleton for fixed harvest rates c, and σ is set low in order to avoid stochastic flips, so-called flickering, between alternative basins of attraction. Dynamics was integrated (Δt = 0.01) using the matlab-package SDE-Tools34.
In order to investigate how time-series length and harvest rate, c, affects the probability of detecting alternative attractors in stochastic regimes we derived probability landscapes.
These were derived by testing the null-hypothesis H0:\(|{\hat{{{{{{\boldsymbol{Y}}}}}}}}_{{{{{{\boldsymbol{i}}}}}}}|{{{{{{\boldsymbol{M}}}}}}}_{{{{{{\boldsymbol{i}}}}}}}-{{{{{{\boldsymbol{Y}}}}}}}_{{{{{{\boldsymbol{i}}}}}}}| > |{\hat{{{{{{\boldsymbol{Y}}}}}}}}_{{{{{{\boldsymbol{i}}}}}}}|{{{{{{\boldsymbol{M}}}}}}}_{{{{{{\boldsymbol{j}}}}}}}-{{{{{{\boldsymbol{Y}}}}}}}_{{{{{{\boldsymbol{i}}}}}}}|\) (permutation test p = 0.05) across 100 simulated data sets for each combination of time series length and harvest rate, c. Time-series length was varied between 50 and 150 in steps of 10, and c was varied between 1.83 and 2.73 in steps of 0.05, in total yielding 209 combinations of time series length and harvest rate. Each time series was standardized (\(\mu =0;sd=1\)) prior testing for difference in temporal dynamics of contrasting regimes.
Natural time-series data
In a previous study on early warning signals of impending regime shifts, Gsell et al.18 used breakpoint analysis to identify two potential alternative dynamical regimes. We here test if these two-time series segments constitute alternative dynamical attractors. Prior analysis, we imputed a few missing observations (n = 24) using a kalman smoother35. The two time series segments, i.e. pre- and post-breakpoint time series, were standardized (\(\mu =0;sd=1\)) prior testing for dynamical difference.
Reporting summary
Further information on research design is available in the Nature Research Reporting Summary linked to this article.
Data availability
The experimental data set and the phytoplankton time series analyzed in this study were gathered from two previous studies7,18 and all other data was simulated using theoretical models. All figures have associated raw data. The phytoplankton time series is available through the IGB database36 and all other data, including experimental data from Fussmann et al.7, is available through an open repository37.
Code availability
The code and simulated data for conducting all analyses and reproducing the figures in this manuscript are publically available37.
References
Scheffer, M., Carpenter, S., Foley, J. A., Folke, C. & Walker, B. Catastrophic shifts in ecosystems. Nature 413, 591–596 (2001).
Beisner, B., Haydon, D. & Cuddington, K. Alternative stable states in ecology. Front Ecol. Environ. 1, 376–382 (2003).
Scheffer, M. & Carpenter, S. R. Catastrophic regime shifts in ecosystems: linking theory to observation. Trends Ecol. Evol. 18, 648–656 (2003).
Scheffer, M. et al. Early-warning signals for critical transitions. Nature 461, 53–59 (2009).
May, R. M. Simple mathematical models with very complicated dynamics. Nature 261, 459–467 (1976).
Strogatz, S. H. Nonlinear Dynamics and Chaos: with Applications to Physics, Biology, Chemistry, and Engineering (Addison-Wesley, 1994).
Fussmann, G. F., Ellner, S. P., Shertzer, K. W. & Hairston, N. G. Jr Crossing the hopf bifurcation in a live predator-prey system. Science 290, 1358–1360 (2000).
Becks, L. & Arndt, H. Transitions from stable equilibria to chaos, and back, in an experimental food web. Ecology 89, 3222–3226 (2008).
Schröder, A., Persson, L. & Roos, A. M. D. Direct experimental evidence for alternative stable states: a review. Oikos 110, 3–19 (2005).
Costantino, R. F., Cushing, J. M., Dennis, B. & Desharnais, R. A. Experimentally induced transitions in the dynamic behaviour of insect populations. Nature 375, 227–230 (1995).
Ives, A. R., Einarsson, Á., Jansen, V. A. A. & Gardarsson, A. High-amplitude fluctuations and alternative dynamical states of midges in Lake Myvatn. Nature 452, 84–87 (2008).
Schooler, S. S., Salau, B., Julien, M. H. & Ives, A. R. Alternative stable states explain unpredictable biological control of Salvinia molesta in Kakadu. Nature 470, 86–89 (2011).
Persson, L. et al. Culling prey promotes predator recovery-alternative states in a whole-lake experiment. Science 316, 1743–1746 (2007).
Casini, M. et al. Trophic cascades promote threshold-like shifts in pelagic marine ecosystems. Proc. Natl Acad. Sci. USA 106, 197–202 (2009).
Gårdmark, A. et al. Regime shifts in exploited marine food webs: detecting mechanisms underlying alternative stable states using size-structured community dynamics theory. Philos. Trans. R. Soc. B 370, 20130262 (2015).
Seekell, D. A., Cline, T. J., Carpenter, S. R. & Pace, M. L. Evidence of alternate attractors from a whole-ecosystem regime shift experiment. Theor. Ecol. 6, 385–394 (2013).
Zeileis, A. et al. Testing and dating of structural changes in practice. Comput. Stat. Data Anal. 44, 109–123 (2003).
Gsell, A. S. et al. Evaluating early-warning indicators of critical transitions in natural aquatic ecosystems. Proc. Natl Acad. Sci. USA 113, E8089–E8095 (2016).
Dillon, M. et al. Life in the frequency domain: the biological impacts of changes in climate variability at multiple time scales. Integr. Comp. Biol. 56, 14–30 (2016).
Kendall, Prendergast & Bjornstad The macroecology of population dynamics: taxonomic and biogeographic patterns in population cycles. Ecol. Lett. 1, 160–164 (1998).
Clark, T. J. & Luis, A. D. Nonlinear population dynamics are ubiquitous in animals. Nat. Ecol. Evol. 4, 75–81 (2020).
Bjørnstad, O. N. & Grenfell, B. T. Noisy clockwork: time series analysis of population fluctuations in animals. Science 293, 638–643 (2001).
Coulson, T., Rohani, P. & Pascual, M. Skeletons, noise and population growth: the end of an old debate? Trends Ecol. Evol. 19, 359–364 (2004).
Higgins, K., Hastings, A., Sarvela, J. N. & Botsford, L. W. Stochastic dynamics and deterministic skeletons: population behavior of Dungeness crab. Science 276, 1431–1435 (1997).
Chang, C.-W., Ushio, M. & Hsieh, C. Empirical dynamic modeling for beginners. Ecol. Res. 32, 785–796 (2017).
Munch, S. B., Brias, A., Sugihara, G. & Rogers, T. L. Frequently asked questions about nonlinear dynamics and empirical dynamic modelling. ICES J. Mar. Sci. 77, 1463–1479 (2020).
Takens, F. in: Dynamical Systems and Turbulence 366–381 (Springer, 1981).
Sugihara, G. & May, R. Non-linear forecasting as a way of distinguishing chaos from measurement error in time series. Nature 344, 73–741 (1990).
Ye, H., Clark, A., Deyle, E. & Munch, S. rEDM: applications of empirical dynamic modeling from time series. R package version 0.7.3. https://CRAN.R-project.org/package=rEDM. (2019).
Sugihara, G. et al. Detecting causality in complex ecosystems. Science 338, 496–500 (2012).
McCann, K. & Yodzis, P. Nonlinear dynamics and population disappearances. Am. Nat. 144, 873–879 (1994).
Soetaert, K., Petzoldt, T. & Setzer, R. W. Package deSolve: solving initial value differential equations in R. J. Stat. Soft. 33, 1–25 (2010).
May, R. M. Thresholds and breakpoints in ecosystems with a multiplicity of stable states. Nature 269, 471–477 (1977).
Horchler, A. SDE tools-A Matlab Toolbox for the numerical solution of stochastic differential equations (SDEs). version 1.2. https://github.com/horchler/SDETools.
Moritz, S. & Bartz-Beielstein, T. ImputeTS: Time series missing value imputation in R. R. J. 9, 207–218 (2017).
Säterberg, T. Detecting alternative attractors in ecosystem dynamics. https://doi.org/10.5281/zenodo.4953854. (2021).
Acknowledgements
The authors thank Kevin Cazelles and Os Schmitz for reviewing this manuscript, and Gabriel Gellner, David Gilljam and Anna Gårdmark for discussions. We are grateful to Gregor Fussmann who provided experimental data to this work. We acknowledge the Leibniz Institute of Freshwater Ecology and Inland Fisheries (IGB) for providing long-term data from Lake Müggelsee. We thank the Integrative Biology Department at the University of Guelph, Canada and the Institute of Coastal Research (SLU) in Öregrund, Sweden for inspiring research environments. This work was financed through the Swedish Research Council FORMAS (no. 2017-00433) to T.S., and food from Thought grant to K.M.
Funding
Open access funding provided by Swedish University of Agricultural Sciences.
Author information
Authors and Affiliations
Contributions
T.S. conceived the idea, T.S. and K.M. developed the methodology, T.S. wrote computer code and created figures, T.S. wrote the initial draft, T.S and K.M. reviewed and edited the manuscript. T.S. acquired the financial support leading to this publication.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Peer review information Communications Biology thanks the anonymous reviewers for their contribution to the peer review of this work. Primary Handling Editor: Caitlin Karniski. Peer reviewer reports are available.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Säterberg, T., McCann, K. Detecting alternative attractors in ecosystem dynamics. Commun Biol 4, 975 (2021). https://doi.org/10.1038/s42003-021-02471-w
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s42003-021-02471-w
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.