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 Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- An LLM-Guided Query-Aware Inference System for GNN Models on Large Knowledge Graphs cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- An LLM-Guided Query-Aware Inference System for GNN Models on Large Knowledge Graphs cites GraphSAINT: Graph Sampling Based Inductive Learning Method
- An LLM-Guided Query-Aware Inference System for GNN Models on Large Knowledge Graphs cites Measuring and Relieving the Over-Smoothing Problem for Graph Neural Networks from the Topological View
- Open Graph Benchmark: Datasets for Machine Learning on Graphs cites DropEdge: Towards Deep Graph Convolutional Networks on Node Classification
- Open Graph Benchmark: Datasets for Machine Learning on Graphs cites GraphSAINT: Graph Sampling Based Inductive Learning Method
- Are we really making much progress?: Revisiting, benchmarking and refining heterogeneous graph neural networks cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
Cited 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
