Lune

ICDE2026Top-tier venue

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 Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. 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
  2. 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
  3. Parallel Training of Knowledge Graph Embedding Models: A Comparison of TechniquesAdrian Kochsiek, Rainer GemullaVLDB 2022 · 33 citations
  4. LinE: Logical Query Reasoning over Hierarchical Knowledge GraphsZijian Huang, Meng-Fen Chiang, Wang-Chien LeeKDD 2022 · 17 citations
  5. RulE: Knowledge Graph Reasoning with Rule EmbeddingXiaojuan Tang, Song-Chun Zhu, Yitao Liang, Muhan ZhangACL Findings 2024 · 13 citations
Dusk over the sea between two cliffs drawn in fine vertical lines