Method and system for evaluating the condition of sepsis patients based on multimodal data fusion
By constructing heterogeneous multi-modal graphs and multi-modal fusion networks, and combining physiological parameters, biochemical indicators and clinical symptom data, the limitations of single-modal assessment and insufficient multi-modal data fusion in the existing technology are solved, achieving It provides a more comprehensive assessment of the condition of sepsis patients and the development of personalized treatment plans, improving the understanding of treatment effects and models.
Patent Information
- Application Number
- CN202410695191.1
- 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
Existing methods for assessing the condition of patients with sepsis mainly rely on clinical indicators of a single modality, which is difficult to fully reflect the complex pathophysiological process. Moreover, multi-modal data fusion methods ignore the correlation interaction and semantic information of unstructured data and fail to fully reflect the complex pathophysiological process. Mining the complementarity and synergy of multimodal data.
By constructing a heterogeneous multi-modal graph, using type-aware attention mechanism and cross-modal attention mechanism, the feature representation of multi-modal data is aggregated, a patient fusion modal representation is generated, and the multi-task condition assessment model is input to generate a condition assessment. As a result, combined with physiological parameters, biochemical indicators and clinical symptom data, the linear correlation coefficient, cosine similarity and mutual information are calculated, the modal association edges are determined, and multiple rounds of graph convolution are updated and propagated.
It achieves a more comprehensive and in-depth assessment of the condition of sepsis patients, provides personalized medical decision support, improves treatment effects and patient survival rates, can better capture the correlation and patterns between modalities, and enhances the model's ability to detect multiple modalities. Data understanding ability.
Smart Images

