Biliary tract malignant tumor medical aid decision-making method and system fused with GPT algorithm
By integrating the GPT algorithm and diagnosis and treatment plan evaluation model, combined with the latest research results and gene mutation tolerance, the problem of insufficient timely application of genomic research results in the treatment of biliary malignant tumors has been solved, and the efficient formulation of personalized treatment plans and clinical decision-making have been achieved. support.
Patent Information
- Application Number
- CN202410722712.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-05
- Publication Date
- 2024-09-27
AI Technical Summary
In the existing treatment strategies for biliary malignant tumors, clinical guideline-dependent decision support systems are difficult to timely integrate the latest genomics research results and individual heterogeneity, resulting in difficulty in optimizing treatment plans, especially the insufficient application of specific gene mutations.
Adopting a medical auxiliary decision-making method for biliary malignant tumors that integrates the GPT algorithm, it builds a diagnosis and treatment plan evaluation model by acquiring and standardizing clinical records and research data, and combines the latest research results and gene mutation tolerance to iteratively update the diagnosis and treatment plan to provide personalized treatment plan.
It improves the efficiency of formulating treatment plans for biliary malignant tumors, ensures the timely application of the latest research results and the accuracy of individualized treatment plans, and improves clinicians' decision-making support capabilities.
Smart Images

