Methods, devices, and storage media for enhancing medical record features by integrating atlas knowledge

The information in the medical knowledge graph is fused into the medical record sample through the map embedding method, which solves the problem that traditional methods cannot analyze the correlation of medical record characteristics, achieves more efficient disease diagnosis and prediction, and improves the accuracy of symptom classification.

CN114974554BActive Publication Date: 2024-11-05BEIJING AIYISHENG TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210257509.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2022-02-23
Filing Date
2022-03-16
Publication Date
2024-11-05
Estimated Expiration
2042-03-16

AI Technical Summary

Technical Problem

Traditional machine learning methods can only learn existing information in medical records, and cannot effectively analyze the correlation between medical records characteristics, and lack external knowledge guidance, resulting in large overfitting and deviation; while the method of using knowledge graphs is rough, The local information distribution of the medical record cohort cannot be learned.

Method used

The entities in the medical knowledge graph are converted into the graph embedding result vector through the graph embedding method, the medical record features in the medical record samples are replaced, the enhanced medical record features are obtained, and the symptom classification model is trained using machine learning methods.

Benefits of technology

By integrating the map knowledge, we can better understand the patient's symptoms, improve the accuracy of the symptom classification training task, and achieve an accuracy increase of more than 5%.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114974554B_ABST
    Figure CN114974554B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device and storage medium for integrating graph knowledge to strengthen medical record features. The method includes: using a graph embedding method to convert each entity in a medical knowledge graph into a graph embedding result vector, thereby obtaining a graph embedding result vector set, wherein the medical knowledge graph has entities corresponding to medical record features in a medical record sample; using the graph embedding result vector to replace the corresponding medical record features in the medical record sample to obtain strengthened medical record features; using the strengthened medical record features as training data, using a machine learning method to train a symptom classification model, and obtaining a symptom classification model trained with strengthened medical record features. The present invention can obtain strengthened medical record features, and by strengthening medical record features, the accuracy rate can be improved by more than 5% in symptom classification training tasks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a method, device and storage medium for integrating graph knowledge to enhance medical record features. Background Art

[0002] With the continuous development of information technology, the continuous iteration of data storage methods has also enabled the promotion and application of big data technology in the medical field. A large number of available electronic medical records and medical encyclopedias have a high concentration of diagnosis and treatment knowledge, and many methods for training and modeling using artificial intelligence technology have also emerged. In addition, large amounts of data also require a better form than the current data structure. Knowledge graphs are a storage form of knowledge bases that are more structured and can effectively organize scattered knowledge concepts. Currently, there are multiple medical knowledge graphs with rich knowledge in the medical field. Traditional machine learning methods use one-hot or single-value encoding methods for concepts such as diseases and symptoms in medical records as data inputs, and use the medical record features in the patient's medical record data to build a neural network to complete the training of tasks such as disease diagnosis and risk prediction. However, this method can only learn the information in the medical record queue, and cannot effectively analyze the correlation between the medical record features. The lack of external knowledge guidance will lead to problems such as overfitting and large deviation. In contrast, disease diagnosis and prediction can also be completed using methods such as reasoning analysis of knowledge graphs, but this method is more crude and can only use relatively broad domain knowledge, but cannot learn the local information distribution of medical record queues. This patent proposes a method that can integrate prior knowledge in the graph to strengthen the medical record features in the electronic medical record to better complete the training of the disease diagnosis prediction network. Summary of the invention

[0003] To solve the above problems, the present invention provides a method for integrating graph knowledge to enhance medical record features, including:

[0004] Using a graph embedding method, each entity in the medical knowledge graph is converted into a graph embedding result vector, thereby obtaining a graph embedding result vector set, wherein the medical knowledge graph has entities corresponding to the medical record features in the medical record sample;

[0005] Use the graph embedding result vector to replace the corresponding medical record features in the medical record sample to obtain enhanced medical record features;

[0006] The enhanced medical record features are used as training data, and the machine learning method is used to train the symptom classification model to obtain the symptom classification model trained with the enhanced medical record features.

[0007] Optionally, the medical knowledge graph has entities corresponding to medical record features in the medical record sample, including:

[0008] Discrete medical record features each correspond to an entity in the medical knowledge graph.

[0009] Optionally, the medical knowledge graph has entities corresponding to medical record features in the medical record sample, and further includes:

[0010] Continuous medical record features are mapped using interval entities in the medical knowledge graph.

[0011] Optionally, the method of using a graph embedding method to convert each entity in the medical knowledge graph into a graph embedding result vector includes using a TransE graph embedding method.

[0012] Optionally, the use of the graph embedding result vector to replace the corresponding medical record features in the medical record sample to obtain enhanced medical record features includes:

[0013] The medical record features are extracted from the medical record samples to form a vector, and then the medical record features are replaced with the graph embedding result vector.

