A method for predicting drug interactions

Through the pre-trained prediction module, biochemical features and chemical formula strings are used, combined with the hypergraph perspective and the variational graph autoencoder perspective, and the learning node representation is integrated to solve the problem of long time and high cost of drug interaction prediction, and achieve rapid , accurate drug interaction prediction, reducing the cost of clinical trials for new drugs to enter the market.

CN118314977BActive Publication Date: 2024-09-03HEFEI UNIV OF TECH
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410719089.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-09-03
Estimated Expiration
2044-06-05

AI Technical Summary

Technical Problem

The prediction of drug interactions in the existing technology relies on a large number of long-term clinical trials, which is time-consuming and costly, and it is difficult to quickly and accurately predict the interaction between new drugs and existing drugs.

Method used

The pre-trained prediction module is used to obtain the biochemical characteristics and chemical formula strings of new drugs to construct biochemical similarity matrices and molecular structure diagrams. It combines the hypergraph perspective and the variational graph autoencoder perspective to fuse learning node representations to predict drug interactions. function, and optimize the prediction module based on real interactions.

Benefits of technology

It achieves rapid and accurate prediction of drug interactions, shortens the time for new drugs to enter the market, reduces clinical trial costs, and improves the accuracy and stability of prediction results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118314977B
    Figure CN118314977B
Patent Text Reader

Abstract

The present invention belongs to the technical field of medical data analysis, and in particular, relates to a method for predicting drug interactions. It includes: after obtaining the biochemical characteristics of a new drug, using a pre-trained prediction module to predict the drug interaction between the new drug and the existing drug, the pre-training includes: the prediction module obtains the biochemical characteristics of the existing drug, constructs the existing drug biochemical similarity matrix; and based on the chemical formula string of the existing drug, obtains the drug molecular structure diagram and the important subgraphs in the drug molecular structure and performs feature representation; the prediction module constructs an existing drug interaction network, and after integrating and learning the node representations of each node in the existing drug interaction network from the hypergraph perspective and the variational graph autoencoder perspective, predicts the drug interaction between existing drugs, and then calculates the overall loss function of the prediction result based on the corresponding real drug interaction between existing drugs, and optimizes the prediction module. The present invention can quickly and accurately predict the interaction between drugs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of medical data analysis, and in particular relates to a method for predicting drug interactions. Background Art

[0002] The interaction between drugs has always been an important research topic in the fields of pharmacology and clinical medicine, which is directly related to the treatment effect and safety of patients.

[0003] The interactions between drugs can be expressed as irrelevance (i.e., no interaction), synergy, addition, and antagonism. When formulating drug treatment plans, the three categories of synergy, addition, and antagonism are mainly studied and focused on. Synergy refers to the effect of two drugs combined being greater than the sum of the effects of single use, that is, the effect of 1+1>2; Additive effect refers to the enhanced therapeutic effect and side effects that may be brought about by repeated use of drugs, that is, the effect of 1+1=2; Antagonism refers to the effect of two drugs combined being less than the sum of the effects of single use, that is, the effect of 1+1<2. For example, after taking compound acetaminophen for a cold, taking ibuprofen sustained-release capsules for headaches is repeated use of drugs, which will cause additive effects between drugs, because the main ingredient of compound acetaminophen is acetaminophen, which is an antipyretic and analgesic, and belongs to the same class of drugs as ibuprofen, and has the same mechanism of action. The combined use is equivalent to taking an overdose of drugs, which enhances both the therapeutic effect and the side effects, and will lead to drug poisoning; the combination of antihypertensive drugs and diuretics will produce synergistic effects, which will more effectively lower blood pressure and reduce the burden on the heart; insulin and glucagon will produce antagonistic effects when used together.

[0004] For the sake of distinction, drugs entering the market are called new drugs, and drugs that have already entered the market are called existing drugs. In the prior art, new drugs need to undergo a large number of long-term clinical trials before entering the market to determine which existing drugs the drug will interact with and to improve drug information. This is also a key factor affecting when new drugs enter the market. However, relying on a large number of clinical trials to determine the interactions between drugs is not only time-consuming, but also extremely costly. With the development of science and technology, people are developing more and more new drugs. How to quickly and accurately predict the interactions between drugs has become a problem that needs to be solved urgently. Summary of the invention

[0005] The purpose of the present invention is to overcome the deficiencies of the prior art and provide a method for predicting drug interactions, which can quickly and accurately predict the interactions between drugs.

[0006] To achieve the above object, the present invention adopts the following technical solutions:

[0007] A method for predicting drug interactions, after obtaining the biochemical characteristics and chemical formula string of a new drug, uses a pre-trained prediction module to predict the drug interactions between the new drug and existing drugs. The method for pre-training the prediction module based on existing drugs includes the following steps:

[0008] S1, after the prediction module obtains the biochemical characteristics of existing drugs, it constructs the biochemical similarity matrix of existing drugs; at the same time, the prediction module obtains the drug molecular structure and important substructures in the drug molecular structure based on the chemical formula string of the existing drugs;

[0009] S2, the prediction module calculates the node values ​​of the drug molecular structure of the existing drug and the node values ​​of the important substructures in the drug molecular structure to obtain the corresponding drug molecular structure graph and the important subgraph in the drug molecular structure, and then performs feature representation on the drug molecular structure graph and the important subgraph in the drug molecular structure;

[0010] S3, the prediction module constructs the existing drug interaction network based on the biochemical characteristics, chemical formula strings, drug molecular structure graphs, and important subgraphs in the drug molecular structure of existing drugs, and obtains the node representations of the existing drug interaction network from the perspective of the hypergraph and the perspective of the variational graph autoencoder respectively;

[0011] S4, the prediction module integrates the node representations of each node in the existing drug interaction network from the hypergraph perspective and the variational graph autoencoder perspective, predicts the drug interactions between existing drugs, and then calculates the overall loss function of the prediction results based on the corresponding real drug interactions between existing drugs to optimize the prediction module.

[0012] Preferably, in S1, after the prediction module obtains the biochemical characteristics of the existing drugs, it constructs the biochemical similarity matrix of the existing drugs, and further includes the following sub-steps:

[0013] S11, the prediction module obtains the three biochemical characteristics of the target, enzyme and transporter of the existing drugs from the existing drug database, and obtains the enzyme feature vector, target feature vector and transporter feature vector of the existing drugs respectively:

[0014] ,

[0015] ,

[0016] ,

[0017] The human body contains a total of b enzymes, namely enzyme 1, enzyme 2, ..., enzyme a, ..., enzyme b.

[0018] Note that the human body contains d types of targets, namely target 1, target 2, ..., target c, ..., target d.

[0019] Note that there are f transporters in the human body, namely transporter 1, transporter 2, ..., transporter e, ..., transporter f.

[0020] represents the enzyme feature vector of existing drug i, is the enzyme feature vector The dimension value on the ath dimension in is the characteristic value of enzyme a, which indicates whether there is a correlation between existing drug i and enzyme a. If there is a correlation, it is 1, otherwise it is 0.

[0021] represents the target feature vector of existing drug i, is the target feature vector The dimension value on the cth dimension in is the characteristic value of target c, which indicates whether there is a correlation between the existing drug i and target c. If there is a correlation, it is 1, otherwise it is 0.

[0022] represents the transporter feature vector of existing drug i, is the transporter feature vector The dimension value on the e-th dimension in is the characteristic value of transporter e, which indicates whether there is an association between the existing drug i and transporter e. If there is an association, it is 1, otherwise it is 0.

[0023] And 1≤a≤b, 1≤c≤d, 1≤e≤f, a, b, c, d, e, f are all positive integers;

[0024] S12, the prediction module calculates the similarity between enzyme feature vectors, target feature vectors, and transporter feature vectors of different existing drugs:

[0025] ,

[0026] ,

[0027] ,

[0028] in, , , They represent the similarity between the enzyme feature vectors of existing drug i and existing drug j, the similarity between the target feature vectors, and the similarity between the transporter feature vectors. represents the calculation of the Hamming distance between ρ and ζ, represents the length of the enzyme feature vector, represents the length of the target feature vector, represents the length of the transporter feature vector;

[0029] S13, the prediction module calculates the comprehensive biochemical similarity between different drugs:

[0030] ,

[0031] Among them, S ij represents the comprehensive biochemical similarity between existing drug i and existing drug j, w1, w2, and w3 represent the first weight hyperparameter, the second weight hyperparameter, and the third weight hyperparameter, respectively;

[0032] S14, the prediction module constructs an existing drug biochemical similarity matrix S based on the comprehensive biochemical similarities between different existing drugs:

[0033] ,

[0034] The existing drug biochemical similarity matrix S is an n×n matrix, where n is the total number of existing drugs in the current drug database, and S ij represents the comprehensive biochemical similarity between existing drug i and existing drug j, where existing drug i represents the i-th existing drug in the current existing drug database, and existing drug j represents the j-th existing drug in the current existing drug database, where 1≤i≤n, 1≤j≤n, and i, j, and n are all positive integers. When i=j, S ij =1.

[0035] Preferably, in S1, the prediction module obtains the drug molecular structure and important substructures in the drug molecular structure based on the chemical formula string of the existing drug, and further includes the following sub-steps:

[0036] S11´, the prediction module converts the chemical formula string of the existing drug into the drug molecular structure, the nodes in the drug molecular structure represent the drug atoms, and the connecting edges between the nodes represent the chemical bonds;

[0037] S12′, the prediction module compares the drug molecular structure with the structures stored in the important substructure database. If the current drug molecular structure contains the structures stored in the important substructure database, these structures are regarded as the important substructures in the current drug molecular structure; if the current drug molecular structure does not contain any structure stored in the important substructure database, then there is no important substructure in the current drug molecular structure.

[0038] Preferably, S2 also includes the following sub-steps:

