Class-Conditional VAE-GAN for Local-Ancestry Simulation

Daniel Mas Montserrat, Carlos D. Bustamante, Alexander G. IoannidisarXiv 2019

Abstract

Local ancestry inference (LAI) allows identification of the ancestry of all chromosomal segments in admixed individuals, and it is a critical step in the analysis of human genomes with applications from pharmacogenomics and precision medicine to genome-wide association studies. In recent years, many LAI techniques have been developed in both industry and academic research. However, these methods require large training data sets of human genomic sequences from the ancestries of interest. Such reference data sets are usually limited, proprietary, protected by privacy restrictions, or otherwise not accessible to the public. Techniques to generate training samples that resemble real haploid sequences from ancestries of interest can be useful tools in such scenarios, since a generalized model can often be shared, but the unique human sample sequences cannot. In this work we present a class-conditional VAE-GAN to generate new human genomic sequences that can be used to train local ancestry inference (LAI) algorithms. We evaluate the quality of our generated data by comparing the performance of a state-of-the-art LAI method when trained with generated versus real data.

Introduction

Local Ancestry Inference (LAI) is essential for identifying the ancestral origins of specific DNA segments, particularly in admixed populations. This process is fundamental to precision medicine and understanding disease genetics. However, the field faces a significant "data bottleneck": over 80% of genomic studies focus on individuals of European ancestry, and diverse datasets are often restricted by privacy or proprietary concerns. To address this, we propose a class-conditional VAE-GAN architecture to generate high-quality synthetic genomic sequences that can serve as shareable, privacy-preserving training data for LAI algorithms.

Methods

The proposed architecture combines a Variational Autoencoder (VAE) with a Generative Adversarial Network (GAN) to produce realistic Single Nucleotide Polymorphism (SNP) sequences.

Architecture

  1. Variational Autoencoder (VAE): An encoder compresses genomic sequences into a low-dimensional latent space, while a decoder reconstructs the sequence.
  2. Generative Adversarial Network (GAN): A discriminator network challenges the decoder (acting as a generator) to distinguish between real and synthetic sequences.
The class-conditional GAN component uses a discriminator to ensure generated sequences are indistinguishable from real ones.

Key Features

  • Class-Conditionality: The model is conditioned on ancestry labels (African, European, and East Asian), allowing targeted generation of specific ancestral profiles.
  • Windowed Processing: The genome is split into fixed-size, non-overlapping windows to manage computational complexity.
  • Hybrid Loss: Training utilizes both VAE reconstruction error and GAN adversarial loss to ensure both accuracy and realistic genetic correlations (linkage disequilibrium).

Dataset and Simulation

The model was validated using simulated data from the msprime tool, modeling African, European, and East Asian populations. The study focused on chromosome 20, using 300 simulated diploid individuals for training and 100 admixed descendants for testing.

Results and Discussion

The primary finding is that the VAE-GAN generated data serves as a near-perfect substitute for real data in training LAI tools like RFMix. While a standard VAE often produces "blurry" results, the addition of the GAN's adversarial loss forces the model to capture the sharp genetic correlations necessary for accurate ancestry inference.

RFMix performance comparison showing that VAE-GAN generated data achieves testing accuracy nearly identical to real data.

As shown in the results, the VAE-GAN approach significantly outperforms the VAE-only method, closing the performance gap relative to real "Out-of-Africa" data. Specifically, the RFMix testing accuracy reached 97.72% when trained on VAE-GAN data, compared to 97.75% for real data.

Conclusion

This work demonstrates that class-conditional VAE-GANs can generate synthetic genomic sequences high enough in quality to train state-of-the-art LAI algorithms. This approach offers a path forward for genomic research in under-served populations by providing a method to share generative models that preserve the privacy of the original source data. Future work will involve validating this architecture on real human genomic sequences and exploring its utility in data imputation and demographic history interpretation.

Summary updated

BibTeX
@misc{montserrat2019class,
  author = {Daniel Mas Montserrat and Carlos D. Bustamante and Alexander G. Ioannidis},
  title = {{Class-Conditional VAE-GAN for Local-Ancestry Simulation}},
  year = {2019},
  eprint = {1911.13220},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.13220},
}
Figure