Link prediction method and system for knowledge graph
A knowledge map and link prediction technology, applied in neural learning methods, unstructured text data retrieval, biological neural network models, etc., can solve the problem of limited interaction capture ability, low link prediction accuracy, and inability of ConvE to interact, etc. question
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] Such as figure 1 and figure 2 As shown, this embodiment provides a link prediction method for a knowledge graph, which specifically includes the following steps:
[0038] Step S101: Obtain entity vectors and relational embedding vectors in the knowledge graph.
[0039] The data of the method in this embodiment are taken from three knowledge map data sets applied to FB15K-237, WN18RR and YAGO3-10. The entity vector and relation embedding vector in the knowledge graph are e s and e r .
[0040] Step S102: generating a random permutation of the entity vectors and relation embedding vectors.
[0041] The order of input is not fixed, but multiple permutations are generated by random permutation to capture more interactions.
[0042] First generate e s and e r A random permutation of , we denote as In most cases, for different i The included interaction sets are disjoint. Through the knowledge of permutations and combinations, we can know that in all permutation...
Embodiment 2
[0086] This embodiment provides a link prediction system for knowledge graphs, which specifically includes:
[0087] A vector acquisition module, which is used to acquire entity vectors and relational embedding vectors in the knowledge graph;
[0088] a random permutation module for generating a random permutation of the entity vectors and relational embedding vectors;
[0089] A reshaping module, which is used to reshape randomly arranged entity vectors and relational embedding vectors into a matrix form;
[0090] A batch normalization processing module, which is used for batch normalization processing the reshaped entity vector and relational embedding vector in the matrix;
[0091] Link prediction module, which is used to convolve the normalized entity vector and relationship embedding vector using circular convolution, and the convolution vectorization output is fed back to the fully connected layer to obtain the entity embedding matrix and predict the knowledge map link...
Embodiment 3
[0094] This embodiment provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps in the above-mentioned link prediction method for a knowledge graph are implemented.
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