[0039] S21, the prediction module calculates the node values ​​in the drug molecular structure of each existing drug and the node values ​​of each important substructure in the drug molecular structure through the graph convolutional neural network, and obtains the corresponding drug molecular structure graph and the important subgraph in the drug molecular structure: ,

[0040] Where v represents any node in the current drug molecular structure / an important substructure in the drug molecular structure. represents the node value of node v in the (t+1)th layer of the graph convolutional neural network, N(v) represents the set of neighbor nodes of node v, represents the node value of node u in the current drug molecular structure / in an important substructure of the drug molecular structure in the tth layer of the graph convolutional neural network, u∈{N(v)∪v} means that the value range of node u is the union of N(v) and node v, W t represents the weight parameter of the tth layer in the graph convolutional neural network, p t represents the bias term of the tth layer in the graph convolutional neural network, σ(·) is the ReLU nonlinear activation function; is the preset initial node value of the graph convolutional neural network, 0≤t≤z-1, t is a non-negative integer, z is a positive integer, Represents the normalization constant of node v and node u, which is the square root of the product of the number of neighbor nodes of node v and the number of neighbor nodes of node u;

[0041] S22, after performing a pooling operation on the node values ​​in each drug molecular structure graph and the node values ​​in each important subgraph, a corresponding pooling average value is obtained, and the pooling average value is used as a feature representation of each drug molecular structure graph and each important subgraph:

[0042] ,

[0043] ,

[0044] Among them, G i represents the drug molecular structure diagram corresponding to drug i, g m Represents the drug molecular structure diagram G i An important subgraph contained in it, Readout{·} represents the Readout pooling function, Represents the drug molecular structure diagram G i The pooled average value of Represents an important subgraph g m The pooled average value of Represents the node value of node v in the last layer z of the graph convolutional neural network, Represents the drug molecular structure diagram G i The node values ​​of all nodes in the last layer z of the graph convolutional neural network are readout pooled. Represents the important subgraph g m The node values ​​of all nodes in the last layer z of the graph convolutional neural network are readout pooled.

[0045] Preferably, S3 also includes the following contents:

[0046] S31, the prediction module takes each existing drug as a node and connects two existing drugs with hyperedges based on the biochemical characteristics, chemical formula strings, drug molecular structure diagrams, and important subgraphs in the drug molecular structure of each existing drug to construct an existing drug interaction network G. DDI ;

[0047] After S31, the existing drug interaction network G was obtained. DDI The node representation from the hypergraph perspective also includes sub-steps S32a to S33a:

[0048] S32a, prediction module obtains drug interaction network G DDI The node set HM and hyperedge set HE included:

[0049] HM={B1,B2,...,B i ,...,B n}, B i represents node i, that is, existing drug i, 1≤i≤n and i is a positive integer,

[0050] HM includes n nodes, corresponding to n existing drugs.

[0051] HE={E1,E2,...,E i ,...,E n}, E i Represents the drug interaction network G DDI The subset of hyperedges of node i, E i ={E i-1 ,E i-2 ,...,E i-y ,...,E i-n}, E i-y represents the hyperedge between node i and node y, 1≤y≤n, y≠i and y is a positive integer. If there is a hyperedge between node i and node y, then E i-y =1, otherwise E i-y =0;

[0052] S33a, the prediction module uses the hypergraph convolution algorithm HyperGCN to predict the existing drug interaction network G DDI After encoding the node set HM and the hyperedge set HE, the existing drug interaction network G is obtained. DDI The node representation set H = {H1,H2,...,H i ,...,H n}, H i Represents the drug interaction network G DDIThe node i in the hypergraph is represented by the node;

[0053] After S31, the existing drug interaction network G was obtained. DDI The node representation from the variational graph autoencoder perspective also includes sub-steps S32b to S34b:

[0054] S32b, the prediction module splices the biochemical characteristics, chemical formula vectors, drug molecular structure diagrams, and important sub-graphs in the drug molecular structure of each existing drug, and then uses the PCA principal component analysis method to perform dimensionality reduction operations to obtain the initial characteristics of each existing drug, and construct an initial feature set X of existing drugs;

[0055] At the same time, the prediction module uses the adjacency matrix A to represent the existing drug interaction network G DDI Drug interactions between nodes:

[0056] ,

[0057] The adjacency matrix A is an n×n matrix. ij Represents the drug interaction between existing drug i and existing drug j: If there is no interaction between existing drug i and existing drug j, then A ij =0;

[0058] If there is a synergistic effect between existing drug i and existing drug j, then A ij =1;

[0059] If there is an additive effect between existing drug i and existing drug j, then A ij =2;

[0060] If there is antagonism between existing drug i and existing drug j, then A ij =3;

[0061] When i=j, A ij =0, indicating that the drug will not interact with itself, existing drug i represents the i-th drug in the current drug database, and drug j represents the j-th drug in the current drug database, where 1≤i≤n, 1≤j≤n, and i, j, and n are all positive integers;

[0062] S33b, the prediction module uses a graph convolutional network to encode the adjacency matrix A and the initial feature set X of existing drugs to obtain the potential mean μ and logarithmic variance of each existing drug :

[0063] ,

[0064] ,

[0065] Among them, GCN μ (·) and GCN σ (·) denotes the graph convolutional network used to learn the mean and the graph convolutional network used to learn the log-variance, respectively. represents the variance of each existing drug; that is, corresponding to n drugs, a total of n potential means and n logarithmic variances are obtained;

[0066] S34b, prediction module based on the potential mean μ and logarithmic variance of each existing drug , use the graph convolutional network to obtain the potential representation of each existing drug, and then decode the potential representation of each existing drug to obtain the existing drug interaction network G DDI From the perspective of variational graph autoencoders, the node representation set VAE={VAE1,VAE2,...,VAE i ,...,VAE n}, VAE i Represents the existing drug interaction network G DDI Node representation of drug i in the variational graph autoencoder perspective.

[0067] Preferably, after S34b, S35b is also included:

[0068] S35b, calculate the loss function L1 of the variational graph autoencoder, and optimize the variational graph autoencoder in the direction of decreasing the gradient of the loss function L1: ,

[0069] in, represents the reconstructed adjacency matrix obtained in the decoding process of S34b, CE(·) represents the multivariate cross entropy loss, KL[·] represents the KL divergence of the potential representation of each existing drug, I represents the identity matrix, represents the standard normal distribution assumed a priori, represents the normal distribution of the potential representation of each existing drug, and || is a connector.

[0070] Preferably, in S32b, obtaining the chemical formula vector of each existing drug further includes the following sub-steps:

[0071] S321b, the prediction module performs a word segmentation operation on the chemical formula string of the existing drug to generate a corresponding word unit sequence;

[0072] S322b, setting the standard length of the word unit sequence to k, the prediction module fills the end of the word unit sequence whose length is shorter than the standard length k until the length of the current word unit sequence is k, and records it as the standard word unit sequence corresponding to the existing drug;

[0073] S323b, the prediction module encodes each standard word unit sequence into a chemical formula vector with a dimension number J.

[0074] Preferably, in S4, the following sub-steps are also included:

[0075] S41, the prediction module integrates the node representations from the hypergraph perspective and the variational graph autoencoder perspective to obtain the final node representation corresponding to each drug: Φ i =0.5(H i +VAE i ),

[0076] Among them, Φ i The final representation of the node representing the existing drug i is a column vector;

[0077] S42, after decoding the final node representation of each existing drug using a bilinear decoder in the prediction module, the interaction scores between the two existing drugs are calculated respectively to predict the interaction between the two drugs: ,

[0078] Among them, SCORE(i,j) represents the interaction score between existing drug i and existing drug j, which is a four-dimensional vector. The dimension values ​​on different dimensions represent the probability of drug interactions between existing drug i and existing drug j corresponding to the four types of drug interactions: irrelevant, synergistic, additive, and antagonistic. Softmax(·) represents the softmax activation function, ψ is the bias parameter of the bilinear decoder, and R ψ is the weight matrix of the bilinear decoder, Represents Φ i The transpose of

[0079] S43, taking the drug interaction type represented by the maximum dimension value among the four dimension values ​​included in the interaction score between the existing drug i and the existing drug j as the prediction module to output the prediction result of the drug interaction between the existing drug i and the existing drug j;

[0080] S44, calculating the overall loss function of the prediction results based on the actual drug interaction between the existing drug i and the existing drug j, and optimizing the prediction module in the direction of reducing the gradient of the overall loss function.

[0081] Preferably, after S43 and before S44, S43' is also included:

[0082] S43´, calculate the loss function L2 of the bilinear decoder, and optimize the bilinear decoder in the direction of decreasing the gradient of the loss function L2:

[0083] ,

[0084] in, represents the dimension value of the interaction score between existing drug i and existing drug j in the Ωth dimension, 1≤Ω≤4 and Ω is a positive integer, represents the indicator variable of the interaction score between existing drug i and existing drug j on the Ωth dimension. When the Ωth dimension of the interaction score between existing drug i and existing drug j corresponds to irrelevant, then ,otherwise .

[0085] Preferably, when the number of important subgraphs in a drug molecule structure is r1, 1<r1 and r1 is an integer, then S21' to S22' are included after S2 and before S3:

[0086] S21´, the prediction module obtains the mutual information of each important subgraph in the current drug molecular structure based on the improved graph information bottleneck framework based on the mutual information neural estimation method:

[0087] ,

[0088] The important subgraph set in the drug molecular structure of the existing drug i is denoted as Q(i). If there is more than one important subgraph in Q(i), I θ (S i ;g m ) represents the important subgraph g in the drug molecular structure of the existing drug i m The row vector S of biochemical similarity with existing drug i i The mutual information between m ∈Q(i), row vector S of biochemical similarity of existing drug i i is the element of the i-th row in the existing drug biochemical similarity matrix S, T θ represents a neural network with the parameter θ used to obtain mutual information, Represents the biochemical similarity row vector S i and important subgraph g m The joint distribution of Represents the neural network T θ In the biochemical similarity row vector S i and important subgraph g m The expected value of the joint distribution of Represents the biochemical similarity row vector S i and important subgraph g m The product of the marginal distributions of Represents the biochemical similarity row vector S i and important subgraph g m When independent, the neural network T θ Output biochemical similarity row vector S iand important subgraph g m The expectation of the exponential of the natural base e under the product of marginal distributions;