[0014] Optionally, the use of the graph embedding result vector to replace the corresponding medical record features in the medical record sample to obtain enhanced medical record features includes:

[0015] The medical record features are standardized, and then the standardized medical record features are replaced with the corresponding graph embedding result vector in the knowledge graph.

[0016] Optionally, the machine learning method is XGBoost.

[0017] The present invention also provides a device for integrating graph knowledge to enhance medical record features, comprising:

[0018] A graph embedding module, used to convert each entity in the medical knowledge graph into a graph embedding result vector using a graph embedding method, thereby obtaining a graph embedding result vector set, wherein the medical knowledge graph has entities corresponding to the medical record features in the medical record sample;

[0019] The feature replacement module is used to replace the corresponding medical record features in the medical record sample with the graph embedding result vector to obtain enhanced medical record features;

[0020] The training module is used to use the enhanced medical record features as training data, use machine learning methods to train the symptom classification model, and obtain the symptom classification model trained with the enhanced medical record features.

[0021] The present invention also provides an electronic device, which includes: a memory and a processor, wherein the memory stores a program for integrating graph knowledge to enhance medical record features, and when the program for integrating graph knowledge to enhance medical record features is executed by the processor, the method for integrating graph knowledge to enhance medical record features as described above is implemented.

[0022] The present invention also provides a computer-readable storage medium, which stores a computer program. The computer program includes program instructions. When the program instructions are executed by a processor, the method of fusing graph knowledge to enhance medical record features as described above is implemented.

[0023] The present invention uses a graph embedding method to extract information from the medical knowledge graph, and then integrates this information into the medical record features in the medical record sample. Finally, the neural network model is trained using the data after knowledge enhancement. The integration of the medical knowledge graph and the medical record sample can better understand the patient's symptoms. The knowledge graph information in the same field can be integrated into different disease cohorts for separate training to improve the training effect; taking a certain medical record data as an example, the data enhanced by this method can achieve an accuracy improvement of more than 5% in the symptom classification training task. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The above-mentioned features and technical advantages of the present invention will become clearer and easier to understand by describing its embodiments in conjunction with the following drawings.

[0025] Figure 1 is a flow chart showing a method for fusing graph knowledge to enhance medical record features according to an embodiment of the present invention;

[0026] Figure 2 is a schematic diagram showing the hardware architecture of an electronic device according to an embodiment of the present invention;

[0027] Figure 3 It is a schematic diagram of a program module of a program for fusing graph knowledge to enhance medical record features according to an embodiment of the present invention. DETAILED DESCRIPTION

[0028] The embodiments of the present invention will be described below with reference to the accompanying drawings. It will be appreciated by those skilled in the art that the described embodiments may be modified in various ways or combinations thereof without departing from the spirit and scope of the present invention. Therefore, the drawings and descriptions are illustrative in nature and are not intended to limit the scope of the claims. In addition, in this specification, the drawings are not drawn to scale and the same reference numerals represent the same parts.

[0029] The method of fusing graph knowledge to enhance medical record features in this embodiment includes the following steps:

[0030] Step S1, using the graph embedding method, obtain a vector representation containing graph structure knowledge for each entity in the medical knowledge graph, that is, the graph embedding result vector, so as to obtain a graph embedding result vector set, wherein the graph embedding result vector set includes the graph embedding result vectors after the transformation of each entity, wherein the medical knowledge graph has entities corresponding to the medical record features.

[0031] Specifically, since the medical knowledge graph needs to be aligned with the medical record features of the medical record samples, the structural design of the medical knowledge graph is matched with the medical record features. For example, a discrete feature corresponds to an entity in the medical knowledge graph, such as "gender: male" in the medical record feature should have a "male" entity node corresponding to it in the medical knowledge graph; continuous medical record features can be mapped using interval entities in the medical knowledge graph, such as "blood sugar value (mmol / L): 12" in the medical record feature can be mapped with "blood sugar value (mmol / L): 9-13" or "high blood sugar" entity in the graph.

[0032] Specifically, the graph embedding method embeds the entities and relationships in the medical knowledge graph into a continuous vector space and represents them as a vector of fixed dimension. The vector represents the structural information of entities and relationships in the medical knowledge graph through mathematical operations in the space such as cosine distance.

[0033] For example, both TransE and KG2E methods can be used for graph embedding. This embodiment uses TransE for graph embedding.

[0034] The TransE method first performs graph embedding learning on the medical knowledge graph to be processed. The medical knowledge graph is recorded in the form of triples, that is, (head entity, relationship, tail entity). The TransE method presents the above structural information in the medical knowledge graph in the form of vectors. Three vectors are used to represent the head entity h, relationship r, and tail entity t respectively. Through iterative training, the three vectors gradually satisfy the mathematical operation relationship h+r=t. The cosine distance can be used to evaluate the distance between h+r and t, so that the vector distance<h+r,t> As small as possible. In this way, each entity word in the graph can be represented by a vector that contains the knowledge of the graph structure.

