Sequential Query Encoding For Complex Query Answering on Knowledge Graphs
Not on the map. Why?
Abstract (arXiv)
Complex Query Answering (CQA) is an important and fundamental task for knowledge graph (KG) reasoning. Query encoding (QE) is proposed as a fast and robust solution to CQA. In the encoding process, most existing QE methods first parse the logical query into an executable computational direct-acyclic graph (DAG), then use neural networks to parameterize the operators, and finally, recursively execute these neuralized operators. However, the parameterization-and-execution paradigm may be potentially over-complicated, as it can be structurally simplified by a single neural network encoder. Meanwhile, sequence encoders, like LSTM and Transformer, proved to be effective for encoding semantic graphs in related tasks. Motivated by this, we propose sequential query encoding (SQE) as an alternative to encode queries for CQA. Instead of parameterizing and executing the computational graph, SQE first uses a search-based algorithm to linearize the computational graph to a sequence of tokens and then uses a sequence encoder to compute its vector representation. Then this vector representation is used as a query embedding to retrieve answers from the embedding space according to similarity scores. Despite its simplicity, SQE demonstrates state-of-the-art neural query encoding performance on FB15k, FB15k-237, and NELL on an extended benchmark including twenty-nine types of in-distribution queries. Further experiment shows that SQE also demonstrates comparable knowledge inference capability on out-of-distribution queries, whose query types are not observed during the training process.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 37 of its 49 references that are in the map. First posted on arXiv 25 Feb 2023.
Builds on
37 of 49 references.
References · 37
- 2017Attention Is All You Needcited by 59,932
- 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,341
- 2016CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoningcited by 1,445
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2015Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networkscited by 305
- 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 280
- 2019Compositionality decomposed: how do neural networks generalise?cited by 264
- 2020COGS: A Compositional Generalization Challenge Based on Semantic Interpretationcited by 260
- 2020Query2box: Reasoning over Knowledge Graphs in Vector Space using Box Embeddingscited by 169
- 2017End-to-End Differentiable Provingcited by 159
- 2018Improving Text-to-SQL Evaluation Methodologycited by 133
- 2020Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphscited by 128
25 more
- 2018Embedding Logical Queries on Knowledge Graphscited by 120
- 2020Investigating Pretrained Language Models for Graph-to-Text Generationcited by 117
- 2020Complex Query Answering with Neural Link Predictorscited by 98
- 2018TRANX: A Transition-based Neural Abstract Syntax Parser for Semantic Parsing and Code Generationcited by 88
- 2021ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphscited by 78
- 2021Making Transformers Solve Compositional Taskscited by 72
- 2020Learning Reasoning Strategies in End-to-End Differentiable Provingcited by 60
- 2022Neural-Symbolic Models for Logical Queries on Knowledge Graphscited by 60
- 2017Neural AMR: Sequence-to-Sequence Models for Parsing and Generationcited by 56
- 2018Rearranging the Familiar: Testing Compositional Generalization in Recurrent Networkscited by 51
- 2022Mask and Reason: Pre-Training Knowledge Graph Transformers for Complex Logical Queriescited by 39
- 2020Self-Supervised Hyperboloid Representations from Logical Queries over Knowledge Graphscited by 35
- 2019Differentiable Reasoning on Large Knowledge Bases and Natural Languagecited by 30
- 2020Answering Complex Queries in Knowledge Graphs with Bidirectional Sequence Encoderscited by 28
- 2021Probabilistic Entity Representation Model for Reasoning over Knowledge Graphscited by 28
- 2022Answering Complex Logical Queries on Knowledge Graphs via Query Computation Tree Optimizationcited by 28
- 2023Logical Message Passing Networks with One-hop Inference on Atomic Formulascited by 28
- 2022Query2Particles: Knowledge Graph Reasoning with Particle Embeddingscited by 24
- 2021Benchmarking the Combinatorial Generalizability of Complex Query Answering on Knowledge Graphscited by 21
- 2022GammaE: Gamma Embeddings for Logical Queries on Knowledge Graphscited by 21
- 2022Neural-Symbolic Entangled Framework for Complex Query Answeringcited by 18
- 2021SMORE: Knowledge Graph Completion and Multi-hop Reasoning in Massive Knowledge Graphscited by 17
- 2022Neural Methods for Logical Reasoning Over Knowledge Graphscited by 17
- 2022Reasoning over Multi-view Knowledge Graphscited by 4
- 2020Improving Deep Metric Learning with Virtual Classes and Examples Miningcited by 2
Built on by
Citing papers per year: 2023: 5; 2024: 3; 2025: 4; 2026: 1.
13 papers.
Sort:
By area:
- 2023Neural Graph Reasoning: Complex Logical Query Answering Meets Graph Databasescited by 35
- 2025AutoSchemaKG: Autonomous Knowledge Graph Construction through Dynamic Schema Induction from Web-Scale Corporacited by 23
- 2023Complex Query Answering on Eventuality Knowledge Graph with Implicit Logical Constraintscited by 21
- 2023Wasserstein-Fisher-Rao Embedding: Logical Query Embeddings with Local Comparison and Global Transportcited by 16
- 2025Top Ten Challenges Towards Agentic Neural Graph Databasescited by 13
- 2023Knowledge Graph Reasoning over Entities and Numerical Valuescited by 11
- 2024Intention Knowledge Graph Construction for User Intention Relation Modelingcited by 6
- 2025Enhancing Transformers for Generalizable First-Order Logical Entailmentcited by 6
- 2023Query2Triple: Unified Query Encoding for Answering Diverse Complex Queries over Knowledge Graphscited by 4
- 2024Learning Federated Neural Graph Databases for Answering Complex Queries from Distributed Knowledge Graphscited by 4
- 2024KnowShiftQA: How Robust are RAG Systems when Textbook Knowledge Shifts in K-12 Education?cited by 3
- 2025Transformers for Complex Query Answering over Knowledge Hypergraphscited by 2
1 more
- 2026NGDB-Zoo: Towards Efficient and Scalable Neural Graph Databases Training25 Feb 2026
- 2025AutoSchemaKG: Autonomous Knowledge Graph Construction through Dynamic Schema Induction from Web-Scale Corpora29 May 2025
- 2025Transformers for Complex Query Answering over Knowledge Hypergraphs23 Apr 2025
- 2025Top Ten Challenges Towards Agentic Neural Graph Databases24 Jan 2025
- 2025Enhancing Transformers for Generalizable First-Order Logical Entailment1 Jan 2025
- 2024Intention Knowledge Graph Construction for User Intention Relation Modeling16 Dec 2024
- 2024KnowShiftQA: How Robust are RAG Systems when Textbook Knowledge Shifts in K-12 Education?12 Dec 2024
- 2024Learning Federated Neural Graph Databases for Answering Complex Queries from Distributed Knowledge Graphs22 Feb 2024
- 2023Query2Triple: Unified Query Encoding for Answering Diverse Complex Queries over Knowledge Graphs17 Oct 2023
- 2023Knowledge Graph Reasoning over Entities and Numerical Values2 Jun 2023
- 2023Complex Query Answering on Eventuality Knowledge Graph with Implicit Logical Constraints30 May 2023
- 2023Wasserstein-Fisher-Rao Embedding: Logical Query Embeddings with Local Comparison and Global Transport6 May 2023
1 more
- 2025Top Ten Challenges Towards Agentic Neural Graph Databasescited by 13
- 2025Top Ten Challenges Towards Agentic Neural Graph Databases24 Jan 2025
- 2025AutoSchemaKG: Autonomous Knowledge Graph Construction through Dynamic Schema Induction from Web-Scale Corporacited by 23
- 2023Complex Query Answering on Eventuality Knowledge Graph with Implicit Logical Constraintscited by 21
- 2023Wasserstein-Fisher-Rao Embedding: Logical Query Embeddings with Local Comparison and Global Transportcited by 16
- 2023Knowledge Graph Reasoning over Entities and Numerical Valuescited by 11
- 2024Intention Knowledge Graph Construction for User Intention Relation Modelingcited by 6
- 2025Enhancing Transformers for Generalizable First-Order Logical Entailmentcited by 6
- 2023Query2Triple: Unified Query Encoding for Answering Diverse Complex Queries over Knowledge Graphscited by 4
- 2024Learning Federated Neural Graph Databases for Answering Complex Queries from Distributed Knowledge Graphscited by 4
- 2025Transformers for Complex Query Answering over Knowledge Hypergraphscited by 2
- 2025AutoSchemaKG: Autonomous Knowledge Graph Construction through Dynamic Schema Induction from Web-Scale Corpora29 May 2025
- 2025Transformers for Complex Query Answering over Knowledge Hypergraphs23 Apr 2025
- 2025Enhancing Transformers for Generalizable First-Order Logical Entailment1 Jan 2025
- 2024Intention Knowledge Graph Construction for User Intention Relation Modeling16 Dec 2024
- 2024Learning Federated Neural Graph Databases for Answering Complex Queries from Distributed Knowledge Graphs22 Feb 2024
- 2023Query2Triple: Unified Query Encoding for Answering Diverse Complex Queries over Knowledge Graphs17 Oct 2023
- 2023Knowledge Graph Reasoning over Entities and Numerical Values2 Jun 2023
- 2023Complex Query Answering on Eventuality Knowledge Graph with Implicit Logical Constraints30 May 2023
- 2023Wasserstein-Fisher-Rao Embedding: Logical Query Embeddings with Local Comparison and Global Transport6 May 2023