Screening and early warning method and system for high-risk patients with sepsis based on artificial intelligence
Through methods based on graph neural networks and dynamic Bayesian networks, the clinical status diagram and disease evolution model of sepsis patients are constructed, which solves the problems of subjectivity and timeliness in traditional methods and realizes the diagnosis and treatment of high-risk sepsis patients. Precise screening and early warning improve diagnostic efficiency and accuracy.
Patent Information
- Application Number
- CN202410695212.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-05-31
AI Technical Summary
Traditional sepsis screening and early warning methods rely on the experience of clinicians, are easily affected by subjective factors, are difficult to capture changes in disease conditions in a timely manner, and lack effective automation and accuracy.
A multi-modal representation learning algorithm based on graph neural network is used to construct a patient clinical state diagram, combined with a spatiotemporal attention mechanism and a graph sequence neural network for alignment, and a clinical decision support solution is generated through a two-layer dynamic Bayesian network and a counterfactual inference algorithm. .
It achieves accurate screening and early warning of high-risk patients with sepsis, improves early diagnosis rate, shortens diagnosis and treatment response time, reduces the risk of misdiagnosis and missed diagnosis, triggers alarms in a timely manner and determines the cause of condition deterioration, and provides patients with personalized intervention strategies. .
Smart Images

Figure CN118280564B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical information technology, and in particular to an artificial intelligence-based high-risk sepsis patient screening and early warning method and system. Background Art
[0002] Sepsis is a systemic inflammatory response syndrome caused by infection that can lead to multiple organ dysfunction and is one of the main causes of death in patients in intensive care units. Early identification of high-risk patients with sepsis and timely intervention are crucial to improving prognosis. However, the clinical manifestations of sepsis are diverse and progress rapidly, making early diagnosis challenging.
[0003] Traditional sepsis screening and early warning methods mainly rely on the experience and judgment of clinicians to identify high-risk patients by evaluating patients' vital signs, laboratory test results, and clinical manifestations. However, this method is easily affected by subjective factors and it is difficult to capture changes in the condition in a timely manner.
[0004] In recent years, with the popularization of electronic medical record systems and the accumulation of medical data, the use of artificial intelligence technology for disease risk prediction and early warning has received increasing attention. Machine learning algorithms can automatically extract features from massive medical data, establish prediction models, and provide support for clinical decision-making;
[0005] Therefore, there is an urgent need for a solution to apply artificial intelligence to the screening of sepsis patients to solve the problems existing in traditional screening methods. Summary of the invention
[0006] The embodiments of the present invention provide a method and system for screening and early warning of high-risk sepsis patients based on artificial intelligence, which can at least solve some of the problems existing in the prior art.
[0007] A first aspect of an embodiment of the present invention provides a method for screening and early warning of high-risk patients with sepsis based on artificial intelligence, comprising:
[0008] Obtaining structured clinical data and unstructured clinical data of sepsis patients and non-sepsis patients and preprocessing them, adding the preprocessed data to a pre-built initial screening model, constructing a patient clinical state graph through a multimodal representation learning algorithm based on a graph neural network, aligning the patient clinical state graph through a graph sequence neural network, aggregating the information in the patient clinical state graph in combination with a spatiotemporal attention mechanism to obtain a predicted high-risk probability, training the initial screening model based on the predicted high-risk probability, and obtaining a high-risk patient screening model;
[0009] Acquire structured clinical data and unstructured clinical data of the patient to be screened, obtain the high-risk probability of sepsis of the patient to be screened corresponding to the patient to be screened through the high-risk patient screening model, and decode the current hidden state and attention weight through a preset decoder to obtain a clinical state diagram and combine them to obtain a clinical state sequence, identify the clinical state sequence, and obtain a key state transition path;
[0010] Based on the clinical data of the patients to be screened, a two-layer dynamic Bayesian network is constructed and the clinical data is tracked in real time to obtain the current state transition path and compare it with the key state transition path. If an abnormal deviation occurs, an alarm is triggered according to the degree of deviation. The cause of the deterioration of the condition is determined in combination with the counterfactual inference algorithm, and a clinical decision support plan is generated.
[0011] In an optional embodiment,
[0012] Obtain structured and unstructured clinical data of sepsis patients and non-sepsis patients and preprocess them, add the preprocessed data to the pre-built initial screening model, and construct the patient clinical status diagram through the multimodal representation learning algorithm based on graph neural network, including:
[0013] Acquire structured clinical data of sepsis patients and non-sepsis patients, wherein the structured clinical data includes demographic information, vital sign measurements, and pathogen test results, perform deduplication and normalization operations on the original data, extract statistical means and frequency domain features for time series data, and perform weighted fusion of structured data of different modalities through a self-attention mechanism to obtain a structured feature representation;
[0014] Obtaining unstructured clinical data of sepsis patients and non-sepsis patients, wherein the unstructured clinical data includes electronic medical record text, medical images and genome sequencing data; for the electronic medical record text, performing word segmentation, part-of-speech tagging and named entity recognition by using medical natural language processing tools, extracting symptoms and signs as key information and mapping the key information to a standard medical terminology set; for medical imaging data, automatically outlining the infected area by using a semantic segmentation model, extracting texture features and position features; for the genome sequencing data, performing quality control, alignment and variation detection on the original sequencing data, obtaining genetic variation information and performing functional annotation; combining the processed unstructured clinical data to obtain an unstructured feature representation;
[0015] The structured feature representation and the unstructured feature representation are added to a pre-built initial screening model, each patient is taken as a node, and the structured feature representation and the unstructured feature representation are used as node features of the node. According to medical knowledge and data-driven algorithms, edges are added between patients, each edge represents the correlation and causal relationship between clinical indicators, the neighborhood information of the nodes is aggregated through a graph attention network, the node features are updated, and the update is repeated until the node features of each node are updated, and all node features are aggregated to obtain the patient's clinical status diagram.
[0016] In an optional embodiment,
[0017] The patient clinical status graph is aligned by a graph sequence neural network, and the information in the patient clinical status graph is aggregated by combining a spatiotemporal attention mechanism to obtain a predicted high-risk probability, and the initial screening model is trained based on the predicted high-risk probability to obtain a high-risk patient screening model, which includes:
[0018] Acquire the patient's clinical state graph and combine the patient's clinical state graph according to the time series to obtain a first state sequence, add the first state sequence to the graph sequence neural network, encode the first state sequence through a gated recurrent unit, at each time step, the gated recurrent unit receives the embedded state of the current state graph and determines the hidden state of the current time step in combination with the hidden state of the previous time step, and the set time attention mechanism determines the dynamic representation of the state graph corresponding to the current patient;
[0019] Based on the dynamic representation, a distance matrix between the first state sequence and the standard state sequence is calculated, an optimal matching path in the distance matrix is determined in combination with a dynamic programming algorithm, and alignment is performed based on the optimal matching path;
[0020] For the aligned first state sequence, the temporal attention weights of different time steps and the spatial attention weights corresponding to different nodes are calculated respectively through the self-attention mechanism, the temporal attention weights are outer-producted with the spatial attention weights to obtain the joint attention weights, and the nodes in the first state sequence are weighted summed based on the joint attention weights to obtain the aggregated state representation;
[0021] Based on the aggregation state representation, prediction is performed through the initial screening model to obtain a predicted high-risk probability, which is verified by comparing the predicted high-risk probability with the patient's actual disease probability. Based on the verification result, the hyperparameters of the initial screening model are adjusted, and the update is repeated until a preset maximum number of iterations is reached to obtain the high-risk patient screening model.
[0022] In an optional embodiment,
[0023] The time attention weights of different time steps and the spatial attention weights corresponding to different nodes are calculated through the self-attention mechanism, and the temporal attention weights and the spatial attention weights are outer-producted to obtain the joint attention weight as shown in the following formula:
[0024] ;
[0025] in, β ijk Representation Node i and nodes k The degree of spatiotemporal correlation between f represents the learnable fusion function, H represents the number of attention heads, Indicates h In the temporal attention head, the node i and nodes j The temporal attention weight between N(i) Representation Node i The set of neighbor nodes of Representation Node i and nodes j The spatial attention weights between Representation Node i and neighbor nodes k The spatial attention weights between .
[0026] In an optional embodiment,
[0027] The structured clinical data and unstructured clinical data of the patient to be screened are obtained, and the high-risk probability of sepsis corresponding to the patient to be screened is obtained through the high-risk patient screening model. At the same time, the current hidden state and attention weight are decoded by a preset decoder to obtain a clinical state diagram and a clinical state sequence is obtained by combining the clinical state sequence, and the key state transition path is obtained by identifying the clinical state sequence, including:
[0028] Acquiring structured clinical data and unstructured clinical data of the patient to be screened, and determining the high-risk probability of sepsis of the patient to be screened corresponding to the patient to be screened by using the high-risk patient screening model;
[0029] Based on the high-risk probability of sepsis in the patient, a deconvolution operation is performed on the current hidden state with a goal of minimizing reconstruction loss through a pre-set decoder, and the current hidden state is mapped into the clinical state map;
[0030] Based on the clinical state graph, a state graph is combined to obtain a clinical state sequence, the clinical state sequence is compared with a standard state sequence, a state graph difference between two time steps is calculated and compared with a difference threshold, if the state graph difference is greater than the difference threshold, it is considered that a state transition occurs at the current time step, the current time step is marked as a state transition point, and for each state transition point, directed edges are constructed between different state transition points based on the time series to obtain a state transition graph;
[0031] The shortest path from the initial state to the final state is searched in the state transition diagram to obtain the key state transition path.
[0032] In an optional embodiment,
[0033] Based on the clinical data of the patient to be screened, a two-layer dynamic Bayesian network is constructed and the clinical data is tracked in real time to obtain the current state transition path and compare it with the key state transition path. If an abnormal deviation occurs, an alarm is triggered according to the degree of deviation. The cause of the deterioration of the condition is determined by combining the counterfactual inference algorithm, and a clinical decision support plan is generated, including:
[0034] According to the clinical data characteristics of the patients to be screened, a two-layer dynamic Bayesian network is constructed, wherein the first layer is a clinical status layer, and the nodes represent the clinical indicators of the patients to be screened, and the second layer is a disease evolution layer, and the nodes represent the disease status of the patients to be screened. A grid directed edge is added between the two layers of grids, wherein the grid directed edge is used to indicate the causal relationship between the clinical indicators and the disease status;
[0035] At each time step in the clinical data, determine the state node with the largest posterior probability and use it as the most likely state, connect the most likely states in all time steps to obtain the current state transition path, compare the current state transition path with the key state transition path and calculate the similarity based on the edit distance, if the similarity is less than a preset similarity threshold, it is considered that an abnormal deviation occurs;
[0036] If an abnormal deviation occurs, the alarm level is determined according to the degree of deviation. At the same time, the time point when the abnormal deviation occurs is selected as the inference starting point of the counterfactual inference algorithm. The initial state is set in the two-layer dynamic Bayesian network according to the clinical state corresponding to the inference starting point, and multiple counterfactual scenarios are generated. The node states in the counterfactual scenarios are determined and the posterior distribution probability is calculated. The forward-backward algorithm is combined for inference to obtain the state transition path and key event probability under each counterfactual scenario. The cause of the deterioration of the disease is determined based on the key event probability. Based on the cause of the deterioration of the disease, the corresponding clinical decision support plan is generated with reference to clinical guidelines and treatment cases.
[0037] In an optional embodiment,
[0038] The current state transition path is compared with the key state transition path and the similarity is calculated based on the edit distance as shown in the following formula:
[0039] ;
[0040] Among them, Sim( A , B ) indicates the current state transition path A and key state transition paths B The similarity of α represents the weight parameter, ED( A , B )express A and B The edit distance between them, m represents the current state transition path A Length, n Indicates the key state transition path B length, LCS( A , B ) indicates the path A and B The longest common subsequence length between .
[0041] A second aspect of an embodiment of the present invention provides an artificial intelligence-based high-risk sepsis patient screening and early warning system, comprising:
[0042] The first unit is used to obtain structured clinical data and unstructured clinical data of sepsis patients and non-sepsis patients and perform preprocessing, add the preprocessed data to a pre-built initial screening model, construct a patient clinical state graph through a multimodal representation learning algorithm based on a graph neural network, align the patient clinical state graph through a graph sequence neural network, aggregate the information in the patient clinical state graph in combination with a spatiotemporal attention mechanism to obtain a predicted high-risk probability, train the initial screening model based on the predicted high-risk probability, and obtain a high-risk patient screening model;
[0043] The second unit is used to obtain structured clinical data and unstructured clinical data of the patient to be screened, obtain the high-risk probability of sepsis of the patient to be screened corresponding to the patient to be screened through the high-risk patient screening model, and decode the current hidden state and attention weight through a preset decoder to obtain a clinical state diagram and combine them to obtain a clinical state sequence, identify the clinical state sequence, and obtain a key state transition path;
[0044] The third unit is used to construct a two-layer dynamic Bayesian network based on the clinical data of the patient to be screened and track the clinical data in real time, obtain the current state transfer path and compare it with the key state transfer path. If an abnormal deviation occurs, an alarm is triggered according to the degree of deviation, and the cause of the deterioration of the condition is determined in combination with the counterfactual inference algorithm to generate a clinical decision support plan.
[0045] According to a third aspect of the embodiments of the present invention,
[0046] An electronic device is provided, comprising:
[0047] processor;
[0048] a memory for storing processor-executable instructions;
[0049] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.
[0050] According to a fourth aspect of the embodiments of the present invention,
[0051] A computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the aforementioned method is implemented.
[0052] In the present invention, multimodal representation learning is performed through graph neural networks to construct a state graph that can comprehensively characterize the patient's clinical status. The key information in the state graph can be effectively captured to obtain accurate high-risk probability predictions. By identifying the clinical state sequence, the method can automatically extract the key state transition paths in the patient's condition evolution process, reveal the key nodes and trends in the development of the disease, and provide a reference for abnormal state detection and early warning. By generating multiple counterfactual scenarios and evaluating their possible consequences, the method can identify key factors that lead to worsening of the disease, such as abnormal changes in specific vital signs or improper adjustments to treatment measures, which is helpful to formulate more effective intervention strategies and curb the worsening of the disease. In summary, the present invention can significantly improve the early diagnosis rate of sepsis, shorten the diagnosis and treatment response time, reduce the risk of misdiagnosis and missed diagnosis, and win precious opportunities for saving patients' lives. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 This is a flow chart of a method for screening and early warning of high-risk sepsis patients based on artificial intelligence according to an embodiment of the present invention;
[0054] Figure 2 This is a schematic diagram of the structure of an artificial intelligence-based high-risk sepsis patient screening and early warning system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution 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 are within the scope of protection of the present invention.
[0056] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0057] Figure 1 FIG. 1 is a flow chart of a method for screening and early warning of high-risk patients with sepsis based on artificial intelligence according to an embodiment of the present invention. Figure 1 As shown, the method includes:
[0058] S1. Obtain structured clinical data and unstructured clinical data of sepsis patients and non-sepsis patients and perform preprocessing, add the preprocessed data to a pre-built initial screening model, construct a patient clinical state graph through a multimodal representation learning algorithm based on a graph neural network, align the patient clinical state graph through a graph sequence neural network, aggregate the information in the patient clinical state graph in combination with a spatiotemporal attention mechanism to obtain a predicted high-risk probability, train the initial screening model based on the predicted high-risk probability, and obtain a high-risk patient screening model;
[0059] The initial screening model is used to quickly screen out individuals who may be in a high-risk state from a large amount of patient data. The graph neural network is a special neural network specifically used to process graph data, such as social networks, protein interaction networks, etc. The spatiotemporal attention mechanism is a mechanism for focusing the model's attention in time and space. The prediction of high-risk probability is usually achieved by analyzing the patient's clinical data to identify whether the patient is in a certain high-risk state.
[0060] In an optional embodiment,
[0061] Obtain structured and unstructured clinical data of sepsis patients and non-sepsis patients and preprocess them, add the preprocessed data to the pre-built initial screening model, and construct the patient clinical status diagram through the multimodal representation learning algorithm based on graph neural network, including:
[0062] Acquire structured clinical data of sepsis patients and non-sepsis patients, wherein the structured clinical data includes demographic information, vital sign measurements, and pathogen test results, perform deduplication and normalization operations on the original data, extract statistical means and frequency domain features for time series data, and perform weighted fusion of structured data of different modalities through a self-attention mechanism to obtain a structured feature representation;
[0063] Obtaining unstructured clinical data of sepsis patients and non-sepsis patients, wherein the unstructured clinical data includes electronic medical record text, medical images and genome sequencing data; for the electronic medical record text, performing word segmentation, part-of-speech tagging and named entity recognition by using medical natural language processing tools, extracting symptoms and signs as key information and mapping the key information to a standard medical terminology set; for medical imaging data, automatically outlining the infected area by using a semantic segmentation model, extracting texture features and position features; for the genome sequencing data, performing quality control, alignment and variation detection on the original sequencing data, obtaining genetic variation information and performing functional annotation; combining the processed unstructured clinical data to obtain an unstructured feature representation;
[0064] The structured feature representation and the unstructured feature representation are added to a pre-built initial screening model, each patient is taken as a node, and the structured feature representation and the unstructured feature representation are used as node features of the node. According to medical knowledge and data-driven algorithms, edges are added between patients, each edge represents the correlation and causal relationship between clinical indicators, the neighborhood information of the nodes is aggregated through a graph attention network, the node features are updated, and the update is repeated until the node features of each node are updated, and all node features are aggregated to obtain the patient's clinical status diagram.
[0065] The frequency domain feature refers to the attribute characterizing the frequency characteristics of the signal extracted by performing frequency domain analysis on the signal in the field of signal processing. The medical natural language processing tool is a type of tool specifically used to process medical text data. The semantic segmentation model is a deep learning model used to segment an image into different regions with semantic information. The genome sequencing data refers to the genome sequence information of a biological individual obtained through high-throughput sequencing technology. The data-driven algorithm refers to an algorithm for modeling and analysis based on data.
[0066] Obtain structured clinical data of sepsis and non-sepsis patients, including demographic information, vital sign measurements, and pathogen test results. Perform deduplication and normalization operations on the original structured data to eliminate redundant data and data dimension differences. For time series data (such as vital sign measurements), extract statistical means and frequency domain features to capture the overall trend and periodic changes of the data. Perform weighted fusion of structured data of different modalities through the self-attention mechanism, adaptively learn the importance of different data types, and obtain a comprehensive structured feature representation.
[0067] Obtain unstructured clinical data of septic and non-septic patients, including electronic medical record text, medical imaging, and genome sequencing data; use medical natural language processing tools to perform word segmentation, part-of-speech tagging, and named entity recognition on the text; extract symptoms and signs as key information and map them to standard medical terminology sets; automatically delineate infected areas through semantic segmentation models, accurately locate areas of interest, extract texture features and position features of infected areas, quantify imaging features; perform quality control, sequence alignment, and variant detection on raw sequencing data to ensure data reliability and identify genetic variants; perform functional annotations on detected genetic variants, explain the biological significance of the variants; combine the processed unstructured clinical data to obtain a comprehensive unstructured feature representation;
[0068] Add structured feature representation and unstructured feature representation to the pre-built initial screening model, take each patient as a node in the graph, and use structured feature representation and unstructured feature representation as node features. Add edges between patient nodes based on medical knowledge and data-driven algorithms. Each edge represents the correlation and causal relationship between clinical indicators. For each node, consider the features of its neighboring nodes and the weights of the connecting edges, calculate the importance of neighboring nodes through the attention mechanism, perform weighted aggregation on the features of neighboring nodes, combine the aggregated neighborhood information with the node's own features, update the node features, and repeat the updating process until the features of each node are updated, so that the node features fully integrate the neighborhood information, aggregate the updated features of all nodes, and obtain a graph representation representing the patient's overall clinical status.
[0069] In this embodiment, full use is made of the patient's multimodal clinical data, including demographic information, vital signs, etiological examination results, electronic medical record texts, medical images and genome sequencing data, which can reflect the patient's health status from different angles and provide a more complete and accurate information basis. By introducing medical knowledge into the graph construction process and adding edges that reflect the correlation and causal relationship between clinical indicators, the final graph representation is more in line with medical laws and has better interpretability. The nodes and edges in the graph intuitively represent the relationship between patient characteristics and indicators. Doctors can understand the impact of different factors on the patient's condition by analyzing the graph structure, which helps to improve doctors' trust in model decisions and promote human-computer collaboration. In summary, this embodiment innovatively integrates multimodal clinical data to construct a dynamically updated patient clinical status graph, which helps to comprehensively obtain patient status information and lays the foundation for determining the probability of illness.
[0070] In an optional embodiment,
[0071] The patient clinical status graph is aligned by a graph sequence neural network, and the information in the patient clinical status graph is aggregated by combining a spatiotemporal attention mechanism to obtain a predicted high-risk probability, and the initial screening model is trained based on the predicted high-risk probability to obtain a high-risk patient screening model, which includes:
[0072] Acquire the patient's clinical state graph and combine the patient's clinical state graph according to the time series to obtain a first state sequence, add the first state sequence to the graph sequence neural network, encode the first state sequence through a gated recurrent unit, at each time step, the gated recurrent unit receives the embedded state of the current state graph and determines the hidden state of the current time step in combination with the hidden state of the previous time step, and the set time attention mechanism determines the dynamic representation of the state graph corresponding to the current patient;
[0073] Based on the dynamic representation, a distance matrix between the first state sequence and the standard state sequence is calculated, an optimal matching path in the distance matrix is determined in combination with a dynamic programming algorithm, and alignment is performed based on the optimal matching path;
[0074] For the aligned first state sequence, the temporal attention weights of different time steps and the spatial attention weights corresponding to different nodes are calculated respectively through the self-attention mechanism, the temporal attention weights are outer-producted with the spatial attention weights to obtain the joint attention weights, and the nodes in the first state sequence are weighted summed based on the joint attention weights to obtain the aggregated state representation;
[0075] Based on the aggregation state representation, prediction is performed through the initial screening model to obtain a predicted high-risk probability, which is verified by comparing the predicted high-risk probability with the patient's actual disease probability. Based on the verification result, the hyperparameters of the initial screening model are adjusted, and the update is repeated until a preset maximum number of iterations is reached to obtain the high-risk patient screening model.
[0076] The time series is a collection of data points arranged in chronological order. The gated recurrent unit is a variant of a recurrent neural network used to process sequence data. The joint attention weight is an attention mechanism used to jointly learn attention weights between multiple input sequences or features. The aggregate state representation refers to aggregating or combining multiple input sequences or features into a state vector or representation representing the overall information in some way. The optimal matching path refers to finding the path that best meets a specific standard or goal in graph structured data.
[0077] Obtain the patient's clinical state graph, combine the state graph according to the time series, obtain the first state sequence, add the first state sequence to the graph sequence neural network, prepare for encoding and representation learning, encode the first state sequence through the gated recurrent unit, at each time step, the gated recurrent unit receives the embedded representation of the current state graph, and combines the hidden state of the previous time step to determine the hidden state of the current time step, introduce the time attention mechanism, calculate the attention weight of each time step according to the hidden state sequence, and obtain the dynamic representation of the state graph corresponding to the current patient;
[0078] Based on the dynamic representation of the state diagram, the distance matrix between the first state sequence and the standard state sequence is calculated. Combined with the dynamic programming algorithm, the optimal matching path is found in the distance matrix to achieve the alignment of the state sequence. According to the optimal matching path, the first state sequence is aligned with the standard state sequence to eliminate the problem of inconsistent time step lengths.
[0079] For the aligned first state sequence, the time attention weights of different time steps and the spatial attention weights corresponding to different nodes are calculated through the self-attention mechanism, and the time attention weights are outer-producted with the spatial attention weights to obtain the joint attention weight matrix. Based on the joint attention weight matrix, the nodes in the first state sequence are weighted and summed to obtain the aggregated state representation. Based on the aggregated state representation, the initial screening model is used to make predictions to obtain the predicted high-risk probability of the patient. The predicted high-risk probability is compared with the patient's actual disease probability, and the prediction error of the model is calculated. According to the prediction error, the back-propagation algorithm is used to adjust the hyperparameters of the initial screening model, such as weights and biases, and the training operation is repeated to update the model parameters until the preset maximum number of iterations is reached or other preset stopping conditions are met, so as to obtain a trained high-risk patient screening model.
[0080] In this embodiment, the long-distance dependencies between states are captured by the gated recurrent unit, which realizes the dynamic modeling of the patient's disease evolution process, helps to make full use of the timing information of the state diagram, and more accurately characterizes the dynamic changes of the patient. By calculating the distance matrix between the first state sequence and the standard state sequence, and using the dynamic programming algorithm to find the optimal matching path, the state sequence is aligned, ensuring the comparability of states between different patients and improving the accuracy of subsequent predictions and analysis. By comparing the predicted high-risk probability with the actual disease probability, calculating the prediction error, and adjusting the model hyperparameters using the back propagation algorithm, the overfitting problem can be avoided. In summary, this embodiment realizes the temporal dynamic modeling of the patient's clinical state through a graph sequence neural network, introduces a spatiotemporal attention mechanism to obtain a comprehensive and targeted state representation, and improves the prediction performance through state sequence alignment and model optimization.
[0081] In an optional embodiment,
[0082] The time attention weights of different time steps and the spatial attention weights corresponding to different nodes are calculated through the self-attention mechanism, and the temporal attention weights and the spatial attention weights are outer-producted to obtain the joint attention weight as shown in the following formula:
[0083] ;
[0084] in, β ijk Representation Node i and nodes k The degree of spatiotemporal correlation between f represents the learnable fusion function, H represents the number of attention heads, Indicates h In the temporal attention head, the node i and nodes j The temporal attention weight between N(i) Representation Node i The set of neighbor nodes of Representation Node i and nodes j The spatial attention weights between Representation Node i and neighbor nodes k The spatial attention weights between .
[0085] In this embodiment, by performing the outer product of the temporal attention weight and the spatial attention weight, the function effectively fuses the information of the time dimension and the spatial dimension, and can simultaneously capture the correlation between different time steps and different nodes. By introducing the multi-head attention mechanism, the relationship between time steps can be captured from different angles, which improves the expressive power of the temporal attention weight. The introduction of a learnable fusion function provides greater flexibility, and can dynamically adjust the weight distribution of spatiotemporal attention according to specific tasks and data characteristics, thereby improving the adaptability of the model. In summary, this embodiment can improve the representation ability of the patient's clinical status diagram, and lays a solid foundation for subsequent high-risk patient screening and early warning tasks.
[0086] S2. Obtain structured clinical data and unstructured clinical data of the patient to be screened, obtain the high-risk probability of sepsis corresponding to the patient to be screened through the high-risk patient screening model, and decode the current hidden state and attention weight through a preset decoder to obtain a clinical state diagram and combine them to obtain a clinical state sequence, identify the clinical state sequence, and obtain a key state transition path;
[0087] The clinical state sequence refers to a sequence of key clinical states that a patient experiences during the course of disease development or treatment in the medical field, and the key state transition path refers to the path by which a patient transitions from one key clinical state to another in the clinical state sequence.
[0088] In an optional embodiment,
[0089] The structured clinical data and unstructured clinical data of the patient to be screened are obtained, and the high-risk probability of sepsis corresponding to the patient to be screened is obtained through the high-risk patient screening model. At the same time, the current hidden state and attention weight are decoded by a preset decoder to obtain a clinical state diagram and a clinical state sequence is obtained by combining the clinical state sequence, and the key state transition path is obtained by identifying the clinical state sequence, including:
[0090] Acquiring structured clinical data and unstructured clinical data of the patient to be screened, and determining the high-risk probability of sepsis of the patient to be screened corresponding to the patient to be screened by using the high-risk patient screening model;
[0091] Based on the high-risk probability of sepsis in the patient, a deconvolution operation is performed on the current hidden state with a goal of minimizing reconstruction loss through a pre-set decoder, and the current hidden state is mapped into the clinical state map;
[0092] Based on the clinical state graph, a state graph is combined to obtain a clinical state sequence, the clinical state sequence is compared with a standard state sequence, a state graph difference between two time steps is calculated and compared with a difference threshold, if the state graph difference is greater than the difference threshold, it is considered that a state transition occurs at the current time step, the current time step is marked as a state transition point, and for each state transition point, directed edges are constructed between different state transition points based on the time series to obtain a state transition graph;
[0093] The shortest path from the initial state to the final state is searched in the state transition diagram to obtain the key state transition path.
[0094] The deconvolution operation is an operation used to increase the size of the feature map, and is usually used in tasks such as image segmentation and image reconstruction. The decoder is a component in a neural network, which is used to decode high-level feature representations into the form of original input. The clinical state diagram is a graph structure that represents the clinical status and transition relationship between patients. The standard sequence is usually used to represent the progression of a disease, the treatment process or evaluation indicators, etc., to facilitate comparison, analysis and diagnosis. The difference threshold refers to the critical value for determining the difference between two sets of data or sequences when comparing the two sets of data or sequences. The state transition point refers to a specific time point or event in the clinical state diagram that indicates a change in the patient's state. The directed edge is the transition relationship between connected states, which describes the direction and possibility of change between states.
[0095] Obtain structured and unstructured clinical data of patients to be screened, including demographic information, vital signs, etiological test results, electronic medical record texts, medical images, and genome sequencing data, etc. Input the acquired patient data into a pre-trained high-risk patient screening model, calculate the high-risk probability of sepsis in patients through forward propagation, and perform a deconvolution operation on the current hidden state through a pre-set decoder based on the high-risk probability of sepsis in patients, with the goal of minimizing reconstruction loss, map the current hidden state to a clinical state graph through deconvolution, restore the clinical state characteristics of the patient, compare the reconstructed clinical state graph with the original state graph, calculate the reconstruction loss, and use the back-propagation algorithm to optimize the decoder parameters to improve the accuracy of state graph reconstruction;
[0096] Based on the reconstructed clinical state graph, the state graphs are combined in chronological order to obtain the patient's clinical state sequence, the patient's clinical state sequence is compared with a predefined standard state sequence, the state graph difference between two adjacent time steps is calculated, the calculated state graph difference is compared with a preset difference threshold, and it is determined whether a state transition occurs. If the state graph difference is greater than the difference threshold, it is considered that a state transition occurs in the current time step, and the current time step is marked as a state transition point;
[0097] For each state transition point, a directed edge is constructed between different state transition points based on the time series. The starting point of the directed edge is the previous state transition point, and the end point is the next state transition point, which represents the transition relationship between states. By connecting the directed edges between all state transition points, a complete state transition diagram is obtained, which reflects the key state transitions in the evolution of the patient's condition.
[0098] In the state transition diagram, the initial state is set as the patient's starting clinical state, and the terminal state is set as the preset disease terminal state or the last state of the time series. The graph search algorithm is used to search for the shortest path from the initial state to the terminal state in the state transition diagram. The shortest path obtained by the search is the critical state transfer path, which represents the critical state transfer process in the evolution of the patient's condition.
[0099] In this embodiment, high-risk features are learned through deep learning methods, which can accurately identify high-risk patients and provide a reliable basis for subsequent analysis. By introducing a decoder to perform deconvolution operations on hidden states, the method realizes the reconstruction of the patient's clinical state diagram. The reconstructed state diagram can restore the patient's key clinical features and provide rich information for subsequent state sequence analysis. By comparing the patient's clinical state sequence with the standard state sequence, the method can sensitively capture the key state transition points in the patient's condition evolution process. The state transition diagram intuitively depicts the key state transition process in the patient's condition evolution process and reveals the trajectory and laws of the disease development. In summary, this embodiment makes full use of the patient's multimodal clinical data and provides an intuitive and comprehensive disease evolution analysis tool.
[0100] S3. Based on the clinical data of the patients to be screened, a two-layer dynamic Bayesian network is constructed and the clinical data is tracked in real time to obtain the current state transition path and compare it with the key state transition path. If an abnormal deviation occurs, an alarm is triggered according to the degree of deviation. The cause of the deterioration of the condition is determined in combination with the counterfactual inference algorithm, and a clinical decision support plan is generated.
[0101] The two-layer dynamic Bayesian network is a probabilistic graphical model that combines the characteristics of a dynamic Bayesian network and a two-layer structure. The abnormal deviation refers to the difference between an observed value and an expected value under normal conditions. The counterfactual inference algorithm is an inference method used to evaluate the outcome of an event if a different scenario or decision occurs.
[0102] In an optional embodiment,
[0103] Based on the clinical data of the patient to be screened, a two-layer dynamic Bayesian network is constructed and the clinical data is tracked in real time to obtain the current state transition path and compare it with the key state transition path. If an abnormal deviation occurs, an alarm is triggered according to the degree of deviation. The cause of the deterioration of the condition is determined by combining the counterfactual inference algorithm, and a clinical decision support plan is generated, including:
[0104] According to the clinical data characteristics of the patients to be screened, a two-layer dynamic Bayesian network is constructed, wherein the first layer is a clinical status layer, and the nodes represent the clinical indicators of the patients to be screened, and the second layer is a disease evolution layer, and the nodes represent the disease status of the patients to be screened. A grid directed edge is added between the two layers of grids, wherein the grid directed edge is used to indicate the causal relationship between the clinical indicators and the disease status;
[0105] At each time step in the clinical data, determine the state node with the largest posterior probability and use it as the most likely state, connect the most likely states in all time steps to obtain the current state transition path, compare the current state transition path with the key state transition path and calculate the similarity based on the edit distance, if the similarity is less than a preset similarity threshold, it is considered that an abnormal deviation occurs;
[0106] If an abnormal deviation occurs, the alarm level is determined according to the degree of deviation. At the same time, the time point when the abnormal deviation occurs is selected as the inference starting point of the counterfactual inference algorithm. The initial state is set in the two-layer dynamic Bayesian network according to the clinical state corresponding to the inference starting point, and multiple counterfactual scenarios are generated. The node states in the counterfactual scenarios are determined and the posterior distribution probability is calculated. The forward-backward algorithm is combined for inference to obtain the state transition path and key event probability under each counterfactual scenario. The cause of the deterioration of the disease is determined based on the key event probability. Based on the cause of the deterioration of the disease, the corresponding clinical decision support plan is generated with reference to clinical guidelines and treatment cases.
[0107] The clinical status layer refers to a hierarchical structure used to describe different clinical statuses of patients in the medical field. The disease evolution layer refers to a layer above the clinical status layer, which is used to describe the changing process of the patient's condition at different time points or under different treatment plans. The grid directed edge is an edge in a graph structure, which represents a directed relationship between nodes. The most likely state refers to the clinical state or disease evolution state that the patient is most likely to be in under certain given conditions. The edit distance is a measurement method for measuring the difference between two sequences. The inference starting point refers to the possible starting point for an event to occur inferred for a given set of conditions and events in a counterfactual inference scenario. The counterfactual scenario refers to the consideration of possible results caused by different scenarios or decisions during the inference process.
[0108] According to the clinical data characteristics of the patients to be screened, a two-layer dynamic Bayesian network is constructed, in which the first layer is the clinical status layer, and the nodes represent the clinical indicators of the patients to be screened, such as vital signs, laboratory test results, etc. The second layer is the disease evolution layer, and the nodes represent the disease status of the patients to be screened, such as the different severity of sepsis. A grid directed edge is added between the clinical status layer and the disease evolution layer to indicate the causal relationship between the clinical indicators and the disease status. The direction of the grid directed edge points from the clinical status layer to the disease evolution layer, indicating the impact of the clinical indicators on the disease status.
[0109] In the clinical data of the patient to be screened, state inference is performed for each time step. At each time step, the posterior probability of each state node in the disease evolution layer is calculated according to the observed value of the clinical indicator, and the state node with the largest posterior probability is selected as the most likely state of the current time step. The most likely states of all time steps are connected to obtain the current state transition path, which represents the actual disease evolution process of the patient. The current state transition path is compared with the key state transition path obtained in advance, and the edit distance between the two paths is calculated. The reciprocal of the edit distance is used as the similarity. If the similarity is less than a preset similarity threshold, it is considered that there is an abnormal deviation between the current state transition path and the key state transition path.
[0110] If an abnormal deviation occurs, the alarm level is determined according to the degree of deviation (the size of the edit distance), such as low, medium, high, etc. The time point when the abnormal deviation occurs is selected as the inference starting point of the counterfactual inference algorithm. According to the clinical state corresponding to the inference starting point, the initial state is set in the two-layer dynamic Bayesian network. By changing the values of certain nodes in the clinical state layer, multiple counterfactual scenarios are generated to simulate different clinical intervention measures. For each counterfactual scenario, the state of each node in the disease evolution layer is determined according to the conditional probability table of the Bayesian network. The forward-backward algorithm is used to infer the counterfactual scenario, and the posterior distribution probability under each scenario is calculated;
[0111] Based on the inference results of counterfactual scenarios, the state transition paths and probabilities of key events (such as worsening of the disease) in each scenario are obtained. The probabilities of key events in different counterfactual scenarios are compared to determine the main causes of worsening of the disease, such as abnormal changes in a certain clinical indicator. According to the identified causes of worsening of the disease, with reference to clinical guidelines and previous successful treatment cases, targeted clinical decision support plans are generated. The clinical decision support plans include recommended treatment measures, monitoring indicators, prognosis assessments, etc., to provide references for doctors' clinical decisions. Doctors comprehensively consider the clinical decision support plans and the specific conditions of the patients, formulate personalized diagnosis and treatment plans, and intervene in time to prevent worsening of the disease.
[0112] In this embodiment, by constructing a two-layer dynamic Bayesian network, the patient's condition can be inferred in real time, and a state transition path reflecting the evolution of the patient's actual condition can be obtained. The changes in the patient's condition can be captured in time, providing a data basis for abnormal state detection. By comparing the patient's actual state transition path with the key state transition path obtained in advance, the method can automatically determine whether an abnormal deviation occurs, which helps to timely discover abnormal changes in the patient's condition and trigger an early warning mechanism. By generating multiple counterfactual scenarios and performing inference analysis, the evolution of the condition under different clinical intervention measures can be simulated, the potential effects of different intervention strategies can be explored, and a reference can be provided for clinical decision-making. By comparing the probabilities of key events under different counterfactual scenarios, the main causes of the deterioration of the condition can be identified, such as abnormal changes in a certain clinical indicator, which helps doctors to deeply understand the patient's condition and formulate targeted intervention measures. In summary, this embodiment can timely discover abnormal changes in the patient's condition, analyze the causes of the deterioration of the condition, and provide targeted clinical decision support, assist doctors in formulating personalized diagnosis and treatment plans, and help improve the diagnosis and treatment effect of sepsis and reduce mortality.
[0113] In an optional embodiment,
[0114] The current state transition path is compared with the key state transition path and the similarity is calculated based on the edit distance as shown in the following formula:
[0115] ;
[0116] Among them, Sim( A , B ) indicates the current state transition path A and key state transition paths B The similarity of α represents the weight parameter, ED( A , B )express A and B The edit distance between them, m represents the current state transition path A Length, n Indicates the key state transition path B length, LCS( A , B ) indicates the path A and B The longest common subsequence length between .
[0117] In this embodiment, the method quantifies the similarity of the state transition path into a numerical value through the two indicators of edit distance and longest common subsequence, which helps to quantify the similarity between the two paths and evaluate the change of the condition. The introduction of weight parameters can flexibly control the weights of the two indicators in the similarity calculation according to actual needs, which helps to improve the flexibility and adaptability of the similarity calculation. By visually displaying the editing operations between the paths, such as the insertion, deletion and replacement of the state, it can help doctors intuitively understand the abnormal deviations in the evolution of the patient's condition and identify key difference states. In summary, this embodiment provides a quantitative, intuitive and sensitive technical means for monitoring the condition of sepsis patients, which helps to improve the timeliness and effectiveness of clinical decision-making and improve patient prognosis.
[0118] Figure 2 FIG. 1 is a schematic diagram of the structure of a high-risk sepsis patient screening and early warning system based on artificial intelligence according to an embodiment of the present invention. Figure 2 As shown, the system comprises:
[0119] The first unit is used to obtain structured clinical data and unstructured clinical data of sepsis patients and non-sepsis patients and perform preprocessing, add the preprocessed data to a pre-built initial screening model, construct a patient clinical state graph through a multimodal representation learning algorithm based on a graph neural network, align the patient clinical state graph through a graph sequence neural network, aggregate the information in the patient clinical state graph in combination with a spatiotemporal attention mechanism to obtain a predicted high-risk probability, train the initial screening model based on the predicted high-risk probability, and obtain a high-risk patient screening model;
[0120] The second unit is used to obtain structured clinical data and unstructured clinical data of the patient to be screened, obtain the high-risk probability of sepsis of the patient to be screened corresponding to the patient to be screened through the high-risk patient screening model, and decode the current hidden state and attention weight through a preset decoder to obtain a clinical state diagram and combine them to obtain a clinical state sequence, identify the clinical state sequence, and obtain a key state transition path;
[0121] The third unit is used to construct a two-layer dynamic Bayesian network based on the clinical data of the patient to be screened and track the clinical data in real time, obtain the current state transfer path and compare it with the key state transfer path. If an abnormal deviation occurs, an alarm is triggered according to the degree of deviation, and the cause of the deterioration of the condition is determined in combination with the counterfactual inference algorithm to generate a clinical decision support plan.
[0122] According to a third aspect of the embodiments of the present invention,
[0123] An electronic device is provided, comprising:
[0124] processor;
[0125] a memory for storing processor-executable instructions;
[0126] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.
[0127] According to a fourth aspect of the embodiments of the present invention,
[0128] A computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the aforementioned method is implemented.
[0129] The present invention may be a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present invention.
[0130] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. An artificial intelligence-based method for screening and early warning of high-risk patients with sepsis, characterized in that: include: Obtaining structured clinical data and unstructured clinical data of sepsis patients and non-sepsis patients and preprocessing them, adding the preprocessed data to a pre-built initial screening model, constructing a patient clinical state graph through a multimodal representation learning algorithm based on a graph neural network, aligning the patient clinical state graph through a graph sequence neural network, aggregating the information in the patient clinical state graph in combination with a spatiotemporal attention mechanism to obtain a predicted high-risk probability, training the initial screening model based on the predicted high-risk probability, and obtaining a high-risk patient screening model; Acquire structured clinical data and unstructured clinical data of the patient to be screened, obtain the high-risk probability of sepsis of the patient to be screened corresponding to the patient to be screened through the high-risk patient screening model, and decode the current hidden state and attention weight through a preset decoder to obtain a clinical state diagram and combine them to obtain a clinical state sequence, identify the clinical state sequence, and obtain a key state transition path; Based on the clinical data of the patient to be screened, a two-layer dynamic Bayesian network is constructed and the clinical data is tracked in real time to obtain the current state transition path and compare it with the key state transition path. If an abnormal deviation occurs, an alarm is triggered according to the degree of deviation, and the cause of the deterioration of the condition is determined by combining the counterfactual inference algorithm to generate a clinical decision support plan; Based on the clinical data of the patient to be screened, a two-layer dynamic Bayesian network is constructed and the clinical data is tracked in real time to obtain the current state transition path and compare it with the key state transition path. If an abnormal deviation occurs, an alarm is triggered according to the degree of deviation. The cause of the deterioration of the condition is determined by combining the counterfactual inference algorithm, and a clinical decision support plan is generated, including: According to the clinical data characteristics of the patients to be screened, a two-layer dynamic Bayesian network is constructed, wherein the first layer is a clinical status layer, and the nodes represent the clinical indicators of the patients to be screened, and the second layer is a disease evolution layer, and the nodes represent the disease status of the patients to be screened. A grid directed edge is added between the two layers of grids, wherein the grid directed edge is used to indicate the causal relationship between the clinical indicators and the disease status; At each time step in the clinical data, determine the state node with the largest posterior probability and use it as the most likely state, connect the most likely states in all time steps to obtain the current state transition path, compare the current state transition path with the key state transition path and calculate the similarity based on the edit distance, if the similarity is less than a preset similarity threshold, it is considered that an abnormal deviation occurs; If an abnormal deviation occurs, the alarm level is determined according to the degree of deviation, and the time point when the abnormal deviation occurs is selected as the inference starting point of the counterfactual inference algorithm. The initial state is set in the two-layer dynamic Bayesian network according to the clinical state corresponding to the inference starting point, and multiple counterfactual scenarios are generated. The node states in the counterfactual scenarios are determined and the posterior distribution probability is calculated. The forward-backward algorithm is combined for inference to obtain the state transition path and key event probability under each counterfactual scenario. The cause of the deterioration of the disease is determined based on the key event probability. Based on the cause of the deterioration of the disease, the corresponding clinical decision support plan is generated with reference to clinical guidelines and treatment cases; The current state transition path is compared with the key state transition path and the similarity is calculated based on the edit distance as shown in the following formula: ; Among them, Sim( A , B ) indicates the current state transition path A and key state transition paths B The similarity of α represents the weight parameter, ED( A , B )express A and B The edit distance between them, m represents the current state transition path A Length, n Indicates the key state transition path B length, LCS( A , B ) indicates the path A and B The longest common subsequence length between .
2. The method according to claim 1, characterized in that Obtain structured and unstructured clinical data of sepsis patients and non-sepsis patients and preprocess them, add the preprocessed data to the pre-built initial screening model, and construct the patient clinical status diagram through the multimodal representation learning algorithm based on graph neural network, including: Acquire structured clinical data of sepsis patients and non-sepsis patients, wherein the structured clinical data includes demographic information, vital sign measurements, and pathogen test results, perform deduplication and normalization operations on the original data, extract statistical means and frequency domain features for time series data, and perform weighted fusion of structured data of different modalities through a self-attention mechanism to obtain a structured feature representation; Obtaining unstructured clinical data of sepsis patients and non-sepsis patients, wherein the unstructured clinical data includes electronic medical record text, medical images and genome sequencing data; for the electronic medical record text, performing word segmentation, part-of-speech tagging and named entity recognition by using medical natural language processing tools, extracting symptoms and signs as key information and mapping the key information to a standard medical terminology set; for medical imaging data, automatically outlining the infected area by using a semantic segmentation model, extracting texture features and position features; for the genome sequencing data, performing quality control, alignment and variation detection on the original sequencing data, obtaining genetic variation information and performing functional annotation; combining the processed unstructured clinical data to obtain an unstructured feature representation; The structured feature representation and the unstructured feature representation are added to a pre-built initial screening model, each patient is taken as a node, and the structured feature representation and the unstructured feature representation are used as node features of the node. According to medical knowledge and data-driven algorithms, edges are added between patients, each edge represents the correlation and causal relationship between clinical indicators, the neighborhood information of the nodes is aggregated through a graph attention network, the node features are updated, and the update is repeated until the node features of each node are updated, and all node features are aggregated to obtain the patient's clinical status diagram.
3. The method according to claim 1, characterized in that The patient clinical status graph is aligned by a graph sequence neural network, and the information in the patient clinical status graph is aggregated by combining a spatiotemporal attention mechanism to obtain a predicted high-risk probability, and the initial screening model is trained based on the predicted high-risk probability to obtain a high-risk patient screening model, including: Acquire the patient's clinical state graph and combine the patient's clinical state graph according to the time series to obtain a first state sequence, add the first state sequence to the graph sequence neural network, encode the first state sequence through a gated recurrent unit, at each time step, the gated recurrent unit receives the embedded state of the current state graph and determines the hidden state of the current time step in combination with the hidden state of the previous time step, and the set time attention mechanism determines the dynamic representation of the state graph corresponding to the current patient; Based on the dynamic representation, a distance matrix between the first state sequence and the standard state sequence is calculated, an optimal matching path in the distance matrix is determined in combination with a dynamic programming algorithm, and alignment is performed based on the optimal matching path; For the aligned first state sequence, the temporal attention weights of different time steps and the spatial attention weights corresponding to different nodes are calculated respectively through the self-attention mechanism, the temporal attention weights are outer-producted with the spatial attention weights to obtain the joint attention weights, and the nodes in the first state sequence are weighted summed based on the joint attention weights to obtain the aggregated state representation; Based on the aggregation state representation, prediction is performed through the initial screening model to obtain a predicted high-risk probability, which is verified by comparing the predicted high-risk probability with the patient's actual disease probability. Based on the verification result, the hyperparameters of the initial screening model are adjusted, and the update is repeated until a preset maximum number of iterations is reached to obtain the high-risk patient screening model.
4. The method according to claim 1, characterized in that: The time attention weights of different time steps and the spatial attention weights corresponding to different nodes are calculated through the self-attention mechanism, and the temporal attention weights and the spatial attention weights are outer-producted to obtain the joint attention weight as shown in the following formula: ; in, β ijk Representation Node i and nodes k The degree of spatiotemporal correlation between f represents the learnable fusion function, H represents the number of attention heads, Indicates h In the temporal attention head, the node i and nodes j The temporal attention weight between N (i) Representation Node i The set of neighbor nodes of Representation Node i and nodes j The spatial attention weights between Representation Node i and neighbor nodes k The spatial attention weights between .
5. The method according to claim 1, characterized in that: The structured clinical data and unstructured clinical data of the patient to be screened are obtained, and the high-risk probability of sepsis corresponding to the patient to be screened is obtained through the high-risk patient screening model. At the same time, the current hidden state and attention weight are decoded by a preset decoder to obtain a clinical state diagram and a clinical state sequence is obtained by combining the clinical state sequence, and the key state transition path is obtained by identifying the clinical state sequence, including: Acquiring structured clinical data and unstructured clinical data of the patient to be screened, and determining the high-risk probability of sepsis of the patient to be screened corresponding to the patient to be screened by using the high-risk patient screening model; Based on the high-risk probability of sepsis of the patient, a deconvolution operation is performed on the current hidden state by a pre-set decoder with the goal of minimizing reconstruction loss, and the current hidden state is mapped into the clinical state map; Based on the clinical state graph, a state graph is combined to obtain a clinical state sequence, the clinical state sequence is compared with a standard state sequence, a state graph difference between two time steps is calculated and compared with a difference threshold, if the state graph difference is greater than the difference threshold, it is considered that a state transition occurs at the current time step, the current time step is marked as a state transition point, and for each state transition point, directed edges are constructed between different state transition points based on the time series to obtain a state transition graph; The shortest path from the initial state to the final state is searched in the state transition diagram to obtain the key state transition path.
6. An artificial intelligence-based high-risk sepsis patient screening and early warning system, used to implement the method described in any one of claims 1 to 5, characterized in that: include: The first unit is used to obtain structured clinical data and unstructured clinical data of sepsis patients and non-sepsis patients and perform preprocessing, add the preprocessed data to a pre-built initial screening model, construct a patient clinical state graph through a multimodal representation learning algorithm based on a graph neural network, align the patient clinical state graph through a graph sequence neural network, aggregate the information in the patient clinical state graph in combination with a spatiotemporal attention mechanism to obtain a predicted high-risk probability, train the initial screening model based on the predicted high-risk probability, and obtain a high-risk patient screening model; The second unit is used to obtain structured clinical data and unstructured clinical data of the patient to be screened, obtain the high-risk probability of sepsis of the patient to be screened corresponding to the patient to be screened through the high-risk patient screening model, and decode the current hidden state and attention weight through a preset decoder to obtain a clinical state diagram and combine them to obtain a clinical state sequence, identify the clinical state sequence, and obtain a key state transition path; The third unit is used to construct a two-layer dynamic Bayesian network based on the clinical data of the patient to be screened and track the clinical data in real time, obtain the current state transfer path and compare it with the key state transfer path. If an abnormal deviation occurs, an alarm is triggered according to the degree of deviation, and the cause of the deterioration of the condition is determined in combination with the counterfactual inference algorithm to generate a clinical decision support plan.
7. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to call the instructions stored in the memory to execute the method described in any one of claims 1 to 5.
8. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 5 is implemented.
