A knowledge representation and reasoning method for multimodal drug knowledge graph

Through the knowledge representation and reasoning method of the multi-modal drug knowledge graph, graph neural network technology is used to fuse multi-modal data, build a drug knowledge graph and predict potential interactions between drugs, solving the problem of multi-modal data fusion and The challenge of knowledge reasoning significantly improves the accuracy and efficiency of drug interaction prediction.

CN118072862BActive Publication Date: 2024-08-23LINYI UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410494036.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-24
Publication Date
2024-08-23
Estimated Expiration
2044-04-24

AI Technical Summary

Technical Problem

In the construction and application of drug knowledge graphs, especially in the field of reasoning and prediction of drug-drug interactions (DDI), we are faced with the challenges of multi-modal data fusion and knowledge reasoning representation. How to effectively fuse multiple types of data and conduct drug-drug interaction analysis? Accurate representation and reasoning to improve the accuracy of drug interaction prediction.

Method used

Using the knowledge representation and reasoning method of the multi-modal drug knowledge graph, the drug knowledge graph is constructed through graph neural network technology, drug features are extracted, the graph convolution algorithm of the path is used to represent the drug-drug relationship path rules, and the potential is predicted through the fully connected layer Interaction, combined with the mirror projection mechanism, Attentive FP framework, gated recurrent neural network and layer-gated attention neural network for data processing and feature representation.

Benefits of technology

It improves the accuracy and efficiency of drug interaction prediction, enhances the migration and generalization ability of the model, provides new perspectives and methods for the application of drug knowledge graphs, and significantly improves the accuracy of drug interaction prediction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118072862B
    Figure CN118072862B
Patent Text Reader

Abstract

The present invention relates to the field of drug knowledge graph and artificial intelligence technology, and specifically designs a knowledge representation and reasoning method of a multimodal drug knowledge graph, the steps of which are as follows: construct a multimodal drug knowledge graph, analyze and integrate the chemical structures of the main components of the drugs, and integrate this information into the drug knowledge graph; extract drug features in the multimodal drug knowledge graph, including knowledge such as the chemical molecular formula structure of the main components of the drugs, and then extract the topological structure features of the molecular structure formula through the graph neural network technology to represent the drug features; screen out the path between the drug to be inferred and the drug through the graph convolution algorithm of the path, and then represent the relationship path rules between the drug to be inferred and the drug to be inferred by the subgraph generated by the breadth traversal with the query drug as the center; predict the reasoning result score. The present invention improves the accuracy of drug interaction prediction and also provides a new perspective and method for the application of drug knowledge graphs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the fields of drug knowledge graphs and artificial intelligence technology, and in particular to a knowledge representation and reasoning method of a multimodal drug knowledge graph. Background Art

[0002] In the construction and application of drug knowledge graphs, we face diverse and complex challenges, especially in the field of drug-drug interaction (DDI) reasoning and prediction. These challenges mainly include: (1) Multimodal data fusion problem. The construction of drug knowledge graphs involves multiple types of data, such as chemical structure, pharmacodynamic properties, clinical applications, etc. These data have differences in format and structure. How to effectively fuse these multimodal data is the key to improving the accuracy of drug interaction prediction. (2) Knowledge reasoning and representation problem. Drug interactions often involve complex biological mechanisms, which require accurate representation and reasoning of entities and relationships in drug knowledge graphs. Therefore, how to effectively infer new and unknown drug-drug interactions based on existing knowledge and data is an important issue in this field.

[0003] Therefore, the present invention proposes a knowledge representation and reasoning method of a multimodal drug knowledge graph to solve the above problems. Summary of the invention

[0004] In view of the deficiencies in the prior art, the present invention develops a knowledge representation and reasoning method for a multimodal drug knowledge graph, which can improve the accuracy of drug interaction prediction and provide a new perspective and method for the application of drug knowledge graphs.

[0005] The technical solution to the technical problem of the present invention is: a knowledge representation and reasoning method of a multimodal drug knowledge graph, comprising the following steps:

