| Literature DB >> 35639469 |
Hong Zhang1, Jiajun Zhang2, Wandong Ni3, Youlin Jiang1, Kunjing Liu1, Daying Sun4, Jing Li1.
Abstract
BACKGROUND: Traditional Chinese medicine (TCM) practitioners usually follow a 4-step evaluation process during patient diagnosis: observation, auscultation, olfaction, inquiry, pulse feeling, and palpation. The information gathered in this process, along with laboratory test results and other measurements such as vital signs, is recorded in the patient's electronic health record (EHR). In fact, all the information needed to make a treatment plan is contained in the EHR; however, only a seasoned TCM physician could use this information well to make a good treatment plan as the reasoning process is very complicated, and it takes years of practice for a medical graduate to master the reasoning skill. In this digital medicine era, with a deluge of medical data, ever-increasing computing power, and more advanced artificial neural network models, it is not only desirable but also readily possible for a computerized system to mimic the decision-making process of a TCM physician.Entities:
Keywords: artificial intelligence; electronic health records; generative adversary networks; machine learning; natural language processing; traditional Chinese medicine; transformer; word2Vec
Year: 2022 PMID: 35639469 PMCID: PMC9198826 DOI: 10.2196/35239
Source DB: PubMed Journal: JMIR Med Inform
Figure 1Block diagram of the prescription generation system. EHR: electronic health record; NLP: natural language processing.
Figure 2Block diagram of the named entity recognition subsystem. BiLSTM: bidirectional long short-term memory; EMR: electronic medical record; BiLSTM-CRF: Bidirectional long short term memory – conditional random fields; BMJ: British Medical Journal.
Figure 3Example of converting a freestyle narrative into structured data. EHR: electronic health record.
Figure 4Example of converting structured data into a sequence of tokens.
Figure 5Illustration of converting electronic health record text to word vectors.
Figure 6The transformer subsystem.
Figure 7Block diagram of the predictive modeling system during the training phase. EHR: electronic health record; GAN: generative adversarial network; NLP: natural language processing.
Figure 8The internal structure of the generative adversarial network subsystem. LSTM: long short-term memory; *size of the neural network used in that layer.
Figure 9Classification of herbal drugs.
Some hyperparameters of the model.
| Hyperparameters | Values | Parameter range |
| Gradient | 0.1245 | (0.1, 0.5, 1.0, 1.1) |
| Attention heads | 4 | (4, 8) |
| Vector loss rate | 0.4410 | (0.25, 0.35, 0.5) |
| Hidden layer loss rate | 0.4740 | (0.25, 0.35, 0.5) |
| Learning rate | 0.4375 | (0, 1) |
| L2 punishment rate | 0.000001566 | (0, 0.01) |
Figure 10Side-by-side comparison of physician’s order versus model’s order.
Figure 11Prescription comparison: physician’s order versus model’s order.
The precision rates and recall rates with transformer only.
| Time | Training set | Test set | ||
|
| Precision rate (%) | Recall rate (%) | Precision rate (%) | Precision rate (%) |
| Admission | 81.58 | 69.49 | 73.82 | 61.25 |
| In 24 hours | 83.37 | 71.88 | 74.56 | 62.69 |
| In 48 hours | 83.92 | 71.26 | 74.81 | 63.04 |
| In 3 days | 85.16 | 73.89 | 76.24 | 65.38 |
| In 1 week | 87.02 | 75.17 | 77.94 | 67.15 |
The precision rates and recall rates with transformer+generative adversarial network.
| Time | Training set | Test set | ||
|
| Precision rate (%) | Recall rate (%) | Precision rate (%) | Recall rate (%) |
| Admission | 82.22 | 70.65 | 80.58 | 68.49 |
| In 24 hours | 84.15 | 72.18 | 82.37 | 70.8 |
| In 48 hours | 84.32 | 72.56 | 82.92 | 70.26 |
| In 3 days | 87.04 | 75.10 | 85.04 | 74.38 |
| In 1 week | 88.91 | 76.79 | 86.82 | 76.23 |
Performance comparison for different models.
| Model | Precision rate (%) | Recall rate (%) |
| Convolutional neural network | 47.54 | 31.00 |
| Seq2seqa | 64.02 | 48.74 |
| MedARb | 71.46 | 53.08 |
| Transformer+generative adversarial network | 80.58 | 68.49 |
aSeq2seq: sequence to sequence model.
bMedAR: Medical data attention Rethink Net.