Comprehensive Metapath-based Heterogeneous Graph Transformer for Gene-Disease Association Prediction

Wentao Cui, Shoubo Li, Chen Fang, Qingqing Long, Chengrui Wang, Xuezhi Wang, Yuanchun Zhou

TL;DR

COMET is a new deep learning framework that predicts gene-disease associations by combining biomedical language models (BioGPT) with a heterogeneous graph transformer. By leveraging seven distinct biological "metapaths" and a hierarchical attention mechanism, it captures complex, long-distance relationships in biological networks, significantly outperforming existing state-of-the-art methods.

What Problem Does This Paper Address?

Identifying which genes are linked to which diseases (Gene-Disease Associations, or GDAs) is foundational to modern medicine, helping us understand disease mechanisms and discover new drugs. However, relying solely on traditional wet-lab experiments like genome-wide association studies (GWAS) is incredibly slow and expensive.

To speed things up, researchers use computational graph-learning models to predict these links. But existing methods suffer from three major flaws:

  1. Shallow Node Initialization: They often initialize gene and disease nodes with random or generic values, missing out on rich biomedical context.
  2. Information Loss via Pooling: Most approaches use simple mean or max pooling to aggregate data across networks, which smooths out and erases subtle differences between distant but functionally similar genes.
  3. Poor Semantic Integration: They struggle to simultaneously balance complex network structures, node features, and biological meanings.

Methods

The authors introduce COMET (COmprehensive MEtapath-based heterogeneous graph Transformer) to solve these issues through a multi-step pipeline:

  1. Heterogeneous Network Construction: COMET integrates five massive biological datasets spanning genes, diseases, phenotypes, and ontologies into a single interconnected graph.
  2. LLM-Based Initialization: Instead of random vectors, COMET uses BioGPT—a generative language model pre-trained on large-scale biomedical literature—to initialize node features based on actual gene and disease names.
  3. Metapath Instance Transformers: The model defines seven specific "metapaths" (e.g., Gene-Disease-Gene, Gene-Phenotype-Gene) to guide how information flows. Crucially, instead of averaging these paths, COMET feeds the sequences into a Transformer encoder, preserving node order and capturing long-range structural dependencies.
  4. Hierarchical Attention:
  5. Intra-metapath aggregation: Uses self-attention to weigh the importance of different instances of the same metapath type.
  6. Inter-metapath aggregation: Uses a multi-metapath semantic attention layer to combine information across different metapath types, recognizing that some biological pathways are inherently more informative than others.
Overview of the COMET framework, showing network construction, representation learning, and GDA prediction.

Datasets

The heterogeneous network was constructed using five public databases:

  • HumanNet: 18,462 nodes, ~1.05M edges (Gene-Gene interactions)
  • Gene Ontology (GO): 19,661 nodes, ~290K edges (Gene-Function terms)
  • Human Phenotype Ontology (HPO): 16,870 nodes, ~182K edges (Gene-Phenotype relationships)
  • Disease Ontology (DO): 6,453 nodes, ~13K edges (Disease-Disease similarities)
  • DisGeNet: 21,354 nodes, ~86K edges (Known Gene-Disease associations)

No new benchmarks were introduced; these standard databases were combined to form a comprehensive heterogeneous network.

Key Insights and Ideas

  • LLMs Give Graphs a Head Start: Initializing graph nodes with domain-specific text embeddings (BioGPT) drastically improves downstream link prediction. The language model injects implicit biomedical knowledge that graph structures alone cannot capture.
  • Order Matters in Metapaths: Treating a metapath instance as a sequence for a Transformer rather than a bag-of-nodes for a pooling function prevents information wash-out. It allows the model to respect the exact biological "sentence" structure of a pathway.
  • Direct vs. Indirect Paths: Ablation studies revealed that while direct paths (Gene-Disease-Gene and Disease-Gene-Disease) are the most critical for accuracy, auxiliary paths like those involving Gene Ontology (GO) terms provide vital context that stabilizes and refines predictions.

Key Results

COMET was benchmarked against six state-of-the-art models, including random walk-based methods (dgn2vec, HerGePred), GCN-based methods (GCN, HOGCN), and metapath-based methods (HNEEM, DGP-PGTN).

COMET achieved the best performance across all evaluated metrics:

  • AUC (Area Under ROC): 0.9811 (outperforming the best baseline, DGP-PGTN, at 0.9650)
  • AUPR (Area Under Precision-Recall): 0.9648 (compared to DGP-PGTN's 0.9315)
  • F1-Score: 0.9682

Ablation experiments confirmed that replacing the Transformer aggregator with standard Average or Max pooling caused a noticeable drop in performance, proving the value of the transformer architecture in graph sequence processing.

Limitations and Future Work

While COMET demonstrates powerful predictive capabilities, the authors note two main directions for future improvement:

  1. Attribute Expansion: The current model could be expanded by integrating even more diverse heterogeneous attribute information (such as environmental factors or chemical exposures).
  2. Lack of Experimental Validation: The current study is entirely computational. The authors emphasize that future work must involve validating COMET’s top novel predictions through real-world wet-lab experiments.

Summary updated

BibTeX
@inproceedings{cui2024comprehensive,
  author = {Wentao Cui and Shoubo Li and Chen Fang and Qingqing Long and Chengrui Wang and Xuezhi Wang and Yuanchun Zhou},
  title = {{Comprehensive Metapath-based Heterogeneous Graph Transformer for Gene-Disease Association Prediction}},
  booktitle = {BIBM},
  year = {2024},
  doi = {10.1109/bibm62325.2024.10821892},
}
Figure