Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Time sequence knowledge graph reasoning method, device and equipment based on attention mechanism

A technology of knowledge graph and attention, which is applied in the field of knowledge graph, can solve problems such as poor historical reasoning ability, difficulty of dynamic graph model reasoning on high concurrent events at multiple time points, inability to simulate recurring event impact inference, etc., to improve reasoning effect of effect

Pending Publication Date: 2022-08-05
NAT UNIV OF DEFENSE TECH
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These methods can continuously reason about the facts of future event graphs, however, they cannot simulate the occurrence of recurring events and the inference of key facts on future events.
Jin proposed a recurrent event network (RecurrentEvent Network, RE-NET), which can better solve the problem that the existing dynamic graph model is difficult to reason about high concurrency events at multiple time points, and can analyze the time correlation of dynamic graphs in the full time domain. However, historical reasoning relies on RNN and its variants LSTM and its variants to simulate historical evolution laws, and relies on the entity representation of multi-relational neighborhood aggregation concurrent events
However, although they can well explain the law of historical development and change, these methods cannot correctly explain the historical basis of reasoning related to specific prediction problems, and lack the problem of poor historical reasoning ability when faced with long history dependence

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
  • Time sequence knowledge graph reasoning method, device and equipment based on attention mechanism
  • Time sequence knowledge graph reasoning method, device and equipment based on attention mechanism
  • Time sequence knowledge graph reasoning method, device and equipment based on attention mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.

[0056] In one embodiment, as figure 1 As shown, a time-series knowledge graph reasoning method based on attention mechanism is provided, including the following steps:

[0057] Step 102 , acquiring the time-series knowledge graph to be reasoned, constructing a knowledge graph snapshot of each time period according to the time labeling of knowledge in the time-series knowledge graph, and further obtaining the neighborhood information of each entity in each time period.

[0058] The time series knowledge graph is defined as a directed graph with time labels between node...

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 relates to a time sequence knowledge graph reasoning method and device based on an attention mechanism, computer equipment and a storage medium. The method comprises the steps of obtaining neighborhood information of each entity in each time period by constructing a knowledge graph snapshot of each time period in a time sequence knowledge graph; aggregating neighborhood information corresponding to all relations of the plurality of entities through a neighborhood aggregator to obtain neighborhood feature representation of each entity; an attention weight matrix containing multi-head information is determined through a time sequence event encoder based on an attention mechanism according to the neighborhood feature representation of a target entity at the current moment and the neighborhood feature representation of the target entity at the historical moment, and then a time entity representation sequence of the historical information is selectively concerned; obtaining the implicit vector representation of the target entity updated by the time sequence event encoder at the current moment; and performing coding scoring on the time sequence event encoder according to the implicit vector representation through the feedforward neural network and the multi-classification-layer network to realize time sequence knowledge graph reasoning.

Description

technical field [0001] The present application relates to the technical field of knowledge graphs, and in particular, to a time-series knowledge graph reasoning method, apparatus, computer equipment and storage medium based on an attention mechanism. Background technique [0002] In recent years, Knowledge Graph (KG), as a structured semantic knowledge base, uses a symbolic formal way to describe concepts and their interrelationships in the physical world, which has become a research hotspot in academia and industry. Then, over time, new knowledge may come from rapidly generated and evolving data in various news media and social software, which needs to be continuously added to the KG to reflect the evolution of the knowledge base over time. . Therefore, how to record the facts that change over time and study the trend of their changes is of great significance. The knowledge reasoning of the data-driven time-series KG under the above background can be compared with the exi...

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/28G06F16/2458G06N3/04G06N3/08
CPCG06F16/288G06F16/2474G06N3/08G06N3/045
Inventor 张骁雄杨琴琴刘浏刘姗姗田昊丁鲲蒋国权刘茗
Owner NAT UNIV OF DEFENSE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products