Multi-scale information fusion neural network modeling method for multivariate time sequence intensive care data classification

Through the multi-scale information fusion neural network modeling method, the multi-modal features of multi-dimensional time-series intensive care data are extracted, the feature importance is identified and the hierarchical width network is constructed, which solves the problems of high data feature dimension and coupling correlation relationship, and achieves high-level Accurate disease classification and treatment decision support.

CN118824554APending Publication Date: 2024-10-22DALIAN UNIV OF TECH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410914464.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

The analysis and classification of multi-sequential intensive care data are faced with problems such as temporality, large data scale, high feature dimension, and highly coupled correlations. This makes it difficult for existing technologies to fully mine multi-modal feature information and category distribution information, affecting the robustness of the model. and generalization performance.

Method used

The multi-scale information fusion neural network modeling method is used to extract representation data through a representation model that fuses multi-modal feature information, and the extreme gradient boosting decision tree is used to identify feature importance, build a hierarchical width network model, and fuse the bases through a weighted average method. Model prediction results achieve high-precision classification of multivariate time series critical care data.

Benefits of technology

It improves the classification performance of multivariate time series intensive care data, enhances the robustness and generalization ability of the model, can more accurately reflect the disease development trend and treatment response of ICU patients, and provides more reliable monitoring and treatment support.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118824554A_ABST
    Figure CN118824554A_ABST
Patent Text Reader

Abstract

The invention provides a multi-scale information fusion neural network modeling method for multivariate time sequence intensive care data classification, and belongs to the technical field of data processing. The method specifically comprises the following steps: collecting multivariate time sequence intensive care data and corresponding label data, and extracting multivariate time sequence representation data with discrimination and representativeness by applying a representation learning model; and dividing the characterization data by adopting time windows with different lengths, and obtaining corresponding instance-level characterization data through global maximum pooling operation. And determining a multi-scale representation data set for integrated modeling based on a similarity scale screening principle. And aiming at the screening result, carrying out quantitative identification on the feature importance by utilizing a limit gradient improvement decision tree, and then carrying out reordering. And dividing the reordered data into a plurality of feature subsets, establishing a hierarchical width network model, and realizing classification prediction under a corresponding scale. And fusing classification prediction results of all the base models by using a weighted average method to obtain final decision output.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, belonging to the field of artificial intelligence (artificial neural network) pattern data fitting, recognition and classification, and specifically to a multi-scale information fusion neural network modeling method for multivariate time series critical care data classification. Background Art

[0002] The intensive care unit (ICU) is designed to provide comprehensive and targeted monitoring, treatment and care for various critically ill patients. By continuously monitoring and recording the physiological conditions of ICU patients, corresponding multivariate time-series critical care data can be generated. These data can help doctors better understand the development of patients' conditions and assist them in making diagnosis and treatment decisions. At the same time, using these data to carry out classification tasks such as ICU patient severity assessment and death risk prediction can help nurses determine the appropriate level of care, achieve precision care, and give priority to ICU diagnosis and treatment resources for patients with more serious conditions. In addition, assisting nurses in early judgment of which patients cannot benefit from intensive treatment in the ICU is also an important means to ensure patient life safety and improve end-of-life care. Multivariate time-series critical care data analysis and classification based on artificial intelligence methods can reveal the potential patterns and changing trends contained in the data, provide support for efficient management and optimized decision-making, which is of great significance for formulating long-term medical strategies and policies and improving overall medical quality and efficiency. However, multivariate time-series critical care data not only has time series characteristics, but also has the characteristics of large data scale, high feature dimension, and highly coupled correlation. These characteristics make the analysis and classification of multivariate time-series critical care data more challenging. To this end, the present invention proposes a neural network learning algorithm that integrates multi-scale information, aiming to achieve high-precision classification modeling of multivariate time-series critical care data.

[0003] Through feature representation learning, complex, high-dimensional multivariate time series critical care data can be transformed into simpler and easier to process representation data. This process not only helps to eliminate the negative impact of redundant or noisy information in the data, but also provides more reliable information support for the classification model. At present, the commonly used multivariate time series data feature representation learning methods include calculating statistical features, selecting iconic subsequences, designing discrete symbol representations, and building representation models. Among them, the method of building a representation model can not only autonomously learn representation features, but also flexibly adjust the feature extraction strategy according to the nature of the data and the requirements of the task. Therefore, building a representation model for feature representation learning has gradually become one of the key technologies in the field of multivariate time series data analysis.

[0004] Deep neural networks can achieve excellent performance when performing classification tasks, but their complex network structure and a large number of parameters that need to be learned result in a long training time for the model, and may also encounter problems such as local optimality and gradient vanishing. In contrast, the Broad Learning System (BLS) does not have a complex network structure and does not rely on the back propagation algorithm for parameter learning, and has the advantages of high efficiency and flexibility. BLS mainly includes two operations: feature mapping and enhancement mapping. The feature mapping operation converts the input data into a higher-level abstract representation, which helps the model better understand and process the data. The enhancement mapping operation is to supplement the learning of the mapping features, further enhancing the model's ability to express and adapt to the input data.

[0005] The performance of the model is closely related to the quality of the features used. Some key features in the data can provide valuable information for the model and are crucial to improving the model performance. At the same time, multivariate time series critical care data is highly personalized, and each patient's disease manifestations and treatment responses are significantly different. This characteristic makes the model susceptible to interference from redundant or noisy information and over-focuses on specific patterns in the data, thereby limiting its generalization performance. By identifying the importance differences between different features, the model can be guided to better identify and utilize key features, thereby improving the generalization ability of the model. In addition, for multivariate time series critical care data, data at different time scales also contain different pattern information. Data at longer time scales reflect the patient's chronic disease status and health status change trends, while data at shorter time scales often reflect the patient's acute disease attacks. Therefore, the analysis and classification of multivariate time series critical care data also needs to fully explore the pattern information at different time scales, so as to further improve the robustness and generalization of the model.

[0006] Based on the above analysis, it can be found that how to make full use of the multimodal feature information and category distribution information in the data, mine representation features with class separability and intrinsic specificity, and effectively use the multi-level and multi-scale information in the representation data for modeling to improve classification performance is still an issue worthy of attention. Summary of the invention

[0007] In the critical medical scenario of ICU, the patient's clinical test results, vital signs information, disease diagnosis codes and other data are continuously monitored and recorded, forming a massive amount of multivariate time-series critical care data. The present invention aims to provide a multi-scale information fusion neural network modeling method for multivariate time-series critical care data classification. The representation model that fuses multi-modal feature information is used to extract the representation data of the original multivariate time-series critical care data, formulate a scale screening principle based on similarity, and construct a multi-scale representation data set for integrated modeling. For the different scale data obtained by screening, the extreme gradient boosting decision tree is used to identify the importance of features. Based on the feature importance identification results, a hierarchical width network combining series-parallel is constructed to fully mine and fuse the feature information of different levels in the representation data for classification prediction. Finally, the weighted average method is used to fuse the prediction outputs of different base models to obtain the final classification prediction results. This method can ensure that the model has certain robustness and generalization while achieving high-precision modeling, providing more reliable support for the monitoring and treatment of ICU patients.

[0008] The technical solution adopted by the present invention to achieve the above-mentioned purpose is:

