A path-based knowledge graph embedding method

A knowledge graph and path technology, applied in the field of knowledge graph, can solve the problems of indistinguishable embedding, irrespective of the direction and type of relationship, lack of information, etc., to improve performance, improve quality, and reduce training time.

Inactive Publication Date: 2019-05-28
NANJING UNIV
View PDF2 Cites 33 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are two limitations in the knowledge graph embedding learning method based on triples: one is that the learned knowledge graph embedding lacks distinguishability
In the knowledge map, there are often cases where multiple entities have the same 1-hop neighbors. If only triples are used for learning, the embedding of these entities will be indistinguishable.
In addition, some entities are relatively poor in information (such as having few relations), which makes triple-based methods further suffer
Second, triplet-based methods lack efficiency in information exchange and dissemination
However, the hidden state contains all the previously input information (ie Tim Berners-Lee, country, United Kingdom), which makes the recurrent neural network unable to effectively use the head entity United Kingdom of the relationship language to predict its tail entity English, resulting in learning Reduced efficiency and performance
[0005] In addition, current methods for sampling paths are mostly based on undirected graphs or simple graphs, which are often only applicable to traditional social networks
These methods do not consider the direction and type of the relationship in the knowledge graph, so they are not suitable for the sampling of the knowledge graph
The traditional random walk (Random Walks) method uses an unbiased way to randomly sample entities in the knowledge graph, directly using high-quality paths that are often difficult to obtain.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A path-based knowledge graph embedding method
  • A path-based knowledge graph embedding method
  • A path-based knowledge graph embedding method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The overall process of the present invention is as figure 1 As shown, it includes 5 parts: use biased random walk to sample paths from the target knowledge map, use skip cycle network to model the dependencies between elements in the path, and use type-based noise comparison estimation method to measure the loss of the network, according to The results on the validation set are iteratively trained, and the trained knowledge graph embedding is used for entity alignment and knowledge graph completion tasks.

[0019] The specific implementation is described as follows:

[0020] 1. Use biased random walks to sample the target knowledge map path

[0021]For a given target knowledge graph (single or joint knowledge graph), its connectivity is first enhanced to improve sampling efficiency. The details are as follows: First, for each triplet (h,r,t), create a reverse triplet (t,r-,h), where r- is completely different from r. Secondly, for the entity alignment task, the tripl...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a path-based knowledge graph embedding method, which comprises the following steps of for a given single knowledge graph or a joint knowledge graph consisting of two knowledgegraphs, firstly sampling the given single knowledge graph by using a partial random walk method; next, modeling the obtained sampling path by using a new jumping cyclic network, so that the network can overcome the defect that the traditional cyclic neural network cannot identify the knowledge graph structure while effectively learning the dependency among elements in the path. For the output of the jump recurrent neural network, a type-based noise comparison estimation method is adopted to efficiently evaluate the loss of the network, and iteration is carried out in a feedback updating mode to carry out training. Compared with the prior art, the knowledge graph embedding trained by the method has the advantages of high expressibility, strong generalization ability and the like, and the accuracy and the efficiency of knowledge graph completion and entity alignment can be remarkably improved by applying the method.

Description

technical field [0001] The present invention relates to a knowledge graph (Knowledge Graph), in particular to a path-based knowledge graph embedding (Knowledge Graph Embedding) method. Background technique [0002] Knowledge graphs have become an important resource for various knowledge-driven applications, such as search engines, question answering, and recommendation systems. Knowledge graphs store a large number of real-world facts in a structured way. Among them, each fact is described by a triplet (h, r, t), where h, t, r represent the head entity, tail entity, and the relationship between them, respectively. Usually, the existing knowledge graph is difficult to support the knowledge required by various applications. Therefore, researchers in the field of knowledge graphs have proposed two main tasks to solve this problem: (1) Entity Alignment, which is dedicated to linking entities that refer to the same in two different knowledge graphs. (2) Knowledge Graph Complet...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/36G06F16/28
Inventor 胡伟郭凌冰孙泽群
Owner NANJING UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products