Knowledge graph reasoning completion method and system based on reinforcement learning

A knowledge graph and reinforcement learning technology, applied in special data processing applications, unstructured text data retrieval, semantic analysis, etc. The effect of diversity

Pending Publication Date: 2021-03-02
SUN YAT SEN UNIV
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Among them, the method of reinforcement learning for knowledge map reasoning is based on path reasoning. The method of reinforcement learning is used to infer the path between two entities, that is, the relationship set contained between entities, so as to find a reliabl

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
  • Knowledge graph reasoning completion method and system based on reinforcement learning
  • Knowledge graph reasoning completion method and system based on reinforcement learning
  • Knowledge graph reasoning completion method and system based on reinforcement learning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. For the step numbers in the following embodiments, it is only set for the convenience of illustration and description, and the order between the steps is not limited in any way. The execution order of each step in the embodiments can be adapted according to the understanding of those skilled in the art sexual adjustment.

[0037] Such as figure 1 As shown, the present invention provides a knowledge map reasoning and completion method based on reinforcement learning, which includes the following steps:

[0038] S1. Load the data and analyze the data to obtain the vector representation of the entities and relationships of the knowledge graph;

[0039] S2. Embedding entities and relationships based on the TranE model and pre-training the pre-built policy network to obtain a pre-trained policy network;

[0040] S3. Retrain the pre-traine...

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 knowledge graph reasoning completion method and system based on reinforcement learning, and the method comprises the steps: loading data, analyzing the data, and obtaining the vector representation of entities and relationships of a knowledge graph; embedding the entities and the relationships on the basis of a TransE model, and pre-training a pre-constructed strategy network to obtain a pre-trained strategy network; retraining the pre-trained strategy network through a plurality of reward functions to obtain a trained strategy network; and inputting the knowledge graph to be tested into the trained strategy network to complete the completion of the knowledge graph. The system comprises an analysis module, a pre-training module, a re-training module and a completion module. Through the design of the reward function, the complemented relation reasoning path is more reliable and has diversity. The knowledge graph reasoning completion method and system based on reinforcement learning can be widely applied to the field of knowledge graphs.

Description

technical field [0001] The invention belongs to the field of knowledge graphs, in particular to a reinforcement learning-based reasoning and completion method and system for knowledge graphs. Background technique [0002] Knowledge graph is a large-scale semantic network, including entities, concepts and various semantic relationships among them. Among them, the method of reinforcement learning for knowledge map reasoning is based on path reasoning. The method of reinforcement learning is used to infer the path between two entities, that is, the relationship set contained between entities, so as to find a reliable prediction path between entity pairs. , to realize the completion of the knowledge graph, but the current knowledge graph representation learning model ignores this aspect and lacks consideration of the diversity of relationships between entities in the knowledge graph. Contents of the invention [0003] In order to solve the above-mentioned technical problems, ...

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
IPC IPC(8): G06F16/36G06F40/30
CPCG06F16/367G06F40/30
Inventor 李金键卓汉逵
Owner SUN YAT SEN 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