Stochastic dynamics in finite populations: Difference between revisions
No edit summary |
No edit summary |
||
Line 112: | Line 112: | ||
# Traulsen, A., Claussen, J. C. & Hauert, C. (2006) Coevolutionary dynamics in large, but finite populations. ''Phys. Rev. E'' '''74''' 011901 [http://dx.doi.org/10.1103/PhysRevE.74.011901 doi: 10.1103/PhysRevE.74.011901]. | # Traulsen, A., Claussen, J. C. & Hauert, C. (2006) Coevolutionary dynamics in large, but finite populations. ''Phys. Rev. E'' '''74''' 011901 [http://dx.doi.org/10.1103/PhysRevE.74.011901 doi: 10.1103/PhysRevE.74.011901]. | ||
# Traulsen, A., Claussen, J. C. & Hauert, C. (2005) Coevolutionary Dynamics: From Finite to Infinite Populations. ''Phys. Rev. Lett.'' '''95''' 238701 [http://dx.doi.org/10.1103/PhysRevLett.95.238701 doi: 10.1103/PhysRevLett.95.238701]. | # Traulsen, A., Claussen, J. C. & Hauert, C. (2005) Coevolutionary Dynamics: From Finite to Infinite Populations. ''Phys. Rev. Lett.'' '''95''' 238701 [http://dx.doi.org/10.1103/PhysRevLett.95.238701 doi: 10.1103/PhysRevLett.95.238701]. | ||
[[Category:Tutorial]] |
Revision as of 13:15, 21 March 2012
Stochastic differential equations (SDE) provide a general framework to describe the evolutionary dynamics of an arbitrary number of types in finite populations, which results in demographic noise, and to incorporate mutations. For large, but finite populations this allows to include demographic noise without requiring explicit simulations. Instead, the population size only rescales the amplitude of the noise. Moreover, this framework admits the inclusion of mutations between different types, provided that mutation rates, \(\mu\), are not too small compared to the inverse population size \(1/N\). This ensures that all types are almost always represented in the population and that the occasional extinction of one type does not result in an extended absence of that type. For \(\mu N\ll1\) this limits the use of SDE’s, but in this case well established alternative approximations are available based on time scale separation. We illustrate our approach by a Rock-Scissors-Paper game with mutations, where we demonstrate excellent agreement with simulation based results for sufficiently large populations. In the absence of mutations the excellent agreement extends to small population sizes.
This tutorial complements a series of research articles by Arne Traulsen, Jens Christian Claussen & Christoph Hauert
Rock-Paper-Scissors game

Comparisons between the deterministic dynamics in infinite populations, the stochastic dynamics in finite populations and individual based simulations focus on the Rock-Paper-Scissors game with a generic payoff
\[\begin{matrix}~&\begin{matrix}\ \ R\quad & S\quad & P\quad\end{matrix} \\ \begin{matrix}R\\S\\P\end{matrix}& \begin{pmatrix}0 & \frac{s}{2} & -1 \\ -1 & 0 & 2+s \\ \frac{1+s}{3} & -1 & 0\end{pmatrix}\end{matrix}. \]
According to the replicator equation the game exhibits saddle node fixed points at \(x = 1, y = 1\), and \(z = 1-x-y = 1\) as well as an interior fixed point at \(\textstyle\hat{\mathbf x} = \left(\frac12,\frac13,\frac16\right)\) independent of the parameter \(s\). For \(s > 1\), \(\hat x\) is a stable focus and an unstable focus for \(s < 1\). In the non-generic case \(s=1\) the dynamics exhibits closed orbits.
Deterministic Dynamics

Replicator dynamics - Attractor
In the limit \(N\to\infty\) with \(s=1.4\) and without mutations, \(\mu=0\), \(\hat x\) is an attractor of the replicator dynamics. The figure shows a sample trajectory that spirals towards the interior fixed point \(\hat x\).

Replicator-Mutator dynamics - Stable limit cycle
For \(s < 1\) the interior fixed point \(\hat x\) is an unstable focus. The trajectories spiral away from \(\hat x\) and, in the absence of mutations, approach the heteroclinic cycle along the boundary of the simplex \(S_3\). With mutation rates \(\mu>0\), however, the boundary of \(S_3\) becomes repelling, which can give rise to stable limit cycles. If the mutation rate is sufficiently high, the interior fixed point is stable again. The image shows a sample trajectory for \(s=0.2\), \(\mu=0.001\).
Stochastic Dynamics
Individual Based Simulations
From finite to infinite populations