[0009] A multi-scale information fusion neural network modeling method for multivariate time series critical care data classification includes the following steps:

[0010] S1. Collect multivariate time-series critical care data and corresponding label data for classification tasks, apply a representation learning model that integrates multimodal feature information, and extract discriminative and representative multivariate time-series representation data;

[0011] S2. Use time windows of different lengths to divide the multivariate time series representation data to obtain multivariate time series representation data at different scales, and obtain the corresponding instance-level representation data through a global maximum pooling operation;

[0012] S3. Develop similarity-based scale screening principles to determine the multi-scale representation data set for integrated modeling;

[0013] S4. For each scale of data, use Extreme Gradient Boosting (XGBoost) to identify the importance of features and reorder the data according to the identification results;

[0014] S5. For each reordered representation data, a hierarchical broad network model (HB-Net) is established that integrates multi-level feature information to achieve classification prediction at the corresponding scale;

[0015] S6. Use the weighted average method to fuse the classification prediction results of all base models to obtain the final decision output, thereby realizing the analysis and classification of multivariate time-series critical care data.

[0016] According to the above aspects and any possible implementation, an implementation is further provided, wherein S1 specifically includes:

[0017] Collect multivariate time series critical care data and corresponding label data for classification tasks. The multivariate time series data set consisting of N samples is represented as in is the i-th sample, T is the length of the time series, L is the number of features in each time step, i = 1, 2, …, N. represents the feature vector at time step t, x i,t,l represents the lth eigenvalue, t=1,2,…,T, l=1,2,…,L. The label data set is represented as Y={y1,y2,…,y i ,…,y N},in is the same as sample X i The corresponding label data, C is the number of categories.

[0018] Apply a representation learning model consisting of a projection mapping layer, a gated recurrent unit module, a residual dilated convolution module, and a feature fusion layer to extract Characterization data. For data samples The process of extracting characterization data is as follows:

[0019] First, in the projection mapping layer, the feature vector of each time step is Mapping to latent vector

[0020]

[0021] in, is the weight parameter, is the bias vector, D represents the feature dimension of the potential vector, φ GELU (·) represents the GELU activation function, φ tanh (·) represents the hyperbolic tangent activation function. The output data of this layer is represented as

[0022]

[0023] Next, The input gated recurrent unit module learns the temporal dependency characteristics of the data. The gated recurrent unit module consists of N G Layer gated recurrent unit and (N G-1) layers of random dropout. In the first layer of gated recurrent units, the output hidden state at the tth moment is Input from the current moment The hidden state of the previous moment Calculated together, is the characteristic dimension of the hidden layer state output by the first layer, t=1,2,…,T.

[0024] The gated recurrent unit has a reset gate inside and update gate Two gating units, which are used to control the degree to which the hidden state information of the previous moment is retained. Their values ​​are calculated by the current moment input and the previous moment hidden state, as shown in equations (4) and (5).

[0025]

[0026] in, and is the weight parameter of the reset gate, is the bias, and is the weight parameter of the update gate, is the bias, φ sigmoid (·) represents the sigmoid activation function.

[0027] The candidate hidden state at the current moment is calculated by the current moment input and the hidden state at the previous moment after filtering by the reset gate

[0028]

[0029] in, and is the weight parameter for calculating the candidate hidden state, is the bias, ⊙ represents the Hadamard product operation, that is, the corresponding elements of the matrix are multiplied. From formula (7), we can see that the larger the value of the reset gate, the more information of the hidden state at the previous moment is retained; conversely, the less information is retained.

[0030] Use the update gate to combine the hidden state of the previous moment and the candidate hidden state of the current moment to get the output hidden state of the current moment.

[0031]

[0032] where f g(·) is used to summarize the internal operation process of the gated recurrent unit. From formula (8), it can be seen that the larger the value of the update gate, the more information flows in from the hidden state of the previous moment. According to formulas (4) to (8), the output of the first layer of the gated recurrent unit can be obtained by calculating moment by moment:

[0033] Next, in order to reduce the risk of overfitting the model, we randomly drop the Apply the discard operation to get

[0034]

[0035] in is a random vector, and the elements in the vector have probability d r The value is 0, with probability 1-d r The value is (1 / 1-d r ).

[0036] Similarly, the nth g The output of the layer gated recurrent unit at the tth moment is in For nth g The characteristic dimension of the hidden layer state output by the layer, For the first (n g -1) layer randomly discards the output of the layer at the tth moment, is the corresponding random vector, For the first (n g -1) The output of the gated recurrent unit at the tth moment, 1 <n g ≤N G Thus, the final output of the gated recurrent unit module can be obtained For N G The characteristic dimension of the hidden layer state of the layer output.

[0037] For multivariate time series critical care data, time series dependency features are critical, but the impact of local and global features cannot be ignored. Therefore, the residual dilated convolution module is introduced into the model to extract local and global features of the sample. The residual dilated convolution module consists of N S The residual dilated convolution blocks are connected in series, and the output of the first convolution block is It can be calculated by the following formula:

[0038]

[0039] in, is the characteristic dimension, f s (·) indicates the calculation formula of the residual dilated convolution block, * d(1)Denotes the expansion factor as d (1) The dilated convolution operation, and is the weight parameter of the one-dimensional dilated convolution operation, Represents the size of each convolution kernel, f c (·) is the projection function that ensures dimensionality matching:

[0040]

[0041] Among them, * represents a one-dimensional convolution operation, is the corresponding weight parameter.

[0042] No.n s The input of a convolutional block is the output of the previous convolutional block. Its output It can be expressed as:

[0043]

[0044] in, and is the weight parameter, For nth s The feature dimension of the convolutional block is For the first (n s -1) The feature dimension of the convolutional block, For nth s The dilation factor of the convolutional block is calculated layer by layer according to formula (12), and the output of the residual dilated convolution module is obtained. in For N S The feature dimension of a convolutional block.

[0045] In the feature fusion layer, the output of the residual dilated convolution module is The output of the gated recurrent unit module Splice along the feature dimension to obtain the final output representation data in is the feature dimension.

[0046] Apply the representation learning model to extract a multivariate time series data set The characterization data set in For data sample X i Characterization data, Z i The representation vector at the tth moment is

[0047] According to the above aspects and any possible implementation manner, an implementation manner is further provided, wherein S2 specifically includes:

[0048] Characterization data set extracted from S1 Use time windows of different lengths to divide it to obtain characterization data sets at different time scales. Set the start time of the first divided time window to 1 and the end time to T. Then, the start time of each divided time window is shifted back by a length of Δ d . nth f The time window divided by this time is initially 1+(n f -1)Δ d , the end time is T, and the time scale of the data is T-(n f -1)Δ d Until the initial moment exceeds the set threshold S d When , stop dividing. Through this step, we get F A multi-scale representation data set composed of representation data of different scales in N F It can be calculated by the following formula:

[0049]

[0050] in The floor symbol.

[0051] Iterating over a collection Each element in Perform a global maximum pooling operation on it along the time dimension, that is, retain the maximum value of the feature in the time window as the output value of the feature, and obtain F A collection of instance-level representation data of different scales in

[0052] According to the above aspects and any possible implementation, an implementation is further provided, wherein S3 specifically includes:

[0053] Multi-scale instance-level representation data set obtained by S2 partitioning Develop a similarity-based screening strategy to determine the multi-scale representation data set for integrated modeling. Considering the representation data at the global scale Often contains the most abundant information, it is used as the benchmark data for screening to ensure that the selected scale data maintains a certain similarity and difference. In the screening process, cosine similarity is used as the similarity measurement function. and The similarity between It can be calculated by the following formula:

[0054]

[0055] in, express The value of the mth feature of the ith sample in express The value of the mth feature of the ith sample in . According to formula (14), calculate Each element in The similarity value between them is obtained by

[0056] Define instance-level representation data sets for ensemble modeling The number of elements in the set is expressed as Initial situation Set the similarity threshold and difference threshold to S c and S v , for any and q∈{2,...,N F}, check in turn Does it satisfy c q >S c And|c q -c p |>S v If the condition is met, join in on the contrary, Remain unchanged.

[0057] According to the above aspects and any possible implementation manner, an implementation manner is further provided, wherein S4 specifically includes:

[0058] For collection For each scale data in , the XGBoost model is used to identify its feature importance. in For the i-th sample, i = 1, 2, ..., N, the process of identifying its feature importance is as follows:

[0059] If the model consists of E decision trees, then the model for the i-th sample The predicted value of It can be expressed as:

[0060]

[0061] in, is the prediction result of the e-th decision tree, is the sum of the prediction results of the first E-1 decision trees, is the prediction result of the Eth decision tree.

[0062] When constructing the Eth decision tree, the objective function Defined as:

[0063]

[0064] Among them, L xgb (·) is the loss function set, Ω(f e ) represents the regularization term of the e-th decision tree, which can be expressed as:

[0065]

[0066] Among them, C e is the total number of leaf nodes in the e-th decision tree, w j represents the weight value corresponding to the jth leaf node, γ b and λ b is the penalty weight parameter set.

[0067] The loss function term in formula (16) Perform a second-order Taylor expansion to obtain a new objective function expression:

[0068]

[0069] in, is the loss function L xgb (·)exist The first-order derivative value at , is the loss function L xgb (·)exist The second-order derivative value at .

[0070] In the previous round of decision tree construction, it has been calculated Therefore, the loss is a constant. In the optimization process, the constant term is independent of the parameters to be optimized and will not affect the optimization process. Therefore, equation (18) is further simplified as follows:

[0071]

[0072] In the decision tree model, the predicted value of a sample is the weight value of the leaf node to which it belongs, that is:

[0073]

[0074] in, instruct The leaf node to which it belongs, is the weight value of the corresponding leaf node.

[0075] Therefore, formula (19) can be further expressed as:

[0076]

[0077] in, Indicates the sample set belonging to the jth leaf node, C E is the total number of leaf nodes in the E-th decision tree. These are all definite values ​​that can be calculated.

[0078] Using formula (21) for w j Taking the first-order derivative and setting it equal to 0, we can obtain w j The optimal solution is:

[0079]

[0080] Substituting formula (22) into formula (21), we can obtain:

[0081]

[0082] Formula (23) describes the maximum contribution that the structure of the Eth decision tree can make to the optimization goal, which can also be regarded as the structural score of the decision tree. In the process of building the tree, formula (23) is used as the evaluation criterion for node splitting to determine its contribution to the optimization goal. By calculating the average node gain generated by the feature as a split node, the impact of the feature on the model performance can be accurately evaluated. The importance v of the mth feature m It can be calculated by the following formula:

[0083]

[0084] Where m = 1, ..., M, (e, j) indicates the jth non-leaf node of the eth decision tree, is the partition feature of the jth non-leaf node on the eth decision tree, Respectively represent the sum of the first-order derivatives of all samples on the left and right nodes of node (e, j), Respectively represent the sum of the second-order derivatives of all samples on the left and right nodes of node (e, j), G (e,j) ,S (e,j) They represent the sum of the first-order derivatives and the sum of the second-order derivatives of all samples falling on the (e, j) node, respectively. is an indicator function, if the condition If true, the function value is 1; otherwise, the function value is 0.

[0085] Applying formula (24) to calculate the importance of each feature one by one, we can get the corresponding feature importance vector This completes the feature importance assessment. Reorder the data and express it as The i-th sample is

[0086] According to the above aspects and any possible implementation manner, an implementation manner is further provided, wherein S5 specifically includes:

[0087] The HB-Net model is constructed to classify and predict each reordered scale data. The output data is When , the construction and parameter learning process of the HB-Net model is as follows:

[0088] In building N K When building the HB-Net model with a layer, we first input the data Divided into the following N K A collection of subsets:

[0089]

[0090] in is the Nth input data K subset, d h =M / N K is the number of features contained in each subset.

[0091] The input data for the first sublayer in the model is set to In the first sublayer, first conduct The feature mapping operation is performed to obtain Group Mapping Features Each set of features contains mapping nodes. The calculation process is expressed as:

[0092]

[0093] in, φ(·) is a nonlinear activation function, and are randomly generated and non-changing weight parameters and biases. The group mapping features are concatenated along the feature dimension to obtain the total mapping features is the feature dimension.

[0094] By enhancing the mapping operation, the feature F (1) conduct Supplementary learning, Group Enhancement Features Each group contains Enhanced nodes. The calculation process is as follows:

[0095]

[0096] in, ξ(·) is a nonlinear activation function, and are randomly generated and non-changing weight parameters and biases. The group enhancement features are concatenated along the feature dimension to obtain the total enhancement features. is the feature dimension.

[0097] The calculated mapping feature F (1) With enhanced feature E (1) Splice along the feature dimension to get the output feature nodes of the first layer

[0098] No.n k The input data of each sub-layer is composed of the output feature nodes of all previous sub-layers and the new input feature subset Composition, 1 <n k ≤N K . Concatenate them along the feature dimension to get the input data of the current sub-layer in is the feature dimension. The internal operation of this sublayer is the same as the first sublayer. First, the feature mapping operation is performed to obtain Group Mapping Features Each group contains A mapping node, represented as:

[0099]

[0100] in, and It is a randomly generated and unchanging weight parameter and bias. Concatenate all group mapping features to get the total mapping feature of the current sub-layer is the feature dimension.

[0101] Next, proceed The secondary enhanced mapping learning is calculated in the same way as (27), and we get Group Mapping Features Each group contains Mapping nodes. Concatenate all enhanced features to get the total enhanced features is the feature dimension. and Get the output feature node of the current sublayer

[0102] According to the above algorithm, the calculation is performed layer by layer to obtain the output feature node of the last sub-layer At this point, the model's predicted output Calculated by the following formula:

[0103]

[0104] in is the output weight matrix.

[0105] For W m , and use the objective function with L2 regularization loss to optimize it, namely:

[0106]

[0107] Where α is the regularization coefficient.

[0108] Solve the optimization problem (30) and get W m The optimal solution is:

[0109]

[0110] Where I is the identity matrix.

[0111] According to the above aspects and any possible implementation manner, an implementation manner is further provided, wherein S6 specifically includes:

[0112] After S3 screening is completed, There are N U The elements of the scale are n u The elements are represented as Build XGBoost model according to S4 The importance of the features is identified and reordered according to the importance of the features to obtain the reordered data According to S5, N U The corresponding HB-Net base model, the input data of the base model is The output data is Y. Thus, the corresponding N U Group prediction results, the nth u The prediction output of each base model is expressed as

