Spatial adaptive dynamics: Difference between revisions

From EvoLudo
m fix refs
add divergence section
 
Line 177: Line 177:
\end{align}
\end{align}
The conditions for convergence stability are again the same as in well-mixed populations, whereas the criteria for evolutionary stability are generally different.
The conditions for convergence stability are again the same as in well-mixed populations, whereas the criteria for evolutionary stability are generally different.
== Evolutionary divergence of coexisting traits ==
For mutant traits y capable of invading a resident population x, i.e. if the invasion fitness f(y,x)>0, ecological (frequency) dynamics drives the spread of the mutant trait, possibly replacing the resident. However, if the "resident" is equally capable of invading the "mutant", f(x,y)>0, then ecological dynamics drives the two traits to a co-existence equilibrium of <em>two resident traits</em> x and y. The direction of selection for further evolution in such populations with two (or more) co-existing traits is again determined by the selection gradients. Each of the coexisting resident traits, say x1,,xm, has a corresponding selection gradient Di, i=1,,m, which is derived from the invasion fitness f(y,x1,,xm) of a rare mutant y occurring in the resident xi:
\begin{align}
D_i(x_1,...,x_m)=\frac{\partial f(y,x_1,...,x_m)}{\partial y}\bigg|_{y=x_i}
\end{align}
The invasion fitness of a rare mutant in trait i generally depends on all residents traits, and hence so do the selection gradients Di. Given two resident traits emerging from evolutionary diversification in a monomorphic ancestral population, the most basic question is whether the selection gradients in the two residents tend to increase the phenotypic distance between the coevolving traits, i.e., whether the selection gradients lead to evolutionary divergence.
In structured populations with two residents x1 and x2 an analytical derivation of the invasion fitness of a mutant y, f(y,x1,x2), is based on the local configuration of the neighbourhoods of the two residents as well as of the mutant, which together determine their respective payoffs and birthrates. Because of the time scale separation between the slow global frequency dynamics and the fast equilibration of local configurations, the neighbourhood of the two residents, x1 and x2, is approximated by the equilibria qx1|x1 and qx2|x2, see Eq. (13). These local configurations determine the frequencies of x1 and x2 at their ecological equilibrium because the condition px1x1+px1x2+px2x1+px2x2=1 for the pair frequencies expressed in terms of px1 yields px1qx1|x1+2px1(1qx1|x1)+(1px1)qx2|x2=1 or
\begin{align}
p_{x_1} &= \frac{1-q_{x_2|x_2}}{2-q_{x_1|x_1}-q_{x_2|x_2}}.
\end{align}
If a xi resident dies, the neighbourhood of a mutant neighbour yj=xj+Δ, where Δ1 denotes a small mutational change in the parental trait xj, includes
# the demised xi,
# one yj neighbour, as well as
# qxj|xj(k2) neighbours with trait xj and
# (1qxj|xj)(k2) neighbours with the `other' trait xj¯, i.e. if j=1 then j¯=2 and vice versa.
Note that (2) follows because rare mutants yi also undergo rapid local equilibration, which again yields qyi|yi=1/(k1) up to leading order, while (3) and (4) assume that the local correlations are otherwise the same as for their xj parent. The resulting birthrate of the yj neighbour is given by
\begin{align}
b_{x_i}(y_j) &= \exp\bigg(\frac wk \Big(P(y_j,x_i)+P(y_j,y_j)+(k-2)\big(q_{x_j|x_j}P(y_j,x_j)+ (1-q_{x_j|x_j})P(y_j,x_{\bar j})\big)\Big)\!\bigg).
\end{align}
If the birthrate of yj exceeds that of xj it eventually takes over as a new resident replacing xj. Thus, divergence focusses on fitness differences between yj and xj. On average, the birthrate of yi is thus given by bx1,x2(yi)=px1bx1(yi)+(1px1)bx2(yi) and the divergence becomes
\begin{align}
\left(D_1(x_1,x_2), D_2(x_1,x_2)\right) &= \lim_{\Delta\to0}\left(\frac{b_{x_1,x_2}(x_1+\Delta)-b_{x_1,x_2}(x_1)}{\Delta}, \frac{b_{x_1,x_2}(x_2+\Delta)-b_{x_1,x_2}(x_2)}{\Delta}\right).
\end{align}
The resulting gradient field is depicted in the mutual invasibility plots for Δ=103 in [[Spatial social dilemmas promote diversity#Interactive labs, Figure 5|Fig.5]] in the main text.

Latest revision as of 10:54, 7 March 2025

In the following, we assume that the total population size is constant, and that spatially structured populations are represented by lattices in which each site is occupied by one individual. Each individual interacts with a limited number of local neighbours, and we assume this number, k, to be the same for all individuals. We first consider a case where there are two types of players in the structured population: a mutant type with trait value y, and a resident type with trait value x (where x and y denote investment strategies in a continuous game). If the mutant has j other mutants among its k neighbours, the mutant payoff is πm(j)=[(kj)P(y,x)+jP(y,y)]/k. Similarly, the payoff of a resident with j mutant neighbours is given by πr(j)=[jP(x,y)+(kj)P(x,x)]/k. The payoffs, πm(j),πr(j), of mutants and residents from interactions with their k neighbours determines the birth rates as bm(j)=exp(wπm(j)) and br(j)=exp(wπr(j)), where w>0 denotes the strength of selection. The birth rate is proportional to the probability of taking over an empty site for which a given mutant or resident individual competes. For w1 selection is weak and differences in payoffs result in minor differences in birthrates, and hence in small differences in probabilities of winning competition for an empty site. With strong selection, w1, payoff differences are amplified in the corresponding birthrates. This exponential payoff-to-birthrate map has several convenient features:

  1. ensures positive birthrates,
  2. admits easy conversion to probabilities for reproduction,
  3. selection can be arbitrarily strong,
  4. for weak selection the more traditional form of birthrates bi(j)1+wπi(j) with i=m,r, is recovered.

Note that in the limit yx differences in birthrates vanish. However, this does not imply weak selection. Instead, selection strength is determined by the magnitude of the invasion fitness gradient at x, which is proportional to w.

In well-mixed populations the current state is simply given by the frequency of mutants and residents, respectively. In contrast, in structured populations the state space is immense because it involves all possible configurations. Pair approximation offers a convenient framework to account for corrections arising from spatial arrangements. Instead of simply tracking the frequencies of mutants and residents, pair approximation considers the frequencies of neighbouring strategy pairs. We denote the frequencies of mutant-mutant, mutant-resident, resident-mutant and resident-resident pairs by pmm,pmr,prm, and prr, respectively, with pmm+pmr+prm+prr=1. The frequency of mutants is given by pm=pmm+pmr and that of residents by pr=prr+prm. For consistency, the frequency of mutants can also be expressed as pm=pmm+prm by considering links that point towards mutants rather than away from them. Consequently prm=pmr must hold and the dynamics is reduced to two dynamical variables.

The most informative quantities are the global mutant frequency, pm=pmm+pmr, and the local mutant density qm|m=pmm/pm, i.e. the conditional probability that a neighbour of a mutant is also a mutant. Note that for rare mutants, pm1, their local densities need not be small. The derivation of the corresponding dynamical equations depends on the details of the microscopic updating.

Death-birth process

For death-birth updating, first the birthrate of all individuals is calculated by taking the payoffs from interactions with their k neighbours into account (we assume regular spatial structures in which each individual has the same number of neighbours k). An individual is then uniformly at random selected to die, and its k neighbours compete to repopulate the vacant site with their offspring. The probability of success is proportional to the birthrate. We note that this setup implies that competition occurs at the local scale, and that life expectancy is the same for all individuals. This is in contrast to birth-death updating where competition occurs globally and individuals with successful neighbours have a lower life expectancy.

Note that payoffs, and hence birth rates, are based on interactions with all neighbours, including the neighbour that may subsequently be chosen to die (uniformly at random) and its vacant site subject to recolonization by the offspring of one of its neighbours. To determine the dynamics of pm and qm|m, we first note that configurations only change when a resident is replaced by a mutant, or when a mutant is replaced by a resident.

The frequency of mutants and mutant-mutant pairs increases whenever a resident dies and a mutant neighbor repopulates the vacated site. For a resident with j mutant neighbours this happens with probability: (1)Tdb+(j)= (1pm)(kj)qm|rj(1qm|r)kjjbm((k1)qm|m)jbm((k1)qm|m)+(kj)br((k1)qm|r) with qm|r=(1qm|m)pm/(1pm), and where br(v),bm(v) denote the birthrates of residents and mutants with an average number of v mutants among their neighbours. The first term in Eq. (1) indicates the probability that a resident dies, the second denotes the probability that it had j mutant neighbours and the last term is the probability that one of them reproduces. Similarly, the frequency of mutants and mutant-mutant pairs decreases if a mutant dies and one of its resident neighbors reproduces. For a mutant with j mutant neighbours this happens with probability: (2)Tdb(j)= pm(kj)qm|mj(1qm|m)kj(kj)br(1+(k1)qm|r)jbm(1+(k1)qm|m)+(kj)br(1+(k1)qm|r). All other transitions do not alter the composition of the population, and hence the Tdb±(j) for j=0,...,k define the rate of change of the frequency of mutants: (3)p˙m=j=0k(Tdb+(j)Tdb(j)). In order to derive the rates of change of qm|m it helps to start with changes in pmm. First, consider a resident with j mutant neighbours that has been successfully replaced by a mutant. This happens with probability Tdb+(j) and increases the number of mm-pairs by j or, equivalently, their frequency pmm by 2j/(Nk), where Nk/2 denotes the total number of undirected links in a regular graph of size N and degree k. Similarly, with probability Tdb(j) a mutant with j mutant neighbours is replaced by a resident, which reduces the frequency pmm by 2j/(Nk). Thus the rate of change of pmm becomes: (4)p˙mm=j=0k2jk(Tdb+(j)Tdb(j)), where the term 1/N has been omitted because the rates of change in both pm and pmm are proportional to the inverse population size and hence this factor can be absorbed through a constant rescaling of time. Finally, using q˙m|m=(p˙mmqm|mp˙m)/pm results in: (5)q˙m|m=1pmj=0k(Tdb+(j)Tdb(j))(2jkqm|m). This yields the dynamical equations for the global, Eq. (3), and local, Eq. (5), frequencies of mutants.

Spatial invasion fitness

The invasion fitness of a rare mutant trait y in a resident x is defined by f(x,y)=p˙mpm in the limit pm0. We first note that the leading order of the global dynamics, Eq. (3), is O(pm), while the local dynamics, Eq. (5), scales with O(1) and hence happens much faster when mutants are rare, pm1. This results in a convenient separation of time scales, so that we can use the equilibrium qm|m of Eq. (5) in Eq. (3) to calculate the invasion fitness. In the limit pm0, the sum over Tdb+(j) in Eq. (3) and divided by pm reduces to: (6)limpm01pmj=0kTdb+(j)=k(1qm|m)bm((k1)qm|m)bm((k1)qm|m)+(k1)br(0) using qm|r=pm(1qm|m)/(1pm). In contrast, the sum over Tdb(j) simplifies only marginally by cancelling the common factor pm and qm|r0. Thus the invasion fitness becomes: (7)f(x,y)=k(1qm|m)bm((k1)qm|m)bm((k1)qm|m)+(k1)br(0)j=0k(kj)qm|mj(1qm|m)kj(kj)br(1)jbm(1+(k1)qm|m)+(kj)br(1). In order to calculate qm|m, we first note that in the limit of rare mutants, pm0, and for mutant traits y close to the resident trait x, Eq. (5) somewhat simplifies to q˙m|m=k(1qm|m)bm((k1)qm|m)bm((k1)qm|m)+(k1)br(0)(2kqm|m)(8)j=0k(kj)qm|mj(1qm|m)kj(kj)br(1)jbm((k1)qm|m+1)+(kj)br(1)(2jkqm|m). Second, a Taylor expansion of the right-hand-side of Eq. (8) in y around x yields, up to first order: q˙m|m= 1k3(1qm|m)(2k2(1(k1)qm|m)+w(yx)(k1)(1qm|m)(2(k4)qm|m)×(9)((k1)qm|mzP(x,z)+kzP(z,x))|z=x)+O((yx)2). Thus, in this approximation, the equilibrium qm|m is given by the roots of a third order polynomial (plus the trivial, uninteresting root qm|m=1). To circumvent further analytical challenges, the zeroth order approximation of qm|m in y near x can be obtained by solving for the roots of Eq. (9) for y=x, which yields qm|m=qm|m(0)+O(yx) with qm|m(0)=1/(k1).

Next, the first order approximation of qm|m is obtained by implicit differentiation of Eq. (9) with respect to y (keeping in mind that qm|m is a function of y) and evaluation at y=x. Setting the expression to zero yields an equation for the zeroth and first order coefficients, qm|m(0) and qm|m(1), of the Taylor expansion at the equilibrium qm|m for y near x: (10)1k3(2k2(k2(k1)qm|m(0))qm|m(1)w(1qm|m(0))2(k1)(2(k4)qm|m(0))((k1)qm|m(0)zP(x,z)+kzP(z,x))|z=x)=0. Solving for the first order coefficient qm|m(1) using qm|m(0)=1/(k1) then yields: (11)qm|m(1)= wk242(k1)2k2(kzP(x,z)+zP(z,x))|z=x. Assembling all the pieces finally results in the first order expansion in y of the local pair density equilibrium, qm|m, around x. The upshot is that this allows to simplify the invasion fitness to a function of the mutant and resident traits only. The invasion fitness of mutants, f(x,y), defined as their per capita growth rate, p˙m/pm, in the limit pm0, then becomes: (12)f(x,y)= k(1qm|m)bm((k1)qm|m)bm((k1)qm|m)+(k1)br(0)j=0k(kj)(qm|m)j(1qm|m)kj(kj)br(1)jbm(1+(k1)qm|m)+(kj)br(1), where bm(v) and br(v) denote the birth rates of mutants and residents, respectively, with an average number of v mutants in their neighbourhood.

Even though the solution to q˙m|m=0 is analytically inaccessible, in general, the equilibrium qm|m can be approximated using a Taylor expansion if |yx|1: (13)qm|m= 1k1+w(yx)k242(k1)2k2(zP(x,z)+kzP(z,x))|z=x+O((yx)2). It follows that in the limit yx, mutants with at least one resident neighbour have, on average, one mutant neighbour among their k1 other neighbours. Note, mutants with no resident neighbours are uninteresting because they are unable to initiate a change in the population configuration. Interestingly, this limit of the local pair configuration is fairly robust with respect to changes in the updating process (c.f. Eq. (26) for birth-death updating). Moreover, in this limit a rare mutation with positive invasion fitness is guaranteed to eventually take over.

Selection gradient, convergent and evolutionary stability

Using Eqs. (12) and (13) the selection gradient, Ddb(x)=f(x,y)y|y=x, as well as its Jabobian, CSdb(x)=dDdb(x)dx|x=x, and the Hessian of fitness, ESdb(x)=2f(,y)y2|y=x, at a singular point x can be calculated as: (14)Ddb(x)= wk2k(k1)(kyP(y,x)+yP(x,y))|y=x(15)CSdb(x)= wk2k(k1)(ky2P(y,x)+y2P(x,y)+(k+1)y,zP(y,z))|z=y=x(16)ESdb(x)= CSdb(x)w(k2)2(k+1)k2(k1)y,zP(y,z)|z=y=x.

Birth-death process

For structured populations with birth-death updating, a parent is first selected from the entire population with a probability proportional to its birthrate, and then its offspring replaces one of the parent's k neighbours, selected uniformly at random. Thus, with birth-death updating, competition occurs at the scale of the entire population, rather than just locally. neighbors of individuals with high birthrates tend to be short-lived, whereas those with neighbors having low birthrates tend to live longer. This results in non-uniform life expectancies, with high turn-over in high payoff regions and low turn-over in low payoff regions. For strong selection the low birthrates can result in almost frozen regions. In general, because of global competition, outcomes of birth-death processes are more similar to outcomes in well-mixed populations than are outcomes of the corresponding death-birth processes (always assuming that selection acts on birth rates).

The setup for pair approximation with birth-death updating is basically the same as in the death-birth updating: the frequency of mutants and mutant pairs increase whenever a mutant reproduces and its offspring replaces a resident neighbour. For a mutant with j mutant neighbours this happens with probability: (17)Tbd+(j)=(kj)qm|mj(1qm|m)kjpmbm(j)Bkjk, where B=pmbm(kqm|m)+(1pm)br(kqm|r) represents the average birth rate in the population (recall that qm|r=pm(1qm|m)/(1pm)), and br(i),bm(i) denote the birth rates of residents and mutants with an (expected) number of i mutant neighbours. The first term in Eq. (17) represents the probability that the mutant parent has j mutant neighbours, the second term indicates the probability that this mutant is selected for reproduction and the last term the probability that one of its kj resident neighbours is replaced. Similarly, the frequencies of mutants and mutant pairs decrease if a resident is selected for reproduction and replaces a mutant. For a resident with j mutant neighbours this happens with probability: (18)Tbd(j)=(kj)qm|rj(1qm|r)kj(1pm)br(j)Bjk. All other transitions do not alter the composition of the population. Together Tbd±(j) define the rate of change of the frequency of mutants: (19)p˙m=j=0k(Tbd+(j)Tbd(j)). The derivation of the rate of change of qm|m is a bit trickier for birth-death updating. Let us again start by focussing on changes in pmm. First, consider a mutant that has successfully replaced a resident neighbor. This resident neighbour has one mutant neighbour (the reproducing individual) as well as an expected qm|r(k1) further mutants among its remaining k1 neighbours. Hence pmm increases at a rate proportional to (1+qm|r(k1))/(Nk/2), where Nk/2 indicates the normalization, i.e. the total number of (undirected) links in a regular graph of size N and degree k. Similarly, if a resident has successfully replaced a mutant neighbour, pmm decreases at a rate qm|m(k1)/(Nk/2), because the mutant neighbour has itself qm|m(k1) mutant neighbours (note, one is a resident with certainty, i.e. the reproducing individual). Thus, (20)p˙mm=j=0k2k(Tbd+(j)(1+qm|r(k1))Tbd(j)qm|m(k1)). Again, the term 1/N in Eqs. (19) and (20) has been absorbed through a constant rescaling of time. Similarly, both equations share the common factor 1/B, which can be absorbed through a non-linear rescaling of time (because B>0). Neither scaling changes the direction of selection or the location of equilibrium points. Note that the summations in Eqs. (19) and (20) can be carried out. Finally, using q˙m|m=(p˙mmqm|mp˙m)/pm and qm|r=(1qm|m)pm/(1pm), we obtain: (21)p˙m=pm(1qm|m)bm(qm|m(k1))(1pm)qm|rbr(1+qm|r(k1))(22)q˙m|m=1k((1qm|m)(2+2(k1)qm|rkqm|m)bm((k1)qm|m)+(11pm)qm|mqm|r(k2)br(1+(k1)qm|r)),

Spatial invasion fitness

The invasion fitness of mutants, f(y,x), is the per capita growth rate, p˙m/pm, in the limit pm0: (23)f(x,y)=(1qm|m)exp[wP(x,x)]×(24)(exp[wk((k(k1)qm|m)P(y,x)+(k1)qm|mP(y,y))]exp[wk((k1)P(x,x)+P(x,y))]). Here qm|m is the solution of Eq. (22) in the limit pm0: for pm1 the time scales of the local (fast) and global (slow) dynamics again separate (see Eqs. (21), (22)), such that the local densities of mutants can be assumed to be at equilibrium qm|m. In the limit pm0 the local dynamics, Eq. (22), reduces to q˙m|m=1k(1qm|m)exp[wk(P(x,y)P(x,x))]((k2)qm|m+(kqm|m2)×(25)exp[wk((k(k1)qm|m)P(y,x)+(k1)qm|mP(y,y)P(x,y)(k1)P(x,x))]), but analytical solutions remain inaccessible. However, since adaptive dynamics is based on the assumption that differences between residents and mutants are small, |xy|1, we consider a Taylor expansion in y around x of the right-hand-side of Eq. (25) to obtain the first order approximation of qm|m: (26)qm|m= 1k1+w(yx)k22(k1)2zP(z,x)|z=x+O((yx)2). Note that the zeroth order approximation is the same as for death-birth updating (c.f. Eq. (13)).

Selection gradient, convergent and evolutionary stability

The selection gradient for birth-death updating, Dbd(x), is now obtained by inserting Eq. (26) into Eq. (23) and evaluating at y=x: (27)Dbd(x)= wk2k1yP(y,x)|y=x. In contrast to death-birth updating spatial structure does not affect the sign of the selection gradient as compared to well-mixed populations (see adaptive dynamics in a nutshell) and hence spatial structure does not affect the existence or location of singular points x. The Jacobian of the selection gradient and the Hessian of the fitness at x are: (28)CSbd(x)=wk2k1(y,zP(y,z)+y2P(y,x))|z=y=x(29)ESbd(x)=wk2k(k1)(2y,zP(y,z)+ky2P(y,x))|z=y=x=2kCSbd(x)+w(k2)2k(k1)y2P(y,x)|z=y=x The conditions for convergence stability are again the same as in well-mixed populations, whereas the criteria for evolutionary stability are generally different.

Evolutionary divergence of coexisting traits

For mutant traits y capable of invading a resident population x, i.e. if the invasion fitness f(y,x)>0, ecological (frequency) dynamics drives the spread of the mutant trait, possibly replacing the resident. However, if the "resident" is equally capable of invading the "mutant", f(x,y)>0, then ecological dynamics drives the two traits to a co-existence equilibrium of two resident traits x and y. The direction of selection for further evolution in such populations with two (or more) co-existing traits is again determined by the selection gradients. Each of the coexisting resident traits, say x1,,xm, has a corresponding selection gradient Di, i=1,,m, which is derived from the invasion fitness f(y,x1,,xm) of a rare mutant y occurring in the resident xi: (30)Di(x1,...,xm)=f(y,x1,...,xm)y|y=xi The invasion fitness of a rare mutant in trait i generally depends on all residents traits, and hence so do the selection gradients Di. Given two resident traits emerging from evolutionary diversification in a monomorphic ancestral population, the most basic question is whether the selection gradients in the two residents tend to increase the phenotypic distance between the coevolving traits, i.e., whether the selection gradients lead to evolutionary divergence.

In structured populations with two residents x1 and x2 an analytical derivation of the invasion fitness of a mutant y, f(y,x1,x2), is based on the local configuration of the neighbourhoods of the two residents as well as of the mutant, which together determine their respective payoffs and birthrates. Because of the time scale separation between the slow global frequency dynamics and the fast equilibration of local configurations, the neighbourhood of the two residents, x1 and x2, is approximated by the equilibria qx1|x1 and qx2|x2, see Eq. (13). These local configurations determine the frequencies of x1 and x2 at their ecological equilibrium because the condition px1x1+px1x2+px2x1+px2x2=1 for the pair frequencies expressed in terms of px1 yields px1qx1|x1+2px1(1qx1|x1)+(1px1)qx2|x2=1 or (31)px1=1qx2|x22qx1|x1qx2|x2.

If a xi resident dies, the neighbourhood of a mutant neighbour yj=xj+Δ, where Δ1 denotes a small mutational change in the parental trait xj, includes

  1. the demised xi,
  2. one yj neighbour, as well as
  3. qxj|xj(k2) neighbours with trait xj and
  4. (1qxj|xj)(k2) neighbours with the `other' trait xj¯, i.e. if j=1 then j¯=2 and vice versa.

Note that (2) follows because rare mutants yi also undergo rapid local equilibration, which again yields qyi|yi=1/(k1) up to leading order, while (3) and (4) assume that the local correlations are otherwise the same as for their xj parent. The resulting birthrate of the yj neighbour is given by (32)bxi(yj)=exp(wk(P(yj,xi)+P(yj,yj)+(k2)(qxj|xjP(yj,xj)+(1qxj|xj)P(yj,xj¯)))). If the birthrate of yj exceeds that of xj it eventually takes over as a new resident replacing xj. Thus, divergence focusses on fitness differences between yj and xj. On average, the birthrate of yi is thus given by bx1,x2(yi)=px1bx1(yi)+(1px1)bx2(yi) and the divergence becomes (33)(D1(x1,x2),D2(x1,x2))=limΔ0(bx1,x2(x1+Δ)bx1,x2(x1)Δ,bx1,x2(x2+Δ)bx1,x2(x2)Δ). The resulting gradient field is depicted in the mutual invasibility plots for Δ=103 in Fig.5 in the main text.