Related Experiment Video
Updated: Sep 15, 2025

Following the Dynamics of Structural Variants in Experimentally Evolved Populations
Published on: February 3, 2023
Coalescence and Translation: A Language Model for Population Genetics
Kevin Korfmann1, Nathaniel S Pope1, Melinda Meleghy2
1University of Oregon, Institute of Ecology and Evolution, Eugene, USA.
This study introduces cxt, a deep learning model that translates genomic mutation patterns into ancestral relationships. It matches existing methods for population genetics inference, offering scalable and robust analysis.
Area of Science:
- Population genetics
- Computational biology
- Machine learning
Background:
- Probabilistic models like the sequentially Markovian coalescent (SMC) are used for population genetic inference but have limitations in scalability and predefined assumptions.
- Recent advances in deep learning and simulation offer a new approach to infer evolutionary processes from synthetic genetic data.
Purpose of the Study:
- To reframe the inference of coalescence times as a translation problem between genomic mutation patterns and the ancestral recombination graph (ARG).
- To develop and evaluate a deep learning model for scalable and robust population genetic inference.
Main Methods:
- Developed cxt, a decoder-only transformer model inspired by large language models.
- Trained cxt on synthetic genetic data from the stdpopsim catalog.
- Evaluated cxt's performance against state-of-the-art MCMC-based likelihood models.
Main Results:
- cxt performs comparably to state-of-the-art methods across diverse demographic scenarios, including out-of-distribution settings.
- The model demonstrates robust generalization and enables efficient, large-scale inference, generating millions of predictions rapidly.
- cxt provides well-calibrated approximate posterior distributions for uncertainty quantification.
Conclusions:
- cxt offers a flexible and scalable deep learning approach for inferring genealogical history from genomic data.
- This work bridges deep learning and coalescent theory, moving towards a foundation model for population genetics.
- The model's ability to handle diverse scenarios and provide uncertainty estimates enhances its utility in population genetic studies.
Related Concept Videos
What is Population Genetics?
Mutation, Gene Flow, and Genetic Drift
Hardy-Weinberg Principle
Gene Flow
Mechanistic Models: Compartment Models in Algorithms for Numerical Problem Solving
In individual population analyses, different algorithms are employed, such as Cauchy's method, which uses a...
Genetic Drift