Figure CN118280579B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of condition assessment, and in particular to a method and system for assessing the condition of sepsis patients based on multimodal data fusion. Background Art
[0002] Sepsis is a systemic inflammatory response syndrome caused by infection and is one of the most common serious diseases in the intensive care unit (ICU). Sepsis progresses rapidly and is often accompanied by multiple organ dysfunction. Early identification of the severity of sepsis patients is crucial for timely intervention and treatment and improved prognosis.
[0003] Traditional assessment of sepsis patients' condition mainly relies on single-modality clinical indicators, which judge the severity of the patient's condition by evaluating organ functions such as respiration, coagulation, liver, cardiovascular, central nervous system and kidney. However, single-modality indicators often have limitations and cannot fully reflect the complex pathophysiological process of sepsis. Existing multimodal data fusion methods still have shortcomings in sepsis condition assessment. They mainly focus on the fusion of structured data and lack effective utilization of unstructured clinical text data. Most of them adopt simple feature splicing or weighted average fusion strategies, ignoring the correlation interaction and semantic information between different modalities, making it difficult to fully explore the complementarity and synergy of multimodal data.
[0004] In summary, there is an urgent need for a sepsis condition assessment method that can effectively integrate structured and unstructured multimodal data and fully explore the correlation and interaction between modalities. The technical solution proposed in the present invention makes up for the shortcomings of the existing methods and can solve the problems in the existing technology. Summary of the invention
[0005] The embodiments of the present invention provide a method and system for assessing the condition of sepsis patients based on multimodal data fusion, which can solve the problems in the prior art.
[0006] According to a first aspect of the embodiments of the present invention,
[0007] A method for assessing the condition of sepsis patients based on multimodal data fusion is provided, including:
[0008] Collecting multimodal data of sepsis patients, determining corresponding modality type nodes based on each modality of the multimodal data, determining corresponding modality association edges based on the association relationship of the multimodal data, and constructing a heterogeneous multimodal graph with the modality type nodes and the modality association edges;
[0009] Inputting the heterogeneous multimodal graph into a multimodal fusion network, aggregating the features of the modality type nodes through a type-aware attention mechanism and a cross-modality attention mechanism, constructing the interaction between the modality type nodes, extracting and fusing the feature representation of the multimodal data, and obtaining a patient fused modality representation;
[0010] The patient fusion modality representation is input into a multi-task condition assessment model, and by constructing assessment subtasks, a subtask embedding vector is generated to obtain a patient task perception representation. Based on each assessment subtask, an independent task tower is constructed, and based on the patient task perception representation, a patient condition assessment result is generated.
[0011] In an optional embodiment,
[0012] Collecting multimodal data of sepsis patients, determining corresponding modality type nodes based on each mode of the multimodal data, and determining corresponding modality association edges based on the association relationship of the multimodal data, the modality type nodes and the modality association edges, and constructing a heterogeneous multimodal graph includes:
[0013] Physiological parameter data, biochemical index data and clinical symptom data of sepsis patients are collected as multimodal data, and data preprocessing is performed on the multimodal data to obtain standard multimodal data, wherein the clinical symptom data is preprocessed by text segmentation, stop word removal and part-of-speech tagging;
[0014] Based on the standard multimodal data, a modality type node is determined, wherein based on the physiological parameter data, a physiological parameter feature vector is determined, and a physiological parameter node is constructed; based on the biochemical indicator data, a biochemical indicator feature vector is determined, and a biochemical indicator node is constructed; based on the clinical symptom data, a clinical symptom feature vector is determined, and a clinical symptom node is constructed;
[0015] Calculating the linear correlation coefficient between the physiological parameter feature vector and the biochemical index feature vector, calculating the cosine similarity between the biochemical index feature vector and the clinical symptom feature vector, calculating the mutual information between the physiological parameter feature vector and the clinical symptom feature vector, and determining the association relationship based on the linear correlation coefficient, the cosine similarity and the mutual information;
[0016] Based on the association relationship, when the linear correlation coefficient is greater than a preset correlation threshold, the linear correlation coefficient is used as a weight to determine a first association edge between a physiological parameter node and a biochemical indicator node; when the cosine similarity is greater than a preset similarity threshold, the cosine similarity is used as a weight to determine a second association edge between a biochemical indicator node and a clinical symptom node; when the mutual information is greater than a preset mutual information threshold, the mutual information is used as a weight to determine a third association edge between a physiological parameter node and a clinical symptom node; the first association edge, the second association edge and the third association edge constitute a modal association edge;
[0017] The modality type nodes and the modality association edges constitute a heterogeneous multimodal graph.
[0018] In an optional embodiment,
[0019] The heterogeneous multimodal graph includes:
[0020] Determining the association relationship includes the linear correlation coefficient, the cosine similarity and the mutual information, and the formula is as follows:
[0021] ;
[0022] Among them, v A represents the physiological parameter feature vector, v B represents the biochemical index feature vector, v C represents the clinical symptom feature vector, R AB Represents the linear correlation coefficient between the physiological parameter feature vector and the biochemical index feature vector, S BC represents the cosine similarity between the biochemical index feature vector and the clinical symptom feature vector, I AC represents the mutual information between the physiological parameter feature vector and the clinical symptom feature vector, t represents the convolution kernel number, m t Represents the convolution kernel t Weight, Represents the physiological parameter feature vector in the convolution kernel t The convolution operation below, Represents the biochemical index feature vector in the convolution kernel t The convolution operation below, m Represents the element number in the physiological parameter feature vector, n represents the element number in the clinical symptom feature vector, X represents the joint probability distribution, v Am Represents the first m eigenvalues, vCn represents the first n eigenvalues, represents the regularization coefficient for mutual information calculation, Y represents the marginal probability distribution, and KL(·||·) represents the KL divergence;
[0023] The first associated edge weight, whose range is expressed as:
[0024] ;
[0025] in, oh AB represents the first associated edge weight, i R represents a preset correlation threshold;
[0026] The second associated edge weight, whose range is expressed as:
[0027] ;
[0028] in, oh BC represents the second associated edge weight, i S Indicates the preset similarity threshold;
[0029] The third associated edge weight, its range is expressed as:
[0030] ;
[0031] in, oh AC represents the third associated edge weight, i I Represents the preset mutual information threshold.
[0032] In an optional embodiment,
[0033] The heterogeneous multimodal graph is input into the multimodal fusion network, and the features of the modality type nodes are aggregated through the type-aware attention mechanism and the cross-modality attention mechanism, and the interaction between the modality type nodes is constructed. The feature representation of the multimodal data is extracted and fused, and the patient fusion modality representation is obtained, including:
[0034] The heterogeneous multimodal graph is input into a multimodal fusion network, the modal type nodes in the heterogeneous multimodal graph are processed by a type-aware attention mechanism, a corresponding type embedding vector is generated based on each modal type, the feature vector of each modal type node is concatenated with the corresponding type embedding vector to form a type-aware node representation, and the node representations within the same modal type are aggregated by the attention mechanism to obtain an aggregated feature vector of the corresponding modal type;
[0035] Based on the aggregated feature vector, the interaction between multiple modalities is modeled through a cross-modal attention mechanism, and the attention weight matrix between the aggregated feature vectors corresponding to each modality type is calculated. According to the attention weight matrix, each of the aggregated feature vectors is weighted summed to determine a cross-modal context vector, and the original aggregated feature vector is concatenated with the corresponding cross-modal context vector to generate a cross-modal representation of the node;
[0036] Based on the modality association edges of the heterogeneous multimodal graph, a graph convolutional neural network algorithm is used to perform multiple rounds of updating and propagation on the modality type nodes. In each round of updating, each modality type node extracts the corresponding feature vector and aggregates the corresponding neighbor nodes to determine the position and context information of the modality type node in the heterogeneous multimodal graph, thereby obtaining an updated modality type node representation;
[0037] A pooling operation is performed on the updated modality type node representation to obtain a global representation of the entire heterogeneous multimodal graph, and the global representation is used as the patient fusion modality representation.
[0038] In an optional embodiment,
[0039] The patient fusion modality representation is input into the multi-task condition assessment model, and the patient task perception representation is obtained by constructing the assessment subtask and generating the subtask embedding vector. Based on each assessment subtask, an independent task tower is constructed. Based on the patient task perception representation, the patient condition assessment result is generated, including:
[0040] The evaluation subtasks include a disease severity grading subtask, an organ dysfunction prediction subtask, and a prognosis prediction subtask;
[0041] Based on each evaluation subtask, determine the corresponding task description sentence, convert the task description sentence into a text embedding vector, map the text embedding vector to the task embedding space through a fully connected neural network layer, and generate a fixed-dimensional task embedding vector;
[0042] Concatenate the patient fusion modality representation with the task embedding vector corresponding to each evaluation subtask to obtain the patient task-aware representation;
[0043] According to each evaluation subtask, an independent task tower is constructed based on a multi-layer fully connected neural network. The patient's task perception representation is used as input, and the evaluation results of the corresponding evaluation subtask are generated through nonlinear transformation and feature extraction to determine the patient's condition evaluation results.
[0044] In an optional embodiment,
[0045] The training of the multi-task disease assessment model includes:
[0046] Based on the type of the evaluation subtask, determining a disease severity grading loss function, an organ dysfunction prediction loss function, and a prognosis prediction loss function, and constructing a multi-task loss function;
[0047] Taking the multi-task loss function as the optimization target, in each training iteration, randomly extracting patient samples from the training data set according to a preset number of samples, inputting the patient samples into the multi-task disease assessment model, determining the assessment result, calculating the value corresponding to the multi-task loss function, calculating the model parameter gradient using the back propagation algorithm, and updating the model parameters of the multi-task disease assessment model using the gradient descent optimization algorithm;
[0048] Repeat the training iterations until the preset number of iterations is reached to obtain a trained multi-task disease assessment model.
[0049] In an optional embodiment,
[0050] The multi-task loss function includes:
[0051] disease severity grading loss function, organ dysfunction prediction loss function, and prognosis prediction loss function;
[0052] The disease severity grading loss function has the following formula:
[0053] ;
[0054] in, L s,i represents the disease severity classification loss function, C s The number of categories representing the severity of the condition, j The category index representing the severity classification of the disease, α s,j Indicates the severity of the disease j Category weights, y s,ij Indicates i The severity of the disease in the sample j The true class label, p s,ij Indicates i The severity of the disease in the sample j Class model prediction value;
[0055] The organ dysfunction prediction loss function has the following formula:
[0056] ;
[0057] in, L o,irepresents the organ dysfunction prediction loss function, C o The number of categories representing organ dysfunction, k The category index representing organ dysfunction, α o,k Indicates organ dysfunction k Category weights, p o,ik Indicates i Organ dysfunction in samples k Class model prediction value, c represents the focusing parameter, y o,ik Indicates i Organ dysfunction in samples k Category ground truth label;
[0058] The prognosis prediction loss function has the following formula:
[0059] ;
[0060] in, L q,i represents the prognostic prediction loss function, C q represents the number of categories for prognostic prediction, l represents the category index of prognosis prediction, p q,il Indicates i Prognosis prediction of samples l Class model prediction value, y q,il Indicates i Prognosis prediction of samples l The true class label, e Represents a smoothing term that avoids division by zero;
[0061] The multi-task loss function has the following formula:
[0062] ;
[0063] in, L interaction represents the interaction regularization term, p s represents the overall predicted probability distribution of the disease severity classification task, p o represents the overall predicted probability distribution of the organ dysfunction task, p q represents the overall prediction probability distribution of the prognosis prediction task, L total represents the multi-task loss function,N represents the total number of samples, i represents the sample index, oh s Indicates the loss contribution of disease severity classification, oh o represents the contribution of organ dysfunction to predict loss, oh q represents the contribution to prognostic prediction loss, and λ represents the weight coefficient of the interaction regularization term.
[0064] According to a second aspect of the embodiments of the present invention,
[0065] A sepsis patient condition assessment system based on multimodal data fusion is provided, comprising:
[0066] The first unit is used to collect multimodal data of sepsis patients, determine corresponding modality type nodes based on each mode of the multimodal data, determine corresponding modality association edges based on the association relationship of the multimodal data, and construct a heterogeneous multimodal graph with the modality type nodes and the modality association edges;
[0067] The second unit is used to input the heterogeneous multimodal graph into a multimodal fusion network, aggregate the features of the modality type nodes through a type-aware attention mechanism and a cross-modal attention mechanism, construct the interaction between the modality type nodes, extract and fuse the feature representation of the multimodal data, and obtain the patient fusion modality representation;
[0068] The third unit is used to input the patient fusion modality representation into the multi-task condition assessment model, generate subtask embedding vectors by constructing assessment subtasks, obtain patient task perception representation, construct an independent task tower based on each assessment subtask, and generate patient condition assessment results based on the patient task perception representation.
[0069] According to a third aspect of the embodiments of the present invention,
[0070] An electronic device is provided, comprising:
[0071] processor;
[0072] a memory for storing processor-executable instructions;
[0073] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.
[0074] A fourth aspect of the embodiments of the present invention is:
[0075] 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.
[0076] In an embodiment of the present invention, the correlation relationship between nodes of different modal types is determined by calculating the correlation strength between different modal data, including indicators such as linear correlation coefficient, cosine similarity and mutual information. Based on these correlation relationships, a heterogeneous multimodal graph is constructed, which can better reveal the correlation and mutual influence between different types of data; heterogeneous multimodal graphs can provide support for personalized medical decisions. Doctors can conduct a more comprehensive and in-depth analysis of the patient's condition characteristics based on the information of nodes and edges in the graph, formulate targeted treatment plans, and improve treatment effects and patient survival rates; by learning the type embedding vector of each modal type and concatenating the type embedding vector with the original feature vector, a type-aware node representation can be obtained, which not only contains the characteristics of the node itself, but also integrates the overall characteristics of the type to which it belongs, which helps to better capture the correlation and pattern between modal types; through cross-modal attention The mechanism can model the interaction between different modal types, help capture the correlation and importance between modalities, and improve the model's overall understanding of multimodal data; convert task description sentences into text embedding vectors and map them to the task embedding space through a fully connected neural network, which can convert the semantic information of the task description into a task embedding vector of fixed dimension, effectively represent the meaning of the task description, and provide semantic information input for subsequent evaluation models; process the task perception representation through a multi-layer fully connected neural network to obtain the evaluation result corresponding to each subtask, which can perform special learning and optimization for different evaluation tasks, improving the flexibility and effectiveness of the evaluation model. BRIEF DESCRIPTION OF THE DRAWINGS
[0077] Figure 1 Schematic diagram of a process for evaluating the condition of a sepsis patient based on multimodal data fusion according to an embodiment of the present invention;
[0078] Figure 2 Schematic diagram of the structure of a sepsis patient condition assessment system based on multimodal data fusion according to an embodiment of the present invention. DETAILED DESCRIPTION
[0079] 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.
[0080] 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.
[0081] Figure 1 FIG. 1 is a flow chart of a method for assessing the condition of a sepsis patient based on multimodal data fusion according to an embodiment of the present invention. Figure 1 As shown, the method includes:
[0082] S101. Collect multimodal data of sepsis patients, determine corresponding modality type nodes based on each modality of the multimodal data, determine corresponding modality association edges based on the association relationship of the multimodal data, and construct a heterogeneous multimodal graph with the modality type nodes and the modality association edges;
[0083] The multimodal data specifically refers to data from different sources or different types. The present invention preferably uses physiological parameter data, biochemical index data and clinical symptom data. In the collection of multimodal data of sepsis patients, it usually includes physiological parameters of sepsis patients, such as body temperature, heart rate, etc., biochemical indicators such as blood routine, biochemical examination, etc., and clinical symptom descriptions, such as fever, vomiting, etc.;
[0084] The association relationship of the multimodal data specifically refers to the correlation or connection between different modal data, which is usually determined by calculating indicators such as similarity, correlation or mutual information between different modal data;
[0085] In this embodiment, by constructing a heterogeneous multimodal graph, different types of data are integrated, which helps to comprehensively analyze and understand the condition of sepsis patients; modal type nodes and modal association edges can provide a comprehensive feature representation, including relevant information between multiple modal data, which helps to more comprehensively describe the patient's health status; by analyzing the weight of the modal association edge and the relationship between the modal type nodes, the correlation and mutual influence between different types of data can be revealed, providing a reference for the diagnosis and treatment of sepsis; based on the heterogeneous multimodal graph, personalized medical decision-making and treatment plan formulation can be carried out, and accurate diagnosis and treatment can be performed according to the multimodal data characteristics of different patients.
[0086] In an optional embodiment, multimodal data of sepsis patients are collected, corresponding modality type nodes are determined based on each modality of the multimodal data, and corresponding modality association edges are determined based on the association relationship of the multimodal data. The modality type nodes and the modality association edges are used to construct a heterogeneous multimodal graph, including:
[0087] Physiological parameter data, biochemical index data and clinical symptom data of sepsis patients are collected as multimodal data, and data preprocessing is performed on the multimodal data to obtain standard multimodal data, wherein the clinical symptom data is preprocessed by text segmentation, stop word removal and part-of-speech tagging;
[0088] Based on the standard multimodal data, a modality type node is determined, wherein based on the physiological parameter data, a physiological parameter feature vector is determined, and a physiological parameter node is constructed; based on the biochemical indicator data, a biochemical indicator feature vector is determined, and a biochemical indicator node is constructed; based on the clinical symptom data, a clinical symptom feature vector is determined, and a clinical symptom node is constructed;
[0089] Calculating the linear correlation coefficient between the physiological parameter feature vector and the biochemical index feature vector, calculating the cosine similarity between the biochemical index feature vector and the clinical symptom feature vector, calculating the mutual information between the physiological parameter feature vector and the clinical symptom feature vector, and determining the association relationship based on the linear correlation coefficient, the cosine similarity and the mutual information;
[0090] Based on the association relationship, when the linear correlation coefficient is greater than a preset correlation threshold, the linear correlation coefficient is used as a weight to determine a first association edge between a physiological parameter node and a biochemical indicator node; when the cosine similarity is greater than a preset similarity threshold, the cosine similarity is used as a weight to determine a second association edge between a biochemical indicator node and a clinical symptom node; when the mutual information is greater than a preset mutual information threshold, the mutual information is used as a weight to determine a third association edge between a physiological parameter node and a clinical symptom node; the first association edge, the second association edge and the third association edge constitute a modal association edge;
[0091] The modality type nodes and the modality association edges constitute a heterogeneous multimodal graph.
[0092] First, various types of medical data are collected from sepsis patients to form a multimodal data set, including: physiological parameter data, which collects continuous physiological signals such as heart rate, respiratory rate, blood pressure, and body temperature of patients, and automatically records them through devices such as bedside monitors; biochemical index data, which collects laboratory test results such as blood routine, biochemical complete items, coagulation function, and blood gas analysis of patients, and extracts them from the hospital information system (HIS) or laboratory information management system (LIS); clinical symptom data, which collects unstructured text information recorded by doctors such as patients' medical history, chief complaint, and physical examination, and obtains them from the electronic medical record system (EMR);
[0093] The collected raw multimodal data are preprocessed and converted into a standardized data representation form to prepare for subsequent analysis. The physiological parameter data are preprocessed by filtering, denoising, interpolating and other operations on the raw time series data to remove outliers and missing values, and then divided according to a fixed time window, preferably 1 hour, to extract statistical features in each window, such as mean, standard deviation or frequency domain features, such as power spectrum, to form a structured feature matrix; the biochemical index data are preprocessed by cleaning the original test results to remove obviously erroneous or abnormal values, normalizing the numerical indicators, scaling the value range to the interval [0, 1], and performing one-hot encoding or ordinal encoding for categorical indicators. Finally, all indicators are aligned according to the sampling time points to form a structured feature matrix; the clinical symptom data are preprocessed by performing natural language processing operations such as word segmentation, part-of-speech tagging and named entity recognition on the raw text, using specific vocabulary and stop word lists in the medical field to improve the accuracy of processing, and then using TF-IDF or topic models to convert the text into numerical feature vectors.
[0094] Based on the preprocessed standard multimodal data, nodes of different modal types are constructed; the physiological parameter feature vector extracted in each time window is regarded as a node, as a physiological parameter node, each node represents the physiological state of the patient in a specific time period; the biochemical indicator feature vector at each sampling time point is regarded as a node, as a biochemical indicator node, each node represents the comprehensive result of a laboratory examination; the clinical symptom feature vector generated by each doctor's record is regarded as a node, as a clinical symptom node, each node represents the comprehensive situation of a patient's chief complaint and physical examination.
[0095] The association strength between nodes of different modal types is calculated to determine the degree of correlation in semantic and statistical senses; the correlation coefficient between each pair of physiological parameter feature vectors and biochemical indicator feature vectors is calculated as the linear correlation coefficient, wherein the Pearson coefficient is selected, and the Pearson coefficient is a commonly used linear correlation measurement indicator used to measure the degree of linear correlation between two variables, and the value range is between -1 and 1, wherein: when the Pearson correlation coefficient is 1, it means that the two variables are completely positively correlated, that is, the increase of one variable will lead to the increase of the other variable, and the two are in a linear relationship; when the Pearson correlation coefficient is -1, it means that the two variables are completely negatively correlated, that is, the increase of one variable will lead to the decrease of the other variable, and the two are in a linear relationship; when the Pearson correlation coefficient is 0, it means that there is no linear correlation between the two variables; when the Pearson correlation coefficient is between 0 and 1, it means that the two variables are positively correlated, and the correlation strength is determined by the absolute value of the coefficient, and the closer to 1, the stronger the correlation; when the Pearson correlation coefficient is between -1 and 0, it means that the two variables are negatively correlated, and the correlation strength is also determined by the absolute value of the coefficient, and the closer to -1, the stronger the correlation. The cosine similarity between each pair of biochemical index feature vectors and clinical symptom feature vectors was calculated as semantic similarity. The mutual information between each pair of physiological parameter feature vectors and clinical symptom feature vectors was calculated as nonlinear association strength.
[0096] According to the calculated association strength, weighted association edges are added between nodes of different modality types. For physiological parameter nodes and biochemical indicator nodes, if the linear correlation coefficient between them is greater than a preset threshold, such as 0.6, a first association edge is added with a weight equal to the correlation coefficient; for biochemical indicator nodes and clinical symptom nodes, if the cosine similarity between them is greater than a preset threshold, such as 0.5, a second association edge is added with a weight equal to the cosine similarity; for physiological parameter nodes and clinical symptom nodes, if the mutual information between them is greater than a preset threshold, such as 1.0, a third association edge is added with a weight equal to the mutual information value.
[0097] Nodes and associated edges of all modal types are integrated together to form a heterogeneous multimodal graph. The heterogeneous multimodal graph consists of three types of heterogeneous nodes: physiological parameter nodes, biochemical indicator nodes, and clinical symptom nodes, and three types of heterogeneous edges: first associated edges, second associated edges, and third associated edges. The heterogeneous multimodal graph comprehensively describes the condition characteristics of sepsis patients and provides rich information for subsequent analysis and prediction.
[0098] In this embodiment, a multimodal data set is formed by collecting and integrating various types of medical data such as physiological parameters, biochemical indicators and clinical symptoms. The comprehensive data set can provide more comprehensive and multi-angle patient information, which helps doctors to fully understand the patient's disease characteristics and make more accurate diagnosis and treatment; the original data is preprocessed, including filtering, denoising, interpolation, outlier processing and other operations, which can effectively improve the quality and availability of the data, especially the preprocessing of physiological parameter data and biochemical indicator data, so that the data is more standardized and standardized, providing a good data basis for subsequent analysis and modeling; by calculating the correlation strength between different modal data, including linear correlation coefficients, cosine similarity and mutual information and other indicators, the correlation relationship between nodes of different modal types is determined. Based on these correlation relationships, a heterogeneous multimodal graph is constructed, which can better reveal the correlation and mutual influence between different types of data; heterogeneous multimodal graphs can provide support for personalized medical decision-making. Doctors can make a more comprehensive and in-depth analysis of the patient's disease characteristics based on the information of nodes and edges in the graph, formulate targeted treatment plans, and improve treatment effects and patient survival rates.
[0099] In an optional embodiment, the heterogeneous multimodal graph includes:
[0100] Determining the association relationship includes the linear correlation coefficient, the cosine similarity and the mutual information, and the formula is as follows:
[0101] ;
[0102] Among them, v A represents the physiological parameter feature vector, v B represents the biochemical index feature vector, v C represents the clinical symptom feature vector, R AB Represents the linear correlation coefficient between the physiological parameter feature vector and the biochemical index feature vector, S BC represents the cosine similarity between the biochemical index feature vector and the clinical symptom feature vector, I AC represents the mutual information between the physiological parameter feature vector and the clinical symptom feature vector, t represents the convolution kernel number, m t Represents the convolution kernel t Weight, Represents the physiological parameter feature vector in the convolution kernel t The convolution operation below, Represents the biochemical index feature vector in the convolution kernel t The convolution operation below, m Represents the element number in the physiological parameter feature vector,n represents the element number in the clinical symptom feature vector, X represents the joint probability distribution, v Am Represents the first m eigenvalues, v Cn represents the first n eigenvalues, represents the regularization coefficient for mutual information calculation, Y represents the marginal probability distribution, and KL(·||·) represents the KL divergence;
[0103] The first associated edge weight, whose range is expressed as:
[0104] ;
[0105] in, oh AB represents the first associated edge weight, i R represents a preset correlation threshold;
[0106] The second associated edge weight, whose range is expressed as:
[0107] ;
[0108] in, oh BC represents the second associated edge weight, i S Indicates the preset similarity threshold;
[0109] The third associated edge weight, its range is expressed as:
[0110] ;
[0111] in, oh AC represents the third associated edge weight, i I Represents the preset mutual information threshold.
[0112] According to the formula, the formula constructs the correlation relationship between multimodal data by calculating the linear correlation coefficient, cosine similarity and mutual information between multimodal data, which helps to reveal the intrinsic connection and correlation degree between different modal data, and provides support for in-depth understanding of the disease development mechanism; by setting the preset correlation threshold, similarity threshold and mutual information threshold, the formula can automatically determine the weight of the associated edge, making the addition of the associated edge more flexible and able to be adjusted and optimized according to specific circumstances; based on the determined correlation relationship and associated edge weight, the formula constructs a heterogeneous multimodal graph, which includes physiological parameter nodes, biochemical indicator nodes and clinical symptom nodes, and the associated edges between them, which helps to fully understand the condition of sepsis patients and provide important reference for medical decision-making; by constructing a heterogeneous multimodal graph, the formula provides rich information and structured data representation, which provides a basis for subsequent data analysis, model building and disease prediction, and helps medical staff better understand the patient's condition and formulate personalized treatment plans and care plans.
[0113] S102. Input the heterogeneous multimodal graph into the multimodal fusion network, aggregate the features of the modality type nodes through the type-aware attention mechanism and the cross-modality attention mechanism, construct the interaction between the modality type nodes, extract and fuse the feature representation of the multimodal data, and obtain the patient fusion modality representation;
[0114] The type-aware attention mechanism specifically refers to a processing method that allows the model to perceive and distinguish different types of data when processing multimodal data, which can help the network identify and focus on the importance of specific modal types and more effectively integrate different types of information; in a multimodal fusion network, the type-aware attention mechanism can dynamically adjust the attention weight of each modality according to the type of input different modal data, so as to better utilize the characteristics of different types of data;
[0115] The cross-modal attention mechanism specifically refers to a processing method that allows the network to interact and transfer information across different modalities when processing multimodal data. It can capture the correlation and mutual influence between different modalities, and help the network better understand the relationship between different modalities. In a multimodal fusion network, the cross-modal attention mechanism can effectively fuse information from different modalities by learning the association weights between modalities, thereby improving the overall representation capability of multimodal data.
[0116] The interaction specifically refers to the process of mutual influence and information transmission between nodes of different modal types. Through the type-aware attention mechanism and the cross-modal attention mechanism, the features between nodes of different modal types can influence each other to better capture the correlation and fusion features between different modalities, which helps to build a more comprehensive and comprehensive multimodal fusion representation that can better reflect the overall status and characteristics of the patient;
[0117] In an optional embodiment, the heterogeneous multimodal graph is input into a multimodal fusion network, and the features of the modality type nodes are aggregated through a type-aware attention mechanism and a cross-modal attention mechanism, and the interaction between the modality type nodes is constructed, and the feature representation of the multimodal data is extracted and fused to obtain the patient fusion modality representation, which includes:
[0118] The heterogeneous multimodal graph is input into a multimodal fusion network, the modal type nodes in the heterogeneous multimodal graph are processed by a type-aware attention mechanism, a corresponding type embedding vector is generated based on each modal type, the feature vector of each modal type node is concatenated with the corresponding type embedding vector to form a type-aware node representation, and the node representations within the same modal type are aggregated by the attention mechanism to obtain an aggregated feature vector of the corresponding modal type;
[0119] Based on the aggregated feature vector, the interaction between multiple modalities is modeled through a cross-modal attention mechanism, and the attention weight matrix between the aggregated feature vectors corresponding to each modality type is calculated. According to the attention weight matrix, each of the aggregated feature vectors is weighted summed to determine a cross-modal context vector, and the original aggregated feature vector is concatenated with the corresponding cross-modal context vector to generate a cross-modal representation of the node;
[0120] Based on the modality association edges of the heterogeneous multimodal graph, a graph convolutional neural network algorithm is used to perform multiple rounds of updating and propagation on the modality type nodes. In each round of updating, each modality type node extracts the corresponding feature vector and aggregates the corresponding neighbor nodes to determine the position and context information of the modality type node in the heterogeneous multimodal graph, thereby obtaining an updated modality type node representation;
[0121] A pooling operation is performed on the updated modality type node representation to obtain a global representation of the entire heterogeneous multimodal graph, and the global representation is used as the patient fusion modality representation.
[0122] Input the constructed heterogeneous multimodal graph into the predefined multimodal fusion network. The purpose of the multimodal fusion network is to effectively fuse information from different modalities through deep learning to generate an integrated patient representation;
[0123] First, for each modality type in the heterogeneous multimodal graph, i.e., physiological parameters, biochemical indicators, and clinical symptoms, a type embedding vector is learned; the type embedding vector represents the overall characteristics of the corresponding modality type and is a shared representation of all corresponding type nodes. Specifically, a type embedding matrix T∈R is defined Nt×d ,in Nt Indicates the number of modal types, which is 3 in this invention. dRepresents the dimension of the type embedding vector, each row in the matrix corresponds to an embedding vector of a modality type, and the elements of the type embedding matrix T are randomly initialized to smaller values at the beginning; during the training process of the model, the type embedding matrix T is used as the learnable parameter of the model, and the value of T is continuously updated through the back propagation algorithm and gradient descent optimization, so that the overall characteristics of each modality type can be captured; after training, the embedding vector corresponding to each modality type is extracted from the type embedding matrix T, specifically, the embedding vector of the physiological parameter type corresponds to the first row of the matrix, the embedding vector of the biochemical indicator type corresponds to the second row of the matrix, and the embedding vector of the clinical symptom type corresponds to the third row of the matrix;
[0124] Then, for each modal type node, the original feature vector of the modal type node is concatenated with the corresponding type embedding vector to form a type-aware node representation. The concatenation operation makes the node representation contain both the characteristics of the node itself and the characteristics of the type to which it belongs. Then, within each modal type, the attention mechanism is used to perform weighted aggregation on the type-aware representations of all nodes. Specifically, the attention weight between each node representation and a learnable query vector is calculated, and then all node representations are weightedly summed according to the attention weight to obtain the aggregated feature vector corresponding to the modal type and determine the overall information.
[0125] Based on the aggregated feature vectors corresponding to each modality type obtained in the previous steps, the interaction between the modality types is modeled through the cross-modal attention mechanism. Specifically, the attention weight matrix between the aggregated feature vectors of different modality types is calculated, where each element of the weight matrix represents the attention weight between a pair of modality types, reflecting the correlation and importance between the modality types; according to the attention weight matrix, the aggregated feature vectors of each modality type are weighted and summed to obtain the cross-modal context vector of the modality type. The cross-modal context vector integrates the relevant information of other modality types and captures the interaction pattern between modalities; the original aggregated feature vector is concatenated with the corresponding cross-modal context vector to generate a cross-modal representation of each modality type node. The cross-modal representation contains both the modality information of the node itself and the context information of other modalities.
[0126] Utilizing the modal association edges in the heterogeneous multimodal graph, preferably, a graph convolutional neural network algorithm is used to perform multiple rounds of updates and information propagation on the modal type nodes; in each round of updates, for each modal type node, the cross-modal representation corresponding to the node is first extracted as the node feature; according to the modal association edges, the neighbor node information of the node is aggregated, specifically, the cross-modal representations of the neighbor nodes are weighted and summed according to the edge weights as the neighbor information of the node; the node's own cross-modal representation is fused with the neighbor information, and an updated node representation is obtained through nonlinear transformation, which not only contains the characteristics of the node itself, but also incorporates local structure and context information; after multiple rounds of updates, the representation of each modal type node fully integrates the structural information and cross-modal interaction information in the heterogeneous multimodal graph.
[0127] After the graph convolutional neural network algorithm is updated, a pooling operation is performed on the updated representations of all modal type nodes. Preferably, average pooling is used to aggregate the node-level representations into graph-level representations. The pooled graph-level representation is used as the global representation of the entire heterogeneous multimodal graph to characterize the patient's overall health status and multimodal fusion information. The global representation of the heterogeneous multimodal graph is used as the patient's fused modal representation for subsequent prediction, classification, or clustering tasks.
[0128] In this embodiment, by learning the type embedding vector of each modal type and concatenating the type embedding vector with the original feature vector, a type-aware node representation can be obtained, which not only contains the characteristics of the node itself, but also integrates the overall characteristics of the type to which it belongs, which helps to better capture the correlation and pattern between modal types; through the cross-modal attention mechanism, the interaction between different modal types can be modeled, which helps to capture the correlation and importance between modalities and improve the model's overall understanding of multimodal data; using the graph convolutional neural network algorithm to perform multiple rounds of updates and information propagation on modal type nodes can make full use of the structural information and cross-modal interaction information in the heterogeneous multimodal graph, help to continuously optimize the node representation, and improve the model's modeling ability for patient conditions; after the graph convolutional neural network is updated, the updated representations of all modal type nodes are pooled, and the node-level representations are aggregated into graph-level representations, which can characterize the patient's overall health status and multimodal fusion information, and provide more accurate input for subsequent prediction, classification or clustering tasks.
[0129] S103. Input the patient fusion modality representation into the multi-task condition assessment model, generate subtask embedding vectors by constructing assessment subtasks, obtain patient task perception representation, construct independent task towers based on each assessment subtask, and generate patient condition assessment results based on the patient task perception representation.
[0130] The evaluation subtask specifically refers to each independent evaluation task defined in the multi-task condition evaluation model, and each evaluation subtask corresponds to a specific clinical evaluation goal or medical task. The evaluation subtask can be an evaluation of different aspects of the patient's condition, such as disease risk prediction, condition classification, treatment effect prediction, etc. Each evaluation subtask has its specific input and output, which is used to evaluate and analyze the patient's condition from different angles;
[0131] The independent task tower specifically refers to an independent task processing branch constructed in the multi-task disease assessment model. Each task tower specializes in processing an assessment subtask. In each task tower, by processing the patient's fusion modality representation and training a specific task loss function, the task tower can independently learn and optimize the prediction ability of the corresponding assessment subtask. The task tower uses the corresponding deep learning model structure, which is determined according to the characteristics of the assessment subtask. Finally, each task tower outputs the prediction result related to its corresponding assessment subtask.
[0132] The assessment subtasks define the specific clinical assessment goals that the model needs to solve, and the task tower is an independent prediction module built for each assessment subtask, which is used to learn and predict the results of a specific task.
[0133] In this embodiment, by constructing a multi-task disease assessment model, multiple assessment subtasks are considered at the same time, and the correlation and shared information between tasks are used to improve the generalization ability and performance of the model. Different assessment subtasks can promote each other, complement each other's deficiencies, and improve the overall disease assessment effect; by inputting the patient's fusion modality representation into the multi-task disease assessment model, the patient's task perception representation is generated, which can comprehensively consider the impact of different modality data on the patient's health status, and extract relevant information for specific assessment subtasks, providing more comprehensive and accurate information for disease assessment; for each assessment subtask, an independent task tower is constructed, that is, a special model branch, which can be specially learned and optimized for different assessment tasks, so that the model can better adapt to various clinical assessment goals and improve the accuracy and reliability of the assessment results.
[0134] In an optional embodiment, the patient fusion modality representation is input into a multi-task condition assessment model, and by constructing assessment subtasks, a subtask embedding vector is generated to obtain a patient task perception representation, and based on each assessment subtask, an independent task tower is constructed. Based on the patient task perception representation, the patient condition assessment result is generated, including:
[0135] The evaluation subtasks include a disease severity grading subtask, an organ dysfunction prediction subtask, and a prognosis prediction subtask;
[0136] Based on each evaluation subtask, determine the corresponding task description sentence, convert the task description sentence into a text embedding vector, map the text embedding vector to the task embedding space through a fully connected neural network layer, and generate a fixed-dimensional task embedding vector;
[0137] Concatenate the patient fusion modality representation with the task embedding vector corresponding to each evaluation subtask to obtain the patient task-aware representation;
[0138] According to each evaluation subtask, an independent task tower is constructed based on a multi-layer fully connected neural network. The patient's task perception representation is used as input, and the evaluation results of the corresponding evaluation subtask are generated through nonlinear transformation and feature extraction to determine the patient's condition evaluation results.
[0139] First, in the present invention, it is clarified that the disease assessment includes three subtasks: disease severity classification, organ dysfunction prediction and prognosis prediction. The three subtasks evaluate the health status of the patient from different perspectives.
[0140] For each evaluation subtask, corresponding objectives and requirements are generated, and the task description statement is determined. For the disease severity classification subtask, the task description statement is preferably, "Based on the patient's physiological parameters, biochemical indicators and clinical symptoms, evaluate the severity of the patient's disease and divide it into four levels: mild, moderate, severe and critical"; for the organ dysfunction prediction subtask, the task description statement is preferably, "Based on the patient's physiological parameters, biochemical indicators and clinical symptoms, predict whether the patient has organ dysfunction, and point out the specific affected organs, such as respiratory failure, heart failure, liver failure, renal failure, etc."; for the prognosis prediction subtask, the task description statement is preferably, "Based on the patient's physiological parameters, biochemical indicators and clinical symptoms, predict the patient's prognosis, including indicators such as mortality rate, ICU hospitalization time, and total hospitalization time";
[0141] Convert the task description of each evaluation subtask into a text embedding vector, use a pre-trained word embedding model to map each word in the task description sentence into a word vector, preferably Word2Vec, and then aggregate all word vectors to obtain the text embedding vector of the entire task description sentence to represent the semantic information of the task description sentence;
[0142] Through the fully connected neural network layer, the text embedding vector of the task description sentence is mapped to the task embedding space to generate a task embedding vector of fixed dimension. A fully connected neural network is pre-set with the input as the text embedding vector and the output as the task embedding vector. The text embedding vector is converted into the task embedding vector by using the nonlinear transformation of the ReLU activation function and the multi-layer perceptron structure. The dimension of the task embedding vector is usually the same as the dimension of the patient's fusion modality representation, so that for the subsequent splicing operation, a corresponding task embedding vector is generated for each evaluation subtask.
[0143] The patient's fusion modality representation is concatenated with the task embedding vector corresponding to each evaluation subtask to obtain the patient's task perception representation. According to each evaluation subtask, an independent task tower is constructed based on a multi-layer fully connected neural network. For each evaluation subtask, an independent multi-layer fully connected neural network is determined. After multi-layer nonlinear transformation and feature extraction, the evaluation result corresponding to the subtask is determined.
[0144] The evaluation results of each evaluation subtask are combined to obtain the final evaluation result of the patient's condition.
[0145] Based on the experience and rules of medical experts, the evaluation results of each subtask are comprehensively considered to draw the overall assessment conclusion of the patient's condition and generate a patient condition assessment report, including information such as the severity of the condition, organ dysfunction, and prognosis prediction, to provide a reference for clinical decision-making.
[0146] In this embodiment, the task description statement is converted into a text embedding vector and mapped to the task embedding space through a fully connected neural network, which can convert the semantic information of the task description into a task embedding vector of fixed dimension, effectively characterize the meaning of the task description, and provide semantic information input for the subsequent evaluation model; the patient's fusion modality representation and the task embedding vector are spliced to obtain the patient's task perception representation, and the patient's multimodal information and the characteristics of each evaluation subtask are comprehensively considered, so that the evaluation model can better understand the patient's overall situation and evaluation needs; an independent task tower is constructed for each evaluation subtask, and the task perception representation is processed through a multi-layer fully connected neural network to obtain the evaluation result corresponding to each subtask, which can perform special learning and optimization for different evaluation tasks, thereby improving the flexibility and effectiveness of the evaluation model.
[0147] In an optional embodiment, the training of the multi-task disease assessment model includes:
[0148] Based on the type of the evaluation subtask, determining a disease severity grading loss function, an organ dysfunction prediction loss function, and a prognosis prediction loss function, and constructing a multi-task loss function;
[0149] Taking the multi-task loss function as the optimization target, in each training iteration, randomly extracting patient samples from the training data set according to a preset number of samples, inputting the patient samples into the multi-task disease assessment model, determining the assessment result, calculating the value corresponding to the multi-task loss function, calculating the model parameter gradient using the back propagation algorithm, and updating the model parameters of the multi-task disease assessment model using the gradient descent optimization algorithm;
[0150] Repeat the training iterations until the preset number of iterations is reached to obtain a trained multi-task disease assessment model.
[0151] According to the type of the evaluation subtask, the corresponding loss function is determined. In an optional embodiment:
[0152] For the disease severity classification subtask, the cross entropy loss function is used to measure the difference between the predicted probability distribution and the true label distribution; for the organ dysfunction prediction subtask, the binary cross entropy loss function is used to measure the difference between the predicted probability and the true label; for the prognosis prediction subtask, the mean square error loss function is used to measure the difference between the predicted value and the true value. Optionally, the loss functions of each subtask are weighted and summed to construct a multi-task loss function, and the contribution of different subtasks to the overall loss is balanced by adjusting the weights of different subtasks.
[0153] The multi-task loss function is used as the optimization target to start the model training process: in each training iteration, a batch of patient samples are randomly selected from the training data set, and the number of samples is the preset batch size. The selected patient samples are input into the multi-task disease assessment model, and the prediction results of each assessment subtask are obtained through forward propagation; the value of the multi-task loss function is calculated based on the prediction results and the true labels. Specifically, the prediction results of each subtask and the corresponding true labels are substituted into the corresponding loss function, the loss value is calculated, and the weighted sum is performed according to the weight coefficient to obtain the value of the multi-task loss function;
[0154] The back-propagation algorithm is used to calculate the gradient of the multi-task loss function to the model parameters, and the gradient of the loss function is transferred to each layer and parameter of the model through the chain rule. The gradient descent optimization algorithm is used to update the model parameters according to the calculated gradient, and the value of the model parameters is adjusted according to the direction and size of the gradient to minimize the multi-task loss function.
[0155] After completing one training iteration, determine whether the current number of iterations reaches the preset number of iterations. If so, stop the training process to obtain a trained multi-task disease assessment model. If not, continue with the next training iteration until the preset number of iterations is reached. Optionally, if the loss function value changes very little, stop the iteration early.
[0156] In this embodiment, different types of loss functions are used according to the types of evaluation subtasks, so that the model can better adapt to the characteristics of different types of tasks and improve the accuracy and effect of the evaluation model; a multi-task learning framework is adopted, and the weighted sum of the loss functions of each evaluation subtask is constructed into a multi-task loss function, so that the model can learn multiple evaluation subtasks at the same time, effectively utilize the correlation and complementarity between different tasks, and improve the generalization ability and learning efficiency of the model; in the training process of the model, a stochastic gradient descent optimization algorithm is adopted to update the parameters of the model by calculating the gradient of the multi-task loss function. Optionally, if the loss function value changes very little, the iteration can be stopped in advance to avoid overfitting and improve training efficiency, effectively preventing the model from overfitting the training data during the training process and improving the generalization ability and performance stability of the model.
[0157] In an optional embodiment, the multi-task loss function includes:
[0158] disease severity grading loss function, organ dysfunction prediction loss function, and prognosis prediction loss function;
[0159] The disease severity grading loss function has the following formula:
[0160] ;
[0161] in, L s,i represents the disease severity classification loss function, C s The number of categories representing the severity of the condition, j The category index representing the severity classification of the disease, α s,j Indicates the severity of the disease j Category weights, y s,ij Indicates i The severity of the disease in the sample j The true class label, p s,ij Indicates i The severity of the disease in the sample j Class model prediction value;
[0162] The organ dysfunction prediction loss function has the following formula:
[0163] ;
[0164] in, L o,i represents the organ dysfunction prediction loss function,C o The number of categories representing organ dysfunction, k The category index representing organ dysfunction, α o,k Indicates organ dysfunction k Category weights, p o,ik Indicates i Organ dysfunction in samples k Class model prediction value, c represents the focusing parameter, y o,ik Indicates i Organ dysfunction in samples k Category ground truth label;
[0165] The prognosis prediction loss function has the following formula:
[0166] ;
[0167] in, L q,i represents the prognostic prediction loss function, C q represents the number of categories for prognostic prediction, l represents the category index of prognosis prediction, p q,il Indicates i Prognosis prediction of samples l Class model prediction value, y q,il Indicates i Prognosis prediction of samples l The true class label, e Represents a smoothing term that avoids division by zero;
[0168] The multi-task loss function has the following formula:
[0169] ;
[0170] in, L interaction represents the interaction regularization term, p s represents the overall predicted probability distribution of the disease severity classification task, p o represents the overall predicted probability distribution of the organ dysfunction task, p q represents the overall prediction probability distribution of the prognosis prediction task, L total represents the multi-task loss function, Nrepresents the total number of samples, i represents the sample index, oh s Indicates the loss contribution of disease severity classification, oh o represents the contribution of organ dysfunction to predict loss, oh q represents the contribution to prognostic prediction loss, and λ represents the weight coefficient of the interaction regularization term.
[0171] Based on the three loss functions mentioned above, the prediction accuracy of the model for the task of grading the severity of the patient's condition is measured. The cross entropy between the true label and the model's predicted value is calculated, and the losses of each category are accumulated and summed to measure the prediction accuracy of the model for the task of predicting patient organ dysfunction. The binary cross entropy loss and focal loss are combined to measure the difference between the model's predicted probability and the true label for each category; it is used to evaluate the model's predictive performance for the patient's prognosis by calculating the difference between the predicted probability and the true label, and comprehensively considering the predicted probabilities of all categories; the interactive regularization term is used to introduce the correlation between tasks, and the interactive learning between tasks is promoted by calculating the KL divergence between tasks. The entire loss function is composed of the weighted sum of the losses of each subtask and the interactive regularization term, and the weight parameter is used to adjust the contribution of each subtask in the total loss.
[0172] According to the formula, each subtask has a specially designed loss function, which can better measure the performance of different tasks and thus achieve a comprehensive disease assessment; by introducing interactive regularization terms, interactive learning between different tasks is promoted, which helps to improve the generalization ability and learning efficiency of the model; by adopting a multi-task loss function, multiple tasks can be learned at the same time, effectively utilizing the correlation and complementarity between tasks, and improving the generalization ability and performance stability of the model.
[0173] Figure 2 FIG. 1 is a schematic diagram of a sepsis patient condition assessment system based on multimodal data fusion according to an embodiment of the present invention. Figure 2 As shown, the system comprises:
[0174] The first unit is used to collect multimodal data of sepsis patients, determine corresponding modality type nodes based on each mode of the multimodal data, determine corresponding modality association edges based on the association relationship of the multimodal data, and construct a heterogeneous multimodal graph with the modality type nodes and the modality association edges;
[0175] The second unit is used to input the heterogeneous multimodal graph into a multimodal fusion network, aggregate the features of the modality type nodes through a type-aware attention mechanism and a cross-modal attention mechanism, construct the interaction between the modality type nodes, extract and fuse the feature representation of the multimodal data, and obtain the patient fusion modality representation;
[0176] The third unit is used to input the patient fusion modality representation into the multi-task condition assessment model, generate subtask embedding vectors by constructing assessment subtasks, obtain patient task perception representation, construct an independent task tower based on each assessment subtask, and generate patient condition assessment results based on the patient task perception representation.
[0177] According to a third aspect of the embodiments of the present invention,
[0178] An electronic device is provided, comprising:
[0179] processor;
[0180] a memory for storing processor-executable instructions;
[0181] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.
[0182] A fourth aspect of the embodiments of the present invention is:
[0183] 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.
[0184] 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.
[0185] 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 with 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. A method for assessing the condition of sepsis patients based on multimodal data fusion, characterized in that: include: Collecting multimodal data of sepsis patients, determining corresponding modality type nodes based on each modality of the multimodal data, determining corresponding modality association edges based on the association relationship of the multimodal data, and constructing a heterogeneous multimodal graph with the modality type nodes and the modality association edges; Inputting the heterogeneous multimodal graph into a multimodal fusion network, aggregating the features of the modality type nodes through a type-aware attention mechanism and a cross-modality attention mechanism, constructing the interaction between the modality type nodes, extracting and fusing the feature representation of the multimodal data, and obtaining a patient fused modality representation; Input the patient fusion modality representation into the multi-task condition assessment model, construct assessment subtasks, generate subtask embedding vectors, obtain patient task perception representation, construct independent task towers based on each assessment subtask, and generate patient condition assessment results based on the patient task perception representation; The independent task tower constructs an independent task processing branch in the multi-task condition assessment model. Each independent task tower adopts a deep learning model structure to process a corresponding assessment subtask. By processing the patient fusion modality representation and training the corresponding task loss function, the loss function value corresponding to the assessment subtask is generated to determine the assessment subtask result. Collecting multimodal data of sepsis patients, determining corresponding modality type nodes based on each mode of the multimodal data, and determining corresponding modality association edges based on the association relationship of the multimodal data, the modality type nodes and the modality association edges, and constructing a heterogeneous multimodal graph includes: Physiological parameter data, biochemical index data and clinical symptom data of sepsis patients are collected as multimodal data, and data preprocessing is performed on the multimodal data to obtain standard multimodal data, wherein the clinical symptom data is preprocessed by text segmentation, stop word removal and part-of-speech tagging; Based on the standard multimodal data, a modality type node is determined, wherein based on the physiological parameter data, a physiological parameter feature vector is determined, and a physiological parameter node is constructed; based on the biochemical indicator data, a biochemical indicator feature vector is determined, and a biochemical indicator node is constructed; based on the clinical symptom data, a clinical symptom feature vector is determined, and a clinical symptom node is constructed; Calculating the linear correlation coefficient between the physiological parameter feature vector and the biochemical index feature vector, calculating the cosine similarity between the biochemical index feature vector and the clinical symptom feature vector, calculating the mutual information between the physiological parameter feature vector and the clinical symptom feature vector, and determining the association relationship based on the linear correlation coefficient, the cosine similarity and the mutual information; Based on the association relationship, when the linear correlation coefficient is greater than a preset correlation threshold, the linear correlation coefficient is used as a weight to determine a first association edge between a physiological parameter node and a biochemical indicator node; when the cosine similarity is greater than a preset similarity threshold, the cosine similarity is used as a weight to determine a second association edge between a biochemical indicator node and a clinical symptom node; when the mutual information is greater than a preset mutual information threshold, the mutual information is used as a weight to determine a third association edge between a physiological parameter node and a clinical symptom node; the first association edge, the second association edge and the third association edge constitute a modal association edge; The modality type nodes and the modality association edges constitute a heterogeneous multimodal graph; The heterogeneous multimodal graph is input into the multimodal fusion network, and the features of the modality type nodes are aggregated through the type-aware attention mechanism and the cross-modality attention mechanism, and the interaction between the modality type nodes is constructed. The feature representation of the multimodal data is extracted and fused, and the patient fusion modality representation is obtained, including: The heterogeneous multimodal graph is input into a multimodal fusion network, the modal type nodes in the heterogeneous multimodal graph are processed by a type-aware attention mechanism, a corresponding type embedding vector is generated based on each modal type, the feature vector of each modal type node is concatenated with the corresponding type embedding vector to form a type-aware node representation, and the node representations within the same modal type are aggregated by the attention mechanism to obtain an aggregated feature vector of the corresponding modal type; Based on the aggregated feature vector, the interaction between multiple modalities is modeled through a cross-modal attention mechanism, and the attention weight matrix between the aggregated feature vectors corresponding to each modality type is calculated. According to the attention weight matrix, each of the aggregated feature vectors is weighted summed to determine a cross-modal context vector, and the original aggregated feature vector is concatenated with the corresponding cross-modal context vector to generate a cross-modal representation of the node; Based on the modality association edges of the heterogeneous multimodal graph, a graph convolutional neural network algorithm is used to perform multiple rounds of updating and propagation on the modality type nodes. In each round of updating, each modality type node extracts the corresponding feature vector and aggregates the corresponding neighbor nodes to determine the position and context information of the modality type node in the heterogeneous multimodal graph, thereby obtaining an updated modality type node representation; Performing a pooling operation on the updated modality type node representation to obtain a global representation of the entire heterogeneous multimodal graph, and using the global representation as the patient fusion modality representation; The training of the multi-task disease assessment model includes: Based on the type of the evaluation subtask, determining a disease severity grading loss function, an organ dysfunction prediction loss function, and a prognosis prediction loss function, and constructing a multi-task loss function; Taking the multi-task loss function as the optimization target, in each training iteration, randomly extracting patient samples from the training data set according to a preset number of samples, inputting the patient samples into the multi-task disease assessment model, determining the assessment result, calculating the value corresponding to the multi-task loss function, calculating the model parameter gradient using the back propagation algorithm, and updating the model parameters of the multi-task disease assessment model using the gradient descent optimization algorithm; Repeat the training iterations until the preset number of iterations is reached to obtain a trained multi-task disease assessment model.
2. The method according to claim 1, characterized in that The heterogeneous multimodal graph includes: Determining the association relationship includes the linear correlation coefficient, the cosine similarity and the mutual information, and the formula is as follows: ; Among them, v A represents the physiological parameter feature vector, v B represents the biochemical index feature vector, v C represents the clinical symptom feature vector, R AB Represents the linear correlation coefficient between the physiological parameter feature vector and the biochemical index feature vector, S BC represents the cosine similarity between the biochemical index feature vector and the clinical symptom feature vector, I AC represents the mutual information between the physiological parameter feature vector and the clinical symptom feature vector, t represents the convolution kernel number, μ t Represents the convolution kernel t Weight, Represents the physiological parameter feature vector in the convolution kernel t The convolution operation below, Represents the biochemical index feature vector in the convolution kernel t The convolution operation below, m Represents the element number in the physiological parameter feature vector, n represents the element number in the clinical symptom feature vector, X represents the joint probability distribution, v Am Represents the first m eigenvalues, v Cn represents the first n eigenvalues, represents the regularization coefficient for mutual information calculation, Y represents the marginal probability distribution, and KL(·||·) represents the KL divergence; The first associated edge weight, whose range is expressed as: ; in, ω AB represents the first associated edge weight, θ R represents a preset correlation threshold; The second associated edge weight, whose range is expressed as: ; in, ω BC represents the second associated edge weight, θ S Indicates the preset similarity threshold; The third associated edge weight, its range is expressed as: ; in, ω AC represents the third associated edge weight, θ I Represents the preset mutual information threshold.
3. The method according to claim 1, characterized in that The patient fusion modality representation is input into the multi-task condition assessment model, and the patient task perception representation is obtained by constructing the assessment subtask and generating the subtask embedding vector. Based on each assessment subtask, an independent task tower is constructed. Based on the patient task perception representation, the patient condition assessment result is generated, including: The evaluation subtasks include a disease severity grading subtask, an organ dysfunction prediction subtask, and a prognosis prediction subtask; Based on each evaluation subtask, determine the corresponding task description sentence, convert the task description sentence into a text embedding vector, map the text embedding vector to the task embedding space through a fully connected neural network layer, and generate a fixed-dimensional task embedding vector; Concatenate the patient fusion modality representation with the task embedding vector corresponding to each evaluation subtask to obtain the patient task-aware representation; According to each evaluation subtask, an independent task tower is constructed based on a multi-layer fully connected neural network. The patient's task perception representation is used as input, and the evaluation results of the corresponding evaluation subtask are generated through nonlinear transformation and feature extraction to determine the patient's condition evaluation results.
4. The method according to claim 1, characterized in that: The multi-task loss function includes: disease severity grading loss function, organ dysfunction prediction loss function, and prognosis prediction loss function; The disease severity grading loss function has the following formula: ; in, L s,i represents the disease severity classification loss function, C s The number of categories representing the severity of the condition, j The category index representing the severity classification of the disease, α s,j Indicates the severity of the disease j Category weights, y s,ij Indicates i The severity of the disease in the sample j The true class label, p s,ij Indicates i The severity of the disease in the sample j Class model prediction value; The organ dysfunction prediction loss function has the following formula: ; in, L o,i represents the organ dysfunction prediction loss function, C o The number of categories representing organ dysfunction, k The category index representing organ dysfunction, α o,k Indicates organ dysfunction k Category weights, p o,ik Indicates i Organ dysfunction in samples k Class model prediction value, γ represents the focusing parameter, y o,ik Indicates i Organ dysfunction in samples k Category ground truth label; The prognosis prediction loss function has the following formula: ; in, L q,i represents the prognostic prediction loss function, C q represents the number of categories for prognostic prediction, l represents the category index of prognosis prediction, p q,il Indicates i Prognosis prediction of samples l Class model prediction value, y q,il Indicates i Prognosis prediction of samples l The true class label, ε Represents a smoothing term that avoids division by zero; The multi-task loss function has the following formula: ; in, L interaction represents the interaction regularization term, p s represents the overall predicted probability distribution of the disease severity classification task, p o represents the overall predicted probability distribution of the organ dysfunction task, p q represents the overall prediction probability distribution of the prognosis prediction task, L total represents the multi-task loss function, N represents the total number of samples, i represents the sample index, ω s Indicates the loss contribution of disease severity classification, ω o represents the contribution of organ dysfunction to predict loss, ω q represents the contribution to prognostic prediction loss, λ represents the weight coefficient of the interaction regularization term, and KL(·||·) represents the KL divergence.
5. A sepsis patient condition assessment system based on multimodal data fusion, used to implement the method according to any one of claims 1 to 4, characterized in that: include: The first unit is used to collect multimodal data of sepsis patients, determine corresponding modality type nodes based on each mode of the multimodal data, determine corresponding modality association edges based on the association relationship of the multimodal data, and construct a heterogeneous multimodal graph with the modality type nodes and the modality association edges; The second unit is used to input the heterogeneous multimodal graph into a multimodal fusion network, aggregate the features of the modality type nodes through a type-aware attention mechanism and a cross-modal attention mechanism, construct the interaction between the modality type nodes, extract and fuse the feature representation of the multimodal data, and obtain the patient fusion modality representation; The third unit is used to input the patient fusion modality representation into the multi-task condition assessment model, generate subtask embedding vectors by constructing assessment subtasks, obtain patient task perception representation, construct an independent task tower based on each assessment subtask, and generate patient condition assessment results based on the patient task perception representation.
6. 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 4.
7. 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 4 is implemented.
