Stochastic Eco-Evolutionary Dynamics of Multivariate Traits

A stochastic neutral baseline for G-matrix orientation

Bob Week
KiTE Postdoc · Schulenburg Group · Kiel University

bobweek.github.io · @bweek.bsky.social

The biological question

Random birth, death and reproduction can change evolution even when individuals have the same expected fitness.

For a single allele, that is random genetic drift.

For many traits, the question is not only:

\[ \text{how much variation remains?} \]

but also:

\[ \text{what direction is the variation pointing?} \]

Today: a neutral stochastic baseline for how drift reshapes multivariate evolutionary potential.

Two objects for this talk

Drift

Drift is random sampling of reproductive success.

It is stronger when effective population size is smaller:

\[ \frac{1}{N_e}=\frac{v}{n}. \]

Here \(v\) is reproductive variance and \(n\) is abundance.

The \(\mathbf G\)-matrix

\(\mathbf G\) summarizes additive genetic variation for several traits:

\[ \mathbf G= \begin{pmatrix} G_{11} & G_{12}\\ G_{12} & G_{22} \end{pmatrix}. \]

Diagonal entries are genetic variances.

Off-diagonal entries are genetic covariances.

Why orientation matters

A genetic correlation is

\[ \rho=\frac{G_{12}}{\sqrt{G_{11}G_{22}}}. \]

It tells us about the orientation of genetic variation.

Under a standard quantitative-genetic approximation,

\[ \Delta\bar{\mathbf z}\propto \mathbf G\boldsymbol\beta, \]

so the same selection gradient can produce different evolutionary responses depending on \(\mathbf G\) orientation.

So a neutral model for \(\mathbf G\) should say something about both amount and orientation of variation.

The classical neutral null

A standard result for drift is

\[ \mathbb E[\mathbf G_t]=\mathbf G_0 e^{-t/N_e}. \]

This says drift erodes heritable variation.

Because every entry shrinks proportionally,

\[ \rho\big(\mathbb E[\mathbf G_t]\big)=\rho(\mathbf G_0). \]

Puzzle: is orientation preserved in typical realized populations, or only in the expectation?

The twist: realized populations are paths

The mean behavior is correct.

But individual populations follow stochastic paths.

For nonlinear summaries,

\[ \mathbb E[\rho(\mathbf G_t)]\neq \rho(\mathbb E[\mathbf G_t]). \]

That gap is where the biology sits.

What needs to be derived

To ask about realized \(\mathbf G\) orientation, we need more than

\[ \mathbb E[\mathbf G_t]. \]

We need a pathwise model for

\[ \mathrm d\mathbf G \quad\text{and then}\quad \mathrm d\rho(\mathbf G). \]

The challenge is that the entries of \(\mathbf G\) do not fluctuate independently.

Their stochastic covariance structure has to come from the same underlying population process.

Strategy: derive \(\mathbf G\) dynamics from a population process

A diffusion approximation separates robust population-level ingredients from microscopic turnover details.

Individual turnover

births, deaths, mutation, reproductive variance

Population diffusion

trait distribution evolves stochastically in \(\mathbb R^d\)

Moment dynamics

\(n\), \(\bar{\mathbf z}\), \(\mathbf G\), and derived quantities

Retained macroscopic ingredients:

\[ \pink{m(\nu,\mathbf z)}\quad\text{growth / selection}, \qquad \lime{\mathbf M}\quad\text{mutation covariance}, \qquad \violet{v}\quad\text{reproductive variance}. \]

Heuristic picture of the diffusion limit

For one useful scaling,

\[ k\left[W^{1/k}(\mathcal P_t^{(k)},\mathbf z)-1\right] \longrightarrow m(\nu_t,\mathbf z). \]

Different individual-based models can share the same limit.

The point is not to keep every microscopic detail; it is to identify what survives at the population scale.

Moment equations are projections of one process

The same stochastic population process gives consistent dynamics for abundance, mean traits and covariance.

\[ \mathrm dn=\pink{\bar m n}\,\mathrm dt+\violet{\sqrt{vn}\,\mathrm dB_n} \]

\[ \mathrm d\bar{\mathbf z}=\pink{\mathrm{Cov}(m,\mathbf z)}\,\mathrm dt +\violet{\sqrt{\frac vn\mathbf P}\,\mathrm d\mathbf B_{\bar{\mathbf z}}} \]