[0089] S22´, the prediction module calculates the mutual information objective function of each important subgraph in the current drug molecular structure, and then mines the key important subgraphs in the current drug molecular structure according to the mutual information objective function of each important subgraph:

[0090] ,

[0091] ,

[0092] ,

[0093] Among them, F i <·> is the mutual information objective function of existing drug i, F i <g m > represents existing drugs i and important subgraph g m The corresponding mutual information objective function value, α is the first regularization parameter, β is the second regularization parameter, I θ (S i ;G i -g m ) is the first regularization term, I θ (S i ;g m ) is the second regularization term, G i represents the drug molecular structure diagram corresponding to the existing drug i, G i -g m Represents the drug molecular structure diagram G i Remove the important subgraph g m part of;

[0094] The mutual information objective function values ​​of each important subgraph in the important subgraph set Q(i) are arranged in descending order, and the prediction module selects the important subgraphs corresponding to the first r2 mutual information objective function values ​​as the key important subgraphs of the existing drug i, 1≤r2<r1 and r2 is an integer.

[0095] The beneficial effects of the present invention are:

[0096] (1) The pre-trained prediction module of the present invention fuses and learns the different structural information with high similarity of the same node from two different perspectives, namely the hypergraph perspective and the variational graph autoencoder perspective, and takes the weighted average as the final node representation of the node. The final node representation is then decoded. The bilinear decoder can efficiently and accurately capture the potential associations between drugs to reveal which potential feature combinations are important for predicting drug interactions. Therefore, the final node representation of the present invention carries multiple structural information of the same node from multiple perspectives, and the final prediction of the interaction between the two drugs is also based on learning multiple structural information from multiple perspectives between different nodes. At the same time, it takes into account the potential connections between different drugs for comprehensive prediction, and understands the structural characteristics of the drug interaction network from different levels, so that the accuracy of the prediction result is higher.

[0097] (2) The drug interaction prediction method of the present invention fully exploits the characteristics of multi-source drug data such as biochemical characteristics, chemical formula strings, drug molecular structure diagrams, and important subgraphs in drug molecular structures of each drug during the prediction process, and determines the structural morphology and node values ​​of each drug molecular structure diagram and important subgraphs based on these multi-source data characteristics through a graph convolutional neural network, so that the aspects considered in predicting drug interactions are more comprehensive and the test results are more accurate.

[0098] (3) The present invention obtains the important subgraphs of the current drug molecular structure based on the drug molecular structure. When a drug molecular structure contains multiple important subgraphs, the present invention creatively mines the more core and critical important subgraphs in these important subgraphs based on the improved graph information bottleneck framework of the mutual information neural estimation method, truly determines the important substructures in the drug molecular structure of the current drug that have the strongest information sharing and information correlation with the drug biochemical characteristics, so that the subsequent prediction process focuses on these important substructures, so as to shorten the prediction time and speed up the prediction while ensuring the accuracy of the subsequent drug-drug interaction prediction. The improvements we made in the mutual information objective function are reflected in: the first regularization term is used to reduce the mutual information between the biochemical similarity row vector corresponding to the drug and the parts of the drug molecular structure other than the current important subgraph, so as to avoid the mutual information objective function from focusing too much on other parts of the non-current important subgraph; the second regularization term is used to reduce the mutual information between the drug molecular structure graph and the current important subgraph, ensuring that the selection of the non-current important subgraph is not a simple copy of the information of the drug molecular structure graph.

[0099] (4) In the present invention, existing drugs and known drug interactions between existing drugs are used as training sets to pre-train the prediction module. In addition, the present invention not only calculates the overall loss function of the prediction module based on the prediction results and the actual drug interactions during the training process, but also calculates the loss function L2, the contrast loss function Lcontrast , loss function L1, which is used to optimize specific parts within the prediction module, namely the bilinear decoder, node representation from the hypergraph perspective and variational graph autoencoder perspective, and variational graph autoencoder; these loss functions used for optimization have been improved by integrating the features of the optimized parts in order to better serve the prediction method, so that the optimization work of technicians can be more targeted while achieving the overall effect, and the optimization of specific parts within the prediction module can be carried out simultaneously, thereby improving the optimization efficiency.

[0100] (5) In the process of training the prediction module of the present invention, with continuous optimization, the increase in the amount of multi-source drug data and the number of predictions, the accuracy of the prediction results of the drug interaction prediction method of the present invention that integrates the hypergraph perspective and the variational graph autoencoder perspective for learning is continuously improved, and the stability of the prediction results is also continuously improved.

[0101] (6) When predicting drug interactions between new drugs and existing drugs, the present invention only needs to obtain the biochemical characteristics and chemical formula strings obtained in the new drug development stage, compared with the known and comprehensive drug information of existing drugs, to efficiently and accurately predict the drug interactions between new drugs and existing drugs. Therefore, the drug interaction prediction method of the present invention helps to shorten the time before new drugs enter the market and reduce the clinical trial costs before new drugs enter the market. That is, in the clinical trial stage of new drugs, it is only necessary to conduct verification experiments on the new drugs based on the prediction results of the present invention, without the need for a large number of exploratory experiments.

[0102] (7) The present invention improves the loss function into a contrast loss function L contrast , so that the present invention is based on the contrast loss function L contrast In the process of optimizing the node representation of the drug interaction network from the hypergraph perspective and the variational graph autoencoder perspective, the similarity of the node representation of the same node from different perspectives is continuously increased, while the similarity of the node representation of different nodes from different perspectives is continuously reduced, thereby improving the ability of the present invention to learn to distinguish different drug nodes, thereby improving the generalization of the node representation of drugs and the accuracy of subsequent drug interaction predictions of the present invention.

[0103] (8) In the present invention, the loss function L1 of the variational graph autoencoder is obtained based on the multivariate cross entropy loss and the KL divergence of the potential representation of each drug. Therefore, the optimization of the variational graph autoencoder based on the loss function L1 takes into account the constraints on the variational graph autoencoder learning the potential representation of each drug, as well as the constraints on the node representation of the decoded drug interaction network from the perspective of the variational graph autoencoder. This ensures that the subsequent optimization of the variational graph autoencoder will not only improve the effect of one aspect, but will comprehensively optimize the variational graph autoencoder. BRIEF DESCRIPTION OF THE DRAWINGS

[0104] Figure 1 The present invention is a flowchart for pre-training a prediction module in a method for predicting drug interactions. DETAILED DESCRIPTION

[0105] In order to make the technical solution of the present invention clearer and more specific, the present invention is clearly and completely described below in conjunction with the accompanying drawings. Any equivalent replacement of the technical features of the technical solution of the present invention and any solution derived by conventional reasoning by ordinary technicians in the field without making any creative work shall fall within the protection scope of the present invention.

[0106] like Figure 1 FIG. 1 is a flowchart of pre-training a prediction module in a method for predicting drug interactions of the present invention.

[0107] A method for predicting drug interactions, after obtaining the biochemical characteristics and chemical formula string of a new drug, uses a pre-trained prediction module to predict the drug interactions between the new drug and existing drugs. The method for pre-training the prediction module based on existing drugs includes the following steps:

[0108] S1, the prediction module obtains the biochemical characteristics of existing drugs, calculates the comprehensive biochemical similarity between different existing drugs, and then constructs the biochemical similarity matrix of existing drugs; at the same time, the prediction module obtains the drug molecular structure and important substructures in the drug molecular structure based on the chemical formula string of the existing drugs;

[0109] S2, the prediction module calculates the node values ​​of the drug molecular structure of the existing drug and the important substructures in the drug molecular structure to obtain the corresponding drug molecular structure graph and the important subgraph in the drug molecular structure, and then performs feature representation on the drug molecular structure graph and the important subgraph in the drug molecular structure;

[0110] S3, the prediction module constructs the existing drug interaction network based on the biochemical characteristics, chemical formula strings, drug molecular structure graphs, and important subgraphs in the drug molecular structure of existing drugs, and obtains the node representations of the existing drug interaction network from the perspective of the hypergraph and the perspective of the variational graph autoencoder respectively;

[0111] S4, the prediction module integrates the node representations of each node in the existing drug interaction network from the hypergraph perspective and the variational graph autoencoder perspective, predicts the drug interactions between existing drugs, and then calculates the overall loss function of the prediction results based on the corresponding real drug interactions between existing drugs to optimize the prediction module.

[0112] In S1, the prediction module obtains the biochemical characteristics of existing drugs, calculates the comprehensive biochemical similarities between different existing drugs, and then constructs the biochemical similarity matrix of existing drugs, which also includes sub-steps S11 to S14:

[0113] S11, the prediction module obtains the three biochemical characteristics of the target, enzyme and transporter of the existing drugs from the existing drug database, and obtains the enzyme feature vector, target feature vector and transporter feature vector of the existing drugs respectively:

[0114] ,

[0115] ,

[0116] ,

[0117] The human body contains a total of b enzymes, namely enzyme 1, enzyme 2, ..., enzyme a, ..., enzyme b.

[0118] Note that the human body contains d types of targets, namely target 1, target 2, ..., target c, ..., target d.

[0119] Note that there are f types of transporters in the human body, namely transporter 1, transporter 2, ..., transporter e, ..., transporter f.

[0120] represents the enzyme feature vector of existing drug i, is the enzyme feature vector The dimension value on the ath dimension in is the characteristic value of enzyme a, which indicates whether there is a correlation between existing drug i and enzyme a. If there is a correlation, it is 1, otherwise it is 0.

