Interpreting Generative Adversarial Networks to Infer Natural Selection from Genetic Data
Abstract
AO_SCPLOWBSTRACTC_SCPLOWUnderstanding natural selection in humans and other species is a major focus for the use of machine learning in population genetics. Existing methods rely on computationally intensive simulated training data. Unlike efficient neutral coalescent simulations for demographic inference, realistic simulations of selection typically requires slow forward simulations. Because there are many possible modes of selection, a high dimensional parameter space must be explored, with no guarantee that the simulated models are close to the real processes. Mismatches between simulated training data and real test data can lead to incorrect inference. Finally, it is difficult to interpret trained neural networks, leading to a lack of understanding about what features contribute to classification. Here we develop a new approach to detect selection that requires relatively few selection simulations during training. We use a Generative Adversarial Network (GAN) trained to simulate realistic neutral data. The resulting GAN consists of a generator (fitted demographic model) and a discriminator (convolutional neural network). For a genomic region, the discriminator predicts whether it is "real" or "fake" in the sense that it could have been simulated by the generator. As the "real" training data includes regions that experienced selection and the generator cannot produce such regions, regions with a high probability of being real are likely to have experienced selection. To further incentivize this behavior, we "fine-tune" the discriminator with a small number of selection simulations. We show that this approach has high power to detect selection in simulations, and that it finds regions under selection identified by state-of-the art population genetic methods in three human populations. Finally, we show how to interpret the trained networks by clustering hidden units of the discriminator based on their correlation patterns with known summary statistics. In summary, our approach is a novel, efficient, and powerful way to use machine learning to detect natural selection.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 27
- FWCI
- 6.38
- Field percentile
- top 2%
- Organism
- Assay
- Research Focus
- Approach
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
- Automatic inference of demographic parameters using Generative Adversarial Networks
Zhanpeng Wang, Jiaping Wang, … Sara Mathieson·Molecular Ecology ResourcesPeer-reviewed·Mar 20, 2021
- Domain-adaptive neural networks improve supervised machine learning based on simulated population genetic data
Ziyi Mo, Adam C. Siepel·PLoS GeneticsPeer-reviewed·Nov 7, 2023
- This population does not exist: learning the distribution of evolutionary histories with generative adversarial networks
W. W. Booker, D. D. Ray, D. R. Schrider·bioRxiv·Sep 17, 2022
- Popformer: Learning general signatures of positive selection with a self-supervised transformer
Leon Zong, Sorelle A. Friedler, Sara Mathieson·PLoS Computational BiologyPeer-reviewed·Jul 15, 2026
- On convolutional neural networks for selection inference: revealing the lurking role of preprocessing, and the surprising effectiveness of summary statistics
R. M. Cecil, L. A. Sugden·bioRxiv·Feb 26, 2023
- Inference of population genetics parameters using discriminator neural networks: an adversarial Monte Carlo approach
G. Gower, P. Ianez Picazo, … F. Racimo·bioRxiv·Apr 27, 2023