[0035] Step S2, using the graph embedding result vector to replace the corresponding medical record features in the medical record sample to obtain enhanced medical record features.

[0036] Specifically, for medical record samples, medical record features are first extracted, for example, gender (male, female), age, symptoms, biochemical indicators and other features are extracted to obtain a structured medical record table, and each medical record sample is represented as a vector composed of the above medical record features. Among them, discrete values ​​such as gender and symptoms can be represented by 0, 1, etc., and age, biochemical indicators, etc. can be represented by original values.

[0037] The medical record features in the above medical record samples can then be replaced with the graph embedding result vector, replacing the medical record features with a single meaning with the vector containing graph knowledge.

[0038] In the replacement process, entity embedding can be used to directly replace discrete values. For example, the "gender: male" in the original feature can be replaced by the corresponding vector of the "male" entity in the knowledge graph.

[0039] Among them, continuous values ​​can be converted into intervals and mapped to entities for replacement. For example, the "blood sugar value (mmol / L): 12" in the original feature can be replaced by the corresponding vector of the entity "high blood sugar" in the graph.

[0040] Among them, since the medical record feature words appearing in the medical record samples are mostly colloquial and simplified texts, they cannot be directly matched one by one with the entity words in the medical knowledge graph. Therefore, the medical record feature words that cannot be directly matched can be mapped in a standardized manner, and then the standardized medical record features can be replaced with the corresponding graph embedding result vector in the knowledge graph.

[0041] After replacing the medical record features with the result vector of the graph embedding, the medical record features of the medical record samples are enhanced through the graph, and each medical record sample is transformed from a vector composed of a single feature into a matrix composed of feature vectors as the high-dimensional feature representation of the sample. This feature representation includes not only the disease information, but also the intrinsic meaning of the disease features obtained from the medical knowledge graph.

[0042] Step S3, using the enhanced medical record features as training data, using a machine learning method such as XGBoost to train a symptom classification model, to obtain a symptom classification model trained with enhanced medical record features, so that the symptom classification model can be used to complete tasks such as symptom classification and risk prediction for medical record data.

[0043] See also Figure 2 , which is a schematic diagram of the hardware architecture of an embodiment of the electronic device of the present invention. In this embodiment, the electronic device 2 is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions. For example, it can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc. Figure 2As shown, the electronic device 2 at least includes, but is not limited to, a memory 21 and a processor 22 that can be interconnected and communicated through a system bus. Wherein: the memory 21 includes at least one type of computer-readable storage medium, and the readable storage medium includes a flash memory, a hard disk, a multimedia card, a card-type memory, etc. In some embodiments, the memory 21 can be an internal storage unit of the electronic device 2, such as a hard disk or a memory of the electronic device 2. In other embodiments, the memory 21 can also be an external storage device of the electronic device 2, such as a plug-in hard disk, a smart memory card, etc. equipped on the electronic device 2. Of course, the memory 21 can also include both the internal storage unit of the electronic device 2 and its external storage device. In this embodiment, the memory 21 is generally used to store the operating system and various application software installed on the electronic device 2, such as the program code for integrating the atlas knowledge to enhance the medical record features. In addition, the memory 21 can also be used to temporarily store various types of data that have been output or are to be output.

[0044] In some embodiments, the processor 22 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip. The processor 22 is generally used to control the overall operation of the electronic device 2, such as executing control and processing related to data interaction or communication with the electronic device 2. In this embodiment, the processor 22 is used to run the program code or process data stored in the memory 21, such as running the program for integrating the atlas knowledge to enhance the medical record features.

[0045] It should be pointed out that Figure 2 The electronic device 2 is shown only with components 21 - 22 , but it should be understood that implementation of all of the components shown is not required, and more or fewer components may alternatively be implemented.

[0046] The memory 21 including a readable storage medium may include an operating system, a program 50 for fusing graph knowledge to strengthen medical record features, etc. When the processor 22 executes the program 50 for fusing graph knowledge to strengthen medical record features in the memory 21, the steps described in the method for fusing graph knowledge to strengthen medical record features are implemented. In this embodiment, the program for fusing graph knowledge to strengthen medical record features stored in the memory 21 may be divided into one or more program modules, and the one or more program modules are stored in the memory 21 and may be executed by one or more processors (the processor 22 in this embodiment) to complete the present invention. For example, Figure 3A schematic diagram of the program modules of the program for integrating graph knowledge to enhance medical record features is shown. In this embodiment, the program 50 for integrating graph knowledge to enhance medical record features can be divided into a graph embedding module 501, a feature replacement module 502, and a training module 503, wherein the program module referred to in the present invention refers to a series of computer program instruction segments that can perform specific functions. The following description will specifically introduce the specific functions of the program modules.