[0113] The prediction outputs of all base models are integrated using the weighted average method to obtain the final prediction result.

[0114]

[0115] in Set the nth uThe weight parameters of the base model satisfy the constraints

[0116] Beneficial effects of the present invention: The present invention proposes a multi-scale information fusion neural network modeling method for multivariate time series critical care data classification. Considering that the electronic health record data of ICU patients has the characteristics of time series, complex distribution, large data scale and high feature dimension, the characterization model that integrates multi-modal feature information can mine the class separability characteristics and intrinsic specificity characteristics of the sample, comprehensively characterize the characteristics of multivariate time series data, eliminate the interference of redundant or noise information in the original data, and provide higher quality information support for the classification model. For the extracted multivariate time series characterization data, this method adaptively selects the characterization data at different time scales for integrated modeling by formulating a scale screening principle based on similarity, which can fully consider the short-term symptom manifestations and long-term disease development trends of ICU patients. For each scale data, the average information gain index is used to quantitatively identify the importance of the feature, and the features are reordered in descending order, so as to divide the input feature subsets of the hierarchical structure. In the designed hierarchical width network model, the hierarchical input strategy makes it unnecessary for the model to process high-dimensional data features at one time. In addition, the input of each sublayer not only includes a new input feature subset, but also includes the output nodes of all previous sublayers. Each sublayer contains two operations: feature mapping and enhancement mapping. These sublayers are connected in series, and classification prediction is performed on the last sublayer. This network structure design that integrates series and parallel connections enables the model to integrate features from different levels and sources, so as to better adapt to complex data relationships. At the same time, by integrating multiple base models trained based on data of different scales, the complementarity and synergy between them are fully utilized, further ensuring the accuracy and stability of the model's classification. The proposed method provides a new feasible solution for the analysis and classification of multivariate time-series critical care data, and provides useful reference and guidance for the research and practice of smart healthcare. BRIEF DESCRIPTION OF THE DRAWINGS

[0117] Figure 1 It is a flow chart of a multi-scale information fusion neural network modeling method provided by the present invention;

[0118] Figure 2 It is a schematic diagram of the structure of a hierarchical width network model provided by the present invention; DETAILED DESCRIPTION

[0119] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. 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.

[0120] In view of this, the embodiment of the present invention provides a multi-scale information fusion neural network modeling method for multivariate time series critical care data hospital mortality risk prediction. Figure 1 , which is a flow chart of a multi-scale information fusion neural network modeling method provided by an embodiment of the present invention, including:

[0121] S1. Collect multivariate time series data and corresponding label data of ICU patients for classification tasks, apply a representation learning model that integrates multimodal feature information, and extract discriminative and representative multivariate time series representation data;

[0122] S2. Use time windows of different lengths to divide the multivariate time series representation data to obtain multivariate time series representation data at different scales, and obtain the corresponding instance-level representation data through a global maximum pooling operation;

[0123] S3. Develop similarity-based scale screening principles to determine the multi-scale representation data set for integrated modeling;

[0124] S4. For each scale of data obtained by screening, the extreme gradient boosting decision tree is used to identify the importance of features, and the data is reordered according to the identification results;

[0125] S5. For each reordered representation data, divide it into multiple feature subsets, establish a hierarchical width network model that integrates multi-level feature information, and realize classification prediction at the corresponding scale;

[0126] S6. Use the weighted average method to fuse the classification prediction results of all base models to obtain the final decision output, thereby realizing the in-hospital mortality risk analysis of patients in the intensive care unit.

[0127] Specifically, S1 includes:

[0128] The MIMIC-III database is a public single-center critical care medical database that collects de-identified information of approximately 47,000 patients treated in various ICU wards at Beth Israel Deaconess Medical Center from 2001 to 2012, including basic information, clinical test results, vital signs information, and disease diagnosis codes. The data set used in this example was screened from the MIMIC-III database, aiming to analyze and predict the risk of in-hospital mortality using the records of patients in the first 48 hours of their ICU admission. In the data screening process, patients who had multiple ICU hospitalizations or were transferred between different ICU wards were first excluded, and all patients under the age of 18 and records with abnormal or missing personal IDs or ICU hospitalization IDs were removed. On this basis, 17 main features were selected for mortality risk analysis, namely: capillary refill time, diastolic arterial blood pressure, inspired oxygen concentration ratio, Glasgow Coma Scale eye opening response, Glasgow Coma Scale muscle response, Glasgow Coma Scale total score, Glasgow Coma Scale verbal response, glucose, heart rate, height, mean arterial blood pressure, blood oxygen saturation, respiratory rate, systolic arterial blood pressure, body temperature, weight, pH value. Then, all patients with unknown or less than 48 hours of hospitalization time or no information recorded in the first 48 hours were eliminated. Thus, the corresponding multivariate time series critical care data set was collected.

[0129] Before building the model, the data is filled and standardized. In order to ensure the reliability of the data, the data is filled by combining forward filling and normal value filling. Specifically, if data is missing, it will be filled with the most recent true measurement value in the previous moment; if there is no true measurement value at all previous moments, it will be filled with the pre-specified normal value, among which the filling value of capillary refill time is 0, the filling value of diastolic blood pressure is 59.0, the filling value of inspired oxygen concentration ratio is 0.21, the filling value of Glasgow Coma Scale eye opening response is 4, the filling value of Glasgow Coma Scale muscle response is 6, the filling value of Glasgow Coma Scale total score is 15, the filling value of Glasgow Coma Scale verbal response is 5, the filling value of glucose is 128.0, the filling value of heart rate is 86, the filling value of height is 170.0, the filling value of mean arterial blood pressure is 77.0, the filling value of blood oxygen saturation is 98.0, the filling value of respiratory rate is 19, the filling value of systolic blood pressure is 118.0, the filling value of body temperature is 36.6, the filling value of weight is 81.0, and the filling value of pH value is 7.4. After the filling is completed, the data set is normalized to zero mean, that is, the eigenvalues ​​are converted to a standard normal distribution with a mean of 0 and a standard deviation of 1.

[0130] The preprocessed data sample set is expressed as Where N is the number of patients, is the i-th patient sample, T is the time series length, L is the number of features in each time step, i = 1, 2, …, N. represents the feature vector at time step t, x i,t,l represents the lth eigenvalue, t=1,2,…,T, l=1,2,…,L. At the same time, the information of whether the patient died in the hospital is collected as label data, which is represented by Y={y1,y2,…,y N}, where y i =[y i,1 ,y i,2 ] is the same as sample X i The corresponding label data, where y i,1 The index patient did not die in hospital, y i,2 The index patient died in hospital.

[0131] Extraction using a representation learning model consisting of a projection mapping layer, a gated recurrent unit module, a residual dilated convolution module, and a feature fusion layer Characterization data. For data samples The process of extracting characterization data is as follows:

[0132] First, in the projection mapping layer, the feature vector of each time step is Mapping to latent vector

[0133]

[0134] in, is the weight parameter, is the bias vector, D represents the feature dimension of the potential vector, φ GELU (·) represents the GELU activation function, φ tanh (·) represents the hyperbolic tangent activation function. The output data of this layer is represented as

[0135]

