paper-with-me

홈 › Papers

Effective Instruction Parsing Plugin for Complex Logical Query Answering on Knowledge Graphs

2024-10-27 · Xingrui Zhuo, Jiapu Wang, Gongqing Wu, Shirui Pan, Xindong Wu

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.

📄 PDF Abstract BibTeX arXiv:2410.20321

Code (0)

등록된 구현이 없습니다.

Tasks

Entity AlignmentKnowledge Graphs

Similar Papers 제목 키워드 기반

Zero-Shot Semantic Parsing for Instructions

2019-11-20 · ACL 2019 7 · Ofer Givoli, Roi Reichart

We consider a zero-shot semantic parsing task: parsing instructions into compositional logical forms, in domains that were not seen during training. We present a new dataset with 1,390 examples from 7 application domains…

Semantic ParsingTriplet

On the Maintenance and Co-evolution of Agent Plugins: An Empirical Study of Claude Code Plugin Marketplaces

2026-08-28 · Ahmed Hereiz, Yingzhe Lyu, Hao Li, Bram Adams 외 arxiv

AI coding agents, software tools that automate development tasks through reasoning and tool use, are increasingly extended through plugin marketplaces, yet the structure, maintenance, and co-evolution dynamics of these e…

Differentiable Parsing and Visual Grounding of Natural Language Instructions for Object Placement

2022-10-01 · Zirui Zhao, Wee Sun Lee, David Hsu

We present a new method, PARsing And visual GrOuNding (ParaGon), for grounding natural language in object placement tasks. Natural language generally describes objects and spatial relations with compositionality and ambi…

Graph Neural NetworkObjectRelational ReasoningVisual Grounding

Diff-Plugin: Revitalizing Details for Diffusion-based Low-level Tasks

2024-03-01 · CVPR 2024 1 · Yuhao Liu, Zhanghan Ke, Fang Liu, Nanxuan Zhao 외

Diffusion models trained on large-scale datasets have achieved remarkable progress in image synthesis. However, due to the randomness in the diffusion process, they often struggle with handling diverse low-level tasks th…

Image Generation

Language Models can be Logical Solvers

2023-11-10 · Jiazhan Feng, Ruochen Xu, Junheng Hao, Hiteshi Sharma 외

Logical reasoning is a fundamental aspect of human intelligence and a key component of tasks like problem-solving and decision-making. Recent advancements have enabled Large Language Models (LLMs) to potentially exhibit …

Decision MakingLanguage ModelingLanguage ModellingLogical Reasoning