FlashEKGR: Fast Embedding-Based Knowledge Graph Reasoning Models Training
Wentai Zhang, Teng Xu, Weiguang Wang, Junxing Li, Jun Zhang, Yifan Zhu, Haihong E
摘要
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.
问问这篇 Paper
问问你的智能体。
Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。
相关 Paper
- Atom: An Efficient Query Serving System for Embedding-based Knowledge Graph Reasoning with Operator-level BatchingQihui Zhou, Peiqi Yin, Xiao Yan, Changji Li 等SIGMOD 2025 · 被引用 18 次
- SMORE: Knowledge Graph Completion and Multi-hop Reasoning in Massive Knowledge GraphsHongyu Ren, Hanjun Dai, Bo Dai, Xinyun Chen 等KDD 2022 · 被引用 31 次
- LinE: Logical Query Reasoning over Hierarchical Knowledge GraphsZijian Huang, Meng-Fen Chiang, Wang-Chien LeeKDD 2022 · 被引用 17 次
- Parallel Training of Knowledge Graph Embedding Models: A Comparison of TechniquesAdrian Kochsiek, Rainer GemullaVLDB 2022 · 被引用 33 次
- Mask and Reason: Pre-Training Knowledge Graph Transformers for Complex Logical QueriesXiao Liu, Shiyu Zhao, Kai Su, Yukuo Cen 等KDD 2022 · 被引用 38 次
