Method for constructing drug interaction prediction model, prediction method and device
By constructing a dual-view heterogeneous graph representation module and a fusion prediction module, and using graph neural networks to learn the representation of drugs and endogenous proteins, the problem of predicting biological drug interactions in the existing technology has been solved, and multiple predictions of chemical drugs and biological drugs have been realized. Type-drug interaction prediction improves the accuracy and efficiency of prediction.
Patent Information
- Application Number
- CN202210588763.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-26
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-05-26
AI Technical Summary
It is difficult to predict drug interactions of biological drugs with existing technology, and the interaction prediction methods of chemical drugs and biological drugs cannot be directly promoted, resulting in high data collection costs and poor prediction results.
The dual-view heterogeneous graph representation module and the dual-view fusion prediction module are used to learn the representation of drugs and endogenous proteins through graph neural networks, and build multi-type drug interaction prediction models for chemical drugs and biological drugs, using molecular linear representation and interaction Predict the relationship.
It makes it possible to predict drug interactions of biological drugs, provides a simple, accurate and efficient solution, and improves the accuracy and efficiency of drug interaction predictions.
Smart Images

Figure CN114974408B
Abstract
Description
Technical Field
[0001] The present application relates to the interdisciplinary field of computer science, drug discovery and pharmaceutical technology, and in particular to a method for constructing a drug interaction prediction model, a prediction method and a device. Background Art
[0002] Drugs are divided into chemical drugs (i.e. small molecule drugs) and biological drugs (i.e. macromolecule drugs). The interaction between two or more drugs in the body (i.e. drug interactions) significantly affects the normal efficacy of drugs and even endangers life. Since chemical drugs and biological drugs are obviously different in molecular properties, production methods, intake methods, and effects, the prediction methods for chemical drugs cannot be well adapted to the prediction of drug interactions involving biological drugs.
[0003] Domestic and foreign scholars have done some work on drug interaction prediction, but these works still have the following limitations: 1) The prediction of drug interactions involving biological drugs is still blank. Existing drug interaction prediction work only targets small molecule chemical drugs, while ignoring the "future star" large molecule biological drugs with small side effects and strong specificity. 2) The chemical drug interaction prediction method cannot be directly extended to the interaction identification task of chemical drugs and biological drugs. First, the drug interaction network including biological drugs is more sparse. As new products, the current number of biological drugs is limited, and many interactions have not been observed in experiments and clinical practice; secondly, chemical drugs and biological drugs have prominent heterogeneity and great differences in physicochemical and biological properties. In computer-assisted drug interaction prediction methods, it is not feasible to collect unified and rich characteristic data for a large number of chemical drugs and biological drugs or to model the two types of drugs at the same particle size. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a method for constructing a drug interaction prediction model, a prediction method and a device to solve the technical problems in existing methods that the cost of collecting drug characteristic data is too high and it is difficult to predict drug interactions involving biological drugs and specific interaction types.
[0005] According to a first aspect of an embodiment of the present invention, a method for constructing a drug interaction prediction model is provided, comprising:
[0006] Collect and organize the molecular linear representations of drugs and endogenous proteins and the interactions between these molecules, wherein the drugs include chemical drugs and biological drugs;
[0007] Using the molecular linear representation and the interactions between these molecules, constructing a dual-view isomeric graph with enhanced connectivity of the outer interaction graph and expanded data volume of the inner molecular structure graph;
[0008] Build a drug interaction prediction model with dual-view heterogeneous graph as input, the model includes a dual-view heterogeneous graph representation module and a dual-view fusion prediction module, the dual-view heterogeneous graph representation module learns the representation of drugs and endogenous proteins at each perspective based on a graph neural network, and then the dual-view fusion prediction module combines the dual perspectives to give a prediction;
[0009] The constructed model is trained and its hyperparameters are adjusted to obtain a multi-type drug interaction prediction model for chemical drugs and biological drugs.
[0010] According to a second aspect of an embodiment of the present invention, a method for constructing a drug interaction prediction model is provided, comprising:
[0011] A collection module, used for collecting and arranging the molecular linear representations of drugs and endogenous proteins and the interactions between these molecules, wherein the drugs include chemical drugs and biological drugs;
[0012] A construction module, for constructing a dual-view isomeric graph with enhanced connectivity of an outer-layer interaction graph and expanded data volume of an inner-layer molecular structure graph using the molecular linear representation and the interactions between these molecules;
[0013] A building module for building a drug interaction prediction model with a dual-view heterogeneous graph as input, the model comprising a dual-view heterogeneous graph characterization module and a dual-view fusion prediction module, the dual-view heterogeneous graph characterization module learns the characterization of drugs and endogenous proteins at each view based on a graph neural network, and then the dual-view fusion prediction module combines the dual views to give a prediction;
[0014] The training module is used to train the constructed model and adjust its hyperparameters to obtain a multi-type drug interaction prediction model for chemical drugs and biological drugs.
[0015] According to a third aspect of an embodiment of the present invention, a drug interaction prediction method is provided, comprising:
[0016] The drug combination to be predicted and the drug interaction type to be predicted are input into the drug interaction prediction model described in the first aspect to obtain a prediction result.
[0017] According to a fourth aspect of an embodiment of the present invention, there is provided a drug interaction prediction device, comprising:
[0018] The prediction module is used to input the drug combination to be predicted and the drug interaction type to be predicted into the drug interaction prediction model described in the first aspect to obtain a prediction result.
[0019] According to a fifth aspect of an embodiment of the present invention, there is provided an electronic device, characterized in that it includes:
[0020] one or more processors;
[0021] A memory for storing one or more programs;
[0022] When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in the first aspect or the third aspect.
[0023] The technical solution provided by the embodiments of the present application may have the following beneficial effects:
[0024] It can be seen from the above embodiments that the present application introduces the interaction relationship between drugs and endogenous proteins, and between endogenous proteins, as well as the molecular structure of endogenous proteins. By utilizing the property that both chemical drugs and biological drugs work by docking with endogenous proteins and the characteristics that biological drugs and endogenous proteins are both large molecules, the associated data of drugs are enriched, making it possible to predict drug interactions involving biological drugs.
[0025] Taking only molecular linear representations and known interactions as input, the graph neural network is used to automatically extract and fuse molecular features and empirical interaction laws with high quality. Compared with typical artificial intelligence-assisted methods in the biomedicine field, the present invention does not rely on domain knowledge and feature engineering, and provides a simple, accurate and efficient solution to the drug interaction prediction problem for chemical drugs and biological drugs.
[0026] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0028] Figure 1 The present invention is a flowchart of a method for constructing a drug interaction prediction model according to an exemplary embodiment.
[0029] Figure 2 The diagram is a schematic diagram of a drug interaction diagram including chemical drugs and biological drugs according to an exemplary embodiment.
[0030] Figure 3 It is a schematic diagram of an outer layer interaction graph with enhanced connectivity according to an exemplary embodiment.
[0031] Figure 4 The figure is a schematic diagram of a dual-viewing angle isomerous image according to an exemplary embodiment.
[0032] Figure 5 It is a schematic diagram of a dual-view heterogeneous image encoding module according to an exemplary embodiment.
[0033] Figure 6 It is a block diagram of a device for constructing a drug interaction prediction model according to an exemplary embodiment.
[0034] Figure 7 The figure is a flow chart of a drug interaction prediction method according to an exemplary embodiment.
[0035] Figure 8 The figure is a block diagram of a drug interaction prediction device according to an exemplary embodiment. DETAILED DESCRIPTION
[0036] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0037] See also Figure 1 The present invention provides a method for constructing a drug interaction prediction model, comprising the following steps:
[0038] S100: Collect and organize the molecular linear representations of drugs and endogenous proteins and the interactions between these molecules, wherein the drugs include chemical drugs and biological drugs; this step may include the following sub-steps:
[0039] S110: Collect and organize drug IDs and molecular linear representations, drug-drug interaction data, and drug-endogenous protein interaction data from the drug information platform DrugBank;
[0040] Specifically, S111: using the R language third-party package dbparser to parse the XML file (version 5.1.8) provided by DrugBank, and sorting out the molecular linear representation of small molecule chemical drugs (i.e., SMILES expression), the molecular linear representation of large molecule biological drugs (i.e., amino acid sequence), drug-drug interaction data, and drug-endogenous protein interaction data;
[0041] S112: Data cleaning, including: removing biological drugs for which the amino acid residue contact graph cannot be calculated (the standard is that the single chain length exceeds 1000 amino acids or contains multiple chains), removing chemical drugs for which the molecular graph cannot be constructed from SMILES expression using the Rdkit toolkit, removing drugs without any known interaction data or with less than 3 known interactions, and removing drug interaction types with a total number of records less than 1000;
[0042] S120: converting the ID of the endogenous protein in the drug-endogenous protein interaction data into an ID in a protein database, searching the protein database by ID, and obtaining a molecular linear representation of each endogenous protein and the interactions between these endogenous proteins.
[0043] Specifically, convert the ID of the endogenous protein in the drug-endogenous protein interaction data described in step S110 into its ID in the StringDB database of the protein database through the Uniprot website, collect the amino acid sequences of the endogenous proteins obtained in step S110, and input them into the StringDB protein interaction database to query the interactions between these endogenous proteins.
[0044] Divide the obtained data into two datasets, C-DB and CB-DB, according to whether biopharmaceuticals are considered. C-DB only considers chemical drugs, with a total of 1,586 drugs, 496 endogenous proteins, 62 types, and a total of nearly 450,000 drug interaction data; CB-DB considers both chemical drugs and biopharmaceuticals, with a total of 3,174 drugs, 811 endogenous proteins, 62 types, and a total of nearly 1.12 million drug interaction data. Each interaction data is recorded as a triple in the form of <ID, interaction type, ID>.
[0045] The molecular linear representation of the chemical drug refers to the SMILES expression of the small molecule that constitutes the drug; the biopharmaceutical refers to a protein-based biopharmaceutical, and its molecular linear representation is the amino acid sequence of the protein macromolecule that constitutes the drug; the molecular linear representation of the endogenous protein refers to the amino acid sequence of the protein macromolecule that constitutes it.
[0046] S200: Use the molecular linear representation and the interactions between these molecules to construct a dual-view heterogeneous graph with enhanced connectivity of the outer interaction graph and expanded data volume of the inner molecular structure graph; this step may include the following sub-steps:
[0047] S210: Only use the molecular linear representation of a single drug / endogenous protein as the input to construct an attributed molecular structure graph for the drug / endogenous protein molecule as its inner molecular structure graph.
[0048] Specifically, S211: Convert the linear representation of the small molecule, that is, the SMILES expression, into a molecular graph through the Rdkit toolkit, and use the dgl-lifesci library to vectorize the basic attributes of atoms and chemical bonds and attach them to the molecular graph to obtain the inner molecular structure graph of the small molecule.
[0049] S212: Based on the linear representation of the macromolecule, i.e. the amino acid sequence, the protein sequence retrieval comparison tool HHblits and the protein residue contact map prediction tool CCMpred are used to calculate / predict the amino acid residue contact map for the macromolecule using the homology detection iteration. The contact map matrix is binarized with a threshold of 0.5, and the molecular structure map is constructed with amino acids as nodes. If the element with the subscript [i,j] in the binary contact map matrix is 1, it is considered that there is an edge between the two nodes numbered i and j. After the construction is completed, the nodes are added with features such as the type of amino acids, and the attached attributes are used as the inner molecular structure map of the macromolecule.
[0050] Then, the outer layer interaction graph is constructed, Figure 2 An example of an outer-layer interaction graph containing only drug-drug interaction data is given. Drug-drug interactions may occur between chemical drugs, between biological drugs, or between chemical drugs and biological drugs. In practice, the interaction between a drug and another drug is abstracted as a directed edge from the drug to another drug, and the type of edge is the type of interaction. At present, a large number of drug-drug interactions have not yet been discovered, especially the interaction involving new drugs such as biological drugs is not well understood, resulting in poor connectivity between drug nodes in the interaction graph containing only drug-drug interaction information. However, the performance of drug interaction prediction methods based on graph neural networks is greatly affected by graph connectivity. Therefore, it is necessary to introduce drug-endogenous protein interaction data and endogenous protein-endogenous protein interaction data to allow more drugs to be connected with endogenous proteins as relays, so as to construct an outer-layer interaction graph with enhanced connectivity.
[0051] S220: taking the collected drug-drug, drug-endogenous protein, and endogenous protein-endogenous protein interaction data as input, treating drugs and endogenous proteins as a type of node, and treating different types of interaction relationships between them as different types of edges, to construct a heterogeneous interaction graph with stronger connectivity than a simple drug interaction graph as an outer layer interaction graph;
[0052] Specifically, with drugs and endogenous proteins as nodes, and drug-drug, drug-endogenous protein, and endogenous protein-endogenous protein interaction relationships as edges, a heterogeneous graph containing two types of nodes, drug and endogenous protein, is constructed as the outer interaction graph. The inner graphs of small molecule chemical drugs and large molecule biological drugs are heterogeneous, but both are used as drug nodes in the outer graph. The edges in the outer interaction graph contain at least three types, including directed drug-drug interaction edges, undirected drug-endogenous protein interaction edges, and undirected endogenous protein-endogenous protein interaction edges. Among them, drug-drug interaction is a prediction object, and its category can be subdivided according to the specific type of drug-drug interaction event, and treated as different types of edges in the heterogeneous graph. Figure 3An example of an outer-layer interaction graph with enhanced connectivity is given, where the type and direction of drug-drug interactions are not labeled.
[0053] S230: Correspond each inner layer molecular structure graph constructed to the corresponding node in the outer layer graph constructed to complete the construction of the dual-view heterogeneous graph. Figure 4 , an example of the constructed dual-view heterogeneous graph.
[0054] S300: Building a drug interaction prediction model with dual-view heterogeneous graph as input, the model includes a dual-view heterogeneous graph representation module and a dual-view fusion prediction module, the dual-view heterogeneous graph representation module learns the representation of drugs and endogenous proteins at each perspective based on a graph neural network, and then the dual-view fusion prediction module combines the dual perspectives to give a prediction;
[0055] See also Figure 5 The dual-view heterogeneous graph representation module uses a graph neural network-based method to extract the inner layer representation F (composed of the inner layer F of small molecules) containing two types of information, namely, the properties of individual molecules and the rules of molecular interaction, from the inner layer molecular structure graph and the outer layer interaction graph. s and the inner layer of the macromolecule represents F l ) and the outer layer represents Z, so as to combine these two types of information to predict the probability of a certain type of interaction of a certain drug combination. S300 may include the following steps:
[0056] S310: The dual-view heterogeneous graph encoding module uses a molecular representation learning method based on a graph neural network to encode the inner molecular structure graph of chemical drugs and the inner molecular structure graph of biological drugs and endogenous proteins respectively to obtain an inner representation of each drug / endogenous protein;
[0057] Specifically, an encoder is constructed for each small molecule and macromolecule to extract the full-graph representation of the inner molecular structure graph of the small molecule and macromolecule, that is, the inner representation of a single drug / endogenous protein molecule. The encoder structure uses the graph convolutional neural network Attentive Fingerprint (AttentiveFP) suitable for molecular representation learning.
[0058] S320: setting the initial representations of nodes in the outer interaction graph, that is, the initial representations of drugs and endogenous proteins, to corresponding inner representations, and then the dual-view heterogeneous graph encoding module extracts the outer representations of drugs and endogenous proteins from the outer interaction graph using a graph neural network suitable for multi-relation heterogeneous graphs;
[0059] Specifically, a Relational Graph Convolutional Network (RGCN) suitable for multi-relation modeling of heterogeneous graphs is selected as the encoder to extract node representations for the outer interaction graph, that is, the outer representation of a single drug / endogenous protein.
[0060] S330: The dual-view fusion prediction module includes a representation alignment module, an inner layer scorer and an outer layer scorer. The two scorers respectively use the inner layer representation and the outer layer representation to predict the probability value of a specific type of interaction of the drug combination under the inner layer and the outer layer perspectives.
[0061] Specifically, for a drug combination (i.e., drug u and drug v) and the drug interaction type act of interest, it is formally represented as a triplet t=<d 1 , act, d 2 >, the inner / outer scorers each have a set of trainable weights that are sensitive to the interaction type, with drug d 1 and d 2 The inner / outer representation of is taken as input, and the probability of the interaction from the inner / outer perspective is predicted. F(d) and Z(d) are the inner and outer representations of drug d, respectively. ⊙ is the Hadamard product, σ is the sigmoid function, and are the trainable weight vectors of the interaction type act in the inner and outer scorers, respectively, then the inner and outer scorers are t=<d 1 , act, d 2 > The likelihood scores given are:
[0062]
[0063]
[0064] S400: training the constructed model and adjusting its hyperparameters to obtain a multi-type drug interaction prediction model for chemical drugs and biological drugs; this step may include the following sub-steps:
[0065] S410: Train the dual-view heterogeneous graph encoding module and the dual-view fusion prediction module end-to-end by gradient descent, so that the outputs of the two scorers are as close to the true value as possible and consistent. At the same time, maximize the mutual information between the inner layer representation and the outer layer representation by contrastive learning, so that the molecular structure information extracted from the inner layer is "injected" into the outer layer representation that is more closely related to the multi-type drug interaction prediction task;
[0066] Specifically, the overall optimization objective function in model training is:
[0067]
[0068] in, is the supervised learning loss, and They are the inner and outer layer prediction inconsistency loss and the inner and outer layer molecule representation inconsistency loss, β and γ are hyperparameters used to balance and proportion.
[0069] Binary cross entropy (BCE) is used to measure the gap between the inner and outer layer prediction values and the true values. Defined as in, is the set of drug-drug interaction triplets, y t is the true value of triple t, S tra (t) and S ter (t) are the predicted values given by the inner and outer layer scorers for triplet t, respectively. α is a hyperparameter used to adjust the proportion of inner and outer layer prediction deviations in the supervision loss.
[0070] The KL divergence (Kullback-Leibler divergence) is used to measure the inconsistency of the prediction values of the inner and outer scorers, which is defined as
[0071] It is used to maximize the mutual information between the inner representation F and the outer representation Z in a contrastive learning manner. s and the inner layer of the macromolecule represents F l and Z are generated by different encoders, and the representation spaces of the three groups of representations are different. Therefore, before calculating the mutual information, a network consisting of two fully connected layers and one skip connection is used to project the three groups of representations into the same space, and the projected representations are recorded as F s ′、F l ′ and Z′. Then, positive sample pairs and negative sample pairs are constructed according to the following rules: the graph composed of a certain type of nodes and the edges between them in the outer layer graph is regarded as an isomorphic subgraph of the original outer layer interaction graph, that is, the specific type of edges between nodes of the same type is not distinguished; positive sample pairs and negative sample pairs are constructed on each isomorphic subgraph. Specifically, a certain node u is regarded as an anchor point, then u and any node directly connected to it or u itself are paired to form a positive sample, and u and any node not directly connected to it are paired to form a negative sample.
[0072] After the positive and negative sample pairs are constructed, the contrastive learning loss Defined as:
[0073]
[0074] in, and are the isomorphic subgraphs of the outer interaction graph composed of drug nodes and endogenous protein nodes, respectively. F′(i) and Z′(i) are the inner and outer projection representations of node i, respectively. The JS divergence (Jensen-Shannon divergence) is used to calculate the lower bound of the mutual information value.
[0075] S420: Adjust model hyperparameters, train the model under the optimal parameter settings, and save the outer layer representation of the drug and the network in the dual-view fusion prediction module as a drug interaction prediction model for subsequent use. Train the entire model end-to-end so that the outputs of the two scorers are as close to the true value as possible, and the distributions of the two sets of outputs are as close as possible. At the same time, use contrastive learning to maximize the inner and outer layer mutual information between drug-drug and endogenous protein-endogenous protein node pairs to align the inner and outer layer representations of drugs and endogenous proteins, so that the molecular structure information extracted from the inner layer is "injected" into the outer layer representation that is closely related to the interaction;
[0076] Specifically, we use the Adam optimizer for full batch training and adjust the following hyperparameters:
[0077] 1) The weight coefficient α of the inner-view supervised learning loss in the objective function;
[0078] 2) The weight coefficient β of the inner and outer layer prediction inconsistency loss in the objective function;
[0079] 3) The proportion of the distribution inconsistency loss represented by the inner and outer layers in the objective function γ;
[0080] 4) The number of layers of the graph neural network used to encode the inner small molecule and macromolecular structure graphs;
[0081] 5) The number of graph neural network layers used to encode the outer interaction network.
[0082] S430: Under the optimal parameter setting, the training model is used to predict the multi-type interactions of the drug combination, and the output of the outer layer scorer is used as the final prediction result.
[0083] Referring to Table 1 and Table 2, from the perspective of prediction performance, the method proposed in the present invention (referred to as ChemBioTIP in Table 1 and Table 2) has the best prediction performance in both the cases of "only for chemical drugs" (C-DB on the left side of Table 1) and "for chemical drugs and biological drugs" (CB-DB on the right side of Table 1) compared with other graph representation learning methods (HGT, GraIL, RGCN, Decagon, MIRACLE). In addition, the three modules in the model of the present invention (dual-view heterogeneous graph construction module, dual-view heterogeneous graph encoding module, dual-view fusion and prediction module) are replaced or added and deleted to obtain different variants of the model, and compared with the complete model of the present invention, from the perspective of prediction performance, the model using the outer layer interaction graph enhancement strategy and the multi-view comparison fusion strategy performs better.
[0084] Table 1: Results of each model on the C-DB and CB-DB datasets
[0085]
[0086] Table 2: Submodule ablation test results on C-DB and CB-DB datasets
[0087]
[0088] Corresponding to the aforementioned embodiment of the method for constructing a drug interaction prediction model, the present application also provides an embodiment of an apparatus for constructing a drug interaction prediction model.
[0089] Figure 6 is a block diagram of a device for constructing a drug interaction prediction model according to an exemplary embodiment. Figure 6 The device includes a collection module 100, a construction module 200, a building module 300 and a training module 400.
[0090] A collection module 100 is used to collect and organize the molecular linear representations of drugs and endogenous proteins and the interactions between these molecules, wherein the drugs include chemical drugs and biological drugs;
[0091] A construction module 200 is used to construct a dual-view isomeric graph with enhanced connectivity of an outer interaction graph and expanded data volume of an inner molecular structure graph using the molecular linear representation and the interactions between these molecules;
[0092] Building module 300, for building a drug interaction prediction model with dual-view heterogeneous graph as input, the model includes a dual-view heterogeneous graph characterization module and a dual-view fusion prediction module, the dual-view heterogeneous graph characterization module learns the characterization of drugs and endogenous proteins at each view based on a graph neural network, and then the dual-view fusion prediction module combines the dual views to give a prediction;
[0093] The training module 400 is used to train the constructed model and adjust its hyperparameters to obtain a multi-type drug interaction prediction model for chemical drugs and biological drugs.
[0094] refer to Figure 7 The present invention also provides a method for predicting drug interactions, comprising:
[0095] The drug combination to be predicted and the drug interaction type to be predicted are input into the above-mentioned drug interaction prediction model to obtain the prediction result.
[0096] Corresponding to the aforementioned embodiment of the drug interaction prediction method, the present application also provides an embodiment of a drug interaction prediction device.
[0097] Figure 8 is a block diagram of a drug interaction prediction device according to an exemplary embodiment. Figure 8 , the device includes a prediction module 500.
[0098] The prediction module 500 is used to input the drug combination to be predicted and the drug interaction type to be predicted into the above-mentioned drug interaction prediction model to obtain a prediction result.
[0099] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0100] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present application scheme. A person of ordinary skill in the art can understand and implement it without paying any creative work.
[0101] Correspondingly, the present application also provides an electronic device, comprising: one or more processors; a memory for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement a method for constructing a drug interaction prediction model or a drug interaction prediction method as described above.
[0102] Accordingly, the present application also provides a computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement a method for constructing a drug interaction prediction model or a drug interaction prediction method as described above.
[0103] Those skilled in the art will readily appreciate other embodiments of the present application after considering the description and practicing the contents disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The description and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the claims.
[0104] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A method for constructing a drug interaction prediction model, characterized in that: include: Collect and organize the molecular linear representations of drugs and endogenous proteins and the interactions between these molecules, wherein the drugs include chemical drugs and biological drugs; Using the molecular linear representation and the interactions between these molecules, constructing a dual-view isomeric graph with enhanced connectivity of the outer interaction graph and expanded data volume of the inner molecular structure graph; Build a drug interaction prediction model with dual-view heterogeneous graph as input, the model includes a dual-view heterogeneous graph representation module and a dual-view fusion prediction module, the dual-view heterogeneous graph representation module learns the representation of drugs and endogenous proteins at each perspective based on a graph neural network, and then the dual-view fusion prediction module combines the dual perspectives to give a prediction; Train the constructed model and adjust its hyperparameters to obtain a multi-type drug interaction prediction model for chemical drugs and biological drugs; Among them, the molecular linear representations of drugs and endogenous proteins and the interactions between these molecules are collected and organized, including: Collect and organize drug IDs and molecular linear representations, drug-drug interaction data, and drug-endogenous protein interaction data from drug information platforms; Converting the ID of the endogenous protein in the drug-endogenous protein interaction data into the ID in the protein database, searching the protein database by ID, and obtaining the molecular linear representation of each endogenous protein and the interaction between these endogenous proteins; The dual-view heterogeneous graph representation module learns the representation of drugs and endogenous proteins at each view based on the graph neural network, and then the dual-view fusion prediction module combines the dual views to give a prediction, including: The dual-view heterogeneous graph encoding module uses a molecular representation learning method based on a graph neural network to encode the inner molecular structure graphs of chemical drugs and the inner molecular structure graphs of biological drugs and endogenous proteins respectively, and obtains the inner representation of each drug / endogenous protein; The initial representations of the nodes in the outer interaction graph, i.e., the initial representations of the drugs and endogenous proteins, are set to the corresponding inner representations, and then the dual-view heterogeneous graph encoding module uses a graph neural network suitable for multi-relation heterogeneous graphs to extract the outer representations of the drugs and endogenous proteins from the outer interaction graph; The dual-view fusion prediction module includes an inner layer scorer and an outer layer scorer, which maps the inner layer representation and the outer layer representation to the same space and aligns them by maximizing mutual information. The inner layer scorer and the outer layer scorer respectively use the inner layer representation and the outer layer representation to predict the probability value of a specific type of interaction of the drug combination under the inner layer and the outer layer perspectives; The molecular linear representation of the chemical drug refers to the SMILES expression of the small molecules constituting the drug; the biological drug refers to a protein biological drug, and its molecular linear representation is the amino acid sequence of the protein macromolecule constituting the drug; the molecular linear representation of the endogenous protein refers to the amino acid sequence of the protein macromolecule constituting it; Among them, using the molecular linear representation and the interactions between these molecules, a dual-view isomeric graph with enhanced connectivity of the outer interaction graph and expanded data volume of the inner molecular structure graph is constructed, including: Only the molecular linear representation of a single drug / endogenous protein is used as input, and a molecular structure diagram with attributes is constructed for the drug / endogenous protein molecule as its inner molecular structure diagram; Taking the collected drug-drug, drug-endogenous protein, and endogenous protein-endogenous protein interaction data as input, drugs and endogenous proteins are regarded as a type of node, and different types of interaction relationships between them are regarded as different types of edges. A heterogeneous interaction graph with stronger connectivity than a simple drug interaction graph is constructed as the outer layer interaction graph; Each inner molecular structure graph constructed is mapped to the corresponding node in the outer graph constructed to complete the construction of the dual-view heterogeneous graph.
2. The method according to claim 1, characterized in that Train the constructed model and adjust its hyperparameters to obtain multi-type drug interaction prediction models for chemical drugs and biological drugs, including: The dual-view heterogeneous graph encoding module and the dual-view fusion prediction module are trained end-to-end by gradient descent, so that the output of the dual-view fusion prediction module is close to the true value and consistent. At the same time, the mutual information between the inner layer representation and the outer layer representation is maximized by contrastive learning, so that the molecular structure information extracted from the inner layer is injected into the outer layer representation that is more closely related to the multi-type drug interaction prediction task. Adjust the model hyperparameters, train the model under the optimal parameter settings, and save the outer layer representation of the drug and the network in the dual-view fusion prediction module as the drug interaction prediction model.
3. A device for constructing a drug interaction prediction model, characterized in that: include: A collection module, used for collecting and arranging the molecular linear representations of drugs and endogenous proteins and the interactions between these molecules, wherein the drugs include chemical drugs and biological drugs; A construction module, for constructing a dual-view isomeric graph with enhanced connectivity of an outer-layer interaction graph and expanded data volume of an inner-layer molecular structure graph using the molecular linear representation and the interactions between these molecules; A building module for building a drug interaction prediction model with a dual-view heterogeneous graph as input, the model comprising a dual-view heterogeneous graph characterization module and a dual-view fusion prediction module, the dual-view heterogeneous graph characterization module learns the characterization of drugs and endogenous proteins at each view based on a graph neural network, and then the dual-view fusion prediction module combines the dual views to give a prediction; The training module is used to train the constructed model and adjust its hyperparameters to obtain a multi-type drug interaction prediction model for chemical drugs and biological drugs; Among them, the molecular linear representations of drugs and endogenous proteins and the interactions between these molecules are collected and organized, including: Collect and organize drug IDs and molecular linear representations, drug-drug interaction data, and drug-endogenous protein interaction data from drug information platforms; Converting the ID of the endogenous protein in the drug-endogenous protein interaction data into the ID in the protein database, searching the protein database by ID, and obtaining the molecular linear representation of each endogenous protein and the interaction between these endogenous proteins; The dual-view heterogeneous graph representation module learns the representation of drugs and endogenous proteins at each view based on the graph neural network, and then the dual-view fusion prediction module combines the dual views to give a prediction, including: The dual-view heterogeneous graph encoding module uses a molecular representation learning method based on a graph neural network to encode the inner molecular structure graphs of chemical drugs and the inner molecular structure graphs of biological drugs and endogenous proteins respectively, and obtains the inner representation of each drug / endogenous protein; The initial representations of the nodes in the outer interaction graph, i.e., the initial representations of the drugs and endogenous proteins, are set to the corresponding inner representations, and then the dual-view heterogeneous graph encoding module uses a graph neural network suitable for multi-relation heterogeneous graphs to extract the outer representations of the drugs and endogenous proteins from the outer interaction graph; The dual-view fusion prediction module includes an inner layer scorer and an outer layer scorer, which maps the inner layer representation and the outer layer representation to the same space and aligns them by maximizing mutual information. The inner layer scorer and the outer layer scorer respectively use the inner layer representation and the outer layer representation to predict the probability value of a specific type of interaction of the drug combination under the inner layer and the outer layer perspectives; The molecular linear representation of the chemical drug refers to the SMILES expression of the small molecules constituting the drug; the biological drug refers to a protein biological drug, and its molecular linear representation is the amino acid sequence of the protein macromolecule constituting the drug; the molecular linear representation of the endogenous protein refers to the amino acid sequence of the protein macromolecule constituting it; Among them, using the molecular linear representation and the interactions between these molecules, a dual-view isomeric graph with enhanced connectivity of the outer interaction graph and expanded data volume of the inner molecular structure graph is constructed, including: Only the molecular linear representation of a single drug / endogenous protein is used as input, and a molecular structure diagram with attributes is constructed for the drug / endogenous protein molecule as its inner molecular structure diagram; Taking the collected drug-drug, drug-endogenous protein, and endogenous protein-endogenous protein interaction data as input, drugs and endogenous proteins are regarded as a type of node, and different types of interaction relationships between them are regarded as different types of edges. A heterogeneous interaction graph with stronger connectivity than a simple drug interaction graph is constructed as the outer layer interaction graph; Each inner molecular structure graph constructed is mapped to the corresponding node in the outer graph constructed to complete the construction of the dual-view heterogeneous graph.
4. A drug interaction prediction method, characterized in that: include: The drug combination to be predicted and the drug interaction type to be predicted are input into the drug interaction prediction model of claim 1 to obtain a prediction result.
5. A drug interaction prediction device, characterized in that: include: The prediction module is used to input the drug combination to be predicted and the drug interaction type to be predicted into the drug interaction prediction model of claim 1 to obtain a prediction result.
6. An electronic device, characterized in that: include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1-2 and 4.