[0121] represents the target feature vector of existing drug i, is the target feature vector The dimension value on the cth dimension in is the characteristic value of target c, which indicates whether there is a correlation between the existing drug i and target c. If there is a correlation, it is 1, otherwise it is 0.

[0122] represents the transporter feature vector of existing drug i, is the transporter feature vector The dimension value on the e-th dimension in is the characteristic value of transporter e, which indicates whether there is an association between the existing drug i and transporter e. If there is an association, it is 1, otherwise it is 0.

[0123] And 1≤a≤b, 1≤c≤d, 1≤e≤f, a, b, c, d, e, f are all positive integers.

[0124] In this embodiment, the biochemical characteristics of various drugs are obtained from existing drug databases such as DrugBank and KEGG.

[0125] S12, the prediction module calculates the similarity between enzyme feature vectors, target feature vectors, and transporter feature vectors of different existing drugs:

[0126] ,

[0127] ,

[0128] ,

[0129] in, , , They represent the similarity between the enzyme feature vectors of existing drug i and existing drug j, the similarity between the target feature vectors, and the similarity between the transporter feature vectors. represents the calculation of the Hamming distance between ρ and ζ, represents the length of the enzyme feature vector, represents the length of the target feature vector, Represents the length of the transporter feature vector.

[0130] Taking the enzyme feature vector as an example, no matter what drug it is, the number of dimensions contained in its enzyme feature vector is the same, so the length of the enzyme feature vector of all drugs is the same, and the same is true for the length of the target feature vector and the length of the transporter feature vector.

[0131] Generally, the Hamming distance is used to calculate the number of different positions between two strings of equal length. In the present invention, the difference between the enzymes / targets / transporters associated with the two drugs is calculated by using the Hamming distance, and on this basis, the similarity between the enzyme feature vectors of the two drugs, the similarity between the target feature vectors, and the similarity between the transporter feature vectors are obtained.

[0132] S13, the prediction module calculates the comprehensive biochemical similarity between different existing drugs:

[0133] ,

[0134] Among them, S ij represents the comprehensive biochemical similarity between existing drug i and existing drug j, w1, w2, w3 represent the first weight hyperparameter, the second weight hyperparameter, and the third weight hyperparameter, respectively, and (w1+w2+w3)=1.

[0135] The initial values ​​of the three weight hyperparameters w1, w2, and w3 are set manually and can be adjusted according to the different degrees of influence of different biochemical characteristics of the predicted drug types (such as targeted drugs) on drug interactions.

[0136] In this embodiment, w1=0.5, w2=0.3, w3=0.2.

[0137] S14, the prediction module constructs an existing drug biochemical similarity matrix S based on the comprehensive biochemical similarities between different existing drugs:

[0138] ,

[0139] The existing drug biochemical similarity matrix S is an n×n matrix, where n is the total number of existing drugs in the current drug database, and S ij represents the comprehensive biochemical similarity between existing drug i and existing drug j, where existing drug i represents the i-th existing drug in the current existing drug database, and existing drug j represents the j-th existing drug in the current existing drug database, where 1≤i≤n, 1≤j≤n, and i, j, and n are all positive integers. When i=j, S ij =1.

[0140] In S1, the prediction module obtains the drug molecular structure and important substructures in the drug molecular structure based on the chemical formula string of the existing drug, and further includes sub-steps S11' to S12':

[0141] S11´, the prediction module converts the chemical formula string of the existing drug into the drug molecular structure, the nodes in the drug molecular structure represent the drug atoms, and the connecting edges between the nodes represent the chemical bonds;

[0142] S12′, the prediction module compares the drug molecular structure with the structures stored in the important substructure database. If the current drug molecular structure contains the structures stored in the important substructure database, these structures are regarded as the important substructures in the current drug molecular structure; if the current drug molecular structure does not contain any structure stored in the important substructure database, then there is no important substructure in the current drug molecular structure.

[0143] The structures in the important substructure database are the structures of drug molecules that play a key role in the treatment process. The structures stored in the important substructure database come from existing drug databases such as DrugBank and KEGG, and are continuously updated. For example, the important substructure database contains the structure of acetaminophen, and the drug molecular structure of compound acetaminophen also contains the structure of acetaminophen. The structure of acetaminophen is the important substructure in the current drug molecular structure. A drug (whether a new drug or an existing drug) has only one drug molecular structure. A drug molecular structure may not contain important substructures, or it may contain one or more important substructures.

[0144] In this embodiment, the prediction module in S11′ converts the chemical formula string of the existing drug into a molecular structure based on the open source tool RDKit3.

[0145] S2 also includes the following sub-steps:

[0146] S21, the prediction module calculates the node values ​​in the drug molecular structure of each existing drug and the node values ​​of each important substructure in the drug molecular structure through the graph convolutional neural network, and obtains the corresponding drug molecular structure graph and the important subgraph in the drug molecular structure:

[0147] ,

[0148] Where v represents any node in the current drug molecular structure / an important substructure in the drug molecular structure. represents the node value of node v in the (t+1)th layer of the graph convolutional neural network, N(v) represents the set of neighbor nodes of node v, represents the node value of node u in the current drug molecular structure / in an important substructure of the drug molecular structure in the tth layer of the graph convolutional neural network, u∈{N(v)∪v} means that the value range of node u is the union of N(v) and node v, W t represents the weight parameter of the tth layer in the graph convolutional neural network, p t represents the bias term of the tth layer in the graph convolutional neural network, σ(·) is the ReLU nonlinear activation function; is the preset initial node value of the graph convolutional neural network, 0≤t≤z-1, t is a non-negative integer, z is a positive integer, Represents the normalization constant of node v and node u, which is the square root of the product of the number of neighbor nodes of node v and the number of neighbor nodes of node u.

[0149] The number of layers included in the graph convolutional neural network is manually preset. In this embodiment, the graph convolutional neural network has 5 layers.

[0150] The drug molecular structure and important substructures in the drug molecular structure obtained in S1 and its substeps S11'~S12' are only framework structures, and each node has no value. Only after S21, each node has a node value, and the corresponding drug molecular structure graph and important subgraphs in the drug molecular structure are formed.

[0151] S22, after performing a pooling operation on the node values ​​in each drug molecular structure graph and the node values ​​in each important subgraph, a corresponding pooling average value is obtained, and the pooling average value is used as a feature representation of each drug molecular structure graph and each important subgraph:

[0152] ,

[0153] ,

[0154] Among them, G i represents the drug molecular structure diagram corresponding to drug i, g m Represents the drug molecular structure diagram G i An important subgraph contained in it, Readout{·} represents the Readout pooling function, Represents the drug molecular structure diagram G i The pooled average value of Represents an important subgraph g m The pooled average value of Represents the node value of node v in the last layer z of the graph convolutional neural network, Represents the drug molecular structure diagram G i The node values ​​of all nodes in the last layer z of the graph convolutional neural network are readout pooled. Represents the important subgraph g m The node values ​​of all nodes in the last layer z of the graph convolutional neural network are readout pooled.

[0155] The Readout function is used to perform a pooling operation on the node values ​​in a graph to obtain a pooled average value. The pooled average value balances the feature representation of all node values ​​in the current graph. While comprehensively representing the current drug molecule structure graph or the current important subgraph, it reduces the representation amount in each graph. That is, the pooled average value of each graph reduces the amount of calculation in subsequent steps while ensuring the accuracy of the representation of each graph.

[0156] When the number of important subgraphs in a drug molecule structure is r1, 1<r1 and r1 is an integer, then S2´ is included after S2 and before S3:

[0157] S2´, the prediction module mines r2 key important subgraphs from the important subgraphs in the current drug molecular structure based on the comprehensive biochemical similarities between different existing drugs and the feature representation of each important subgraph in the current drug molecular structure, where 1≤r2<r1 and r2 is an integer.

[0158] S2' also includes the following sub-steps:

[0159] S21´, the prediction module obtains the mutual information of each important subgraph in the current drug molecular structure based on the improved graph information bottleneck framework based on the mutual information neural estimation method:

[0160] ,

[0161] The important subgraph set in the drug molecular structure of the existing drug i is denoted as Q(i). If there is more than one important subgraph in Q(i), I θ (S i ;g m ) represents the important subgraph g in the drug molecular structure of the existing drug i m The row vector S of biochemical similarity with existing drug i i The mutual information between m ∈Q(i), row vector S of biochemical similarity of existing drug i i is the element of the i-th row in the existing drug biochemical similarity matrix S, T θ represents a neural network with the parameter θ used to obtain mutual information, Represents the biochemical similarity row vector S i and important subgraph g m The joint distribution of Represents the neural network T θ In the biochemical similarity row vector S i and important subgraph g m The expected value of the joint distribution of Represents the biochemical similarity row vector S i and important subgraph g m The product of the marginal distributions of Represents the biochemical similarity row vector S i and important subgraph g m When independent, the neural network T θ Output biochemical similarity row vector S i and important subgraph g m The expectation of the exponential of the natural base e under the product of marginal distributions. Used for Calibrate to obtain the calibrated mutual information .

[0162] S22´, the prediction module calculates the mutual information objective function of each important subgraph in the current drug molecular structure, and then mines the key important subgraphs in the current drug molecular structure according to the mutual information objective function of each important subgraph:

[0163] ,

[0164] ,

[0165] ,

[0166] Among them, F i <·> is the mutual information objective function of existing drug i, F i <g m > represents existing drugs i and important subgraph gm The corresponding mutual information objective function value, α is the first regularization parameter, β is the second regularization parameter, I θ (S i ;G i -g m ) is the first regularization term, I θ (S i ;g m ) is the second regularization term, G i represents the drug molecular structure diagram corresponding to drug i, G i -g m Represents the drug molecular structure diagram G i Remove the important subgraph g m part of;

