A method for predicting the efficacy of traditional Chinese medicine based on multi-task deep neural network
By constructing a multi-task deep neural network model, using the medicinal material library and the meridian tropism information of nature and flavor, the efficacy of Chinese medicinal materials is predicted, which solves the problem in the existing technology of failing to effectively consider the meridian tropism characteristics of medicinal materials and ignoring the relationship between efficacy, and improves the efficiency of traditional Chinese medicine. Accuracy and efficiency of traditional Chinese medicine efficacy prediction.
Patent Information
- Application Number
- CN202010141041.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-03-03
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-03-03
AI Technical Summary
Existing technology fails to effectively consider the meridional properties of medicinal materials in the development of traditional Chinese medicine, and single-task learning ignores the connection between efficacy, resulting in low efficiency in predicting the efficacy of traditional Chinese medicine and difficulty in integrating into clinical practice.
A multi-task deep neural network model was constructed based on the property and flavor meridian tropism information of 1,249 medicinal materials. Through the medicinal material library, efficacy matrix and property and flavor meridian tropism binary matrix, a prediction model was established to predict the possible efficacy of the medicinal materials.
It improves the accuracy and efficiency of predicting the efficacy of traditional Chinese medicine, takes into account the influence of the nature and flavor of medicinal materials on the efficacy, discovers the relationship between the efficacy of medicinal materials, and improves the pace of research and development of traditional Chinese medicine.
Smart Images

