arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.11246cs.AI
收藏

Query2Triple:用于回答知识图谱上多种复杂查询的统一查询编码

Query2Triple: Unified Query Encoding for Answering Diverse Complex Queries over Knowledge Graphs

The Laboratory of Cognition and Decision Intelligence for Complex Systems, Institute of Automation, Chinese Academy of Sciences(认知与决策智能复杂系统实验室,自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Meituan(美团);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)

Yao Xu, Shizhu He, Cunguang Wang, Li Cai, Kang Liu, Jun Zhao

AI总结:

本文提出 Q2T,通过两阶段解耦训练将复杂知识图谱查询统一编码为三元组,并复用预训练神经链接预测器,在三个基准上实现高效且最先进的 CQA 性能。

摘要:

复杂查询回答(Complex Query Answering,CQA)是知识图谱(Knowledge Graph,KG)中的一项挑战性任务。由于知识图谱的不完整性,研究者提出了查询嵌入(query embedding,QE)方法,将查询和实体编码到同一嵌入空间中,并把逻辑算子视为神经集合算子以获得答案。然而,这些方法同时在简单(单跳)查询和复杂(多跳及逻辑)查询上训练知识图谱嵌入与神经集合算子,导致简单查询上的性能下降以及训练效率较低。本文提出 Query to Triple(Q2T),这是一种将简单查询与复杂查询训练解耦的新方法。Q2T 将训练分为两个阶段:(1)在简单查询上预训练一个神经链接预测器,使其根据头实体和关系预测尾实体;(2)在复杂查询上训练一个查询编码器,将多种复杂查询编码为统一的三元组形式,从而能够由预训练的神经链接预测器高效求解。本文提出的 Q2T 不仅训练高效,而且具有模块化特性,因此能够轻松适配各种已被充分研究的神经链接预测器。大量实验表明,即使没有显式建模神经集合算子,Q2T 仍在三个公开基准上的多种复杂查询中达到了最先进性能。

英文摘要:

Complex Query Answering (CQA) is a challenge task of Knowledge Graph (KG). Due to the incompleteness of KGs, query embedding (QE) methods have been proposed to encode queries and entities into the same embedding space, and treat logical operators as neural set operators to obtain answers. However, these methods train KG embeddings and neural set operators concurrently on both simple (one-hop) and complex (multi-hop and logical) queries, which causes performance degradation on simple queries and low training efficiency. In this paper, we propose Query to Triple (Q2T), a novel approach that decouples the training for simple and complex queries. Q2T divides the training into two stages: (1) Pre-training a neural link predictor on simple queries to predict tail entities based on the head entity and relation. (2) Training a query encoder on complex queries to encode diverse complex queries into a unified triple form that can be efficiently solved by the pretrained neural link predictor. Our proposed Q2T is not only efficient to train, but also modular, thus easily adaptable to various neural link predictors that have been studied well. Extensive experiments demonstrate that, even without explicit modeling for neural set operators, Q2T still achieves state-of-the-art performance on diverse complex queries over three public benchmarks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