Answering complex logical queries on incomplete knowledge graphs (KGs) with missing edges is a fundamental and important task for knowledge graph reasoning. The query embedding method is proposed to answer these queries by jointly encoding queries and entities to the same embedding space. Then the answer entities are selected according to the similarities between the entity embeddings and the query embedding. As the answers to a complex query are obtained from a combination of logical operations over sub-queries, the embeddings of the answer entities may not always follow a uni-modal distribution in the embedding space. Thus, it is challenging to simultaneously retrieve a set of diverse answers from the embedding space using a single and concentrated query representation such as a vector or a hyper-rectangle. To better cope with queries with diversified answers, we propose Query2Particles (Q2P), a complex KG query answering method. Q2P encodes each query into multiple vectors, named particle embeddings. By doing so, the candidate answers can be retrieved from different areas over the embedding space using the maximal similarities between the entity embeddings and any of the particle embeddings. Meanwhile, the corresponding neural logic operations are defined to support its reasoning over arbitrary first-order logic queries. The experiments show that Query2Particles achieves state-of-the-art performance on the complex query answering tasks on FB15k, FB15K-237, and NELL knowledge graphs.
翻译:在缺少边缘的不完整知识图形(KGs)上解答复杂的逻辑查询是知识图形推理的一项根本和重要的任务。建议使用查询嵌入方法,将查询和实体联合编码到相同的嵌入空间。然后,根据实体嵌入和查询嵌入之间的相似性,选择答复实体。由于对复杂查询的答案是从子查询的逻辑操作组合中获得的,因此,在嵌入空间中,答复实体的嵌入可能并不总是遵循单式-23的分布。因此,使用单个和集中的查询代表(如矢量或超矩),从嵌入空间中检索一套不同的答案是很困难的。为了更好地处理不同答案,我们建议Query2P粒子(Q2P),一个复杂的 KG查询解答方法。 Q2P 将每个查询编码成多个矢量, 名为粒子嵌入。通过这样做, 候选人的答案可以在嵌入空间的不同区域中检索, 使用实体嵌入的最小相似性知识(如矢量) Plickral- 和任何直方的逻辑解算系统, 显示。