FlashEKGR: Fast Embedding-Based Knowledge Graph Reasoning Models Training
Wentai Zhang, Teng Xu, Weiguang Wang, Junxing Li, Jun Zhang, Yifan Zhu, Haihong E
Abstract
Embedding-based Knowledge Graph Reasoning (EKGR) models embed entities, relations, and queries into a unified vector space for logical reasoning. However, their training suffers from severe inefficiencies due to redundant computations, I/O bottlenecks, and unoptimized GPU kernels. To address this, we propose FlashEKGR, a multi-level co-optimization framework designed to unleash the full potential of modern hardware for EKGR training. At the logical level, we propose Logical Operator Parallelism (LOP) to eliminate redundant computations and I/O by merging common logic operator prefixes in query structures. At the dataflow level, we design a Staleness-Free Pipeline (SFP) to effectively overlap the latency of data preparation with model computation. At the GPU execution level, we introduce two key techniques: Layout-Aware Kernel Design (LAK), which resolves the memory-access inefficiency caused by the asymmetric data layouts inherent in negative samples, and Dynamic CUDA Graph Caching (DGC), which significantly reduces kernel launch overhead for dynamic query structures. Extensive experiments on public datasets show that FlashEKGR achieves end-to-end speedups ranging from 2.06× to 5.67× over state-of-the-art frameworks, while maintaining reasoning accuracy. Our code is released at https://github.com/BUPT-Reasoning-Lab/FlashEKGR.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get ac89d27d-b351-4831-8296-b4b5efa768cdRelated papers
- Atom: An Efficient Query Serving System for Embedding-based Knowledge Graph Reasoning with Operator-level BatchingQihui Zhou, Peiqi Yin, Xiao Yan, Changji Li et al.SIGMOD 2025 · 18 citations
- SMORE: Knowledge Graph Completion and Multi-hop Reasoning in Massive Knowledge GraphsHongyu Ren, Hanjun Dai, Bo Dai, Xinyun Chen et al.KDD 2022 · 31 citations
- LinE: Logical Query Reasoning over Hierarchical Knowledge GraphsZijian Huang, Meng-Fen Chiang, Wang-Chien LeeKDD 2022 · 17 citations
- Parallel Training of Knowledge Graph Embedding Models: A Comparison of TechniquesAdrian Kochsiek, Rainer GemullaVLDB 2022 · 33 citations
- Mask and Reason: Pre-Training Knowledge Graph Transformers for Complex Logical QueriesXiao Liu, Shiyu Zhao, Kai Su, Yukuo Cen et al.KDD 2022 · 38 citations