[0006] S1. Construct a multimodal drug knowledge graph: Analyze and integrate the chemical structures of the main components of the drugs, and integrate this information into the drug knowledge graph to provide the model with the molecular formula structure characteristics and unified representation of the drugs;

[0007] S2. Extract and represent the explicit features of drugs on the multimodal drug knowledge graph: extract drug features in the multimodal drug knowledge graph, including the chemical molecular formula structure graph features of the main components of the drug, and then extract the topological structure features of the molecular structure formula through the graph neural network technology to represent the drug features;

[0008] S3. Represent the relationship path rules between drugs to be inferred: Filter the paths between drugs to be inferred through the graph convolution algorithm, and then traverse the generated paths with the query drug as the center. The subgraph of represents the relationship path rules between drugs to be inferred;

[0009] S4. Predict the reasoning result score: The obtained relationship path rule representation vector is fed to the fully connected layer to predict the score on the candidate answer to determine the potential drug-drug interaction.

[0010] In step S1, in the process of constructing a multimodal drug knowledge graph, the molecular formula structural characteristics of the drug are processed by graph neural network technology, the molecular structure of the drug compound is analyzed, and its features are extracted, and then the extracted features are fused to construct the drug knowledge graph.

[0011] Step S2 includes three parts: data preprocessing, molecular representation of drug main components, and molecular structure graph convolution representation. The specific steps are as follows:

[0012] S2.1. Data preprocessing: Before extracting drug features, multimodal data were thoroughly cleaned and preprocessed to ensure data quality and consistency;

[0013] S2.2. Molecular representation of the main components of drugs: By maintaining the characteristics in the original space under the same chemical bond table, a mirror projection mechanism is introduced in the process of representing the chemical molecular formula of the drug components to capture the information characteristics along different chemical bonds. The calculation formula is:

[0014] ,

[0015] in, Represents the transformation matrix in the mirror projection mechanism, In the molecular structure diagram, atoms represent vectors. represents the identity matrix, represents transpose;

[0016] S2.3. Molecular structure graph convolution representation: using Attentive FP Framework, in a single-layer graph attention neural network GAT The molecular structure convolution graph is represented in , where the aggregation process formula of adjacent node information is:

[0017] ,

[0018] in, represents the linear rectification function, Indicates the different chemical bonds in the molecular formula, represents the atoms in the molecular formula, express Attention during aggregation, represents the transformation matrix, represents the graph convolutional layer, represents a set of relations, express The node corresponds to the feature vector, Representation Center Node Nodes connected by chemical bonds, represents a node in a molecular formula, express Node The set of neighbors linked by chemical bonds, express Graph Convolutional Layer The nodes correspond to the representation vectors to be updated, and each layer of atoms is represented by a gated recurrent unit. GRU Update, the formula of the update process is:

[0019] ,

[0020] in, represents the operation of the gated recurrent unit, express Graph Convolutional Layer Node feature vector, express Graph Convolutional Layer The updated feature vector of the node.

[0021] Step S3 includes designing a gate control loop to exchange neurons and The specific steps of the layer-gate graph attention neural network are as follows:

[0022] Design of gate-controlled recurrent neurons that integrate global information: By modeling the relationship rule characteristics of the drug knowledge graph, gate-controlled recurrent neurons that integrate global information are designed. The relationship rule characteristics include the sequential combination of relationships along the path and the relationship characteristics from the global. The formula for defining the gate-controlled recurrent neuron structure that integrates global information is as follows:

[0023] ,

[0024] in, represents the updated path features, express The feature vector of the source node, express The global representation vector of the relationship, express The eigenvector of the relation, GMGU Add a gate between the global information and local features of the relationship to indicate the information allocation when the global and local features of the relationship are fused. GMGU The calculation formula is:

[0025] ,

[0026] ,

[0027] ,

[0028] ,

[0029] in, represents the forget gate, represents the candidate hidden state, represents the learnable distribution weights, express Activation function, Represents a splicing operation, represents the dot product operation, 、 Represent the trainable transformation matrix and offset respectively, represents the hyperbolic tangent function.

