Information delivery method and device based on drug molecule image classification
Through the information push method based on drug molecule image classification, the image classification model and feature distribution sequence are used to match drug characteristics and disease characteristics, which solves the problem of low efficiency of drug molecule structure identification in the existing technology and improves the efficiency of information push in intelligent medical treatment. and accuracy.
Patent Information
- Application Number
- CN202210028280.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-11
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-01-11
AI Technical Summary
The existing information push based on the molecular structure of drugs is inefficient and cannot be suitable for rapid information push in smart medical care, resulting in low efficiency in the use of drug feature matching diseases.
An information push method based on drug molecule image classification is adopted. By obtaining drug molecule structure image data, the trained image classification model is used for classification processing, and positive sample and negative sample data are combined for model training, and graph nodes are mapped during the model training process. The feature matrix is shuffled, the drug molecule feature distribution sequence is analyzed to match the drug feature information and disease feature information, and the matching drug feature combination information and risk information are output.
It improves the use efficiency and accuracy of information push in smart medical care by matching drug features to diseases, realizes the intelligent artificial algorithm to identify drug features, and improves the efficiency and accuracy of information push in smart medical systems.
Smart Images

Figure CN114358202B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent medical technology, and in particular to an information push method and device based on drug molecule image classification. Background Art
[0002] In recent years, the application field of intelligent medical technology has gradually developed from clinical treatment to drug research and development. More and more artificial intelligence technologies are involved in the analysis of the applicability of drugs to different diseases, so as to accurately find drugs suitable for clinical treatment. In particular, the molecular structure of drugs is studied, so as to determine the treatment plan suitable for patients or the treatment of diseases based on the characteristics of drugs and push them to users.
[0003] At present, existing research based on drug molecular structure uses physical experiments to determine drug characteristics, thereby manually identifying symptoms and pushing them. However, the drug molecular structure recognition process is slow, which makes it unsuitable for pushing relevant information in smart medical care, making the use of drug feature-based disease matching in smart medical care less efficient. Therefore, an information push method based on drug molecular image classification is urgently needed to solve the above problems. Summary of the invention
[0004] In view of this, the present invention provides a method and device for information push based on drug molecule image classification, the main purpose of which is to solve the problem of low efficiency of existing information push based on drug molecular structure.
[0005] According to one aspect of the present invention, a method for pushing information based on drug molecule image classification is provided, comprising:
[0006] Obtain drug molecular structure image data of target drugs;
[0007] Classifying the drug molecular structure image data based on the trained image classification model to obtain drug molecular classification results, wherein the image classification model is obtained by constructing positive sample data and negative sample data based on training samples for model training, wherein the negative sample data is used to shuffle the feature matrix of the graph nodes when the network connection structure remains unchanged during the model training process;
[0008] parsing drug characteristic information of the drug molecule classification result based on the drug molecule characteristic distribution sequence, and matching the drug characteristic information with the disease characteristic information of the target disease;
[0009] If the drug characteristic information matches the disease characteristic information of the target disease, the drug characteristic combination information and drug characteristic risk information matching the drug characteristic information are output.
[0010] Furthermore, before the drug molecule structure image data is classified based on the trained image classification model to obtain the drug molecule classification result, the method further includes:
[0011] Obtain drug molecular structure image training sample data and build a graph convolutional network;
[0012] Performing feature perturbation processing on the drug molecular structure image training sample data to obtain drug molecular structure image training sample data as perturbed pseudo features as negative sample data, and using the drug molecular structure image training sample data without feature perturbation processing as positive sample data;
[0013] Data pairs are constructed based on the positive sample data, the negative sample data and the graph nodes respectively, and model training is performed on the graph convolutional network based on the data pairs to obtain an image classification model.
[0014] Furthermore, constructing data pairs based on the positive sample data, the negative sample data and the graph nodes respectively includes:
[0015] Filtering the graph nodes of the drug molecular structure image data according to a preset ratio to obtain the drug molecular structure image data at multiple scales;
[0016] The positive sample data is combined with the graph nodes of the multi-scale drug molecular structure image data to construct a first data pair, and the negative sample data is combined with the graph nodes of the multi-scale graph convolutional neural network to construct a second data pair, wherein the label of the first data pair is 1 and the label of the second data pair is 0.
[0017] Furthermore, before performing model training on the graph convolution network based on the data to obtain the image classification model, the method further includes:
[0018] Constructing a loss function based on the discriminator combined with the number of samples of the positive sample data and the negative sample data;
[0019] The performing model training on the graph convolution network based on the data to obtain an image classification model comprises:
[0020] When a graph convolutional network is trained based on the first data pair and the second data pair, the second data pair shuffles the feature matrix of the graph nodes, and performs learning evaluation on the shuffled graph convolutional network based on the loss function;
[0021] If the learning evaluation meets the preset model training accuracy, the model training of the graph convolutional network is completed to obtain an image classification model.
[0022] Furthermore, before parsing the drug characteristic information of the drug molecule classification result based on the drug molecule characteristic distribution sequence, the method further includes:
[0023] Acquire molecular component data of at least one drug, and construct a drug molecular characteristic distribution sequence of the target drug based on molecular chemical bonds, molecular chemical property information, and disease resistance properties;
[0024] The drug characteristic information of the drug molecule classification result parsed based on the drug molecule characteristic distribution sequence includes:
[0025] The drug molecule classification result is compared with the drug molecule characteristic distribution sequence one by one in terms of molecules and atomic chemical bonds, and the molecular chemical property information with the greatest chemical bond similarity and the drug characteristic information with disease resistance properties as the target drug are determined from the drug molecule characteristic distribution sequence.
[0026] Furthermore, after matching the drug characteristic information with the symptom characteristic information of the target symptom, the method further includes:
[0027] Obtaining a drug knowledge graph, wherein the drug knowledge graph stores associated combination contents of different drug feature information and risk information corresponding to associated combinations between different drug feature information;
[0028] Drug feature combination information and drug feature risk information matching the drug feature information are searched from the drug knowledge graph.
[0029] Furthermore, the method further comprises:
[0030] If the drug characteristic information does not match the disease characteristic information of the target disease, the drug molecule classification result is output to instruct manual matching of the drug molecule classification result.
[0031] According to another aspect of the present invention, there is provided an information push device based on drug molecule image classification, comprising:
[0032] An acquisition module, used to acquire drug molecular structure image data of a target drug;
[0033] A processing module, used to classify the drug molecular structure image data based on a trained image classification model to obtain a drug molecular classification result, wherein the image classification model is obtained by constructing positive sample data and negative sample data based on training samples for model training, wherein the negative sample data is used to shuffle the feature matrix of the graph nodes when the network connection structure remains unchanged during the model training process;
[0034] A parsing module, used for parsing drug characteristic information of the drug molecule classification result based on the drug molecule characteristic distribution sequence, and matching the drug characteristic information with the disease characteristic information of the target disease;
[0035] The output module is used to output the drug characteristic combination information and drug characteristic risk information matching the drug characteristic information if the drug characteristic information matches the symptom characteristic information of the target symptom.
[0036] Furthermore, the device further comprises: a training module,
[0037] The acquisition module is used to acquire drug molecular structure image training sample data and construct a graph convolution network;
[0038] The processing module is used to perform feature perturbation processing on the drug molecular structure image training sample data to obtain drug molecular structure image training sample data as perturbed pseudo features as negative sample data, and to use the drug molecular structure image training sample data without feature perturbation processing as positive sample data;
[0039] The training module is used to construct data pairs based on the positive sample data, the negative sample data and the graph nodes respectively, and perform model training on the graph convolutional network based on the data pairs to obtain an image classification model.
[0040] Furthermore, the building blocks include:
[0041] A screening unit, used for screening the graph nodes of the drug molecular structure image data according to a preset ratio to obtain the drug molecular structure image data at multiple scales;
[0042] A construction unit is used to construct a first data pair by combining the positive sample data with the multi-scale graph nodes of the drug molecular structure image data, and to construct a second data pair by combining the negative sample data with the multi-scale graph nodes of the graph convolutional neural network, wherein the label of the first data pair is 1 and the label of the second data pair is 0.
[0043] Further,
[0044] The construction module is further used to construct a loss function based on the discriminator combined with the number of samples of the positive sample data and the negative sample data;
[0045] The training module comprises:
[0046] A processing unit, configured to, when a graph convolution network is trained based on the first data pair and the second data pair, shuffle the feature matrix of the graph nodes using the second data pair, and perform learning evaluation on the shuffled graph convolution network based on the loss function;
[0047] A training unit is used to complete the model training of the graph convolutional network and obtain an image classification model if the learning evaluation meets the preset model training accuracy.
[0048] Further,
[0049] The acquisition module is further used to acquire molecular component data of at least one drug, and construct a drug molecular characteristic distribution sequence of the target drug based on molecular chemical bonds, molecular chemical property information, and disease resistance properties;
[0050] The analysis module is specifically used to compare the drug molecule classification results with the drug molecule characteristic distribution sequence one by one in terms of molecules and atomic chemical bonds, and determine the molecular chemical property information with the greatest chemical bond similarity and the drug characteristic information whose disease resistance attribute is the target drug from the drug molecule characteristic distribution sequence.
[0051] Furthermore, the device further comprises: a search module,
[0052] The acquisition module is further used to acquire a drug knowledge graph, in which the drug knowledge graph stores the associated combination content of different drug feature information and the risk information corresponding to the associated combination between different drug feature information;
[0053] The search module is used to search for drug feature combination information and drug feature risk information that match the drug feature information from the drug knowledge graph.
[0054] Furthermore, the output module is also used to output the drug molecule classification result if the drug characteristic information does not match the disease characteristic information of the target disease, so as to instruct manual matching of the drug molecule classification result.
[0055] According to another aspect of the present invention, a storage medium is provided, wherein at least one executable instruction is stored in the storage medium, and the executable instruction enables a processor to execute operations corresponding to the above-mentioned information push method based on drug molecule image classification.
[0056] According to another aspect of the present invention, there is provided a computer device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;
[0057] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the above-mentioned information pushing method based on drug molecule image classification.
[0058] By means of the above technical solution, the technical solution provided by the embodiment of the present invention has at least the following advantages:
[0059] The present invention provides an information push method and device based on drug molecule image classification. Compared with the prior art, the embodiment of the present invention obtains drug molecule structure image data of a target drug; classifies the drug molecule structure image data based on a trained image classification model to obtain a drug molecule classification result, wherein the image classification model is obtained by constructing positive sample data and negative sample data based on training samples for model training, wherein the negative sample data is used to shuffle the feature matrix of graph nodes when the network connection structure remains unchanged during the model training process; the drug feature information of the drug molecule classification result is parsed based on a drug molecule feature distribution sequence, and matched based on the drug feature information and the symptom feature information of a target symptom; if the drug feature information matches the symptom feature information of the target symptom, drug feature combination information and drug feature risk information matching the drug feature information are output, thereby achieving the purpose of identifying drug features based on an intelligent artificial algorithm, and pushing information by matching drug features with symptoms, which greatly improves the use efficiency of matching symptoms based on drug features in intelligent medical treatment, thereby improving the efficiency and accuracy of information push in the intelligent medical system.
[0060] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0062] Figure 1 A flow chart of an information push method based on drug molecule image classification provided by an embodiment of the present invention is shown;
[0063] Figure 2 Another flow chart of an information push method based on drug molecule image classification provided by an embodiment of the present invention is shown;
[0064] Figure 3 A schematic diagram of a multi-scale graph convolutional neural network structure provided by an embodiment of the present invention is shown;
[0065] Figure 4A block diagram showing the composition of an information push device based on drug molecule image classification provided by an embodiment of the present invention;
[0066] Figure 5 A schematic structural diagram of a computer device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0067] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0068] The embodiments of the present invention can acquire and process relevant data based on artificial intelligence technology. Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0069] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0070] Based on this, in one embodiment, Figure 1 As shown, a method for pushing information based on drug molecule image classification is provided, and the method is applied to a computer device such as a server as an example for explanation, wherein the server can be an independent server, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and basic cloud computing services such as big data and artificial intelligence platforms, such as intelligent medical systems, digital medical platforms, etc. The above method includes the following steps:
[0071] 101. Obtain drug molecular structure image data of the target drug.
[0072] In an embodiment of the present invention, the execution subject may be an intelligent management system with an information push function, such as an intelligent medical system, a data medical platform, etc. Exemplarily, the current execution subject is an intelligent medical system, the target drug is a drug suitable for pushing relevant information to be matched with drug features, and correspondingly, the drug molecular structure image data of the target drug is a molecule of the target drug represented by a graph structure, wherein the image content in the drug molecular structure image data is the atomic-chemical bond structure of the target drug molecule, and the feature content of the molecular structure such as the spatial feature, atomic number, charge number, etc. in the form of nodes and edges can be abstracted from the image content, so that a classification implementation method for the drug molecular structure can be obtained based on the classification of the image data, that is, through the graph neural network, the local relationship of the graph can be captured by transmitting specific information such as nodes and edges, and the graph attributes can be automatically learned, so as to efficiently perform the graph classification task.
[0073] It should be noted that the drug molecular structure image data in the embodiment of the present invention is obtained by loading the drug molecular structure image data of the target drug generated by the intelligent medical system as the current execution subject based on the computer software for making molecular structure diagrams. At this time, the operator can obtain the drug molecular structure image data matching the target drug based on the drug database already stored in the current intelligent medical system, or can make it through a molecular structure making application and obtain it in a specified file format in the intelligent medical system. The embodiment of the present invention does not make specific limitations.
[0074] 102. Classify the drug molecule structure image data based on the trained image classification model to obtain a drug molecule classification result.
[0075] In the embodiment of the present invention, since the graph neural network is a branch of deep learning on graph structure data, the graph network structure corresponding to the image data to be classified by the graph neural network includes graph nodes and edges, wherein the graph nodes include entity information, such as atoms in a compound, and the edges include relationship information between entities, such as chemical bonds between atoms in the compound image data. In order to classify the drug molecular structure image data and obtain the drug molecular classification results to match the drug characteristic information, model training is performed in advance to obtain an image classification model to classify the drug molecular structure image data and obtain the drug molecular classification results. Among them, since the drug molecular structure image data is classified by the graph neural network, the corresponding drug molecular classification results are classification results representing different atom-chemical bonds, so as to determine the drug molecular characteristics based on the drug molecular classification results.
[0076] It should be noted that in order to improve the model processing accuracy of the image classification model, and for the inability to obtain a large amount of labeled data, such as it is difficult to obtain a large amount of molecular data, therefore, in the embodiment of the present invention, positive and negative sample data are constructed as training samples for supervised learning, and the potential features and information in the sample data are effectively learned. Among them, in self-supervised learning, self-supervised comparative learning is that for any two data points, if the more similar, that is, they belong to the same class, the closer their graph representation will be. Therefore, the embodiment of the present invention constructs different samples from the sample data as model input parameters, that is, by guiding the pre-trained model to distinguish the positive and negative sample data in the implicit representation space to learn the features in the input data. When constructing positive and negative sample data from the input data, let the pre-trained model distinguish the positive and negative sample data in the implicit representation space, and by constructing a pre-training task from the unlabeled input data, that is, a supervisory signal, the purpose of strong generalization ability and accurate comparison is achieved. Therefore, the image classification model is obtained by constructing positive sample data and negative sample data based on the training samples for model training. Specifically, the negative sample data is used to shuffle the feature matrix of the graph nodes when the network connection structure remains unchanged during the model training process. That is, the role of the negative sample data is to keep the image network connection structure in the image data unchanged, and shuffle the feature matrix of the node by row, so that the pre-trained model can distinguish the positive and negative sample data in the implicit representation space to improve the learning accuracy of the features. For example, the original 5 nodes, each node has 32-dimensional features, and the original row numbers 1, 2, 3, 4, 5 are shuffled to 3, 5, 4, 2, 1. At this time, although the topological structure of the network has not changed, the characteristics of the node at each position have changed, thereby constructing a negative sample after the node attributes are destroyed.
[0077] 103. Parse drug characteristic information of the drug molecule classification result based on the drug molecule characteristic distribution sequence, and match the drug characteristic information with the disease characteristic information of the target disease.
[0078] In the embodiment of the present invention, in order to achieve standard unified feature matching and automatically simplify the experimental operation of complex artificial feature matching, the drug feature information corresponding to the drug molecule classification result is parsed based on the drug molecule feature distribution sequence to match the disease feature of the target disease. Wherein, the drug molecule feature distribution sequence stores the correspondence between different atoms-chemical bonds corresponding to the molecular component data containing different molecular chemical bonds, molecular chemical property information, and disease antagonism attributes, so that the corresponding molecular chemical bonds, molecular chemical property information, and disease antagonism attributes can be matched from the drug molecule feature distribution sequence based on the drug molecule classification result obtained in step 102 as drug feature information. For example, the drug molecule classification result includes a atom-chemical bond 1, d atom-chemical bond 3, and h atom-chemical bond 3. Based on the drug molecule feature distribution sequence, the molecular chemical bonds, molecular chemical property information, and disease antagonism attributes corresponding to a atom-chemical bond 1, d atom-chemical bond 3, and h atom-chemical bond 3 are parsed, wherein the disease antagonism attribute is a known target drug molecule that has antagonism with the disease, such as whether it has antagonism to lung fibroblasts, so as to be used as a therapeutic drug for lung cancer.
[0079] In addition, after determining the drug characteristic information, since the drug characteristic information includes molecular chemical bonds, molecular chemical property information, and disease antagonism attributes, in order to realize intelligent information push, the drug characteristic information that has been matched is matched with the disease characteristic information of the target disease. Among them, the target disease is a disease that needs to be paired with the target drug to determine whether it has antagonism. The antagonism in the embodiment of the present invention is whether the drug has the function of treating the disease. Therefore, in order to realize intelligent information push of drugs and diseases, the obtained drug characteristic information can be matched with the disease characteristic information of at least one target disease. The current intelligent medical system can directly obtain the disease characteristic information entered by the operator (such as a doctor or a medical researcher). At this time, the disease characteristic information includes but is not limited to the different biological or chemical characteristic contents produced by the disease on the human body. For example, if the disease characteristic information is a white blood cell value higher than a, it is matched with the molecular chemical bond, the molecular chemical property information, and the disease antagonism attribute.
[0080] 104. If the drug characteristic information matches the symptom characteristic information of the target symptom, output drug characteristic combination information and drug characteristic risk information that match the drug characteristic information.
[0081] In the embodiment of the present invention, if the drug characteristic information matches the disease characteristic information, it means that the target drug and the target disease are antagonistic, and this drug can be used to treat this disease. Therefore, by outputting the drug characteristic combination information and drug characteristic risk information that match the drug characteristic information, the drug characteristic combination information is the characteristic information of other drugs that can be used in combination with the target drug, and the drug characteristic risk information is the human body use risk content generated by the molecular chemical bonds, molecular chemical property information, and disease antagonistic properties of the target drug, thereby realizing the intelligent information push of the intelligent medical system.
[0082] In one embodiment of the present invention, in order to further define and illustrate, as Figure 2 As shown, step 101 classifies the drug molecular structure image data based on the trained image classification model, and before obtaining the drug molecular classification result, the method further includes:
[0083] 201. Obtain drug molecular structure image training sample data and construct a graph convolutional network;
[0084] 202. Performing feature perturbation processing on the drug molecular structure image training sample data to obtain drug molecular structure image training sample data as perturbed pseudo features as negative sample data, and using the drug molecular structure image training sample data without feature perturbation processing as positive sample data;
[0085] 203. Construct data pairs based on the positive sample data, the negative sample data and the graph nodes respectively, and perform model training on the graph convolution network based on the data pairs to obtain an image classification model.
[0086] In the embodiment of the present invention, in order to classify the image data, a graph convolution network is constructed for the specific image data, and training samples for training the graph convolution network are obtained, namely, drug molecular structure image training sample data. Wherein, both the positive sample data and the negative sample data are constructed based on the drug molecular structure image training sample data. Specifically, since the data pair of the negative sample data is to shuffle the feature matrix of the graph node when the network connection structure remains unchanged, that is, the drug molecular structure image training sample data is subjected to feature perturbation processing, and the drug molecular structure image training sample data as a perturbed pseudo feature is obtained as the negative sample data. For example, the negative sample data is to shuffle the feature matrix of the graph node in the drug molecular structure image training sample data by row to keep the network connection structure of the graph unchanged. For example, the original 5 nodes, each node has 32-dimensional features, and the original row numbers of 1, 2, 3, 4, and 5 are shuffled to 3, 5, 4, 2, and 1. At this time, although the topological structure of the network has not changed, the features of the nodes at each position have changed, thereby constructing a negative sample after the node attribute is destroyed. Correspondingly, the positive sample data is the drug molecular structure image training sample data without feature disturbance processing directly used as the positive sample data. At this time, the sum of the number of positive sample data and the number of negative sample data is used as the number of training sample data. For example, the number of positive sample data is M, and the number of negative sample data is N, then M+N is equal to the total number of samples of the drug molecular structure image training sample data. In the embodiment of the present invention, N and M are not specifically limited.
[0087] It should be noted that in order to improve the accuracy of the graph convolution network's feature comparison, on the basis of the node-global graph comparison, the nodes are discarded in a certain proportion through the pooling method to construct a multi-scale graph convolution network. For example, the original 1000-node graph is formed by forming image data of different scales in the proportion of 0.9, 0.8, and 0.7, so that the node-full graph comparison learning target can be constructed at different scales. At this time, the image data of multiple scales represent the information of the full graph of different granularities, and a richer comparison learning effect can be obtained. Among them, each time the data is pooled, the amount of data is reduced once, and the image data is extracted layer by layer by reducing the number of nodes. After pooling, the nodes that the network considers useful are retained, thereby improving the effect of feature comparison. At this time, in an embodiment of the present invention, the number of nodes is reduced by constructing data pairs, that is, data pairs are constructed based on positive sample data, negative sample data, and graph nodes, respectively, so as to train the graph convolution network model based on the data pairs to obtain an image classification model.
[0088] In one embodiment of the present invention, for further limitation and explanation, step 203 constructs data pairs based on the positive sample data, the negative sample data and the graph nodes respectively, including: screening the graph nodes of the drug molecular structure image data according to a preset ratio to obtain multi-scale drug molecular structure image data; combining the positive sample data with the multi-scale graph nodes of the drug molecular structure image data to construct a first data pair, and combining the negative sample data with the multi-scale graph nodes of the graph convolutional neural network to construct a second data pair, wherein the label of the first data pair is 1, and the label of the second data pair is 0.
[0089] Specifically, the data pair is expressed as: a certain node-the whole graph. Therefore, the label of the first data pair is 1, which represents the data pair composed of the node in the original image data and the image data. When the node order is disturbed, the features corresponding to different nodes are no longer the original features. For example, the feature X1 of node 1 may be the feature X5 of the original node 5, and the feature of node 5 may be the feature X9 of node 9. In the image data after the node order is disturbed, the data pair composed of any perturbed node and the original full image data is a negative sample, that is, the label of its second data pair is 0. In order to screen the graph nodes of the drug molecular structure image data according to the preset ratio, multi-scale drug molecular structure image data is obtained, wherein the preset ratio screening is to screen the graph nodes of the drug molecular structure image data by discarding the nodes according to the preset ratio. The comparative learning of the graph nodes and the full image data of different granularities can be constructed to form rich multi-scale data pairs.
[0090] In one embodiment of the present invention, in order to further limit and illustrate, before step 204 performs model training on the graph convolution network based on the data to obtain the image classification model, the method also includes: constructing a loss function based on the discriminator combined with the number of samples of the positive sample data and the negative sample data.
[0091] Since the main process of model learning of graph convolutional neural networks is to aggregate and update the neighbor information of graph nodes in image data through iteration, in one iteration, each graph node updates its own information by aggregating the features of neighbor nodes and its own features in the previous layer. Usually, the aggregated information is also nonlinearly transformed, and by stacking multiple layers of networks, each graph node can obtain the neighbor node information within the corresponding number of hops. At this time, the loss function is constructed based on the discriminator combined with the number of samples of positive sample data and negative sample data, and the model training is discriminated in turn. Specifically, the loss function is:
[0092]
[0093] Among them, s is the summary representation of the whole image obtained from the feature implicit representation of the original image data using the reading function. The mean calculation method is adopted here, that is, the feature representation of all nodes is averaged as the feature representation of the whole image summary, that is, s, N and M represent the number of positive sample data and negative sample data respectively, preferably N=M, h represents the hidden layer embedding of the current graph node, that is, the feature vector of the graph node, such as a 768-dimensional vector, and D is a discriminator, which is used to use the global representation to perform model training and scoring for positive sample data and negative sample data respectively, and learn the representation vector of image data by giving the positive sample data as high a score as possible and giving the negative sample data a low score.
[0094] In addition, since s represents the embedding of the full image data composed of all graph nodes, that is, the average feature vector of the full image data, if there are 100 graph nodes, s is the average 768-dimensional vector of the 100 graph nodes, the feature information of the standard full image data; X represents the feature vector of the graph node, such as in the scenario of a molecular graph, for a molecular graph composed of multiple atomic nodes and chemical bonds as edges, X represents the features of the atomic nodes, and A represents the adjacency matrix of the image data, that is, which graph nodes are connected and which graph nodes are not connected, so as to characterize the topological information of the image data. As shown in Table 1 below, X represents the feature vector of the graph node. For example, in the scenario of a molecular graph, for a molecular graph composed of multiple atomic nodes and chemical bonds as edges, x represents the features of the atomic nodes, including the following features, etc.
[0095] Table 1: Initial feature vectors of atomic nodes
[0096]
[0097]
[0098] Correspondingly, step 204 performs model training on the graph convolution network based on the data pair to obtain an image classification model, including: when the graph convolution network is trained based on the first data pair and the second data pair, the second data pair scrambles the feature matrix of the graph nodes, and performs learning evaluation on the scrambled graph convolution network based on the loss function; if the learning evaluation meets the preset model training accuracy, the model training of the graph convolution network is completed to obtain the image classification model.
[0099] As a model training process for graph convolutional networks, specifically:
[0100] 1. Using the original drug molecular structure image training samples, apply a feature perturbation process to each sample to obtain the perturbed fake image sample corresponding to each image data sample. The data pair formed by each original image node and the original full image data is labeled as 1, which is the first data pair of positive sample data. The data pair formed by each original image node and the perturbed fake image data is labeled as 0, which is the second data pair of negative sample data.
[0101] 2. By discarding nodes in proportion, we construct image data of multiple scales, build comparative learning between graph nodes and full image data of different granularities, and form rich multi-scale data pairs;
[0102] 3. During the training process, randomly extract a certain size batch of processed sample data, which will contain data pairs corresponding to positive sample data and negative sample data, and input them into the graph convolutional neural network for comparative learning and training to identify positive and negative. The training learning goal of the graph neural network is to let the model learn to distinguish whether a data pair is the original graph node-full image data, or the graph node-perturbed full image data after feature perturbation, so as to learn to understand and express graph data;
[0103] 4. Based on the loss function, determine whether the model training of the graph convolutional neural network is iteratively completed, so as to complete the training process and obtain the image classification model, that is, the learning evaluation meets the preset model training accuracy.
[0104] It should be noted that if Figure 3 As shown in the figure, the steps of representing image data are as follows: 1. First, perform the aggregation operation (aggregate) on the features or randomly initialized entity variable features, that is, aggregate the information of neighboring graph nodes to the current graph node, and then operate on its own information and aggregated information to update its own features; 2. Each graph node learns its own features and information from other graph nodes. For a molecular graph, a molecule is an image data. Molecular graph expression learning will accumulate or perform other summation operations on the features of all graph nodes to obtain the vector features of the entire molecular graph.
[0105] In one embodiment of the present invention, for further limitation and explanation, before step 103 parses the drug characteristic information of the drug molecule classification result based on the drug molecular characteristic distribution sequence, the method also includes: obtaining molecular component data of at least one drug, and constructing a drug molecular characteristic distribution sequence of the target drug based on molecular chemical bonds, molecular chemical property information, and disease antagonism properties.
[0106] In order to push information effectively and accurately based on the obtained drug molecule classification results, it is necessary to construct a drug molecule feature distribution sequence before parsing the drug features based on the drug molecule feature distribution sequence. Among them, the molecular component data of at least one drug is obtained. At this time, since it is to establish a drug molecule feature distribution sequence, the molecular component data obtained only includes molecular chemical bonds, molecular chemical property information, and disease antagonism data, so as to construct a drug molecule feature distribution sequence of at least one drug. Among them, the molecular chemical bonds are the chemical bonds of all atoms in the drug molecules, and the molecular chemical property information is the chemical properties corresponding to the unique molecular composition structure, such as the chemical properties corresponding to the phenol ring, the chemical properties corresponding to the benzyl group, etc. The disease antagonism attribute is the attribute of whether there is a medical effect such as treatment or relief between different drug molecules and different diseases. For example, drug molecule s has a relieving effect on the blood viscosity of hypertensive patients, that is, it has antagonism.
[0107] It should be noted that, since the embodiment of the present invention is to push relevant information about the target drug, and the target drug is most likely not tested or requires long-term experiments for verification, and at least one drug in the constructed drug molecular characteristic distribution sequence is a verified drug, therefore, the embodiment of the present invention is based on the drug molecular characteristic distribution sequence of the analyzed molecular composition data and the drug molecule classification result to obtain drug characteristic information.
[0108] Correspondingly, step 103 parses the drug characteristic information of the drug molecule classification result based on the drug molecule characteristic distribution sequence, including: comparing the drug molecule classification result with the drug molecule characteristic distribution sequence for molecules and atoms one by one, and determining the molecular chemical property information with the greatest chemical bond similarity and the drug characteristic information of the target drug with disease antagonism properties from the drug molecule characteristic distribution sequence.
[0109] In order to compare the specific drug molecule characteristic distribution sequence with the drug molecule classification result, and because the drug molecule classification result is the classification result representing different atom-chemical bonds, the information classification of the chemical bonds is compared one by one, and the similarity is calculated, so that the molecular chemical property information and disease antagonism attribute corresponding to the maximum similarity value in the drug molecule characteristic distribution sequence are taken as the drug characteristic information of the target drug.
[0110] In one embodiment of the present invention, in order to further limit and illustrate, after the step of matching the drug feature information with the disease feature information of the target disease, the method also includes: obtaining a drug knowledge graph; and searching for drug feature combination information and drug feature risk information matching the drug feature information from the drug knowledge graph.
[0111] In order to be a fast and intelligent medical information recommendation method, after determining that the drug feature information matches the disease feature information of the target disease, it is indicated that the target drug and the target disease are antagonistic, that is, the target drug has a therapeutic or inhibitory, alleviating effect on the treatment of the target disease. Therefore, in order to improve the information processing efficiency of the operator, a drug knowledge graph is obtained to obtain drug feature combination information and drug feature risk information that match the drug feature information. Among them, the drug knowledge graph stores the associated combination content of different drug feature information and the risk information corresponding to the associated combination between different drug feature information. The drug feature combination information is the feature information of other drugs that can be used in combination with the target drug. For example, the feature information of drug 1 is s, and the feature information of drug 2 is e. After the combination, the feature information of drug 1 and drug 2 can be s+e or f; the drug feature risk information is the human use risk content generated by the molecular chemical bond, molecular chemical property information, and disease antagonistic attribute of the target drug. For example, for the chemical property information d in drug 2, the risk content used is erythropenia, etc., which is not specifically limited in the embodiment of the present invention.
[0112] It should be noted that in order to improve the matching efficiency, the current intelligent medical system pre-stores or generates drug feature combination information and drug feature risk information corresponding to different drugs so that in the current embodiment of the present invention, the drug knowledge graph can be directly retrieved to match the drug feature combination information and drug feature risk information.
[0113] In one embodiment of the present invention, for further limitation and explanation, the method further includes: if the drug characteristic information does not match the disease characteristic information of the target disease, outputting the drug molecule classification result to indicate manual matching of the drug molecule classification result.
[0114] In a specific real-time scenario, in order to avoid the mismatch between drug characteristic information and disease characteristic information of the target disease, the operator can still obtain the drug molecule classification results. When there is a mismatch, the drug molecule classification results are directly output for manual experiments or matching. For example, the drug molecule classification results containing chemical molecular bonds are directly displayed. The embodiment of the present invention does not make specific limitations.
[0115] The embodiment of the present invention provides an information push method based on drug molecule image classification. Compared with the prior art, the embodiment of the present invention obtains drug molecule structure image data of a target drug; classifies the drug molecule structure image data based on a trained image classification model to obtain a drug molecule classification result, wherein the image classification model is obtained by constructing positive sample data and negative sample data based on training samples for model training, wherein the negative sample data is used to shuffle the feature matrix of the graph node when the network connection structure remains unchanged during the model training process; the drug feature information of the drug molecule classification result is parsed based on the drug molecule feature distribution sequence, and the drug feature information is matched with the symptom feature information of the target symptom; if the drug feature information matches the symptom feature information of the target symptom, the drug feature combination information and drug feature risk information matching the drug feature information are output, thereby achieving the purpose of identifying drug features based on an intelligent artificial algorithm, and pushing information by matching drug features with symptoms, which greatly improves the use efficiency of matching symptoms based on drug features in intelligent medical treatment, thereby improving the efficiency and accuracy of information push in the intelligent medical system.
[0116] Furthermore, as a response to the above Figure 1 The implementation of the method shown in the figure, the embodiment of the present invention provides an information push device based on drug molecule image classification, such as Figure 4 As shown, the device comprises:
[0117] An acquisition module 31 is used to acquire drug molecular structure image data of a target drug;
[0118] A processing module 32 is used to classify the drug molecular structure image data based on a trained image classification model to obtain a drug molecular classification result, wherein the image classification model is obtained by constructing positive sample data and negative sample data based on training samples for model training, wherein the negative sample data is used to shuffle the feature matrix of the graph nodes when the network connection structure remains unchanged during the model training process;
[0119] A parsing module 33, for parsing drug characteristic information of the drug molecule classification result based on the drug molecule characteristic distribution sequence, and matching the drug characteristic information with the disease characteristic information of the target disease;
[0120] The output module 34 is used to output the drug characteristic combination information and drug characteristic risk information matching the drug characteristic information if the drug characteristic information matches the symptom characteristic information of the target symptom.
[0121] Furthermore, the device further comprises: a training module,
[0122] The acquisition module is used to acquire drug molecular structure image training sample data and construct a graph convolution network;
[0123] The processing module is used to perform feature perturbation processing on the drug molecular structure image training sample data to obtain drug molecular structure image training sample data as perturbed pseudo features as negative sample data, and to use the drug molecular structure image training sample data without feature perturbation processing as positive sample data;
[0124] The training module is used to construct data pairs based on the positive sample data, the negative sample data and the graph nodes respectively, and perform model training on the graph convolution network based on the data pairs to obtain an image classification model, wherein the data pairs of the negative sample data shuffle the feature matrix of the graph nodes when the network connection structure remains unchanged.
[0125] Furthermore, the building blocks include:
[0126] A screening unit, used for screening the graph nodes of the drug molecular structure image data according to a preset ratio to obtain the drug molecular structure image data at multiple scales;
[0127] A construction unit is used to construct a first data pair by combining the positive sample data with the multi-scale graph nodes of the drug molecular structure image data, and to construct a second data pair by combining the negative sample data with the multi-scale graph nodes of the graph convolutional neural network, wherein the label of the first data pair is 1 and the label of the second data pair is 0.
[0128] Further,
[0129] The construction module is further used to construct a loss function based on the discriminator combined with the number of samples of the positive sample data and the negative sample data;
[0130] The training module comprises:
[0131] A processing unit, configured to, when a graph convolution network is trained based on the first data pair and the second data pair, shuffle the feature matrix of the graph nodes using the second data pair, and perform learning evaluation on the shuffled graph convolution network based on the loss function;
[0132] A training unit is used to complete the model training of the graph convolutional network and obtain an image classification model if the learning evaluation meets the preset model training accuracy.
[0133] Further,
[0134] The acquisition module is further used to acquire molecular component data of at least one drug, and construct a drug molecular characteristic distribution sequence of the target drug based on molecular chemical bonds, molecular chemical property information, and disease resistance properties;
[0135] The analysis module is specifically used to compare the drug molecule classification results with the drug molecule characteristic distribution sequence one by one in terms of molecules and atomic chemical bonds, and determine the molecular chemical property information with the greatest chemical bond similarity and the drug characteristic information whose disease resistance attribute is the target drug from the drug molecule characteristic distribution sequence.
[0136] Furthermore, the device further comprises: a search module,
[0137] The acquisition module is further used to acquire a drug knowledge graph, in which the drug knowledge graph stores the associated combination content of different drug feature information and the risk information corresponding to the associated combination between different drug feature information;
[0138] The search module is used to search for drug feature combination information and drug feature risk information that match the drug feature information from the drug knowledge graph.
[0139] Furthermore, the output module is also used to output the drug molecule classification result if the drug characteristic information does not match the disease characteristic information of the target disease, so as to instruct manual matching of the drug molecule classification result.
[0140] The embodiment of the present invention provides an information push device based on drug molecule image classification. Compared with the prior art, the embodiment of the present invention obtains drug molecule structure image data of a target drug; classifies the drug molecule structure image data based on a trained image classification model to obtain a drug molecule classification result, wherein the image classification model is obtained by constructing positive sample data and negative sample data based on training samples for model training, wherein the negative sample data is used to shuffle the feature matrix of the graph node when the network connection structure remains unchanged during the model training process; the drug feature information of the drug molecule classification result is parsed based on the drug molecule feature distribution sequence, and the drug feature information is matched with the symptom feature information of the target symptom; if the drug feature information matches the symptom feature information of the target symptom, the drug feature combination information and drug feature risk information matching the drug feature information are output, thereby achieving the purpose of identifying drug features based on an intelligent artificial algorithm, and pushing information by matching drug features with symptoms, which greatly improves the use efficiency of matching symptoms based on drug features in intelligent medical treatment, thereby improving the efficiency and accuracy of information push in the intelligent medical system.
[0141] According to one embodiment of the present invention, a storage medium is provided, wherein the storage medium stores at least one executable instruction, and the computer executable instruction can execute the information push method based on drug molecule image classification in any of the above method embodiments.
[0142] Figure 5 A schematic diagram of the structure of a computer device provided according to an embodiment of the present invention is shown. The specific embodiment of the present invention does not limit the specific implementation of the computer device.
[0143] like Figure 5 As shown, the computer device may include: a processor (processor) 402 , a communication interface (Communications Interface) 404 , a memory (memory) 406 , and a communication bus 408 .
[0144] The processor 402 , the communication interface 404 , and the memory 406 communicate with each other via a communication bus 408 .
[0145] The communication interface 404 is used to communicate with other devices such as clients or other servers.
[0146] The processor 402 is used to execute the program 410, and specifically can execute the relevant steps in the above-mentioned information push method embodiment based on drug molecule image classification.
[0147] Specifically, the program 410 may include program codes, which include computer operation instructions.
[0148] The processor 402 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the computer device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0149] The memory 406 is used to store the program 410. The memory 406 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0150] The program 410 may be specifically configured to enable the processor 402 to perform the following operations:
[0151] Obtain drug molecular structure image data of target drugs;
[0152] Classifying the drug molecular structure image data based on the trained image classification model to obtain drug molecular classification results, wherein the image classification model is obtained by constructing positive sample data and negative sample data based on training samples for model training, wherein the negative sample data is used to shuffle the feature matrix of the graph nodes when the network connection structure remains unchanged during the model training process;
[0153] parsing drug characteristic information of the drug molecule classification result based on the drug molecule characteristic distribution sequence, and matching the drug characteristic information with the disease characteristic information of the target disease;
[0154] If the drug characteristic information matches the disease characteristic information of the target disease, the drug characteristic combination information and drug characteristic risk information matching the drug characteristic information are output.
[0155] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0156] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for pushing information based on drug molecule image classification, characterized in that: include: Obtain drug molecular structure image data of target drugs; Classifying the drug molecular structure image data based on the trained image classification model to obtain drug molecular classification results, wherein the image classification model is a graph convolutional network obtained by model training based on positive sample data and negative sample data constructed based on training samples, wherein the negative sample data is used to shuffle the feature matrix of the graph nodes when the network connection structure remains unchanged during the model training process, and the shuffling process is to shuffle the feature matrix of the graph nodes by row; parsing drug characteristic information of the drug molecule classification result based on the drug molecule characteristic distribution sequence, and matching the drug characteristic information with the disease characteristic information of the target disease; If the drug characteristic information matches the symptom characteristic information of the target symptom, then outputting drug characteristic combination information and drug characteristic risk information matching the drug characteristic information; Wherein, after matching the drug characteristic information with the symptom characteristic information of the target symptom, the method further includes: Obtaining a drug knowledge graph, wherein the drug knowledge graph stores associated combination contents of different drug feature information and risk information corresponding to associated combinations between different drug feature information; Searching for drug feature combination information and drug feature risk information matching the drug feature information from the drug knowledge graph; Before parsing the drug characteristic information of the drug molecule classification result based on the drug molecule characteristic distribution sequence, the method further includes: Acquire molecular component data of at least one drug, and construct a drug molecular characteristic distribution sequence of the target drug based on molecular chemical bonds, molecular chemical property information, and disease resistance properties; The drug characteristic information of the drug molecule classification result parsed based on the drug molecule characteristic distribution sequence includes: The drug molecule classification result is compared with the drug molecule characteristic distribution sequence one by one in terms of molecules and atomic chemical bonds, and the molecular chemical property information with the greatest chemical bond similarity and the drug characteristic information with disease resistance properties as the target drug are determined from the drug molecule characteristic distribution sequence.
2. The method according to claim 1, characterized in that Before classifying the drug molecule structure image data based on the trained image classification model to obtain the drug molecule classification result, the method further includes: Obtain drug molecular structure image training sample data and build a graph convolutional network; Performing feature perturbation processing on the drug molecular structure image training sample data to obtain drug molecular structure image training sample data as perturbed pseudo features as negative sample data, and using the drug molecular structure image training sample data without feature perturbation processing as positive sample data; Data pairs are constructed based on the positive sample data, the negative sample data and the graph nodes respectively, and model training is performed on the graph convolutional network based on the data pairs to obtain an image classification model.
3. The method according to claim 2, characterized in that The constructing data pairs based on the positive sample data, the negative sample data and the graph nodes respectively comprises: Filtering the graph nodes of the drug molecular structure image data according to a preset ratio to obtain the drug molecular structure image data at multiple scales; The positive sample data is combined with the graph nodes of the multi-scale drug molecular structure image data to construct a first data pair, and the negative sample data is combined with the graph nodes of the multi-scale graph convolutional network to construct a second data pair, wherein the label of the first data pair is 1 and the label of the second data pair is 0.
4. The method according to claim 3, characterized in that Before performing model training on the graph convolution network based on the data to obtain an image classification model, the method further includes: Constructing a loss function based on the discriminator combined with the number of samples of the positive sample data and the negative sample data; The performing model training on the graph convolution network based on the data to obtain an image classification model comprises: When a graph convolutional network is trained based on the first data pair and the second data pair, the second data pair shuffles the feature matrix of the graph nodes, and performs learning evaluation on the shuffled graph convolutional network based on the loss function; If the learning evaluation meets the preset model training accuracy, the model training of the graph convolutional network is completed to obtain an image classification model.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: If the drug characteristic information does not match the disease characteristic information of the target disease, the drug molecule classification result is output to instruct manual matching of the drug molecule classification result.
6. An information push device based on drug molecule image classification, characterized in that: include: An acquisition module, used to acquire drug molecular structure image data of a target drug; A processing module, used to classify the drug molecular structure image data based on a trained image classification model to obtain a drug molecule classification result, wherein the image classification model is a graph convolutional network obtained by model training based on positive sample data and negative sample data constructed based on training samples, wherein the negative sample data is used to shuffle the feature matrix of the graph nodes when the network connection structure remains unchanged during the model training process, and the shuffling process is to shuffle the feature matrix of the graph nodes by row; A matching module, used for parsing drug characteristic information of the drug molecule classification result based on the drug molecule characteristic distribution sequence, and matching the drug characteristic information with the disease characteristic information of the target disease; an output module, for outputting drug characteristic combination information and drug characteristic risk information matching the drug characteristic information if the drug characteristic information matches the symptom characteristic information of the target symptom; The device further comprises: a search module, The acquisition module is further used to acquire a drug knowledge graph, in which the drug knowledge graph stores the associated combination content of different drug feature information and the risk information corresponding to the associated combination between different drug feature information; The search module is used to search for drug feature combination information and drug feature risk information matching the drug feature information from the drug knowledge graph. The acquisition module is further used to acquire molecular component data of at least one drug, and construct a drug molecular characteristic distribution sequence of the target drug based on molecular chemical bonds, molecular chemical property information, and disease resistance properties; The analysis module is specifically used to compare the drug molecule classification results with the drug molecule characteristic distribution sequence one by one in terms of molecules and atomic chemical bonds, and determine the molecular chemical property information with the greatest chemical bond similarity and the drug characteristic information whose disease resistance attribute is the target drug from the drug molecule characteristic distribution sequence.
7. A storage medium storing at least one executable instruction, wherein the executable instruction enables a processor to execute operations corresponding to the information push method based on drug molecule image classification as described in any one of claims 1 to 5.
8. A computer device comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations corresponding to the information pushing method based on drug molecule image classification as described in any one of claims 1-5.
Citation Information
Patent Citations
Method and device for predicting medicine new indication
CN109935341A
Drug classification method and device, terminal equipment and storage medium
CN111933225A
Directional molecule generation method based on graph neural network
CN113140267A
Drug small molecule property prediction method, device and equipment based on graph neural network
CN113707236A
Machine learning-based drug recommendation method, device, equipment and medium
CN113707264A