\[\begin{multline} \mathrm d\mathbf P=\Big[\lime{\mathbf M}+\pink{\mathrm{Cov}\big(m,(\mathbf z-\bar{\mathbf z})(\mathbf z-\bar{\mathbf z})^\top\big)}\violet{-\frac vn\mathbf P}\Big]\,\mathrm dt \\ +\violet{\sqrt{\frac vn(\mathbf K-\mathbf P\otimes\mathbf P)}:\mathrm d\mathbf B_{\mathbf P}}. \end{multline}\]

This hierarchy is not closed in general.

Gaussian closure: usable multivariate quantitative genetics

Assume additive genetic values are multivariate normal and traits decompose as

\[ \mathbf z=\mathbf g+\mathbf e, \qquad \mathrm{Cov}(\mathbf z)=\mathbf G+\mathbf E. \]

Then the \(\mathbf G\) dynamics close as

\[\begin{multline} \mathrm d\mathbf G=\bigg[\lime{\mathbf M} +\pink{2\mathbf G(\nabla_{\mathbf G}\bar m-\overline{\nabla_{\mathbf G}m})\mathbf G} \violet{-\frac vn\mathbf G}\bigg]\,\mathrm dt \\ +\violet{\sqrt{\frac vn(\mathbf G\overline\otimes\mathbf G+ \mathbf G\underline\otimes\mathbf G)}:\mathrm d\mathbf B_{\mathbf G}}. \end{multline}\]

This is the part I need for a stochastic neutral model of \(\mathbf G\) orientation.

Neutral \(\mathbf G\)-matrix dynamics under drift

Strip away selection, mutation, recombination and abundance dynamics.

Then the drift-only baseline is

\[ \mathrm d\mathbf G= \violet{-\frac{1}{N_e}\mathbf G\,\mathrm dt} + \violet{\sqrt{\frac{1}{N_e} (\mathbf G\underline\otimes\mathbf G+\mathbf G\overline\otimes\mathbf G)}:\mathrm d\mathbf B}. \]

The deterministic term gives the classical contraction.

The stochastic term gives the missing pathwise orientation dynamics.

From \(\mathbf G\) to genetic correlations

Apply Itô’s formula to

\[ \rho=f(\mathbf G)=\frac{G_{ij}}{\sqrt{G_{ii}G_{jj}}}. \]

The component form is

\[ \mathrm dG_{ij}= -\frac vnG_{ij}\,\mathrm dt +\sqrt{\frac vn\left(G_{ii}G_{jj}+G_{ij}^2\right)}\,\mathrm dB_{G_{ij}}. \]

The Brownian terms covary. The martingale version keeps those covariances correct while combining stochastic terms:

\[ a\,\mathrm d\mathcal M(x)+b\,\mathrm d\mathcal M(y) =\mathrm d\mathcal M(ax+by). \]

Genetic correlations tend towards \(\pm1\)

\[ \mathrm d\rho= \pink{-\frac{1}{2N_e}\rho(1-\rho^2)}\,\mathrm dt + \violet{\sqrt{\frac{1}{N_e}(1-\rho^2)}\,\mathrm dB}. \]

Five replicates starting at \(\rho_0=0\), with \(1/N_e=0.001\)

Evolution of pdf for \(\rho\), with \(1/N_e=0.001\)

Under drift alone in this isolated neutral baseline, realized populations concentrate near extreme genetic correlations.

Why the drift term does not contradict this

The Itô drift term points back toward zero:

\[ -\frac{1}{2N_e}\rho(1-\rho^2). \]

But the diffusion coefficient vanishes at the boundaries:

\[ \sqrt{\frac{1}{N_e}(1-\rho^2)}. \]

So the process spends increasing time near \(\rho=\pm1\).

Equivalently, with \(u=\operatorname{arctanh}(\rho)\),

\[ \mathrm du = \sqrt{\frac{1}{N_e}}\,\frac{1}{\sqrt{1-\rho^2}}\,\mathrm dB. \]

Same expectation, different pathwise reality

Classical expectation:

\[ \mathbb E[\mathbf G_t]=\mathbf G_0e^{-t/N_e} \]

Realized neutral paths:

  • erode heritable variation;
  • alter \(\mathbf G\) orientation;
  • push genetic correlations toward extremes.

The previous null is not wrong. It is an expectation-level null, not a pathwise null for orientation.

