Saved in:
Bibliographic Details
Main Authors: Xu, Zezhong, Ye, Peng, Liang, Lei, Chen, Huajun, Zhang, Wen
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2403.12646
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916166344114176
author Xu, Zezhong
Ye, Peng
Liang, Lei
Chen, Huajun
Zhang, Wen
author_facet Xu, Zezhong
Ye, Peng
Liang, Lei
Chen, Huajun
Zhang, Wen
contents Answering logical queries on knowledge graphs (KG) poses a significant challenge for machine reasoning. The primary obstacle in this task stems from the inherent incompleteness of KGs. Existing research has predominantly focused on addressing the issue of missing edges in KGs, thereby neglecting another aspect of incompleteness: the emergence of new entities. Furthermore, most of the existing methods tend to reason over each logical operator separately, rather than comprehensively analyzing the query as a whole during the reasoning process. In this paper, we propose a query-aware prompt-fused framework named Pro-QE, which could incorporate existing query embedding methods and address the embedding of emerging entities through contextual information aggregation. Additionally, a query prompt, which is generated by encoding the symbolic query, is introduced to gather information relevant to the query from a holistic perspective. To evaluate the efficacy of our model in the inductive setting, we introduce two new challenging benchmarks. Experimental results demonstrate that our model successfully handles the issue of unseen entities in logical queries. Furthermore, the ablation study confirms the efficacy of the aggregator and prompt components.
format Preprint
id arxiv_https___arxiv_org_abs_2403_12646
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Prompt-fused framework for Inductive Logical Query Answering
Xu, Zezhong
Ye, Peng
Liang, Lei
Chen, Huajun
Zhang, Wen
Machine Learning
Answering logical queries on knowledge graphs (KG) poses a significant challenge for machine reasoning. The primary obstacle in this task stems from the inherent incompleteness of KGs. Existing research has predominantly focused on addressing the issue of missing edges in KGs, thereby neglecting another aspect of incompleteness: the emergence of new entities. Furthermore, most of the existing methods tend to reason over each logical operator separately, rather than comprehensively analyzing the query as a whole during the reasoning process. In this paper, we propose a query-aware prompt-fused framework named Pro-QE, which could incorporate existing query embedding methods and address the embedding of emerging entities through contextual information aggregation. Additionally, a query prompt, which is generated by encoding the symbolic query, is introduced to gather information relevant to the query from a holistic perspective. To evaluate the efficacy of our model in the inductive setting, we introduce two new challenging benchmarks. Experimental results demonstrate that our model successfully handles the issue of unseen entities in logical queries. Furthermore, the ablation study confirms the efficacy of the aggregator and prompt components.
title Prompt-fused framework for Inductive Logical Query Answering
topic Machine Learning
url https://arxiv.org/abs/2403.12646