[0047] Wherein, each entity in the medical knowledge graph is converted into a graph embedding result vector by using a graph embedding method, thereby obtaining a graph embedding result vector set, wherein the medical knowledge graph has entities corresponding to the medical record features in the medical record sample;

[0048] Use the graph embedding result vector to replace the corresponding medical record features in the medical record sample to obtain enhanced medical record features;

[0049] The enhanced medical record features are used as training data, and the machine learning method is used to train the symptom classification model to obtain the symptom classification model trained with the enhanced medical record features.

[0050] In addition, an embodiment of the present invention further proposes a computer-readable storage medium, which may be any one of a hard disk, a multimedia card, an SD card, a flash memory card, an SMC, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disk read-only memory (CD-ROM), a USB memory, etc., or any combination of several thereof. The computer-readable storage medium includes a program for fusing graph knowledge to enhance medical record features, and when the program for fusing graph knowledge to enhance medical record features is executed by the processor 22, a method for fusing graph knowledge to enhance medical record features is implemented. The specific implementation of the computer-readable storage medium of the present invention is roughly the same as the above-mentioned method for fusing graph knowledge to enhance medical record features and the specific implementation of the electronic device 2, and will not be repeated here.

[0051] 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 integrating graph knowledge to enhance medical record features, characterized in that: include: Using a graph embedding method, each entity in the medical knowledge graph is converted into a graph embedding result vector, thereby obtaining a graph embedding result vector set, wherein the medical knowledge graph has entities corresponding to the medical record features in the medical record sample; Use the graph embedding result vector to replace the corresponding medical record features in the medical record sample to obtain enhanced medical record features; Using enhanced medical record features as training data, a machine learning method is used to train a symptom classification model to obtain a symptom classification model trained with enhanced medical record features. The medical knowledge graph has entities corresponding to the medical record features in the medical record sample, including: Discrete medical record features each correspond to an entity in the medical knowledge graph. The medical knowledge graph has entities corresponding to the medical record features in the medical record sample, and also includes: Continuous medical record features are mapped using interval entities in the medical knowledge graph.

2. The method for enhancing medical record features by fusing graph knowledge according to claim 1 is characterized in that: The method of using a graph embedding method to convert each entity in the medical knowledge graph into a graph embedding result vector includes using the TransE graph embedding method.

3. The method for enhancing medical record features by fusing graph knowledge according to claim 1 is characterized in that: The method of replacing the corresponding medical record features in the medical record sample with the graph embedding result vector to obtain enhanced medical record features includes: The medical record features are extracted from the medical record samples to form a vector, and then the medical record features are replaced with the graph embedding result vector.

4. The method for enhancing medical record features by fusing graph knowledge according to claim 1, characterized in that: The method of replacing the corresponding medical record features in the medical record sample with the graph embedding result vector to obtain enhanced medical record features includes: The medical record features are standardized, and then the standardized medical record features are replaced with the corresponding graph embedding result vector in the knowledge graph.

5. The method for enhancing medical record features by fusing graph knowledge according to claim 1 is characterized in that: The machine learning method is XGBoost.

6. A device for integrating graph knowledge to enhance medical record features, characterized in that: include: A graph embedding module, used to convert each entity in the medical knowledge graph into a graph embedding result vector using a graph embedding method, thereby obtaining a graph embedding result vector set, wherein the medical knowledge graph has entities corresponding to the medical record features in the medical record sample; The feature replacement module is used to replace the corresponding medical record features in the medical record sample with the graph embedding result vector to obtain enhanced medical record features; The training module is used to use the enhanced medical record features as training data and use machine learning methods to train the symptom classification model to obtain the symptom classification model trained with the enhanced medical record features. Discrete medical record features each correspond to an entity in the medical knowledge graph, and continuous medical record features are mapped using interval entities in the medical knowledge graph.

7. An electronic device, characterized in that: The electronic device includes: a memory and a processor, wherein the memory stores a program for fusing graph knowledge to enhance medical record features, and when the program for fusing graph knowledge to enhance medical record features is executed by the processor, the method for fusing graph knowledge to enhance medical record features as described in any one of claims 1 to 5 is implemented.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which includes program instructions. When the program instructions are executed by a processor, the method for enhancing medical record features by fusing graph knowledge as described in any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Similar medical record searching method and system based on deep learning

    CN111613339A

  • Knowledge graph-based old medicine new use analysis method and system

    CN112131399A

  • Knowledge graph-based patient medical record similarity evaluation method and system

    CN112364174A

  • Medical knowledge graph-based triage method and apparatus, device, and storage medium

    WO2021139232A1

  • Medical plan recommendation system and method based on knowledge graph representation learning

    WO2021189971A1