[0030] Layer-Gate Graph Attention Neural Network: In the layer-gate graph attention neural network, Layer-Gated Graph Attention Neural Network Aggregation for Querying Entities centered Subgraph relations propagate information, layer, through Capture along edge Relationship rule feature representation , the calculation formula is:

[0031] ,

[0032] in, Indicated in layer The feature vector of the source node , Indicated in layer The eigenvector of the relation, express The global representation vector of the relationship, , , , The dimension is A real vector of ;

[0033] Then query the features And obtain the relation rule feature representation Calculate the attention of each adjacent edge of the central node , the calculation formula is:

[0034] ,

[0035] ,

[0036] in, and Respectively indicate attention Trainable transformation matrices and vectors of Indicates attention The trainable offset of Indicated in layer The adjacent edge set at , In the network, they represent the source node, relationship, central node, and question pair in the information propagation mechanism. Through triples Indicates that the problem of missing target entity is Recorded as ; Represent other source nodes and other relationships respectively. represents the attention weight, Indicated in layer The attention weight of the aggregation process is:

[0037] ,

[0038] Finally, through the minimum gated recurrent neural network Update the entity representation, the calculation formula is:

[0039] ,

[0040] in, express The entity representation of the layer, express The updated entity representation of the layer.

[0041] In step S4, the final representation vector obtained in step 5 is fed to the fully connected layer to predict the scores on the candidate answers and determine the potential interactions between the drugs. The central node in , the problem pair of missing target entity The answer In the candidate answer entity set superior, The formula for the score is:

[0042] ,

[0043] in, Indicates that the candidate answer is the central node The score, represents the transformation matrix, Indicates the offset, Represent the number of subgraph steps and delay layers respectively.

[0044] The effects provided in the content of the invention are only the effects of the embodiments, rather than all the effects of the invention. The above technical solution has the following advantages or beneficial effects:

[0045] The present invention proposes a new method that combines multimodal data fusion and knowledge reasoning technology to improve the accuracy and efficiency of drug knowledge graphs in drug interaction reasoning and prediction. First, a comprehensive drug knowledge graph is constructed by integrating multimodal data, such as the chemical structure of the drug. Then, advanced knowledge reasoning methods, such as graph-based neural networks, are used to predict potential interactions between drugs. Finally, the implicit knowledge in the pre-trained model is integrated to further enhance the accuracy and generalization ability in the reasoning process. Specifically, the present invention brings significant advantages in the following aspects: information propagation in the gated graph attention neural network module is guided by queries; in the process of drug component aggregation, attention can be used to represent the influence of the main components that cause drug interactions; since the entities on the knowledge graph are uniformly represented by the main component molecules, the model framework will have excellent mobility. The present invention not only improves the accuracy of drug interaction prediction, but also provides a new perspective and method for the application of drug knowledge graphs. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.

[0047] Picture 1 Schematic diagram of the process of the present invention. DETAILED DESCRIPTION

[0048] In order to clearly illustrate the technical features of the present invention, the present invention is described in detail below through specific implementation methods and in conjunction with the accompanying drawings. The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. In order to simplify the disclosure of the present invention, the components and settings of specific examples are described below.

[0049] Example 1

[0050] A knowledge representation and reasoning method for a multimodal drug knowledge graph includes the following steps:

[0051] S1. Construct a multimodal drug knowledge graph: Analyze and integrate the chemical structures of the main components of the drugs, and integrate this information into the drug knowledge graph to provide the model with the molecular formula structure characteristics and unified representation of the drugs;

[0052] S2. Extract and represent the explicit features of drugs on the multimodal drug knowledge graph: extract drug features in the multimodal drug knowledge graph, including the chemical molecular formula structure graph features of the main components of the drug, and then extract the topological structure features of the molecular structure formula through the graph neural network technology to represent the drug features;

[0053] S3. Represent the relationship path rules between drugs to be inferred: Filter the paths between drugs to be inferred through the graph convolution algorithm, and then traverse the generated paths with the query drug as the center. The subgraph of represents the relationship path rules between drugs to be inferred;