Figure CN118711792A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of biliary malignant tumors, and in particular to a medical auxiliary decision-making method and system for biliary malignant tumors integrating a GPT algorithm. Background Art
[0002] In the formulation of treatment strategies for biliary malignancies, current practice closely follows clinical guidelines, matching standard treatment plans based on the patient's clinical manifestations and preliminary genetic test results. Although this process integrates basic genomic information and clinical experience, it has significant defects. Among them, the guideline-dependent decision support system is mainly based on previous research and consensus, and the consideration of the rapidly evolving genomic evolution [e.g., changes in drug-resistant genes] and the high heterogeneity between individual primary and metastatic lesions [e.g., co-mutations] is insufficient. In particular, the latest research results on specific gene variants such as NTRK fusion, MSI-H / dMMR status, FGFR2 fusion, IDH1 mutation, KRAS mutation, etc. are often not immediately integrated into clinical decision-making for first-line treatment. In addition, although public databases such as PubMed contain a large amount of potentially useful gene mutation subtype research data, their quality is uneven and there is a lack of effective integration mechanisms, which makes it difficult for clinicians to accurately evaluate and apply these data to optimize patient treatment pathways. Summary of the invention
[0003] Based on this, it is necessary to provide a medical decision-making assistance method and system for biliary malignancies that integrates the GPT algorithm to address the problems that the latest research results are often not immediately integrated into clinical decision-making, the quality of clinical data is uneven, and there is a lack of effective integration mechanisms, which makes it difficult for clinicians to accurately evaluate and apply these data to optimize patient treatment pathways.
[0004] The present application provides a method and system for medical decision-making assistance for biliary malignancies integrating a GPT algorithm, including:
[0005] Acquiring sample data of a plurality of samples, wherein the sample data includes clinical case record data and / or research data;
[0006] Standardizing clinical medical record data and / or research data to obtain standard clinical medical record data and / or standard research data;
[0007] Create a diagnosis and treatment plan evaluation model;
[0008] Construct a comprehensive reward function for the diagnosis and treatment plan evaluation model, and use the diagnosis and treatment plan in each sample data as training data to train the diagnosis and treatment plan evaluation model, so as to maximize the comprehensive reward score output by the comprehensive reward function during the training process;
[0009] Create a GPT suggestion model;
[0010] The treatment plan output by the treatment plan evaluation model is actually applied or simulated in a virtual environment, thereby obtaining the status of the treatment plan before and after the actual application, so as to update the treatment decision iteration network of the GPT recommendation model;
[0011] Get question and answer sentences;
[0012] Input the question and answer sentences into the GPT suggestion model, control the GPT suggestion model to perform semantic understanding on the question and answer sentences, and extract characteristic keywords in the question and answer sentences;
[0013] Matching characteristic keywords in the question and answer sentences with diagnosis and treatment plans to obtain multiple alternative diagnosis and treatment plans that match the question and answer sentences;
[0014] Input multiple alternative treatment plans that match the question and answer statements into the treatment plan evaluation model, start the treatment plan evaluation model, obtain multiple target treatment plans output by the treatment plan evaluation model, and output the optimal target treatment plan.
[0015] The present application relates to a medical decision-making assistance method and system for biliary malignant tumors that integrates a GPT algorithm. The acquired sample data is first standardized, and then a diagnosis and treatment plan evaluation model is constructed. Specifically, the sample data of each sample is evaluated through a comprehensive reward function in the diagnosis and treatment plan evaluation model. The comprehensive reward function is continuously adjusted in multiple aspects and multiple levels through multiple sample data to make the comprehensive reward function more stable in evaluating the diagnosis and treatment plan that follows the sample data. In the process of adjusting the comprehensive reward function, not only clinical case data is combined at the macro level, but also the latest research or scientific research results in this field are integrated into the direction of adjustment. At the micro level, gene mutation tolerance and co-mutation are combined to improve the parameters in the comprehensive reward function, so that the diagnosis and treatment plan evaluation model will be continuously iterated and updated to improve the efficiency of formulating personalized treatment plans for biliary malignant tumors. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A flow chart of a method and system for medical decision-making support for malignant biliary tumors that incorporates a GPT algorithm provided in one embodiment of the present application. DETAILED DESCRIPTION
[0017] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0018] like Figure 1As shown, in one embodiment of the present application, the medical auxiliary decision-making method for biliary malignancies integrating the GPT algorithm includes the following S001 to S010:
[0019] S001, obtaining sample data of multiple samples, wherein the sample data includes clinical medical record data and / or research data.
[0020] S002, standardize the clinical medical record data and / or research data to obtain standard clinical medical record data and / or standard research data.
[0021] Specifically, by establishing a standard database or a standard dictionary, a correspondence is established between the clinical medical record data and / or research data in the sample data of the acquired sample and the standard database or standard dictionary, and then the data in the standard database or standard dictionary are replaced at the position in the sample data where the correspondence is established, so that the clinical medical record data and / or research data in the sample data are completely replaced by the data in the standard database or standard dictionary, thereby obtaining standard clinical medical record data and / or standard research data.
[0022] S003, create a diagnosis and treatment plan evaluation model.
[0023] S004, constructing a comprehensive reward function for the diagnosis and treatment plan evaluation model, and using the diagnosis and treatment plan in each sample data as training data to train the diagnosis and treatment plan evaluation model, so as to maximize the comprehensive reward score output by the comprehensive reward function during the training process.
[0024] Specifically, the comprehensive reward function is constructed based on the physical signs extracted from the standard clinical medical record data and / or standard research data, and is used to evaluate each standard clinical medical record data and / or standard research data. The comprehensive reward function integrates influencing factors in multiple directions to make the evaluation results more comprehensive and stable.
[0025] S005, create a GPT suggestion model.
[0026] S006, the treatment plan output by the treatment plan evaluation model is actually applied or simulated in a virtual environment, so as to obtain the status of the treatment plan before and after the actual application, so as to update the treatment decision iterative network of the GPT recommendation model.
[0027] Specifically, by implementing or simulating the diagnosis and treatment plan, we can obtain the changes in the case status before and after the implementation of the diagnosis and treatment plan. By refining the impact of each step of change, we can trace back the adjustments to the generated diagnosis and treatment plan. This also involves multi-faceted and multi-level supplementation or adjustment.
[0028] S007, obtain question and answer sentences.
[0029] S008, input the question and answer sentence into the GPT suggestion model, control the GPT suggestion model to perform semantic understanding on the question and answer sentence, and extract characteristic keywords in the question and answer sentence.
[0030] S009, matching the characteristic keywords in the question and answer statements with the diagnosis and treatment plans, and obtaining a plurality of alternative diagnosis and treatment plans that match the question and answer statements.
[0031] S010, input multiple alternative treatment plans that match the question and answer statements into the treatment plan evaluation model, start the treatment plan evaluation model, obtain multiple target treatment plans output by the treatment plan evaluation model, and output the optimal target treatment plan.
[0032] Specifically, by fusing multiple sample data to supplement or adjust the reward function, new scientific research results are introduced or new clinical medical record data is added to continuously improve the treatment plan evaluation model and the GPT recommendation model. On this basis, based on the question-answering function of GPT, the key features of the input speech segment are extracted, and the key features are matched with the treatment plan. The treatment plan evaluation model is started to evaluate the matched treatment plan, and the best evaluation result is output as the target treatment plan.
[0033] In one embodiment of the present application, the standardization of clinical medical record data and / or research data to obtain standard clinical medical record data and / or standard research data includes the following S002a to S002d:
[0034] S002a, select sample data of a sample.
[0035] S002b, parsing the sample data to obtain clinical medical record data and / or research data in the sample data, wherein the clinical medical record data includes clinical basic information data, clinical medication data, and clinical side effect data; the research data includes research basic information data, research medication data, and research side effect data; the clinical basic information data includes at least one gene mutation type and the specific site corresponding to each mutation type.
[0036] S002c, standardize the clinical medical record data and / or research data to obtain standard clinical medical record data and / or standard research data.
[0037] S002d, returning the sample data of the selected sample until the sample data of each sample has been selected once.
[0038] Specifically, basic clinical information data refers to personal information data including age, gene mutation data, gender, and medical history; clinical medical record data refers to case data formed through long-term and multiple treatments during the actual treatment of biliary malignancies; research data refers to data published by laboratories conducting scientific research on biliary malignancies or data on treatment results published in academic papers and journals; standardization of clinical medical record data and / or research data refers to the use of unified names and text types to save time and improve efficiency when processing large amounts of data.
[0039] In one embodiment of the present application, the comprehensive reward function of the diagnosis and treatment scheme evaluation model is constructed, and the diagnosis and treatment scheme in each sample data is used as training data to train the diagnosis and treatment scheme evaluation model, so that the comprehensive reward score output by the comprehensive reward function is maximized during the training process, including the following S004a to S004c:
[0040] S004a, create a diagnosis and treatment plan evaluation model.
[0041] S004b, construct a comprehensive reward function for the diagnosis and treatment plan evaluation model based on the medical guideline compliance data dimension, individual difference data dimension, gene mutation matching data dimension, medical guideline compliance reward data dimension and side effect data dimension.
[0042] S004c, importing the sample data of each sample as training data into the diagnosis and treatment plan evaluation model and training the diagnosis and treatment plan evaluation model, and continuously optimizing the weights of the medical guideline compliance dimension, individual difference dimension, gene mutation matching dimension, side effect dimension, medical guideline compliance reward data dimension, and nonlinear reward and punishment dimension in the reward function through the sample data of each sample during the training process, so as to maximize the comprehensive reward score output by the comprehensive reward function.
[0043] Specifically, the medical guideline compliance data dimension refers to the degree of compliance with the medical guidelines formulated for biliary malignancies during a diagnosis and treatment process, including medication and pathology, which can be obtained by querying the medical guidelines for comparison; the individual difference data dimension refers to the age, gender, physical data and medical history of the case; the gene mutation matching dimension refers to whether the accurate gene mutation point is hit during the diagnosis and treatment process; the side effect dimension refers to the changes in the physical condition of the case itself caused by the diagnosis and treatment process; the medical guideline compliance reward data dimension refers to setting different rewards for different degrees of compliance with medical guidelines; the non-linear reward and punishment dimension refers to the reward and punishment items for side effect risks. When the side effects exceed a certain level, the non-linear reward and punishment dimension is a punishment item, and when the side effects are less than a certain level, the non-linear reward and punishment dimension is a reward item.
[0044] In this embodiment, a reward function is established through five dimensions, namely, medical guideline compliance dimension, individual difference dimension, gene mutation matching dimension, side effect dimension, medical guideline compliance reward data dimension, and non-linear reward and punishment dimension, and weights are set for the five dimensions respectively. The weights of the medical guideline compliance dimension, individual difference dimension, gene mutation matching dimension, side effect dimension, medical guideline compliance reward data dimension, and non-linear reward and punishment dimension in the reward function are continuously optimized through the sample data of each sample to maximize the comprehensive reward score output by the comprehensive reward function.
[0045] In one embodiment of the present application, the comprehensive reward function of the diagnosis and treatment scheme evaluation model based on the medical guideline compliance dimension, the individual difference dimension, the gene mutation matching dimension, the side effect dimension, the medical guideline compliance reward data dimension and the nonlinear reward and punishment dimension includes the following S041:
[0046] S041, constructing an expression of a comprehensive reward function of a diagnosis and treatment plan evaluation model based on the medical guideline compliance data dimension, the individual difference data dimension, the gene mutation matching data dimension, the medical guideline compliance reward data dimension, and the side effect data dimension. The expression of the comprehensive reward function of the diagnosis and treatment plan evaluation model is shown in Formula 1;
[0047]
[0048] Among them, R is the comprehensive reward score of the treatment plan output by the expression of the comprehensive reward function of the treatment plan evaluation model; G is the degree of compliance with medical guidelines; is the score calculated based on the exponential function of G; G base is the benchmark value for compliance with medical guidelines; G is the standard deviation of medical guideline compliance; G min is the minimum medical guideline compliance threshold, max(0,G min -G) is the score calculated based on the penalty exponential function of G; 1-e -M is the bonus score for gene mutation matching; M is the bonus score for gene mutation matching; P i (Age, Gender) is the individual difference score; P side is the score of side effects; ω1 is the weight of medical guideline compliance, ω2 is the weight of medical guideline compliance reward data dimension, ω3 is the weight of gene mutation matching data dimension, ω4 is the weight of individual difference data dimension, and ω5 is the weight of side effect data dimension.
[0049] Specifically, G. baseis the medical guideline compliance benchmark value, which is used to compare with the current medical guideline compliance G. This benchmark value is defined or given based on historical data, standard guidelines or expert advice and is a constant; σ G is the standard deviation of medical guideline compliance, which is used to measure the dispersion of compliance data.
[0050] In this embodiment, a comprehensive reward function of the treatment plan evaluation model is created based on data from the medical guideline compliance data dimension, data from the individual difference data dimension, data from the gene mutation matching data dimension, data from the medical guideline compliance reward data dimension, and data from the side effect data dimension.
[0051] In one embodiment of the present application, the comprehensive reward function of the diagnosis and treatment scheme evaluation model is constructed, and the diagnosis and treatment scheme in each sample data is used as training data to train the diagnosis and treatment scheme evaluation model, so that the comprehensive reward score output by the comprehensive reward function is maximized during the training process, and also includes the following S004d to S004e:
[0052] S004d, constructing a loss function of the diagnosis and treatment plan evaluation model, and in the process of constructing the loss function of the diagnosis and treatment plan evaluation model, coupling the comprehensive reward function of the diagnosis and treatment plan evaluation model into the loss function of the diagnosis and treatment plan evaluation model, wherein the expression of the loss function of the diagnosis and treatment plan evaluation model is shown in Formula 2;
[0053]
[0054] Among them, L(θ) is the result output by the expression of the loss function; π θ The diagnosis and treatment strategies currently being used; As the benchmark diagnosis and treatment strategy; a t The current diagnosis and treatment plan; t is the current status of the case; ε t is the adjustment parameter, and ε t Greater than 0; For t In the state, take a t The change in expected benefit brought by the action; t is the state number; π θ (a t |s t ) is when the current diagnosis and treatment strategy is used in state s t Under the condition of a t The probability of When the baseline treatment strategy is used, the state is s t Under the condition of a t probability.
[0055] S004e, the sample data of all samples are brought into Formula 2, and the weight of the medical guideline compliance, the weight of the individual difference data dimension, the weight of the gene mutation matching data dimension, the weight of the medical guideline compliance reward data dimension, and the weight of the side effect data dimension are continuously adjusted, so as to minimize the value of the loss function output by Formula 2 after the sample data of all samples are substituted into Formula 2.
[0056] Specifically, the loss function of the diagnosis and treatment plan evaluation model refers to a function that fine-tunes the reward function of the diagnosis and treatment plan evaluation model through the influence relationship between different sample data, so as to help the reward function to be rationalized while maximizing the value output by the reward function; Used to compare and evaluate the performance of current treatment strategies against benchmark treatment strategies.
[0057] In this embodiment, a loss function is introduced into the comprehensive reward function of the diagnosis and treatment plan evaluation model. The weight of the medical guideline compliance, the weight of the individual difference data dimension, the weight of the gene mutation matching data dimension, the weight of the medical guideline compliance reward data dimension, and the weight of the side effect data dimension in the comprehensive reward function of the diagnosis and treatment plan evaluation model are adjusted through the loss function, and the loss function is trained with a large amount of sample data to minimize the value of the loss function.
[0058] In one embodiment of the present application, the sample data of all samples are brought into Formula 2, and at the same time, the weight of the medical guideline compliance, the weight of the individual difference data dimension, the weight of the gene mutation matching data dimension, the weight of the medical guideline compliance reward data dimension, and the weight of the side effect data dimension are continuously adjusted, so that the value of the loss function output by Formula 2 is minimized after the sample data of all samples are substituted into Formula 2, including the following S401 to S406:
[0059] S401, setting the number of iterations I, where the initial value of I is 0.
[0060] S402, constructing a weight iteration formula, the weight iteration formula is shown in Formula 3;
[0061]
[0062] in, is the updated weight value; ω i is the current weight value; α is the step size of weight adjustment; N is the total number of all diagnosis and treatment plans; n is the serial number of the sample; F n is the multi-dimensional feedback value of the nth diagnosis and treatment plan; R n (ω) is the sum of the comprehensive reward scores of N diagnosis and treatment plans; R i,nis the comprehensive reward score of the nth diagnosis and treatment party at the i-th weight; when i is 1, is the weight of the adjusted medical guideline compliance dimension; when i is 2, is the weight of the adjusted medical guideline compliance reward. When i is 3, is the weight of the adjusted gene mutation matching dimension; when i is 4, is the adjusted individual difference dimension weight; when i is 5, is the weight of the adjusted side effect dimension.
[0063] S403, substitute the standard clinical medical record data and / or standard research data of all N initial diagnosis and treatment plans into Formula 3, and adjust ω1, ω2, ω3, ω4 and ω5 once each.
[0064] S404, add 1 to the original value of I.
[0065] S405, returning to the step of substituting the standard clinical medical record data and / or standard research data of all N initial diagnosis and treatment plans into Formula 3, adjusting ω1, ω2, ω3, ω4 and ω5 once each, until the weight adjustment termination condition is reached.
[0066] S406, the termination condition is as shown in Formula 4;
[0067]
[0068] Where, I is the current iteration number; I max is the preset maximum number of iterations; is the sum of iterated ω1, iterated ω2 and iterated ω3, is the sum of ω1 before iteration, ω2 before iteration and ω3 before iteration, and δ is the preset weight and threshold.
[0069] Specifically, in the process of adjusting the weight of medical guideline compliance, the weight of individual difference data dimension, the weight of gene mutation matching data dimension, the weight of medical guideline compliance reward data dimension and the weight of side effect data dimension in the reward function using sample data, a termination condition is set so that the weight of medical guideline compliance, the weight of individual difference data dimension, the weight of gene mutation matching data dimension, the weight of medical guideline compliance reward data dimension and the weight of side effect data dimension in the reward function can reach the final adjustment result.
[0070] In this embodiment, the adjustment is terminated when any one of the number of iterations and the change in the weight before and after is achieved.
[0071] In one embodiment of the present application, before substituting the standard clinical medical record data and / or standard research data of all N first diagnosis and treatment plans into Formula 3 and adjusting ω1, ω2, ω3, ω4 and ω5 once respectively, it also includes: determining whether the sample data is updated;
[0072] If there is no update in the sample data, substitute the standard clinical medical record data and / or standard research data of all N first diagnosis and treatment plans into Formula 3, and adjust ω1, ω2, ω3, ω4 and ω5 once each.
[0073] If the sample data is updated, substitute all updated standard clinical medical record data and / or standard research data of the N first diagnosis and treatment plans into Formula 3, and adjust ω1, ω2, ω3, ω4 and ω5 once each.
[0074] Specifically, the sample data is relatively large, and when the sample data is updated or supplemented with new data, which may be clinical medical record data or research data, first, the adjustment of ω1, ω2 and ω3 is based on the existing sample data, and each sample data adjusts ω1, ω2 and ω3 once, until each sample data has adjusted ω1, ω2 and ω3 once, then the obtained loss function value tends to be minimum, and when the sample data is supplemented, it is necessary to adjust ω1, ω2 and ω3 again based on the existing adjusted ω1, ω2 and ω3 using the supplemented sample data.
[0075] In this embodiment, ω1, ω2 and ω3 are adjusted in real time and in a timely manner so that the loss function is at the optimal solution with the minimum score, thereby ensuring the maximization of the score of the reward function.
[0076] In one embodiment of the present application, the sample data of all samples are brought into Formula 2, and the weight of the medical guideline compliance, the weight of the individual difference data dimension, the weight of the gene mutation matching data dimension, the weight of the medical guideline compliance reward data dimension, and the weight of the side effect data dimension are continuously adjusted, so that the value of the loss function output by Formula 2 is minimized after the sample data of all samples are substituted into Formula 2, and also includes the following S041e:
[0077] S041e, according to formula 5, the ε used in this iteration t Fine-tune and obtain the ε used in this iteration t+1 ;
[0078]
[0079] Among them, ε t is the adjustment parameter before iteration; ε t+1is the adjustment parameter after iteration; η is the learning rate; ΔR t is the difference between the reward value before iteration and the reward value after iteration; σ(R t ) is the standard deviation of the reward value; θ is the set threshold.
[0080] Specifically, σ(R t ) is the standard deviation of the reward value; it is used to normalize the reward difference. σ(R t ) reflects the fluctuation of rewards, through σ(R t ) Normalization can avoid ΔR t The absolute value of is too large, which affects the update of the adjustment parameters; θ is the set threshold; the set threshold is used to judge If If it is greater than θ, the sign function returns 1, indicating that the reward difference is large; otherwise, it returns -1 or 0, indicating that the reward difference is small or unchanged; in the loss function (1-ε t , 1+ε t ) is used to limit In (1-ε t , 1+ε t ) range, according to the clinical situation of different diagnosis and treatment plans, ε t Adjustments are made to help the update of the loss function to varying degrees depending on the clinical situation of the treatment plan, thereby more flexibly adjusting the learning step size, improving learning efficiency while ensuring learning stability.
[0081] In one embodiment of the present application, the sample data of all samples are brought into Formula 2, and at the same time, the weight of the medical guideline compliance, the weight of the individual difference data dimension, the weight of the gene mutation matching data dimension, the weight of the medical guideline compliance reward data dimension, and the weight of the side effect data dimension are continuously adjusted, so that the value of the loss function output by Formula 2 is minimized after the sample data of all samples are substituted into Formula 2, and also includes S042e:
[0082] S042e, fine-tuning the loss function used in this iteration according to Formula 6 to obtain the loss function used in this iteration;
[0083] L(θ) new =L(θ) old +λ·E t Formula 6;
[0084] Where L(θ) new is the updated loss function; L(θ) old is the loss function before updating; λ is the weight of exploration reward; E t Assign a score to the rarity of treatment recommendations.
[0085] Concrete, E t It can be obtained through the judgment of the attending physician, and the exploration reward is used to encourage the exploration of new and effective diagnosis and treatment plans and to provide or discover new possibilities.
[0086] In this embodiment, reward items are set for the novelty of the diagnosis and treatment plan, thereby helping to explore the local optimal solution or the possibility of a broader diagnosis and treatment plan.
[0087] In one embodiment of the present application, the sample data of all samples are brought into Formula 2, and at the same time, the weight of the medical guideline compliance, the weight of the individual difference data dimension, the weight of the gene mutation matching data dimension, the weight of the medical guideline compliance reward data dimension, and the weight of the side effect data dimension are continuously adjusted, so that the value of the loss function output by Formula 2 is minimized after the sample data of all samples are substituted into Formula 2, and also includes S043e:
[0088] S043e, updating the loss function in this iteration according to Formula 7 to obtain the loss function used in this iteration;
[0089]
[0090] Among them, w t is an exponential function; L(θ) old is the loss function used before updating; L(θ) new is the loss function used after updating.
[0091] Specifically, w t is a function based on clinical indicators;
[0092] w t =exp(-α(1-N t )-β(1-I t ))
[0093] Among them, N t is the predicted probability of survival rate; I t is the score of improvement in the physical condition of the case; α is the weight of the predicted probability of survival; β is the weight of the score of improvement in the physical condition of the case.
[0094] In this embodiment, the clinical indicators of the case are obtained after using the diagnosis and treatment plan, and the weight factors are set by obtaining the clinical indicators of the case, and the loss function is further adjusted to obtain an updated loss function to improve the accuracy of the loss function.
[0095] The technical features of the above-described embodiments may be arbitrarily combined, and the execution order of the method steps is not limited. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0096] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A medical decision-making aid method for biliary malignancies integrating the GPT algorithm, characterized in that: The medical aid decision-making method for biliary malignancies integrated with the GPT algorithm includes: Acquiring sample data of a plurality of samples, wherein the sample data includes clinical case record data and / or research data; Standardizing clinical medical record data and / or research data to obtain standard clinical medical record data and / or standard research data; Create a diagnosis and treatment plan evaluation model; Construct a comprehensive reward function for the diagnosis and treatment plan evaluation model, and use the diagnosis and treatment plan in each sample data as training data to train the diagnosis and treatment plan evaluation model, so as to maximize the comprehensive reward score output by the comprehensive reward function during the training process; Create a GPT suggestion model; The treatment plan output by the treatment plan evaluation model is actually applied or simulated in a virtual environment, thereby obtaining the status of the treatment plan before and after the actual application, so as to update the treatment decision iteration network of the GPT recommendation model; Get question and answer sentences; Input the question and answer sentences into the GPT suggestion model, control the GPT suggestion model to perform semantic understanding on the question and answer sentences, and extract characteristic keywords in the question and answer sentences; Matching characteristic keywords in the question and answer sentences with diagnosis and treatment plans to obtain multiple alternative diagnosis and treatment plans that match the question and answer sentences; Input multiple alternative treatment plans that match the question and answer statements into the treatment plan evaluation model, start the treatment plan evaluation model, obtain multiple target treatment plans output by the treatment plan evaluation model, and output the optimal target treatment plan.
2. The medical aid decision-making method for biliary malignancies integrated with the GPT algorithm according to claim 1 is characterized in that: The standardization of clinical medical record data and / or research data to obtain standard clinical medical record data and / or standard research data includes: Select a sample of sample data; Parsing the sample data to obtain clinical medical record data and / or research data in the sample data, wherein the clinical medical record data includes clinical basic information data, clinical medication data, and clinical side effect data; the research data includes research basic information data, research medication data, and research side effect data; the clinical basic information data includes at least one gene mutation type and a specific site corresponding to each mutation type; Standardizing clinical medical record data and / or research data to obtain standard clinical medical record data and / or standard research data; The sample data of the selected sample is returned until the sample data of each sample has been selected once.
3. The medical aid decision-making method for biliary malignancies integrated with the GPT algorithm according to claim 2 is characterized in that: The comprehensive reward function of the diagnosis and treatment scheme evaluation model is constructed, and the diagnosis and treatment scheme in each sample data is used as training data to train the diagnosis and treatment scheme evaluation model, so that the comprehensive reward score output by the comprehensive reward function is maximized during the training process, including: Create a diagnosis and treatment plan evaluation model; A comprehensive reward function for the diagnosis and treatment plan evaluation model is constructed based on the medical guideline compliance data dimension, individual difference data dimension, gene mutation matching data dimension, medical guideline compliance reward data dimension, and side effect data dimension; The sample data of each sample is imported into the diagnosis and treatment plan evaluation model as training data and the diagnosis and treatment plan evaluation model is trained. During the training process, the weights of the medical guideline compliance dimension, individual difference dimension, gene mutation matching dimension, side effect dimension, medical guideline compliance reward data dimension and nonlinear reward and punishment dimension in the reward function are continuously optimized through the sample data of each sample to maximize the comprehensive reward score output by the comprehensive reward function.
4. The medical aid decision-making method for biliary malignancies integrated with the GPT algorithm according to claim 3 is characterized in that: The comprehensive reward function of the diagnosis and treatment plan evaluation model based on the medical guideline compliance dimension, the individual difference dimension, the gene mutation matching dimension, the side effect dimension, the medical guideline compliance reward data dimension and the nonlinear reward and punishment dimension includes: An expression of a comprehensive reward function of a diagnosis and treatment scheme evaluation model is constructed based on the medical guideline compliance data dimension, the individual difference data dimension, the gene mutation matching data dimension, the medical guideline compliance reward data dimension, and the side effect data dimension. The expression of the comprehensive reward function of the diagnosis and treatment scheme evaluation model is shown in Formula 1. Among them, R is the comprehensive reward score of the treatment plan output by the expression of the comprehensive reward function of the treatment plan evaluation model; G is the degree of compliance with medical guidelines; is the score calculated based on the exponential function of G; G base is the benchmark value for compliance with medical guidelines; G is the standard deviation of medical guideline compliance; G min is the minimum medical guideline compliance threshold; max(0,G min -G) is the score calculated based on the penalty exponential function of G; 1-e -M is the bonus score for gene mutation matching; M is the bonus score for gene mutation matching; P i (Age, Gender) is the individual difference score; P side is the score of side effects; ω1 is the weight of medical guideline compliance; ω2 is the weight of the medical guideline compliance reward data dimension; ω3 is the weight of the gene mutation matching data dimension; ω4 is the weight of the individual difference data dimension; ω5 is the weight of the side effect data dimension.
5. The medical aid decision-making method for biliary malignancies integrated with the GPT algorithm according to claim 4 is characterized in that: The method of constructing a comprehensive reward function of the diagnosis and treatment scheme evaluation model and using the diagnosis and treatment scheme in each sample data as training data to train the diagnosis and treatment scheme evaluation model so as to maximize the comprehensive reward score output by the comprehensive reward function during the training process also includes: Constructing a loss function of the diagnosis and treatment plan evaluation model, and coupling the comprehensive reward function of the diagnosis and treatment plan evaluation model into the loss function of the diagnosis and treatment plan evaluation model in the process of constructing the loss function of the diagnosis and treatment plan evaluation model. The expression of the loss function of the diagnosis and treatment plan evaluation model is shown in Formula 2; Among them, L(θ) is the result output by the expression of the loss function; π θ The diagnosis and treatment strategies currently being used; As the benchmark diagnosis and treatment strategy; a t The current diagnosis and treatment plan; t is the current status of the case; ε t is the adjustment parameter; and ε t Greater than 0; For t In the state, take a t The change in expected benefit brought by the action; t is the state number; π θ (a t |s t ) is when the current diagnosis and treatment strategy is used in state s t Under the condition of a t probability; When the baseline treatment strategy is used, the state is s t Under the condition of a t probability; The sample data of all samples are brought into Formula 2, and the weight of the medical guideline compliance, the weight of the individual difference data dimension, the weight of the gene mutation matching data dimension, the weight of the medical guideline compliance reward data dimension, and the weight of the side effect data dimension are continuously adjusted to minimize the value of the loss function output by Formula 2 after the sample data of all samples are brought into Formula 2.
6. The medical aid decision-making method for biliary malignancies integrated with the GPT algorithm according to claim 5 is characterized in that: The sample data of all samples are brought into Formula 2, and the weight of the medical guideline compliance, the weight of the individual difference data dimension, the weight of the gene mutation matching data dimension, the weight of the medical guideline compliance reward data dimension, and the weight of the side effect data dimension are continuously adjusted, so that the value of the loss function output by Formula 2 is minimized after the sample data of all samples are substituted into Formula 2, including: Set the number of iterations I, the initial value of I is 0; Construct a weight iteration formula, the weight iteration formula is shown in Formula 3; in, is the updated weight value; ω i is the current weight value; α is the step size of weight adjustment; N is the total number of all diagnosis and treatment plans; n is the serial number of the sample; F n is the multi-dimensional feedback value of the nth diagnosis and treatment plan; R n (ω) is the sum of the comprehensive reward scores of N diagnosis and treatment plans; R i,n is the comprehensive reward score of the nth diagnosis and treatment party at the i-th weight; when i is 1, is the weight of the adjusted medical guideline compliance dimension; when i is 2, is the weight of the adjusted medical guideline compliance reward. When i is 3, is the weight of the adjusted gene mutation matching dimension; when i is 4, is the adjusted individual difference dimension weight; when i is 5, is the weight of the adjusted side effect dimension; Substitute the standard clinical medical record data and / or standard research data of all N first diagnosis and treatment plans into Formula 3, and adjust ω1, ω2, ω3, ω4 and ω5 once each; Add 1 to the original value of I; Return the standard clinical medical record data and / or standard research data of all N first diagnosis and treatment plans and substitute them into Formula 3, and adjust ω1, ω2, ω3, ω4 and ω5 once each until the weight adjustment termination condition is reached; The termination condition is shown in Formula 4; Where, I is the current iteration number; I max is the preset maximum number of iterations; is the sum of iterated ω1, iterated ω2 and iterated ω3; is the sum of ω1 before iteration, ω2 before iteration and ω3 before iteration; δ is the preset weight and threshold.
7. The medical aid decision-making method for biliary malignancies integrated with the GPT algorithm according to claim 6 is characterized in that: Substituting the standard clinical medical record data and / or standard research data of all N first diagnosis and treatment plans into Formula 3 and adjusting ω1, ω2, ω3, ω4 and ω5 once respectively, it also includes: determining whether the sample data is updated; If there is no update of the sample data, the standard clinical medical record data and / or standard research data of all N first diagnosis and treatment plans are substituted into Formula 3, and ω1, ω2, ω3, ω4 and ω5 are adjusted once respectively; If the sample data is updated, substitute all updated standard clinical medical record data and / or standard research data of the N first diagnosis and treatment plans into Formula 3, and adjust ω1, ω2, ω3, ω4 and ω5 once each.
8. The medical aid decision-making method for biliary malignancies integrated with the GPT algorithm according to claim 7 is characterized in that: Substitute the sample data of all samples into Formula 2, and continuously adjust the weight of medical guideline compliance, the weight of individual difference data dimension, the weight of gene mutation matching data dimension, the weight of medical guideline compliance reward data dimension, and the weight of side effect data dimension, so as to minimize the value of the loss function output by Formula 2 after substituting the sample data of all samples into Formula 2, including: According to Formula 5, the ε used in this iteration t Fine-tune and obtain the ε used in this iteration t+1 ; Among them, ε t is the adjustment parameter before iteration; ε t+1 is the adjustment parameter after iteration; η is the learning rate; ΔR t is the difference between the reward value before iteration and the reward value after iteration; σ(R t ) is the standard deviation of the reward value; θ is the set threshold.
9. The medical aid decision-making method for biliary malignancies integrated with the GPT algorithm according to claim 8 is characterized in that: The sample data of all samples are brought into Formula 2, and the weight of the medical guideline compliance, the weight of the individual difference data dimension, the weight of the gene mutation matching data dimension, the weight of the medical guideline compliance reward data dimension, and the weight of the side effect data dimension are continuously adjusted to minimize the value of the loss function output by Formula 2 after the sample data of all samples are substituted into Formula 2, and also includes: Fine-tune the loss function used in this iteration according to Formula 6 to obtain the loss function used in this iteration; L(θ) new = L(θ) old + λ·E t Formula 6; Where L(θ) new is the updated loss function; L(θ) old is the loss function before updating; λ is the weight of exploration reward; E t Assign a score to the rarity of treatment recommendations.
10. The medical aid decision-making method for biliary malignancies integrated with the GPT algorithm according to claim 9 is characterized in that: The sample data of all samples are brought into Formula 2, and the weight of the medical guideline compliance, the weight of the individual difference data dimension, the weight of the gene mutation matching data dimension, the weight of the medical guideline compliance reward data dimension, and the weight of the side effect data dimension are continuously adjusted to minimize the value of the loss function output by Formula 2 after the sample data of all samples are substituted into Formula 2, and also includes: The loss function in this iteration is updated according to Formula 7 to obtain the loss function used in this iteration; Where, wn is an exponential function; L(θ) old is the loss function used before updating; L(θ) new is the loss function used after updating.
Citation Information
Cited By
Wound treatment sequence recommendation method and device based on reinforcement learning and medium
CN119889625A