Empirical motivation: orientation can scatter under drift

52 Drosophila lines from one ancestor: drift alone scatters genetic correlations across orientations and can flip signs (Phillips et al. 2001)

Outcrossing C. elegans, 240 generations: evolved major axes randomly oriented relative to the ancestor (Mallard et al. 2023)

Explicit recombining extensions are still needed. But these data reinforce the need for a stochastic neutral orientation baseline.

What the framework buys

Not just “moments are useful.”

The useful point is that \(n\), \(\bar{\mathbf z}\) and \(\mathbf G\) are derived from one stochastic population process.

So their stochastic terms and cross-covariances are consistent.

That makes it possible to derive new stochastic dynamics for quantities such as

\[ \rho(\mathbf G),\qquad \bar m(n,\bar{\mathbf z},\mathbf G),\qquad \alpha(\bar{\mathbf z}_1,\bar{\mathbf z}_2), \]

rather than specifying noise terms ad hoc.

Takeaways

  1. Drift contracts \(\mathbf G\) on average, but individual neutral paths can strongly alter orientation.

  2. Genetic correlations tend toward \(\pm1\) in the isolated drift-only baseline.

  3. A stochastic moment framework gives a reusable way to derive pathwise population-level models from underlying turnover.

More in the paper

Numerical implementations: github.com/bobweek/multi-mtgl

Thanks & Questions

Steve Krone, Peter L. Ralph, Hinrich Schulenburg, Patrick C. Phillips, Arne Traulsen, Jonas Wickman, Brendan Bohannan

Backup

Backup: how to choose \(m\)

The framework is useful when a biological problem can be described through growth rates or fitness functions.

Ecological examples

  • Logistic growth + stabilizing selection

\[ m(\nu,\mathbf z)=r-\tfrac12\mathbf z^\top\mathbf\Psi\mathbf z-cn \]

  • Lotka–Volterra interactions

\[ m_i=r_i-\sum_j\alpha_{ij}n_j \]

Evolutionary examples

  • coevolution;
  • evolutionary rescue;
  • host–parasite matching;
  • frequency-dependent interactions;
  • density-dependent eco-evolutionary feedbacks.

Backup: analytical and numerical use

Numerical use:

  • use the Brownian-motion form;
  • integrate with Euler–Maruyama or SDE solvers;
  • see github.com/bobweek/multi-mtgl.

Analytical use:

  • use Itô’s formula for \(\mathrm df(n,\bar{\mathbf z},\mathbf G)\);
  • use martingale rules to combine correlated stochastic terms;
  • avoid inventing independent noise processes where the population process says they covary.

Backup: full Gaussian closure

\[\begin{align} \mathrm dn &= \bar m n\,\mathrm dt+\sqrt{vn}\,\mathrm dB_n,\\ \mathrm d\bar{\mathbf z} &= \mathbf G(\nabla_{\bar{\mathbf z}}\bar m-\overline{\nabla_{\bar{\mathbf z}}m})\,\mathrm dt +\sqrt{\frac vn\mathbf G}\,\mathrm d\mathbf B_{\bar{\mathbf z}},\\ \mathrm d\mathbf G &= \left[\mathbf M+2\mathbf G(\nabla_{\mathbf G}\bar m-\overline{\nabla_{\mathbf G}m})\mathbf G-\frac vn\mathbf G\right]\mathrm dt\\ &\qquad+\sqrt{\frac vn(\mathbf G\overline\otimes\mathbf G+\mathbf G\underline\otimes\mathbf G)}:\mathrm d\mathbf B_{\mathbf G}. \end{align}\]

Backup: formal foundation

The density animation is only a visualization.

The formal object is a measure-valued population process characterized by a martingale problem.

For a test function \(x\),

\[ \mathrm dN_t(x)=N_t(Lx)\,\mathrm dt+\mathrm d\mathcal M_t(x), \]

with quadratic covariation

\[ \mathrm d\mathcal M_t(x)\,\mathrm d\mathcal M_t(y) = v\,N_t(xy)\,\mathrm dt. \]

This is the source of the stochastic covariance structure in the moment equations.

Backup: reproductive variance

\(v=\) reproductive variance

Higher \(v\) means stronger demographic stochasticity and stronger random genetic drift at fixed \(n\).

Backup: fixation intuition

\(v>0\implies\) random genetic drift