[0054] S4. Predict the reasoning result score: The obtained relationship path rule representation vector is fed to the fully connected layer to predict the score on the candidate answer to determine the potential drug-drug interaction.

[0055] In step S1, in the process of constructing a multimodal drug knowledge graph, the molecular formula structural characteristics of the drug are processed by graph neural network technology, the molecular structure of the drug compound is analyzed, and its features are extracted, and then the extracted features are fused to construct the drug knowledge graph.

[0056] Step S2 includes three parts: data preprocessing, molecular representation of drug main components, and molecular structure graph convolution representation. The specific steps are as follows:

[0057] S2.1. Data preprocessing: Before extracting drug features, multimodal data were thoroughly cleaned and preprocessed to ensure data quality and consistency;

[0058] S2.2. Molecular representation of the main components of drugs: By maintaining the characteristics in the original space under the same chemical bond table, a mirror projection mechanism is introduced in the process of representing the chemical molecular formula of the drug components to capture the information characteristics along different chemical bonds. The calculation formula is:

[0059] ,

[0060] in, Represents the transformation matrix in the mirror projection mechanism, In the molecular structure diagram, atoms represent vectors. represents the identity matrix, represents transpose;

[0061] S2.3. Molecular structure graph convolution representation: using Attentive FP Framework, in a single-layer graph attention neural network GAT The molecular structure convolution graph is represented in , where the aggregation process formula of adjacent node information is:

[0062] ,

[0063] in, represents the linear rectification function, Indicates the different chemical bonds in the molecular formula, represents the atoms in the molecular formula, express Attention during aggregation, represents the transformation matrix, represents the graph convolutional layer, represents a set of relations, express The node corresponds to the feature vector, Representation Center Node Nodes connected by chemical bonds, represents a node in a molecular formula, express Node The set of neighbors linked by chemical bonds, express Graph Convolutional Layer The nodes correspond to the representation vectors to be updated, and each layer of atoms is represented by a gated recurrent unit. GRU Update, the formula of the update process is:

[0064] ,

[0065] in, represents the operation of the gated recurrent unit, express Graph Convolutional Layer Node feature vector, express Graph Convolutional Layer The updated feature vector of the node.

[0066] Step S3 includes designing a gate control loop to exchange neurons and The specific steps of the layer-gate graph attention neural network are as follows:

[0067] Design of gate-controlled recurrent neurons that integrate global information: By modeling the relationship rule characteristics of the drug knowledge graph, gate-controlled recurrent neurons that integrate global information are designed. The relationship rule characteristics include the sequential combination of relationships along the path and the relationship characteristics from the global. The formula for defining the gate-controlled recurrent neuron structure that integrates global information is as follows:

[0068] ,

[0069] in, represents the updated path features, express The feature vector of the source node, express The global representation vector of the relationship, express The eigenvector of the relation, GMGU Add a gate between the global information and local features of the relationship to indicate the information allocation when the global and local features of the relationship are fused. GMGU The calculation formula is:

[0070] ,

[0071] ,

[0072] ,

[0073] ,

[0074] in, represents the forget gate, represents the candidate hidden state, represents the learnable distribution weights, express Activation function, Represents a splicing operation, represents the dot product operation, 、 Represent the trainable transformation matrix and offset respectively, represents the hyperbolic tangent function.

[0075] Layer-Gate Graph Attention Neural Network: In the layer-gate graph attention neural network, Layer-Gated Graph Attention Neural Network Aggregation for Querying Entities centered Subgraph relations propagate information, layer, through Capture along edge Relationship rule feature representation , the calculation formula is:

[0076] ,

[0077] in, Indicated in layer The feature vector of the source node , Indicated in layer The eigenvector of the relation, express The global representation vector of the relationship, , , , The dimension is A real vector of ;

[0078] Then query the features And obtain the relation rule feature representation Calculate the attention of each adjacent edge of the central node , the calculation formula is:

[0079] ,

[0080] ,