[0136] Next, The input gated recurrent unit module learns the temporal dependency characteristics of the data. The gated recurrent unit module consists of N G Layer gated recurrent unit and (N G -1) layers of random dropout. In the first layer of gated recurrent units, the output hidden state at the tth moment is Input from the current moment The hidden state of the previous moment Calculated together, is the characteristic dimension of the hidden layer state output by the first layer, t=1,2,…,T.

[0137] The gated recurrent unit has a reset gate inside and update gate Two gating units, which are used to control the degree to which the hidden state information of the previous moment is retained, and their values ​​are calculated by the current moment input and the previous moment hidden state, as shown in equations (36) and (37).

[0138]

[0139] in, and is the weight parameter of the reset gate, is the bias, and is the weight parameter of the update gate, is the bias, φ sigmoid (·) represents the sigmoid activation function.

[0140] The candidate hidden state at the current moment is calculated by the current moment input and the hidden state at the previous moment after filtering by the reset gate

[0141]

[0142] in, and is the weight parameter for calculating the candidate hidden state, is the bias, ⊙ represents the Hadamard product operation, that is, the corresponding elements of the matrix are multiplied. From formula (39), we can see that the larger the value of the reset gate, the more information of the hidden state at the previous moment is retained; conversely, the less information is retained.

[0143] Use the update gate to combine the hidden state of the previous moment and the candidate hidden state of the current moment to get the output hidden state of the current moment.

[0144]

[0145] where f g (·) is used to summarize the internal operation process of the gated recurrent unit. From equation (40), it can be seen that the larger the value of the update gate, the more information flows in from the hidden state of the previous moment. According to equations (36) to (40), the output of the first layer of the gated recurrent unit can be obtained by calculating moment by moment:

[0146] Next, in order to reduce the risk of overfitting the model, we randomly drop the Apply the discard operation to get

[0147]

[0148] in is a random vector, and the elements in the vector have probability d r The value is 0, with probability 1-d r The value is (1 / 1-d r ).

[0149] Similarly, the nth g The output of the layer gated recurrent unit at the tth moment is in For nth g The characteristic dimension of the hidden layer state output by the layer, For the first (n g -1) layer randomly discards the output of the layer at the tth moment, is the corresponding random vector, For the first (n g -1) The output of the gated recurrent unit at the tth moment, 1 <n g ≤N G Thus, the final output of the gated recurrent unit module can be obtained For N G The characteristic dimension of the hidden layer state of the layer output.

[0150] For multivariate time series critical care data, time series dependency features are critical, but the impact of local and global features cannot be ignored. Therefore, the residual dilated convolution module is introduced into the model to extract local and global features of the sample. The residual dilated convolution module consists of N S The residual dilated convolution blocks are connected in series, and the output of the first convolution block is It can be calculated by the following formula:

[0151]

[0152] in, is the characteristic dimension, f s (·) indicates the calculation formula of the residual dilated convolution block, Denotes the expansion factor as d (1) The dilated convolution operation, and is the weight parameter of the one-dimensional dilated convolution operation, Indicates the size of each convolution kernel. c (·) is the projection function that ensures dimensionality matching:

[0153]

[0154] Among them, * represents a one-dimensional convolution operation, is the corresponding weight parameter.

[0155] No.n s The input of a convolutional block is the output of the previous convolutional block. Its output It can be expressed as:

[0156]

[0157] in, and is the weight parameter, For nth s The feature dimension of the convolutional block is For the first (n s -1) The feature dimension of the convolutional block, For nth s The dilation factor of the convolutional block is calculated layer by layer according to formula (44), and the output of the residual dilated convolution module is obtained. in For N S The feature dimension of a convolutional block.

[0158] In the feature fusion layer, the output of the residual dilated convolution module is The output of the gated recurrent unit module Splice along the feature dimension to obtain the final output representation data in is the feature dimension.

[0159] Apply the representation learning model to extract a multivariate time series data set The characterization data set in is a multivariate time series data sample X i Characterization data, Z i The representation vector at the tth moment is

[0160] The characterization data at different time scales are obtained through S2 division, including:

[0161] Characterization data set extracted from S1 Use time windows of different lengths to divide it to obtain characterization data sets at different time scales. Set the start time of the first divided time window to 1 and the end time to T. Then, the start time of each divided time window is shifted back by a length of Δ d . nth f The time window divided by this time is initially 1+(n f -1)Δ d , the end time is T, and the time scale of the data is T-(n f -1)Δd Until the initial moment exceeds the set threshold S d When , stop dividing. Through this step, we get F A multi-scale representation data set composed of representation data of different scales in N F It can be calculated by the following formula:

[0162]

[0163] in The floor symbol.

[0164] Iterating over a collection Each element in Perform a global maximum pooling operation on it along the time dimension, that is, retain the maximum value of the feature in the time window as the output value of the feature, and obtain F A collection of instance-level representation data of different scales in

[0165] Based on the data set composed of data represented at different time scales obtained by S2, a multi-scale representation data set for integrated modeling is determined by S3 through scale screening based on similarity, including:

[0166] Multi-scale instance-level representation data set obtained by S2 partitioning Develop similarity-based screening strategies to select multi-scale representation data sets for integrated modeling. Considering the representation data at the global scale It often contains the most abundant information and is used as the benchmark data for screening to ensure that all selected scale data maintain certain similarities and differences. In the screening process, cosine similarity is used as the similarity measurement function. and The similarity between It can be calculated by the following formula:

[0167]

[0168] in, express The value of the mth feature of the ith sample in , express The value of the mth feature of the ith sample in . According to formula (46), calculate Each element in The similarity value between them is obtained by

[0169] Define instance-level representation data sets for ensemble modeling The number of elements in the set is expressed as Initial situation Set the similarity threshold and difference threshold to S c and S v , for any and q∈{2,...,N F}, check in turn Does it satisfy c q >S c And|c q -c p |>S v If the condition is met, join in on the contrary, Remain unchanged.

[0170] Furthermore, for each scale representation data obtained by S3 screening in For the i-th sample, i = 1, 2, ..., N, an extreme gradient boosting decision tree is constructed through S4 to carry out feature importance identification. The specific implementation process is as follows:

[0171] Construct an XGBoost model consisting of E decision trees. For the i-th sample The predicted value of It can be expressed as:

[0172]

[0173] in is the prediction result generated by the e-th decision tree, is the sum of the prediction results of the first E-1 decision trees, This is the prediction result generated by the Eth decision tree.

[0174] When constructing the Eth decision tree, the objective function Defined as:

[0175]

[0176] Among them, L xgb (·) is the set loss function. Ω(f e ) represents the regularization term of the e-th decision tree, which can be expressed as:

[0177]

[0178] Among them, C e is the total number of leaf nodes in the e-th decision tree, w jrepresents the weight value corresponding to the jth leaf node, γ b and λ b is the penalty weight parameter set.

[0179] The loss function term in formula (48) Perform a second-order Taylor expansion to obtain a new objective function expression:

[0180]

[0181] in, is the loss function L xgb (·)exist The first-order derivative value at , is the loss function L xgb (·)exist The second-order derivative value at .

[0182] In the previous round of decision tree construction, it has been calculated Therefore, the loss is a constant. During the optimization process, the constant term is independent of the parameters to be optimized and will not affect the optimization process. Therefore, formula (50) is further simplified as follows:

[0183]

[0184] In the decision tree model, the predicted value of a sample is the weight value of the leaf node to which it belongs, that is:

[0185]

[0186] in, instruct The leaf node to which it belongs, is the weight value of the corresponding leaf node.

[0187] Therefore, formula (51) can be further expressed as:

[0188]

[0189] in, Indicates the sample set belonging to the jth leaf node, C E is the total number of leaf nodes in the E-th decision tree. These are all definite values ​​that can be calculated.

[0190] Using formula (53) for w j Taking the first-order derivative and setting it equal to 0, we can obtain w j The optimal solution is:

[0191]

[0192] Substituting formula (54) into formula (53), we can obtain:

[0193]

[0194] Formula (55) describes the maximum contribution that the structure of the Eth decision tree can make to the optimization goal, which can also be regarded as the structural score of the decision tree. Therefore, in the process of building the tree, formula (55) is used as the evaluation criterion for node splitting to determine its contribution to the optimization goal.

[0195] The structure of the decision tree in the model is a binary tree, that is, initially, all samples are located on a root node, and a tree is gradually generated through continuous binary splits. When used as a split node, the objective function before splitting And the objective function after splitting They are defined as:

[0196]

[0197]

[0198] in, Respectively represent the split nodes The sum of the first-order derivatives of all samples on the left and right nodes, Respectively represent the split nodes The sum of the second-order derivatives of all samples on the left and right nodes.

[0199] Therefore, the node gain of this split is Defined as:

[0200]

[0201] By calculating the average node gain generated by a feature as a split node, the impact of the feature on the model performance can be accurately evaluated. Therefore, the average node gain is used as the feature importance evaluation indicator. The importance of the mth feature v m It can be calculated by the following formula:

[0202]

[0203] Where m = 1, ..., M, (e, j) indicates the jth non-leaf node of the eth decision tree, is the partition feature of the jth non-leaf node on the eth decision tree, is an indicator function, if the condition If it holds, the function value is 1; otherwise, the function value is 0. (e,j) ,S(e,j) They represent the sum of the first-order derivatives and the sum of the second-order derivatives of all samples falling on the (e, j) node, respectively, and are defined as:

[0204]

[0205]

[0206] Applying formula (59) to calculate the importance of each feature one by one, we can get the corresponding feature importance vector This completes the evaluation of feature importance. Reorder the data and express it as The i-th sample is

[0207] Furthermore, based on the reordered representation data of S4 In S5, the HB-Net model is constructed and its parameters are learned, such as Figure 2 As shown, specifically including:

[0208] In building N K When building the HB-Net model with a layer, we first input the data Divided into the following N K A collection of subsets:

[0209]

[0210] in is the Nth input data K subset, d h =M / N K is the number of features contained in each subset.

[0211] The input data for the first sublayer in the model is set to In the first sublayer, first conduct The feature mapping operation is performed to obtain Group Mapping Features Each set of features contains mapping nodes. The calculation process can be expressed as:

[0212]

[0213] in, φ(·) is a nonlinear activation function, and are randomly generated and non-changing weight parameters and biases. The group mapping features are concatenated along the feature dimension to obtain the total mapping features is the feature dimension.

[0214] By enhancing the mapping operation, the feature F (1) conduct Supplementary learning, Group Enhancement Features Each group contains Enhanced nodes. The calculation process is as follows:

[0215]

[0216] in, ξ(·) is a nonlinear activation function, and are randomly generated and non-changing weight parameters and biases. The group enhancement features are concatenated along the feature dimension to obtain the total enhancement features. is the feature dimension.

[0217] The calculated mapping feature F (1) With enhanced feature E (1) Splice along the feature dimension to get the output feature nodes of the first layer

[0218] No.n k The input data of each sub-layer is composed of the output feature nodes of all previous sub-layers and the new input feature subset Composition, 1 <n k ≤N K . Concatenate them along the feature dimension to get the input data of the current sub-layer in is the feature dimension. The internal operation of this sublayer is the same as the first sublayer. First, the feature mapping operation is performed to obtain Group Mapping Features Each group contains A mapping node, represented as:

[0219]

[0220] in and It is a randomly generated and unchanging weight parameter and bias. Concatenate all group mapping features to get the total mapping feature of the current sub-layer is the feature dimension.

[0221] Next, proceed The secondary enhanced mapping learning is calculated in the same way as (64), and we get Group Mapping Features Each group contains Mapping nodes. Concatenate all enhanced features to get the total enhanced features is the feature dimension. and Get the output feature node of the current sublayer

[0222] According to the above algorithm, the calculation is performed layer by layer to obtain the output feature node of the last sub-layer At this point, the model's predicted output Calculated by the following formula:

[0223]

[0224] in is the output weight matrix.

[0225] For W m , and use the objective function with L2 regularization loss to optimize it, namely:

[0226]

[0227] Where α is the regularization coefficient.

[0228] Solve the optimization problem (67) and get W m The optimal solution is:

[0229]

[0230] Where I is the identity matrix.

[0231] By comparing equation (66) and equation (68), we can get The pseudo-inverse matrix The calculation formula is:

[0232]

[0233] At this point, the incremental learning mechanism can also be used to expand the model structure. Enhanced features of enhanced nodes In terms of The calculation process is as follows:

[0234]

[0235] in, and are randomly generated and unchanged weight parameters and biases. Splice along the feature dimension to get a new output feature node At this point, the new output weight matrix Defined as:

[0236]

[0237] From equations (71) to (73), it can be seen that during the weight update process, there is no need to recalculate the output node The pseudo-inverse of can quickly realize the expansion of the model structure.

[0238] Finally, S6 uses the weighted average method to fuse the classification prediction results of all base models to obtain the final decision output, which includes:

[0239] After S3 screening is completed, There are N U The elements of the scale are n u The elements are represented as Build XGBoost model according to S4 The importance of the features is identified and reordered according to the importance of the features to obtain the reordered data According to S5, N U The corresponding HB-Net base model, the input data of the base model is The output data is Y. Thus, the corresponding N U Group prediction results, the nth u The prediction output of each base model is expressed as

[0240] The prediction outputs of all base models are integrated using the weighted average method to obtain the final prediction result.

[0241]

[0242] in Set the nth u The weight parameters of the base model satisfy the constraints

[0243] After building the model, the classification accuracy (Accuracy), the area under the receiver operating characteristic curve (AUROC) and the area under the precision-recall curve (AUPRC) were used as performance evaluation indicators to evaluate the performance of the model.

[0244] The classification accuracy index is calculated by calculating the ratio of correctly classified samples to the total number of samples. The calculation formula is as follows:

[0245]

[0246] In the ROC curve, the x-axis is the false positive rate (Fake Positive Rate, FPR), and the y-axis is the true positive rate (True Positive Rate, TPR). The calculation formulas are as follows:

[0247]

[0248] Among them, TP, FP, TN, and FN represent the number of true positives, false positives, true negatives, and false negatives in the prediction, respectively.

[0249] In the PRC curve, the x-axis is the recall rate Recall, the y-axis is the precision Precision, and the calculation formulas are as follows:

[0250]

[0251] Using these three evaluation indicators, we can comprehensively evaluate the model's ability to distinguish, that is, its performance in predicting true deaths with higher risk probabilities and predicting true survival with lower risk probabilities. The higher the value of the indicator, the better the performance of the model.

