Efficient Detection and Characterization of Targets of Natural Selection Using Transfer Learning
- PMID: 40341942
- PMCID: PMC12062966
- DOI: 10.1093/molbev/msaf094
Efficient Detection and Characterization of Targets of Natural Selection Using Transfer Learning
Abstract
Natural selection leaves detectable patterns of altered spatial diversity within genomes, and identifying affected regions is crucial for understanding species evolution. Recently, machine learning approaches applied to raw population genomic data have been developed to uncover these adaptive signatures. Convolutional neural networks (CNNs) are particularly effective for this task, as they handle large data arrays while maintaining element correlations. However, shallow CNNs may miss complex patterns due to their limited capacity, while deep CNNs can capture these patterns but require extensive data and computational power. Transfer learning addresses these challenges by utilizing a deep CNN pretrained on a large dataset as a feature extraction tool for downstream classification and evolutionary parameter prediction. This approach reduces extensive training data generation requirements and computational needs while maintaining high performance. In this study, we developed TrIdent, a tool that uses transfer learning to enhance detection of adaptive genomic regions from image representations of multilocus variation. We evaluated TrIdent across various genetic, demographic, and adaptive settings, in addition to unphased data and other confounding factors. TrIdent demonstrated improved detection of adaptive regions compared to recent methods using similar data representations. We further explored model interpretability through class activation maps and adapted TrIdent to infer selection parameters for identified adaptive candidates. Using whole-genome haplotype data from European and African populations, TrIdent effectively recapitulated known sweep candidates and identified novel cancer, and other disease-associated genes as potential sweeps.
Keywords: convolutional neural networks; logistic regression; natural selection; population genomics; transfer learning.
© The Author(s) 2025. Published by Oxford University Press on behalf of Society for Molecular Biology and Evolution.
Figures
Update of
-
Efficient detection and characterization of targets of natural selection using transfer learning.bioRxiv [Preprint]. 2025 Mar 6:2025.03.05.641710. doi: 10.1101/2025.03.05.641710. bioRxiv. 2025. Update in: Mol Biol Evol. 2025 Apr 30;42(5):msaf094. doi: 10.1093/molbev/msaf094. PMID: 40093065 Free PMC article. Updated. Preprint.
References
-
- Abadi M, Agarwal A, Barham P, Brevdo E, Chen Z, Citro C, Corrado G, Davis A, Dean J, Devin M, et al. 2015. TensorFlow: large-scale machine learning on heterogeneous systems. Software available from tensorflow.org. https://www.tensorflow.org/.
-
- Alberts B, Johnson A, Lewis J, Raff M, Roberts K, Walter P. The cytoskeleton and cell behavior. In: Molecular biology of the cell. 4th ed. New York (NY): Garland Science; 2002.
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources
