mlsanityData to 7 Oct 2026

Sequential Query Encoding For Complex Query Answering on Knowledge Graphs

arXiv 2302.13114 ↗First posted 25 Feb 2023cs.CL cs.AIcited by 13

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,341
  3. 2016CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoningcited by 1,445
  4. 2018Self-Attention with Relative Position Representationscited by 1,112
  5. 2015Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networkscited by 305
  6. 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 280
  7. 2019Compositionality decomposed: how do neural networks generalise?cited by 264
  8. 2020COGS: A Compositional Generalization Challenge Based on Semantic Interpretationcited by 260
  9. 2020Query2box: Reasoning over Knowledge Graphs in Vector Space using Box Embeddingscited by 169
  10. 2017End-to-End Differentiable Provingcited by 159
  11. 2018Improving Text-to-SQL Evaluation Methodologycited by 133
  12. 2020Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphscited by 128
25 more
  1. 2018Embedding Logical Queries on Knowledge Graphscited by 120
  2. 2020Investigating Pretrained Language Models for Graph-to-Text Generationcited by 117
  3. 2020Complex Query Answering with Neural Link Predictorscited by 98
  4. 2018TRANX: A Transition-based Neural Abstract Syntax Parser for Semantic Parsing and Code Generationcited by 88
  5. 2021ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphscited by 78
  6. 2021Making Transformers Solve Compositional Taskscited by 72
  7. 2020Learning Reasoning Strategies in End-to-End Differentiable Provingcited by 60
  8. 2022Neural-Symbolic Models for Logical Queries on Knowledge Graphscited by 60
  9. 2017Neural AMR: Sequence-to-Sequence Models for Parsing and Generationcited by 56
  10. 2018Rearranging the Familiar: Testing Compositional Generalization in Recurrent Networkscited by 51
  11. 2022Mask and Reason: Pre-Training Knowledge Graph Transformers for Complex Logical Queriescited by 39
  12. 2020Self-Supervised Hyperboloid Representations from Logical Queries over Knowledge Graphscited by 35
  13. 2019Differentiable Reasoning on Large Knowledge Bases and Natural Languagecited by 30
  14. 2020Answering Complex Queries in Knowledge Graphs with Bidirectional Sequence Encoderscited by 28
  15. 2021Probabilistic Entity Representation Model for Reasoning over Knowledge Graphscited by 28
  16. 2022Answering Complex Logical Queries on Knowledge Graphs via Query Computation Tree Optimizationcited by 28
  17. 2023Logical Message Passing Networks with One-hop Inference on Atomic Formulascited by 28
  18. 2022Query2Particles: Knowledge Graph Reasoning with Particle Embeddingscited by 24
  19. 2021Benchmarking the Combinatorial Generalizability of Complex Query Answering on Knowledge Graphscited by 21
  20. 2022GammaE: Gamma Embeddings for Logical Queries on Knowledge Graphscited by 21
  21. 2022Neural-Symbolic Entangled Framework for Complex Query Answeringcited by 18
  22. 2021SMORE: Knowledge Graph Completion and Multi-hop Reasoning in Massive Knowledge Graphscited by 17
  23. 2022Neural Methods for Logical Reasoning Over Knowledge Graphscited by 17
  24. 2022Reasoning over Multi-view Knowledge Graphscited by 4
  25. 2020Improving Deep Metric Learning with Virtual Classes and Examples Miningcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 5; 2024: 3; 2025: 4; 2026: 1.

13 papers.

Sort:

By area: