mlsanityData to 7 Oct 2026

Answering Complex Logical Queries on Knowledge Graphs via Query Computation Tree Optimization

arXiv 2212.09567 ↗First posted 19 Dec 2022cs.LG cs.AI cs.DBcited by 28

Not on the map. Why?

Abstract (arXiv)

Answering complex logical queries on incomplete knowledge graphs is a challenging task, and has been widely studied. Embedding-based methods require training on complex queries, and cannot generalize well to out-of-distribution query structures. Recent work frames this task as an end-to-end optimization problem, and it only requires a pretrained link predictor. However, due to the exponentially large combinatorial search space, the optimal solution can only be approximated, limiting the final accuracy. In this work, we propose QTO (Query Computation Tree Optimization) that can efficiently find the exact optimal solution. QTO finds the optimal solution by a forward-backward propagation on the tree-like computation graph, i.e., query computation tree. In particular, QTO utilizes the independence encoded in the query computation tree to reduce the search space, where only local computations are involved during the optimization procedure. Experiments on 3 datasets show that QTO obtains state-of-the-art performance on complex query answering, outperforming previous best results by an average of 22%. Moreover, QTO can interpret the intermediate solutions for each of the one-hop atoms in the query with over 90% accuracy. The code of our paper is at https://github.com/bys0318/QTO.

Key facts. Cited by 28 papers in the map (data through 7 Oct 2026). Builds on 23 of its 35 references that are in the map. First posted on arXiv 19 Dec 2022.

Builds on

23 of 35 references.

References · 23

  1. 2017Modeling Relational Data with Graph Convolutional Networkscited by 1,684
  2. 2016Complex Embeddings for Simple Link Predictioncited by 897
  3. 2019RotatE: Knowledge Graph Embedding by Relational Rotation in Complex Spacecited by 893
  4. 2017Convolutional 2D Knowledge Graph Embeddingscited by 729
  5. 2019TuckER: Tensor Factorization for Knowledge Graph Completioncited by 290
  6. 2021Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Predictioncited by 273
  7. 2017DeepPath: A Reinforcement Learning Method for Knowledge Graph Reasoningcited by 265
  8. 2020Low-Dimensional Hyperbolic Knowledge Graph Embeddingscited by 195
  9. 2020Query2box: Reasoning over Knowledge Graphs in Vector Space using Box Embeddingscited by 169
  10. 2017Go for a Walk and Arrive at the Answer: Reasoning Over Paths in Knowledge Bases using Reinforcement Learningcited by 161
  11. 2018Canonical Tensor Decomposition for Knowledge Base Completioncited by 150
  12. 2020Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphscited by 128
11 more
  1. 2018Embedding Logical Queries on Knowledge Graphscited by 120
  2. 2018Multi-Hop Knowledge Graph Reasoning with Reward Shapingcited by 102
  3. 2020Complex Query Answering with Neural Link Predictorscited by 98
  4. 2021ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphscited by 78
  5. 2022Neural-Symbolic Models for Logical Queries on Knowledge Graphscited by 60
  6. 2015Traversing Knowledge Graphs in Vector Spacecited by 51
  7. 2021Modeling Heterogeneous Hierarchies with Relation-specific Hyperbolic Conescited by 38
  8. 2021Relation Prediction as an Auxiliary Training Objective for Improving Multi-Relational Graph Representationscited by 37
  9. 2020Self-Supervised Hyperboloid Representations from Logical Queries over Knowledge Graphscited by 35
  10. 2019Adapting Meta Knowledge Graph Information for Multi-Hop Reasoning over Few-Shot Relationscited by 30
  11. 2022SQUIRE: A Sequence-to-sequence Framework for Multi-hop Knowledge Graph Reasoningcited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 7; 2024: 11; 2025: 9; 2026: 1.

28 papers.

Sort:

By area:

  1. 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 367
  2. 2024GFT: Graph Foundation Model with Transferable Tree Vocabularycited by 82
  3. 2023Neural Graph Reasoning: Complex Logical Query Answering Meets Graph Databasescited by 35
  4. 2023Probabilistic Tree-of-thought Reasoning for Answering Knowledge-intensive Complex Questionscited by 19
  5. 2023Sequential Query Encoding For Complex Query Answering on Knowledge Graphscited by 13
  6. 2024A Foundation Model for Zero-shot Logical Query Reasoningcited by 13
  7. 2025Top Ten Challenges Towards Agentic Neural Graph Databasescited by 13
  8. 2023Rethinking Complex Queries on Knowledge Graphs with Neural Link Predictorscited by 12
  9. 2023EFOk-CQA: Towards Knowledge Graph Complex Query Answering beyond Set Operationcited by 12
  10. 2024Effective Instruction Parsing Plugin for Complex Logical Query Answering on Knowledge Graphscited by 8
  11. 2023Understanding Inter-Session Intentions via Complex Logical Reasoningcited by 7
  12. 2024Is Complex Query Answering Really Complex?cited by 7
16 more
  1. 2025Enhancing Transformers for Generalizable First-Order Logical Entailmentcited by 6
  2. 2023A Neuro-Symbolic Framework for Answering Graph Pattern Queries in Knowledge Graphscited by 4
  3. 2024Extending Complex Logical Queries on Uncertain Knowledge Graphscited by 2
  4. 2024Knowledge Base Embeddings: Semantics and Theoretical Propertiescited by 2
  5. 2025Transformers for Complex Query Answering over Knowledge Hypergraphscited by 2
  6. 2024Pathformer: Recursive Path Query Encoding for Complex Logical Query Answeringcited by 1
  7. 2024Complex Logical Query Answering by Calibrating Knowledge Graph Completion Modelscited by 1
  8. 2025KGCompiler: Deep Learning Compilation Optimization for Knowledge Graph Complex Logical Query Answeringcited by 1
  9. 2025Efficient and Scalable Neural Symbolic Search for Knowledge Graph Complex Query Answeringcited by 1
  10. 2025Neural Reasoning for Robust Instance Retrieval in SHOIQcited by 1
  11. 2024Type-based Neural Link Prediction Adapter for Complex Query Answeringcited by 0
  12. 2024One Model, Any Conjunctive Query: Graph Neural Networks for Answering Queries over Incomplete Knowledge Graphscited by 0
  13. 2025Interactive Query Answering on Knowledge Graphs with Soft Entity Constraintscited by 0
  14. 2025CQD-SHAP: Explainable Complex Query Answering via Shapley Valuescited by 0
  15. 2025Counting Still Counts: Understanding Neural Complex Query Answering Through Query Relaxationcited by 0
  16. 2026Neural Scalable Symbolic Search Framework for Complex Logical Queries with Multiple Free Variablescited by 0