Knowledge graph completion method and system based on multi-scale dispersed dynamic routing
A knowledge map and multi-scale technology, applied in the field of knowledge map, can solve the problems of prediction vector error summation, knowledge map completion field not being applied, convolutional neural network coding efficiency and other problems, and achieve the effect of improving performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment approach
[0043] Embodiments of the invention and features of the embodiments may be combined with each other without conflict.
[0044] The general idea proposed by the present invention:
[0045]The multi-head attention mechanism is introduced into the multi-scale capsule network, and the triple memory matrix is used as the input of the optimized capsule network to better encode the dependencies between entities and capture the spatial structure information of the triple; while the dynamic routing of the capsule network part, using decentralized dynamic routing to replace the dynamic routing used in traditional capsule networks, assigning larger coupling coefficients to real features, transferring real features that are actually relevant to the class to the next capsule layer, while assigning erroneous features relatively Smaller coupling coefficients improve model performance.
Embodiment 1
[0047] This embodiment discloses a knowledge graph completion method based on multi-scale decentralized dynamic routing;
[0048] like figure 1 As shown, a knowledge graph completion method based on multi-scale decentralized dynamic routing, including:
[0049] S1: Use the multi-head attention mechanism to cyclically interact with the memory matrix for the acquired triples to be completed, encode the potential dependencies between entities and relationships, and generate triplet encoding vectors;
[0050] S2: Input the triplet encoding vector into the trained capsule network, extract global features, assign different coupling coefficients to the global features, predict the missing triples according to the global features, and complete the knowledge map.
[0051] The S1 step, which consists of a multilayer perceptron and memory gating, encodes the information of latent dependencies and important parts between entities and relations and forms an encoded embedding vector.
[0...
Embodiment 2
[0086] This embodiment discloses a knowledge graph completion system based on multi-scale decentralized dynamic routing;
[0087] like figure 2 As shown, a knowledge graph completion system based on multi-scale decentralized dynamic routing, including relational memory module and capsule network module;
[0088] The relationship memory module is used to cyclically interact with the memory matrix using the multi-head attention mechanism for the acquired triples to be completed, encode the potential dependencies between entities and relationships, and generate triplet encoding vectors;
[0089] The capsule network module is used to input the triplet encoding vector into the trained capsule network, extract global features, assign different coupling coefficients to the global features, predict the missing triples according to the global features, and complete the knowledge Completion of the map.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com