[0167] The mutual information objective function values ​​of each important subgraph in the important subgraph set Q(i) are arranged in descending order, and the prediction module selects the important subgraphs corresponding to the first r2 mutual information objective function values ​​as the key important subgraphs of existing drug i.

[0168] In this embodiment, r2=1.

[0169] When the drug molecular structure of a drug contains only one important subgraph, there is no need to perform S2´ and / or S21´~S22´ to further screen the key important subgraphs.

[0170] Traditional mutual information neural estimation is a method for estimating mutual information based on neural networks. It is used to estimate the mutual information between high-dimensional continuous random variables. It can maximize or minimize the mutual information, improve the adversarial training of generative models, and break through the bottleneck of supervised learning classification tasks. The principle of the original graph information bottleneck framework is to find the most informative but as compressed substructure as possible when given graph structure data.

[0171] The improvements we made in the mutual information objective function are as follows: The first regularization term is used to reduce the biochemical similarity row vector S corresponding to drug i i Drug molecule structure diagram G i Except for the current important subgraph g m The mutual information between the other parts avoids the mutual information objective function from focusing too much on the non-current important subgraph g m The other part of the second regular term is used to reduce the drug molecular structure graph G of drug i i With the current important subgraph g m The mutual information between them ensures that the non-current important subgraph g m The choice is not simply to copy the drug molecular structure diagram G i information.

[0172] In the present invention, the mutual information neural estimation method is used to improve the graph information bottleneck framework, that is, the mutual information calculation method of each important subgraph in the drug molecular structure and the calculation method of the mutual information objective function are improved to screen out more critical important subgraphs from multiple important subgraphs corresponding to a drug, that is, to truly determine the key important substructures in the drug molecular structure of the current drug that have the strongest information sharing and information correlation with the drug biochemical characteristics, so as to improve the prediction speed while ensuring the prediction accuracy of subsequent drug interactions in the prediction module.

[0173] In S3:

[0174] S31, the prediction module takes each existing drug as a node and connects two existing drugs with hyperedges based on the biochemical characteristics, chemical formula strings, drug molecular structure diagrams, and important subgraphs in the drug molecular structure of each existing drug to construct an existing drug interaction network G. DDI .

[0175] There are many situations where hyperedges exist between two drugs. For example, if two drugs contain the same functional group fragments (i.e., the molecular structures of the two drugs contain the same important subgraphs), and the drug interaction between the two drugs and a drug with a certain function is due to the existence of these functional group fragments, then there is a hyperedge based on functional correlation between the two drugs. For another example, if two drugs act on the same target or receptor, and both drugs interact with a drug with a certain function, then there is a hyperedge based on target correlation between the two drugs.

[0176] It is an existing technology to construct a drug interaction network based on the biochemical characteristics, chemical formula strings, drug molecular structure diagrams, and important subgraphs in drug molecular structures of each existing drug. The construction of the drug interaction network can be completed manually or through a trained neural network model in the existing technology, which will not be repeated here.

[0177] After S31, the existing drug interaction network G was obtained. DDI The node representation from the hypergraph perspective also includes sub-steps S32a to S33a:

[0178] S32a, prediction module obtains drug interaction network G DDI The node set HM and hyperedge set HE included:

[0179] HM={B1,B2,...,B i ,...,B n}, B i represents node i, that is, existing drug i, 1≤i≤n and i is a positive integer,

[0180] HM includes n nodes, corresponding to n existing drugs.

[0181] HE={E1,E2,...,E i ,...,E n}, 1≤i≤n and i is a positive integer, E i Represents the drug interaction network G DDI The subset of hyperedges of node i, E i ={E i-1 ,E i-2 ,...,E i-y ,...,E i-n}, E i-y represents the hyperedge between node i and node y, 1≤y≤n, y≠i and y is a positive integer. If there is a hyperedge between node i and node y, then E i-y =1, otherwise E i-y =0;

[0182] S33a, the prediction module uses the hypergraph convolution algorithm HyperGCN to predict the existing drug interaction network G DDI After encoding the node set HM and the hyperedge set HE, the existing drug interaction network G is obtained. DDI The node representation set H = {H1,H2,...,H i ,...,H n}, H i Represents the drug interaction network G DDI Node i in is represented by the node in the hypergraph perspective.

[0183] After S31, the existing drug interaction network G was obtained. DDI The node representation from the variational graph autoencoder perspective also includes sub-steps S32b to S34b:

[0184] S32b, the prediction module splices the biochemical characteristics, chemical formula vectors, drug molecular structure diagrams, and important sub-graphs in the drug molecular structure of each existing drug, and then uses the PCA principal component analysis method to perform dimensionality reduction operations to obtain the initial characteristics of each existing drug, and construct an initial feature set X of existing drugs;

[0185] At the same time, the prediction module uses the adjacency matrix A to represent the existing drug interaction network G DDI Drug interactions between nodes:

[0186] ,

[0187] The adjacency matrix A is an n×n matrix, and n is the drug interaction network G. DDI The number of drugs contained, A ijRepresents the drug interaction between existing drug i and existing drug j:

[0188] If there is no interaction between existing drug i and existing drug j, then A ij =0;

[0189] If there is a synergistic effect between existing drug i and existing drug j, then A ij =1;

[0190] If there is an additive effect between existing drug i and existing drug j, then A ij =2;

[0191] If there is antagonism between existing drug i and existing drug j, then A ij =3;

[0192] When i=j, A ij =0, indicating that the drug will not interact with itself, existing drug i represents the i-th drug in the current drug database, and existing drug j represents the j-th drug in the current drug database, where 1≤i≤n, 1≤j≤n, and i, j, and n are all positive integers.

[0193] Existing drugs will go through a long clinical trial phase before entering the market. Their drug instructions will record in detail the drug interactions between the drug and other drugs. These data can be directly found in existing drug databases such as DrugBank and KEGG. Therefore, the prediction module in S32b directly obtains the adjacency matrix A based on the information in the existing drug database.

[0194] Optionally, in S32b, the prediction module concatenates the biochemical characteristics, chemical formula vectors, drug molecular structure diagrams, and key important subgraphs in the drug molecular structure of each existing drug, and then uses the PCA principal component analysis method to perform dimensionality reduction operations to obtain the initial characteristics of each existing drug and construct an initial feature set X of existing drugs.

[0195] In S32b, the initial feature representation of each drug after dimensionality reduction using PCA principal component analysis is 128 dimensions.

[0196] In S32b, obtaining the chemical formula vector of each existing drug also includes S321b to S323b:

[0197] S321b, the prediction module performs a word segmentation operation on the chemical formula string of the existing drug to generate a corresponding word unit sequence;

[0198] S322b, setting the standard length of the word unit sequence to k, the prediction module fills the end of the word unit sequence whose length is shorter than the standard length k until the length of the current word unit sequence is k, and records it as the standard word unit sequence corresponding to the existing drug.

[0199] The word segmentation operation in step 1 is tokenization processing. After tokenization processing, the chemical formula string is decomposed into a series of chemical-related tokens, such as atomic symbols, chemical bond types and other chemical structure descriptors. In S322b, a specific pad token is added at the end of a shorter word unit sequence to adjust the length so that the word unit sequences of all existing drugs are of uniform length, which is convenient for subsequent encoding; the standard length k is manually set and is much longer than the common word unit sequences, so adjusting the length in S322b only requires padding at the end, without truncation.

[0200] S323b, the prediction module encodes each standard word unit sequence into a chemical formula vector with a dimension number J.

[0201] In this embodiment, the prediction module encodes each standard word unit sequence based on the embedding layer, position encoding and multi-layer encoder structure in the Transformer model, and converts each standard word unit sequence into a fixed 64-dimensional chemical formula vector representation that can effectively characterize its characteristics.

[0202] S33b, the prediction module uses a graph convolutional network to encode the adjacency matrix A and the initial feature set X of existing drugs to obtain the potential mean μ and logarithmic variance of each existing drug :

[0203] ,

[0204] ,

[0205] Among them, GCN μ (·) and GCN σ (·) denotes the graph convolutional network used to learn the mean and the graph convolutional network used to learn the log-variance, respectively. Represents the variance of each existing drug; that is, corresponding to n drugs, a total of n potential means and n logarithmic variances are obtained.

[0206] Using graph convolutional networks for encoding is an existing technology and will not be described in detail here.

[0207] S34b, prediction module based on the potential mean μ and logarithmic variance of each existing drug , use the graph convolutional network to obtain the potential representation of each existing drug, and then decode the potential representation of each existing drug to obtain the existing drug interaction network G DDI From the perspective of variational graph autoencoders, the node representation set VAE={VAE1,VAE2,...,VAE i ,...,VAE n}, VAE i Represents the existing drug interaction network G DDI Node representation of drug i in the variational graph autoencoder perspective.

[0208] In S34b, obtaining a latent representation based on the latent mean and log-variance using a graph convolutional network and decoding the latent representation are both operations of encoding and decoding using a variational graph autoencoder, which is a prior art. The decoding process in this embodiment is an inner product operation, which will not be described in detail here.

[0209] In S34b, the variational graph autoencoder is a generative model for learning graph representations. It uses variational inference to learn the potential representations of nodes in the graph. Using a graph convolutional network as an encoder to learn the potential mean and logarithmic variance of each node (drug molecule) is a standard encoding method of the variational graph autoencoder. These two parameters describe the variational distribution of the potential representation of the node. The potential mean μ and logarithmic variance of a drug are The graph convolutional network needs to be derived based on the learning of the entire adjacency matrix A and the initial feature set X.

[0210] After S34b, S35b is also included:

[0211] S35b, calculate the loss function L1 of the variational graph autoencoder, and optimize the variational graph autoencoder in the direction of decreasing the gradient of the loss function L1: ,

