Task-Oriented GNNs Training on Large Knowledge Graphs for Accurate and Efficient Modeling
Hussein Abdallah, Waleed Afandi, Panos Kalnis, Essam Mansour
Abstract
A Knowledge Graph (KG) is a heterogeneous graph encompassing a diverse range of node and edge types. Heterogeneous Graph Neural Networks (HGNNs) are popular for training machine learning tasks like node classification and link prediction on KGs. However, HGNN methods exhibit excessive complexity influenced by the KG's size, density, and the number of node and edge types. AI practitioners handcraft a subgraph of a KGrelevant to a specific task. We refer to this subgraph as a task-oriented subgraph (TOSG), which contains a subset of task-related node and edge types in. Training the task using TOSG instead ofalleviates the excessive computation required for a large KG. Crafting the TOSG demands a deep understanding of the KG's structure and the task's objectives. Hence, it is challenging and time-consuming. This paper proposes KG-TOSA, an approach to automate the TOSG extraction for task-oriented HGNN training on a large KG. In KG-TOSA, we define a generic graph pattern that captures the KG's local and global structure relevant to a specific task. We explore different techniques to extract subgraphs matching our graph pattern: namely (i) two techniques sampling around targeted nodes using biased random walk or influence scores, and (ii) a SPARQL-based extraction method leveraging RDF engines' built-in indices. Hence, it achieves negligible preprocessing overhead compared to the sampling techniques. We develop a benchmark of real KGs of large sizes and various tasks for node classification and link prediction. Our experiments show that KG-TOSA helps state-of-the-art HGNN methods reduce training time and memory usage by up to 70% while improving the model performance, e.g., accuracy and inference time.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext dcf2f02a-d03b-48d7-acde-ce043220c365Cited by top-tier papers2
- K-Paths: Reasoning over Graph Paths for Drug Repurposing and Drug Interaction PredictionTassallah Abdullahi, Ioanna Gemou, Nihal V. Nayak, Ghulam Murtaza et al.KDD 2025 · 2 citations
- An LLM-Guided Query-Aware Inference System for GNN Models on Large Knowledge GraphsWaleed Afandi, Hussein Abdallah, Ashraf Aboulnaga, Essam MansourICDE 2026
Builds on14
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
- DropEdge: Towards Deep Graph Convolutional Networks on Node ClassificationYu Rong, Wenbing Huang, Tingyang Xu, Junzhou HuangICLR 2020 · 1,599 citations
- Measuring and Relieving the Over-Smoothing Problem for Graph Neural Networks from the Topological ViewDeli Chen, Yankai Lin, Wei Li, Peng Li et al.AAAI 2020 · 1,353 citations
- GraphSAINT: Graph Sampling Based Inductive Learning MethodHanqing Zeng, Hongkuan Zhou, Ajitesh Srivastava, Rajgopal Kannan et al.ICLR 2020 · 1,155 citations
- Are we really making much progress?: Revisiting, benchmarking and refining heterogeneous graph neural networksQingsong Lv, Ming Ding, Qiang Liu, Yuxiang Chen et al.KDD 2021 · 249 citations
Related papers
- An Efficient Subgraph-Inferring Framework for Large-Scale Heterogeneous GraphsWei Zhou, Hong Huang, Ruize Shi, Kehan Yin et al.AAAI 2024 · 6 citations
- Less is More: One-shot Subgraph Reasoning on Large-scale Knowledge GraphsZhanke Zhou, Yongqi Zhang, Jiangchao Yao, Quanming Yao et al.ICLR 2024
- TIGER: Training Inductive Graph Neural Network for Large-scale Knowledge Graph ReasoningKai Wang, Yuwei Xu, Siqiang LuoVLDB 2024 · 3 citations
- A Universal Question-Answering Platform for Knowledge GraphsReham Omar, Ishika Dhall, Panos Kalnis, Essam MansourSIGMOD 2023 · 48 citations
- Pre-training on Large-Scale Heterogeneous GraphXunqiang Jiang, Tianrui Jia, Yuan Fang, Chuan Shi et al.KDD 2021 · 44 citations
