Lune

KDD2022Top-tier venue

SMORE: Knowledge Graph Completion and Multi-hop Reasoning in Massive Knowledge Graphs

Hongyu Ren, Hanjun Dai, Bo Dai, Xinyun Chen, Denny Zhou, Jure Leskovec, Dale Schuurmans

Abstract

Knowledge graphs (KGs) capture knowledge in the form of head--relation--tail triples and are a crucial component in many AI systems. There are two important reasoning tasks on KGs: (1) single-hop knowledge graph completion, which involves predicting individual links in the KG; and (2), multi-hop reasoning, where the goal is to predict which KG entities satisfy a given logical query. Embedding-based methods solve both tasks by first computing an embedding for each entity and relation, then using them to form predictions. However, existing scalable KG embedding frameworks only support single-hop knowledge graph completion and cannot be applied to the more challenging multi-hop reasoning task. Here we present Scalable Multi-hOp REasoning (SMORE), the first general framework for both single-hop and multi-hop reasoning in KGs. Using a single machine SMORE can perform multi-hop reasoning in Freebase KG (86M entities, 338M edges), which is 1,500x larger than previously considered KGs. The key to SMORE's runtime performance is a novel bidirectional rejection sampling that achieves a square root reduction of the complexity of online training data generation. Furthermore, SMORE exploits asynchronous scheduling, overlapping CPU-based data sampling, GPU-based embedding computation, and frequent CPU--GPU IO. SMORE increases throughput (i.e., training speed) over prior multi-hop KG frameworks by 2.2x with minimal GPU memory requirements (2GB for training 400-dim embeddings on 86M-node Freebase) and achieves near linear speed-up with the number of GPUs. Moreover, on the simpler single-hop knowledge graph completion task SMORE achieves comparable or even better runtime performance to state-of-the-art frameworks on both single GPU and multi-GPU settings.

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.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Mask and Reason: Pre-Training Knowledge Graph Transformers for Complex Logical Queries cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Mask and Reason: Pre-Training Knowledge Graph Transformers for Complex Logical Queries cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
  • Mask and Reason: Pre-Training Knowledge Graph Transformers for Complex Logical Queries cites Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs
  • GammaE: Gamma Embeddings for Logical Queries on Knowledge Graphs cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
  • GammaE: Gamma Embeddings for Logical Queries on Knowledge Graphs cites Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs
  • Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
  • Knowledge Graph Reasoning over Entities and Numerical Values cites Mask and Reason: Pre-Training Knowledge Graph Transformers for Complex Logical Queries
  • Knowledge Graph Reasoning over Entities and Numerical Values cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
  • Knowledge Graph Reasoning over Entities and Numerical Values cites GammaE: Gamma Embeddings for Logical Queries on Knowledge Graphs
  • Knowledge Graph Reasoning over Entities and Numerical Values cites Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Differentiable Neuro-Symbolic Reasoning on Large-Scale Knowledge GraphsShengyuan Chen, Yunfeng Cai, Huang Fang, Xiao Huang et al.NeurIPS 2023 · 56 citations
  2. 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
  3. Representation Learning on Hyper-Relational and Numeric Knowledge Graphs with TransformersChanyoung Chung, Jaejun Lee, Joyce Jiyoung WhangKDD 2023 · 14 citations
  4. GammaE: Gamma Embeddings for Logical Queries on Knowledge GraphsDong Yang, Peijun Qing, Yang Li, Haonan Lu et al.EMNLP 2022 · 14 citations
  5. Knowledge Graph Reasoning over Entities and Numerical ValuesJiaxin Bai, Chen Luo, Zheng Li, Qingyu Yin et al.KDD 2023 · 12 citations

Builds on13

  1. Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
  2. Improving Multi-hop Question Answering over Knowledge Graphs using Knowledge Base EmbeddingsApoorv Saxena, Aditay Tripathi, Partha P. TalukdarACL 2020 · 488 citations
  3. Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box EmbeddingsHongyu Ren, Weihua Hu, Jure LeskovecICLR 2020 · 355 citations
  4. Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge GraphsHongyu Ren, Jure LeskovecNeurIPS 2020 · 267 citations
  5. Graph-Based Reasoning over Heterogeneous External Knowledge for Commonsense Question AnsweringShangwen Lv, Daya Guo, Jingjing Xu, Duyu Tang et al.AAAI 2020 · 224 citations

Related papers

  1. FlashEKGR: Fast Embedding-Based Knowledge Graph Reasoning Models TrainingWentai Zhang, Teng Xu, Weiguang Wang, Junxing Li et al.ICDE 2026
  2. 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
  3. Dynamic Anticipation and Completion for Multi-Hop Reasoning over Sparse Knowledge GraphXin Lv, Xu Han, Lei Hou, Juanzi Li et al.EMNLP 2020 · 57 citations
  4. Neural Methods for Logical Reasoning over Knowledge GraphsAlfonso Amayuelas, Shuai Zhang, Susie Xi Rao, Ce ZhangICLR 2022 · 27 citations
  5. SQUIRE: A Sequence-to-sequence Framework for Multi-hop Knowledge Graph ReasoningYushi Bai, Xin Lv, Juanzi Li, Lei Hou et al.EMNLP 2022 · 19 citations
Dusk over the sea between two cliffs drawn in fine vertical lines