[0212] in, Indicates that the reconstructed adjacency matrix is ​​obtained during the decoding process of S34b. It is an existing technology and will not be described here; CE(·) represents the multivariate cross entropy loss; KL[·] represents the KL divergence of the potential representation of each existing drug, I represents the unit matrix, represents the standard normal distribution assumed a priori, represents the normal distribution of the potential representation of each existing drug, and || is a connector.

[0213] It is used to measure the decoder's reconstructed adjacency matrix The loss of the difference between the adjacency matrix A, The smaller the size, the more the adjacency matrix is ​​reconstructed. The closer it is to the adjacency matrix A, the more accurate the potential representation of each existing drug during the encoding process of the variational graph autoencoder and the existing drug interaction network G after decoding can be ensured. DDI Accuracy of node representations from the perspective of variational graph autoencoders.

[0214] It is used to measure the difference between the distribution of the potential representation of each existing drug learned by the variational graph autoencoder and the standard normal distribution assumed by the prior. The smaller it is, the smaller the deviation between the distribution of the potential representation of each existing drug learned by the variational graph autoencoder and the standard normal distribution assumed by the prior.

[0215] In the present invention, the loss function L1 of the variational graph autoencoder is obtained based on the multivariate cross entropy loss and the KL divergence of the potential representation of each existing drug. Therefore, the optimization of the variational graph autoencoder based on the loss function L1 takes into account the constraints on the variational graph autoencoder to learn the potential representation of each existing drug, as well as the existing drug interaction network G after decoding. DDI The constraints on node representation from the perspective of the variational graph autoencoder ensure that the subsequent optimization of the variational graph autoencoder will not only improve the effect of one aspect, but will comprehensively optimize the variational graph autoencoder.

[0216] Optionally, after S3 and before S4, the following contents are also included: Calculate the contrast loss function L contrast , and towards the contrast loss function L contrast Optimizing the existing drug interaction network G in the direction of gradient reduction DDI Node representation from the hypergraph perspective and variational graph autoencoder perspective:

[0217] ,

[0218] Among them, n represents the n drugs contained in the current drug database, which is also the current drug interaction network G DDI The total number of nodes in, τ is the temperature hyperparameter, which is 0.6 in this embodiment, sim(VAE i ,H i ) represents the drug interaction network G DDI The similarity between the node representation of drug i in the hypergraph perspective and the node representation in the variational graph autoencoder perspective, sim(VAE i ,H y ) represents the drug interaction network G DDI The node representation of drug i in the variational graph autoencoder and the drug interaction network G DDI The similarity between the node representations of drug y and non-drug i in the hypergraph perspective, in this embodiment, cosine similarity is used.

[0219] The hypergraph perspective and the variational graph autoencoder perspective capture the drug interaction network G from different perspectives. DDI Different structural information of the same node in G DDI For the same node in the image, even if the structural information is captured from different perspectives, the node representations under these two perspectives should be highly similar, just like the overall exterior design and interior design of a building are from different perspectives, but because they are based on the same building, the interior design and exterior design are highly related and coordinated with each other, which is embodied in the present invention as follows: DDI The node representations of the same node in different perspectives are highly similar. DDI The node representation similarity of different nodes in different perspectives is low. Based on this principle, the present invention improves the loss function into a contrast loss function L contrast , so that the present invention is based on the contrast loss function L contrast Optimizing existing drug interaction networks G DDI In the process of node representation from the hypergraph perspective and the variational graph autoencoder perspective, the similarity of node representation of the same node from different perspectives can be continuously increased, while the similarity of node representation of different nodes from different perspectives can be continuously reduced, thereby improving the ability of the present invention to learn to distinguish different drug nodes, thereby improving the generalization of the present invention for drug node representation and the accuracy of subsequent drug interaction prediction.

[0220] Furthermore, along with the optimization of the variational graph autoencoder and the existing drug interaction network G DDI The optimization of node representation from the hypergraph perspective and the variational graph autoencoder perspective is to optimize the prediction module, thereby improving the accuracy and efficiency of subsequent prediction modules in predicting drug interactions between new drugs and existing drugs.

[0221] In S4, the following sub-steps are also included:

[0222] S41, the prediction module integrates the node representations from the hypergraph perspective and the variational graph autoencoder perspective to obtain the final node representation corresponding to each drug: Φ i =0.5(H i +VAE i ),

[0223] Among them, Φ i The final representation of the node representing the existing drug i is a column vector;

[0224] S42, after decoding the final node representation of each existing drug using a bilinear decoder in the prediction module, the interaction scores between the two existing drugs are calculated respectively to predict the interaction between the two drugs: ,

[0225] Among them, SCORE(i,j) represents the interaction score between existing drug i and existing drug j, which is a four-dimensional vector. The dimension values ​​on different dimensions represent the probability of drug interactions between existing drug i and existing drug j corresponding to the four types of drug interactions: irrelevant, synergistic, additive, and antagonistic. Softmax(·) represents the softmax activation function, ψ is the bias parameter of the bilinear decoder, and R ψ is the weight matrix of the bilinear decoder, Represents Φ i The transpose of .

[0226] S43, taking the drug interaction type represented by the maximum dimension value among the four dimension values ​​included in the interaction score between the existing drug i and the existing drug j as the prediction module to output the prediction result of the drug interaction between the existing drug i and the existing drug j.

[0227] S44, calculating the overall loss function of the prediction results based on the actual drug interaction between the existing drug i and the existing drug j, and optimizing the prediction module in the direction of reducing the gradient of the overall loss function.

[0228] The overall loss function calculated in S44 is a cross entropy loss function. Calculating the cross entropy loss function is a prior art and will not be described in detail here.

[0229] Optionally, after S43 and before S44, S43´ is also included:

[0230] S43´, calculate the loss function L2 of the bilinear decoder, and optimize the bilinear decoder in the direction of decreasing the gradient of the loss function L2:

[0231] ,

[0232] in, represents the dimension value of the interaction score between existing drug i and existing drug j in the Ωth dimension, 1≤Ω≤4 and Ω is a positive integer, represents the indicator variable of the interaction score between existing drug i and existing drug j on the Ωth dimension. When the Ωth dimension of the interaction score between existing drug i and existing drug j corresponds to irrelevant, then ,otherwise .

[0233] The optimization of the bilinear decoder focuses on optimizing the bias parameter ψ of the bilinear decoder and the weight matrix R of the bilinear decoder. ψ .

[0234] The experimental data of new drugs in the research and development stage include the three biochemical characteristics and chemical formula strings of the new drug's target, enzyme and transporter.

[0235] Use the pre-trained prediction module to predict drug interactions between new drugs and existing drugs, including steps 1 to 4:

[0236] Step 1: After the prediction module obtains the biochemical characteristics of the new drug and the biochemical characteristics of the existing drugs, it calculates the comprehensive biochemical similarity between different drugs and constructs the drug biochemical similarity matrix;

[0237] At the same time, the prediction module obtains the drug molecular structure and important substructures in the drug molecular structure based on the chemical formula string of each drug;

[0238] Step 2: After the prediction module calculates the drug molecular structure of each drug and the node value of the important substructure in each drug molecular structure, the corresponding drug molecular structure graph and the important subgraph in each drug molecular structure are obtained, and then the drug molecular structure graph and the important subgraph in each drug molecular structure are characterized;

[0239] Step 3: The prediction module constructs a drug interaction network based on the biochemical characteristics, chemical formula strings, drug molecular structure graphs, and important subgraphs in the drug molecular structures of each drug, and obtains node representations of the drug interaction network from the perspective of the hypergraph and the perspective of the variational graph autoencoder;

[0240] Step 4: The prediction module integrates the node representations of each node in the drug interaction network from the hypergraph perspective and the variational graph autoencoder perspective to predict the drug interactions between new drugs and existing drugs.

[0241] The specific operations in steps 1 to 4 are similar to the sub-steps in the corresponding description parts in S1 to S4, and will not be repeated here due to space limitations.

[0242] The loss function calculated in S44 is used to guide technicians to optimize the entire prediction module. contrastThe loss function L1 is used to guide technicians to optimize specific parts in the prediction module. Of course, the optimization of specific parts in the prediction module is also the optimization of the prediction module, which improves the accuracy and efficiency of the prediction results of the prediction module. In the present invention, the existing drugs and the known drug interactions between existing drugs are used as training sets to pre-train the prediction module. In addition, the present invention not only calculates the overall loss function of the prediction module based on the prediction results and the actual drug interactions during the training process, but also calculates the loss function L2, the comparative loss function L contrast , loss function L1, which is used to optimize specific parts within the prediction module, namely the bilinear decoder, node representation from the hypergraph perspective and variational graph autoencoder perspective, and variational graph autoencoder; these loss functions used for optimization have been improved by integrating the features of the optimized parts in order to better serve the prediction method, so that the optimization work of technicians can be more targeted while achieving the overall effect, and the optimization of specific parts within the prediction module can be carried out simultaneously, thereby improving the optimization efficiency.

[0243] The pre-trained prediction module of the present invention fuses and learns the different structural information with high similarity of the same node from two different perspectives, namely the hypergraph perspective and the variational graph autoencoder perspective, and then takes the weighted average as the final node representation of the node, and then decodes the final node representation. The bilinear decoder can efficiently and accurately capture the potential associations between drugs to reveal which potential feature combinations are important for predicting drug interactions. Therefore, the final node representation of the present invention carries multiple structural information from multiple perspectives of the same node, and the final prediction of the interaction between the two drugs is also a comprehensive prediction based on the learning of multiple structural information from multiple perspectives between different nodes, while taking into account the potential connections between different drugs. The structural characteristics of the drug interaction network are understood from different levels, so that the accuracy of the prediction result is higher.

