Sequential Query Encoding For Complex Query Answering on Knowledge Graphs
Jiaxin Bai, Tianshi Zheng, Yangqiu Song

TL;DR
This paper introduces Sequential Query Encoding (SQE), a simplified yet effective method for complex query answering on knowledge graphs that linearizes computational graphs into sequences and encodes them with sequence models, achieving state-of-the-art results.
Contribution
Proposes SQE, a novel sequence-based query encoding method that simplifies the process and improves performance in complex knowledge graph query answering tasks.
Findings
SQE achieves state-of-the-art results on FB15k, FB15k-237, and NELL datasets.
SQE demonstrates strong generalization to out-of-distribution queries.
Sequence encoding effectively captures complex query semantics.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Graph Neural Networks · Topic Modeling · Bayesian Modeling and Causal Inference
MethodsMulti-Head Attention · Attention Is All You Need · Linear Layer · Absolute Position Encodings · Tanh Activation · Label Smoothing · Softmax · Sigmoid Activation · Adam · Layer Normalization