In unstructured, finite populations of constant size, \(N\), consisting of \(d\) distinct strategic types and with a mutation rate, \(\mu\), evolutionary changes can be described by the following class of birth-death processes: In each time step, one individual of type \(j\) produces a single offspring and displaces another randomly selected individual of type \(k\). With probability \(1-\mu\), no mutation occurs and \(j\) produces an offspring of the same type. But with probability \(\mu\), the offspring of an individual of type \(i\) (\(i\neq j\)) mutates into a type \(j\) individual. This results in two distinct ways to increase the number of \(j\) types by one at the expense of decreasing the number of \(k\) types by one, hence keeping the population size constant. Biologically, keeping \(N\) constant implies that the population has reached a stable ecological equilibrium and assumes that this equilibrium remains unaffected by trait frequencies. The probability for the event of replacing a type \(k\) individual with a type \(j\) individual is denoted by \(T_{kj}\) and is a function of the state of the population \(\mathbf X=(X_1, X_2, \ldots X_d)\), with \(X_n\) indicating the number of individuals of type \(n\) such that \(\textstyle\sum_{n=1}^d X_n = N\).
For such processes we can easily derive a Master equation:
\begin{equation*} P^{\tau+1}({\mathbf X}) = P^{\tau}({\mathbf X})+\!\sum_{j,k=1}^d\! P^{\tau}({\mathbf X}_j^k) T_{kj}({\mathbf X}_j^k)-P^{\tau}({\mathbf X})\ T_{jk}({\mathbf X})) \end{equation*}
where \(P^\tau({\mathbf X})\) denotes the probability of being in state \(\mathbf X\) at time \(\tau\) and \({\mathbf X}_j^k=(X_1, \ldots X_j-1, \ldots X_k+1, \ldots X_d)\) represents a state adjacent to \(\mathbf X\). For large but finite \(N\) the Kramers-Moyal expansion yields a convenient approximation in the form of a Fokker-Planck equation:
\begin{align*} \dot \rho({\mathbf x}) = -\sum_{k=1}^{d-1}\frac{\partial}{\partial x_k}\rho({\mathbf x}){\mathcal A}_{k}({\mathbf x})+\frac12\sum_{j,k=1}^{d-1}\frac{\partial^2}{\partial x_k\partial x_j}\rho({\mathbf x}){\mathcal B}_{jk}({\mathbf x}) \end{align*}
where \({\mathbf x} = {\mathbf X}/N\) represents the state of the population in terms of frequencies of the different strategic types and \(\rho({\mathbf x})\) is the probability density in state \(\mathbf x\). The drift vector \({\mathcal A}_{k}({\mathbf x})\) is given by
\begin{align*} {\mathcal A}_{k}({\mathbf x}) = \sum_{j=1}^{d} \Big(T_{j k}({\mathbf x}) - T_{k j}({\mathbf x}) \Big) = -1+\sum_{j=1}^{d} T_{j k}({\mathbf x}) \end{align*}
For the second equality we have used \(\textstyle\sum_{j=1}^d T_{kj}({\boldsymbol x})=1\), which simply states that a \(k\)-type individual transitions to some other type (including staying type \(k\)) with probability one. \({\mathcal A}_{k}({\mathbf x})\) is bounded in \([-1, d-1]\) because the \(T_{jk}\) are probabilities.
The diffusion matrix \({\mathcal B}_{jk}({\mathbf x})\) is defined as
\begin{align*} {\mathcal B}_{jk}({\mathbf x}) &= - \frac{1}{N} \left[ T_{j k}({\mathbf x}) + T_{k j}({\mathbf x}) \right] \quad {\rm for} \quad j \neq k \\ {\mathcal B}_{jj}({\mathbf x}) &= \frac{1}{N} \sum_{l=1,l\neq j}^d \Big(T_{j l}({\mathbf x})+T_{l j}({\mathbf x}) \Big) \end{align*}
Note that the diffusion matrix is symmetric, \({\mathcal B}_{jk}({\mathbf x}) = {\mathcal B}_{kj}({\mathbf x})\) and vanishes as \(\sim 1/N\) in the limit \(N\to\infty\).
The noise arising through demographic changes and mutations is uncorrelated in time and hence the Itô calculus can be applied to derive a Langevin equation
\begin{align*} \dot x_k = {\mathcal A}_k({\mathbf x}) + \sum_{j=1}^{d-1} {{\mathcal C}_{kj}({\mathbf x})} \xi_j(t) \end{align*}
where the \(\xi_j(t)\) represent uncorrelated Gaussian white noise with unit variance, \(\langle \xi_k(t) \xi_j(t^\prime) \rangle = \delta_{kj} \delta(t-t^\prime)\). The matrix \({{\mathcal C}({\mathbf x})}\) is defined by \({\mathcal C}^T({\mathbf x}) {\mathcal C}({\mathbf x}) = {\mathcal B}({\mathbf x})\) and its off-diagonal elements are responsible for correlations in the noise of different strategic types. In the limit \(N\to\infty\) the matrix \({\mathcal C}({\mathbf x})\) vanishes with \(\sim 1/\sqrt{N}\) and we recover a deterministic replicator mutator equation.
References
- Traulsen, A., Claussen, J. C. & Hauert, C. (2012) Stochastic differential equations for evolutionary dynamics with demographic noise and mutations. Phys. Rev. E in print.
- Traulsen, A., Claussen, J. C. & Hauert, C. (2006) Coevolutionary dynamics in large, but finite populations. Phys. Rev. E 74 011901 doi: 10.1103/PhysRevE.74.011901.
- Traulsen, A., Claussen, J. C. & Hauert, C. (2005) Coevolutionary Dynamics: From Finite to Infinite Populations. Phys. Rev. Lett. 95 238701 doi: 10.1103/PhysRevLett.95.238701.