[0244] The drug interaction prediction method of the present invention fully exploits the characteristics of multi-source drug data such as biochemical characteristics, chemical formula strings, drug molecular structure diagrams, and important subgraphs in drug molecular structures of each drug during the prediction process, and determines the structural morphology and node values ​​of each drug molecular structure diagram and important subgraphs based on these multi-source data characteristics through a graph convolutional neural network, so that the aspects considered in predicting drug interactions are more comprehensive and the test results are more accurate.

[0245] The present invention obtains important subgraphs of the current drug molecular structure based on the drug molecular structure. When a drug molecular structure contains multiple important subgraphs, the present invention creatively mines more core and key important subgraphs in these important subgraphs based on the improved graph information bottleneck framework of the mutual information neural estimation method, and truly determines the important substructures in the drug molecular structure of the current drug that have the strongest information sharing and information correlation with the drug biochemical characteristics, so that the subsequent prediction process focuses on these important substructures, so as to shorten the prediction time and speed up the prediction speed while ensuring the prediction accuracy of subsequent drug interactions.

[0246] In the training process of the prediction module of the present invention, with continuous optimization, the increase of the amount of multi-source drug data and the number of predictions, the accuracy of the prediction results of the drug interaction prediction method that integrates the hypergraph perspective and the variational graph autoencoder perspective for learning is continuously improved, and the stability of the prediction results will also be continuously improved. The stability of the prediction results here refers to the situation that the prediction results are sometimes accurate and sometimes completely inaccurate. A completely inaccurate situation is, for example, the present invention predicts that there is a synergistic effect between drug 1 and drug 2, but using clinical trials as the review standard, the result obtained is an antagonistic effect between drug 1 and drug 2, which is a completely opposite prediction result. Therefore, the present invention has the advantages of being fast, accurate and efficient when predicting drug interactions between new drugs and existing drugs, or even between new drugs.

[0247] When predicting drug interactions between new drugs and existing drugs, the present invention only needs to obtain the biochemical characteristics and chemical formula strings obtained in the new drug development stage, compared with the known and comprehensive drug information of existing drugs, so as to efficiently and accurately predict the drug interactions between new drugs and existing drugs. Therefore, the drug interaction prediction method of the present invention helps to shorten the time before new drugs enter the market and reduce the clinical trial costs before new drugs enter the market. That is, in the clinical trial stage of new drugs, it is only necessary to conduct confirmatory experiments on new drugs based on the prediction results of the present invention, without the need for a large number of exploratory experiments.

[0248] Table 1 Comparison of drug interaction prediction results using different prediction methods

[0249] ;

[0250] Because the advantages of the present invention compared to long-term and large-scale manual clinical trials are undoubted, in order to further verify that the present invention also has the above-mentioned technical effects and advantages compared to some non-artificial prediction methods in the prior art, the technicians used the prediction methods in Table 1 to predict drug interactions for 2000 pairs of drugs, and used the test results as the review standard to obtain the scores of the four evaluation indicators of prediction accuracy (acc), area under the receiver operating characteristic curve (AUROC), area under the precision-recall curve (AUPRC), and F1 score of each method in Table 1. The higher these evaluation indicators are, the better. As can be seen from Table 1, the drug interaction prediction method of the present invention is higher than the prediction method of the prior art in terms of prediction accuracy, area under the receiver operating characteristic curve (AUROC), area under the precision-recall curve (AUPRC) or F1 score.

[0251] The techniques, shapes, and structural parts not described in detail in the present invention are all well-known techniques.

Claims

1. A method for predicting drug interactions, characterized in that: After obtaining the biochemical characteristics and chemical formula string of the new drug, a pre-trained prediction module is used to predict the drug interaction between the new drug and the existing drugs. The method of pre-training the prediction module based on the existing drugs includes the following steps: S1, after the prediction module obtains the biochemical characteristics of existing drugs, it constructs the biochemical similarity matrix of existing drugs; at the same time, the prediction module obtains the drug molecular structure and important substructures in the drug molecular structure based on the chemical formula string of the existing drugs; S2, the prediction module calculates the node values ​​of the drug molecular structure of the existing drug and the node values ​​of the important substructures in the drug molecular structure to obtain the corresponding drug molecular structure graph and the important subgraph in the drug molecular structure, and then performs feature representation on the drug molecular structure graph and the important subgraph in the drug molecular structure; S3, the prediction module constructs the existing drug interaction network based on the biochemical characteristics, chemical formula strings, drug molecular structure graphs, and important subgraphs in the drug molecular structure of existing drugs, and obtains the node representations of the existing drug interaction network from the perspective of the hypergraph and the perspective of the variational graph autoencoder respectively; S4, the prediction module integrates the node representations of each node in the existing drug interaction network from the hypergraph perspective and the variational graph autoencoder perspective, predicts the drug interactions between existing drugs, and then calculates the overall loss function of the prediction results based on the corresponding real drug interactions between existing drugs to optimize the prediction module; In S1, after the prediction module obtains the biochemical characteristics of existing drugs, it constructs the biochemical similarity matrix of existing drugs, which also includes the following sub-steps: S11, the prediction module obtains the three biochemical characteristics of the target, enzyme and transporter of the existing drugs from the existing drug database, and obtains the enzyme feature vector, target feature vector and transporter feature vector of the existing drugs respectively: ; ; ; The human body contains a total of b enzymes, namely enzyme 1, enzyme 2, ..., enzyme a, ..., enzyme b. Note that the human body contains d types of targets, namely target 1, target 2, ..., target c, ..., target d. Note that there are f types of transporters in the human body, namely transporter 1, transporter 2, ..., transporter e, ..., transporter f. represents the enzyme feature vector of existing drug i, is the enzyme feature vector The dimension value on the ath dimension in is the characteristic value of enzyme a, which indicates whether there is a correlation between existing drug i and enzyme a. If there is a correlation, it is 1, otherwise it is 0. represents the target feature vector of existing drug i, is the target feature vector The dimension value on the cth dimension in is the characteristic value of target c, which indicates whether there is a correlation between the existing drug i and target c. If there is a correlation, it is 1, otherwise it is 0. represents the transporter feature vector of existing drug i, is the transporter feature vector The dimension value on the e-th dimension in is the characteristic value of transporter e, which indicates whether there is an association between the existing drug i and transporter e. If there is an association, it is 1, otherwise it is 0. And 1≤a≤b, 1≤c≤d, 1≤e≤f, a, b, c, d, e, f are all positive integers; S12, the prediction module calculates the similarity between enzyme feature vectors, target feature vectors, and transporter feature vectors of different existing drugs: ; ; ; in, , , They represent the similarity between the enzyme feature vectors of existing drug i and existing drug j, the similarity between the target feature vectors, and the similarity between the transporter feature vectors. represents the calculation of the Hamming distance between ρ and ζ, represents the length of the enzyme feature vector, represents the length of the target feature vector, represents the length of the transporter feature vector; S13, the prediction module calculates the comprehensive biochemical similarity between different drugs: ; Among them, S ij represents the comprehensive biochemical similarity between existing drug i and existing drug j, w1, w2, and w3 represent the first weight hyperparameter, the second weight hyperparameter, and the third weight hyperparameter, respectively; S14, the prediction module constructs an existing drug biochemical similarity matrix S based on the comprehensive biochemical similarities between different existing drugs: ; The existing drug biochemical similarity matrix S is an n×n matrix, where n is the total number of existing drugs in the current drug database, and S ij represents the comprehensive biochemical similarity between existing drug i and existing drug j, where existing drug i represents the i-th existing drug in the current existing drug database, and existing drug j represents the j-th existing drug in the current existing drug database, where 1≤i≤n, 1≤j≤n, and i, j, and n are all positive integers. When i=j, S ij =1; In S1, the prediction module obtains the drug molecular structure and important substructures in the drug molecular structure based on the chemical formula string of the existing drug, and also includes the following sub-steps: S11´, the prediction module converts the chemical formula string of the existing drug into the drug molecular structure, the nodes in the drug molecular structure represent the drug atoms, and the connecting edges between the nodes represent the chemical bonds; S12′, the prediction module compares the drug molecular structure with the structures stored in the important substructure database. If the current drug molecular structure contains the structures stored in the important substructure database, these structures are regarded as the important substructures in the current drug molecular structure; if the current drug molecular structure does not contain any structure stored in the important substructure database, then there is no important substructure in the current drug molecular structure; The following are also included in S3: S31, the prediction module takes each existing drug as a node and connects two existing drugs with hyperedges based on the biochemical characteristics, chemical formula strings, drug molecular structure diagrams, and important subgraphs in the drug molecular structure of each existing drug to construct an existing drug interaction network G. DDI ; After S31, the existing drug interaction network G was obtained. DDI The node representation from the hypergraph perspective also includes sub-steps S32a to S33a: S32a, prediction module obtains drug interaction network G DDI The node set HM and hyperedge set HE included: HM={B1,B2,...,B i ,...,B n }, B i represents node i, that is, existing drug i, 1≤i≤n and i is a positive integer, HM includes n nodes, corresponding to n existing drugs. HE={E1,E2,...,E i ,...,E n }, E i Represents the drug interaction network G DDI The subset of hyperedges of node i, E i ={E i-1 ,E i-2 ,...,E i-y ,...,E i-n }, E i-y represents the hyperedge between node i and node y, 1≤y≤n, y≠i and y is a positive integer. If there is a hyperedge between node i and node y, then E i-y =1, otherwise E i-y =0; S33a, the prediction module uses the hypergraph convolution algorithm HyperGCN to predict the existing drug interaction network G DDI After encoding the node set HM and the hyperedge set HE, the existing drug interaction network G is obtained. DDI The node representation set H = {H1,H2,...,H i ,...,H n }, H i Represents the drug interaction network G DDI The node i in the hypergraph is represented by the node; After S31, the existing drug interaction network G was obtained. DDI The node representation from the variational graph autoencoder perspective also includes sub-steps S32b to S34b: S32b, the prediction module splices the biochemical characteristics, chemical formula vectors, drug molecular structure diagrams, and important sub-graphs in the drug molecular structure of each existing drug, and then uses the PCA principal component analysis method to perform dimensionality reduction operations to obtain the initial characteristics of each existing drug, and construct an initial feature set X of existing drugs; At the same time, the prediction module uses the adjacency matrix A to represent the existing drug interaction network G DDI Drug interactions between nodes: ; The adjacency matrix A is an n×n matrix. ij Represents the drug interaction between existing drug i and existing drug j: If there is no interaction between existing drug i and existing drug j, then A ij =0; If there is a synergistic effect between existing drug i and existing drug j, then A ij =1; If there is an additive effect between existing drug i and existing drug j, then A ij =2; If there is antagonism between existing drug i and existing drug j, then A ij =3; When i=j, A ij =0, indicating that the drug will not interact with itself, existing drug i represents the i-th drug in the current drug database, and drug j represents the j-th drug in the current drug database, where 1≤i≤n, 1≤j≤n, and i, j, and n are all positive integers; S33b, the prediction module uses a graph convolutional network to encode the adjacency matrix A and the initial feature set X of existing drugs to obtain the potential mean μ and logarithmic variance of each existing drug : , , Among them, GCN μ (·) and GCN σ (·) denotes the graph convolutional network used to learn the mean and the graph convolutional network used to learn the log-variance, respectively. represents the variance of each existing drug; that is, corresponding to n drugs, a total of n potential means and n logarithmic variances are obtained; S34b, prediction module based on the potential mean μ and logarithmic variance of each existing drug , use the graph convolutional network to obtain the potential representation of each existing drug, and then decode the potential representation of each existing drug to obtain the existing drug interaction network G DDI From the perspective of variational graph autoencoders, the node representation set VAE={VAE1,VAE2,...,VAE i ,...,VAE n }, VAE i Represents the existing drug interaction network G DDI The node representation of drug i in the variational graph autoencoder perspective; In S32b, obtaining the chemical formula vector of each existing drug also includes the following sub-steps: S321b, the prediction module performs a word segmentation operation on the chemical formula string of the existing drug to generate a corresponding word unit sequence; S322b, setting the standard length of the word unit sequence to k, the prediction module fills the end of the word unit sequence whose length is shorter than the standard length k until the length of the current word unit sequence is k, and records it as the standard word unit sequence corresponding to the existing drug; S323b, the prediction module encodes each standard word unit sequence into a chemical formula vector with a dimension number J.

