Effective Instruction Parsing Plugin for Complex Logical Query Answering on Knowledge Graphs
Not on the map. Why?
Abstract (arXiv)
Knowledge Graph Query Embedding (KGQE) aims to embed First-Order Logic (FOL) queries in a low-dimensional KG space for complex reasoning over incomplete KGs. To enhance the generalization of KGQE models, recent studies integrate various external information (such as entity types and relation context) to better capture the logical semantics of FOL queries. The whole process is commonly referred to as Query Pattern Learning (QPL). However, current QPL methods typically suffer from the pattern-entity alignment bias problem, leading to the learned defective query patterns limiting KGQE models' performance. To address this problem, we propose an effective Query Instruction Parsing Plugin (QIPP) that leverages the context awareness of Pre-trained Language Models (PLMs) to capture latent query patterns from code-like query instructions. Unlike the external information introduced by previous QPL methods, we first propose code-like instructions to express FOL queries in an alternative format. This format utilizes textual variables and nested tuples to convey the logical semantics within FOL queries, serving as raw materials for a PLM-based instruction encoder to obtain complete query patterns. Building on this, we design a query-guided instruction decoder to adapt query patterns to KGQE models. To further enhance QIPP's effectiveness across various KGQE models, we propose a query pattern injection mechanism based on compressed optimization boundaries and an adaptive normalization component, allowing KGQE models to utilize query patterns more efficiently. Extensive experiments demonstrate that our plug-and-play method improves the performance of eight basic KGQE models and outperforms two state-of-the-art QPL methods.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 25 of its 45 references that are in the map. First posted on arXiv 27 Oct 2024.
Builds on
25 of 45 references.
References · 25
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2016Complex Embeddings for Simple Link Predictioncited by 902
- 2023Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoningcited by 328
- 2017DeepPath: A Reinforcement Learning Method for Knowledge Graph Reasoningcited by 266
- 2020Query2box: Reasoning over Knowledge Graphs in Vector Space using Box Embeddingscited by 171
- 2017Go for a Walk and Arrive at the Answer: Reasoning Over Paths in Knowledge Bases using Reinforcement Learningcited by 161
- 2020Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphscited by 129
- 2018Embedding Logical Queries on Knowledge Graphscited by 120
- 2020Complex Query Answering with Neural Link Predictorscited by 99
- 2022Trustworthy Graph Neural Networks: Aspects, Methods and Trendscited by 89
- 2021ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphscited by 78
- 2024InstructGraph: Boosting Large Language Models via Graph-centric Instruction Tuning and Preference Alignmentcited by 56
13 more
- 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
- 2022Answering Complex Logical Queries on Knowledge Graphs via Query Computation Tree Optimizationcited by 29
- 2020Answering Complex Queries in Knowledge Graphs with Bidirectional Sequence Encoderscited by 28
- 2021Query Embedding on Hyper-relational Knowledge Graphscited by 23
- 2022GammaE: Gamma Embeddings for Logical Queries on Knowledge Graphscited by 21
- 2023Complex Query Answering on Eventuality Knowledge Graph with Implicit Logical Constraintscited by 21
- 2020Modeling Voting for System Combination in Machine Translationcited by 18
- 2024Enhancing Complex Question Answering over Knowledge Graphs through Evidence Pattern Retrievalcited by 16
- 2020Analysis of Generalizability of Deep Neural Networks Based on the Complexity of Decision Boundarycited by 13
- 2022NQE: N-ary Query Embedding for Complex Query Answering over Hyper-Relational Knowledge Graphscited by 9
- 2023Query2GMM: Learning Representation with Gaussian Mixture Model for Reasoning over Knowledge Graphscited by 4
- 2024Improving Multi-hop Logical Reasoning in Knowledge Graphs with Context-Aware Query Representation Learningcited by 3
Built on by
Citing papers per year: 2025: 2; 2026: 6.
8 papers.
- 2026Relink: Constructing Query-Driven Evidence Graph On-the-Fly for GraphRAGcited by 6
- 2025Prompting Large Language Models with Partial Knowledge for Answering Questions with Unseen Entitiescited by 4
- 2025Knowledge Reasoning Language Model: Unifying Knowledge and Language for Inductive Knowledge Graph Reasoningcited by 1
- 2026CAGE: Cognitive Attribution Graphs for Faithful Inline Citation Generation in Long-Form Question Answeringcited by 1
- 2026Knowledge Restoration-driven Prompt Optimization: Unlocking LLM Potential for Open-Domain Relational Triplet Extractioncited by 0
- 2026PSQE: A Theoretical-Practical Approach to Pseudo Seed Quality Enhancement for Unsupervised Multimodal Entity Alignmentcited by 0
- 2026Trajectory-Guided Forget-Recover Network for Continual LLM Unlearningcited by 0
- 2026Structure-Internalized Rule Language Model for Faithful Knowledge Graph Reasoningcited by 0
- 2026Structure-Internalized Rule Language Model for Faithful Knowledge Graph Reasoning18 Aug 2026
- 2026Trajectory-Guided Forget-Recover Network for Continual LLM Unlearning4 Aug 2026
- 2026CAGE: Cognitive Attribution Graphs for Faithful Inline Citation Generation in Long-Form Question Answering27 Jul 2026
- 2026PSQE: A Theoretical-Practical Approach to Pseudo Seed Quality Enhancement for Unsupervised Multimodal Entity Alignment26 Feb 2026
- 2026Knowledge Restoration-driven Prompt Optimization: Unlocking LLM Potential for Open-Domain Relational Triplet Extraction21 Jan 2026
- 2026Relink: Constructing Query-Driven Evidence Graph On-the-Fly for GraphRAG12 Jan 2026
- 2025Knowledge Reasoning Language Model: Unifying Knowledge and Language for Inductive Knowledge Graph Reasoning15 Oct 2025
- 2025Prompting Large Language Models with Partial Knowledge for Answering Questions with Unseen Entities2 Aug 2025