Stochastic dynamics in finite populations: Difference between revisions
Line 11: | Line 11: | ||
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 | 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 | ||
<math>\begin{matrix}~&\begin{matrix}\ \ R\quad & S\quad & P\quad\end{matrix} \\ | <center><math>\begin{matrix}~&\begin{matrix}\ \ R\quad & S\quad & P\quad\end{matrix} \\ | ||
\begin{matrix}R\\S\\P\end{matrix}& | \begin{matrix}R\\S\\P\end{matrix}& | ||
\begin{pmatrix}0 & \frac{s}{2} & -1 \\ | \begin{pmatrix}0 & \frac{s}{2} & -1 \\ | ||
-1 & 0 & 2+s \\ | -1 & 0 & 2+s \\ | ||
\frac{1+s}{3} & -1 & 0\end{pmatrix}\end{matrix} | \frac{1+s}{3} & -1 & 0\end{pmatrix}\end{matrix}. | ||
</math> | </math></center> | ||
According to the [[replicator equation]] the game exhibits saddle node fixed points at <math>x = 1, y = 1</math>, and <math>z = 1-x-y = 1</math> as well as an interior fixed point at <math>\textstyle\hat{\mathbf x} = \left(\frac12,\frac13,\frac16\right)</math> independent of the parameter <math>s</math>. For <math>s > 1</math>, <math>\hat x</math> is a stable focus and an unstable focus for <math>s<1</math>. In the non-generic case <math>s=1</math> the dynamics exhibits closed orbits. | According to the [[replicator equation]] the game exhibits saddle node fixed points at <math>x = 1, y = 1</math>, and <math>z = 1-x-y = 1</math> as well as an interior fixed point at <math>\textstyle\hat{\mathbf x} = \left(\frac12,\frac13,\frac16\right)</math> independent of the parameter <math>s</math>. For <math>s > 1</math>, <math>\hat x</math> is a stable focus and an unstable focus for <math>s<1</math>. In the non-generic case <math>s=1</math> the dynamics exhibits closed orbits. | ||
Line 24: | Line 24: | ||
<div class="lab_description SDE"> | <div class="lab_description SDE"> | ||
[[Image:RSP - ODE.svg|left|200px]] | [[Image:RSP - ODE.svg|left|200px]] | ||
==== [[EvoLudoLab: Rock-Paper-Scissors - ODE|Replicator dynamics]]==== | ====[[EvoLudoLab: Rock-Paper-Scissors - ODE|Replicator dynamics]]==== | ||
In the limit <math>N\to\infty</math> with <math>s=1.4</math> and without mutations, <math>\mu=0</math>, <math>\hat x</math> is an attractor of the replicator dynamics. The figure shows a sample trajectory that spirals towards the interior fixed point <math>\hat x</math>. | |||
{{-}} | {{-}} | ||
</div> | </div> | ||
Line 31: | Line 32: | ||
[[Image:RSP - ODE Mutations.svg|left|200px]] | [[Image:RSP - ODE Mutations.svg|left|200px]] | ||
==== [[EvoLudoLab: Rock-Paper-Scissors - ODE|Replicator-Mutator dynamics]]==== | ==== [[EvoLudoLab: Rock-Paper-Scissors - ODE|Replicator-Mutator dynamics]]==== | ||
Including mutations in the replicator dynamics gives rise to the replicator-mutator dynamics. Mutations destabilizes the interior fixed point <math>\hat x</math> an can give rise to stable limit cycles. The image shows a sample trajectory for <math>\mu=0.002</math>. | |||
{{-}} | {{-}} | ||
</div> | </div> |
Revision as of 13:52, 9 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, , are not too small compared to the inverse population size . 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 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
According to the replicator equation the game exhibits saddle node fixed points at , and as well as an interior fixed point at independent of the parameter . For , is a stable focus and an unstable focus for . In the non-generic case the dynamics exhibits closed orbits.
Deterministic Dynamics

Replicator dynamics
In the limit with and without mutations, , is an attractor of the replicator dynamics. The figure shows a sample trajectory that spirals towards the interior fixed point .

Replicator-Mutator dynamics
Including mutations in the replicator dynamics gives rise to the replicator-mutator dynamics. Mutations destabilizes the interior fixed point an can give rise to stable limit cycles. The image shows a sample trajectory for .
Stochastic Dynamics
Individual Based Simulations
From finite to infinite populations

In unstructured, finite populations of constant size, , consisting of distinct strategic types and with a mutation rate, , evolutionary changes can be described by the following class of birth-death processes: In each time step, one individual of type produces a single offspring and displaces another randomly selected individual of type . With probability , no mutation occurs and produces an offspring of the same type. But with probability , the offspring of an individual of type () mutates into a type individual. This results in two distinct ways to increase the number of types by one at the expense of decreasing the number of types by one, hence keeping the population size constant. Biologically, keeping 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 individual with a type individual is denoted by and is a function of the state of the population , with indicating the number of individuals of type such that .
For such processes we can easily derive a Master equation:
where denotes the probability of being in state at time and represents a state adjacent to . For large but finite the Kramers-Moyal expansion yields a convenient approximation in the form of a Fokker-Planck equation:
where represents the state of the population in terms of frequencies of the different strategic types and is the probability density in state . The drift vector is given by
For the second equality we have used , which simply states that a -type individual transitions to some other type (including staying type ) with probability one. is bounded in because the are probabilities.
The diffusion matrix is defined as
Note that the diffusion matrix is symmetric, and vanishes as in the limit .
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
where the represent uncorrelated Gaussian white noise with unit variance, . The matrix is defined by and its off-diagonal elements are responsible for correlations in the noise of different strategic types. In the limit the matrix vanishes with 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.