2. A method for predicting drug interactions according to claim 1, characterized in that: S2 also includes the following sub-steps: S21, the prediction module calculates the node values ​​in the drug molecular structure of each existing drug and the node values ​​of each important substructure in the drug molecular structure through the graph convolutional neural network, and obtains the corresponding drug molecular structure graph and the important subgraph in the drug molecular structure: ; Where v represents any node in the current drug molecular structure / an important substructure in the drug molecular structure. represents the node value of node v in the (t+1)th layer of the graph convolutional neural network, N(v) represents the set of neighbor nodes of node v, represents the node value of node u in the current drug molecular structure / in an important substructure of the drug molecular structure in the tth layer of the graph convolutional neural network, u∈{N(v)∪v} means that the value range of node u is the union of N(v) and node v, W t represents the weight parameter of the tth layer in the graph convolutional neural network, p t represents the bias term of the tth layer in the graph convolutional neural network, σ(·) is the ReLU nonlinear activation function; is the preset initial node value of the graph convolutional neural network, 0≤t≤z-1, t is a non-negative integer, z is a positive integer, Represents the normalization constant of node v and node u, which is the square root of the product of the number of neighbor nodes of node v and the number of neighbor nodes of node u; S22, after performing a pooling operation on the node values ​​in each drug molecular structure graph and the node values ​​in each important subgraph, a corresponding pooling average value is obtained, and the pooling average value is used as a feature representation of each drug molecular structure graph and each important subgraph: , , Among them, G i represents the drug molecular structure diagram corresponding to drug i, g m Represents the drug molecular structure diagram G i An important subgraph contained in it, Readout{·} represents the Readout pooling function, Represents the drug molecular structure diagram G i The pooled average value of Represents an important subgraph g m The pooled average value of Represents the node value of node v in the last layer z of the graph convolutional neural network, Represents the drug molecular structure diagram G i The node values ​​of all nodes in the last layer z of the graph convolutional neural network are readout pooled. Represents the important subgraph g m The node values ​​of all nodes in the last layer z of the graph convolutional neural network are readout pooled.

3. A method for predicting drug interactions according to claim 1, characterized in that: After S34b, S35b is also included: S35b, calculate the loss function L1 of the variational graph autoencoder, and optimize the variational graph autoencoder in the direction of decreasing the gradient of the loss function L1: , in, represents the reconstructed adjacency matrix obtained in the decoding process of S34b, CE(·) represents the multivariate cross entropy loss, KL[·] represents the KL divergence of the potential representation of each existing drug, I represents the identity matrix, represents the standard normal distribution assumed a priori, represents the normal distribution of the potential representation of each existing drug, and || is a connector.

4. A method for predicting drug interactions according to claim 1, characterized in that: In S4, the following sub-steps are also included: S41, the prediction module integrates the node representations from the hypergraph perspective and the variational graph autoencoder perspective to obtain the final node representation corresponding to each drug: Φ i =0.5(H i +VAE i ), Among them, Φ i The node representing the existing drug i is finally represented and is a column vector; S42, after decoding the final node representation of each existing drug using a bilinear decoder in the prediction module, the interaction scores between the two existing drugs are calculated respectively to predict the interaction between the two drugs: , Among them, SCORE(i,j) represents the interaction score between existing drug i and existing drug j, which is a four-dimensional vector. The dimension values ​​on different dimensions represent the probability of drug interactions between existing drug i and existing drug j corresponding to the four types of drug interactions: irrelevant, synergistic, additive, and antagonistic. Softmax(·) represents the softmax activation function, ψ is the bias parameter of the bilinear decoder, and R ψ is the weight matrix of the bilinear decoder, Represents Φ i The transpose of S43, taking the drug interaction type represented by the maximum dimension value among the four dimension values ​​included in the interaction score between the existing drug i and the existing drug j as the prediction module to output the prediction result of the drug interaction between the existing drug i and the existing drug j; S44, calculating the overall loss function of the prediction results based on the actual drug interaction between the existing drug i and the existing drug j, and optimizing the prediction module in the direction of reducing the gradient of the overall loss function.

5. A method for predicting drug interactions according to claim 4, characterized in that: After S43 and before S44, it also includes S43´: S43´, calculate the loss function L2 of the bilinear decoder, and optimize the bilinear decoder in the direction of decreasing the gradient of the loss function L2: ; in, represents the dimension value of the interaction score between existing drug i and existing drug j in the Ωth dimension, 1≤Ω≤4 and Ω is a positive integer, represents the indicator variable of the interaction score between existing drug i and existing drug j on the Ωth dimension. When the Ωth dimension of the interaction score between existing drug i and existing drug j corresponds to irrelevant, then ,otherwise .

6. A method for predicting drug interactions according to claim 1, characterized in that: When the number of important subgraphs in a drug molecule structure is r1, 1<r1 and r1 is an integer, then S21´~S22´ are included after S2 and before S3: S21´, the prediction module obtains the mutual information of each important subgraph in the current drug molecular structure based on the improved graph information bottleneck framework based on the mutual information neural estimation method: ; The important subgraph set in the drug molecular structure of the existing drug i is denoted as Q(i). If there is more than one important subgraph contained in Q(i), I θ (S i ;g m ) represents the important subgraph g in the drug molecular structure of the existing drug i m The row vector S of biochemical similarity with existing drug i i The mutual information between m ∈Q(i), row vector S of biochemical similarity of existing drug i i is the i-th row element in the existing drug biochemical similarity matrix S, T θ represents a neural network with the parameter θ used to obtain mutual information, Represents the biochemical similarity row vector S i and important subgraph g m The joint distribution of Represents the neural network T θ In the biochemical similarity row vector S i and important subgraph g m The expected value of the joint distribution of Represents the biochemical similarity row vector S i and important subgraph g m The product of the marginal distributions of Represents the biochemical similarity row vector S i and important subgraph g m When independent, the neural network T θ Output biochemical similarity row vector S i and important subgraph g m The expectation of the exponential of the natural base e under the product of marginal distributions; S22´, the prediction module calculates the mutual information objective function of each important subgraph in the current drug molecular structure, and then mines the key important subgraphs in the current drug molecular structure according to the mutual information objective function of each important subgraph: ; ; ; Among them, F i <·> is the mutual information objective function of existing drug i, F i <g m > represents existing drugs i and important subgraph g m The corresponding mutual information objective function value, α is the first regularization parameter, β is the second regularization parameter, I θ (S i ;G i -g m ) is the first regularization term, I θ (S i ;g m ) is the second regularization term, G i represents the drug molecular structure diagram corresponding to the existing drug i, G i -g m Represents the drug molecular structure diagram G i Remove the important subgraph g m part of; The mutual information objective function values ​​of each important subgraph in the important subgraph set Q(i) are arranged in descending order, and the prediction module selects the important subgraphs corresponding to the first r2 mutual information objective function values ​​as the key important subgraphs of the existing drug i, 1≤r2<r1 and r2 is an integer.

Citation Information

Patent Citations

  • Drug pair interaction prediction method based on heterogeneous information network and recommendation system

    CN115458045A

  • DDI prediction method based on Siamese structure and graph contrast learning

    CN116543852A

  • Drug-microorganism association prediction method based on VAE and GCN

    CN116580763A

  • Drug-drug interaction prediction method based on RGDA-DDI

    CN116864031A

  • Training method and device of drug intermolecular interaction prediction model

    CN117133382A