Lune

NeurIPS2022Top-tier venue

Inductive Logical Query Answering in Knowledge Graphs

Michael Galkin, Zhaocheng Zhu, Hongyu Ren, Jian Tang

Abstract

Formulating and answering logical queries is a standard communication interface for knowledge graphs (KGs). Alleviating the notorious incompleteness of real-world KGs, neural methods achieved impressive results in link prediction and complex query answering tasks by learning representations of entities, relations, and queries. Still, most existing query answering methods rely on transductive entity embeddings and cannot generalize to KGs containing new entities without retraining the entity embeddings. In this work, we study the inductive query answering task where inference is performed on a graph containing new entities with queries over both seen and unseen entities. To this end, we devise two mechanisms leveraging inductive node and relational structure representations powered by graph neural networks (GNNs). Experimentally, we show that inductive models are able to perform logical reasoning at inference time over unseen nodes generalizing to graphs up to 500% larger than training ones. Exploring the efficiency--effectiveness trade-off, we find the inductive relational structure representation method generally achieves higher performance, while the inductive node representation method is able to answer complex queries in the inference-only regime without any training on queries and scales to graphs of millions of nodes. Code is available at https://github.com/DeepGraphLearning/InductiveQE.

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.

7 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

  • Towards Foundation Models for Knowledge Graph Reasoning cites Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction
  • Towards Foundation Models for Knowledge Graph Reasoning cites Inductive Relation Prediction by Subgraph Reasoning
  • Towards Foundation Models for Knowledge Graph Reasoning cites Composition-based Multi-Relational Graph Convolutional Networks
  • Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction cites Inductive Relation Prediction by Subgraph Reasoning
  • Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction cites Composition-based Multi-Relational Graph Convolutional Networks
  • Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction cites Principal Neighbourhood Aggregation for Graph Nets
  • A Foundation Model for Zero-shot Logical Query Reasoning cites Towards Foundation Models for Knowledge Graph Reasoning
  • A Foundation Model for Zero-shot Logical Query Reasoning cites Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction
  • A Foundation Model for Zero-shot Logical Query Reasoning cites Inductive Relation Prediction by Subgraph Reasoning
  • A Foundation Model for Zero-shot Logical Query Reasoning cites Composition-based Multi-Relational Graph Convolutional Networks
  • On the Power of the Weisfeiler-Leman Test for Graph Motif Parameters cites Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction
  • On the Power of the Weisfeiler-Leman Test for Graph Motif Parameters cites Inductive Relation Prediction by Subgraph Reasoning
  • Principal Neighbourhood Aggregation for Graph Nets cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. Towards Foundation Models for Knowledge Graph ReasoningMikhail Galkin, Xinyu Yuan, Hesham Mostafa, Jian Tang et al.ICLR 2024 · 95 citations
  2. Complex Query Answering on Eventuality Knowledge Graph with Implicit Logical ConstraintsJiaxin Bai, Xin Liu, Weiqi Wang, Chen Luo et al.NeurIPS 2023 · 46 citations
  3. A Foundation Model for Zero-shot Logical Query ReasoningMichael Galkin, Jincheng Zhou, Bruno Ribeiro, Jian Tang et al.NeurIPS 2024 · 20 citations
  4. On the Power of the Weisfeiler-Leman Test for Graph Motif ParametersMatthias Lanzinger, Pablo BarcelóICLR 2024 · 11 citations
  5. Deliberation on Priors: Trustworthy Reasoning of Large Language Models on Knowledge GraphsJie Ma, Ning Qu, Zhitao Gao, Rui Xing et al.NeurIPS 2025 · 9 citations

Builds on20

  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. Composition-based Multi-Relational Graph Convolutional NetworksShikhar Vashishth, Soumya Sanyal, Vikram Nitin, Partha P. TalukdarICLR 2020 · 1,105 citations
  3. Principal Neighbourhood Aggregation for Graph NetsGabriele Corso, Luca Cavalleri, Dominique Beaini, Pietro Liò et al.NeurIPS 2020 · 914 citations
  4. Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link PredictionZhaocheng Zhu, Zuobai Zhang, Louis-Pascal A. C. Xhonneux, Jian TangNeurIPS 2021 · 546 citations
  5. Inductive Relation Prediction by Subgraph ReasoningKomal K. Teru, Etienne G. Denis, William L. HamiltonICML 2020 · 493 citations

Related papers

  1. Logical Message Passing Networks with One-hop Inference on Atomic FormulasZihao Wang, Yangqiu Song, Ginny Y. Wong, Simon SeeICLR 2023 · 4 citations
  2. Prediction and Calibration: Complex Reasoning over Knowledge Graph with Bi-directional Directed Acyclic Graph Neural NetworkYao Xu, Shizhu He, Li Cai, Kang Liu et al.ACL Findings 2023 · 1 citation
  3. Neural-Symbolic Entangled Framework for Complex Query AnsweringZezhong Xu, Wen Zhang, Peng Ye, Hui Chen et al.NeurIPS 2022 · 31 citations
  4. Learning Query Adaptive Anchor Representation for Inductive Relation PredictionZhiwen Xie, Yi Zhang, Jin Liu, Guangyou Zhou et al.ACL Findings 2023 · 5 citations
  5. Fuzzy Logic Based Logical Query Answering on Knowledge GraphsXuelu Chen, Ziniu Hu, Yizhou SunAAAI 2022 · 42 citations
Dusk over the sea between two cliffs drawn in fine vertical lines