Moment-based approximations for the Wright-Fisher model of population dynamics under natural selection at two linked loci

Zhangyi He, Wenyang Lyu, Mark Beaumont, Feng YubioRxiv 2021 · DOI

TL;DR

This paper introduces two novel moment-based approximations (logistic normal and hierarchical beta) for the Wright-Fisher model, which is fundamental to population genetics. These approximations efficiently capture the dynamics of allele frequencies at two linked genetic loci under natural selection, offering a significant computational speedup over existing diffusion-based methods while avoiding common pitfalls like distribution support issues.

What Problem Does This Paper Address?

Understanding how populations evolve, particularly the interplay between genetic drift and natural selection, is a cornerstone of evolutionary and population genetics. The Wright-Fisher model is a key mathematical framework for this, but accurately inferring evolutionary forces like natural selection from time-series genetic data is challenging. Existing methods that account for genetic recombination and linkage (crucial for understanding how genes on the same chromosome behave together) often rely on diffusion approximations, which are computationally expensive, or moment-based approximations that can suffer from "distribution support issues" (e.g., a normal distribution assigning probability to impossible allele frequencies). This paper aims to bridge this gap by developing more computationally efficient and robust moment-based approximations for the two-locus Wright-Fisher model with selection.

Methods

The core innovation lies in extending existing moment-matching techniques to the two-locus Wright-Fisher model. The authors first derive approximations for the mean and (co)variance of allele frequencies. Then, they propose two novel approximation schemes:

  • Logistic Normal Approximation: This method transforms the allele frequencies to a space where a normal distribution can be applied, then uses an inverse transformation to approximate the original allele frequencies. This helps to avoid the distribution support issues of a direct normal approximation.
  • Hierarchical Beta Approximation: This approach uses a multivariate generalization of the beta distribution, breaking down the problem into conditionally independent beta-distributed levels. This is inspired by previous work but adapted for the two-locus case.

Both methods aim to match the first two moments (mean and variance/covariance) of the Wright-Fisher model to those of the chosen parametric distribution.

Datasets

Not discussed in the paper. The study relies on simulations rather than empirical datasets.

Key Insights and Ideas

  • Bridging the Computational Gap: The paper demonstrates that moment-based approximations can achieve a substantial computational speedup (orders of magnitude) compared to diffusion approximations, making complex evolutionary modeling more accessible.
  • Overcoming Distribution Support Issues: By using logistic normal and hierarchical beta distributions, the authors successfully avoid the problem of assigning probabilities to impossible allele frequency values (e.g., < 0 or > 1), a significant limitation of simpler normal approximations.
  • Hierarchical Beta's Superiority: The hierarchical beta approximation emerges as the most robust and accurate among the moment-based methods, often matching the performance of computationally intensive diffusion approximations.
  • Trade-offs in Approximations: While moment-based approximations are faster, their accuracy can degrade over longer time scales due to error accumulation. The choice of approximation depends on the specific research question and computational constraints.

Key Results

  • The proposed logistic normal and hierarchical beta approximations significantly reduce computational cost compared to diffusion approximations, enabling faster calculation of transition probabilities.
  • The hierarchical beta approximation generally outperforms the logistic normal and Gaussian approximations, especially in terms of accuracy.
  • In simulations, the hierarchical beta approximation achieved accuracy comparable to the diffusion approximation for small recombination rates and large population sizes, while being vastly more computationally efficient.
  • The performance of all moment-based approximations improves with decreasing selection and recombination rates and generally deteriorates with increasing time.

Limitations and Future Work

  • Moment Matching Imperfection: While the hierarchical beta approximation matches the mean and some variances, it cannot perfectly capture the entire covariance structure of the two-locus Wright-Fisher model.
  • Computational Instability: The hierarchical beta approximation can, in rare cases, produce non-positive shape parameters, requiring specific procedures to resolve.
  • Boundary Behavior: The paper notes that current moment-based approximations may not perfectly model fixation or loss of alleles, an area where previous work on single-locus models has shown improvement.
  • Future Directions: The authors suggest exploring other parametric families that can fully capture the covariance structure. They also propose investigating ways to better model the behavior of allele frequencies at the boundaries (fixation/loss), potentially by incorporating techniques like the beta-with-spikes approximation used in single-locus models.

Summary updated

Abstract

Abstract Properly modelling genetic recombination and local linkage has been shown to bring significant improvement to the inference of natural selection from time series data of allele frequencies under a Wright-Fisher model. Existing approaches that can account for genetic recombination and local linkage are built on either the diffusion approximation or a moment-based approximation of the Wright-Fisher model. However, methods based on the diffusion approximation are likely to require much higher computational cost, whereas moment-based approximations may suffer from the distribution support issue: for example, the normal approximation can seriously affect computational accuracy. In the present work, we introduce two novel moment-based approximations of the Wright-Fisher model on a pair of linked loci, both subject to natural selection. Our key innovation is to extend existing methods to account for both the mean and (co)variance of the two-locus Wright-Fisher model with selection. We devise two approximation schemes, using a logistic normal distribution and a hierarchical beta distribution, respectively, by matching the first two moments of the Wright-Fisher model and the approximating model. As compared with the diffusion approximation, our approximations enable the approximate computation of the transition probabilities of the Wright-Fisher model at a far smaller computational cost. We can also avoid the distribution support issue found in the normal approximation.
BibTeX
@misc{he2021moment,
  author = {Zhangyi He and Wenyang Lyu and Mark Beaumont and Feng Yu},
  title = {{Moment-based approximations for the Wright-Fisher model of population dynamics under natural selection at two linked loci}},
  year = {2021},
  doi = {10.1101/2021.01.01.424882},
  howpublished = {bioRxiv},
}

Loading related content...

Figure