Introduction
Deep learning has revolutionized the analysis of high-dimensional biological data, particularly in genomics. Autoencoders (AEs) are frequently employed to denoise and compress complex gene expression profiles into lower-dimensional latent representations. However, these models often function as "black boxes," where the resulting hidden variables lack direct biological interpretation. This lack of transparency hinders clinical translation and experimental validation, as researchers cannot easily discern which specific genes drive the model's internal logic.
To address this challenge, we present XAE4Exp (eXplainable AutoEncoder for Expression data), a framework that integrates deep representation learning with SHapley Additive exPlanations (SHAP). By quantifying the contribution of individual genes to the autoencoder’s latent space, XAE4Exp transforms abstract hidden variables into interpretable biological insights.
Methodology
The XAE4Exp pipeline consists of three primary stages designed to bridge the gap between deep learning and biological discovery:
- Representation Learning: A Deep Autoencoder (DeepAE) with three hidden layers is utilized to compress high-dimensional RNA-Seq data into a concise set of hidden variables. This process effectively captures the essential structure of the data while filtering out noise.
- Quantifying Contribution: To decode the "black box," the framework employs SHAP (specifically the TreeExplainer). A Random Forest Regressor is trained to map the original input genes to the AE’s learned hidden variables. SHAP values are then calculated to assign "credit" to each gene, identifying which features most significantly influence the latent representation.
- Biological Mapping: The high-contribution genes identified by SHAP undergo Over-Representation Analysis (ORA). This step maps the mathematical features back to known biological pathways, such as those involved in immune response or cell death, providing a functional context for the model's findings.
Experimental Setup and Data
The tool was validated using breast cancer gene expression data from The Cancer Genome Atlas (TCGA). The dataset included 1,041 samples. Following quality control and the removal of low-variance genes, the initial feature set of 56,497 genes was refined to 22,920 for analysis.
Key Results and Insights
High Fidelity and Non-linear Capture
The DeepAE achieved an impressive $R^2$ of 97.67%, indicating that the compressed latent space retained nearly all essential information from the original high-dimensional dataset. Because the autoencoder is capable of modeling non-linear relationships, it identifies complex gene-network interactions that linear statistical methods often overlook.
Identifying "Invisible" Drivers
A significant finding was that many top-ranked genes identified by XAE4Exp were not "differentially expressed" (DE). In traditional bioinformatics, these genes are often ignored because their raw expression levels do not vary significantly between conditions. However, XAE4Exp revealed that these genes are critical to the data's underlying structure.
For example, the model identified CUEDC2 as a high-contribution feature. While traditional DE analysis might miss it, existing literature confirms that CUEDC2 interacts with estrogen receptors and plays a pivotal role in promoting endocrine resistance in breast cancer.
Superior Pathway Discovery
XAE4Exp demonstrated a broader discovery capacity compared to traditional methods:
- Pathway Enrichment: XAE4Exp identified 126 enriched pathways, a substantial increase over the 28 pathways found through standard Differential Expression analysis.
- Unique Insights: The tool uncovered 84 unique pathways missed by other methods, particularly in categories related to the immune system and infectious diseases, offering a more comprehensive view of the oncogenic landscape.
- Network Consistency: The results showed a 52% overlap with DiffCoEx (a network-based method), confirming that the AE successfully captures complex, co-expression-like gene interactions.
Conclusion and Future Directions
XAE4Exp provides a robust framework for making deep learning models in genomics more interpretable. By identifying genes that contribute to the data structure regardless of their differential expression status, it opens new avenues for discovering therapeutic targets and biomarkers.
Future iterations of the tool may incorporate Variational Autoencoders (VAEs) for improved causal inference or Graph Autoencoders (GAEs) to better model known gene-to-gene interactions. Additionally, expanding the framework to include other explainers like GBDT or CatBoost will further refine the interpretability of these powerful models across diverse disease types.
Summary updated