bioRxivEvolutionary Biology
Geometry of the sample frequency spectrum and the perils of demographic inference
Abstract
The sample frequency spectrum (SFS), which describes the distribution of mutant alleles in a sample of DNA sequences, is a widely used summary statistic in population genetics. The expected SFS has a strong dependence on the historical population demography and this property is exploited by popular statistical methods to infer complex demographic histories from DNA sequence data. Most, if not all, of these inference methods exhibit pathological behavior, however. Specifically, they often display runaway behavior in optimization, where the inferred population sizes and epoch durations can degenerate to 0 or diverge to infinity, and show undesirable sensitivity of the inferred demography to perturbations in the data. The goal of this paper is to provide theoretical insights into why such problems arise. To this end, we characterize the geometry of the expected SFS for piecewise-constant demographic histories and use our results to show that the aforementioned pathological behavior of popular inference methods is intrinsic to the geometry of the expected SFS. We provide explicit descriptions and visualizations for a toy model with sample size 4, and generalize our intuition to arbitrary sample sizes n using tools from convex and algebraic geometry. We also develop a universal characterization result which shows that the expected SFS of a sample of size n under an arbitrary population history can be recapitulated by a piecewise-constant demography with only{kappa} n epochs, where{kappa} n is between n/2 and 2n - 1. The set of expected SFS for piecewise-constant demographies with fewer than{kappa} n epochs is open and non-convex, which causes the above phenomena for inference from data.
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Blockbuster meets the theoretical limit of genome-wide SFS-based inference of recent demography
Abdelmajid Omarjee, Amaury Lambert, Guillaume Achaz·bioRxiv·Mar 18, 2026
- Efficiently inferring the demographic history of many populations with allele count data
J. A. Kamm, J. Terhorst, … Y. S. Song·bioRxiv·Mar 23, 2018
- Exact calculation of the expected SFS in structured populations
Armando Arredondo, Josué M. Corujo, … Olivier Mazet·Theoretical Population BiologyPeer-reviewed·Jun 1, 2025
- Accuracy of demographic inferences from Site Frequency Spectrum: The case of the Yoruba population
M. Lapierre, A. Lambert, G. Achaz·bioRxiv·Sep 30, 2016
- Inference of population demographic history captures differing evolutionary signals based on the number of individuals in the dataset
Jonathan C. Mah, Kirk E. Lohmueller·bioRxiv·Apr 8, 2026
- On the decidability of population size histories from finite allele frequency spectra
Soheil Baharian, Simon Gravel·Theoretical Population BiologyPeer-reviewed·Jan 3, 2018