Incorporating Prior Knowledge in Deep Learning Models via Pathway Activity Autoencoders

Pedro Henrique da Costa Avelar, Min Wu, Sophia TsokaarXiv 2023 · DOI

Introduction

In the field of translational medicine, the analysis of high-throughput "omics" data—such as transcriptomics (RNA-seq)—is critical for understanding complex diseases like cancer. However, researchers face a significant challenge: the "low sample-to-feature ratio." A typical dataset may contain expression levels for over 60,000 genes but only include data from approximately 1,000 patients.

Standard deep learning models often overfit in these high-dimensional, low-sample scenarios. Furthermore, deep neural networks are frequently criticized as "black boxes" because they lack biological interpretability. Clinicians require models that not only predict outcomes accurately but also explain the underlying biological mechanisms, such as specific signaling cascades or metabolic pathways driving the disease. This paper introduces Pathway Activity Autoencoders (PAAE) and their generative variant (PAVAE) to address these issues by physically constraining neural network architectures with known biochemical pathways.

Methodology

The authors propose integrating "informed machine learning" into autoencoders (AEs) and variational autoencoders (VAEs). Unlike standard autoencoders that use dense layers connecting every input gene to every node in a compressed latent space, the Pathway Activity Autoencoder (PAAE) architecture replaces the initial dense layer with a set of parallel, smaller encoders.

Comparison of standard Autoencoder (a) and the proposed Pathway Activity Autoencoder (b) architectures.

As shown in the figure above, each mini-encoder ($E_{p_i}$) is restricted to processing only the genes ($x[p_i]$) belonging to a specific, known biological pathway (e.g., the P53 signaling pathway). Each pathway encoder outputs a single pathway activity score ($a[i]$). These scores are concatenated into an intermediate "pathway activity vector" ($a$), which is then further compressed into a final latent space ($z$) and decoded to reconstruct the original gene inputs.

For generative modeling, the Pathway Activity Variational Autoencoder (PAVAE) applies these same biological constraints to a VAE framework. To ensure training stability and prevent "posterior collapse"—a common issue when applying VAEs to omics data—the authors implement a smooth $\beta$-annealing schedule that gradually increases the KL-divergence penalty during training.

Experimental Setup

The models were trained and internally validated using the TCGA Breast Cancer (BRCA) RNA-seq dataset (1,217 samples). To rigorously test the ability to generalize, external validation was performed on the Metabric microarray dataset (1,756 samples). This cross-platform testing (microarray vs. RNA-seq) ensures the model captures robust biological signals rather than technology-specific noise. Prior biological knowledge was sourced from the MSigDB collections, specifically the KEGG set (186 pathways) and Hallmark Genes (50 pathways).

Results and Discussion

The PAAE and PAVAE models demonstrated significant improvements in both performance and interpretability compared to standard baselines. By restricting the network's access to genes within known pathways, the model operates with far fewer parameters—roughly 1.4 to 1.6 million compared to the 4.7 million used by a standard AE. This constraint acts as a powerful regularizer, enhancing generalization.

ROC AUC performance of various models on the external Metabric dataset for breast cancer subtype classification.

On the external Metabric dataset, the PAAE (using KEGG pathways) achieved a ROC AUC of 0.914 for PAM50 breast cancer subtype classification, significantly outperforming the standard AE baseline of 0.858. Notably, while the standard VAE performed poorly (ROC AUC 0.664), the PAVAE "rescued" the generative approach, achieving a highly competitive ROC AUC of 0.912.

Beyond predictive accuracy, the intermediate pathway activity vector ($a$) provides inherent interpretability. The authors found that clustering patients by these learned pathway scores naturally separates them into known clinical subtypes. The model successfully identified pathways such as P53 signaling, Sphingolipid metabolism, and Mismatch repair as highly informative, aligning with established oncological knowledge.

Conclusion and Future Work

By baking biological prior knowledge directly into the model architecture, PAAE and PAVAE achieve state-of-the-art performance with greater parameter efficiency and transparency. While generative models remain slightly harder to stabilize than their non-generative counterparts, the PAVAE framework offers a robust path forward for interpretable omics analysis. Future work will focus on integrating multiple omics levels—such as genomics, proteomics, and epigenomics—to provide a holistic engine for patient stratification.

Summary updated

BibTeX
@misc{avelar2023incorporating,
  author = {Pedro Henrique da Costa Avelar and Min Wu and Sophia Tsoka},
  title = {{Incorporating Prior Knowledge in Deep Learning Models via Pathway Activity Autoencoders}},
  year = {2023},
  eprint = {2306.05813},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.05813},
}
Figure