bioRxiv Science⌕ Search

bioRxiv · 10.1101/2025.01.17.633659

The reasonable effectiveness of domain adaptation for inference of introgression

Abstract

Supervised machine learning approaches have proven powerful in population genetics. To use such approaches, training data with known inputs and outputs are required. Since such data are generally unavailable in population genetics, researchers typically rely on simulations under the models of interest to train machine learning algorithms. While powerful, this approach depends heavily on the models used to generate training data. Because of the variety and complexity of processes shaping genetic variation, it is inevitable that not all processes important in an empirical system will be included when generating training data. This leads to a mismatch between the data used to train a machine learning algorithm and the data to which the trained model is ultimately applied--i.e., a domain shift-- and can negatively impact inference. Here, we train a Convolutional Neural Network (CNN) to detect introgression between sister populations and demonstrate that it has near perfect accuracy when applied to data generated under the models used for training. To evaluate the impacts of domain shifts on inference, we generated new data with introgression from a third, unsampled population into one of the two focal populations (i.e., ghost introgression), and accuracy was substantially reduced on these data. Finally, we used domain adaptation, which aims to train a network that performs well in the presence of a domain shift. Notably, this requires no knowledge of the target or empirical domain. Our domain adaptation network was able to accurately detect introgression, even in the presence of unmodelled ghost introgression. We also applied this approach to empirical data to detect introgression between ABC Island brown bears and other populations of brown bears. Previous work has suggested that introgression between ABC Island bears and polar bears can mislead tests of introgression between populations of brown bears. We found that using domain adaptation reduced support for introgression between geographically isolated populations of brown bears, suggesting that our approach reduces false inferences of introgression due to ghost introgression.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Cobb, K., Smith, M. L.. 2025-01-17. The reasonable effectiveness of domain adaptation for inference of introgression. https://doi.org/10.1101/2025.01.17.633659

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Isoform inflation and annotation heterogeneity can confound Kunitz-repertoire comparisons in blood-feeding animals: a gene-level reappraisal

Hematophagy has arisen independently many times across Metazoa, and recurrent anticoagulant protein families in blood-feeders are often read as convergent recruitment - the Kunitz/BPTI domain a paradigm case, with the leech an oft-cited low-Kunitz exception. We re-examine this at the gene level and ask whether a confirmatory cross-phylum test of this blood-feeding/anticoagulant association is feasible with public genomes. Applying an auditable gene-level protocol (one longest-isoform representative per gene; conservation-checked protein to gene mapping) to eight metazoan lineages, we find no consistent, universal elevation of whole-genome gene-level Kunitz-repertoire size in these blood-feeders (blood-feeder median 18 genes vs non-blood-feeder median 39; a descriptive comparison of non-independent taxa, not a formal test). Protein-entry counts inflate gene-level Kunitz counts by up to ~4.6x (mosquito 23 to 5), and neither this inflation nor proteome-wide isoform density (1.0-2.7x) tracks diet, so protein-entry comparisons are an unreliable basis for repertoire claims. Separately, deterministic bookkeeping under a fixed topology and a no-reversal rule counts 12 independent blood-feeding origins (11 if the ancestral lamprey is treated as parasitic with two losses); a non-exhaustive screen of annotated public genomes yielded only one candidate blood/non-blood pair (bedbug), and, under the pre-registered simulation scenario, only a cross-origin heterogeneity endpoint is attainable within a realistic origin ceiling, and only under strong heterogeneity (among-origin SD >= 3-4). An exploratory, feasibility-grade secretome-composition estimate did not meet the pre-registered criterion. We offer a gene-level, annotation-aware re-analysis, a caution about isoform/annotation bias in cross-phylum comparisons, and an account of what current data can and cannot support.

evolutionary biology↗

Denisovan introgression left differential selection regimes in Humans and Neanderthals on the SLC30A9 gene

Signals of positive selection around the SLC30A9 gene have been reported in human populations outside Africa. Selection likely acted on a highly differentiated single-nucleotide polymorphism, rs1047626, leading to a non-synonymous substitution in the encoded zinc transporter. Because of the striking similarity between the putatively selected SLC30A9 haplotype observed in several current human populations and the Denisovan individual, previous work has proposed adaptive introgression. Yet alternative explanations, including ancient human variation, and the precise archaic source -Neanderthal or Denisovan- remained unresolved. Considering the potentially complex evolution of SLC30A9, we applied Approximate Bayesian Computation (ABC) algorithms coupled to machine learning to investigate the most plausible evolutionary origin of this substitution. After modelling different evolutionary scenarios with forward-in-time simulations, our results highlight that the most probable scenario is a Denisovan origin of the rs1047626 polymorphism. However, the allele likely introgressed into Neanderthals first and was then passed into non-African modern humans. Moreover, the derived allele frequency for rs1047626 across several African populations is consistent with back-to-Africa migrations. Finally, our ABC analyses indicate strong positive selection in East Asian populations and other out-of-Africa populations, whereas in Neanderthal populations, the selection coefficient was probably neutral or slightly deleterious.

evolutionary biology↗

Distinct associative learning abilities for colour and odour in the flower-feeding Drosophila elegans and the fruit-feeding Drosophila melanogaster

Animal behaviour is both innately constrained and shaped by learning. This mosaic organization has evolved in response to species-specific ecological demands and may differ between sensory modalities. Flower-visiting animals are a particularly useful system for investigating the relationship between sensory ecology and learning because they rely on multiple floral cues, particularly odour and colour, to locate food sources. However, it remains largely unexplored whether specialization on floral resources entails divergence in learning abilities across sensory modalities. Drosophila elegans is a flower-feeding species that depends heavily on floral resources throughout its life; adults spend much of their time on flowers and larvae develop on fallen flower leaves. Here, we compared odour-reward and colour-reward associative learning between the flower-feeding D. elegans and the fruit-feeding D. melanogaster. We found that, under conditions of equilibrated motivation, odour- and colour-preference, and using the same sugar reward, D. elegans exhibited poorer odour-reward learning performance but better colour-reward learning performance than D. melanogaster. These results suggest that the modality-specific eligibility of sensory information to enter into associations, known as the 'Garcia-effect' in experimental psychology, can evolve oppositely between species. This highlights the relationship between ecological specialization and mnemonic processing, and shows that biological 'intelligence' is not general.

evolutionary biology↗