<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Merging dynamical and structural indicators to measure resilience in multispecies systems</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>2021</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10217908</idno>
					<idno type="doi">10.1111/1365-2656.13421</idno>
					<title level='j'>Journal of Animal Ecology</title>
<idno>0021-8790</idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Lucas P. Medeiros</author><author>Chuliang Song</author><author>Serguei Saavedra</author><author>Daniel Stouffer</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[This article has been accepted for publication and undergone full peer review but has not been through the copyediting, typesetting, pagination and proofreading process, which may lead to differences between this version and the Version of Record. Please cite this article as]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Accepted Article</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Introduction</head><p>Ecological systems such as bird species competing for resources <ref type="bibr">(Gibbs &amp; Grant, 1987)</ref>, plants and their mutualistic pollinators <ref type="bibr">(Burkle et al., 2013)</ref>, and microbes interacting in the human gut <ref type="bibr">(Costello et al., 2012)</ref> face constant perturbations in changing environments. The resilience of such systems to different types of perturbations has been one of the most debated concepts in ecological research and has important implications for biodiversity and ecosystem functioning <ref type="bibr">(Hodgson et al., 2015;</ref><ref type="bibr">Folke et al., 2016;</ref><ref type="bibr">Pimm et al., 2019)</ref>. Broadly, resilience has been referred to as the ability of an ecological system to resist and recover from external perturbations <ref type="bibr">(Hodgson et al., 2015;</ref><ref type="bibr">Capdevila et al., 2020)</ref>. To understand these concepts and measures, epistemological work has established three necessary conditions to study ecological responses to perturbations <ref type="bibr">(Justus, 2013)</ref>: (i) a description of the ecological system, which mathematically takes the form of a population dynamics model, (ii) the definition of a reference state from which the system will be perturbed, and (iii) the definition of the type and magnitude of perturbations, which can act on state variables, model parameters (i.e., the system's structure), or both (see Glossary).</p><p>Following this rationale, recovery (although it has also been called resilience, see <ref type="bibr">Justus (2013)</ref> and <ref type="bibr">Pimm et al. (2019)</ref>) has been typically defined as how fast a system returns to a reference state after a given perturbation <ref type="bibr">(Hodgson et al., 2015;</ref><ref type="bibr">Capdevila et al., 2020)</ref>. In turn, resistance has been defined as how much change a system can exhibit after a given perturbation <ref type="bibr">(Hodgson et al., 2015;</ref><ref type="bibr">Capdevila et al., 2020)</ref>. Hence, a sufficient condition for a system to be resilient is to exhibit fast recovery and high resistance. However, in order to assess the resilience of a system, it is paramount to have informative indicators of recovery and resistance and to understand the interconnection between these two measures, which may not necessarily be complementary (i.e., provide different qualitative information about the resilience of a system) <ref type="bibr">(Dom&#237;nguez-Garc&#237;a et al., 2019;</ref><ref type="bibr">K&#233;fi et al., 2019)</ref>.</p><p>Recovery has had a strong tradition in the mathematical analysis of asymptotic dynamical stability (hereafter dynamical stability) <ref type="bibr">(Strogatz, 2001)</ref>. In ecology, recovery has been typically conceptualized as the return rate along the slowest direction to a reference equilibrium state <ref type="bibr">(Pimm &amp; Lawton, 1977;</ref><ref type="bibr">Dakos et al., 2015;</ref><ref type="bibr">Donohue et al., 2016)</ref>. This return rate can be quantified by the real part of the largest eigenvalue (if negative) of the Jacobian matrix when evaluated at equilibrium <ref type="bibr">(Novak et al., 2016;</ref><ref type="bibr">Logofet, 2018)</ref>. The Jacobian matrix represents the linearized dynamical forces acting around a given state. This implies that recovery has been mathematically quantified by the long-term return rate (or the return time if inverted) of a system to a reference equilibrium state after small perturbations (per the linear validity of the Jacobian) acting on species abundances (i.e., the state variables of the system).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Accepted Article</head><p>By contrast, the measurement of resistance has had a weaker tradition in the field of dynamical systems <ref type="bibr">(Strogatz, 2001)</ref> and it is unclear whether it can be linked to dynamical stability in ecological systems <ref type="bibr">(Justus, 2013;</ref><ref type="bibr">Dom&#237;nguez-Garc&#237;a et al., 2019)</ref>. Resistance has been typically quantified as the magnitude of displacement of a system following a perturbation <ref type="bibr">(Carpenter et al., 1992;</ref><ref type="bibr">Hillebrand et al., 2018)</ref>. Differently from recovery, resistance is not necessarily limited to a particular quantitative equilibrium state (i.e., abundance distribution at equilibrium), and it is expected to reflect the response of a system to perturbations acting on both species abundances and on the structure of a system <ref type="bibr">(Donohue et al., 2016;</ref><ref type="bibr">Pimm et al., 2019)</ref>. Formally, this structure can be represented by a population dynamics model describing the governing laws of a system and its parameters <ref type="bibr">(Justus, 2013)</ref>. That is, while species abundances represent the state variables of a system, the structure represents the model parameters (and the model itself). Thus, it remains unclear whether recovery from abundance perturbations and resistance to structural perturbations can be quantified within the same formalism, and whether there are potential connections between these two aspects of resilience <ref type="bibr">(Hodgson et al., 2015;</ref><ref type="bibr">Pimm et al., 2019)</ref>.</p><p>Focusing on parameter perturbations, a dynamical system is said to be structurally stable if the topology of the phase portrait (i.e., the qualitative behavior of a dynamical system) is preserved under smooth parameter changes <ref type="bibr">(Smale, 1967;</ref><ref type="bibr">Arnold, 1988)</ref>. For example, a system with S species can be considered structurally stable if none of the species goes extinct after small changes in the parameters corresponding to species intrinsic growth rates <ref type="bibr">(Saavedra et al., 2017)</ref>. Importantly, it has already been shown that the sensitivity to stochastic perturbations of abundances in the vicinity of an equilibrium is equivalent to the sensitivity to fluctuations of the parameters within the same vicinity <ref type="bibr">(Arnoldi &amp; Haegeman, 2016)</ref>. Specifically, the response to external infinitesimal perturbations acting on species abundances agrees with the minimal parameter perturbation able to render the system dynamically unstable. Furthermore, structurally unstable systems (i.e., systems that change their qualitative behavior after small parameter changes) are characterized by conditions under which the largest eigenvalue of the Jacobian matrix is equal to zero <ref type="bibr">(Strogatz, 2001;</ref><ref type="bibr">Duan, 2015)</ref>. These previous results have established a potential direction to link dynamical indicators (i.e., measures related to perturbations acting on species abundances) with structural indicators (i.e., measures related to perturbations acting on model parameters) to measure resilience in ecological systems <ref type="bibr">(Dobrinevski &amp; Frey, 2012;</ref><ref type="bibr">Constable &amp; McKane, 2015;</ref><ref type="bibr">Cenci &amp; Saavedra, 2018)</ref>.</p><p>Here, we extend the connection between dynamical and structural indicators beyond the vicinity of an equilibrium state to study resilience in multispecies ecological systems. Specifically, we link recovery with dynamical stability and define it as the long-term return rate of a system to Accepted Article a quantitative reference state (i.e., abundance distribution at equilibrium) after small random perturbations on species abundances. We then separate recovery into full and partial recovery as to whether species abundances return fully or partially to such quantitative reference state, respectively. Next, we link resistance with structural stability and define it as the ability of a system to remain in a qualitative reference state (i.e., species composition at equilibrium) after random parameter perturbations of any magnitude. We then separate resistance into full and partial resistance as to whether all the species or at most one species remains in such qualitative reference state, respectively. Therefore, we define full resilience as the capacity of a system to maintain its full species composition through the recovery and resistance of all species. Then, we define partial resilience as the capacity of a system to maintain a partial species composition through the recovery and resistance of a subset of species (see Glossary).</p><p>We first illustrate our framework using theoretically parameterized ecological systems spanning multiple interaction types and number of species. In particular, we explore competition, mutualistic, and antagonistic systems with 3, 4, and 5 species. Overall, we find that when considering abundance and parameter perturbations together, recovery and resistance are interconnected measures of resilience. However, we show that these dynamical and structural indicators can provide complementary information about a system when separated into full and partial resilience. Then, we apply our framework to 17 experimentally parameterized microbial systems containing three interacting species each. We corroborate our theoretical results that full and partial resilience are complementary components of experimental systems. Finally, we discuss the implications of our findings and future avenues of research on resilience.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Methods</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Population dynamics model</head><p>To study and measure resilience in ecological systems, it is necessary to define (i) a population dynamics model, (ii) a reference state, and (iii) the system's response as a function of the type and magnitude of perturbations <ref type="bibr">(Justus, 2013)</ref>. Focusing on the model, we assume that the dynamics of ecological systems are governed by any model topologically equivalent to the classic Lotka-Volterra (LV) dynamics. It has been shown that if the unstable and stable equilibria of the classic LV model can be mapped into the unstable and stable equilibria of a modified model, then this modified model is topologically equivalent to the classic LV <ref type="bibr">(Cenci &amp; Saavedra, 2018</ref>;</p><p>where N i is the abundance (or biomass) of species i, S is the number of species in the system, 132 and a ij is an element of the interaction matrix A = {a ij } representing the per capita effect of 133 species j on species i.</p><p>The phenomenological parameter r i is the intrinsic growth rate of species i, 134 representing how abiotic factors affect the balance between mortality and resource intake (Case, 135 2000; Coulson et al., 2017). 136 To investigate resilience in the classic LV model, we generate fully connected random interaction 137 matrices A by setting the diagonal elements to a ii = -1 &#8704; i (introducing the biological principle of 138 self-regulation), whereas the off-diagonal elements a ij (i &#824; = j) are randomly drawn from a normal 139 distribution with mean zero and variance &#963; 2 (i.e., a ij &#8764; N (0, &#963; 2 )). Note that the value of &#963; 2 sets 140 the relative strength of interspecific interactions (a ij ) given that intraspecific interactions are fixed 141 (i.e., a ii = -1). To explore different types of ecological systems, we introduce sign constraints: 142 (i) a ij &lt; 0 for competition systems, (ii) a ij &gt; 0 for mutualistic systems, and (iii) a ij a ji &lt; 0 for 143 antagonistic systems (Murdoch et al., 2003; Allesina &amp; Tang, 2012) (see Resilience in theoretical 144 systems). Applying these constraints is equivalent to sampling a ij from a half-normal distribution 145 and taking the appropriate sign reversal (Allesina &amp; Tang, 2012; Song et al., 2020). For simplicity, 146 we only explore one type of antagonistic network structure given by a matrix A where a ij &lt; 0 if 147 i &gt; j and a ij &gt; 0 if i &lt; j (e.g., a trophic chain with omnivory). Note that, in these antagonistic 148 systems, the feasibility condition itself (i.e., N * i &gt; 0 &#8704; i; see Reference state) constraints the r i 149 values to be ecologically realistic as top predators and producers would necessarily have negative 150 and positive r i values, respectively. 151 To guarantee that reference equilibrium states are dynamically stable (see Reference state), we 152 follow a probabilistic criteria for random matrices and set the variance of the distribution of 153</p><p>interaction strengths proportional to system size (&#963; 2 = 1 S 2 ) <ref type="bibr">(May, 1972)</ref>. Note that having &#963; 2 154 to scale with the number of species S is an ecologically realistic assumption <ref type="bibr">(Dougoud et al., 155 2018)</ref>. We also tested a scenario in which interspecific interactions are stronger (i.e., &#963; 2 = 1 S ) and 156 obtained similar results <ref type="bibr">(Figures S3 and S4)</ref>. It is important to note that, under our framework, 157 we cannot increase the relative strength of interspecific interactions beyond a certain limit in 158 order to guarantee dynamical stability. Thus, we assume that every species in our theoretical 159 systems (see Resilience in theoretical systems) is self-regulated, including predators in antagonistic 160 systems <ref type="bibr">(Barab&#225;s et al., 2017;</ref><ref type="bibr">Song &amp; Saavedra, 2020)</ref>.</p><p>161</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Accepted Article</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Reference state</head><p>We consider a feasible and dynamically stable equilibrium as our reference state <ref type="bibr">(Song &amp; Saavedra, 2018;</ref><ref type="bibr">Song et al., 2020)</ref>. Feasibility corresponds to the capacity of a system to sustain all its constituent species over the long-run. Formally, feasibility implies the existence of a positive solution (i.e., N * i &gt; 0 &#8704; i under the equilibrium dN i /dt = 0 in Equation ( <ref type="formula">1</ref>)). Note that feasibility is a necessary condition for persistence, permanence, and the existence of bounded orbits <ref type="bibr">(Hofbauer &amp; Sigmund, 1998)</ref>. In turn, we define dynamical stability as the capacity of a system to return to its feasible equilibrium state after small random perturbations on species abundances. This is fulfilled when all the eigenvalues of the Jacobian matrix (J) when evaluated at the equilibrium</p><p>&#8868; , as defined by dN * /dt = 0) have negative real parts <ref type="bibr">(May, 1972;</ref><ref type="bibr">Case, 2000)</ref>.</p><p>For the classic LV dynamics (Equation ( <ref type="formula">1</ref>)), the Jacobian matrix at a feasible equilibrium is defined as:</p><p>where diag(N * ) is a diagonal matrix with N * 1 , . . . , N * S in its diagonal. The equilibrium of the classic LV model is given by the vector of species abundances N * = -A -1 r. This definition of reference state has the advantage of allowing us to represent it as a quantitative or qualitative reference state. Quantitatively, the focus is on the exact values of the feasible and dynamically stable equilibrium N * (i.e., the species abundance distribution at equilibrium). Qualitatively, the focus is on the existence of such a feasible equilibrium (N * i &gt; 0 &#8704; i) (i.e., the species composition at equilibrium).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Recovery from abundance perturbations</head><p>Regarding the response of a system to abundance perturbations, we focus on the standard definition of recovery linked to dynamical stability <ref type="bibr">(Strogatz, 2001)</ref>. Specifically, we define recovery as the return rate of a system to a feasible and dynamically stable reference state after a small perturbation on abundances. Formally, we use as indicators the real part of the largest (&#955; 1 ) and second smallest (&#955; S-1 ) eigenvalues of the Jacobian matrix (J) evaluated at equilibrium (Equation ( <ref type="formula">2</ref>)). The largest eigenvalue (if negative) measures the return rate along the slowest direction of recovery. Because species abundances will have recovered completely after going through the slowest direction, we use &#955; 1 as an indicator of full recovery. The second smallest eigenvalue (if negative) represents the return rate along the second fastest direction. Because species abundances will have only partially recovered after going through the second fastest direction, we</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Accepted Article</head><p>use &#955; S-1 as an indicator of partial recovery. Thus, for each possible feasible and dynamically stable state (N * ) of a system, we use &#955; 1 and &#955; S-1 as a measure of its full and partial recovery, respectively (Figures <ref type="figure">1a</ref> and <ref type="figure">1b</ref>). To be able to compare &#955; 1 and &#955; S-1 across different equilibrium states, we normalize N * to unit norm (i.e., N * ||N * || ) before computing these indicators.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Resistance to parameter perturbations</head><p>Shifting our focus to the response of a system to random parameter perturbations of any magnitude, we base our analysis on the concept of structural stability and link it with resistance.</p><p>We define resistance as the smallest random parameter perturbation that a system can tolerate without affecting its qualitative reference state (defined as a feasible and dynamically stable equilibrium). For a given interaction matrix A, feasibility in the classic LV model will be satisfied as long as the r-vector falls inside the feasibility domain defined as <ref type="bibr">(Song et al., 2018;</ref><ref type="bibr">Medeiros et al., 2020)</ref>:</p><p>where -v i is the ith column vector of A and N * i is the feasible (i.e., positive) abundance of species i at equilibrium. Geometrically, D F (A) is a cone in S dimensions and any r-vector inside the cone gives rise to a feasible solution. Note that only the direction of the r-vector matters because if Equation ( <ref type="formula">3</ref>) is satisfied for a given vector r, it is also satisfied for a scaled vector cr &#8704; c &gt; 0.</p><p>Therefore, the region inside the borders of D F (A) corresponds to the specific directions of r for which the system is feasible <ref type="bibr">(Saavedra et al., 2017)</ref>. Ecologically, this domain defines the range of conditions linked to abiotic factors, which are phenomenologically represented by the direction of the r-vector, compatible with the persistence of all species in the system characterized by A <ref type="bibr">(Song et al., 2020;</ref><ref type="bibr">Medeiros et al., 2020)</ref>. Note that we do not impose any restriction on the sign of the elements r i of the r-vector, they can be positive or negative depending on D F (A) <ref type="bibr">(Song et al., 2018)</ref>.</p><p>Importantly, starting from a feasible equilibrium state N * , a border of</p><p>with N * j = 0 and N * i &gt; 0 &#8704; i &#824; = j) represents a limit in the direction of r where at least one of the S species (i.e., species j) goes extinct <ref type="bibr">(Rohr et al., 2016;</ref><ref type="bibr">Grilli et al., 2017;</ref><ref type="bibr">Tabi et al., 2020)</ref>. Similarly, a vertex of D F (A) (i.e., r = N * i v i , with N * i &gt; 0 and N * j = 0 &#8704; j &#824; = i) represents a limit in the direction of r where a single species (i.e., species i) survives at most, depending on whether this species is self-sustained <ref type="bibr">(Rohr et al., 2016;</ref><ref type="bibr">Grilli et al., 2017;</ref><ref type="bibr">Tabi et al., 2020)</ref>.</p><p>For example, with three species, if one sets N * 1 = 0, the r-vector will lie on one of the borders</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Accepted Article</head><p>of the cone (D F (A)), which is given by r</p><p>N * 1 = 0 and N * 2 = 0, then the r-vector will lie on one of the vertices of D F (A), which is given by r = N * 3 v 3 , with N * 3 &gt; 0. Thus, we focus on the shortest distances that a system can withstand before hitting a border or vertex under random perturbations to r. Note that we focus on random perturbations as we typically have no a priori information about the direction of environmental perturbations. Importantly, measuring such distances in the parameter space allows us to consider how resistant a system is to parameter perturbations of any magnitude.</p><p>Because it is only necessary to know the direction (not the magnitude) of r to know if a system</p><p>A is feasible, we normalize the intrinsic growth rates to unit norm (i.e., r ||r|| ). Then, the distance between an intrinsic growth rate vector inside the feasibility domain (r(N * )) and a border of vertices. We focus on the distance to the closest vertex (min{d v }). Therefore, the distance of a system to the closest vertex (min{d v }) represents the largest random parameter perturbation that a system can withstand before it is reduced to at most a single species-which we call partial resistance (Figures <ref type="figure">1c</ref> and <ref type="figure">1d</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Resilience in theoretical ecological systems</head><p>First, we investigate the potential associations between recovery and resistance according to our measures described above across several theoretical systems (i.e., matrices A). To do so, we first generate three types of random matrices: competition systems, mutualistic systems, and antagonistic systems (see Population dynamics model). For each of these three types of system, we generate 100 random matrices A by sampling the interspecific interaction coefficients a ij from N (0, 1 S 2 ) for three different system sizes: S = 3, 4, and 5 species. Then, for each random matrix,</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Accepted Article</head><p>we sample 100 &#215; 2 (S-2) feasible equilibria (i.e., N * &gt; 0) uniformly on the unit S-dimensional hypersphere (i.e., ||N * || = 1) and solve for the intrinsic growth rates: r = -AN * . To guarantee dynamical stability in addition to feasibility, we only sample equilibrium states for which the real part of the largest eigenvalue of J = diag(N * )A is negative. We eliminate random matrices for which all sampled equilibrium states had a non-negative largest eigenvalue. Note that we increase the number of sampled equilibrium states exponentially with S to account for the fact that sparsity among points grows exponentially with the number of dimensions.</p><p>For each feasible and dynamically stable equilibrium state that we sample, we calculate its full recovery (largest eigenvalue, &#955; 1 ), partial recovery (second smallest eigenvalue, &#955; S-1 ), full resistance (distance to closest border, min{d b }), and partial resistance (distance to closest vertex, min{d v }).</p><p>To investigate whether recovery and resistance are linked, we compute the Pearson correlation coefficient (hereafter correlation) between full recovery and full resistance (&#961;(&#955; 1 , min{d b })), as well as the correlation between partial recovery and partial resistance (&#961;(&#955; S-1 , min{d v })). We compute such correlations separately for each random system A. A strong negative correlation indicates that the faster the recovery from abundance perturbations, the higher the resistance to parameter perturbations (Figure <ref type="figure">1</ref>). Finally, we study the complementarity between our indicators by computing the partial correlation between &#955; 1 and &#955; S-1 controlling for the rank of &#955; 1 (&#961;(&#955; 1 , &#955; S-1 | rank of &#955; 1 )). This control is necessary to account for the fact that &#955; 1 &#8805; &#955; S-1 for each equilibrium state by definition. We also compute the partial correlation between min{d b } and min{d v } controlling for the rank of min{d v } (&#961;(min{d b }, min{d v } | rank of min{d v })). Note that min{d v } &#8805; min{d b } for each equilibrium state. A value close to zero of these partial correlations would imply the that full and partial components are complementary.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Resilience in experimental microbial systems</head><p>Next, we investigate the complementarity and potential application of our indicators of resilience using experimental ecological systems. For this purpose, we use 17 feasible and dynamically stable systems where each system consists of three interacting soil-dwelling bacteria species <ref type="bibr">(Friedman et al., 2017)</ref>. These publicly available data come from a very detailed and controlled study performing persistence experiments by co-inoculating different combinations of heterotrophic soildwelling bacteria species at varying initial fractions and propagating them through five growthdilution cycles <ref type="bibr">(Friedman et al., 2017)</ref>. Each 3-species experimental system is characterized by an interaction matrix A and an intrinsic growth rate vector r. The experimental values of r were inferred by fitting via least-squares the classic LV model (Equation (1)) to the observed abundance time series of species monocultures <ref type="bibr">(Friedman et al., 2017)</ref> (Table <ref type="table">S1</ref>). Each interaction matrix</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Accepted Article</head><p>A was inferred through pairwise tournaments by fitting via least-squares Equation (1) to the observed time series of species abundances <ref type="bibr">(Friedman et al., 2017)</ref> (Table <ref type="table">S2</ref>). Although more than 17 systems with three species are available from this data set, we only use the systems for which the equilibrium state obtained using the experimentally inferred matrix A and intrinsic growth rate vector r (N * = -A -1 r) is feasible and dynamically stable (Table <ref type="table">S3</ref>).</p><p>Importantly, interaction matrices contained competition interactions (i.e., a ij , a ji &lt; 0), antagonistic interactions (i.e., a ij &lt; 0, a ji &gt; 0), or a mix of both. It is also important to note that the strength of inferred interactions (a ij ) varies greatly across and within experimental systems (Table <ref type="table">S2</ref>), allowing us to test our framework for different scenarios of interaction strengths. For each of the 17 systems (each combination of A and r), we calculate its full and partial resilience components following the same methodology as described above (see Resilience in theoretical systems). Additionally, for each experimental system, we randomly sampled 2,000 feasible and dynamically stable equilibria uniformly on the positive orthant of the unit sphere (i.e., N * &gt; 0,</p><p>||N * || = 1, and &#955; 1 &lt; 0) and measured our resilience indicators for each one of these sampled equilibria. The rationale behind sampling these 2,000 random equilibria was to compare the full/partial recovery and full/partial resistance observed for the experimental systems with other potential values of these indicators that could have been observed under different conditions.</p><p>Following our analysis with theoretical systems, for each of the 17 experimental systems, we study the complementarity of our indicators by computing the partial correlation between full recovery and partial recovery (&#955; 1 , &#955; 2 ) controlling for the rank of &#955; 1 (&#961;(&#955; 1 , &#955; 2 | rank of &#955; 1 )) as well as the partial correlation between full resistance and partial resistance (min{d b }, min{d v }) controlling for the rank of min{d v } (&#961;(min{d b }, min{d v } | rank of min{d v })). Then, in order to properly summarize the relationship between full and partial resilience across systems, we compute a relative value for each indicator ( &#955;1 , &#955;2 , min{ db }, and min{ dv }) by dividing each indicator by its minimum (recovery indicators) or maximum (resistance indicators) possible value that can be attained inside its corresponding feasibility domain. For example, the relative value of &#955; 1 ( &#955;1 ) for a given experimental equilibrium state N * is obtained by dividing &#955; 1 by the minimum value of &#955; 1 attained over all 2,000 randomly sampled equilibria N * , i.e., &#955;1 = &#955; 1 min{&#955; 1 } . Thus, relative values close to zero or one represent systems that have the minimum or maximum possible resilience, respectively. It is worth highlighting that this normalization does not allow us (and it is not intended) to compare the level of resilience between two different systems, only their resilience relative to the maximum possible value within the feasibility domain of the given system. Thus, a large variation in the experimental values of relative full and partial resilience can indicate a strong heterogeneity of resilience patterns across systems.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Accepted Article</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Results</head><p>We found that fast recovery from abundance perturbations (i.e., state variables, N * i ) is associated with a high resistance to parameter perturbations (i.e., perturbations on intrinsic growth rates, r i ). Specifically, we found a strong negative correlation between full recovery (largest eigenvalue, &#955; 1 ) and full resistance (distance to closest border, min{d b }) across the three types of theoretical ecological systems (competition, mutualistic, and antagonistic systems; Figures <ref type="figure">2a</ref>, <ref type="figure">S1</ref>, and <ref type="figure">S2</ref>).</p><p>Moreover, we found that this strong association between full recovery and full resistance holds for multiple random systems with different number of species (Figure <ref type="figure">2b</ref>, Table <ref type="table">S4</ref>). We obtained similar results for stronger interspecific interactions (i.e., &#963; 2 = 1 S ), but correlations can be weaker due to a smaller variation in &#955; 1 and highly asymmetric feasibility domains (i.e., high variation among the border lengths) (Figure <ref type="figure">S3</ref>). We can understand this result by noting that the Jacobian matrix associated with an r-vector on a border of the feasibility domain will have a row of zeros, which implies that the largest eigenvalue of this matrix will be zero (Figure <ref type="figure">1a</ref>). In particular, all elements of the ith row of the Jacobian will be zero when the system is located at the border where N * i = 0. Recall that all eigenvalues of the Jacobian matrix need to be negative in order to guarantee dynamical stability and more negative values imply faster recovery.</p><p>Similarly, we found a strong negative correlation between partial recovery (second smallest eigenvalue, &#955; S-1 ) and partial resistance (distance to closest vertex, min{d v }) across the three types of theoretical systems (Figure <ref type="figure">3a</ref>, S1, and S2). In addition, we confirmed that this strong relationship between partial recovery and partial resistance holds for multiple random systems with different number of species (Figure <ref type="figure">3b</ref>, Table <ref type="table">S4</ref>), even when interspecific interactions are stronger (Figure <ref type="figure">S4</ref>). Similarly to the association between &#955; 1 and min{d b }, the association between &#955; S-1 and min{d v } can be understood by noting that the Jacobian matrix associated with an r-vector on a vertex will have S -1 rows of zeros. This implies that the largest S -1 eigenvalues of the Jacobian will be zero at a vertex and, therefore, the second smallest eigenvalue will be associated with the distance to the closest vertex (Figures <ref type="figure">1a</ref> and <ref type="figure">1b</ref>).</p><p>We can additionally separate the relationship between recovery (full or partial) and resistance (full or partial) by the different vertices of the feasibility domain, noting that each vertex corresponds to the dominant species in the system (represented by different symbols in Figures <ref type="figure">2a</ref> and <ref type="figure">3a</ref>) <ref type="bibr">(Rohr et al., 2016;</ref><ref type="bibr">Tabi et al., 2020)</ref>. The extent to which the relationship between recovery and resistance may differ across vertices depends on the level of asymmetry in the feasibility domain <ref type="bibr">(Rohr et al., 2016;</ref><ref type="bibr">Tabi et al., 2020)</ref>. However, regardless of the asymmetry in the feasibility domain or the identity of the most abundant species, the relationship between recovery and result, we computed the partial correlation between recovery and resistance while controlling for 357 the identity of the most abundant species and, as expected, obtained slightly stronger correlation 358 values for &#955; S-1 and min{d v } but not for &#955; 1 and min{d b } (Figures <ref type="figure">S5</ref> and <ref type="figure">S6</ref>; Table <ref type="table">S5</ref>). In  <ref type="table">S5</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>362</head><p>Moving to the experimental data, we confirmed the negative correlation between full recovery 363 (&#955; 1 ) and full resistance (min{d b }) (Figure <ref type="figure">4a</ref>) as well as between partial recovery (&#955; 2 ) and partial 364 resistance (min{d v }) (Figure <ref type="figure">4b</ref>) using 3-species microbial systems. In particular, we found 365 that &#961;(&#955; 1 , min{d b }) and &#961;(&#955; 2 , min{d v }) are strong and negative for all 17 experimental systems 366 (Figure <ref type="figure">4c</ref>; Tables <ref type="table">S6</ref> and <ref type="table">S7</ref>). Thus, the interconnections between recovery and resistance 367 remained strong for the experimental systems despite large differences in the type of interactions 368 (i.e., competition, antagonistic, or both interaction types) and interaction strengths (Figures S9</p><p>369 and S10).  Furthermore, this complementarity was also observed in the diversity of combinations between full 375 and partial resilience across systems. That is, while some systems appear to exhibit high relative 376 full resilience and high relative partial resilience (i.e., relative values close to 1), others appear to 377 exhibit low relative values (i.e., relative values close to 0; Figures <ref type="figure">5c</ref> and <ref type="figure">5d</ref>). In addition, some 378 systems appear to exhibit an asymmetry between the indicators-i.e., high relative full resilience 379 and low relative partial resilience and vice versa (Figures <ref type="figure">5c</ref> and <ref type="figure">5d</ref>). Note that correlations 380 between full recovery and full resistance (&#961;(&#955; 1 , min{d b })) as well as between partial recovery and 381 partial resistance (&#961;(&#955; 2 , min{d v })) are strong and negative, but not perfectly correlated (Figure <ref type="figure">382   4c</ref>). Therefore, we should expect a strong qualitative mapping, but not a perfect quantitative 383 match between the position of a system in Figure <ref type="figure">5c</ref> and its position in Figure <ref type="figure">5d</ref>. This is This article is protected by copyright. All rights reserved.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Accepted Article</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Discussion</head><p>The resilience of ecological systems to perturbations is one of the most important yet broadly defined concepts in ecology and sustainability science <ref type="bibr">(Hodgson et al., 2015;</ref><ref type="bibr">Folke et al., 2016;</ref><ref type="bibr">Pimm et al., 2019)</ref>. Recently, the definition of resilience in ecology has been converging to the capacity of an ecological system to resist and recover from external perturbations <ref type="bibr">(Hodgson et al., 2015;</ref><ref type="bibr">Capdevila et al., 2020)</ref>. However, there are still many open questions about how to measure the response of multispecies systems to different types of perturbation, and the extent to which these responses provide complementary information <ref type="bibr">(Donohue et al., 2016;</ref><ref type="bibr">Dom&#237;nguez-Garc&#237;a et al., 2019;</ref><ref type="bibr">K&#233;fi et al., 2019)</ref>. Understanding the different components of resilience and their interconnections with respect to different types of perturbation is paramount to implement risk assessment and conservation strategies in ecological systems <ref type="bibr">(Folke et al., 2004</ref><ref type="bibr">(Folke et al., , 2016))</ref>.</p><p>Here, we have introduced a new perspective in order to expand the way we measure resilience and understand the connections among its components in three major ways. First, by acknowledging that external perturbations can be of any type (i.e., abundance or parameter perturbations), we have extended and integrated dynamical (i.e., focused on abundance perturbations) and structural (i.e., focused on parameter perturbations) indicators of resilience <ref type="bibr">(Arnoldi &amp; Haegeman, 2016;</ref><ref type="bibr">Saavedra et al., 2017;</ref><ref type="bibr">Cenci &amp; Saavedra, 2018)</ref>. Specifically, we have found a clear link between a dynamical stability indicator (long-term return rate of a system to a dynamically stable equilibrium after small abundance perturbations) and a structural stability indicator (the largest random parameter perturbation that a system can withstand before losing species). Thus, differently from previous studies that have analyzed the associations between several resilience indicators <ref type="bibr">(Hillebrand et al., 2018;</ref><ref type="bibr">Dom&#237;nguez-Garc&#237;a et al., 2019)</ref>, here we have focused only on recovery and resistance and suggest a fundamental mathematical link between them when the dynamics follows the LV model. This suggests that other potential mathematical links may exist between frequently used dynamical and structural indicators of resilience <ref type="bibr">(Dom&#237;nguez-Garc&#237;a et al., 2019;</ref><ref type="bibr">Arnoldi et al., 2016)</ref>.</p><p>Second, we have found that recovery and resistance are interconnected when focusing on either full or partial components. We have defined full resilience as the capacity of a system to maintain its full species composition through the recovery and resistance of all species. In turn, we have defined partial resilience as the capacity of a system to maintain a partial species composition through the recovery and resistance of a subset of species. Specifically, we have shown that, under the LV model, fast (full or partial) recovery from abundance perturbations implies a high (full or partial) resistance to parameter perturbations. Therefore, we hypothesize that other hidden</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Accepted Article</head><p>connections between resilience indicators may be found if analyzed through the lens of full and partial components <ref type="bibr">(K&#233;fi et al., 2019)</ref>. From a practical point of view, this connection between recovery and resistance means that we can monitor both of these aspects of resilience using a small number of indicators (e.g., the eigenvalues of the Jacobian matrix of a system).</p><p>Third, we have found that full and partial resilience (either recovery or resistance) can be treated as complementary components. Thus, our study proposes a novel way to understand orthogonal dimensions of ecological resilience <ref type="bibr">(Hillebrand et al., 2018;</ref><ref type="bibr">Dom&#237;nguez-Garc&#237;a et al., 2019)</ref>.</p><p>Interestingly, full resilience is related to individual risk, whereas partial resilience is related to systemic risk, two important concepts in ecological, financial, and other complex systems <ref type="bibr">(Levin, 1998;</ref><ref type="bibr">Beale et al., 2011)</ref>. In fact, because full and partial resilience are complementary, focusing on only one of these components may provide a misleading risk assessment of ecological systems <ref type="bibr">(Beale et al., 2011)</ref>. For example, our results show that a system that minimizes systemic risk (i.e., is located as far as possible from the vertices of the feasibility domain) may still have a high risk of losing individual species (i.e., is located close to a border of the feasibility domain;</p><p>Figures <ref type="figure">1c</ref> and <ref type="figure">1d</ref>). In particular, the existence of a wide diversity of relationships between full and partial resilience in the studied experimental microbial systems suggests that future work may investigate the extent to which these systems may be more exposed to individual or systemic risk in the face of perturbations.</p><p>Our theoretical results can in principle be validated by performing perturbation experiments with simple experimental systems (e.g., microbial systems). For instance, one can measure the recovery rate of a system after small abundance perturbations (e.g., a single removal/addition of individuals/biomass <ref type="bibr">(Steiner et al., 2006)</ref>) and the resistance to extinctions after structural perturbations (e.g., a fixed change in temperature <ref type="bibr">(Tabi et al., 2020)</ref> or resource availability <ref type="bibr">(Hoek et al., 2016)</ref>) over a set of baseline environmental conditions. Then, one can measure the association between dynamical and structural indicators, that is, recovery rate and resistance to extinctions. Furthermore, both indicators can be divided into their full (e.g., abundances fully recover, no single-species extinctions) and partial (e.g., abundances partially recover, no systemic collapse) components. For a given system, our theory purports an association between full (partial) recovery and full (partial) resistance (Figures <ref type="figure">4a</ref> and <ref type="figure">4b</ref>), and no particular association between full and partial components (recovery or resistance; Figures <ref type="figure">5a</ref> and <ref type="figure">5b</ref>).</p><p>Finally, it is worth mentioning that our indicators of resilience are formally derived under the assumptions of feasible and dynamically stable equilibria with the classic LV model <ref type="bibr">(Case, 2000)</ref>.</p><p>Thus, these assumptions have to be fulfilled in order to apply our framework using empirical data.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Accepted Article</head><p>Nevertheless, multiple methods have been developed to estimate the structure of nonequilibrium 455 systems (e.g., Jacobian matrix) without assuming a parameterized population dynamics model 456 (i.e., a nonparametric approach) <ref type="bibr">(Ives et al., 2003;</ref><ref type="bibr">Deyle et al., 2016;</ref><ref type="bibr">Ushio et al., 2018)</ref>. In partic-457 ular, previous work has shown that the divergence of a nonequilibrium vector field (characterized 458 by the trace of the Jacobian matrix) is associated with the extent to which the trajectory of the 459 system changes after parameter perturbations <ref type="bibr">(Cenci &amp; Saavedra, 2019;</ref><ref type="bibr">Cenci et al., 2020</ref>)-a 460 measure of resistance. Thus, these previous results indicate that it may be possible to merge 461 concepts from dynamical and structural stability also under a nonparametric approach. In this 462 sense, we believe that our study may also add to the unification of parametric and nonparametric 463 approaches <ref type="bibr">(Song &amp; Saavedra, 2020)</ref> and could be expanded to be used with different types of 464 empirical data.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>465</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Accepted Article</head><p>Glossary Asymptotic dynamical stability: The capacity of a dynamical system to return to a quantitative equilibrium reference state after a given perturbation acting on its state variables (i.e., species abundances) <ref type="bibr">(Strogatz, 2001)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Dynamical indicator:</head><p>A measure of resilience related to perturbations acting on species abundances.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Feasibility domain:</head><p>The set of directions of parameter values (here intrinsic growth rates) compatible with positive solutions for all species (i.e., feasible system).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Full recovery:</head><p>The return rate along the slowest direction following a perturbation acting on species abundances. We measure full recovery as the largest eigenvalue (&#955; 1 ) of the Jacobian matrix evaluated at an equilibrium state.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Full resilience:</head><p>The capacity of a system to maintain its full species composition through the recovery and resistance of all species. Full resilience is partitioned into full recovery, which is related to abundance perturbations (i.e., asymptotic dynamical stability), and full resistance, which is related to parameter perturbations (i.e., structural stability).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Full resistance:</head><p>The largest random parameter perturbation that the system can withstand before losing any species. We measure full resistance as the distance of an equilibrium state to the closest border (min{d b }) of the feasibility domain (D F (A)).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Partial recovery:</head><p>The return rate along the second fastest direction following a perturbation acting on species abundances. We measure partial recovery as the second smallest eigenvalue (&#955; S-1 ) of the Jacobian matrix evaluated at an equilibrium state.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Partial resilience:</head><p>The capacity of a system to maintain a partial species composition through the recovery and resistance of a subset of species. Partial resilience is partitioned into partial recovery, which is related to abundance perturbations (i.e., asymptotic dynamical stability), and partial resistance, which is related to parameter perturbations (i.e., structural stability).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Partial resistance:</head><p>The largest random parameter perturbation that a system can withstand before at most a single species survives. We measure partial resistance as the distance of an equilibrium state to the closest vertex (min{d v }) of the feasibility domain (D F (A)).</p><p>Perturbation: Any event that impacts the species abundances directly or the rules that govern population dynamics in an ecological system (i.e., the structure of the ecological system) <ref type="bibr">(Justus, 2013)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Population dynamics model:</head><p>A mathematical idealized description of the causal relationships (mechanistic or phenomenological) connecting the change of a population through time as a function of abiotic and biotic factors <ref type="bibr">(Case, 2000)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Recovery:</head><p>The rate of return (or time, if inverted) of an ecological system to a reference state after a given perturbation <ref type="bibr">(Hodgson et al., 2015)</ref>.</p><p>Reference state: The state of an ecological system against which the perturbed system will be compared to <ref type="bibr">(Justus, 2013)</ref>. The reference state can be quantitative (e.g., the species abundances at equilibrium) or qualitative (e.g., the species composition of the system).</p><p>Resilience: Ability of an ecological system (i.e., set of interacting species) to resist and recover from external perturbations <ref type="bibr">(Hodgson et al., 2015)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Resistance:</head><p>The capacity of an ecological system to resist changes in relation to its reference state after a given perturbation <ref type="bibr">(Hodgson et al., 2015)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Structural indicator:</head><p>A measure of resilience related to perturbations acting on model parameters.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Structural stability:</head><p>The capacity of a dynamical system to retain the topology of the phase portrait (i.e., the qualitative behavior of the trajectories) after a given perturbation to its structure (i.e., governing laws or model parameters) <ref type="bibr">(Strogatz, 2001)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Accepted Article</head><p>Competition system Mutualistic system Antagonistic system </p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_0"><p>This article is protected by copyright. All rights reserved.</p></note>
		</body>
		</text>
</TEI>
