Answering Complex Logical Queries on Knowledge Graphs via Query Computation Tree Optimization
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
- 2017Modeling Relational Data with Graph Convolutional Networkscited by 1,684
- 2016Complex Embeddings for Simple Link Predictioncited by 897
- 2019RotatE: Knowledge Graph Embedding by Relational Rotation in Complex Spacecited by 893
- 2017Convolutional 2D Knowledge Graph Embeddingscited by 729
- 2019TuckER: Tensor Factorization for Knowledge Graph Completioncited by 290
- 2021Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Predictioncited by 273
- 2017DeepPath: A Reinforcement Learning Method for Knowledge Graph Reasoningcited by 265
- 2020Low-Dimensional Hyperbolic Knowledge Graph Embeddingscited by 195
- 2020Query2box: Reasoning over Knowledge Graphs in Vector Space using Box Embeddingscited by 169
- 2017Go for a Walk and Arrive at the Answer: Reasoning Over Paths in Knowledge Bases using Reinforcement Learningcited by 161
- 2018Canonical Tensor Decomposition for Knowledge Base Completioncited by 150
- 2020Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphscited by 128
11 more
- 2018Embedding Logical Queries on Knowledge Graphscited by 120
- 2018Multi-Hop Knowledge Graph Reasoning with Reward Shapingcited by 102
- 2020Complex Query Answering with Neural Link Predictorscited by 98
- 2021ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphscited by 78
- 2022Neural-Symbolic Models for Logical Queries on Knowledge Graphscited by 60
- 2015Traversing Knowledge Graphs in Vector Spacecited by 51
- 2021Modeling Heterogeneous Hierarchies with Relation-specific Hyperbolic Conescited by 38
- 2021Relation Prediction as an Auxiliary Training Objective for Improving Multi-Relational Graph Representationscited by 37
- 2020Self-Supervised Hyperboloid Representations from Logical Queries over Knowledge Graphscited by 35
- 2019Adapting Meta Knowledge Graph Information for Multi-Hop Reasoning over Few-Shot Relationscited by 30
- 2022SQUIRE: A Sequence-to-sequence Framework for Multi-hop Knowledge Graph Reasoningcited by 6
Built on by
Citing papers per year: 2023: 7; 2024: 11; 2025: 9; 2026: 1.
28 papers.
Sort:
By area:
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 367
- 2024GFT: Graph Foundation Model with Transferable Tree Vocabularycited by 82
- 2023Neural Graph Reasoning: Complex Logical Query Answering Meets Graph Databasescited by 35
- 2023Probabilistic Tree-of-thought Reasoning for Answering Knowledge-intensive Complex Questionscited by 19
- 2023Sequential Query Encoding For Complex Query Answering on Knowledge Graphscited by 13
- 2024A Foundation Model for Zero-shot Logical Query Reasoningcited by 13
- 2025Top Ten Challenges Towards Agentic Neural Graph Databasescited by 13
- 2023Rethinking Complex Queries on Knowledge Graphs with Neural Link Predictorscited by 12
- 2023EFOk-CQA: Towards Knowledge Graph Complex Query Answering beyond Set Operationcited by 12
- 2024Effective Instruction Parsing Plugin for Complex Logical Query Answering on Knowledge Graphscited by 8
- 2023Understanding Inter-Session Intentions via Complex Logical Reasoningcited by 7
- 2024Is Complex Query Answering Really Complex?cited by 7
16 more
- 2025Enhancing Transformers for Generalizable First-Order Logical Entailmentcited by 6
- 2023A Neuro-Symbolic Framework for Answering Graph Pattern Queries in Knowledge Graphscited by 4
- 2024Extending Complex Logical Queries on Uncertain Knowledge Graphscited by 2
- 2024Knowledge Base Embeddings: Semantics and Theoretical Propertiescited by 2
- 2025Transformers for Complex Query Answering over Knowledge Hypergraphscited by 2
- 2024Pathformer: Recursive Path Query Encoding for Complex Logical Query Answeringcited by 1
- 2024Complex Logical Query Answering by Calibrating Knowledge Graph Completion Modelscited by 1
- 2025KGCompiler: Deep Learning Compilation Optimization for Knowledge Graph Complex Logical Query Answeringcited by 1
- 2025Efficient and Scalable Neural Symbolic Search for Knowledge Graph Complex Query Answeringcited by 1
- 2025Neural Reasoning for Robust Instance Retrieval in SHOIQcited by 1
- 2024Type-based Neural Link Prediction Adapter for Complex Query Answeringcited by 0
- 2024One Model, Any Conjunctive Query: Graph Neural Networks for Answering Queries over Incomplete Knowledge Graphscited by 0
- 2025Interactive Query Answering on Knowledge Graphs with Soft Entity Constraintscited by 0
- 2025CQD-SHAP: Explainable Complex Query Answering via Shapley Valuescited by 0
- 2025Counting Still Counts: Understanding Neural Complex Query Answering Through Query Relaxationcited by 0
- 2026Neural Scalable Symbolic Search Framework for Complex Logical Queries with Multiple Free Variablescited by 0
- 2026Neural Scalable Symbolic Search Framework for Complex Logical Queries with Multiple Free Variables25 May 2026
- 2025Counting Still Counts: Understanding Neural Complex Query Answering Through Query Relaxation27 Nov 2025
- 2025Neural Reasoning for Robust Instance Retrieval in SHOIQ23 Oct 2025
- 2025CQD-SHAP: Explainable Complex Query Answering via Shapley Values17 Oct 2025
- 2025Interactive Query Answering on Knowledge Graphs with Soft Entity Constraints19 Aug 2025
- 2025Efficient and Scalable Neural Symbolic Search for Knowledge Graph Complex Query Answering13 May 2025
- 2025Transformers for Complex Query Answering over Knowledge Hypergraphs23 Apr 2025
- 2025KGCompiler: Deep Learning Compilation Optimization for Knowledge Graph Complex Logical Query Answering4 Mar 2025
- 2025Top Ten Challenges Towards Agentic Neural Graph Databases24 Jan 2025
- 2025Enhancing Transformers for Generalizable First-Order Logical Entailment1 Jan 2025
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitasks19 Dec 2024
- 2024GFT: Graph Foundation Model with Transferable Tree Vocabulary9 Nov 2024
16 more
- 2024Effective Instruction Parsing Plugin for Complex Logical Query Answering on Knowledge Graphs27 Oct 2024
- 2024Is Complex Query Answering Really Complex?16 Oct 2024
- 2024Complex Logical Query Answering by Calibrating Knowledge Graph Completion Models30 Sep 2024
- 2024One Model, Any Conjunctive Query: Graph Neural Networks for Answering Queries over Incomplete Knowledge Graphs21 Sep 2024
- 2024Knowledge Base Embeddings: Semantics and Theoretical Properties9 Aug 2024
- 2024Pathformer: Recursive Path Query Encoding for Complex Logical Query Answering21 Jun 2024
- 2024A Foundation Model for Zero-shot Logical Query Reasoning10 Apr 2024
- 2024Extending Complex Logical Queries on Uncertain Knowledge Graphs3 Mar 2024
- 2024Type-based Neural Link Prediction Adapter for Complex Query Answering29 Jan 2024
- 2023Understanding Inter-Session Intentions via Complex Logical Reasoning21 Dec 2023
- 2023Probabilistic Tree-of-thought Reasoning for Answering Knowledge-intensive Complex Questions23 Nov 2023
- 2023A Neuro-Symbolic Framework for Answering Graph Pattern Queries in Knowledge Graphs6 Oct 2023
- 2023EFOk-CQA: Towards Knowledge Graph Complex Query Answering beyond Set Operation15 Jul 2023
- 2023Rethinking Complex Queries on Knowledge Graphs with Neural Link Predictors14 Apr 2023
- 2023Neural Graph Reasoning: Complex Logical Query Answering Meets Graph Databases26 Mar 2023
- 2023Sequential Query Encoding For Complex Query Answering on Knowledge Graphs25 Feb 2023
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 367
- 2023Neural Graph Reasoning: Complex Logical Query Answering Meets Graph Databasescited by 35
- 2023Probabilistic Tree-of-thought Reasoning for Answering Knowledge-intensive Complex Questionscited by 19
- 2023EFOk-CQA: Towards Knowledge Graph Complex Query Answering beyond Set Operationcited by 12
- 2023Understanding Inter-Session Intentions via Complex Logical Reasoningcited by 7
- 2025KGCompiler: Deep Learning Compilation Optimization for Knowledge Graph Complex Logical Query Answeringcited by 1
- 2024Type-based Neural Link Prediction Adapter for Complex Query Answeringcited by 0
- 2025CQD-SHAP: Explainable Complex Query Answering via Shapley Valuescited by 0
- 2025CQD-SHAP: Explainable Complex Query Answering via Shapley Values17 Oct 2025
- 2025KGCompiler: Deep Learning Compilation Optimization for Knowledge Graph Complex Logical Query Answering4 Mar 2025
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitasks19 Dec 2024
- 2024Type-based Neural Link Prediction Adapter for Complex Query Answering29 Jan 2024
- 2023Understanding Inter-Session Intentions via Complex Logical Reasoning21 Dec 2023
- 2023Probabilistic Tree-of-thought Reasoning for Answering Knowledge-intensive Complex Questions23 Nov 2023
- 2023EFOk-CQA: Towards Knowledge Graph Complex Query Answering beyond Set Operation15 Jul 2023
- 2023Neural Graph Reasoning: Complex Logical Query Answering Meets Graph Databases26 Mar 2023
- 2025Top Ten Challenges Towards Agentic Neural Graph Databasescited by 13
- 2025Top Ten Challenges Towards Agentic Neural Graph Databases24 Jan 2025
- 2024GFT: Graph Foundation Model with Transferable Tree Vocabularycited by 82
- 2023Sequential Query Encoding For Complex Query Answering on Knowledge Graphscited by 13
- 2024A Foundation Model for Zero-shot Logical Query Reasoningcited by 13
- 2023Rethinking Complex Queries on Knowledge Graphs with Neural Link Predictorscited by 12
- 2024Effective Instruction Parsing Plugin for Complex Logical Query Answering on Knowledge Graphscited by 8
- 2024Is Complex Query Answering Really Complex?cited by 7
- 2025Enhancing Transformers for Generalizable First-Order Logical Entailmentcited by 6
- 2023A Neuro-Symbolic Framework for Answering Graph Pattern Queries in Knowledge Graphscited by 4
- 2024Extending Complex Logical Queries on Uncertain Knowledge Graphscited by 2
- 2024Knowledge Base Embeddings: Semantics and Theoretical Propertiescited by 2
- 2025Transformers for Complex Query Answering over Knowledge Hypergraphscited by 2
- 2024Pathformer: Recursive Path Query Encoding for Complex Logical Query Answeringcited by 1
12 most cited of 19 All 19 (JSON)
- 2026Neural Scalable Symbolic Search Framework for Complex Logical Queries with Multiple Free Variables25 May 2026
- 2025Counting Still Counts: Understanding Neural Complex Query Answering Through Query Relaxation27 Nov 2025
- 2025Neural Reasoning for Robust Instance Retrieval in SHOIQ23 Oct 2025
- 2025Interactive Query Answering on Knowledge Graphs with Soft Entity Constraints19 Aug 2025
- 2025Efficient and Scalable Neural Symbolic Search for Knowledge Graph Complex Query Answering13 May 2025
- 2025Transformers for Complex Query Answering over Knowledge Hypergraphs23 Apr 2025
- 2025Enhancing Transformers for Generalizable First-Order Logical Entailment1 Jan 2025
- 2024GFT: Graph Foundation Model with Transferable Tree Vocabulary9 Nov 2024
- 2024Effective Instruction Parsing Plugin for Complex Logical Query Answering on Knowledge Graphs27 Oct 2024
- 2024Is Complex Query Answering Really Complex?16 Oct 2024
- 2024Complex Logical Query Answering by Calibrating Knowledge Graph Completion Models30 Sep 2024
- 2024One Model, Any Conjunctive Query: Graph Neural Networks for Answering Queries over Incomplete Knowledge Graphs21 Sep 2024
12 newest of 19 All 19 (JSON)