Knowledge graph completion method based on heterogeneous relational graph attention
By using the heterogeneous relationship graph attention network and the DualE model in the knowledge graph to dynamically update entities and relationships, the problem of insufficient semantic modeling of entities and relationships under complex relationships in the existing technology is solved, and the completion of the knowledge graph is improved. accuracy and performance.
Patent Information
- Application Number
- CN202410905306.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-10-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing knowledge graph completion models lack the ability to model entity and relationship semantics under complex relationships, and ignore heterogeneous graph characteristics and semantic information, resulting in low completion accuracy.
A knowledge graph completion method based on heterogeneous relationship graph attention is adopted. Entities and relationships are embedded in the dual quaternion space through the DualE model. The heterogeneous relationship graph attention network is used to dynamically update entities and relationships, and the ConvE model is used for dynamic updating of entities and relationships. Scores of triples are evaluated to select the most appropriate completion.
It enhances the semantic modeling capabilities of entities and relationships in knowledge graphs, improves the accuracy and performance of knowledge graph completion, especially the ability to dynamically update entities and relationships under complex relationships.
Smart Images

Figure CN118861318A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of knowledge graph completion under the branch of artificial intelligence, and specifically to a knowledge graph completion method based on heterogeneous relationship graph attention. Background Art
[0002] The knowledge graph is a collection of a large number of facts in the real world, describing the connections between all things in the world in the form of triples. It helps machines understand and organize information, provides structural and semantic knowledge about the world, and enables computer systems to more intelligently process and reason about the relationship between entities. It is widely used in downstream application fields. Existing knowledge graphs often have sparsity problems, lack of potential entities and relationships, and affect their downstream application fields. Therefore, the completion of the knowledge graph becomes crucial.
[0003] Structured knowledge graphs represent knowledge in the form of triples, but the symbolic features of knowledge graphs make them difficult to operate. To solve this problem, knowledge graph embedding represents entities and relationships in knowledge graphs in a vector space. While making full use of the inherent structure, the efficient computation of vectors is used to simplify operations, making full use of the semantic information between objects. Knowledge graph embedding models can be roughly divided into translation-based models, tensor decomposition-based models, and neural network-based models. In recent years, neural network-based models have been widely used.
[0004] For the problem of knowledge graph completion, most models only focus on the triples themselves, ignoring the structural information of the triples. Although the graph attention network-based model can learn the neighbor information of the entity to enrich the entity representation, it ignores the heterogeneous graph characteristics of the knowledge graph and is insufficient in modeling the semantic space of entities and relationships under complex relationships. At the same time, most models often directly perform random initialization when embedding entity relationships, ignoring the semantic information in the triples. Summary of the invention
[0005] Most knowledge graph embedding models based on graph attention often perform neighbor aggregation updates on entities, and the relationship representation usually uses simple linear transformations, which cannot capture the different semantic connotations of the same relationship in different triples, ignoring the dynamic update of relationships and the global information of entities. How to dynamically update entities and relationships under complex relationships is the key problem to be solved. To solve the above problems, the present invention proposes a knowledge graph completion method based on heterogeneous relationship graph attention, which enhances the semantic modeling capabilities of entities and relationships under heterogeneous graphs and improves the accuracy of knowledge graph completion.
[0006] To achieve the above object, the technical solution of the present invention is as follows:
[0007] S1: Obtain triples, entities, and relationship sets to construct the knowledge graph dataset to be completed;
[0008] S2: Use the DualE model to embed entities and relationships into the dual quaternion space to model complex relationships and output entity and relationship vector matrices;
[0009] S3: Adopt heterogeneous relational graph attention network as information learner, use relation-specific weight matrix to interact with neighbor information and use cross-weight assignment to assign different weights to neighbor information, learn neighbor graph structure information, and dynamically update entities and relations respectively;
[0010] S4: Finally, the encoded vector is input into the information extractor ConvE model, which outputs the score of the triple being true, and selects the triple with the highest score to complete the knowledge graph.
[0011] Furthermore, in S1, to obtain the knowledge graph to be completed, first digitally number the entity and relationship symbol sets respectively, each entity and relationship corresponds to an ID, and then number the triples respectively to obtain a knowledge graph set. For a knowledge graph G = (E, R, T), E is the entity set, R is the relationship set, and T is the knowledge graph triple set.
[0012] Furthermore, in S2, the DualE model models the relationship as a combination of a series of translation and rotation operations: The DualE model expands the triple embedding space to the dual quaternion space, where entities and relationships are represented by real and imaginary parts, both of which are quaternions. The head entity, tail entity, and relationship are represented as: Q h =(a0,a1,a2,a3,b0,b1,b2,b3),Q t =(e0,e1,e2,e3,f0,f1,f2,f3),W r =(c0,c1,c2,c3,d0,d1,d2,d3)
[0013] The unit dual quaternion can represent translation and rotation. Using Schmidt orthogonalization, the relational dual quaternion W r Normalized to the relational unit dual quaternion W r ′, the normalized relationship can describe the head entity as the result of rotating and translating to the tail entity, so as to model complex relationship patterns and increase the interpretability of triples. The triples are initialized through the DualE model output entity and relationship vector matrix M e ∈R N×d 、M r ∈R M×d .
[0014] Furthermore, in S3, the heterogeneous graph attention network is used as an information learner, and the representation learning process of the triple follows the following two steps of the message passing neural network:
[0015] S31 message generation: The neighbor nodes of the central entity are grouped according to the type and direction of the edge, such as The head entity, relationship and tail entity are concatenated as the neighbor content of the central entity. The entities are grouped according to the relationship to enhance the connection between the neighborhood triplets under the same relationship. The neighbor content is input into the message function:
[0016] m (i,k,j) =W k [e i ||r k ||e j ]
[0017] Among them, || represents the vector concatenation operation, W k is the relationship-specific weight matrix, which is obtained by linearly projecting the relationship matrix. The neighbor nodes W in the same group k The same is used to enhance the interaction between neighborhood triples and relations.
[0018] Since the directionality of the relationship also affects the learning of the central entity, on the basis of integrating the neighbor information, multiply it by the weight matrix W corresponding to the relationship direction (inflow, outflow and self-loop) dir(r) Get c (i,k,j) :
[0019] c (i,k,j) =W dir(k) m (i,k,j)
[0020] Furthermore, S31 is divided into two aspects: entity update module and relationship update module:
[0021] S311: The entity update module obtains the similarity between the central entity and the neighbor triples through the cross-weight distribution layer to strengthen the semantic connection of the context. The absolute similarity score b of the neighbor triples (i,k,j) for:
[0022]
[0023] Among them, Q r ,K r are the query matrix and key matrix initialized according to the relationship matrix, F is the embedding dimension, q i , k (i,k,j) They are the query vector and key vector obtained by multiplying the query matrix and key matrix with the embedding vector of the central entity and the neighbor triplet respectively.
[0024] b (i,k,j)After softmax normalization, the relative similarity score α of the neighbor triples is obtained (i,j,k) :
[0025]
[0026] Among them, N(e i ) is the neighbor set of the central entity, R im The central entity i With neighbor entity e m The set of relationships between .
[0027] S312: The relationship update module uses the head entity and the tail entity of the relationship as the context content of the relationship update, and the absolute similarity score d of the neighbor information (i,j,k) and the relative similarity score β (i,k,j) They are:
[0028] d (i,j,k) =LeakyReLU(W att c (i,k,j) )
[0029]
[0030] Among them, e a 、e b Respectively, the relationship r k The left and right neighbor entities.
[0031] Furthermore, S32 weighted aggregation is divided into two aspects: entity update module and relationship update module:
[0032] S321: In the entity update module, the similarity between the central entity and the neighbor triples is obtained through the cross-weight distribution layer, and the calculated neighbor similarity score α is weighted summed with the central entity, and M information focusing units are used to stabilize the learning process to achieve dynamic entity update.
[0033] S322: In the relationship update module, the head entity and the tail entity of the relationship are used as the context content of the relationship update, and are dynamically updated according to the relationship similarity score and the relationship vector.
[0034] Furthermore, in S4, the information extractor ConvE model takes the encoding vector that has learned the neighborhood graph structure information as input, extracts entity and relationship interaction features through a two-dimensional filter, and inputs the following scoring function:
[0035]
[0036] Among them, f() is the activation function ReLU(), vec() represents the vectorization function, and e i 、r krepresents a two-dimensional reshaping operation, ω represents a two-dimensional filter;
[0037] Output the score of the triple being true, and select the triple with the highest score to complete the knowledge graph.
[0038] The present invention realizes semantic modeling of entities and relationships under heterogeneous relationships by constructing a heterogeneous relationship graph attention network. The entity and relationship modeling is pre-trained in the dual quaternion space using the DualE model to model heterogeneous relationships, thereby enhancing the semantic modeling of complex relationships. A relationship-specific weight matrix is used to interact with neighbor triple messages; a cross-weight distribution mechanism is introduced to learn the similarity between the central entity and the neighbor information, and the query matrix and the key matrix are learned with the relationship matrix to enhance the interaction between entities and relationships. In the relationship update module, the relationship is dynamically updated in the form of triples using the contextual neighbors of the relationship (i.e., the head entity and the tail entity). Through a multi-layer information transmission mechanism, the model can obtain multi-order neighbors of the entity and obtain rich graph structure information, greatly improving the performance of the knowledge graph completion model. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 This is a flow chart of a method according to an embodiment of the present invention;
[0040] Figure 2 A schematic diagram of the knowledge graph completion method based on heterogeneous relationship graph attention of the present invention;
[0041] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0042] The following is a detailed description of the specific implementation scheme of the present application, which describes only a part of the embodiments of the present invention, rather than all the embodiments. Any other variant examples developed by any person with general technical knowledge in the relevant field without performing additional innovative work should be deemed to fall within the scope of protection of the present invention.
[0043] The method of the present invention comprises the following steps:
[0044] S1, obtain triples, entities and relationship sets to build the knowledge graph dataset to be completed;
[0045] S2, uses the DualE model to embed entities and relations into the dual quaternion space to model complex relations and output entity and relation vector matrices;
[0046] S3, uses a heterogeneous relational graph attention network as an information learner, uses a relation-specific weight matrix to interact with neighbor information and uses cross-weight assignment to assign different weights to neighbor information, learns neighbor graph structure information, and dynamically updates entities and relations respectively;
[0047] S4, finally input the encoded vector into the information extractor ConvE model, output the score of the triple being true, and select the triple with the highest score to complete the knowledge graph.
[0048] Specifically, S1: For a knowledge graph G = (E, R, T), E is the entity set, R is the relationship set, and T is the knowledge graph triple set. First, each entity and relationship in the knowledge graph to be completed is numbered to obtain entity2id.txt and relation2id.txt. This process involves mapping all different entities and relationships in the knowledge graph to unique identifiers (IDs). For example, if there is an entity "Beijing" and a relationship "located in" in the knowledge graph, these two elements, namely the entity and the relationship, will be assigned unique digital IDs, such as "Beijing" → ID_1, "located in" → ID_2.
[0049] Triples are the basic building blocks of knowledge graphs, consisting of a head entity, a relationship, and a tail entity. After mapping a unique ID to each entity and relationship, triples can be numbered into a unique identifier. For example, the triple ("Beijing", "located in", "China") is numbered (1,2,3), and finally a set of triples is obtained. The triple set is divided into a training set train.txt, a validation set valid.txt, and a test set test.txt in a ratio of 8:1:1. The training set is used to train the model and adjust the model's parameters so that the model can learn triple features; the validation set is used to adjust the model's hyperparameters and evaluate the model's performance during the training process to prevent overfitting; the test set is used to evaluate the model's generalization ability and to evaluate the accuracy of knowledge graph completion through link prediction tasks.
[0050] Specifically, S2: DualE model models the relationship as a combination of a series of translation and rotation operations: The DualE model expands the triple embedding space to the dual quaternion space, and the entities and relationships are represented by real and imaginary parts, where both the real and imaginary parts are quaternions. The head entity, tail entity and relationship are represented as:
[0051] Q h =(a0,a1,a2,a3,b0,b1,b2,b3),Q t =(e0,e1,e2,e3,f0,f1,f2,f3),W r =(c0,c1,c2,c3,d0,d1,d2,d3) single
[0052] The dual quaternion can represent translation and rotation. Using Schmidt orthogonalization, the relational dual quaternion W r Normalized to the relational unit dual quaternion W r′, the normalized relationship can describe the head entity as the result of rotating and translating to the tail entity, so as to model complex relationship patterns and increase the interpretability of triples. The triples are initialized through the DualE model output entity and relationship vector matrix M e ∈R N×d 、M r ∈R M×d .
[0053] The graph attention network performs well in the task of knowledge graph completion and is particularly suitable for processing the topological structure of knowledge graphs. It can effectively extract and learn the graph structure information of triples, which is more suitable than other knowledge graph completion models. In recent years, many researchers have actively studied graph attention networks in the field of graph structure and have achieved remarkable research results, making it a mainstream model for improving the performance of knowledge graph completion.
[0054] Specifically, S3: Heterogeneous Relational Graph Attention Network is used as an information learner, which is divided into an entity update module and a relationship update module. First, given a triple (h, r, t), the graph attention network projects it into a d-dimensional embedding space to obtain e i ,r k ,e j ∈R d , the representation learning process of triples follows the following two steps of message passing neural network:
[0055] S31 message generation: The neighbor nodes of the central entity are grouped according to the type and direction of the edge, such as The head entity, relationship and tail entity are concatenated as the neighbor information of the central entity. The entities are grouped according to the relationship to enhance the connection between the neighborhood triplets under the same relationship. The neighbor information is input into the message function:
[0056] m (i,k,j) =W k [e i ||r k ||e j ]
[0057] Among them, || represents the vector concatenation operation, W k is the relationship-specific weight matrix, which is obtained by linearly projecting the relationship matrix. The neighbor nodes W in the same group k Similarly, it is used to enhance the interaction between neighborhood triples and relationships. Since the directionality of the relationship will also affect the learning of the central entity, on the basis of integrating the neighbor information, multiply it by the weight matrix W corresponding to the relationship direction (inflow, outflow and self-loop) dir(r) Get c (i,k,j) :
[0058] c (i,k,j) =W dir(k)m (i,k,j)
[0059] Specifically, S31 is divided into two aspects: entity update module and relationship update module:
[0060] S311: The entity update module obtains the similarity between the central entity and the neighbor triples through cross-weight assignment to strengthen the semantic connection of the context. The absolute similarity score b of the neighbor triples (i,k,j) :
[0061]
[0062] Among them, Q r ,K r are the query matrix and key matrix initialized according to the relationship matrix, F is the embedding dimension, q i , k (i,k,j) They are the query vector and key vector obtained by multiplying the query and key matrices with the embedding vectors of the central entity and neighbor triples, respectively.
[0063] b (i,k,j) After softmax normalization, the relative similarity score α of the neighbor triples is obtained (i,j,k) :
[0064]
[0065] Among them, N(e i ) is the neighbor set of the central entity, R im The central entity i With neighbor entity e m The set of relationships between .
[0066] S312: The relationship update module uses the head entity and the tail entity of the relationship as the context content of the relationship update, and the absolute similarity score d of the neighbor information (i,j,k) and the relative similarity score β (i,k,j) They are:
[0067] d (i,j,k) =LeakyReLU(W att c (i,k,j) )
[0068]
[0069] Among them, e a 、e b Respectively, the relationship r k The left and right neighbor entities.
[0070] Specifically, S32 weighted aggregation is divided into two aspects: entity update module and relationship update module:
[0071] S321: In the entity update module, the similarity between the central entity and the domain triple is obtained through cross-weight distribution, and the calculated neighbor similarity score α is weighted summed with the central entity to achieve dynamic entity update. At the same time, M information focusing units are used to stabilize the learning process. In order to avoid forgetting the node information itself and to compare it with the node information e of the previous layer, i l-1 Add and get the representation of the center entity at layer l after the neighbor information is updated.
[0072]
[0073] Among them, e j is the neighbor node of the central entity, k∈R ij Represents entity e i 、e j The relationship vector between .
[0074] S322: In the relationship update module, the head entity and the tail entity of the relationship are used as the context content of the relationship update, and weighted aggregation is performed based on the context content and the relationship similarity score and the relationship vector. M information focusing units are also used to stabilize the learning process, and residual connections are used to obtain the relationship information itself:
[0075]
[0076] Specifically, S4: Information Extractor ConvE model takes the embedding vector that has learned the neighborhood graph structure information as input, extracts entity and relationship interaction features through a two-dimensional filter, and inputs the scoring function:
[0077]
[0078] Among them, f() is the activation function ReLU(), vec() represents the vectorization function, represents a two-dimensional reshaping operation and ω represents a two-dimensional filter.
[0079] The present invention uses link prediction tasks to evaluate the accuracy of model knowledge graph completion. Link prediction tasks refer to predicting the correct entity of the triple by giving the head entity and relationship, such as inferring the tail entity "China" of the triple "Beijing, located in,?" In the evaluation experiment, all candidate entities of the knowledge graph entity set E are used to replace h or t of each (h, r, t) in the data set to construct candidate triples (h′, r, t) or (h, r, t′). Then the candidate triple is substituted into the scoring function to obtain the score of the triple, that is, the probability that the triple is the correct triple, and the scores are sorted in descending order to obtain the ranking of the correct triples.
[0080] MRR and Hit@n are used as evaluation indicators for link prediction: MRR represents the average of the last rankings of all correct triples in the test set, and Hit@n represents the proportion of all correct triples in the test set that rank in the top n, where n is 1, 3, or 10. The higher the MRR and Hit@n, the more accurate the model prediction of the entity, and the better the model performance. The calculation formulas for MRR and Hit@n are as follows:
[0081]
[0082]
[0083] Where |S| represents the number of all triplets; n = {1, 3, 10}; is an indicator function, when the condition is met It takes 1 when satisfied, and takes 0 when not satisfied.
[0084] The training parameters use the binary cross entropy loss function with a label smoothing rate of 0.1:
[0085]
[0086] Where N is the total number of entity sets, y i =f r (e i ,e j ) is the prediction score, is the predicted label. If (h, r, t) is a fact triple, then Otherwise 0.
[0087] The content of the present invention should not be understood as being limited to the specific embodiments described, but should be understood as including all protection scopes defined in the claims. The embodiments provided in this specification are merely examples, intended to help understand the spirit and scope of the present invention, and do not constitute a limitation on the protection scope of the present invention.
[0088] In the detailed description provided, terms such as "includes", "comprising", etc. may be used, which are intended to indicate that the elements described are non-exclusive and that the invention also includes other elements not explicitly listed, as well as those inherent to the invention, without departing from the spirit and scope of the invention.
[0089] The technical field covered by the present invention is very broad, including but not limited to desktop computers, laptops, smart phones, PDA handheld terminals, tablet computers and other terminal devices with display functions. In addition, the method of the present invention can be implemented in a variety of different technical environments, including but not limited to knowledge graph completion, natural language processing, machine learning and other fields.
[0090] The embodiments described in this specification and the accompanying drawings are only preferred embodiments of the present invention and do not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the specification and the accompanying drawings of the present invention, or directly or indirectly applied in other related technical fields, shall be included in the patent protection scope of the present invention.
[0091] Therefore, the protection scope of the present invention should be determined according to the contents of the claims rather than the specific description of the embodiments.
Claims
1. A knowledge graph completion method based on heterogeneous relationship graph attention, characterized in that: The following steps are involved: S1: Obtain triples, entities, and relationship sets to construct the knowledge graph dataset to be completed; S2: Use the DualE model to embed entities and relationships into the dual quaternion space to model complex relationships and output entity and relationship vector matrices; S3: Adopt heterogeneous relational graph attention network as information learner, use relation-specific weight matrix to interact with neighbor information and use cross-weight assignment to assign different weights to neighbor information, learn neighbor graph structure information, and dynamically update entities and relations respectively; S4: Finally, the encoded vector is input into the information extractor ConvE model, which outputs the score of the triple being true, and selects the triple with the highest score to complete the knowledge graph.
2. The knowledge graph completion method based on heterogeneous relationship graph attention according to claim 1 is characterized in that: The DualE model models the relationship as a combination of a series of translation and rotation operations. The DualE model expands the triple embedding space to the dual quaternion space. The entities and relationships are represented by real and imaginary parts, where both the real and imaginary parts are quaternions. The head entity, tail entity and relationship are represented as follows: <h2 style=";text-align:left;direction:ltr">Q<h2 style=";text-align:left;direction:ltr"> h <h2 style=";text-align:left;direction:ltr"> (a0,a1,a2,a3,b0,b1,b2,b3),Q<h2 style=";text-align:left;direction:ltr"> t <h2 style=";text-align:left;direction:ltr"> (e0,e1,e2,e3,f0,f1,f2,f3),W<h2 style=";text-align:left;direction:ltr"> r <h2 style=";text-align:left;direction:ltr"> (c0,c1,c2,c3,d0,d1,d2,d3) The unit dual quaternion can model translation and rotation operations, and the relational dual quaternion W is transformed using Schmidt orthogonalization. r Normalized to the relational unit dual quaternion W r ′, the normalized relationship can describe the head entity as the result of rotating and translating to the tail entity, so as to model complex relationship patterns and increase the interpretability of triples. The triples are initialized through the DualE model output entity and relationship vector matrix M e ∈R N×d 、M r ∈R M×d .
3. The knowledge graph completion method based on heterogeneous relationship graph attention according to claim 1 is characterized in that: The heterogeneous graph attention network is used as an information learner and is divided into an entity update module and a relationship update module. The representation learning process of the triple follows the two steps of the message passing neural network: (a) Message generation: The neighbor nodes of the central entity are grouped according to the type and direction of the edge, such as The head entity, relationship, and tail entity vectors are concatenated as the neighbor information of the central entity. The entities are grouped according to the relationship to enhance the connection between the neighborhood triplets under the same relationship. The neighbor information is input into the message function: m (i,k,j) =W k [have been i ||r k ||e j ] Among them, || represents the vector concatenation operation, W k is the relationship-specific weight matrix, which is obtained by linearly projecting the relationship matrix. The neighbor nodes W in the same group k Similarly, it is used to enhance the interaction between neighborhood triples and relations. Since the directionality of relations will also affect the learning of central entities, on the basis of integrating neighbor information, it is multiplied by the weight matrix W corresponding to the direction of relations (inflow, outflow and self-loop) dir(r) Get c (i,k,j) : c (i,k,j) =W dir(k) m (i,k,j) (b) Weighted aggregation: In the entity update module, the similarity between the central entity and the neighbor triples is obtained through the cross-weight distribution layer, and the calculated neighbor similarity score α is weightedly summed with the central entity to realize dynamic entity update; in the relationship update module, the head entity and tail entity of the relationship are used as the context content of the relationship update, and dynamic updates are performed based on the relationship similarity score and the relationship vector.
4. The knowledge graph completion method based on heterogeneous relationship graph attention according to claim 3 is characterized in that: The entity update module obtains the similarity b between the central entity and the neighbor triples by cross-weight assignment. (i,k,j) To strengthen the semantic connection of the context, the absolute similarity score of neighbor triplets is calculated as: Among them, Q r ,K r are the query matrix and key matrix initialized according to the relationship matrix, F is the embedding dimension, q i ,k (i,k,j) The query vector and key vector are obtained by multiplying the query matrix and key matrix with the embedding vector of the central entity and neighbor triples respectively; b (i,k,j) After softmax normalization, the relative similarity score α of the neighbor triples is obtained (i,j,k) : Among them, N(e i ) is the central entity e i The neighbor set, R im The central entity i With neighbor entity e m The set of relationships between The calculated neighbor similarity score α is compared with the central entity e i A weighted summation is performed and M information focusing units are used to stabilize the learning process.
5. The knowledge graph completion method based on heterogeneous relationship graph attention according to claim 3 is characterized in that: The relationship update module uses the head entity and the tail entity of the relationship as the context content of the relationship update, and the absolute similarity score d of the neighbor information (i,j,k) and the relative similarity score β (i,k,j) They are: d (i,j,k) =LeakyReLU(W att c (i,k,j) ) Among them, e a 、e b Respectively, the relationship r k The left and right neighbor entities; Weighted aggregation is performed on the relationship vectors based on the relationship similarity scores.
6. The knowledge graph completion method based on heterogeneous relationship graph attention according to claim 1 is characterized in that: The information extractor ConvE model takes the embedding vector that has learned the neighborhood graph structure information as input, extracts entity and relationship interaction features through a two-dimensional filter, and inputs the scoring function: Among them, f() is the activation function ReLU(), vec() represents the vectorization function, represents a two-dimensional reshaping operation, ω represents a two-dimensional filter; Output the score of the triple being true, and select the triple with the highest score to complete the knowledge graph.
Citation Information
Cited By
Multi-document abstract generation system and method based on aspect orientation
CN119415683A
A multi-document summary generation system and method based on aspect orientation
CN119415683B
Entity-oriented multi-document abstract generation system and method
CN119415684A
Threat intelligence entity relationship identification method and system
CN119441790A
Threat intelligence entity relationship identification method and system
CN119441790B
