Lune

NeurIPS2024Top-tier venue

A Foundation Model for Zero-shot Logical Query Reasoning

Michael Galkin, Jincheng Zhou, Bruno Ribeiro, Jian Tang, Zhaocheng Zhu

Abstract

Complex logical query answering (CLQA) in knowledge graphs (KGs) goes beyond simple KG completion and aims at answering compositional queries comprised of multiple projections and logical operations. Existing CLQA methods that learn parameters bound to certain entity or relation vocabularies can only be applied to the graph they are trained on which requires substantial training time before being deployed on a new graph. Here we present UltraQuery, the first foundation model for inductive reasoning that can zero-shot answer logical queries on any KG. The core idea of UltraQuery is to derive both projections and logical operations as vocabulary-independent functions which generalize to new entities and relations in any KG. With the projection operation initialized from a pre-trained inductive KG reasoning model, UltraQuery can solve CLQA on any KG after finetuning on a single dataset. Experimenting on 23 datasets, UltraQuery in the zero-shot inference mode shows competitive or better query answering performance than best available baselines and sets a new state of the art on 15 of them.

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.

4 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

  • ConRAD: Conformal Risk-Aware Neural Databases cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
  • ConRAD: Conformal Risk-Aware Neural Databases cites Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs
  • Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
  • 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
  • Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
  • Neural Scalable Symbolic Search Framework for Complex Logical Queries with Multiple Free Variables cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
  • Neural Scalable Symbolic Search Framework for Complex Logical Queries with Multiple Free Variables cites Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs
  • Unifying Deductive and Abductive Reasoning in Knowledge Graphs with Masked Diffusion Model cites Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box Embeddings
  • Unifying Deductive and Abductive Reasoning in Knowledge Graphs with Masked Diffusion Model cites Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs
  • SEMMA: A Semantic Aware Knowledge Graph Foundation Model cites Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Prediction
  • SEMMA: A Semantic Aware Knowledge Graph Foundation Model cites Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs
  • SEMMA: A Semantic Aware Knowledge Graph Foundation Model cites Inductive Relation Prediction by Subgraph Reasoning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Unifying Deductive and Abductive Reasoning in Knowledge Graphs with Masked Diffusion ModelYisen Gao, Jiaxin Bai, Yi Huang, Xingcheng Fu et al.WWW 2026 · 3 citations
  2. ConRAD: Conformal Risk-Aware Neural DatabasesSonia Horchidan, Fabian Zeiher, Xiangyu Shi, Vasiliki Kalavri et al.VLDB 2026
  3. Neural Scalable Symbolic Search Framework for Complex Logical Queries with Multiple Free VariablesWeizhi Fei, Hang Yin, Zihao Wang, Shukai Zhao et al.KDD 2026
  4. SEMMA: A Semantic Aware Knowledge Graph Foundation ModelArvindh Arun, Sumit Kumar, Mojtaba Nayyeri, Bo Xiong et al.EMNLP 2025

Builds on27

  1. Composition-based Multi-Relational Graph Convolutional NetworksShikhar Vashishth, Soumya Sanyal, Vikram Nitin, Partha P. TalukdarICLR 2020 · 1,105 citations
  2. 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
  3. Inductive Relation Prediction by Subgraph ReasoningKomal K. Teru, Etienne G. Denis, William L. HamiltonICML 2020 · 493 citations
  4. Query2box: Reasoning over Knowledge Graphs in Vector Space Using Box EmbeddingsHongyu Ren, Weihua Hu, Jure LeskovecICLR 2020 · 355 citations
  5. Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge GraphsHongyu Ren, Jure LeskovecNeurIPS 2020 · 267 citations

Related papers

  1. Inductive Logical Query Answering in Knowledge GraphsMichael Galkin, Zhaocheng Zhu, Hongyu Ren, Jian TangNeurIPS 2022 · 36 citations
  2. Towards Foundation Models for Knowledge Graph ReasoningMikhail Galkin, Xinyu Yuan, Hesham Mostafa, Jian Tang et al.ICLR 2024 · 95 citations
  3. Enhancing Complex Reasoning in Knowledge Graph Question Answering through Query Graph ApproximationHongjun Jeong, Minji Kim, Heesoo Jung, Ko Keun Kim et al.ACL Findings 2025 · 3 citations
  4. Enhancing Transformers for Generalizable First-Order Logical EntailmentTianshi Zheng, Jiazheng Wang, Zihao Wang, Jiaxin Bai et al.ACL 2025 · 7 citations
  5. NQE: N-ary Query Embedding for Complex Query Answering over Hyper-Relational Knowledge GraphsHaoran Luo, Haihong E, Yuhao Yang, Gengxian Zhou et al.AAAI 2023 · 13 citations
Dusk over the sea between two cliffs drawn in fine vertical lines