Pathformer: Recursive Path Query Encoding for Complex Logical Query Answering
Not on the map. Why?
Abstract (arXiv)
Complex Logical Query Answering (CLQA) over incomplete knowledge graphs is a challenging task. Recently, Query Embedding (QE) methods are proposed to solve CLQA by performing multi-hop logical reasoning. However, most of them only consider historical query context information while ignoring future information, which leads to their failure to capture the complex dependencies behind the elements of a query. In recent years, the transformer architecture has shown a strong ability to model long-range dependencies between words. The bidirectional attention mechanism proposed by the transformer can solve the limitation of these QE methods regarding query context. Still, as a sequence model, it is difficult for the transformer to model complex logical queries with branch structure computation graphs directly. To this end, we propose a neural one-point embedding method called Pathformer based on the tree-like computation graph, i.e., query computation tree. Specifically, Pathformer decomposes the query computation tree into path query sequences by branches and then uses the transformer encoder to recursively encode these path query sequences to obtain the final query embedding. This allows Pathformer to fully utilize future context information to explicitly model the complex interactions between various parts of the path query. Experimental results show that Pathformer outperforms existing competitive neural QE methods, and we found that Pathformer has the potential to be applied to non-one-point embedding space.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 37 of its 53 references that are in the map. First posted on arXiv 21 Jun 2024.
Builds on
37 of 53 references.
References · 37
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2017Deep Setscited by 1,394
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2016Complex Embeddings for Simple Link Predictioncited by 897
- 2019RotatE: Knowledge Graph Embedding by Relational Rotation in Complex Spacecited by 893
- 2019KEPLER: A Unified Model for Knowledge Embedding and Pre-trained Language Representationcited by 356
- 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
- 2019DRUM: End-To-End Differentiable Rule Mining On Knowledge Graphscited by 173
- 2020Query2box: Reasoning over Knowledge Graphs in Vector Space using Box Embeddingscited by 169
25 more
- 2023Graph Inductive Biases in Transformers without Message Passingcited by 150
- 2020Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphscited by 128
- 2018Embedding Logical Queries on Knowledge Graphscited by 120
- 2020Complex Query Answering with Neural Link Predictorscited by 98
- 2021Knowledge Graph Reasoning with Relational Digraphcited by 91
- 2021ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphscited by 78
- 2022Sequence-to-Sequence Knowledge Graph Completion and Question Answeringcited by 75
- 2022Knowledge Graph Contrastive Learning for Recommendationcited by 69
- 2019Iteratively Learning Embeddings and Rules for Knowledge Graph Reasoningcited by 63
- 2022Neural-Symbolic Models for Logical Queries on Knowledge Graphscited by 60
- 2015Traversing Knowledge Graphs in Vector Spacecited by 51
- 2023Neural Graph Reasoning: Complex Logical Query Answering Meets Graph Databasescited by 35
- 2015Compositional Vector Space Models for Knowledge Base Completioncited by 33
- 2021Meta-Knowledge Transfer for Inductive Knowledge Graph Embeddingcited by 31
- 2020Answering Complex Queries in Knowledge Graphs with Bidirectional Sequence Encoderscited 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
- 2022GammaE: Gamma Embeddings for Logical Queries on Knowledge Graphscited by 21
- 2022Rethinking Graph Convolutional Networks in Knowledge Graph Completioncited by 20
- 2022Neural-Symbolic Entangled Framework for Complex Query Answeringcited by 18
- 2021Logic Embeddings for Complex Query Answeringcited by 17
- 2022Neural Methods for Logical Reasoning Over Knowledge Graphscited by 17
- 2023Adapting Neural Link Predictors for Data-Efficient Complex Query Answeringcited by 13
- 2024Conditional Logical Message Passing Transformer for Complex Query Answeringcited by 5
Built on by
Citing papers per year: 2025: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2022NQE: N-ary Query Embedding for Complex Query Answering over Hyper-Relational Knowledge Graphs
- 2023Query Structure Modeling for Inductive Logical Reasoning Over Knowledge Graphs
- 2025Encoder-Free Knowledge-Graph Reasoning with LLMs via Hyperdimensional Path Retrieval
- 2024Improving Multi-hop Logical Reasoning in Knowledge Graphs with Context-Aware Query Representation Learning
- 2022Inductive Logical Query Answering in Knowledge Graphs
- 2025KGCompiler: Deep Learning Compilation Optimization for Knowledge Graph Complex Logical Query Answering
- 2026ROG: Retrieval-Augmented LLM Reasoning for Complex First-Order Queries over Knowledge Graphs
- 2022Mask and Reason: Pre-Training Knowledge Graph Transformers for Complex Logical Queries