Multi-scale inference of genetic trait architecture using biologically annotated neural networks

Pınar Demetçi, Wei Cheng, Gregory Darnell, Xiang Zhou, Sohini Ramachandran, Lorin Crawford

Abstract

In this article, we present Biologically Annotated Neural Networks (BANNs), a nonlinear probabilistic framework for association mapping in genome-wide association (GWA) studies. BANNs are feedforward models with partially connected architectures that are based on biological annotations. This setup yields a fully interpretable neural network where the input layer encodes SNP-level effects, and the hidden layer models the aggregated effects among SNP-sets. We treat the weights and connections of the network as random variables with prior distributions that reflect how genetic effects manifest at different genomic scales. The BANNs software uses variational inference to provide posterior summaries which allow researchers to simultaneously perform (i) mapping with SNPs and (ii) enrichment analyses with SNP-sets on complex traits. Through simulations, we show that our method improves upon state-of-the-art association mapping and enrichment approaches across a wide range of genetic architectures. We then further illustrate the benefits of BANNs by analyzing real GWA data assayed in approximately 2,000 heterogenous stock of mice from the Wellcome Trust Centre for Human Genetics and approximately 7,000 individuals from the Framingham Heart Study. Lastly, using a random subset of individuals of European ancestry from the UK Biobank, we show that BANNs is able to replicate known associations in high and low-density lipoprotein cholesterol content.

Introduction

Most Genome-Wide Association Studies (GWAS) rely on linear models to identify links between genetic variants (SNPs) and traits. While effective, these models often ignore non-additive effects, such as gene-gene interactions (epistasis), and struggle with highly polygenic traits where thousands of small mutations contribute to a single outcome. Conversely, standard neural networks excel at capturing non-linearities but are often "black boxes" lacking the interpretability and statistical significance measures required for genomic research.

Biologically Annotated Neural Networks (BANNs) bridge this gap. By using biological priors to constrain a neural network's architecture, BANNs allow researchers to simultaneously map individual genetic variants and identify enriched gene sets while accounting for complex, non-linear interactions.

The BANN Framework

The core of BANNs is a feedforward probabilistic framework with a "partially connected" architecture. Unlike a standard dense layer where every input connects to every hidden neuron, BANNs restrict connections based on biological reality: a SNP only connects to a hidden neuron if it is physically located within or near the corresponding gene or SNP-set.

Figure 1: Overview of the BANNs framework, illustrating (A) the organization of SNPs into sets based on genomic location, (B) the partially connected neural network architecture mapping SNPs to SNP-sets and then to phenotypes, and (C) the underlying probabilistic model specifications.

This architecture ensures that the hidden layer represents the aggregated effect of a specific genomic region. Key methodological features include:

  • Sparsity Priors: The model employs "spike-and-slab" prior distributions, forcing the model to assume most variants have zero effect and performing variable selection during training.
  • Non-linear Activations: Leaky ReLU functions allow the model to implicitly account for non-additive interactions within SNP-sets.
  • Variational Inference: To scale to massive genomic datasets, the authors implemented a variational Expectation-Maximization (EM) algorithm to provide posterior inclusion probabilities (PIPs) for both SNPs and genes.

Experimental Validation

The study evaluated BANNs across diverse datasets:

  1. Simulated Data: Genotypes from 10,000 UK Biobank individuals were used to test performance across various heritability and interaction levels.
  2. Mouse Data: Analysis of ~2,000 mice from the Wellcome Trust Centre for Human Genetics focused on six quantitative traits, including BMI and immune cell percentages.
  3. Human Data: A discovery phase using ~7,000 individuals from the Framingham Heart Study and a replication phase using 10,000 UK Biobank individuals validated findings related to HDL and LDL cholesterol.

Key Results and Insights

BANNs demonstrated superior power in simulations, consistently detecting causal variants with lower False Discovery Rates (FDR) than state-of-the-art methods like MAGMA and SuSiE. In real-world mouse data, BANNs identified 71 associated SNPs and 57 enriched SNP-sets, flagging genes like Btbd9 for immune traits that additive-only models missed.

Crucially, BANNs perform "multi-scale inference," identifying specific mutations and overall gene enrichment simultaneously within the same model. The framework is also robust to epistasis; in scenarios driven by gene-gene interactions, BANNs significantly outperformed standard linear fine-mapping tools. Furthermore, the development of BANN-SS allows the model to work with summary statistics when raw individual-level data is unavailable.

Limitations and Future Directions

While powerful, BANNs are dependent on the quality of biological annotations; poorly defined gene boundaries or long-range regulation can limit detection. Like many variational methods, BANNs may also exhibit "over-confidence," leading to slightly miscalibrated posterior probabilities. Future work may involve adding deeper layers to represent signaling pathways or incorporating environmental factors to account for Gene-Environment (GxE) interactions.

Summary updated

BibTeX
@inproceedings{demetci2021multi,
  author = {Pınar Demetçi and Wei Cheng and Gregory Darnell and Xiang Zhou and Sohini Ramachandran and Lorin Crawford},
  title = {{Multi-scale inference of genetic trait architecture using biologically annotated neural networks}},
  booktitle = {PLoS},
  year = {2021},
  doi = {10.1371/journal.pgen.1009754},
}
Figure