Popformer: Learning general signatures of positive selection with a self-supervised transformer
Abstract
Natural selection lies at the heart of adaptation and evolution. Identifying genomic signals of natural selection can lead to insights about evolutionary pressures acting on populations, and provide an understanding of how populations differentiate. Detecting these signals using only present-day genomic data is difficult, and methods developed for this task often use specialized simulations, trading generalization for power. We show here that adapting deep learning techniques from modern language and image processing can be used to identify signals of selection with both high power and robustness to misspecification. By pre-training our transformer model, Popformer, on real data, we induce learned model representations that are representative of the variation in real data. We fine-tune our model on simulations inferred from European populations, and compare with other machine learning methods and summary statistics. Our results suggest that both our model architecture and our training regime are useful for strong performance in diverse simulation tests and in recovering known selection signatures in real data.
BibTeX
@misc{zong2026popformer,
author = {Leon Zong and Sorelle A. Friedler and Sara Mathieson},
title = {{Popformer: Learning general signatures of positive selection with a self-supervised transformer}},
year = {2026},
doi = {10.64898/2026.03.06.710163},
}Ask Althea to put this paper to the test.
Loading related content...