Skip to main content
. 2020 Mar 24;15(3):e0230430. doi: 10.1371/journal.pone.0230430

Fig 5. An expectation-maximization algorithm for finding noninvadable stationary states.

Fig 5

(a) Noninvadable states by definition can only exist in the region Ω of resource space where the growth rate dNi/dt of each species i is zero or negative. Here, the blue and orange lines represent the combinations of resource abundances leading to zero growth rate for two different consumer species, so the noninvadable region is the space beneath both of the lines. Within this region, a recently discovered duality implies that the stationary state R* locally minimizes the dissimilarity d(R0, R) with respect to the fixed point R0 of the intrinsic environmental dynamics [23, 24]. (b) Metabolic byproducts move the relevant unperturbed state from R0 (gray ‘x’) to R˜0(R) (black ‘x’), which is itself a function of the current environmental conditions. Dotted contour lines represent d(R˜0(R*),R), and arrows are two trajectories of the population dynamics starting from the unperturbed environmental state with two different sets of initial consumer population sizes. See main text and Appendix for model details and parameters. (c) Pseudocode for self-consistently computing R* and R˜0(R*), which is identical to standard expectation-maximization algorithms employed for problems with latent variables in machine learning.