Medical examination recommendation system and method based on explicit topic allocation technology
The LLDA model with explicit subject allocation technology solves the problem of relying on doctor experience in medical examination recommendation and treatment plan combination evaluation, realizes the recommendation of personalized examination items and treatment plans, reduces the number of examinations and waste of resources, and provides treatment Evaluation of the fit of solution portfolios.
Patent Information
- Application Number
- CN202111129774.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-26
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-09-26
AI Technical Summary
In the existing technology, medical examination recommendation and treatment plan combination evaluation lack a personalized recommendation method driven by case data, rely on doctor experience, cannot effectively reduce the number of medical examinations and waste of resources, and cannot analyze the relationship between examination items and treatment plans. .
Using an LLDA model based on explicit topic assignment technology, the model is trained through historical cases and treatment plans, transforming patient attributes into features, calculating the weight and matching degree of features under treatment plan combinations, and recommending optimal examination items and treatment plans.
It realizes personalized recommendation of medical examination items and treatment plans without relying on doctor's experience, reduces the number of examinations, saves medical resources, and provides matching evaluation and feature importance analysis of treatment plan combinations.
Smart Images

Figure CN113851208B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical intelligent decision-making and data mining, and in particular, to a medical examination recommendation method and system based on explicit topic allocation technology, and more particularly, to a medical examination recommendation and treatment plan combination evaluation method and system. Background Art
[0002] Usually, after analyzing the patient's current test results report, the doctor will make a medical diagnosis and recommendations based on his field knowledge and experience rules. If the evidence provided in the report is sufficient, these recommendations will generally be specific treatment plans; otherwise, the doctor will recommend that the patient undergo further supplementary examinations.
[0003] As for which test will be the next test, in the traditional medical process, it depends entirely on the doctor's experience and preference. Some doctors (or patients) will even ask to do all possible tests. From the perspective of quickly and reasonably determining the treatment plan, this may not only be unnecessary, but also greatly waste precious medical resources, and also put patients under physical and financial pressure. If only one or a few specific tests are needed to determine the cause and treatment plan, then these tests are the best options in the examination path and should be arranged in the early examination as much as possible to avoid over-medicalization.
[0004] There is a close and complex relationship between treatment plans and various physical indicators of patients. Medical examinations, as a means of obtaining physical indicators, assist doctors in determining reasonable treatment plans. By studying historical cases and diagnostic results, we can mine key indicators that can determine different treatment plans, that is, the examination results that appear frequently under the treatment plan. The matching of key indicators can help confirm the cause and treatment plan. Therefore, by mining the key indicators under different treatment plans, as well as the degree of match between the patient's current status and key indicators, we can in turn recommend examination options and the most likely treatment plan.
[0005] However, currently, the domestic examination recommendations for patients can only be made based on the doctor's own judgment or according to a unified examination process. There is a lack of case data-driven solutions that can recommend the next optimal examination item for patients. To this end, the present invention designs a method for recommending the next medical examination based on the allocation of treatment plans. The method autonomously learns historical pathological data without relying on the doctor's personal experience, and then recommends the next optimal examination item that is most likely to help confirm the treatment plan. The present invention has practical significance and good application prospects in reducing the number of medical examinations, quickly and reasonably confirming treatment plans, and saving medical costs. For historical case data and corresponding treatment plans, the present invention uses explicit topic allocation technology to allocate different treatment plans to different characteristics of patients, thereby mining the relationship between treatment plans and sparse and diverse patient characteristics; and determining a benchmark set containing important features under different treatment plan combinations, and then calculating its matching degree with the benchmark set based on the current examination results of the target patient. According to the matching degree and the importance of each missing feature, the feature that needs to be supplemented and verified for the target patient is determined, and the examination corresponding to the feature is the next medical examination required for the patient. Compared with other examinations, this medical examination helps confirm the patient's treatment plan while minimizing the number of examinations. From a probability perspective, it is currently the best examination option.
[0006] Patent document CN112397196A (application number: CN201910760742.7) discloses a method and device for generating an imaging examination recommendation model: a specific implementation of the method includes: obtaining a target patient information sample set, wherein the target patient information sample in the target patient information sample set includes the imaging examination information, basic sign information, symptom information, physical examination information and laboratory information of the target patient; selecting the target patient information sample from the target patient information sample set, and performing the following training steps: inputting the basic sign information, symptom information, physical examination information and laboratory information of the selected target patient information sample into the initial model to obtain the imaging examination information; comparing the obtained imaging examination information with the imaging examination information of the target patient information sample; determining whether the initial model training is completed according to the comparison result; in response to determining that the initial model training is completed, determining the initial model as the imaging examination recommendation model. This method only recommends imaging examinations, and only considers the patient case information in the recommendation process, but does not consider the possible treatment plan information; in addition to giving the examination recommendation, it cannot give the treatment plan recommendation, nor can it give the reason for recommending the examination; it cannot analyze the relationship between the examination items and the treatment plan.
[0007] Patent document CN108565019A (application number: CN201810332094.0) discloses a method and device for recommending clinical examination combinations applicable to multiple disciplines: the method comprises: obtaining the symptom information of the patient; inputting the symptom information into a constructed multi-label Bayesian classifier to obtain a predicted set of diseases suffered by the patient, wherein the multi-label Bayesian classifier is trained with symptoms and diagnosis results extracted from electronic medical records; determining a recommended item combination of medical examinations from a medical knowledge graph according to the predicted set, wherein the medical knowledge graph comprises symptom entities, disease entities, single examination entities and examination group entities, and the examination group entity is determined by calculating the frequent item set of the single examination entity. The method first predicts or judges the possible disease of the patient by symptoms, and then uses the medical knowledge graph to associate related examinations based on the predicted disease to make recommendations. Unlike the technical route of this patent, this patent cannot discover the relationship between the treatment plan combination and the patient's attributes, and cannot further recommend treatment plans based on the patient's attributes. This patent does not have disease judgment and disease set, and does not need to establish an association relationship between diseases and examination plans.
[0008] Patent document CN106126873A (application number: CN201610373723.5) discloses a method for recommending treatment plans, including the following steps: obtaining the user's problem information and personal information; matching the first problem information and the first personal information with the problem information and personal information in each solution case in the knowledge base, obtaining the treatment plan in the solution case that is successfully matched and meets the first preset condition as the second treatment plan; and recommending the second treatment plan to the user. This patent cannot simultaneously demonstrate the importance of different features under each combination of treatment plans, and cannot provide effective auxiliary information for medical staff to further understand the pathological mechanism.
[0009] Patent document CN109859851A (application number: CN201811606759.9) discloses a method and device for recommending a treatment plan. The present invention relates to the field of big data. The method comprises: obtaining the disease information of the target patient, the disease information at least includes the symptoms of the target patient; searching for a treatment plan from a target database according to the disease information of the target patient, and obtaining multiple candidate treatment plans. The target database stores the disease information and treatment plans of multiple patients. The similarity between the symptoms of the patient associated with the candidate treatment plan and the symptoms of the target patient meets the preset conditions. The candidate treatment plan at least includes the name of the drug and the dosage of the drug; obtaining the first clinical medication data; screening multiple candidate treatment plans according to the first clinical medication data to obtain at least one target treatment plan; and outputting the target treatment plan. However, the patent cannot provide a combination of candidate treatment plans for the patient, and evaluate the matching of the combination with the patient's condition, and cannot show the importance of different features under each treatment plan combination, and provide effective auxiliary information for medical staff to further understand the pathological mechanism. Summary of the invention
[0010] In view of the defects in the prior art, the object of the present invention is to provide a medical examination recommendation method and system based on explicit topic allocation technology.
[0011] A medical examination recommendation system based on explicit topic allocation technology provided by the present invention includes:
[0012] Module M1: Establish LLDA model;
[0013] Module M2: Use historical cases and treatment plans to train the LLDA model to obtain the trained LLDA model;
[0014] Module M3: Input the patient’s current information into the trained LLDA model to obtain the next medical examination option that the patient should undergo and the treatment plan that best matches the patient’s current condition.
[0015] Preferably, the module M1 adopts:
[0016] Convert each patient's structured and non-empty attributes into different attribute names and corresponding attribute value features, and use them as words in the LLDA model;
[0017] The set of all characteristics of each patient is used as the document in the LLDA model;
[0018] The treatment plan of each patient is used as a label in the LLDA model.
[0019] Preferably, the module M2 adopts: based on historical cases and treatment plans, using a shrinkage Gibbs sampling strategy to train the LLDA model.
[0020] Preferably, the module M2 adopts:
[0021] For patient u, each feature ω of patient u i Treatment options u , feature ω i The sampling probability is expressed as:
[0022]
[0023] Among them, i represents the label of the feature; j represents the label of the treatment plan; Indicates that the patient has the characteristic ω i The current topic of all features outside the group; α, β represent the prior probability distribution of “patient-treatment regimen” and “treatment regimen-feature” respectively; V represents the total number of features; K represents the total number of treatment regimens; The characteristic ω that represents the treatment j assigned i The number of represents the number of treatment options j assigned to patient u; Representation feature ω i The prior probability, α j represents the prior probability of treatment option j.
[0024] Preferably, the module M3 adopts:
[0025] Module M3.1: After the LLDA model training is completed, determine the different treatment options Δ={Λ i |i=1,2,3,…}, the weight ratio of each feature;
[0026] Considering that different treatment options are independent, given a treatment option combination Δ, the Bayesian form of each feature importance P(ω|Δ) is calculated as follows:
[0027]
[0028] Among them, Λ i Represents different treatment options; P(Λ i ) means that in the current combination Δ={Λ i |i=1,2,3,…}, treatment plan Λ i Statistical proportion; P(z=j|Λ i ) represents the indicator function. Considering independence, only when Λ i =j, the value is 1, otherwise it is 0; P(ω|z=j) is the “treatment plan-feature” distribution learned by the LLDA model, and the probability of feature ω when the treatment plan is j;
[0029] Module M3.2: For each treatment combination, use the feature weights to sort the features in descending order, and select the N features with the largest weights to form the benchmark set;
[0030] Module M3.3: Calculate the matching degree s between the target patient's feature set and each benchmark set Δ,u , the expression is as follows:
[0031]
[0032] in, Represents the exclusive OR operator; Representation feature ω j The attribute name of P(ω j |u) and are two indicator functions of patient u; when the user has feature ω j , indicator function P(ω j |u) is 1, otherwise it is 0; similarly, when the patient has the same characteristics as ω j The attribute name is the same as the feature, then the indicator function The value is 1, otherwise it is 0; P(ω j |Δ) indicates that under the treatment combination Δ, the feature ω j The weight of Δ represents the benchmark set corresponding to the treatment scheme combination Δ; α Δ,u is the matching degree before standardization;
[0033] Module M3.4: Calculate the inspection gain value of each feature based on the matching degree between the patient attribute set and the benchmark set, feature weights, and feature missing conditions The expression is as follows:
[0034]
[0035] in, Represents the treatment regimen combination Δ i The corresponding benchmark set; P(ω|Δ i ) indicates that in the treatment regimen combination Δ i Next, feature ω j The weight of Represents an indicator function; when the condition If the condition is met, the value is 1, otherwise it is 0. The max function converts all negative values to 0 to avoid the influence of the benchmark set with negative matching degree.
[0036] Module M3.5: Check the gain values in descending order, and the list of inspection options corresponding to all feature pairs is the recommended list;
[0037] Module M3.6: Determine the recommended treatment plan for the patient based on the matching degree between the patient attribute set and the benchmark set. When the matching degree is greater than or equal to the preset value, recommend the current treatment plan; when the matching degree is less than the preset value, continue to evaluate the treatment plan combination or recommend the next examination.
[0038] A medical examination recommendation method based on explicit topic allocation technology provided by the present invention includes:
[0039] Step S1: Establish LLDA model;
[0040] Step S2: Using historical cases and treatment plans to train the LLDA model to obtain a trained LLDA model;
[0041] Step S3: Input the patient's current information into the trained LLDA model to obtain the next medical examination option that the patient should undergo and the treatment plan that best matches the patient's current condition.
[0042] Preferably, the step S1 adopts:
[0043] Convert each patient's structured and non-empty attributes into different attribute names and corresponding attribute value features, and use them as words in the LLDA model;
[0044] The set of all characteristics of each patient is used as the document in the LLDA model;
[0045] The treatment plan of each patient is used as a label in the LLDA model.
[0046] Preferably, the step S2 adopts: based on historical cases and treatment plans, the LLDA model is trained using a shrinkage Gibbs sampling strategy.
[0047] Preferably, the step S2 adopts:
[0048] For patient u, each feature ω of patient u i Treatment options u , feature ω i The sampling probability is expressed as:
[0049]
[0050] Among them, i represents the label of the feature; j represents the label of the treatment plan; Indicates that the patient has the characteristic ω i The current topic of all features outside the group; α, β represent the prior probability distribution of “patient-treatment regimen” and “treatment regimen-feature” respectively; V represents the total number of features; K represents the total number of treatment regimens; The characteristic ω that represents the treatment j assignedi The number of represents the number of treatment options j assigned to patient u; Representation feature ω i The prior probability, α j represents the prior probability of treatment option j.
[0051] Preferably, the step S3 adopts:
[0052] Step S3.1: After the LLDA model training is completed, determine different treatment scheme combinations Δ={Λ i |i=1,2,3,…}, the weight ratio of each feature;
[0053] Considering that different treatment options are independent, given a treatment option combination Δ, the Bayesian form of each feature importance P(ω|Δ) is calculated as follows:
[0054]
[0055] Among them, Λ i Represents different treatment options; P(Λ i ) means that in the current combination Δ={Λ i |i=1,2,3,…}, treatment plan Λ i Statistical proportion; P(z=j|Λ i ) represents the indicator function. Considering independence, only when Λ i =j, the value is 1, otherwise it is 0; P(ω|z=j) is the “treatment plan-feature” distribution learned by the LLDA model, and the probability of feature ω when the treatment plan is j;
[0056] Step S3.2: For each treatment combination, use the feature weights to sort the features in descending order, and select the N features with the largest weights to form the benchmark set;
[0057] Step S3.3: Calculate the matching degree s between the target patient's feature set and each benchmark set Δ,u , the expression is as follows:
[0058]
[0059] in, Represents the exclusive OR operator; Representation feature ω j The attribute name of P(ω j |u) and are two indicator functions of patient u; when the user has feature ω j , indicator function P(ω j |u) is 1, otherwise it is 0; similarly, when the patient has the same characteristics as ωj The attribute name is the same as the feature, then the indicator function The value is 1, otherwise it is 0; P(ω j |Δ) means that under the treatment combination Δ, the feature ω j The weight of Δ represents the benchmark set corresponding to the treatment scheme combination Δ; α Δ,u is the matching degree before standardization;
[0060] Step S3.4: Calculate the inspection gain value of each feature based on the matching degree between the patient attribute set and the benchmark set, feature weights, and feature missing conditions The expression is as follows:
[0061]
[0062] in, Represents the treatment regimen combination Δ i The corresponding benchmark set; P(ω|Δ i ) indicates that in the treatment regimen combination Δ i Next, feature ω j The weight of Represents an indicator function; when the condition If the condition is met, the value is 1, otherwise it is 0. The max function converts all negative values to 0 to avoid the influence of the benchmark set with negative matching degree.
[0063] Step S3.5: sort the inspection gain values in descending order, and the inspection option list corresponding to all feature pairs is a recommendation list;
[0064] Step S3.6: Determine the recommended treatment plan for the patient based on the matching degree between the patient attribute set and the benchmark set. When the matching degree is greater than or equal to the preset value, recommend the current treatment plan; when the matching degree is less than the preset value, continue to evaluate the treatment plan combination or recommend the next examination.
[0065] Compared with the prior art, the present invention has the following beneficial effects:
[0066] 1. Convert sparse and diverse patient attributes into features with basic semantics of "attribute name: attribute value" to avoid problems such as missing value processing and sample alignment, and facilitate the assignment of treatment plans to features;
[0067] 2. Break through the situation in which domestic hospitals can only rely on the advice of professional medical staff or follow a unified examination process. Apply the medical data-driven method to the personalized recommendation of the next medical examination, which can serve as an effective reference for doctors' decision-making and reasonably alleviate the problem of tight medical examination resources;
[0068] 3. While recommending medical examination items, it can provide patients with a combination of candidate treatment options and evaluate the compatibility of the combination with the patient's condition;
[0069] 4. At the same time, it can demonstrate the importance of different characteristics under each treatment combination, and provide effective auxiliary information for medical staff to further understand the pathological mechanism. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0071] Figure 1 recommending a flow chart for medical examinations based on explicit topic assignment techniques;
[0072] Figure 2 This is the patient attributes and treatment plan table;
[0073] Figure 3 is the treatment regimen-characteristic distribution table;
[0074] Figure 4 is the combination of treatment options and their benchmark set (Top-3);
[0075] Figure 5 The matching degree between the patient attributes and the benchmark set;
[0076] Figure 6 Check the gain value for each attribute. DETAILED DESCRIPTION
[0077] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several changes and improvements can also be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.
[0078] Embodiment 1:
[0079] The technical problems to be solved by the present invention are embodied in the following aspects:
[0080] (1) Convert sparse and diverse patient attributes into features with basic semantics of “attribute name: attribute value” to avoid problems such as missing value processing and sample alignment, and facilitate the assignment of treatment plans to features;
[0081] (2) Based on the distribution of different treatment options on patient characteristics, determine a benchmark set containing multiple key characteristics under different treatment option combinations;
[0082] (3) Calculate the matching degree between the target patient feature set and the benchmark set, and set penalty measures when there are conflicting features;
[0083] (4) Calculate the gain value of each feature inspection;
[0084] (5) Determine the next inspection based on the gain value.
[0085] Based on the above technical problems, the present invention provides a medical examination recommendation system based on explicit topic allocation technology, comprising:
[0086] Module M1: Establish LLDA model;
[0087] Module M2: Use historical cases and treatment plans to train the LLDA model to obtain the trained LLDA model;
[0088] Module M3: Input the patient’s current information into the trained LLDA model to obtain the next medical examination option that the patient should undergo and the treatment plan that best matches the patient’s current condition.
[0089] Specifically, the module M1 adopts:
[0090] Convert each patient's structured and non-empty attributes into different attribute names and corresponding attribute value features, and use them as words in the LLDA model (label subject model);
[0091] The set of all characteristics of each patient is used as the document in the LLDA model;
[0092] The treatment plan of each patient is used as a label in the LLDA model.
[0093] Specifically, the module M2 adopts: based on historical cases and treatment plans, using a collapsed Gibbs sampling strategy to train the LLDA model.
[0094] Specifically, the module M2 adopts:
[0095] For patient u, each feature ω of patient u i Treatment options u , feature ω i The sampling probability is expressed as:
[0096]
[0097] Among them, i represents the label of the feature; j represents the label of the treatment plan; Indicates that the patient has the characteristic ω iThe current topic of all features outside the group; α, β represent the prior probability distribution of “patient-treatment regimen” and “treatment regimen-feature” respectively; V represents the total number of features; K represents the total number of treatment regimens; The characteristic ω that represents the treatment j assigned i The number of represents the number of treatment options j assigned to patient u; Representation feature ω i The prior probability, α j represents the prior probability of treatment option j.
[0098] In addition, in LLDA, candidate j is strictly restricted by the actual corresponding treatment plan, that is, j can only be selected from the treatment plan of patient u.
[0099] Specifically, the module M3 adopts:
[0100] Module M3.1: After the LLDA model training is completed, determine the different treatment options Δ={Λ i |i=1,2,3,…}, the weight ratio of each feature;
[0101] Considering that different treatment options are independent, given a treatment option combination Δ, the Bayesian form of each feature importance P(ω|Δ) is calculated as follows:
[0102]
[0103] Among them, Λ i Represents different treatment options; P(Λ i ) means that in the current combination Δ={Λ i |i=1,2,3,…}, treatment plan Λ i Statistical proportion; P(z=j|Λ i ) represents the indicator function. Considering independence, only when Λ i =j, the value is 1, otherwise it is 0; P(ω|z=j) is the “treatment plan-feature” distribution learned by the LLDA model, and the probability of feature ω when the treatment plan is j;
[0104] Module M3.2: For each treatment combination, use the feature weights to sort the features in descending order, and select the top-N features with the largest weights to form the benchmark set;
[0105] Module M3.3: Calculate the matching degree s between the target patient's feature set and each benchmark set Δ,u , the expression is as follows:
[0106]
[0107] in, Represents the exclusive OR operator; Representation feature ω j The attribute name of P(ω j |u) and Similar to the indicator function, when the patient has this feature; when the user has the feature ω j , indicator function P(ω j |u) is 1, otherwise it is 0; similarly, when the patient has the same characteristics as ω j The attribute name is the same as the feature, then the indicator function The value is 1, otherwise it is 0; P(ω j |Δ) indicates that under the treatment combination Δ, the feature ω j The weight of Δ represents the benchmark set corresponding to the treatment scheme combination Δ; α Δ,u is the matching degree before standardization;
[0108] Because different attributes have different attribute values, multiple different features can be constructed. When the attribute names are the same but the values are different, the features conflict with each other. Therefore, they should be penalized when calculating the matching degree. The XOR operation in the above expression plays this role. When there is a feature conflict, the XOR result is 1, and the total matching degree is minus the impact of the conflicting feature, that is, minus the weight P(ω) of the conflicting feature. j |Δ), the inspection corresponding to this feature does not need to be repeated;
[0109] Module M3.4: Calculate the inspection gain value of each feature based on the matching degree between the patient attribute set and the benchmark set, feature weights, and feature missing conditions The expression is as follows:
[0110]
[0111] in, Represents the treatment regimen combination Δ i The corresponding benchmark set; P(ω|Δ i ) indicates that in the treatment regimen combination Δ i Next, feature ω j The weight of Represents an indicator function; when the condition If the condition is met, the value is 1, otherwise it is 0. The max function converts all negative values to 0 to avoid the influence of the benchmark set with negative matching degree.
[0112] Module M3.5: Check the gain values in descending order, and the list of inspection options corresponding to all feature pairs is the recommended list;
[0113] Module M3.6: Determine the recommended treatment plan for the patient based on the matching degree between the patient attribute set and the benchmark set. When the matching degree is greater than or equal to the preset value, recommend the current treatment plan; when the matching degree is less than the preset value, continue to evaluate the treatment plan combination or recommend the next examination.
[0114] According to a medical examination recommendation method based on explicit topic allocation technology provided by the present invention, Figure 1 As shown, including:
[0115] Step S1: Establish LLDA model;
[0116] Step S2: Using historical cases and treatment plans to train the LLDA model to obtain a trained LLDA model;
[0117] Step S3: Input the patient's current information into the trained LLDA model to obtain the next medical examination option that the patient should undergo and the treatment plan that best matches the patient's current condition.
[0118] Specifically, the step S1 adopts:
[0119] Convert each patient's structured and non-empty attributes into different attribute names and corresponding attribute value features, and use them as words in the LLDA model (label subject model);
[0120] The set of all characteristics of each patient is used as the document in the LLDA model;
[0121] The treatment plan of each patient is used as a label in the LLDA model.
[0122] Specifically, the step S2 adopts: based on historical cases and treatment plans, using a collapsed Gibbs sampling strategy to train the LLDA model.
[0123] Specifically, the step S2 adopts:
[0124] For patient u, each feature ω of patient u i Treatment options u , feature ω i The sampling probability is expressed as:
[0125]
[0126] Among them, i represents the label of the feature; j represents the label of the treatment plan; Indicates that the patient has the characteristic ω iThe current topic of all features outside the group; α, β represent the prior probability distribution of “patient-treatment regimen” and “treatment regimen-feature” respectively; V represents the total number of features; K represents the total number of treatment regimens; The characteristic ω that represents the treatment j assigned i The number of represents the number of treatment options j assigned to patient u; Representation feature ω i The prior probability, α j represents the prior probability of treatment option j.
[0127] In addition, in LLDA, candidate j is strictly restricted by the actual corresponding treatment plan, that is, j can only be selected from the treatment plan of patient u.
[0128] Specifically, the step S3 adopts:
[0129] Step S3.1: After the LLDA model training is completed, determine different treatment scheme combinations Δ={Λ i |i=1,2,3,…}, the weight ratio of each feature;
[0130] Considering that different treatment options are independent, given a treatment option combination Δ, the Bayesian form of each feature importance P(ω|Δ) is calculated as follows:
[0131]
[0132] Among them, Λ i Represents different treatment options; P(Λ i ) means that in the current combination Δ={Λ i |i=1,2,3,…}, treatment plan Λ i Statistical proportion; P(z=j|Λ i ) represents the indicator function. Considering independence, only when Λ i =j, the value is 1, otherwise it is 0; P(ω|z=j) is the “treatment plan-feature” distribution learned by the LLDA model, and the probability of feature ω when the treatment plan is j;
[0133] Step S3.2: For each treatment combination, use the feature weights to sort the features in descending order, and select the top-N features with the largest weights to form the benchmark set;
[0134] Step S3.3: Calculate the matching degree s between the target patient's feature set and each benchmark set Δ,u , the expression is as follows:
[0135]
[0136] in, Represents the exclusive OR operator; Representation feature ω j The attribute name of P(ω j |u) and Similar to the indicator function, when the patient has this feature; when the user has the feature ω j , indicator function P(ω j |u) is 1, otherwise it is 0; similarly, when the patient has the same characteristics as ω j The attribute name is the same as the feature, then the indicator function The value is 1, otherwise it is 0; P(ω j |Δ) indicates that under the treatment combination Δ, the feature ω j The weight of Δ represents the benchmark set corresponding to the treatment scheme combination Δ; α Δ,u is the matching degree before standardization;
[0137] Because different attributes have different attribute values, multiple different features can be constructed. When the attribute names are the same but the values are different, the features conflict with each other. Therefore, they should be penalized when calculating the matching degree. The XOR operation in the above expression plays this role. When there is a feature conflict, the XOR result is 1, and the total matching degree is minus the impact of the conflicting feature, that is, minus the weight P(w j |Δ), the inspection corresponding to this feature does not need to be repeated.
[0138] Step S3.4: Calculate the inspection gain value of each feature based on the matching degree between the patient attribute set and the benchmark set, feature weights, and feature missing conditions The expression is as follows:
[0139]
[0140] in, Represents the treatment regimen combination Δ i The corresponding benchmark set; P(ω|Δ i ) indicates that in the treatment regimen combination Δ i Next, feature ω j The weight of Represents an indicator function; when the condition If the condition is met, the value is 1, otherwise it is 0. The max function converts all negative values to 0 to avoid the influence of the benchmark set with negative matching degree.
[0141] Step S3.5: sort the inspection gain values in descending order, and the inspection option list corresponding to all feature pairs is a recommendation list;
[0142] Step S3.6: Determine the recommended treatment plan for the patient based on the matching degree between the patient attribute set and the benchmark set. When the matching degree is greater than or equal to the preset value, recommend the current treatment plan; when the matching degree is less than the preset value, continue to evaluate the treatment plan combination or recommend the next examination.
[0143] Embodiment 2:
[0144] Embodiment 2 is a preferred embodiment of Embodiment 1
[0145] Assume that Figure 2 The patient attributes and treatment plan table shown. Based on this information, the next medical examination recommendation and treatment plan combination evaluation method are as follows:
[0146] Step 1: Figure 2 The structured and non-empty attributes of each patient are converted into different "attribute name: attribute value" features, such as u1: {A1: v1, A2: v2, A3: v3}. The elements in the set such as A1: v1 are equivalent to the documents of user u1, and t1 is the treatment plan of u1, which is equivalent to its topic.
[0147] Step 2: Set the initial values of α and β, and randomly assign treatment plans to all features of all patients in step 1. Reassign treatment plans to each feature according to the sampling probability shown below, and repeat this step until the treatment plan for each feature does not change or the change is less than the specified standard. Finally, based on statistics, we can get the following Figure 3 Treatment regimen-characteristic distribution shown.
[0148]
[0149] Step 3: Determine different treatment combinations, such as {(t1), (t2), (t1, t2)}, and calculate the weight ratio of each feature in each combination. In the combination (t1, t2), let P(t1) = P(t2) = 0.5, then an example of feature weight calculation is as follows:
[0150] P('A2:v2'(t1, t2))=0.5*0.6+0.5*0=0.3
[0151] Step 4: For each treatment combination, use the feature weights to sort the features in descending order, select the three features with the largest weights to form the benchmark set, and obtain the following: Figure 4 The treatment regimen combinations and their benchmark sets (top-3) are shown.
[0152] Step 5: Calculate the matching degree s between the target patient's feature set and each benchmark set Δ,u , and get Figure 5The patient attributes are shown in the table that matches the benchmark set, and an example calculation is as follows:
[0153]
[0154] Step 6: Calculate the inspection gain value of each feature based on the matching degree between the patient attribute set and the benchmark set, feature weight, and feature missingness Get as Figure 6 Each property check gain value is shown, and an example calculation is as follows:
[0155]
[0156] Step 7: For the target patient, such as u3, sort the above feature inspection gain values from large to small, and the feature with the largest inspection gain for patient u3 is A1:v1. Therefore, it is recommended Figure 2 The "Inspection 1" corresponding to A1 is used as the next inspection.
[0157] Step 8: Evaluate Figure 5 The matching degree between the patient attributes and the benchmark set shown in the figure shows Therefore, from a statistical point of view, t1 can be directly recommended as the treatment plan for u1. At the same time, based on the current examination results, it can be judged that (t1, t2) is most likely to become the combined treatment mode for u3, because the attribute set of u3 best matches the benchmark set of (t1, t2), with a matching degree of 0.714. If the threshold is set to 0.7, there is no need to do the next step of examination, and (t1, t2) can be directly recommended as the treatment plan. Further analysis shows that the reason why the model recommends u3 to do "Examination 5" is because the results of "Examination 5" can further evaluate whether (t1, t2) is suitable for u3.
[0158] Those skilled in the art know that, in addition to implementing the system, device and its various modules provided by the present invention in a purely computer-readable program code, it is entirely possible to implement the same program in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers and embedded microcontrollers by logically programming the method steps. Therefore, the system, device and its various modules provided by the present invention can be considered as a hardware component, and the modules included therein for implementing various programs can also be considered as structures within the hardware component; the modules for implementing various functions can also be considered as both software programs for implementing the method and structures within the hardware component.
[0159] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art can make various changes or modifications within the scope of the claims, which does not affect the essence of the present invention. In the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily.
Claims
1. A medical examination recommendation system based on explicit topic assignment technology, It is characterized in that include: Module M1: Establish LLDA model; Module M2: Use historical cases and treatment plans to train the LLDA model to obtain the trained LLDA model; Module M3: Input the patient’s current information into the trained LLDA model to obtain the next medical examination option that the patient should undergo and the treatment plan that best matches the patient’s current condition; The module M3 adopts: Module M3.1: After the LLDA model training is completed, determine the combination of different treatment options Next, the weight ratio of each feature; Considering that different treatment options are independent, given a combination of treatment options , the importance of each feature The Bayesian form of is calculated as follows: (2) in, Indicates different treatment options; Indicates that in the current combination Next, treatment plan Statistical proportions; represents the indicator function, considering independence, only when When , the value is 1, otherwise it is 0; The distribution of "treatment plan-feature" learned by the LLDA model, when the treatment plan is Case characteristics The probability of Module M3.2: For each treatment combination, use the feature weights to sort the features in descending order, and select the N features with the largest weights to form the benchmark set; Module M3.3: Calculate the matching degree between the target patient’s feature set and each benchmark set , the expression is as follows: (3) in, Represents the exclusive OR operator; Representation characteristics The attribute name of and For patients Two indicator functions of ; when the user has the feature , indicator function is 1, otherwise it is 0; similarly, when the patient has The attribute name is the same as the feature, then the indicator function The value is 1, otherwise it is 0; Indicated in the treatment regimen combination Next, Features The weight of Indicates treatment regimen combination The corresponding benchmark set; is the matching degree before standardization; Module M3.4: Calculate the inspection gain value of each feature based on the matching degree between the patient attribute set and the benchmark set, feature weights, and feature missing conditions , the expression is as follows: (4) in, Indicates treatment regimen combination The corresponding benchmark set; Indicated in the treatment regimen combination Next, Features The weight of Represents an indicator function; when the condition If the condition is met, the value is 1, otherwise it is 0. The max function converts all negative values to 0 to avoid the influence of the benchmark set with negative matching degree. Module M3.5: Check the gain values in descending order, and the list of inspection options corresponding to all feature pairs is the recommended list; Module M3.6: Determine the recommended treatment plan for the patient based on the matching degree between the patient attribute set and the benchmark set. When the matching degree is greater than or equal to the preset value, recommend the current treatment plan; when the matching degree is less than the preset value, continue to evaluate the treatment plan combination or recommend the next examination.
2. The medical examination recommendation system based on explicit topic allocation technology according to claim 1, It is characterized in that The module M1 adopts: Convert each patient's structured and non-empty attributes into different attribute names and corresponding attribute value features, and use them as words in the LLDA model; The set of all characteristics of each patient is used as the document in the LLDA model; The treatment plan of each patient is used as a label in the LLDA model.
3. The medical examination recommendation system based on explicit topic allocation technology according to claim 2, It is characterized in that The module M2 adopts: based on historical cases and treatment plans, using a shrinkage Gibbs sampling strategy to train the LLDA model.
4. The medical examination recommendation system based on explicit topic allocation technology according to claim 3, It is characterized in that The module M2 adopts: For patients ,patient Each feature of Treatment options ,feature The sampling probability is expressed as: (1) in, A label indicating a feature; Indicates the treatment plan number; Indicates that the patient has All features outside the current theme; , represent the prior probability distribution of "patient-treatment regimen" and "treatment regimen-feature" respectively; Indicates the total number of features; represents the total number of treatment options; Indicates that a treatment plan has been assigned Features The number of Indicates for patients ,patient Attributes are assigned to treatment options The number of Representation characteristics The prior probability of Indicates treatment options The prior probability of .
5. A medical examination recommendation method based on explicit topic assignment technology, It is characterized in that include: Step S1: Establish LLDA model; Step S2: Using historical cases and treatment plans to train the LLDA model to obtain a trained LLDA model; Step S3: Input the patient's current information into the trained LLDA model to obtain the next medical examination option that the patient should undergo and the treatment plan that best matches the patient's current condition; The step S3 adopts: Step S3.1: After the LLDA model training is completed, determine the different treatment options Next, the weight ratio of each feature; Considering that different treatment options are independent, given a combination of treatment options , the importance of each feature The Bayesian form of is calculated as follows: (2) in, Indicates different treatment options; Indicates that in the current combination Next, treatment plan Statistical proportions; represents the indicator function, considering independence, only when When , the value is 1, otherwise it is 0; The distribution of "treatment plan-feature" learned by the LLDA model, when the treatment plan is Case characteristics probability; Step S3.2: For each treatment combination, use the feature weights to sort the features in descending order, and select the N features with the largest weights to form the benchmark set; Step S3.3: Calculate the matching degree between the target patient's feature set and each benchmark set , the expression is as follows: (3) in, Represents the exclusive OR operator; Representation characteristics The attribute name of and For patients Two indicator functions of ; when the user has the feature , indicator function is 1, otherwise it is 0; similarly, when the patient has The attribute name is the same as the feature, then the indicator function The value is 1, otherwise it is 0; Indicated in the treatment regimen combination Next, Features The weight of Indicates treatment regimen combination The corresponding benchmark set; is the matching degree before standardization; Step S3.4: Calculate the inspection gain value of each feature based on the matching degree between the patient attribute set and the benchmark set, feature weights, and feature missing conditions , the expression is as follows: (4) in, Indicates treatment regimen combination The corresponding benchmark set; Indicated in the treatment regimen combination Next, Features The weight of Represents an indicator function; when the condition If the condition is met, the value is 1, otherwise it is 0. The max function converts all negative values to 0 to avoid the influence of the benchmark set with negative matching degree. Step S3.5: sort the inspection gain values in descending order, and the inspection option list corresponding to all feature pairs is a recommendation list; Step S3.6: Determine the recommended treatment plan for the patient based on the matching degree between the patient attribute set and the benchmark set. When the matching degree is greater than or equal to the preset value, recommend the current treatment plan; when the matching degree is less than the preset value, continue to evaluate the treatment plan combination or recommend the next examination.
6. The medical examination recommendation method based on explicit topic allocation technology according to claim 5, It is characterized in that The step S1 adopts: Convert each patient's structured and non-empty attributes into different attribute names and corresponding attribute value features, and use them as words in the LLDA model; The set of all characteristics of each patient is used as the document in the LLDA model; The treatment plan of each patient is used as a label in the LLDA model.
7. The medical examination recommendation method based on explicit topic allocation technology according to claim 6, It is characterized in that The step S2 adopts: based on historical cases and treatment plans, the LLDA model is trained using a shrinkage Gibbs sampling strategy.
8. The medical examination recommendation method based on explicit topic allocation technology according to claim 7, It is characterized in that The step S2 adopts: For patients ,patient Each feature of Treatment options ,feature The sampling probability is expressed as: (1) in, A label indicating a feature; Indicates the treatment plan number; Indicates that the patient has All features outside the current theme; , represent the prior probability distribution of "patient-treatment regimen" and "treatment regimen-feature" respectively; Indicates the total number of features; represents the total number of treatment options; Indicates that a treatment plan has been assigned Features The number of Indicates for patients ,patient Attributes are assigned to treatment options The number of Representation characteristics The prior probability of Indicates treatment options The prior probability of .
