TY - GEN
T1 - Edge-Centric Heterogeneous Graph Transformer with Vector-Quantized Memory
AU - Zhang, Qiannan
AU - Pei, Shichao
N1 - Publisher Copyright:
© 2025 The Authors.
PY - 2025/10/21
Y1 - 2025/10/21
N2 - Graphs are a powerful medium for solving real-world problems, but graph neural networks (GNNs) face inherent limitations, driving the exploration of graph Transformers. While most existing graph Transformers focus on homogeneous graphs, methods for heterogeneous graphs remain underexplored. Current approaches often overlook edge semantics, essential for capturing diverse patterns, and rely on subgraph sampling, which limits the ability to model global graph patterns effectively. We propose EHFormer, a novel edge-centric heterogeneous graph Transformer. EHFormer encodes relational dependencies using edge-centric sequences and meta-path-aware positional features to capture multi-hop patterns. To address the trade-off between computational efficiency and global context modeling, we introduce a vector-quantized memory mechanism. This mechanism compresses global graph patterns into a compact codebook and empowers integration of global context with local subgraph modeling, enabling EHFormer to encode both local and global patterns. Extensive experiments on benchmark datasets demonstrate that EHFormer achieves state-of-the-art performance, validating its scalability and effectiveness.
AB - Graphs are a powerful medium for solving real-world problems, but graph neural networks (GNNs) face inherent limitations, driving the exploration of graph Transformers. While most existing graph Transformers focus on homogeneous graphs, methods for heterogeneous graphs remain underexplored. Current approaches often overlook edge semantics, essential for capturing diverse patterns, and rely on subgraph sampling, which limits the ability to model global graph patterns effectively. We propose EHFormer, a novel edge-centric heterogeneous graph Transformer. EHFormer encodes relational dependencies using edge-centric sequences and meta-path-aware positional features to capture multi-hop patterns. To address the trade-off between computational efficiency and global context modeling, we introduce a vector-quantized memory mechanism. This mechanism compresses global graph patterns into a compact codebook and empowers integration of global context with local subgraph modeling, enabling EHFormer to encode both local and global patterns. Extensive experiments on benchmark datasets demonstrate that EHFormer achieves state-of-the-art performance, validating its scalability and effectiveness.
UR - https://www.scopus.com/pages/publications/105024439125
UR - https://www.scopus.com/pages/publications/105024439125#tab=citedBy
U2 - 10.3233/FAIA251142
DO - 10.3233/FAIA251142
M3 - Conference contribution
AN - SCOPUS:105024439125
T3 - Frontiers in Artificial Intelligence and Applications
SP - 2850
EP - 2857
BT - ECAI 2025 - 28th European Conference on Artificial Intelligence, including 14th Conference on Prestigious Applications of Intelligent Systems, PAIS 2025 - Proceedings
A2 - Lynce, Ines
A2 - Murano, Nello
A2 - Vallati, Mauro
A2 - Villata, Serena
A2 - Chesani, Federico
A2 - Milano, Michela
A2 - Omicini, Andrea
A2 - Dastani, Mehdi
PB - IOS Press BV
T2 - 28th European Conference on Artificial Intelligence, ECAI 2025, including 14th Conference on Prestigious Applications of Intelligent Systems, PAIS 2025
Y2 - 25 October 2025 through 30 October 2025
ER -