GeneticsGeneticsPeer-reviewed journal article
Dimensionality Reduction of Genetic Data using Contrastive Learning
Abstract
We introduce a framework for using contrastive learning for dimensionality reduction on genetic datasets to create PCA-like population visualizations. Contrastive learning is a self-supervised deep learning method that uses similarities between samples to train the neural network to discriminate between samples. Many of the advances in these types of models have been made for computer vision, but some common methodology does not translate well from image to genetic data. We define a loss function that outperforms loss functions commonly used in contrastive learning, and a data augmentation scheme tailored specifically towards SNP genotype datasets. We compare the performance of our method to PCA and contemporary non-linear methods with respect to how well they preserve local and global structure, and how well they generalize to new data. Our method displays good preservation of global structure and has improved generalization properties over t-SNE, UMAP, and popvae, while preserving relative distances between individuals to a high extent. A strength of the deep learning framework is the possibility of projecting new samples and fine-tuning to new datasets using a pre-trained model without access to the original training data, and the ability to incorporate more domain-specific information in the model. We show examples of population classification on two datasets of dog and human genotypes.
- organism: human
- organism: multiple species
- assay: whole-genome sequencing
- research focus: dimensionality reduction
- approach: contrastive learning
- approach: deep learning
- Citations
- 8
- FWCI
- 4.68
- Field percentile
- top 5%
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
- A deep learning framework for characterization of genotype data
Kristiina Ausmees, Carl Nettelblad·G3 Genes Genomes GeneticsPeer-reviewed·Jan 25, 2022
- A generative model for dimensionality reduction with millions of features and few samples
Corrado Pancotti, Piero Fariselli, … Anders Krogh·bioRxiv·Aug 9, 2026
- Visualizing Population Structure with Variational Autoencoders
Christopher Jon Battey, Gabrielle C. Coffing, Andrew D. Kern·G3 Genes Genomes GeneticsPeer-reviewed·Jan 1, 2021
- The Rayleigh Quotient and Principal Component Analysis I
Maria Carilli, Kayla C. Jackson, Lior S. Pachter·bioRxiv·Nov 19, 2025
- Deep Variational Autoencoders for Population Genetics
Margarita Geleta, Daniel Mas Montserrat, … Alexander G. Ioannidis·Genome ResearchPeer-reviewed·Jan 20, 2026
- Application of t-SNE to Human Genetic Data
Wentian Li, Jane E. Cerise, … Henry Han·Journal of Bioinformatics and Computational BiologyPeer-reviewed·Jun 23, 2017