[0252] The designed multi-scale information fusion neural network modeling method is mainly used for multivariate time series data samples of patients in intensive care units. By performing classification tasks, it can analyze the risk of patients' hospitalization mortality, thereby helping doctors better understand the patient's disease progression and assist them in making diagnosis and treatment decisions. It can also assist medical staff in determining the appropriate level of care and achieve precision care.

[0253] It should be clear that the above content only represents the embodiments of the present invention and does not limit the present invention. For those skilled in the art, the present invention has the possibility of multiple modifications and variations. Any modification, equivalent substitution, improvement, etc. that conforms to the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims

1. A multi-scale information fusion neural network modeling method for multivariate time-series critical care data classification, characterized in that: The following steps are involved: S1. Collect multivariate time-series critical care data and corresponding label data for classification tasks, apply a representation learning model that integrates multimodal feature information, and extract discriminative and representative multivariate time-series representation data; S2. Use time windows of different lengths to divide the multivariate time series representation data to obtain multivariate time series representation data at different scales, and obtain the corresponding instance-level representation data through a global maximum pooling operation; S3. Develop similarity-based scale screening principles to determine the multi-scale representation data set for integrated modeling; S4. For each scale of data, use the extreme gradient boosting decision tree XGBoost to identify the importance of features, and reorder the data according to the identification results; S5. For each reordered representation data, a hierarchical width network model HB-Net is established that integrates multi-level feature information to achieve classification prediction at the corresponding scale; S6. Use the weighted average method to fuse the classification prediction results of all base models to obtain the final decision output, thereby realizing the analysis and classification of multivariate time-series critical care data.

2. A multi-scale information fusion neural network modeling method for multivariate time series critical care data classification according to claim 1, characterized in that: The S1 specifically includes: Collect multivariate time series critical care data and corresponding label data for classification tasks; represent the multivariate time series data set consisting of N samples as in is the i-th sample, T is the length of the time series, L is the number of features in each time step, i = 1, 2, ..., N; represents the feature vector at time step t, x i,t,l represents the lth eigenvalue, t = 1, 2, ..., T, l = 1, 2, ..., L; the label data set is represented as Y = {y1, y2, ..., y i , ..., y N },in is the same as sample X i Corresponding label data, C is the number of categories; Apply a representation learning model consisting of a projection mapping layer, a gated recurrent unit module, a residual dilated convolution module, and a feature fusion layer to extract Characterization data; for data samples The process of extracting characterization data is as follows: First, in the projection mapping layer, the feature vector of each time step is Mapping to latent vector in, is the weight parameter, is the bias vector, D represents the feature dimension of the potential vector, φ GELU (·) represents the GELU activation function, φ tanh (·) represents the hyperbolic tangent activation function; the output data of this layer is represented as Next, The input gated recurrent unit module learns the temporal dependence characteristics of the data; the gated recurrent unit module consists of N G Layer gated recurrent unit and (N G -1) layer of random discarding layers; in the first layer of gated recurrent units, the output hidden state at the tth moment Input from the current moment The hidden state of the previous moment Calculated together, is the feature dimension of the hidden state of the first layer output, t = 1, 2, ..., T; The gated recurrent unit has a reset gate inside and update gate Two gating units, which are used to control the degree to which the hidden state information of the previous moment is retained. Their values ​​are calculated by the current moment input and the hidden state of the previous moment, as shown in equations (4) and (5); in, and is the weight parameter of the reset gate, is the bias, and is the weight parameter of the update gate, is the bias, φ sigmoid (·) represents the sigmoid activation function; The candidate hidden state at the current moment is calculated by the current moment input and the hidden state at the previous moment after filtering by the reset gate in, and is the weight parameter for calculating the candidate hidden state, is the bias, ⊙ represents the Hadamard product operation, that is, the corresponding elements of the matrix are multiplied; from formula (7), we can see that the larger the value of the reset gate, the more information of the hidden state at the previous moment is retained; conversely, the less information is retained; Use the update gate to combine the hidden state of the previous moment and the candidate hidden state of the current moment to get the output hidden state of the current moment. where f g (·) is used to summarize the internal operation process of the gated recurrent unit. From formula (8), it can be seen that the larger the value of the update gate, the more information flows in from the hidden state of the previous moment. According to formulas (4) to (8), the output of the first layer of the gated recurrent unit can be obtained by calculating moment by moment: Next, in order to reduce the risk of overfitting the model, we randomly drop the Apply the discard operation to get in is a random vector, and the elements in the vector have probability d r The value is 0, with probability 1-d r The value is (1 / 1-d r ); Similarly, the nth g The output of the layer gated recurrent unit at the tth moment is in For nth g The characteristic dimension of the hidden layer state output by the layer, For the first (n g -1) layer randomly discards the output of the layer at the tth moment, is the corresponding random vector, For the first (n g -1) The output of the gated recurrent unit at the tth moment, 1 <n g ≤N G ; Thus, the final output of the gated recurrent unit module can be obtained For N G The characteristic dimension of the hidden layer state of the layer output; The residual dilated convolution module is introduced into the model to extract the local and global features of the sample; the residual dilated convolution module consists of N S The residual dilated convolution blocks are connected in series, and the output of the first convolution block is It can be calculated by the following formula: in, is the characteristic dimension, f s (·) indicates the calculation formula of the residual dilated convolution block, Denotes the expansion factor as d (1) The dilated convolution operation, and is the weight parameter of the one-dimensional dilated convolution operation, Represents the size of each convolution kernel, f c (·) is the projection function that ensures dimensionality matching: Among them, * represents a one-dimensional convolution operation, is the corresponding weight parameter; No.n s The input of a convolutional block is the output of the previous convolutional block. Its output It can be expressed as: in, and is the weight parameter, For nth s The feature dimension of the convolutional block is For the first (n s -1) The feature dimension of the convolutional block, is the dilation factor of the nsth convolutional block; according to formula (12), the output of the residual dilated convolution module is obtained layer by layer. in For N S The feature dimension of the convolutional block; In the feature fusion layer, the output of the residual dilated convolution module is The output of the gated recurrent unit module Splice along the feature dimension to obtain the final output representation data in is the characteristic dimension; Apply the representation learning model to extract a multivariate time series data set The characterization data set z = {Z1, Z2, ..., Z i , ..., Z N },in For data sample X i Characterization data, Z i The representation vector at the tth moment is 3. A multi-scale information fusion neural network modeling method for multivariate time series critical care data classification according to claim 1, characterized in that: The S2 specifically includes: For the representation data set z extracted by Sl, it is divided into time windows of different lengths to obtain representation data sets at different time scales; the starting time of the first divided time window is set to 1 and the ending time is set to T; then, the starting time of each divided time window is shifted back by a length Δ d ; nth f The time window divided by this time is initially 1+(n f -1)Δ d , the end time is T, and the time scale of the data is T-(n f -1)Δ d ; Until the initial moment exceeds the set threshold S d When N F A multi-scale representation data set composed of representation data of different scales in N F It can be calculated by the following formula: in is the floor rounding symbol; Iterating over a collection Each element in Perform a global maximum pooling operation on it along the time dimension, that is, retain the maximum value of the feature in the time window as the output value of the feature, and obtain F A collection of instance-level representation data of different scales in 4. The multi-scale information fusion neural network modeling method for multivariate time series critical care data classification according to claim 1 is characterized in that: The S3 specifically includes: Multi-scale instance-level representation data set obtained by S2 partitioning Develop a similarity-based screening strategy to determine the multi-scale representation data set for integrated modeling; consider the representation data at the global scale Often contains the most abundant information, it is used as the benchmark data for screening to ensure that the selected scale data maintain a certain similarity and difference; in the screening process, cosine similarity is used as the similarity measurement function; and Similarity between It can be calculated by the following formula: in, express The value of the mth feature of the ith sample in , express The value of the mth feature of the ith sample in ; According to formula (14), calculate Each element in The similarity value between them is obtained by Define instance-level representation data sets for ensemble modeling The number of elements in the set is expressed as Initial situation Set the similarity threshold and difference threshold to S c and S v , for any and q∈{2,...,N F }, check in turn Does it satisfy c q >S c And|c q -c p |>S v ; If the condition is met, then join in on the contrary, Remain unchanged.

