Knowledge reasoning method and device for knowledge graph, equipment and storage medium

A technology of knowledge graph and knowledge reasoning, which is applied in the direction of reasoning methods, knowledge expression, neural learning methods, etc., can solve the problems that efficiency is easy to become a bottleneck, accuracy and rationality are difficult to guarantee, and generalization ability is weak, so as to improve generalization Effects of Power and Computational Efficiency, Guaranteed Accuracy and Interpretability

Pending Publication Date: 2022-02-18
国家电网有限公司大数据中心
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Traditional rule-based reasoning has a good accuracy rate, but usually requires a lot of expert costs to construct business rules, and the constructed business rules are usually only applicable to specific scenarios, and the generalization ability is weak; and in large-scale multi-mode In the dynamic knowledge graph scenario, its efficiency can easily become a bottleneck
The single-step reasoning based on neural network tries to use the powerful learning ability of neural network to model knowledge map fact tuples, and obtain good reasoning ability and generalization ability, but the accuracy and rationality are difficult to guarantee, and the inherent interpretability of neural network Problems still exist in the application of knowledge graphs, how to properly explain the reasoning ability of neural networks is a big problem

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 reasoning method and device for knowledge graph, equipment and storage medium
  • Knowledge reasoning method and device for knowledge graph, equipment and storage medium
  • Knowledge reasoning method and device for knowledge graph, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0065] figure 1 A flow chart of a knowledge reasoning method for a knowledge graph provided in Embodiment 1 of the present invention. This embodiment is applicable to the case of knowledge reasoning based on a knowledge graph. This method can be executed by a knowledge reasoning device of a knowledge graph. The device can be It is composed of hardware and / or software, and generally can be integrated in a device with knowledge reasoning function of knowledge graph, which can be an electronic device such as a server or a server cluster. like figure 1 As shown, it specifically includes the following steps:

[0066] Step 110, obtaining an initial knowledge graph, and generating candidate rules according to the initial knowledge graph.

[0067] Among them, the knowledge map is a series of different graphics showing the knowledge development process and structural relationship, using visualization technology to describe knowledge resources and their carriers, mining, analyzing, co...

Embodiment 2

[0080] figure 2 It is a flow chart of a knowledge reasoning method for a knowledge graph provided in Embodiment 2 of the present invention. This embodiment is applicable to the case of performing knowledge reasoning based on a knowledge graph. like figure 2 As shown, it specifically includes the following steps:

[0081] Step 210, acquire an initial knowledge graph, extract images and texts in the initial knowledge graph, and represent them as nodes.

[0082] In this embodiment, for the initial knowledge graph, the graph neural network algorithm can be used to obtain the multi-hop connection path between entity pairs from the multimodal knowledge graph, which is represented by a sequence of triples, that is, two entities and The corresponding relationship, multiple paths between entity pairs can be used to obtain a unified overall representation through the aggregation function to obtain candidate rules.

[0083] The initial knowledge graph can be a multimodal knowledge g...

Embodiment 3

[0113] Figure 6 It is a schematic structural diagram of a knowledge reasoning device for a knowledge map provided by Embodiment 3 of the present invention. like Figure 6 As shown, the device includes: a candidate rule generation module 310 , a qualified rule determination module 320 , and an inference module 330 .

[0114] The alternative rule generating module 310 is configured to acquire an initial knowledge graph, and generate alternative rules according to the initial knowledge graph.

[0115] Optionally, the alternative rule generating module 310 is also used for:

[0116] Extract the images and texts in the initial knowledge map and represent them as nodes; initialize the entity vectors and relationship vectors corresponding to the nodes to generate entity embedding vectors and relationship embedding vectors; extract the triplets in the entity embedding vectors and relationship embedding vectors The group sequence is input into the long-short-term memory model to ob...

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 embodiment of the invention discloses a knowledge reasoning method for a knowledge graph, which comprises the following steps: acquiring an initial knowledge graph, and generating an alternative rule according to the initial knowledge graph; judging the alternative rules, and determining qualified rules of which the confidence coefficients are greater than a set threshold value; and reasoning and complementing the initial knowledge graph according to a qualification rule, obtaining a new node and a corresponding relation, and adding the new node and the corresponding relation into a graph knowledge set. According to the knowledge reasoning method of the knowledge graph provided by the embodiment of the invention, a rule reasoning method and a graph neural network reasoning method are combined, so that a hybrid reasoning framework based on a generative adversarial model is formed, and the hybrid reasoning framework is designed to realize hybrid reasoning; the nodes and the relations are predicted by utilizing a link prediction method based on a hierarchical structure, and the advantages of different reasoning methods are combined, so that the generalization ability and the calculation efficiency of knowledge reasoning are improved, and the accuracy and the interpretability of a reasoning result are also ensured.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a knowledge reasoning method, device, equipment and storage medium of a knowledge map. Background technique [0002] Knowledge reasoning refers to the process of inferring unknown facts or knowledge based on known facts or knowledge. The task of knowledge graph reasoning is to infer new knowledge or identify wrong knowledge based on the existing knowledge in the knowledge graph. Knowledge reasoning, as the main method for solving human problems, has always attracted much attention. Generally speaking, knowledge reasoning includes two main methods: one is the rule-based traditional knowledge reasoning mode; the other is the reasoning method based on graph neural network. [0003] Traditional rule-based reasoning has a good accuracy rate, but usually requires a lot of expert costs to construct business rules, and the constructed business rules are usually only appl...

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/36G06N5/02G06N5/04G06N3/04G06N3/08G06V10/25G06V10/82G06F40/30
CPCG06F16/367G06N5/025G06N5/04G06N3/08G06F40/30G06N3/042G06N3/044G06N3/045
Inventor 王宏刚纪鑫武同心杨成月何禹德杨智伟褚娟董林啸张海峰李建芳
Owner 国家电网有限公司大数据中心
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