NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficiently Inferring the Demographic History of Many Populations With Allele Count Data

Jack Kamm, Jonathan Terhorst, Richard Durbin, Yun S. Song

TL;DR

The paper introduces momi2, a highly efficient method for inferring the demographic history of many populations simultaneously. By representing population histories as general directed acyclic graphs (DAGs) rather than simple trees, it can accurately model complex events like admixture and migration for dozens of populations—a feat previously computationally impossible for exact methods.

What Problem Does This Paper Address?

Understanding how populations grew, split, and mixed is a cornerstone of evolutionary biology. Researchers typically use the Sample Frequency Spectrum (SFS)—a multidimensional histogram of allele counts—to infer these histories.

While we have efficient ways to compute the expected SFS for populations related by a simple tree, real-world evolution is messy. Populations often mix (admixture) or exchange migrants. These "reticulate" events turn a simple tree into a complex graph. Until this paper, computing the exact expected SFS for these non-tree-like histories was so computationally expensive that researchers were limited to analyzing only a handful of populations (usually 5 or fewer) at a time.

Methods

The authors developed a new dynamic programming approach implemented in the software package momi2. Key technical innovations include:

  • The Moran Model & Lookdown Construction: Instead of the standard Kingman coalescent, they use a continuous-time Moran model. They employ a "Lookdown Construction," a mathematical trick that makes the stochastic process of allele copying one-way, significantly simplifying the underlying math.
  • Junction Tree Algorithm: To handle the complexity of graphs (DAGs), they decompose the population graph into an "event tree." This allows them to use belief propagation (the sum-product algorithm) to "lift" allele count probabilities backward through time efficiently.
  • Linear Functionals: A major breakthrough is the ability to compute linear functionals of the SFS (like $F_{ST}$, Tajima’s $D$, or Patterson’s $f$-statistics) in the same amount of time it takes to compute a single entry of the SFS.
  • Automatic Differentiation: The software uses automatic differentiation to compute exact gradients, allowing for much faster and more reliable optimization of demographic parameters.

Datasets

The authors validated their method by applying it to a complex 8-population human genomic dataset:

  • Contemporary Populations: Mbuti (African), Han (East Asian), and Sardinian (European).
  • Ancient Populations: Altai Neanderthal, Ust’Ishim (45kya Siberian), LBK (Early European Farmer), Loschbour (Western Hunter-Gatherer), and MA1 (Ancient North Eurasian).
  • Data Source: Genomic data was primarily pulled from the Simons Genome Diversity Project (SGDP) and specific ancient DNA studies, totaling 2.4 million autosomal transversion SNPs.

Key Insights and Ideas

  • Scaling Up Complexity: The method moves the field from "tree-thinking" to "graph-thinking" without sacrificing the ability to handle many populations.
  • The "Basal Eurasian" Mystery: The study focused on the "Basal Eurasian" lineage—a theoretical "ghost" population that contributed to modern Europeans but split off before other non-Africans diverged.
  • Full SFS vs. Summary Stats: By using the full SFS rather than just a few summary statistics (like $f_4$ ratios), the authors could estimate the timing of events, not just their magnitude.

Key Results

  • Admixture Proportions: They estimated that "Basal Eurasian" ancestry in Early European Farmers (LBK) was approximately 9.4%. Interestingly, this is much lower than the ~44% estimated by previous methods, suggesting that using the full SFS provides a more nuanced (and potentially more accurate) picture.
  • Timing of Events: The "Basal Eurasian" admixture was inferred to have occurred roughly 33.7 thousand years ago (kya), shortly after the split between Western Hunter-Gatherers and Early European Farmers.
  • Computational Efficiency: The authors inferred an 8-population model with multiple admixture events in just 2.5 hours on a standard 4-core laptop. No other existing method could perform this exact calculation for a model of this size.
  • Mutation Rate: They estimated a human mutation rate of $1.22 \times 10^{-8}$ per base per generation, which aligns well with other modern estimates.

Limitations and Future Work

  • Sample Size per Population: While momi2 scales exceptionally well with the number of populations, it may be less efficient than diffusion-based methods (like moments) when dealing with a very large number of individuals per population.
  • Linkage Independence: Like most SFS-based methods, it assumes sites are independent (the Poisson Random Field model). It does not explicitly account for Linkage Disequilibrium (LD), though the authors use a block jackknife/bootstrap to handle the resulting statistical dependencies.
  • Model Selection: While the tool can estimate parameters for a given graph, the user still has to provide the graph's topology. Automating the discovery of the "best" graph remains a difficult open problem.

Summary updated

BibTeX
@article{kamm2019efficiently,
  author = {Jack Kamm and Jonathan Terhorst and Richard Durbin and Yun S. Song},
  title = {{Efficiently Inferring the Demographic History of Many Populations With Allele Count Data}},
  journal = {Journal of the American Statistical Association},
  year = {2019},
  doi = {10.1080/01621459.2019.1635482},
}
Figure