Medical care data processing system based on reinforcement learning
By building a medical care data processing system based on reinforcement learning, integrating multi-source heterogeneous data and optimizing processing strategies, the problems of low data processing efficiency and insufficient adaptability in traditional methods are solved, and efficient and accurate medical data processing and clinical decision support are achieved.
Patent Information
- Application Number
- CN202510780122.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-12
- Publication Date
- 2025-09-12
AI Technical Summary
Traditional medical care data processing methods have difficulty efficiently processing multi-source heterogeneous data, lack adaptive capabilities, and cannot meet the clinical real-time and accuracy requirements. The existing reinforcement learning scheme has a single reward function design and cannot adapt to the rapidly growing medical data.
A medical care data processing system based on reinforcement learning is adopted, including data acquisition, preprocessing, reinforcement learning and result output modules, to construct state space, action space and reward function, and combine the model updating method of meta-learning and dynamic knowledge transfer to integrate multi-source heterogeneous data and optimize the processing strategy.
The accuracy and efficiency of data processing have been significantly improved, the error in disease risk prediction has been reduced by more than 25%, the model update time has been shortened by 40%, the compliance of clinical decision support has been increased to 92%, the nursing response time has been shortened by 30%, and patient satisfaction has been increased by 20%.
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medical care data processing, and in particular to a medical care data processing system based on reinforcement learning. Background Art
[0002] As the digitalization process of the medical industry accelerates, medical care data is growing explosively, covering multi-source heterogeneous information of patients. Its efficient processing is of great significance to improving medical services and clinical decision-making.
[0003] Traditional processing methods rely on rule engines and simple statistical models. The former is difficult to cover complex medical scenarios and has delayed updates, while the latter has weak processing capabilities for high-dimensional, unstructured data and is unable to explore deep data correlations. In the era of artificial intelligence, when traditional machine learning is applied to medical care data processing, the model training effect is poor due to the high professionalism, high cost and poor consistency of medical data labeling. At the same time, in the face of a dynamically changing medical environment, traditional models lack adaptive capabilities and are difficult to meet clinical real-time and accuracy requirements.
[0004] Although reinforcement learning is applicable to this scenario, existing solutions have flaws: the reward function design is simple, ignoring medical professionalism and clinical requirements, the model update method is inefficient, historical knowledge is difficult to utilize and easily forgotten, and it cannot adapt to the rapidly growing medical data.
[0005] Therefore, there is an urgent need for a new data processing system that can efficiently process multi-source heterogeneous data, adapt to changes in the medical environment, and meet strict clinical requirements. Summary of the Invention
[0006] To achieve the above objectives, the present invention is implemented through the following technical solutions: A medical care data processing system based on reinforcement learning, comprising: A data acquisition module is used to collect multi-source heterogeneous medical care data, including basic patient information, vital signs data, diagnosis records, nursing records, and medication information; A data preprocessing module, connected to the data acquisition module, is used to clean, remove noise, and standardize the collected medical care data, and convert the processed data into a unified format; A reinforcement learning module is connected to the data preprocessing module to construct a reinforcement learning model. The model uses the preprocessed medical care data as input, sets a state space, an action space, and a reward function, and outputs a data processing strategy through continuous trial and error and learning. The state space represents different feature combinations of the medical care data and the current processing state. The action space represents processing operations for the data, including data classification, data prediction, and data association analysis. The reward function is set based on the accuracy and effectiveness of the data processing results. A data processing module, connected to the reinforcement learning module, analyzes, mines and predicts the medical care data according to the data processing strategy output by the reinforcement learning module to obtain data processing results; The result output module is connected to the data processing module and is used to visually display and output the data processing results.
[0007] Preferably, the specific steps of constructing the reinforcement learning model by the reinforcement learning module include: Step 1: Build a medical care data processing environment and use the preprocessed medical care data output by the data preprocessing module as the environment state; Step 2: Set the agent’s initial strategy; Step 3: The agent performs data processing actions and selects data processing actions from the action space according to the current environment state; Step 4: The environment returns a reward value, which is calculated based on the accuracy and effectiveness of the data processing results; Step 5: Update the agent strategy and use the reinforcement learning algorithm to update the action value function or policy function based on the reward value and state transition; Step 6: Repeat steps 3 to 5 until the convergence condition is met or the maximum number of training times is reached; Step 7: Evaluate the trained reinforcement learning model.
[0008] Preferably, the data acquisition module includes multiple data interfaces, including but not limited to HL7 interface, DICOM interface, and RESTful API interface, for realizing data interaction with hospital information systems, medical equipment, and nursing terminals.
[0009] Preferably, when the data preprocessing module cleans the medical care data, it adopts an outlier detection algorithm and a missing value filling algorithm. The outlier detection algorithm includes the statistical 3σ principle and the density-based DBSCAN algorithm, and the missing value filling algorithm includes mean filling and multiple filling method.
[0010] Preferably, the reinforcement learning module uses a deep Q network algorithm or a policy gradient algorithm to construct a reinforcement learning model.
[0011] Preferably, the data processing module analyzes, mines and predicts medical care data, including disease risk prediction, nursing quality assessment, and medication regimen recommendation.
[0012] Preferably, a model updating module is also included, which is used to regularly obtain new medical care data and update and optimize the reinforcement learning model of the reinforcement learning module.
[0013] Preferably, the model updating module adopts an incremental updating method based on meta-learning and dynamic knowledge transfer when updating the reinforcement learning model.
[0014] It has the following beneficial effects: This medical care data processing system based on reinforcement learning integrates multi-source heterogeneous data through a standardized preprocessing module. The reinforcement learning module selects the optimal processing action based on a precise reward mechanism and an intelligent initial strategy. Combined with an efficient model updating method based on meta-learning and dynamic knowledge transfer, it significantly improves the accuracy and efficiency of data processing, reduces the disease risk prediction error by more than 25%, and shortens the model update time by 40%. At the same time, the system incorporates expert knowledge into the initial strategy and ensures clinical safety and reliability through multi-dimensional model evaluation. The compliance of clinical decision support has increased to 92%, and the compliance with the judgment of medical experts has reached more than 90%. The application of dynamic learning mechanism and knowledge graph enables it to converge faster in complex medical data environments, with the convergence speed increased by 35%. The accuracy of processing complex cases such as rare diseases has increased by 40%. The system effectively assists medical staff in formulating accurate diagnosis and treatment plans, optimizes the allocation of nursing resources, shortens nursing response time by 30%, and improves patient satisfaction by 20%. DETAILED DESCRIPTION
[0015] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the embodiments described 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 making creative efforts are within the scope of protection of the present invention.
[0016] The present invention provides a technical solution: a medical care data processing system based on reinforcement learning, comprising: A data acquisition module is used to collect multi-source heterogeneous medical care data, including basic patient information, vital signs data, diagnostic records, nursing records, and medication information. The data acquisition module includes multiple data interfaces, including but not limited to HL7 interfaces, DICOM interfaces, and RESTful API interfaces, for implementing data interaction with hospital information systems, medical equipment, and nursing terminals. A data preprocessing module, connected to the data acquisition module, is used to clean, remove noise, and standardize the collected medical care data, and convert the processed data into a unified format; The reinforcement learning module is connected to the data preprocessing module to construct a reinforcement learning model. The module uses the preprocessed medical care data as input, sets a state space, an action space, and a reward function, and outputs a data processing strategy through continuous trial and error and learning. The state space represents different feature combinations and current processing states of the medical care data, and the action space represents processing operations for the data, including data classification, data prediction, and data association analysis. The reward function is set based on the accuracy and effectiveness of the data processing results. The specific steps for the reinforcement learning module to construct the reinforcement learning model include: Step 1: Build a medical care data processing environment and use the preprocessed medical care data output by the data preprocessing module as the environment state; Step 2: Set the initial strategy of the agent, which includes: Initialization using expert knowledge: Build a knowledge base mapping medical care data features to processing strategies. This knowledge base contains at least 100 typical data feature combinations and corresponding processing strategies based on the experience of medical experts. For example, for the condition of "three consecutive body temperatures exceeding 38°C and abnormal white blood cell count," the initial strategy is set to initiate infection risk data association analysis. For rare disease-related data feature combinations, special tags and corresponding priority processing strategies are set. Initialize the action value function: Use a hierarchical Q-table initialization method, dividing the table into different sub-tables according to data type (vital sign data, diagnostic records, etc.). For each state-action pair in the sub-table, assign a value based on the association frequency between common data patterns and processing actions in historical medical data statistics. State-action pairs with an association frequency above a threshold (e.g., 70%) are assigned an initial value of 0.6-0.8, and the remaining pairs are assigned an initial value of 0.1-0.3. Setting the exploration strategy: A dynamic ε-greedy strategy is used, with an initial exploration rate ε set to 0.9. At the beginning of training, an action is randomly selected with a probability of 0.9 and a probability of 0.1 for selecting the action with the highest value in the current Q table. As the number of training times increases, the exploration rate is dynamically reduced according to the rule ε = ε * decay_rate (decay_rate range 0.98-0.995). When ε drops to 0.1, it remains unchanged. At the same time, if the agent receives negative rewards three times in a row in the same state, ε is immediately increased to 0.8 and exploration is resumed. Step 3: The agent performs data processing actions and selects data processing actions from the action space according to the current environment state; Step 4: The environment returns a reward value, which is calculated based on the accuracy and effectiveness of the data processing results. The reward value calculation method includes the following steps: Step 4.1: Determine the action type weights. Set different basic weights based on the type of data processing action being performed: data classification action weight is 0.3, data prediction action weight is 0.4, and data association analysis action weight is 0.3. Step 4.2: Calculate the accuracy score and use the corresponding evaluation indicators for different action types: For data classification actions, calculate the classification accuracy, accuracy score = number of correctly classified samples / total number of samples; For data prediction actions, the inverse of the prediction error is calculated. The prediction error uses the root mean square error (RMSE), and the prediction score = 1 / (1+RMSE); For data association analysis actions, calculate the weighted sum of the confidence and lift of the association rules. The association score = 0.6 * average confidence + 0.4 * average lift; Step 4.3: Calculate the medical field compliance score. Compare the data processing results output by the agent with the medical field expert knowledge base and calculate the compliance score. The compliance score = the number of results that conform to the expert knowledge / the total number of results. Step 4.4: Calculate the clinical impact factor. Set the impact factor from 1 to 5 based on the potential impact of the data processing results on clinical decision making: Outcomes that have no direct impact on the patient's care plan have an impact factor of 1; Results that provide reference information but do not directly change the treatment plan have an impact factor of 2; The results of auxiliary adjustment of nursing measures have an impact factor of 3; Directly affects the outcome of treatment selection, with an impact factor of 4; Results that have a significant impact on patient life safety have an impact factor of 5; Step 4.5: Calculate the time efficiency score based on the ratio of the execution time of the data processing action to the preset standard time. Time efficiency score = standard time / actual execution time (if the actual execution time exceeds twice the standard time, the time efficiency score is 0.5); Step 4.6: Calculate the final reward value using a weighted summation method: Reward value = action type weight * (0.5 * accuracy score + 0.3 * compliance score + 0.1 * time efficiency score) * clinical impact factor; Step 5: Update the agent strategy and use the reinforcement learning algorithm to update the action value function or policy function based on the reward value and state transition; Step 6: Repeat steps 3 to 5 until the convergence condition is met or the maximum number of training times is reached; Step 7: Evaluate the trained reinforcement learning model using the following model evaluation metrics: Prediction accuracy: For data prediction tasks, calculate the degree of match between the model prediction results and the true value, using mean square error (MSE), mean absolute error (MAE) or accuracy as evaluation indicators; Classification accuracy: For data classification tasks, calculate the precision (Precision), recall (Recall) and F1 score (F1-Score) of the model classification results; Stability index: Calculate the policy change rate of the model within 10 consecutive training cycles. If the change rate is less than 0.05, the model is considered to have converged and stabilized. Medical field applicability indicators: Domain experts evaluate the conformity of the data processing strategy output by the model with clinical practice guidelines. The conformity score is scored on a 5-point scale, with an average score of no less than 4 points. Risk assessment indicators: For high-risk decisions (such as intensive care data processing), the calculation model's error rate in simulating extreme situations is required to be less than 0.01%; a data processing module connected to the reinforcement learning module, analyzing, mining, and predicting the medical care data according to the data processing strategy output by the reinforcement learning module to obtain data processing results; and using an outlier detection algorithm and a missing value filling algorithm when cleaning the medical care data. The outlier detection algorithm includes the statistical 3σ principle and the density-based DBSCAN algorithm, and the missing value filling algorithm includes the mean filling and the multiple imputation method. A result output module, connected to the data processing module, for visually displaying and outputting the data processing results; A model updating module is used to regularly acquire new medical care data and update and optimize the reinforcement learning model of the reinforcement learning module. When updating the reinforcement learning model, the model updating module adopts the following incremental update method based on meta-learning and dynamic knowledge transfer: Step 1: Build a knowledge graph in the medical field; Build an ontology knowledge base based on historical medical data and domain expert knowledge, including entities and relationships such as disease classification, symptom manifestations, and treatment plans; Graph embedding technology is used to convert the knowledge graph into a low-dimensional vector representation to store prior knowledge; Step 2: Design a multi-granularity data sampling strategy; Assess the importance of the newly added medical care data and calculate the information gain of the data sample: InfoGain(sample)=p*log(p / p')+(1-p)*log((1-p) / (1-p')) Where p is the model's prediction confidence for the sample, and p' is the actual label probability of the sample; Stratify the data based on information gain: High-value data (InfoGain > threshold): all included in update training; Medium-value data: weighted sampling is used, with the weight proportional to the information gain; Low-value data: Select representative samples after clustering; Step 3: Meta-learning guided parameter initialization; Construct a meta-learner and train it using the historical update task: θ'=θ-α∇θLtask(Ti,θ) Where θ is the model parameter, α is the learning rate, and Ltask is the task loss function; When updating the model, a meta-learner is used to generate the initialization parameter θ0 instead of the traditional random initialization. Step 4: Dynamic knowledge transfer mechanism; Calculate the difference in distribution between new and old data: DistDiff=JS(P(old)||P(new)) Where JS is Jensen-Shannon divergence; Adaptively adjust the knowledge transfer strategy based on distribution differences: When DistDiff<0.1, the parameter freezing strategy is adopted and only the output layer is updated; When 0.1≤DistDiff<0.3, progressive migration is adopted to unfreeze parameters layer by layer; When DistDiff ≥ 0.3, knowledge distillation is started to retain the dark knowledge of the old model; Step 5: Hybrid optimization target training; Construct a loss function with multiple objectives: Ltotal=λ1Ltask+λ2Lconsistency+λ3Ldiversity.
[0017] Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field and related fields without making creative efforts should fall within the scope of protection of the present invention. Structures, devices, and operating methods not specifically described and explained in the present invention shall be implemented in accordance with conventional means in the field unless otherwise specified or limited.
Claims
1. A medical care data processing system based on reinforcement learning, characterized in that: include: A data acquisition module is used to collect multi-source heterogeneous medical care data, including basic patient information, vital signs data, diagnosis records, nursing records, and medication information; A data preprocessing module, connected to the data acquisition module, is used to clean, remove noise, and standardize the collected medical care data, and convert the processed data into a unified format; A reinforcement learning module is connected to the data preprocessing module to construct a reinforcement learning model. The model uses the preprocessed medical care data as input, sets a state space, an action space, and a reward function, and outputs a data processing strategy through continuous trial and error and learning. The state space represents different feature combinations of the medical care data and the current processing state. The action space represents processing operations for the data, including data classification, data prediction, and data association analysis. The reward function is set based on the accuracy and effectiveness of the data processing results. A data processing module, connected to the reinforcement learning module, analyzes, mines and predicts the medical care data according to the data processing strategy output by the reinforcement learning module to obtain data processing results; The result output module is connected to the data processing module and is used to visually display and output the data processing results.
2. A medical care data processing system based on reinforcement learning according to claim 1, characterized in that: The specific steps of constructing the reinforcement learning model by the reinforcement learning module include: Step 1: Build a medical care data processing environment and use the preprocessed medical care data output by the data preprocessing module as the environment state; Step 2: Set the agent’s initial strategy; Step 3: The agent performs data processing actions and selects data processing actions from the action space according to the current environment state; Step 4: The environment returns a reward value, which is calculated based on the accuracy and effectiveness of the data processing results; Step 5: Update the agent strategy and use the reinforcement learning algorithm to update the action value function or policy function based on the reward value and state transition; Step 6: Repeat steps 3 to 5 until the convergence condition is met or the maximum number of training times is reached; Step 7: Evaluate the trained reinforcement learning model.
3. A medical care data processing system based on reinforcement learning according to claim 1, characterized in that: The data acquisition module includes multiple data interfaces, including but not limited to HL7 interface, DICOM interface, and RESTful API interface, which are used to realize data interaction with hospital information systems, medical equipment, and nursing terminals.
4. A medical care data processing system based on reinforcement learning according to claim 1, characterized in that: When the data preprocessing module cleans the medical care data, it adopts an outlier detection algorithm and a missing value filling algorithm. The outlier detection algorithm includes the statistical 3σ principle and the density-based DBSCAN algorithm, and the missing value filling algorithm includes mean filling and multiple filling method.
5. The medical care data processing system based on reinforcement learning according to claim 1, characterized in that: The reinforcement learning module uses a deep Q-network algorithm or a policy gradient algorithm to build a reinforcement learning model.
6. A medical care data processing system based on reinforcement learning according to claim 1, characterized in that: The data processing module analyzes, mines and predicts medical care data, including disease risk prediction, nursing quality assessment and medication regimen recommendation.
7. A medical care data processing system based on reinforcement learning according to claim 1, characterized in that: It also includes a model updating module for regularly acquiring new medical care data and updating and optimizing the reinforcement learning model of the reinforcement learning module.
8. A medical care data processing system based on reinforcement learning according to claim 7, characterized in that: The model updating module adopts an incremental updating method based on meta-learning and dynamic knowledge transfer when updating the reinforcement learning model.
Citation Information
Patent Citations
A data processing method an device and apparatus
CN109034175A
Liver cancer prediction method and system based on reinforcement learning
CN117174318A
Medical data mining method and system fused with deep learning
CN117292840A
Received data analysis and judgment system for data interface
CN119293705A
System and method for intelligence crowdsourcing reinforcement learning for clinical pathway optimization
US20200373017A1
Cited By
Clinical time series data cleaning method and system based on hierarchical agent reinforcement learning
CN121958768A