[0081] in, and Respectively indicate attention The trainable transformation matrix and vector of Indicates attention The trainable offset of Indicated in layer The adjacent edge set at , In the network, they represent the source node, relationship, central node, and question pair in the information propagation mechanism. Through triples Indicates that the problem of missing target entity is Recorded as ; Represent other source nodes and other relationships respectively. represents the attention weight, Indicated in layer The attention weight of the aggregation process is:

[0082] ,

[0083] Finally, through the minimum gated recurrent neural network Update the entity representation, the calculation formula is:

[0084] ,

[0085] in, express The entity representation of the layer, express The updated entity representation of the layer.

[0086] In step S4, the final representation vector obtained in step 5 is fed to the fully connected layer to predict the scores on the candidate answers and determine the potential interactions between the drugs. The central node in , the problem pair of missing target entity The answer In the candidate answer entity set superior, The formula for the score is:

[0087] ,

[0088] in, Indicates that the candidate answer is the central node The score, represents the transformation matrix, Indicates the offset, Represent the number of subgraph steps and delay layers respectively.

[0089] Example 2

[0090] In addition, the scheme of the present invention conducts inference prediction experiments on the public data set WN18RR. The experimental results are shown in Table 1. The results in Table 1 show that GMGU in the present invention has a more obvious advantage in reasoning ability compared with the current best knowledge graph reasoning models CompGCN, NBFNet and RED-GNN. Specifically, in two reasoning scenarios, except for the Hit@10 indicator, other indicators have achieved better results. This result illustrates the excellence and feasibility of the model proposed in the present invention. In Table 1, MRR represents the average value of the reciprocal ranking of the correct prediction results. The smaller the value, the higher the ranking of the prediction results; Hit@k represents the proportion of the predicted correct results in the top-k, and the larger the value, the better; v1-v4 are 4 standard versions set according to the corresponding induction in the GralL paper.

[0091] Table 1 Comparison of the proposed model on the WN18RR dataset and the general knowledge graph reasoning model in reasoning tasks

[0092]

[0093] Although the above describes the specific implementation mode of the invention in conjunction with the drawings, it is not intended to limit the scope of protection of the invention. Based on the technical solution of the present invention, various modifications or variations that can be made by those skilled in the art without creative work are still within the scope of protection of the present invention.

Claims

1. A knowledge representation and reasoning method for a multimodal drug knowledge graph, characterized by: The following steps are involved: S1. Construct a multimodal drug knowledge graph: Analyze and integrate the chemical structures of the main components of the drugs, and integrate this information into the drug knowledge graph to provide the model with the molecular formula structure characteristics and unified representation of the drugs; S2. Extract and represent the explicit features of drugs on the multimodal drug knowledge graph: extract drug features in the multimodal drug knowledge graph, including the chemical molecular formula structure graph features of the main components of the drug, and then extract the topological structure features of the molecular structure formula through the graph neural network technology to represent the drug features; Step S2 includes three parts: data preprocessing, molecular representation of drug main components, and molecular structure graph convolution representation. The specific steps are as follows: S2.

1. Data preprocessing: Before extracting drug features, multimodal data were thoroughly cleaned and preprocessed to ensure data quality and consistency; S2.

2. Molecular representation of the main components of drugs: By maintaining the characteristics in the original space under the same chemical bond table, a mirror projection mechanism is introduced in the process of representing the chemical molecular formula of the drug components to capture the information characteristics along different chemical bonds. The calculation formula is: , in, Represents the transformation matrix in the mirror projection mechanism, In the molecular structure diagram, atoms represent vectors. represents the identity matrix, represents transpose; S2.

