H$ $GFM: Towards unifying Homogeneity and Heterogeneity on Text-Attributed Graphs

Trung-Kien Nguyen, Heng Ping, Shixuan Li, Peiyu Zhang, Nikos Kanakaris, Nicholas A. Kotov, Paul Bogdan

Main figure for H$ $GFM: Towards unifying Homogeneity and Heterogeneity on Text-Attributed Graphs

Abstract

The growing interest and applications of graph learning in diverse domains have propelled the development of a unified model generalizing well across different graphs and tasks, known as the Graph Foundation Model (GFM). Existing research has leveraged text-attributed graphs (TAGs) to tackle the heterogeneity in node features among graphs. However, it primarily focuses on homogeneous TAGs (HoTAGs), leaving heterogeneous TAGs (HeTAGs), where multiple types of nodes/edges reside, underexplored. To enhance the capabilities and applications of GFM, we introduce H$^2$GFM\, a novel framework designed to generalize across both HoTAGs and HeTAGs. Our model projects diverse meta-relations among graphs under a unified textual space and employs a context encoding to capture spatial and higher-order semantic relationships. To achieve robust node representations, we propose a novel context-adaptive graph transformer (CGT), effectively capturing information from both context neighbors and their relationships. Furthermore, we employ a mixture of CGT experts to capture the heterogeneity in structural patterns among graph types. Comprehensive experiments on a wide range of HoTAGs and HeTAGs as well as learning scenarios demonstrate the effectiveness of our model.

Proposed method: H^2GFM

Benchmark Results

Tested on 1 dataset Non-standard metric on 1 dataset

Tables show presented results in global context (best 3 papers + GCN + MLP).

Heterogeneous Graph Benchmarks

DBLP

Global leaderboard →
Non-default metric. This paper reports Accuracy; the dataset default is Micro-F1. Values below use Accuracy only.

Sorted by Accuracy. Highlighted rows are from other papers.

#ModelAccuracy ↑Paper
1
HG-SCM
0.9490 ±0.0015
2
SeHGNN
0.9489 ±0.0018
3
AdvSynGNN
0.9486 ±0.0012
36
GCN
0.8758 ±0.0020
65
MLP
0.8118 ±0.0020
85
H^2GFM
0.7692 ±0.0108
This paper
110
GFT
0.7223 ±0.0012
This paper
117
OFA
0.6563 ±0.0254
This paper
120
GraphMAE
0.6283 ±0.0091
This paper
130
LLaGA
0.2861 ±0.0046
This paper
131
AnyGraph
0.2615 ±0.0193
This paper
SOTA performance (not significantly different from the best) Proposed method (this paper) Baseline / comparison (this paper) Global context (other papers)