Method, device, electronic device and storage medium for determining medication information
By obtaining the data of the administration process of anesthetic drugs acting on the subject and using the dosage prediction model of the reinforcement learning algorithm, the problem of inaccurate administration of traditional anesthetic drugs is solved and a more accurate and efficient drug administration process is achieved.
Patent Information
- Application Number
- CN202311698903.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-12
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2043-12-12
AI Technical Summary
Traditional anesthetic drug administration methods rely on experience and physiological parameters, resulting in inaccurate drug administration, possible under- or over-medication, and poor drug efficacy.
By obtaining the administration process data of the target drug acting on the target object, the dosage prediction model based on the reinforcement learning algorithm is retrieved, and the data is processed to obtain the recommended dosage, thereby achieving auxiliary prediction of the dosage during the drug administration process.
It improves the prediction accuracy and efficiency of drug dosage, reduces labor costs, and avoids the problem of under- or over-medication.
Smart Images

Figure CN117577264B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of the medical industry, and in particular to a method, device, electronic device and storage medium for determining medication information. Background Art
[0002] Anesthetic drugs play a vital role in the medical field and are used to enable the successful performance of surgeries, pain management, and other medical procedures.
[0003] Currently, in traditional anesthetic drug administration methods, medical professionals rely on experience and the patient's physiological parameters to determine the drug infusion rate.
[0004] However, the disadvantage of this method is that the dosage of the medicine is not accurate, and there may be insufficient or overdose of the medicine, resulting in poor medication effect. Summary of the invention
[0005] The present invention provides a method, device, electronic device and storage medium for determining drug administration information to achieve the effect of auxiliary prediction of drug dosage during drug administration, thereby achieving the effect of reducing labor costs while improving the prediction accuracy and prediction efficiency of drug dosage.
[0006] According to one aspect of the present invention, a method for determining medication information is provided, the method comprising:
[0007] Acquire drug administration process data of the target drug acting on the target object, wherein the drug administration process data includes a physiological characteristic parameter sequence corresponding to the target object at a current drug administration moment and at least one historical drug administration moment before the current drug administration moment, a pharmacodynamic parameter sequence corresponding to the target drug at the current drug administration moment and at least one historical drug administration moment, and a historical drug administration dose sequence corresponding to the target drug at the at least one historical drug administration moment;
[0008] A dosage prediction model corresponding to the target drug is retrieved, and the drug administration process data is processed based on the dosage prediction model to obtain a recommended dosage of the target drug acting on the target object at the current drug administration moment, and the recommended dosage is processed based on a preset processing method, wherein the dosage prediction model is determined based on a reinforcement learning algorithm.
[0009] According to another aspect of the present invention, there is provided a device for determining medication information, the device comprising:
[0010] a process data acquisition module, for acquiring drug administration process data of a target drug acting on a target object, wherein the drug administration process data includes a physiological characteristic parameter sequence corresponding to a current drug administration moment and at least one historical drug administration moment before the current drug administration moment, a pharmacodynamic parameter sequence corresponding to the target drug at the current drug administration moment and at least one historical drug administration moment, and a historical drug administration dosage sequence corresponding to the target drug at at least one historical drug administration moment;
[0011] A data processing module is used to retrieve a dosage prediction model corresponding to the target drug, and process the drug administration process data based on the dosage prediction model to obtain a recommended dosage of the target drug acting on the target object at the current drug administration moment, and process the recommended dosage based on a preset processing method, wherein the dosage prediction model is determined based on a reinforcement learning algorithm.
[0012] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0013] at least one processor; and
[0014] a memory communicatively connected to the at least one processor; wherein,
[0015] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the medication information determination method described in any embodiment of the present invention.
[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining medication information according to any embodiment of the present invention when executed.
[0017] The technical solution of the embodiment of the present invention obtains the drug administration process data of the target drug acting on the target object, further calls up the drug administration dosage prediction model corresponding to the target drug, and processes the drug administration process data based on the drug administration dosage prediction model to obtain the recommended drug administration dosage of the target drug acting on the target object at the current drug administration moment, and processes the recommended drug administration dosage based on a preset processing method, thereby solving the problem of inaccurate drug administration dosage in the related technology, which may result in insufficient or excessive medication and lead to poor medication effect, and realizes the effect of auxiliary prediction of drug administration dosage in the drug administration process, thereby achieving the effect of reducing labor costs while improving the prediction accuracy and prediction efficiency of drug administration dosage.
[0018] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 is a flow chart of a method for determining medication information provided according to Embodiment 1 of the present invention;
[0021] Figure 2 is a flow chart of a method for determining medication information provided according to Embodiment 2 of the present invention;
[0022] Figure 3 is a schematic diagram of the structure of a device for determining medication information provided according to Embodiment 3 of the present invention;
[0023] Figure 4 It is a schematic diagram of the structure of an electronic device for implementing the method for determining medication information according to an embodiment of the present invention. DETAILED DESCRIPTION
[0024] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] Embodiment 1
[0027] Figure 1 This is a flowchart of a method for determining medication information provided by the first embodiment of the present invention. This embodiment is applicable to the case where the recommended medication dose is predicted based on the medication dose prediction model obtained through training. The method can be executed by a medication information determination device. The medication information determination device can be implemented in the form of hardware and / or software. The medication information determination device can be configured in a terminal and / or a server. Figure 1 As shown, the method includes:
[0028] S110, obtaining administration process data of the target drug acting on the target subject.
[0029] In this embodiment, the target drug can be understood as a drug to be predicted for the dosage. The target drug can be any drug, and optionally, the target drug can be an anesthetic drug. The target object can be understood as an object receiving the drug. The target object can be any type of organism. Optionally, the types of the target object can include but are not limited to rodents, non-human primates, dogs, rabbits, and fish. The drug administration process data can be understood as the data generated during the process of the target drug acting on the target object. Accordingly, the drug administration process data may include data characterizing the physiological characteristics of the target object, data characterizing the dosage of the target drug acting on the target object, and data characterizing the efficacy of the target drug. In general, the drug administration process data may be sequence data with the drug administration time as a node. Among them, the drug administration process data includes a physiological characteristic parameter sequence corresponding to the target object at the current drug administration time and at least one historical drug administration time before the current drug administration time, a drug efficacy parameter sequence corresponding to the target drug at the current drug administration time and at least one historical drug administration time, and a historical drug administration dose sequence corresponding to the target drug at at least one historical drug administration time.
[0030] In this embodiment, for the entire process of the target drug acting on the target object, the target drug's action process can be divided according to a pre-set division rule, and multiple administration times can be obtained. Furthermore, for each administration time, when it is determined that the current administration time has been reached, the target drug can be applied to the target object according to the corresponding dose. Accordingly, the current administration time and at least one historical administration time can be understood as the time when the target drug acts on the target object. It should be noted that for different target drugs, the interval between the two adjacent administration times corresponding to them can be different, that is, the division step corresponding to the administration time can correspond to the target drug. The physiological characteristic parameter sequence includes physiological characteristic parameters corresponding to each administration time. The physiological characteristic parameter can be understood as a parameter characterizing the physiological characteristics of the object. The physiological characteristic parameter can include static characteristic parameters and dynamic characteristic parameters. Among them, the static characteristic parameter can be a characteristic parameter that does not change with time and / or dosage during the action of the target drug, and can also be understood as a characteristic parameter characterizing the metabolic characteristics and growth and development characteristics of the object. Exemplarily, the static characteristic parameter can include age, height, weight, body mass index or blood routine, etc. The dynamic characteristic parameter can be a characteristic parameter that changes with time and / or dosage during the action of the target drug. Exemplarily, dynamic characteristic parameters may include heart rate or blood pressure, etc. The efficacy parameter sequence includes efficacy parameters corresponding to each administration time. Pharmacodynamic parameters can be used to characterize the pharmacological effect of a certain intensity on the body after administration of a certain drug. Generally, for different drugs, the corresponding efficacy parameters may also be different. Exemplarily, when the target drug is an anesthetic drug, the efficacy parameter may include the bispectral index (BIS) or the cerebral state index (CSI), etc. The historical dosage sequence may include the dosage corresponding to each administration time. The dosage can be understood as the dosage of a certain drug acting on any object. It should be noted that for the dosage, the target drug has not yet acted on the target object at the current administration time corresponding to the acquisition of the administration process data. Therefore, the dosage corresponding to the target drug at the current administration time belongs to an unknown amount, and the dosage corresponding to the current administration time can be predicted based on the acquired administration process data.
[0031] In practical applications, data analysis can be performed on the action process of the target drug, so as to predict the dosage of the target drug acting on the target object at each administration time based on the data analysis results. Therefore, in the process of the target drug acting on the target object, the administration process data of the target drug acting on the target object can be obtained, and then, the dosage of the target drug can be predicted based on the obtained administration process data.
[0032] It should be noted that the physiological characteristic parameters may include static characteristic parameters and dynamic characteristic parameters. Therefore, when obtaining the physiological parameter sequence corresponding to the target object, the static characteristic parameters corresponding to the target object may be obtained first. Furthermore, in the process of the target drug acting on the target object, for each administration moment, the dynamic characteristic parameters of the target object at the current administration moment may be collected, and the pre-acquired static characteristic parameters and the collected dynamic characteristic parameters corresponding to the current administration moment are used as the physiological characteristic parameters corresponding to the current administration moment.
[0033] Optionally, each physiological characteristic parameter in the physiological characteristic parameter sequence includes a static characteristic parameter and a dynamic characteristic parameter, and determining the physiological characteristic parameter sequence includes: acquiring the static characteristic parameter corresponding to the target object; in the process of the target drug acting on the target object, for each drug administration moment, collecting the dynamic characteristic parameters corresponding to the target object at the current drug administration moment, and using the static characteristic parameters and the dynamic characteristic parameters as the physiological characteristic parameters corresponding to the current drug administration moment.
[0034] In practical applications, for the dosage and efficacy parameters corresponding to each administration time, during the process of the target drug acting on the target object, the dosage and efficacy can be detected based on the pre-set dosage detection device and efficacy detection device, and the dosage and efficacy parameters corresponding to each administration time can be collected. Then, the efficacy parameters corresponding to the target drug at each administration time can be obtained, and a pharmacodynamic parameter sequence can be constructed based on the collected efficacy parameters; and the dosage corresponding to the target drug at each administration time can be obtained, and a historical dosage sequence can be constructed based on the collected dosages.
[0035] S120, retrieve the dosage prediction model corresponding to the target drug, and process the drug administration process data based on the dosage prediction model to obtain the recommended dosage of the target drug acting on the target object at the current drug administration time, and process the recommended dosage based on a preset processing method.
[0036] Among them, the dosage prediction model is determined based on the reinforcement learning algorithm.
[0037] In this embodiment, the dosage prediction model can be understood as a policy network determined based on a reinforcement learning algorithm. Those skilled in the art can understand that the policy network can be a deep neural network model that deploys a policy function, and its corresponding input object can be the state of the environment in which the agent is located, and its corresponding output can be a decision action determined according to the input state. The dosage prediction model can be a neural network model of any structure. Optionally, the model structure of the dosage prediction model can include but is not limited to a convolutional neural network (CNN) and a long short-term memory network (LSTM). The recommended dosage can be understood as a predicted dosage determined based on the model. It should be noted that the recommended dosage can be the dosage of the target drug that actually acts on the target object at the current dosage moment; it may not be the dosage of the target drug that actually acts on the target object at the current dosage moment, but it is a recommended dosage that serves as a reference when determining the actual dosage, and this embodiment does not specifically limit this.
[0038] The preset processing method can be a pre-set method for processing the recommended dosage determined based on the model. The preset processing method can be any processing method, and can be a visual display.
[0039] In practical applications, multiple drugs to be tested can be pre-determined, and for each drug to be tested, a drug dosage prediction model corresponding to the current drug to be tested can be pre-trained. Further, the drug identification corresponding to each drug to be tested can be obtained, and a mapping relationship between the drug identification and the drug dosage prediction model can be established. Furthermore, the mapping relationship and each drug dosage prediction model can be stored in a database. Furthermore, when predicting the dosage of the target drug based on the model, it can be retrieved from multiple pre-stored dosage prediction models according to the drug identification corresponding to the target drug.
[0040] Optionally, retrieving a dosage prediction model corresponding to the target drug includes: determining a drug identifier corresponding to the target drug, and retrieving the dosage prediction model corresponding to the target drug based on the drug identifier.
[0041] In this embodiment, the drug identification may be identification information for identifying the corresponding drug. The drug identification may be identification information in any form, and optionally, the drug identification may be a drug name, a drug number, or a drug picture.
[0042] In practical applications, after determining the target drug for which dosage prediction is to be performed, the drug identifier corresponding to the target drug can be determined. Further, the drug dosage prediction model corresponding to the target drug can be determined and retrieved based on the drug identifier and the pre-established mapping relationship.
[0043] Furthermore, after the drug dosage prediction model corresponding to the target drug is retrieved, the acquired drug administration process data can be input into the retrieved drug dosage prediction model. Then, the drug administration process data can be processed based on the drug dosage prediction model, and the recommended drug administration dose of the target drug acting on the target subject at the current drug administration time can be obtained. Afterwards, the recommended drug administration dose can be processed according to a preset processing method.
[0044] In this embodiment, the preset processing method may include multiple methods, and may optionally include visual display. Optionally, processing the recommended dosage based on the preset processing method includes: visually displaying the recommended dosage based on a display interface of the target terminal.
[0045] In this embodiment, the target terminal can be understood as a terminal device for processing drug administration process data, or a device for deploying a drug administration dosage prediction model, or a terminal device to which a target user belongs, and this embodiment does not specifically limit this. Among them, the target user can be a user associated with the drug administration process detection of the target drug. Optionally, the target terminal can be a mobile terminal or a PC terminal, etc.
[0046] In practical applications, after obtaining the recommended dosage of the target drug acting on the target object at the current dosage moment, the recommended dosage can be visualized based on the display interface of the target terminal device.
[0047] The technical solution of the embodiment of the present invention obtains the drug administration process data of the target drug acting on the target object, further calls up the drug administration dosage prediction model corresponding to the target drug, and processes the drug administration process data based on the drug administration dosage prediction model to obtain the recommended drug administration dosage of the target drug acting on the target object at the current drug administration moment, and processes the recommended drug administration dosage based on a preset processing method, thereby solving the problem of inaccurate drug administration dosage in the related technology, which may result in insufficient or excessive medication and lead to poor medication effect, and realizes the effect of auxiliary prediction of drug administration dosage in the drug administration process, thereby achieving the effect of reducing labor costs while improving the prediction accuracy and prediction efficiency of drug administration dosage.
[0048] Embodiment 2
[0049] Figure 2This is a flow chart of a method for determining medication information provided in the second embodiment of the present invention. On the basis of the above-mentioned embodiment, before the medication process data is processed based on the medication dosage prediction model, online training samples corresponding to each drug to be tested and pre-trained efficacy prediction models representing the real efficacy environment corresponding to each drug to be tested can be obtained. Furthermore, the medication dosage prediction model to be trained can be trained according to the online training samples and the pre-trained efficacy prediction model to obtain the medication dosage prediction model corresponding to each drug to be tested. The specific implementation method can refer to the technical solution of this embodiment. Among them, the technical terms that are the same or similar to the above-mentioned embodiments are not repeated here.
[0050] like Figure 2 As shown, the method includes:
[0051] S210 . For each drug to be tested, obtain a plurality of online training samples corresponding to the current drug to be tested, wherein each drug to be tested includes a target drug.
[0052] Among them, the online training samples include a sample physiological characteristic parameter sequence corresponding to the current drug administration moment and at least one historical drug administration moment before the current drug administration moment, a sample efficacy parameter sequence corresponding to the current drug to be tested at the current drug administration moment and at least one historical drug administration moment, a historical drug administration dosage sequence corresponding to the current drug to be tested at at least one historical drug administration moment, and a historical drug administration feedback information sequence corresponding to at least one historical drug administration moment.
[0053] In this embodiment, the drug to be tested may be a drug to be tested, and the test may be a test for determining the dosage based on the model. The drug to be tested may be any drug. The online training sample may be understood as sample data collected in real time during the process of the current drug to be tested acting on the sample object, that is, the data included in the online training sample is online data. The sample object is any object that receives the current drug to be tested. The current administration time and at least one historical administration time may be the administration time corresponding to the current drug to be tested. The sample physiological characteristic parameter sequence may include sample physiological characteristic parameters corresponding to each administration time. It should be noted that the type of sample physiological characteristic parameters used in the model training process is consistent with the type of physiological characteristic parameters used in the model application process. Optionally, the sample physiological characteristic parameters may include static characteristic parameters and dynamic characteristic parameters. The sample efficacy parameter sequence may include sample efficacy parameters corresponding to each administration time. The historical administration dosage sequence may include the administration dosage corresponding to each administration time. The historical administration feedback information sequence may include administration feedback information corresponding to each administration time.
[0054] Among them, the drug administration feedback information can be understood as the drug administration feedback reward, that is, the reward obtained after performing the drug administration action. Those skilled in the art can understand that in the field of reinforcement learning, a reinforcement learning algorithm can be used to train the policy network so that the trained policy network can judge the state of the agent at the current moment to obtain the target decision action at the current moment. Exemplarily, the flexible actor-critic algorithm can be used to train the policy network. For the flexible actor-critic algorithm, a judgment network (such as a state value network and / or an action state value network) and a policy network can be included. Among them, the judgment network can be a "critic" that does not directly take action, but evaluates the quality of the action; the policy network can be an "actor" that is used to determine the decision action based on the input state. The so-called policy network is to establish a neural network model that can directly predict the most appropriate strategy to be executed by observing the state of the environment. Executing this strategy can obtain the maximum expected benefit, and the expected benefit can be used as a reward. Exemplarily, during the policy network training process, the state s corresponding to time t is obtained. t , will s t Input into the policy network, the policy network can determine the decision action a based on the input state t , for t Implement decision action a t , get the new state, which is the state s corresponding to time t+1 t+1 , and get the reward r corresponding to time t t . Further, based on the reward r t The parameters of the judgment network and the policy network in reinforcement learning can be modified to obtain a trained policy network.
[0055] It should be noted that, when collecting online training samples, in order to ensure the safety of the current drug to be tested in the process of acting on the sample object, for the initial administration moment, a preset initial administration dose can be used to act on the sample object, and the pharmacodynamic parameters of the sample object after administration can be detected, and the pharmacodynamic parameters corresponding to the initial administration moment can be obtained. In this embodiment, the sample administration dose corresponding to the first administration moment in the administration dose sequence is the preset initial administration dose, and the sample pharmacodynamic data corresponding to the first administration moment in the sample pharmacodynamic parameter sequence is determined based on the preset initial administration dose.
[0056] Optionally, the process of determining the sample efficacy data corresponding to the first administration moment may be: obtaining a preset initial administration dose of the sample subject for the current drug to be tested, and using the preset initial administration dose as the sample administration dose corresponding to the first administration moment; based on the sample administration dose corresponding to the first administration moment and the sample physiological characteristic parameters corresponding to the sample subject at the first administration moment, determining the true efficacy parameters corresponding to the target drug at the first administration moment, and using the true efficacy parameters as the sample efficacy parameters corresponding to the first administration moment.
[0057] In this embodiment, the preset initial dosage may be a predetermined initial dosage. The preset initial dosage may be matched with the sample object, that is, the preset initial dosage corresponding to the sample object may be determined according to the physiological characteristic parameters and / or other factors of the sample object in the current situation.
[0058] In practical applications, the preset initial dosage of the sample subject for the current drug to be tested can be obtained, and the preset initial dosage can be used as the sample dosage corresponding to the first dosage moment. Furthermore, the sample dosage corresponding to the first dosage moment can be applied to the sample subject to determine the real efficacy parameter of the target drug at the first dosage moment based on the sample physiological characteristic parameters and the sample dosage corresponding to the sample subject at the first dosage moment. Furthermore, the real efficacy parameter can be used as the sample efficacy parameter corresponding to the first dosage moment.
[0059] It should be noted that, since it is difficult or impossible to collect the corresponding pharmacodynamic parameters at each dosing time in the real dosing environment, an environmental model for simulating the real dosing environment can be constructed, and the environmental model can be a pharmacodynamic prediction model. Furthermore, the sample dosage and sample physiological characteristic parameters at each dosing time can be processed based on the pharmacodynamic prediction model to obtain the corresponding pharmacodynamic parameters at each dosing time. In this embodiment, for other dosing times other than the first dosing time, the corresponding pharmacodynamic parameters at other dosing times can be determined based on the pre-constructed pharmacodynamic prediction model.
[0060] S220, retrieve a pre-trained drug efficacy prediction model corresponding to the current drug to be tested.
[0061] In this embodiment, the pre-trained drug efficacy prediction model can be understood as a drug efficacy prediction model obtained after the pre-training stage is completed. In practical applications, an environmental model corresponding to the current drug to be tested can be pre-constructed to simulate the administration environment of the current drug to be tested, and the environmental model can be the drug efficacy prediction model to be trained. Further, the drug efficacy prediction model to be trained can be pre-trained based on offline samples to obtain a pre-trained drug efficacy prediction model, so that the pre-trained drug efficacy prediction model can preliminarily simulate the drug efficacy parameters of the current drug to be tested.
[0062] Optionally, the pre-training process of the pre-trained pharmacodynamic prediction model can be: obtaining multiple offline sample data; for each offline training sample, inputting the sample physiological characteristic parameters and sample administration dosage in the current offline training sample into the pharmacodynamic prediction model to be trained, and obtaining the model predicted pharmacodynamic parameters corresponding to the current offline training sample; determining the loss value based on the model predicted pharmacodynamic data corresponding to the current offline training sample and the theoretical pharmacodynamic parameters in the current offline training sample; adjusting the model parameters in the pharmacodynamic prediction model to be trained based on the loss value to obtain the pre-trained pharmacodynamic prediction model corresponding to the current drug to be tested.
[0063] Among them, the offline training samples include sample physiological characteristic parameters corresponding to the sample objects at multiple historical drug administration moments, sample administration doses corresponding to the current drug to be tested at multiple historical drug administration moments, and theoretical efficacy parameters corresponding to the current drug to be tested at the predicted moment.
[0064] In this embodiment, the offline training sample can be understood as historical data, that is, data stored in the database. The theoretical efficacy parameters can be understood as the real efficacy parameters recorded in the stored efficacy records. In general, the sample dosage and theoretical efficacy parameters can be determined by the time relationship curve between administration and efficacy, that is, the efficacy-time curve. Among them, the efficacy parameters of any drug in the subject and the corresponding dosage at each administration time can be used as the ordinate, and the time of the drug in the subject can be used as the abscissa to construct the efficacy-time curve corresponding to the drug. The model parameters in the efficacy prediction model to be trained can be default values or initial values. The model parameters in the efficacy prediction model to be trained are corrected by training samples to obtain a pre-trained efficacy prediction model. The model predicted efficacy parameters can be the efficacy prediction results output after the offline training samples are input into the efficacy prediction model to be trained. The loss value can be understood as the difference between the real efficacy parameter and the model predicted efficacy parameter. The loss function can be determined based on the loss value and used to characterize the degree of difference between the actual output and the theoretical output.
[0065] In practical applications, historical drug administration process data of multiple sample objects corresponding to the current drug to be tested can be obtained in a pre-constructed database. Furthermore, multiple offline training samples corresponding to the current drug to be tested can be constructed based on the historical drug administration process data corresponding to the multiple sample objects. Furthermore, for each offline training sample, the sample physiological characteristics and sample administration dose in the current offline training sample can be input into the drug efficacy prediction model to be trained, so as to process the sample physiological characteristics and sample administration dose based on the drug efficacy prediction model to be trained, and obtain the model-predicted drug efficacy parameters corresponding to the current offline training sample.
[0066] Furthermore, the pharmacodynamic parameters predicted by the model can be compared with the actual pharmacodynamic parameters to determine the loss value. Furthermore, the model parameters in the pharmacodynamic prediction model to be trained can be corrected according to the loss value. Afterwards, the training error of the loss function in the pharmacodynamic prediction model to be trained, that is, the loss parameter, can be used as a condition for detecting whether the current loss function has reached convergence, for example, whether the training error is less than the preset error or whether the error change trend tends to be stable, or whether the current number of model iterations is equal to the preset number of times, etc. If the detection reaches the convergence condition, for example, the training error of the loss function is less than the preset error or the error change tends to be stable, it indicates that the training of the current pharmacodynamic prediction model to be trained is completed, and the iterative training can be stopped at this time. If it is detected that the convergence condition is not reached at present, the current offline training sample can be further obtained to train the pharmacodynamic prediction model to be trained until the training error of the loss function is within the preset range. When the training error of the loss function reaches convergence, the pharmacodynamic prediction model to be trained obtained by the current training can be used as a pre-trained pharmacodynamic prediction model.
[0067] S230, training the pre-trained drug efficacy prediction model, the drug dosage prediction model to be trained, and the state value model based on multiple online training samples to determine the drug dosage prediction model and drug efficacy prediction model corresponding to the current drug to be tested.
[0068] In this embodiment, the dosage prediction model to be trained can be a neural network model whose model parameters are initial values or default values. The dosage prediction model to be trained can be a policy network to be trained in reinforcement learning. The state value model is a judgment network to be trained in reinforcement learning. The state value model can be understood as a deep neural network that takes the state of the current moment and the next moment as input objects to evaluate the state of the current moment.
[0069] In this embodiment, the pharmacodynamic parameters corresponding to the current drug to be tested at each administration time can be simulated based on the pre-trained pharmacodynamic prediction model, and then the to-be-trained drug dosage prediction model and state value model can be trained based on the pharmacodynamic parameters output by the pre-trained pharmacodynamic prediction model and the online training samples, and the trained pharmacodynamic prediction model, drug dosage prediction model and state value model can be obtained. Thus, the drug dosage prediction model corresponding to the current drug to be tested can be obtained, and the drug dosage prediction model can be applied to the real drug administration environment.
[0070] It should be noted that the pre-trained drug efficacy prediction model only simulates the real drug administration environment and plays an auxiliary role in the training process of the drug dosage prediction model. The advantage of this setting is that it reduces the training cost of the drug dosage prediction model, improves the training efficiency of the drug dosage prediction model, and improves the generalization ability of the drug dosage prediction model.
[0071] In practical applications, after obtaining multiple online training samples and pre-trained drug efficacy prediction models, the pre-trained drug efficacy prediction model, the to-be-trained drug dosage prediction model, and the state value model can be trained based on the multiple online training samples. Then, a drug dosage prediction model corresponding to the current drug to be tested can be obtained.
[0072] Optionally, a pre-trained drug efficacy prediction model, a drug dosage prediction model to be trained, and a state value model are trained based on multiple online training samples to determine a drug dosage prediction model, including: for each online training sample, the sample physiological characteristic parameter sequence, the historical drug dosage sequence, and the sample drug efficacy parameter sequence in the current online training sample are input into the drug dosage prediction model to be trained to obtain the drug dosage prediction dose corresponding to the current drug administration moment and the drug administration feedback information corresponding to the current drug administration moment; the drug dosage prediction dose and the drug administration feedback information are processed according to the first loss function corresponding to the drug dosage prediction model to be trained to obtain a first loss value, and the parameters in the drug dosage prediction model to be trained are corrected based on the first loss value; the physiological characteristic parameter sequence, the drug dosage sequence, the drug efficacy data sequence, and the drug dosage prediction dose corresponding to the next drug administration moment in the current online training sample are input into the pre-trained drug efficacy prediction model to obtain the target drug at the next drug administration moment. corresponding efficacy prediction parameters; the efficacy prediction parameters and the drug administration feedback information are processed according to the second loss function corresponding to the pre-trained efficacy prediction model to obtain a second loss value, and the parameters in the drug administration dosage prediction model to be trained are corrected based on the second loss value; the efficacy data sequence in the current online sample and the efficacy prediction data corresponding to the next drug administration moment are input into the state value model to obtain the state value corresponding to the current drug administration moment; the state value and the drug administration feedback information are processed according to the third loss function corresponding to the state value network to obtain a third loss value, and the parameters in the state value model are corrected based on the third loss value; when it is detected that the first loss function, the second loss function and the third loss function have all converged, the efficacy prediction model and the drug administration dosage prediction model corresponding to the current drug to be tested are obtained, and the drug administration dosage of the current drug to be tested on the target object at the predicted moment is predicted based on the drug administration dosage prediction model to obtain the recommended drug administration dosage.
[0073] In this embodiment, the first loss function may be a loss function deployed in the dosage prediction model to be trained, which is used to indicate the degree of difference between the model output of the dosage prediction model to be trained and the medication feedback information. In this embodiment, the first loss function may be a policy network loss function included in the flexible actor-critic algorithm. It should be noted that the training of the policy network depends on the evaluation made by the judgment network for the actual output of the policy network (i.e., the actual output of the state value network). Therefore, the first loss function may be associated with the actual output corresponding to the state value network.
[0074] In this embodiment, the second loss function may be a loss function deployed in a pre-trained drug administration dosage prediction model, which is a function indicating the degree of difference between the model output of the pre-trained drug administration dosage prediction model and the drug administration feedback information.
[0075] In this embodiment, the third loss function may be a pre-set function used to characterize the degree of difference between the actual output of the state value network and the medication feedback information. In this embodiment, the third loss function may be a temporal difference function.
[0076] In practical applications, for each online training sample, the sample physiological characteristic parameter sequence, historical dosage sequence and sample efficacy parameter sequence in the current online training sample can be input into the dosage prediction model to be trained, so as to process the sample physiological characteristic parameter sequence, historical dosage sequence and sample efficacy parameter sequence based on the dosage prediction model to be trained, and output the dosage prediction dose corresponding to the current drug to be tested at the current administration moment and the administration feedback information corresponding to the current administration moment. Further, the dosage prediction dose and administration feedback information can be processed according to the first loss function corresponding to the dosage prediction model to be trained to obtain a first loss value, and the parameters in the dosage prediction model to be trained can be corrected based on the first loss value. Afterwards, the sample physiological characteristic parameter sequence, historical dosage sequence, sample efficacy parameter sequence and the dosage prediction dose corresponding to the current administration moment in the current online training sample can be input into the pre-trained efficacy prediction model to obtain the efficacy prediction parameters corresponding to the next administration moment of the current drug to be tested. Afterwards, the efficacy prediction data and administration feedback information can be processed according to the second loss function corresponding to the pre-trained efficacy prediction model to obtain a second loss value, and the parameters in the dosage prediction model to be trained can be corrected based on the second loss value. Furthermore, the sample efficacy parameter sequence in the current online sample and the efficacy prediction parameter corresponding to the next drug administration time are input into the state value model to obtain the state value corresponding to the current drug administration time. Furthermore, the state value and drug administration feedback information can be processed according to the third loss function corresponding to the state value model to obtain the third loss value, and the parameters in the state value model can be corrected based on the third loss value.
[0077] Specifically, when using the loss value to correct the model parameters in each model, the convergence of the loss function can be used as a training goal, such as whether the training error is less than the preset error, or whether the error change tends to be stable, or whether the current number of iterations is equal to the preset number. If the detection reaches the convergence condition, such as the training error of the loss function is less than the preset error, or the error change trend tends to be stable, it indicates that the model training is completed, and the iterative training can be stopped at this time. If it is detected that the convergence condition is not met at present, other online training samples can be further obtained to continue training the model until the training error of the loss function is within the preset range. When it is detected that the first loss function, the second loss function, and the third loss function are all converged, the drug efficacy prediction model and the dosage prediction model corresponding to the current drug to be tested are obtained, and the dosage prediction model is used to predict the dosage of the current drug to be tested on the target object at the predicted time to obtain the recommended dosage.
[0078] S240, obtaining administration process data of the target drug acting on the target subject.
[0079] S250, retrieve the dosage prediction model corresponding to the target drug, and process the drug administration process data based on the dosage prediction model to obtain the recommended dosage of the target drug acting on the target object at the current drug administration time, and process the recommended dosage based on a preset processing method.
[0080] The technical solution of the embodiment of the present invention obtains the drug administration process data of the target drug acting on the target object, further calls up the drug administration dosage prediction model corresponding to the target drug, and processes the drug administration process data based on the drug administration dosage prediction model to obtain the recommended drug administration dosage of the target drug acting on the target object at the current drug administration moment, and processes the recommended drug administration dosage based on a preset processing method, thereby solving the problem of inaccurate drug administration dosage in the related technology, which may result in insufficient or excessive medication and lead to poor medication effect, and realizes the effect of auxiliary prediction of drug administration dosage in the drug administration process, thereby achieving the effect of reducing labor costs while improving the prediction accuracy and prediction efficiency of drug administration dosage.
[0081] Embodiment 3
[0082] Figure 3 Schematic diagram of a device for determining medication information provided by Embodiment 3 of the present invention. Figure 3 As shown, the device includes: a process data acquisition module 310 and a data processing module 320 .
[0083] Among them, the process data acquisition module 310 is used to obtain the drug administration process data of the target drug acting on the target object, wherein the drug administration process data includes the physiological characteristic parameter sequence corresponding to the target object at the current drug administration moment and at least one historical drug administration moment before the current drug administration moment, the pharmacodynamic parameter sequence corresponding to the target drug at the current drug administration moment and the at least one historical drug administration moment, and the historical drug dosage sequence corresponding to the target drug at the at least one historical drug administration moment; the data processing module 320 is used to call the drug administration dosage prediction model corresponding to the target drug, and process the drug administration process data based on the drug administration dosage prediction model to obtain the recommended drug administration dose of the target drug acting on the target object at the current drug administration moment, and process the recommended drug administration dose based on a preset processing method, wherein the drug administration dosage prediction model is determined based on a reinforcement learning algorithm.
[0084] The technical solution of the embodiment of the present invention obtains the drug administration process data of the target drug acting on the target object, further calls up the drug administration dosage prediction model corresponding to the target drug, and processes the drug administration process data based on the drug administration dosage prediction model to obtain the recommended drug administration dosage of the target drug acting on the target object at the current drug administration moment, and processes the recommended drug administration dosage based on a preset processing method, thereby solving the problem of inaccurate drug administration dosage in the related technology, which may result in insufficient or excessive medication and lead to poor medication effect, and realizes the effect of auxiliary prediction of drug administration dosage in the drug administration process, thereby achieving the effect of reducing labor costs while improving the prediction accuracy and prediction efficiency of drug administration dosage.
[0085] Optionally, the data processing module 320 includes: a model retrieval unit.
[0086] The model retrieval unit is used to determine the drug identification corresponding to the target drug, and retrieve the dosage prediction model corresponding to the target drug based on the drug identification.
[0087] Optionally, the preset processing method includes visual display, and the data processing module 320 includes: a recommended dosage display unit.
[0088] The recommended medication dosage display unit is used to visually display the recommended medication dosage based on the display interface of the target terminal.
[0089] Optionally, the device further includes: an online training sample acquisition module, a pre-trained drug efficacy prediction model retrieval module and a model training module.
[0090] An online training sample acquisition module is used to acquire, for each drug to be tested, a plurality of online training samples corresponding to the current drug to be tested, wherein the online training samples include a sample physiological characteristic parameter sequence corresponding to the sample subject at the current drug administration moment and at least one historical drug administration moment before the current drug administration moment, a sample efficacy parameter sequence corresponding to the current drug to be tested at the current drug administration moment and at least one historical drug administration moment, a historical drug administration dosage sequence corresponding to the current drug to be tested at at least one historical drug administration moment, and a drug administration feedback information sequence, the sample drug administration dosage corresponding to the first drug administration moment in the drug administration dosage sequence is a preset initial drug administration dosage, the sample efficacy data corresponding to the first drug administration moment in the sample efficacy parameter sequence is determined based on the preset initial drug administration dosage, and each drug to be tested includes a target drug;
[0091] A pre-trained drug efficacy prediction model retrieval module is used to retrieve a pre-trained drug efficacy prediction model corresponding to the current drug to be tested;
[0092] The model training module is used to train the pre-trained drug efficacy prediction model, the to-be-trained drug dosage prediction model and the state value model based on the multiple online training samples to determine the drug dosage prediction model and the drug efficacy prediction model corresponding to the current drug to be tested.
[0093] Optionally, the device further includes: a preset initial administration dose acquisition module and a sample efficacy parameter determination module.
[0094] A preset initial drug dosage acquisition module is used to acquire the preset initial drug dosage of the sample subject for the current drug to be tested, and use the preset initial drug dosage as the sample drug dosage corresponding to the first drug administration moment;
[0095] A sample efficacy parameter determination module is used to determine the true efficacy parameters corresponding to the current drug to be tested at the first administration moment based on the sample administration dose corresponding to the first administration moment and the sample physiological characteristic parameters corresponding to the sample subject at the first administration moment, and use the true efficacy parameters as the sample efficacy parameters corresponding to the first administration moment.
[0096] Optionally, the model training module includes: a drug administration prediction dose determination unit, a model parameter correction first unit, a drug efficacy prediction parameter determination unit, a model parameter correction second unit, a state value determination unit, a model parameter correction third unit and a model determination unit.
[0097] The drug administration prediction dose determination unit is used to input the sample physiological characteristic parameter sequence, the historical drug administration dose sequence and the sample drug efficacy parameter sequence in the current online training sample into the drug administration dose prediction model to be trained for each online training sample, and obtain the drug administration prediction dose corresponding to the current drug administration time and the drug administration feedback information corresponding to the current drug administration time;
[0098] A first model parameter correction unit is used to process the drug administration prediction dose and the drug administration feedback information according to a first loss function corresponding to the drug administration dose prediction model to be trained to obtain a first loss value, and to correct the parameters in the drug administration dose prediction model to be trained based on the first loss value;
[0099] A drug efficacy prediction parameter determination unit, used to input the sample physiological characteristic parameter sequence, the historical drug dosage sequence, the sample drug efficacy parameter sequence and the drug administration prediction dose corresponding to the current drug administration moment in the current online training sample into the pre-trained drug efficacy prediction model to obtain the drug efficacy prediction parameter corresponding to the next drug administration moment of the current drug to be tested;
[0100] A second model parameter correction unit is used to process the drug efficacy prediction parameters and the drug administration feedback information according to a second loss function corresponding to the pre-trained drug efficacy prediction model to obtain a second loss value, and to correct the parameters in the drug administration dosage prediction model to be trained based on the second loss value;
[0101] A state value determination unit, used for inputting the sample efficacy parameter sequence in the current online sample and the efficacy prediction parameter corresponding to the next drug administration time into the state value model to obtain the state value corresponding to the current drug administration time;
[0102] A third model parameter correction unit, configured to process the state value and the medication feedback information according to a third loss function corresponding to the state value model to obtain a third loss value, and to correct the parameters in the state value model based on the third loss value;
[0103] The model determination unit is used to obtain a drug efficacy prediction model and a dosage prediction model corresponding to the current drug to be tested when it is detected that the first loss function, the second loss function and the third loss function have all converged, and predict the dosage of the current drug to be tested on the target object at the predicted time based on the dosage prediction model to obtain a recommended dosage.
[0104] Optionally, the device also includes: an offline training sample acquisition module, an offline training sample processing module, a loss value determination module and a model parameter correction module.
[0105] An offline training sample acquisition module is used to acquire, for each drug to be tested, a plurality of offline training samples corresponding to the current drug to be tested, wherein the offline training samples include historical physiological characteristic parameters corresponding to the sample subject at a plurality of historical drug administration moments, historical drug administration doses corresponding to the sample drug at the plurality of historical drug administration moments, and actual drug efficacy parameters corresponding to the current drug to be tested at the predicted moment;
[0106] An offline training sample processing module is used to input the historical physiological characteristic parameters and historical drug dosage in the current offline training sample into the drug efficacy prediction model to be trained for each offline training sample, so as to obtain the model predicted drug efficacy parameters corresponding to the current offline training sample;
[0107] A loss value determination module, used to determine the loss value based on the model prediction efficacy parameter corresponding to the current offline training sample and the real efficacy data in the current offline training sample;
[0108] The model parameter correction module is used to adjust the model parameters in the drug efficacy prediction model to be trained based on the loss value to obtain a pre-trained drug efficacy prediction model corresponding to the current drug to be tested.
[0109] The medication information determination device provided in the embodiment of the present invention can execute the medication information determination method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0110] Embodiment 4
[0111] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0112] like Figure 4As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0113] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0114] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 performs the various methods and processes described above, such as a method for determining drug administration information.
[0115] In some embodiments, the medication information determination method may be implemented as a computer program that is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the medication information determination method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the medication information determination method in any other appropriate manner (e.g., by means of firmware).
[0116] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0117] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0118] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0119] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0120] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0121] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0122] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0123] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for determining medication information, characterized in that: include: Acquire drug administration process data of the target drug acting on the target object, wherein the drug administration process data includes a physiological characteristic parameter sequence corresponding to the target object at a current drug administration moment and at least one historical drug administration moment before the current drug administration moment, a pharmacodynamic parameter sequence corresponding to the target drug at the current drug administration moment and at least one historical drug administration moment, and a historical drug administration dose sequence corresponding to the target drug at the at least one historical drug administration moment; Retrieving a dosage prediction model corresponding to the target drug, and processing the drug administration process data based on the dosage prediction model to obtain a recommended dosage of the target drug acting on the target subject at the current drug administration moment, and processing the recommended dosage based on a preset processing method, wherein the dosage prediction model is determined based on a reinforcement learning algorithm; Wherein, the method further comprises: For each drug to be tested, a plurality of online training samples corresponding to the current drug to be tested are obtained, wherein the online training samples include a sample physiological characteristic parameter sequence corresponding to the sample subject at the current drug administration moment and at least one historical drug administration moment before the current drug administration moment, a sample efficacy parameter sequence corresponding to the current drug to be tested at the current drug administration moment and at least one historical drug administration moment, a historical drug administration dosage sequence corresponding to the current drug to be tested at at least one historical drug administration moment, and a drug administration feedback information sequence corresponding to at least one historical drug administration moment, the sample drug administration dosage corresponding to the first drug administration moment in the historical drug administration dosage sequence is a preset initial drug administration dosage, the sample efficacy data corresponding to the first drug administration moment in the sample efficacy parameter sequence is determined based on the preset initial drug administration dosage, and each drug to be tested includes a target drug; Retrieving a pre-trained drug efficacy prediction model corresponding to the current drug to be tested; wherein the pre-trained drug efficacy prediction model is obtained based on offline training samples corresponding to the current drug to be tested; the pre-trained drug efficacy prediction model is used to simulate the administration environment of the current drug to be tested acting on the sample subject; Based on the multiple online training samples, the pre-trained drug efficacy prediction model, the to-be-trained drug dosage prediction model, and the state value model are trained to determine a drug dosage prediction model and a drug efficacy prediction model corresponding to the current drug to be tested; The pre-trained drug efficacy prediction model, the to-be-trained drug dosage prediction model and the state value model are trained based on the multiple online training samples to determine the drug dosage prediction model and drug efficacy prediction model corresponding to the current drug to be tested, including: For each online training sample, the sample physiological characteristic parameter sequence, the historical drug dosage sequence and the sample pharmacodynamic parameter sequence in the current online training sample are input into the drug dosage prediction model to be trained, and the drug dosage prediction dose corresponding to the current drug to be tested at the current drug dosage moment and the drug dosage feedback information corresponding to the current drug dosage moment are obtained; Processing the predicted drug administration dose and the drug administration feedback information according to a first loss function corresponding to the drug administration dose prediction model to be trained to obtain a first loss value, and modifying parameters in the drug administration dose prediction model to be trained based on the first loss value; Inputting the sample physiological characteristic parameter sequence, the historical drug dosage sequence, the sample efficacy parameter sequence and the drug dosage prediction corresponding to the current drug dosage moment in the current online training sample into the pre-trained drug efficacy prediction model to obtain the drug efficacy prediction parameter corresponding to the next drug dosage moment of the current drug to be tested; Processing the pharmacodynamic prediction parameters and the drug administration feedback information according to a second loss function corresponding to the pre-trained drug efficacy prediction model to obtain a second loss value, and modifying the parameters in the drug administration dosage prediction model to be trained based on the second loss value; Inputting the sample efficacy parameter sequence in the current online sample and the efficacy prediction parameter corresponding to the next drug administration time into the state value model to obtain the state value corresponding to the current drug administration time; Processing the state value and the medication feedback information according to a third loss function corresponding to the state value model to obtain a third loss value, and modifying parameters in the state value model based on the third loss value; When it is detected that the first loss function, the second loss function and the third loss function have all converged, a drug efficacy prediction model and a dosage prediction model corresponding to the current drug to be tested are obtained, and based on the dosage prediction model, the dosage of the current drug to be tested acting on the target object at the predicted moment is predicted to obtain a recommended dosage.
2. The method according to claim 1, characterized in that The step of retrieving a dosage prediction model corresponding to the target drug includes: A drug identifier corresponding to the target drug is determined, and a dosage prediction model corresponding to the target drug is retrieved based on the drug identifier.
3. The method according to claim 1, characterized in that The preset processing method includes visual display, and the processing of the recommended dosage based on the preset processing method includes: The recommended dosage is visually displayed based on the display interface of the target terminal.
4. The method according to claim 1, characterized in that: Also includes: Obtaining a preset initial dosage of the sample subject for the current drug to be tested, and using the preset initial dosage as the sample dosage corresponding to the first dosage moment; Based on the sample dosage corresponding to the first dosing moment and the sample physiological characteristic parameters of the sample subject corresponding to the first dosing moment, the true efficacy parameters corresponding to the current drug to be tested at the first dosing moment are determined, and the true efficacy parameters are used as the sample efficacy parameters corresponding to the first dosing moment.
5. The method according to claim 1, characterized in that: Also includes: For each drug to be tested, a plurality of offline training samples corresponding to the current drug to be tested are obtained, wherein the offline training samples include historical physiological characteristic parameters corresponding to the sample subject at multiple historical drug administration moments, historical drug administration doses corresponding to the sample drug at the multiple historical drug administration moments, and real drug efficacy parameters corresponding to the current drug to be tested at the predicted moment; For each offline training sample, inputting the historical physiological characteristic parameters and the historical drug dosage in the current offline training sample into the drug efficacy prediction model to be trained, and obtaining the model-predicted drug efficacy parameters corresponding to the current offline training sample; Determining a loss value based on the model predicted efficacy parameter corresponding to the current offline training sample and the actual efficacy parameter in the current offline training sample; The model parameters in the drug efficacy prediction model to be trained are adjusted based on the loss value to obtain a pre-trained drug efficacy prediction model corresponding to the current drug to be tested.
6. A drug administration information determination device, characterized in that: include: a process data acquisition module, for acquiring drug administration process data of a target drug acting on a target object, wherein the drug administration process data includes a physiological characteristic parameter sequence corresponding to a current drug administration moment and at least one historical drug administration moment before the current drug administration moment, a pharmacodynamic parameter sequence corresponding to the target drug at the current drug administration moment and at least one historical drug administration moment, and a historical drug administration dosage sequence corresponding to the target drug at at least one historical drug administration moment; a data processing module, for retrieving a dosage prediction model corresponding to the target drug, and processing the drug administration process data based on the dosage prediction model to obtain a recommended dosage of the target drug acting on the target subject at the current drug administration moment, and processing the recommended dosage based on a preset processing method, wherein the dosage prediction model is determined based on a reinforcement learning algorithm; The device further comprises: an online training sample acquisition module, a pre-trained drug efficacy prediction model retrieval module and a model training module; The online training sample acquisition module is used to acquire, for each drug to be tested, a plurality of online training samples corresponding to the current drug to be tested, wherein the online training samples include a sample physiological characteristic parameter sequence corresponding to the sample subject at the current drug administration moment and at least one historical drug administration moment before the current drug administration moment, a sample efficacy parameter sequence corresponding to the current drug to be tested at the current drug administration moment and at least one historical drug administration moment, a historical drug administration dosage sequence corresponding to the current drug to be tested at at least one historical drug administration moment, and a drug administration feedback information sequence, the sample drug administration dosage corresponding to the first drug administration moment in the drug administration dosage sequence is a preset initial drug administration dosage, the sample efficacy data corresponding to the first drug administration moment in the sample efficacy parameter sequence is determined based on the preset initial drug administration dosage, and each drug to be tested includes a target drug; The pre-trained drug efficacy prediction model retrieval module is used to retrieve the pre-trained drug efficacy prediction model corresponding to the current drug to be tested; wherein the pre-trained drug efficacy prediction model is trained based on the offline training sample corresponding to the current drug to be tested; the pre-trained drug efficacy prediction model is used to simulate the administration environment of the current drug to be tested acting on the sample object; The model training module is used to train the pre-trained drug efficacy prediction model, the to-be-trained drug dosage prediction model and the state value model based on the multiple online training samples to determine the drug dosage prediction model and the drug efficacy prediction model corresponding to the current drug to be tested; Wherein, the model training module includes: a drug administration prediction dose determination unit, a model parameter correction first unit, a drug efficacy prediction parameter determination unit, a model parameter correction second unit, a state value determination unit, a model parameter correction third unit and a model determination unit; The predicted drug dosage determination unit is used to input the sample physiological characteristic parameter sequence, the historical drug dosage sequence and the sample efficacy parameter sequence in the current online training sample into the drug dosage prediction model to be trained for each online training sample, and obtain the predicted drug dosage corresponding to the current drug dosage moment and the drug dosage feedback information corresponding to the current drug dosage moment; The model parameter correction first unit is used to process the predicted dosage and the drug administration feedback information according to a first loss function corresponding to the drug administration dose prediction model to be trained to obtain a first loss value, and to correct the parameters in the drug administration dose prediction model to be trained based on the first loss value; The drug efficacy prediction parameter determination unit is used to input the sample physiological characteristic parameter sequence, the historical drug administration dose sequence, the sample drug efficacy parameter sequence and the drug administration prediction dose corresponding to the current drug administration time in the current online training sample into the pre-trained drug efficacy prediction model to obtain the drug efficacy prediction parameter corresponding to the next drug administration time of the current drug to be tested; The model parameter correction second unit is used to process the drug efficacy prediction parameters and the drug administration feedback information according to a second loss function corresponding to the pre-trained drug efficacy prediction model to obtain a second loss value, and correct the parameters in the drug administration dosage prediction model to be trained based on the second loss value; The state value determination unit is used to input the sample efficacy parameter sequence in the current online sample and the efficacy prediction parameter corresponding to the next drug administration time into the state value model to obtain the state value corresponding to the current drug administration time; The model parameter correction third unit is used to process the state value and the medication feedback information according to a third loss function corresponding to the state value model to obtain a third loss value, and to correct the parameters in the state value model based on the third loss value; The model determination unit is used to obtain a drug efficacy prediction model and a dosage prediction model corresponding to the current drug to be tested when it is detected that the first loss function, the second loss function and the third loss function have all converged, and to predict the dosage of the current drug to be tested on the target object at the predicted time based on the dosage prediction model to obtain a recommended dosage.
7. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the drug administration information determination method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the medication information determination method according to any one of claims 1 to 5 when executed.