Figure CN111383740B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer-aided drug design, and in particular to a method for predicting the efficacy of traditional Chinese medicine based on a multi-task deep neural network. Background Art
[0002] Currently, it costs an average of more than $1 billion and takes more than a decade to successfully develop a new drug. Unfortunately, despite the annual increase in R&D investment, the output of new drugs (the number of new drugs launched) has been declining over the past 20 years, causing the global pharmaceutical industry to face tremendous pressure and even putting some giant companies on the verge of bankruptcy.
[0003] Traditional Chinese medicine is an important resource treasure house for all mankind. Its development will inevitably promote the development of the entire human pharmaceutical industry and help global drug research and development get out of the current predicament. In recent years, due to the low R&D cost, the new use of old drugs as a new strategy for drug development has received more and more attention, and a large number of new indications have been born, which has greatly accelerated the pace of new drug research and development. Efficacy is a summary of the clinical treatment of traditional Chinese medicine under the guidance of traditional Chinese medicine theory, which reflects the basic characteristics of the effects of traditional Chinese medicine. The efficacy of traditional Chinese medicine is to expand the source of traditional Chinese medicine and find substitutes for endangered Chinese medicinal materials. The discovery of the efficacy of traditional Chinese medicine initially relied mainly on clinical experience, but the cycle was long and the results were unpredictable; currently, the pharmacological effects of traditional Chinese medicine can be discovered through scientific screening, but the results are difficult to integrate into the clinical practice of traditional Chinese medicine. Therefore, it is of great significance to explore the technology of predicting and discovering the efficacy of traditional Chinese medicine based on the results of traditional Chinese medicine and modern pharmacology research.
[0004] The traditional Chinese medicine industry is a characteristic industry in my country and has certain competitiveness in the world. Therefore, the modernization of traditional Chinese medicine has been established as one of the strategic priorities for my country's medium- and long-term development. At present, most of the research on drugs uses traditional machine learning methods, which face many problems: first, most methods do not take into account the characteristics of the medicinal materials themselves, while the nature, flavor and meridians of traditional Chinese medicine are important factors affecting its efficacy; second, single tasks tend to ignore the connection between tasks.
[0005] Based on this, the present invention aims at the defects in the current methods, and proposes a multi-task deep neural network method based on the nature, taste and meridians of 1,249 kinds of medicinal materials collected from famous Chinese medicine literature and databases. Among them, parameters are shared between different tasks, which can better mine data features. Summary of the invention
[0006] The purpose of the present invention is to propose a method for predicting the efficacy of traditional Chinese medicine based on a multi-task deep neural network in response to the problems existing in the prior art.
[0007] The technical solution adopted by the present invention to solve the technical problem comprises the following steps:
[0008] (A) Collect relevant TCM data and integrate them into a medicinal material database;
[0009] (B) Based on the above-mentioned medicinal material library and the 23 major categories of efficacy tables, the efficacy of Chinese medicinal materials is summarized and classified to construct a medicinal material efficacy matrix;
[0010] (C) constructing a binary matrix of properties and meridians according to the properties and meridians of the medicinal materials in the above medicinal material library;
[0011] (D) dividing into a training set and an external validation set according to the information of the binary matrix of nature, flavor and meridians and the matrix of medicinal material efficacy;
[0012] (E) Based on the training set, a multi-task deep neural network is used for training to establish a prediction model;
[0013] (F) Predicting the external validation set based on the prediction model; and predicting the possible efficacy of the medicinal materials by inputting the medicinal materials.
[0014] The step (A) collects data related to Chinese medicinal materials through literature, databases and other network resources based on manual, web crawler and text mining methods, and integrates them into a medicinal material library; the medicinal material library contains the nature, flavor, meridian and efficacy information of the medicinal materials.
[0015] The 23 major categories of efficacy tables in step (B) are provided by medical professionals, namely, tonifying qi, calming the mind, opening the orifices, removing dampness, warming the stomach and stopping vomiting, emetics, tonifying blood, removing wind and dampness, calming the liver and calming wind, diuresis and relieving stranguria, warming the interior and regulating qi, removing toxins and promoting tissue regeneration, promoting blood circulation and removing blood stasis, digesting food, killing insects and detoxifying, relieving pain, dispersing wind and cold, astringing the lungs and astringing the intestines, astringing and stopping blood, clearing heat and detoxifying, purging, clearing heat and purging fire, resolving phlegm, relieving cough and relieving asthma, and dispersing wind and heat; by comparing the efficacy texts in the collected medicinal material library The information is matched to obtain the medicinal material efficacy matrix, and the matrix size is (1249,23); by matching the collected medicinal material library information, those with a certain efficacy are marked as 1 and those with a certain efficacy are marked as 0, and finally the efficacy matrix composed of 23 efficacy sequences of medicinal materials is obtained; assuming that medicinal material A has the efficacy of replenishing qi, dispelling wind and dampness, calming the liver and calming wind, killing insects and detoxifying, dispersing wind and cold, astringing and stopping blood, clearing heat and detoxifying, clearing heat and purging fire, and dispersing wind and heat, then the efficacy vector of medicinal material A is:
[0016] Y=[y1,y2,y3,...,y 23 ]=[1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,1,0,1,0,1,0,1].
[0017] Step (C) defines five basic properties according to the characteristics of Chinese herbal medicine: cool, warm, neutral, cold, and hot; five basic tastes: pungent, sweet, sour, bitter, and salty; twelve meridians: heart, liver, spleen, lung, kidney, stomach, gallbladder, triple burner, large intestine, small intestine, bladder, and pericardium; and whether or not the medicinal material has toxicity. If the medicinal material has a certain property and meridian property, it is marked as 1, otherwise it is marked as 0, and a binary matrix of the property and meridian property of the medicinal material is constructed, and the matrix size is (1249, 23); for example, medicinal material B has the properties of cool, neutral, toxic, and cold, and the taste of sweet and bitter enters the heart and liver meridians, then the property and meridian property vector of medicinal material B is:
[0018] V=[v1,v2,v3,...,v 23 ]=[1,0,1,1,1,0,0,1,0,1,1,0,0,0,0,0,0,0,0,0,0].
[0019] In the step (D), 40 samples are randomly selected from the data set as an external validation set, and the remaining 1209 medicinal material samples are divided into a training set and a test set in a ratio of 8:2, and the external validation set is used to verify the prediction performance of the model; each sample in the training set is represented by a property, flavor and meridian vector of a single medicinal material, and the dependent variable of the task is the efficacy sequence of the medicinal material.
[0020] The specific parameter structure of the multi-task deep neural network in the step (E) is as follows: the number of hidden layers is set to 4 layers, with 1000, 800, and 100 neurons respectively, a Batch Normal layer and a Relu function are connected after each hidden layer, and a Sigmoid activation function is used in the output layer; the batch-size is set to 128; the 23 properties and meridian vectors of the medicinal materials are used as input vectors, and the task is whether the medicinal materials have these 23 effects.
[0021] In the step (F), the collected medicinal materials used for prediction are input into the prediction model in the form of binary vectors of nature, flavor and meridians, and the efficacy sequence of the medicinal materials is obtained, and the prediction results are compared and analyzed: 40 external test sets are used for testing; Accuracy is used as an evaluation method, and during the evaluation, the prediction results are divided into true positive (TP), false positive (FP), true negative (TN), and false negative (FN). The Accuracy index is used for evaluation, and the calculation formula is as follows, N is the number of all samples, and the formula is as follows:
[0022] Accuracy=(TP+TN) / N
[0023]
[0024] When scoring, the threshold is set to 0.5, that is, if it is higher than 0.5, the medicinal material is considered to have this effect and is classified as 1; otherwise, it is set to 0, indicating that the medicinal material does not have this effect.
[0025] The beneficial effects of the present invention are embodied in:
[0026] (1) Considering the influence of the nature, flavor and meridians of Chinese medicinal materials on their efficacy, and the fact that their text information is not easy to analyze, the present invention uses the nature, flavor and meridians text information to construct a binary matrix of the nature, flavor and meridians of the medicinal materials, which is more conducive to the mining of Chinese medicine information.
[0027] (2) Each medicinal material with different efficacy has different properties and meridian characteristics, and single-task learning ignores the possible relationship between the efficacy. The multi-task deep neural network proposed in the present invention is more suitable for mining the nature, taste and meridian information of medicinal materials, and pays attention to the relationship between the efficacy. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a flow chart of the present invention.
[0029] Figure 2 This is a structural diagram of the multi-task deep neural network of the present invention. DETAILED DESCRIPTION
[0030] In order to make the purpose, implementation scheme and advantages of the present invention more clearly understood, further detailed description is given below in conjunction with specific examples. Figure 1 As shown:
[0031] (A) Collect relevant traditional Chinese medicine data and integrate them into a medicinal material database.
[0032] Through literature, databases and other network resources, we collect as complete data as possible on Chinese herbal medicines (including the efficacy of herbal medicines and their properties, flavors and meridians) based on manual and web crawler methods, and integrate them into a herbal medicine library. The herbal medicine library contains the properties, flavors, meridians and efficacy information of the herbal medicines.
[0033] (B) Based on the above-mentioned medicinal material library and the 23 categories of efficacy tables, the efficacy of Chinese medicinal materials is summarized and classified to construct a medicinal material efficacy matrix.
[0034] Since the efficacy of Chinese herbal medicines may reach hundreds, making the model label unclear, the inventor of this case classified the efficacy into 23 categories according to the efficacy category table of Chinese medicine, namely, tonifying qi, calming the nerves, opening the orifices, removing dampness, warming the stomach and stopping vomiting, emetics, blood tonifying, dispelling wind and dampness, calming the liver and stopping wind, diuresis and relieving stranguria, warming the interior and regulating qi, removing toxins and promoting tissue regeneration, promoting blood circulation and removing blood stasis, digesting food, killing insects and detoxifying, relieving pain, dispersing wind and cold, astringing the lungs and astringing the intestines, astringing and stopping blood, clearing heat and detoxifying, purging, clearing heat and purging fire, resolving phlegm, relieving cough and relieving asthma, and dispersing wind and heat. By matching the efficacy text information collected in the medicinal material library, the medicinal material efficacy matrix is obtained, and the matrix size is (1249,23). For example, the medicinal material Qinghuangzi has the effects of tonifying qi, dispelling wind and dampness, calming the liver and stopping wind, killing insects and detoxifying, dispersing wind and cold, astringing and stopping blood, clearing heat and detoxifying, clearing heat and purging fire, and dispersing wind and heat. The efficacy vector of Qinghuangzi is:
[0035] Y=[y1,y2,y3,...,y 23 ]=[1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,1,0,1,0,1,0,1].
[0036] (C) Constructing a binary matrix of properties and meridians according to the properties and meridians characteristics of the medicinal materials in the above medicinal material library.
[0037] The properties of Chinese herbal medicines define five basic properties: cool, warm, neutral, cold, and hot; five basic tastes: pungent, sweet, sour, bitter, and salty; twelve meridians: heart, liver, spleen, lung, kidney, stomach, gallbladder, triple burner, large intestine, small intestine, bladder, and pericardium; and whether or not there is toxicity. According to whether the medicinal material has a certain property and meridian property, it is marked as 1 if it has a certain property and 0 otherwise, and a binary matrix of the property and meridian property of the medicinal material is constructed, and the matrix size is (1249,23). For example, the scutellaria baicalensis has the properties of cool, neutral, toxic, and cold, and the taste of sweet and bitter, and enters the heart and liver meridians. The property and meridian vector of the scutellaria baicalensis is:
[0038] V=[v1,v2,v3,...,v 23 ]=[1,0,1,1,1,0,0,1,0,1,1,0,0,0,0,0,0,0,0,0,0].
[0039] (D) The data are divided into a training set and an external validation set according to the information of the nature and flavor meridian matrix and the efficacy matrix.
[0040] To ensure more accurate model prediction performance, the present invention randomly selected 40 samples from the data set as an external validation set, divided the remaining 1209 medicinal material samples into a training set and a test set in a ratio of 8:2, and used the external test set to verify the prediction performance of the model.
[0041] (E) Based on the training set, a multi-task deep neural network is used for training to establish a prediction model.
[0042] The parameters of the multi-task deep neural network were set, where the number of hidden layers was set to 4, with 1000, 800, and 100 neurons respectively. To prevent overfitting from affecting the actual performance of the model, a BatchNormal layer and a Relu function were connected after each hidden layer, and the output layer used a Sigmoid activation function. The batch-size was set to 128. The 23 properties, flavors, and meridians of the medicinal materials were used as input vectors, and the task was whether the 23 effects were present. Figure 2 This is a diagram of the structure of a multi-task deep neural network.
[0043] (F) Predicting the test set based on the prediction model, and predicting the possible efficacy of the medicinal material by inputting the medicinal material.
[0044] 40 external test sets were used for testing. During the evaluation, the prediction results were divided into true positive (TP), false positive (FP), true negative (TN), and false negative (FN). The Accuracy indicator was used for evaluation, and its calculation formula is as follows, where N is the number of all samples.
[0045] Accuracy=(TP+TN) / N
[0046]
[0047] Finally, the average accuracy of the test set was 0.757, and the accuracy of the external validation set was 0.795, indicating that the model has good prediction ability even for the external validation set. Taking Qingxiangzi as an example, it has the characteristics of coolness, flatness, toxicity, and coldness, and the taste of sweetness and bitterness. It enters the heart and liver veins, and its binarized vector is input into the prediction model, and the following effects are obtained for the medicinal material: tonifying qi, removing dampness, dispelling wind and dampness, calming the liver and calming wind, killing insects and detoxifying, promoting blood circulation and removing blood stasis, dispersing wind and cold, astringing and stopping blood, clearing heat and detoxifying, clearing heat and purging fire, and dispersing wind and heat. Its actual effects include: tonifying qi, dispelling wind and dampness, calming the liver and calming wind, killing insects and detoxifying, dispersing wind and cold, astringing and stopping blood, clearing heat and detoxifying, clearing heat and purging fire, and dispersing wind and heat.
Claims
1. A method for predicting the efficacy of traditional Chinese medicine based on multi-task deep neural network, It is characterized in that The following steps are involved: (A) Collect relevant TCM data and integrate them into a medicinal material database; (B) Based on the above-mentioned medicinal material library and the 23 major categories of efficacy tables, the efficacy of Chinese medicinal materials is summarized and classified to construct a medicinal material efficacy matrix; (C) constructing a binary matrix of properties and meridians according to the properties and meridians of the medicinal materials in the above medicinal material library; (D) dividing into a training set and an external validation set according to the information of the binary matrix of nature, flavor and meridians and the matrix of medicinal material efficacy; (E) Based on the training set, a multi-task deep neural network is used for training to establish a prediction model; (F) predicting the external validation set based on the prediction model; and predicting the possible efficacy of the medicinal material by inputting the medicinal material; The step (A) collects data related to Chinese medicinal materials through literature, databases and other network resources based on manual, web crawler and text mining methods, and integrates them into a medicinal material library; the medicinal material library contains the nature, flavor, meridian and efficacy information of the medicinal materials; The 23 major categories of efficacy tables in step (B) are provided by medical professionals, namely, tonifying qi, calming the mind, opening the orifices, removing dampness, warming the stomach and stopping vomiting, emetics, tonifying blood, removing wind and dampness, calming the liver and calming wind, diuresis and relieving stranguria, warming the interior and regulating qi, removing toxins and promoting tissue regeneration, promoting blood circulation and removing blood stasis, digesting food, killing insects and detoxifying, relieving pain, dispersing wind and cold, astringing the lungs and astringing the intestines, astringing and stopping blood, clearing heat and detoxifying, purging, clearing heat and purging fire, resolving phlegm, relieving cough and relieving asthma, and dispersing wind and heat; by comparing the efficacy texts in the collected medicinal material library The information is matched to obtain the medicinal material efficacy matrix, and the matrix size is (1249,23); by matching the collected medicinal material library information, those with a certain efficacy are marked as 1 and those with a certain efficacy are marked as 0, and finally the efficacy matrix composed of 23 efficacy sequences of medicinal materials is obtained; assuming that medicinal material A has the efficacy of replenishing qi, dispelling wind and dampness, calming the liver and calming wind, killing insects and detoxifying, dispersing wind and cold, astringing and stopping blood, clearing heat and detoxifying, clearing heat and purging fire, and dispersing wind and heat, then the efficacy vector of medicinal material A is: And=[and 1 ,and 2 ,and 3 ,...,and 23 ]=[1,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,1,0,1,0,1,0,1]; Step (C) defines five basic properties according to the characteristics of Chinese herbal medicine: cool, warm, neutral, cold, and hot; five basic tastes: pungent, sweet, sour, bitter, and salty; twelve meridians: heart, liver, spleen, lung, kidney, stomach, gallbladder, triple burner, large intestine, small intestine, bladder, and pericardium; and whether or not the medicinal material has toxicity. If the medicinal material has a certain property and meridian property, it is marked as 1 and vice versa, and a binary matrix of the property and meridian property of the medicinal material is constructed, and the matrix size is (1249, 23); suppose that the medicinal material B has the properties of cool, neutral, toxic, and cold, and the taste of sweet and bitter enters the heart and liver meridians, then the property and meridian property vector of the medicinal material B is: V=[v 1 ,v 2 ,v 3 ,...,v 23 ]=[1,0,1,1,1,0,0,1,0,1,0,1,1,0,0,0,0,0,0,0,0,0]; In the step (D), 40 samples are randomly selected from the data set as an external validation set, and the remaining 1209 medicinal material samples are divided into a training set and a test set at a ratio of 8:2, and the prediction performance of the model is verified using the external validation set; each sample in the training set is represented by a property, flavor and meridian vector of a single medicinal material, and the dependent variable of the task is the efficacy sequence of the medicinal material; The specific parameter structure of the multi-task deep neural network in step (E) is as follows: the number of hidden layers is set to 4 layers, with 1000, 800, and 100 neurons respectively, a Batch Normal layer and a Relu function are connected after each hidden layer, and a Sigmoid activation function is used in the output layer; the batch-size is set to 128; the 23 properties and meridian vectors of the medicinal materials are used as input vectors, and the task is whether the medicinal materials have these 23 effects; In the step (F), the collected medicinal materials used for prediction are input into the prediction model in the form of binary vectors of nature, flavor and meridians, and the efficacy sequence of the medicinal materials is obtained, and the prediction results are compared and analyzed: 40 external test sets are used for testing; Accuracy is used as an evaluation method, and during the evaluation, the prediction results are divided into true positive (TP), false positive (FP), true negative (TN), and false negative (FN). The Accuracy index is used for evaluation, and the calculation formula is as follows, N is the number of all samples, and the formula is as follows: Accuracy=(TP+TN) / N When scoring, the threshold is set to 0.5, that is, if it is higher than 0.5, the medicinal material is considered to have this effect and is classified as 1; otherwise, it is set to 0, indicating that the medicinal material does not have this effect.
