[Paper Review] Incorporating Biological Knowledge with Factor Graph Neural Network for Interpretable Deep Learning
This paper proposes the Factor Graph Neural Network (FGNN), an interpretable deep learning model that integrates Gene Ontology knowledge into its architecture using factor graphs, enabling transparent, biologically meaningful representations. By unrolling the model with stochastic depth and incorporating an attention mechanism for multi-scale interactions, FGNN achieves state-of-the-art performance on cancer genomic datasets while identifying key Gene Ontology terms linked to clinical outcomes.
While deep learning has achieved great success in many fields, one common criticism about deep learning is its lack of interpretability. In most cases, the hidden units in a deep neural network do not have a clear semantic meaning or correspond to any physical entities. However, model interpretability and explainability are crucial in many biomedical applications. To address this challenge, we developed the Factor Graph Neural Network model that is interpretable and predictable by combining probabilistic graphical models with deep learning. We directly encode biological knowledge such as Gene Ontology as a factor graph into the model architecture, making the model transparent and interpretable. Furthermore, we devised an attention mechanism that can capture multi-scale hierarchical interactions among biological entities such as genes and Gene Ontology terms. With parameter sharing mechanism, the unrolled Factor Graph Neural Network model can be trained with stochastic depth and generalize well. We applied our model to two cancer genomic datasets to predict target clinical variables and achieved better results than other traditional machine learning and deep learning models. Our model can also be used for gene set enrichment analysis and selecting Gene Ontology terms that are important to target clinical variables.
Motivation & Objective
- To address the lack of interpretability in deep learning models for biomedical applications, where hidden units lack semantic meaning.
- To improve model generalization in 'big p, small n' biomedical problems by incorporating biological knowledge as inductive bias.
- To develop a deep learning framework that is both highly expressive and interpretable by embedding domain-specific knowledge directly into the model architecture.
- To enable the identification of biologically relevant Gene Ontology terms associated with clinical variables through learnable attention weights and classifier weights.
Proposed method
- The model uses a factor graph structure to represent biological knowledge, where nodes correspond to genes or Gene Ontology (GO) terms, and edges represent biological relationships.
- The FGNN is unrolled into a deep, feedforward architecture with shared weights across layers, enabling training via stochastic depth and improving generalization.
- An attention mechanism is introduced to capture hierarchical, multi-scale interactions between genes and GO terms, allowing the model to focus on relevant biological pathways.
- Parameter sharing across layers reduces model complexity while preserving expressive power, making the model trainable even with limited data.
- The final layer is a linear classifier whose weights are used to identify the most predictive GO terms, enabling interpretability and gene set enrichment analysis.
- The model is trained end-to-end using backpropagation, with the factor graph structure serving as the inductive bias to guide representation learning.
Experimental results
Research questions
- RQ1Can incorporating Gene Ontology as a structural inductive bias improve interpretability and performance in deep learning models for genomics?
- RQ2How does the attention mechanism in FGNN capture hierarchical relationships between genes and GO terms in a multi-scale manner?
- RQ3To what extent does the FGNN outperform traditional and deep learning baselines in predicting clinical variables from genomic data?
- RQ4Can the learned weights in the final classifier identify biologically relevant GO terms associated with disease status?
- RQ5Does randomizing the GO structure degrade model performance, thereby validating the importance of biological knowledge in the model architecture?
Key findings
- The FGNN achieved the highest F1 scores on both lung and kidney cancer datasets, with 0.566 and 0.563 respectively, outperforming Random Forest, MLP, GCN, and Prototypical Network.
- Randomizing the GO-based factor graph structure reduced the F1 score to 0.539 (lung) and 0.532 (kidney), demonstrating that biological knowledge is essential for performance.
- On the kidney cancer dataset, both FGNN and MLP achieved 98% accuracy in classifying tumor vs. normal samples, but only FGNN provided interpretable feature importance via learned GO term weights.
- After training, only a small subset of GO terms (e.g., GO:0030574, C-type mannose receptor 2) had high absolute weights, indicating strong association with tumor status.
- The top 10 GO terms with highest absolute weights were biologically relevant to kidney cancer, as confirmed by domain experts, validating the model's interpretability.
- The attention mechanism enabled the model to learn meaningful, hierarchical relationships between genes and GO terms, enhancing its ability to capture complex biological interactions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.