Skip to main content
bioRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search
New Results

Interpreting Generative Adversarial Networks to Infer Natural Selection from Genetic Data

Rebecca Riley, Iain Mathieson, View ORCID ProfileSara Mathieson
doi: https://doi.org/10.1101/2023.03.07.531546
Rebecca Riley
1Department of Computer Science, Haverford College, Haverford PA, 19041 USA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Iain Mathieson
2Department of Genetics, Perelman School of Medicine, University of Pennsylvania, Philadelphia PA, 19104 USA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Sara Mathieson
1Department of Computer Science, Haverford College, Haverford PA, 19041 USA
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Sara Mathieson
  • For correspondence: smathieson@haverford.edu
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Supplementary material
  • Data/Code
  • Preview PDF
Loading

Abstract

Understanding 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.

Competing Interest Statement

The authors have declared no competing interest.

Footnotes

  • Method revised to include fine-tuning with selection simulations.

  • https://github.com/mathiesonlab/disc-pg-gan

Copyright 
The copyright holder for this preprint is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made available under a CC-BY-NC 4.0 International license.
Back to top
PreviousNext
Posted July 09, 2023.
Download PDF

Supplementary Material

Data/Code
Email

Thank you for your interest in spreading the word about bioRxiv.

NOTE: Your email address is requested solely to identify you as the sender of this article.

Enter multiple addresses on separate lines or separate them with commas.
Interpreting Generative Adversarial Networks to Infer Natural Selection from Genetic Data
(Your Name) has forwarded a page to you from bioRxiv
(Your Name) thought you would like to see this page from the bioRxiv website.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Share
Interpreting Generative Adversarial Networks to Infer Natural Selection from Genetic Data
Rebecca Riley, Iain Mathieson, Sara Mathieson
bioRxiv 2023.03.07.531546; doi: https://doi.org/10.1101/2023.03.07.531546
Reddit logo Twitter logo Facebook logo LinkedIn logo Mendeley logo
Citation Tools
Interpreting Generative Adversarial Networks to Infer Natural Selection from Genetic Data
Rebecca Riley, Iain Mathieson, Sara Mathieson
bioRxiv 2023.03.07.531546; doi: https://doi.org/10.1101/2023.03.07.531546

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Subject Area

  • Genomics
Subject Areas
All Articles
  • Animal Behavior and Cognition (4658)
  • Biochemistry (10313)
  • Bioengineering (7640)
  • Bioinformatics (26242)
  • Biophysics (13481)
  • Cancer Biology (10650)
  • Cell Biology (15363)
  • Clinical Trials (138)
  • Developmental Biology (8468)
  • Ecology (12777)
  • Epidemiology (2067)
  • Evolutionary Biology (16794)
  • Genetics (11373)
  • Genomics (15431)
  • Immunology (10581)
  • Microbiology (25087)
  • Molecular Biology (10172)
  • Neuroscience (54234)
  • Paleontology (398)
  • Pathology (1660)
  • Pharmacology and Toxicology (2884)
  • Physiology (4328)
  • Plant Biology (9214)
  • Scientific Communication and Education (1582)
  • Synthetic Biology (2545)
  • Systems Biology (6761)
  • Zoology (1459)