3. Molecular structure graph convolution representation: using Attentive FP Framework, in a single-layer graph attention neural network GAT The molecular structure convolution graph is represented in , where the aggregation process formula of adjacent node information is: , in, represents the linear rectification function, Indicates the different chemical bonds in the molecular formula, represents the atoms in the molecular formula, express Attention during aggregation, represents the transformation matrix, represents the graph convolutional layer, represents a set of relations, express The node corresponds to the feature vector, express Node Nodes connected by chemical bonds, represents a node in a molecular formula, express Node The set of neighbors linked by chemical bonds, express Graph Convolutional Layer The nodes correspond to the representation vectors to be updated, and each layer of atoms is represented by a gated recurrent unit. GRU Update, the update process formula is: , in, represents the operation of the gated recurrent unit, express Graph Convolutional Layer Node feature vector, express Graph Convolutional Layer The updated feature vector of the node; S3. Represent the relationship path rules between drugs to be inferred: Filter the paths between drugs to be inferred through the graph convolution algorithm, and then traverse the generated paths with the query drug as the center. The subgraph of represents the relationship path rules between drugs to be inferred; S4. Predict the reasoning result score: The obtained relationship path rule representation vector is fed to the fully connected layer to predict the score on the candidate answer to determine the potential drug-drug interaction.

2. The knowledge representation and reasoning method of a multimodal drug knowledge graph according to claim 1, characterized in that: In step S1, in the process of constructing a multimodal drug knowledge graph, the molecular formula structural characteristics of the drug are processed by graph neural network technology, the molecular structure of the drug compound is analyzed, and its features are extracted, and then the extracted features are fused to construct the drug knowledge graph.

3. The knowledge representation and reasoning method of a multimodal drug knowledge graph according to claim 2 is characterized by: Step S3 includes designing a gate to control the recurrent neurons and The specific steps of the layer-gate graph attention neural network are as follows: Design of gate-controlled recurrent neurons that integrate global information: By modeling the relationship rule characteristics of the drug knowledge graph, gate-controlled recurrent neurons that integrate global information are designed. The relationship rule characteristics include the sequential combination of relationships along the path and the relationship characteristics from the global. The formula for defining the gate-controlled recurrent neuron structure that integrates global information is as follows: , in, represents the updated path features, express The feature vector of the source node, express The global representation vector of the relationship, express The eigenvector of the relation, GMGU Add a gate between the global information and local features of the relationship to indicate the information allocation when the global and local features of the relationship are fused. GMGU The calculation formula is: , , , , in, represents the forget gate, represents the candidate hidden state, represents the learnable distribution weights, express Activation function, Represents a splicing operation, represents the dot product operation, 、 Represent the trainable transformation matrix and offset respectively, represents the hyperbolic tangent function.

4. The knowledge representation and reasoning method of a multimodal drug knowledge graph according to claim 3 is characterized by: Layer-Gate Graph Attention Neural Network: In the layer-gate graph attention neural network, Layer-Gated Graph Attention Neural Network Aggregation for Querying Entities centered Subgraph relations propagate information, layer, through Capture along edge Relationship rule feature representation , the calculation formula is: , in, Indicated in layer The feature vector of the source node , Indicated in layer The eigenvector of the relation, express The global representation vector of the relationship, , , , The dimension is A real vector of ; Then query the features And obtain the relation rule feature representation Calculate the attention of each adjacent edge of the central node , the calculation formula is: , , in, and Respectively indicate attention Trainable transformation matrices and vectors of Indicates attention The trainable offset of Indicated in layer The adjacent edge set at , In the network, they represent the source node, relationship, central node, and question pair in the information propagation mechanism. Through triples Indicates that the problem of missing target entity is Recorded as ; Represent other source nodes and other relationships respectively. represents the attention weight, Indicated in layer The attention weight of the aggregation process is: , Finally, through the minimum gated recurrent neural network Update the entity representation, the calculation formula is: , in, express The entity representation of the layer, express The updated entity representation of the layer.

5. The knowledge representation and reasoning method of a multimodal drug knowledge graph according to claim 4 is characterized by: In step S4, the final representation vector is fed to the fully connected layer to predict the scores on the candidate answers and determine the potential interactions between the drugs. The central node in , the problem pair of missing target entity The answer In the candidate answer entity set superior, The formula for the score is: , in, Indicates that the candidate answer is the central node The score, represents the transformation matrix, Indicates the offset, Represent the number of subgraph steps and delay layers respectively.