5. The multi-scale information fusion neural network modeling method for multivariate time series critical care data classification according to claim 1 is characterized in that: The S4 specifically includes: For collection For each scale data in , the XGBoost model is used to identify its feature importance; for scale data in For the i-th sample, i = 1, 2, ..., N, the process of identifying its feature importance is as follows: If the model consists of E decision trees, then the model for the i-th sample The predicted value of It can be expressed as: in, is the prediction result of the e-th decision tree, is the sum of the prediction results of the first E-1 decision trees, is the prediction result of the Eth decision tree; When constructing the Eth decision tree, the objective function Defined as: Among them, L xgb (·) is the loss function set, Ω(f e ) represents the regularization term of the e-th decision tree, which can be expressed as: Among them, C e is the total number of leaf nodes in the e-th decision tree, w j represents the weight value corresponding to the jth leaf node, γ b and λ b is the penalty weight parameter set; The loss function term in formula (16) Perform a second-order Taylor expansion to obtain a new objective function expression: in, is the loss function L xgb (·)exist The first-order derivative value at , is the loss function L xgb (·)exist The second derivative value at ; In the previous round of decision tree construction, it has been calculated Therefore, the loss is a constant; in the optimization process, the constant term is independent of the parameters to be optimized and will not affect the optimization process. Therefore, formula (18) is further simplified as follows: In the decision tree model, the predicted value of a sample is the weight value of the leaf node to which it belongs, that is: in, instruct The leaf node to which it belongs, is the weight value of the corresponding leaf node; Therefore, formula (19) can be further expressed as: in, Indicates the sample set belonging to the jth leaf node, C E is the total number of leaf nodes in the E-th decision tree; They are all definite values ​​that can be calculated; Using formula (21) for w j Taking the first-order derivative and setting it equal to 0, we can obtain w j The optimal solution is: Substituting formula (22) into formula (21), we can obtain: Formula (23) describes the maximum contribution that the structure of the Eth decision tree can make to the optimization goal, which can also be regarded as the structural score of the decision tree. In the process of building the tree, Formula (23) is used as the evaluation criterion for node splitting to determine its contribution to the optimization goal. By calculating the average node gain generated by the feature as a split node, the impact of the feature on the model performance can be accurately evaluated. The importance v of the mth feature m It can be calculated by the following formula: Where m=1, ..., M, (e, j) indicates the jth non-leaf node of the eth decision tree, is the partition feature of the jth non-leaf node on the eth decision tree, Respectively represent the sum of the first-order derivatives of all samples on the left and right nodes of node (e, j), Respectively represent the sum of the second-order derivatives of all samples on the left and right nodes of node (e, j), G (e,j) , S (e,j) They represent the sum of the first-order derivatives and the sum of the second-order derivatives of all samples falling on the (e, j) node, respectively. is an indicator function, if the condition If true, the function value is 1; otherwise, the function value is 0; Applying formula (24) to calculate the importance of each feature one by one, we can get the corresponding feature importance vector This completes the feature importance evaluation; the feature importance is ranked from large to small. Reorder the data and express it as The i-th sample is 6. A multi-scale information fusion neural network modeling method for multivariate time series critical care data classification according to claim 1, characterized in that: The S5 specifically includes: Construct the HB-Net model to classify and predict each reordered scale data; when the input data is The output data is When , the construction and parameter learning process of the HB-Net model is as follows: In building N K When building the HB-Net model with a layer, we first input the data Divided into the following N K A collection of subsets: in is the Nth input data K subset, d h =M / N K is the number of features contained in each subset; The input data for the first sublayer in the model is set to In the first sublayer, first conduct The feature mapping operation is performed to obtain Group Mapping Features Each set of features contains mapping nodes; the calculation process is expressed as: in, φ(·) is a nonlinear activation function, and are randomly generated and no longer changeable weight parameters and biases; The group mapping features are concatenated along the feature dimension to obtain the total mapping features is the characteristic dimension; By enhancing the mapping operation, the feature F (1) conduct Supplementary learning, Group Enhancement Features Each group contains Enhanced nodes; the calculation process is as follows: in, ξ(·) is a nonlinear activation function, and are randomly generated and no longer changeable weight parameters and biases; The group enhancement features are concatenated along the feature dimension to obtain the total enhancement features. is the characteristic dimension; The calculated mapping feature F(1) and the enhanced feature E(1) are concatenated along the feature dimension to obtain the output feature node of the first layer No.n k The input data of each sub-layer is composed of the output feature nodes of all previous sub-layers and the new input feature subset Composition, 1<n k ≤N K ; Concatenate them along the feature dimension to get the input data of the current sub-layer in is the feature dimension; the internal operation of this sublayer is the same as the first sublayer; first perform feature mapping operation to obtain Group Mapping Features Each group contains A mapping node, represented as: in, and It is a randomly generated and no longer changing weight parameter and bias; concatenate all group mapping features to obtain the total mapping feature of the current sub-layer is the characteristic dimension; Next, proceed The secondary enhanced mapping learning is calculated in the same way as (27), and we get Group Mapping Features Each group contains Mapping nodes; concatenate all enhanced features to obtain the total enhanced features is the feature dimension; splicing and Get the output feature node of the current sublayer According to the above algorithm, the calculation is performed layer by layer to obtain the output feature node of the last sub-layer At this point, the model's predicted output Calculated by the following formula: in is the output weight matrix; For W m , and use the objective function with L2 regularization loss to optimize it, namely: Where α is the regularization coefficient; Solve the optimization problem (30) and get W m The optimal solution is: Where I is the identity matrix.

7. The multi-scale information fusion neural network modeling method for multivariate time series critical care data classification according to claim 1 is characterized in that: The S6 specifically includes: After S3 screening is completed, There are N U The elements of the scale are u The elements are represented as Build XGBoost model according to S4 The importance of the features is identified and reordered according to the importance of the features to obtain the reordered data According to S5, N U The corresponding HB-Net base model, the input data of the base model is The output data is Y; from this, the corresponding N can be obtained U Group prediction results, the nth u The prediction output of each base model is expressed as The prediction outputs of all base models are integrated using the weighted average method to obtain the final prediction result. in Set the nth u The weight parameters of the base model satisfy the constraints

Citation Information

Cited By

  • Physiological data analysis method and system for patient risk assessment

    CN119724573A

  • Method and system for constructing screening model and method and system for determining potential users

    CN121636802A