Learning to Predict in-hospital mortality risk in intensive care unit with attention-based Temporal convolution network | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research article Learning to Predict in-hospital mortality risk in intensive care unit with attention-based Temporal convolution network Yu-wen Chen, Yu-jie Li, Zhi-yong Yang, Kun-hua Zhong, Li-ge Zhang, and 10 more This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-44310/v2 This work is licensed under a CC BY 4.0 License Status: Posted Version 2 posted You are reading this latest preprint version Show more versions Abstract Background: Dynamic prediction of patients’ mortality risk in ICU with time series data is limited due to the high dimensionality, uncertainty with sampling intervals, and other issues. New deep learning method, temporal convolution network (TCN), makes it possible to deal with complex clinical time series data in ICU. We aimed to develop and validate it to predict mortality risk using time series data from MIMIC III dataset. Methods: 21139 records of ICU stays were analyzed and in total 17 physiological variables from the MIMIC III dataset were used to predict mortality risk. Then we compared the model performances of attention-based TCN with traditional artificial intelligence (AI) method. Results: Area Under Receiver Operating Characteristic (AUCROC) and Area Under Precision-Recall curve (AUC-PR) of attention-based TCN for predicting the mortality risk 48h after ICU admission were 0.837(0.824 -0.850) and 0.454. The sensitivity and specificity of attention-based TCN were 67.1% and 82.6%, compared to the traditional AI method yield low sensitivity (<50%). Conclusions: Attention-based TCN model achieved better performance in prediction of mortality risk with time series data than traditional AI methods and conventional score-based models. Attention-based TCN mortality risk model has the potential for helping decision-making in critical patients. Medical Informatics In-hospital mortality risk ICU Temporal Convolution Network Attention Mechanism time series Artificial Intelligence Figures Figure 1 Figure 2 Figure 3 Figure 4 Background The in-hospital mortality of patients in intense care unit (ICU) is relatively high, which ranged from 6.7% to 44.0% worldwide ( 1 , 2 ). With the development of critical care medicine, larger amounts of data helped doctors to make decisions, however sometimes overwhelm doctors in reverse. Thus, tools which help doctors make decisions based on large amounts of monitoring and clinical data are badly needed. In the past, score-based models, such as simplified acute physiology score (SAPS II), Acute Physiology and Chronic Health Evaluation II (APACHE II), were commonly used for patients’ evaluation based on prediction of mortality risk ( 3 , 4 ). When applied to larger populations, the diagnostic performances of score-based models are relatively poor ( 1 , 2 , 5-8 ). Recently, methods based on artificial intelligence (AI), including conventional machine learning (ML) methods and deep learning methods have been applied to help doctors decision-making by predicting patients’ mortality risk ( 9-11 ). Comparing with statistical score-based models, methods based on AI usually had better model performance, which may be related to that AI methods had the advantages of dealing with complex non-linear relationships between variables and patients’ outcome. However, there are some limitations of the referred researches. One of the biggest problems were that the worst records of a period time or statistical variables (maximum, minimal or others) replaced the repeated measured variables such as vital signs to predict the mortality risk. In ICU reality, overall trend and coupling of changes between different physiological variables may provide prognostic information, which will also help to elevate the accuracy of prediction model( 12 ). The ideal tool to help doctors’ decision-making requires optimum use of all the associated routine variables especially time series data and realizing dynamic prediction. However, due to the complex of the time series data, studies about dynamic prediction using temporal clinical data are limited. The challenges of predicting mortality risk in ICU were summarized by Ikaro et al ( 12 ): First, measurements of time series data vary from each patient meanwhile the time interval is irregular; Secondly, the choice of measurements and the trends of time series data correlate with each other. As for time series deep learning models, the Long Short-Term Memory (LSTM) ( 13 ) and its derivatives Gated-Recurrent Unit (GRU) ( 14 ), were used to predict the mortality risk of ICU patients which achieved better area under Receiver Operating Characteristic (AUCROC) and area under Precision-Recall curve (AUC-PR) than conventional score-based models. However, due to that data is processed sequentially over time, the LSTM and GRU had the shortcomings of enormous computing, time consuming, high hardware requirements and vanishing gradients which result in difficulties of dealing with big data and applying to clinical popularization. It is widely accepted that deep learning has the shortcomings of lower explanation and large computing. Attention mechanism simulates the data processing of the human brain, and nowadays were combined with LSTM or other deep learning methods to improve computational efficiency or the interpretability ( 7 , 15 , 16 ). However, the limitations of inefficient particularly when processing long sequences stilled existed due to the characteristics of the method itself. A better deep learning method overcomes the current limitations is seriously needed. Recently, a new deep learning method, temporal convolution network (TCN) was developed, with the characteristics of parallelism, fixed gradient, and smaller memory of training. Furthermore, Bai et al ( 17 ) reported that the TCN has even better performance than LSTM or GRU. Developing attention-based TCN model may not only elevate the interpretability, reduce the computation complexity, but also extend the clinical use due to its higher efficiency for long sequences. Therefore, we aimed to develop an attention-based TCN model to predict the in-hospital mortality risk 48h after admission in ICUs with time series data and compare the model performances with conventional ML methods, namely random forest (RF), logistic regression (LR), decision tree and support vector machine (SVM). Methods Ethics and data extraction Ethical approval for this study was approved after completion of the National Institute of Health(NIH) web-based training course named “Protecting Human Research Participants” by the author Yu-wen Chen (Certification Number: 28341490). Data used for the prediction of mortality risk were extracted from the Multi-parameter Intelligent Monitoring in Intensive Care (MIMIC) database. A ll the data from the database had been treated with data masking to protect patients’ privacy. So, there was no requirement for written informed consent in the current study. There were 61532 records of ICU stays in Beth Israel Deaconess Medical Center ICUs, including clinical notes, physiological waveforms, laboratory measurements, and nurse-verified numerical data ( 18 ) . The exclusion criteria were as following: any hospital admission with multiple ICU stays or transfers between different ICUs or wards, which would reduce the ambiguity of outcomes associated with hospital admissions rather than ICU stays; patients younger than 16; patients’ whose initial ICU stay was missing or less than 48 hours; ICU events with no events in the initial 48 hoursThere were 18094 were for final analysis. As shown in Fig.1, In order to avoid overfitting, we split the dataset into training set (15331patients, 17917 ICU stays) and testing set (2763 patients, 3222 ICU stays). Five-fold cross-validation was performed on the training set to determine the model parameters. We obtained the best model parameters after cross-validation on the training set and got the score of the model on the testing set. Data preprocessing We use 17 physiologic variables (shown in Tab.1) representing a subset from the Physionet/CinC Challenge 2012 ( 12 ) . Up to 17 variables were recorded at least once during the first 48 hours after admission. Not all variables were available in all cases. We used all raw values for time series measurements included in the score. For Glasgow Comma Score (GCS), we included GCS (Verbal response), GCS ( Motor response ), GCS ( Eye opening ) and GCS (total) as different features. The rest of the variables included weight, height, temperature, respiratory rate (RR), heart rate (HR), diastolic blood pressure (DBP), Mean blood pressure(MBP), systolic blood pressure(SBP), fraction inspired oxygen (FiO 2 ), oxygen saturation (OS), pH, glucose, and capillary refill rate (CRR). When value was more than three standard deviations away from each individual mean value, it would be removed. Twelve of them were continuous and five discrete. All the time series variables were re-sampled into hourly rate starting from ICU admission. When there was a continuous variable that was missing at a point in time, we filled the data with the nearest neighbor value. When the indicator had no record data during the observation time,we assumed that the nurse did not measure the attribute and that the indicator was considered normal so that we filled the data using the normal value of the attribute. . For discrete variables, we performed one-hot encoding. For continuous variables, we performed Z-score normalization to scale the feature values. Each patient’s record was summarized into a visualization data matrix 59×48 for 48-hour observation period as the input for deep learning. Model construction for Attention-based TCN In this work, we developed an attention-based TCN model to predict the mortality risk of ICU patients with time series and static data. The TCN is convolutional network, which is composed of causal convolution, diluted convolution, and residual connections. The causal convolution makes the TCN a strict temporal model by using data from time t and earlier in the previous step to predict the status at time t when model trained. TCN allows the input of convolution to be sampled at intervals to broaden the field of perception (make the most of information) due to use of the dilated convolution. The residual connections enable the network to transmit information across layers, which are usually used to train deep network. In addition, TCN adds Dropout to each hole in the residual module to achieve regularization. Attention mechanism was introduced into the TCN model to elevate the efficiency and the interpretability. The structure of attention-based TCN model was shown in Fig.2: patients’ raw data were preprocessed as data flow for model in-put; The TCN (Temporal Convolutional Network) ( 17 ) was directly applied to process the ICU patient's temporal data. The network was referenced to the basic structure of the literature ( 17 ) without corresponding structural optimization. Since the number of kernels was 3 and the number of attributes for the patients was 59, the stacked temporal convolutional attention layer was set to 7. When the network layer was set to 7, the receptive field of the network exactly covered all the patients' input data. The patient's vital signs data are extracted by 7-level TCN, then connected to the attention layer; finally, the mortality risk were predicted by linear layer. Implementation parameters of TCN are batch_size=32, dropout=0.2, kernel size=3, levels of TCN =7, initial learning rate=0.02, number of hidden units per layer=59, optimization algorithm=Adam. The loss function used is Binary Cross Entropy: temporal convolutional network pred: prediction tensor with arbitrary shape label: target tensor with values in range [0, 1]. Must have the same size as pred. Non-time series model construction We also predicted the mortality risk by non-time series ML methods such as RF ( 19 ) , LR, Decision Tree (DT) and SVM. Due to the limitation of these ML methods, the in-put for these models were not time series data but results of feature extraction (statistical variables, such as the minimum, maximum, average of the variables). Model performance was assessed by overall performance, discrimination, and calibration. The overall performance is determined by the F1 score. The F1 score is defined as the harmonic mean of accuracy and recall, which considers both the precision and the recall equally. Discrimination is the capability to distinguish between those who survival and those who do not 48h after admission in ICU by AUCROC and the area under the Precision-Recall curve (AUC-PR). The AUC-PR is sensitive for the imbalance distribution of the negative and positive data especially for an extreme small portion of positive data. Calibration is assessed by Brier score via calculating the averaged squared deviation between the predicted probability and the actual outcome. Statistical analysis The statistical analyses were carried out using SPSS software for Windows, V.19.0 (SPSS). Quantitative variables are presented using basic descriptive statistics: mean and SD (for normal distribution data), or median and IQR (for non-normal distribution data). Comparisons among datasets were performed using the chi-square test or Fisher's exact test, or Kruskal-Wallis test. All statistical tests were two sided, and P values less than 0.05 indicated statistical significance. Results Data distribution Finally, there were 18094 patients for analysis. Patient demographics and characteristics of the three datasets were presented in Tab.3 . There were no statistically significant differences in age, gender, and ICU length of stay between them. The mortality rate of our cohort was 15.4%. Though the mortality rate of patients in the testing dataset was significantly lower than that of training datasets, the mortality rate of patients in test dataset was similar to that of patients in our whole cohort. Model performance of time series and non-time series models We evaluated the new model in 3 aspects. First, we compared attention-based TCN with traditional score-based methods, secondly compared with models which do not use time series data, and finally compared with LSTM which used time series data. The purpose of the comparison with traditional ML models was not to use complex models to compare with simple models, but to show that models based on patient time series data are effective in improving the accuracy of predictions compared to models not using time series data. The purpose of the comparison with traditional machine learning models was not to use complex models to compare with simple models, but to show that models based on patient time series data are effective in improving the accuracy of predictions compared to models not using time series data. As shown in Tab.4 and Fig.3 A, comparing with the statistical methods, AI methods had larger AUCROC and AUC-PR which indicated a better capacity of discrimination. Though the AUCROC and AUC-PR of attention-based TCN were smaller than that of non-time series ML methods, which also had an acceptable ability of discrimination. Furthermore, comparing with non-time series ML methods, the attention-based TCN had the highest sensitivity (67.1%) and F1 score (0.46). Models with high specificity but lower sensitivity, resulting in missing patients potentially at risk, which would violate our initial purpose of helping doctors dynamically evaluating the mortality risk of patients. As for other time series methods, the sensitivity of attention-based TCN was much higher than that of model by LSTM (46.1%) based on the same database ( 7 ), with only a little difference in the AUC-PRs between them. It indicated that models developed by attention-based TCN had higher accuracy and lower omission diagnose rate than those by LSTM, which may be related to the difference between the input variables. As for model calibration, the brier score of attention-based TCN was higher than that of the other conventional ML models, which may be associated with the high dimension of time series data. Taking the purpose and clinical application into consideration, due to the high sensitivity, F1 score and relative satisfied ability of discrimination, model performance of attention-based TCN was the best among the listed methods in Tab.4. Visualization of attention weights at different time points By visualizing the attention weight, we could clearly see that what the variable and time points were paid attention to when predicting the risk of death. The typical heatmaps for attention weight of non-survival and survival patients were shown in Fig.3 B and C. The larger portion of the colored area in the heatmap of non-survival patient suggested that the patient was less instable. The value of the variable at the time point represented by these colored areas contributed more than other values to the patient’s death. The time point with most of the variables colored may correspond to rescue in the clinical reality. Except for the good model performance, the attention-based TCN methods may also have the potential advantage of better interpretability. Discussion There are several score-based models for predicting the mortality risk, such as SAPS ( 3 ), APACHE ( 20 ), OASIS ( 21 ) and Sequential Organ Failure Assessment (SOFA) ( 22 ). These models are all non-time series and based on statistical methods, the input data are static data or statistical data, such as comorbidities and the minimum of systolic pressure in the first 24h, which make it impossible to predict the mortality risk in the first 24h or to update data for predicting long-term mortality risk. Despite the AUCROCs of the score-based models were satisfied, either the sensitivity or the specificity was poor ( 23 , 24 ). It’s not suprising that these models have been modified several times to improve their predictive performance since they first being published ( 25 ). Recently, for the complex, non-linear relationship between clinical variables and the outcome, non-time series AI methods, such as Artifical neural work (ANN), SVM, DT , RF, Naive Bayes, projective adaptive resonance theory (PART) and AutoTriage, were used to predict the mortality risk of patients in ICUs ( 5 , 11 , 24 , 26 , 27 ) with relatively satisfied model performance. However, due to the non-time series methods, all the variables are static or extracted from time series data, which makes it impossible to realize dynamic prediction. Herein, the AUCROCs and AUC-PRs of attention-based TCN model were larger than that of conventional score-based models in the same database according to Harutyunyan et al’s study ( 8 ). It is a pity that Harutyunyan et al did not show the sensitivity and specificity of conventional models. Regardless of the slight difference in AUCROCs and AUC-PRs among attention-based TCN and other non-time series ML methods, the sensitivity of attention-based TCN was much higher than that of the others. In clinical work, when decision-making happens, doctors should take medical history, physical examination and trend of vital signs into consideration. The ideal model for predicting mortality risk is taking both time series and static clinical data into consideration, moreover simultaneously realize dynamic prediction. Furthermore, due to the instable status of ICU patients, the sensitivity seemed more important than the specificity, for missing the potential patients at risk might be fatal. In brief, attention-based TCN method was preferable to non-time series methods in predicting the motarlity risk of ICU patients. In addition, Hao et al ( 28 ) tried to apply attention-based TCN to language models resulting a significant elevation of model performance, which suggests attention-based TCN is a promissing method for sequence modeling. Recently, Yu et al ( 7 ), Harutyunyan et al ( 8 ) and Song et al ( 16 ) combined two AI methods (including one time series method) to predict the mortality risk of ICU patients with large AUCROCs and AUC-PRs but lower sensitivity (the variables and sensitivity were not presented in Harutyunyan’s study). Despite the low sensitivity, there were other shortcomings of these studies. At first, Yu et al’s and Harutyunyan’s methods were based on LSTM, which deals with time series data sequentially from beginning to end, while TCN can do parallel processing by causal convolutions in the architecture ( 17 ). Due to the limitations of LSTM, attention-based TCN methods would be more proper for higher dimension and amounts of data and require less in hardware, which would be more appropriate for clinical extension. Secondly, Yu et al’s study included vital signs, namely, HR, SBP and temperature, while ours included RR, HR, DBP, MBP, SBP and temperature. Nowadays MBP and DBP are widely accepted as important predictors for ICU patients ( 29-31 ). So, it may be insufficient to predict the mortality risk without MBP and DBP. Moreover, some of the variables such as urinary output in Yu et al’s study, which are sum or mean of clinical data in a set period time and have a longer acquisition time interval than that of vital signs. Vital signs in our study were more reasonable and easier to obtain than those in Yu et al’s, meanwhile variables more frequently collected would help more for dynamic prediction. Thirdly, Harutyunyan et al’s and Song et al’s study focused on the algorithms, the clinical value was a bit overlooked. Fourthly, these three studies combined attention mechanism was mainly intended to elevate the efficiency of computing rather than interpretability. Comparing with time series methods combined with other AI methods for predicting mortality risk of ICU patients, our attention-based TCN method also had advantages of higher efficiency, better interpretability and easier for promotion. As shown in Fig.4, we drew a diagram for clinical use of predicting the mortality risk of ICU patients by attention-based TCN methods: For a new critical patient, patient’s baseline information and monitoring data would be put into the attention-based TCN model as data flow after automatically data preprocessing; Then the mortality risk will be predicted at different time points according to the patient’s specific condition (here we predict the mortality risk 48h after ICU admission); If the estimated mortality risk is high, the patient will receive intensive monitoring and intensive treatment; if the estimated mortality risk is low, the patient will receive intensive monitoring and routine treatment. In brief, the whole process is Warning →Intervention →Warning →Intervention→……→Patient outcome. There are several limitations in this study. First of all, though the variables in our study were routine and most of them were time series, some more routine and frequently collected variables, such as lactic acid and results of arterial blood gas analysis, should be included to help elevate the prediction accuracy. Secondly, clinical data are extracted from one medical center, so the generalization ability of the model and its possibility of clinical application is not validated. Prospective multi-center studies should be carried out to investigate the clinical value of combing TCN with attention mechanism to predict patient’s mortality risk using temporal clinical data. Conclusion Attention-based TCN methods achieved better performance in predicting mortality risk with time series data than non-time series models, which suggested it might be potential for decision-making in ICU by dynamic prediction of mortality risk with continuous data flow. Abbreviations AI: Artificial Intelligence; ICU: Intensive Care Unit; DNN: Deep Neural Network; SVM: support vector machine; GCS: Glasgow Comma Score; ML: Machine learning; DBP: Diastolic Blood Pressure; HR: Heart Rate; TCN: Temporal Convolution Network; APS: Acute Physiology Score; SAPS II: Simplified Acute Physiology Score CRR: Capillary Refill Rate; LSTM: Long Short-Term; Memory OS: Oxygen Saturation; RNN: Recurrent Neural Network; RF: Random Forest; SBP: Systolic Blood Pressure; RR: Respiratory Rate; MBP: Mean Blood Pressure; LR: Logistic Regression; SOFA: Sequential Organ Failure Assessment; ANN: Artifical neural work; OASIS: Oxford Acute Severity of Illness Score; FiO2: Fraction Inspired Oxygen; AUCROC: Area Under The Receiver Operating Characteristic Curve; APACHE II: Acute Physiology and Chronic Health Evaluation II; MIMIC: Multi-parameter Intelligent Monitoring in Intensive Care. Declarations Acknowledgments None. Authors’ contributions Conceptualization: BY, JZ and ZX; Methodology: YwC, YL, KZ and LZ; Formal analysis: ZY, YC, HZ; Writing - Original Draft: YwC and YL; Visualization: PD, DW; Project administration: JG, JN and KL. Funding The project was supported by National Key R&D Program of China [No.2018YFC0116702 and No.2018YFC00116704], National Natural Science Foundation of China [No.81870422 and 81600035], Medical Innovation Capacity Improvement Program for Medical Staff of the First Affiliated Hospital of the Third Military Medical University [No. SWH2018QNKJ-27]; Technology innovation and application research and development project of Chongqing city [cstc2019jscx-msxmX0237]. Availability of data and materials The data that support the findings of this study are available from MIMIC III dataset but restrictions apply to the availability of these data, which were used under license for the current study, and so are not publicly available. Data are however available from the MIMIC III dataset with permission of Massachusetts Institute of Technology Affiliates. Ethics approval and consent to participate Not applicable. Consent for publication Not applicable. Competing interests The authors declare that they have no competing interests. References Weigl WA, J. Gorynski, P. Kanski, A. Hultstrom, M. ICU mortality and variables associated with ICU survival in Poland: A nationwide database study. Eur J Anaesthesiol.2018;35:949-54. https://doi.org/10.1097/EJA.0000000000000889. Weigl W AJ, Goryński P, Kański A, Hultström M,. Mortality rate is higher in Polish intensive care units than in other European countries. Intensive Care Med.2017;43:1430–2. https://doi.org/ 10.1007/s00134-017-4804-2. J.-R. Le Gall SL, F. Saulnier. A new simplified acute physiology score (SAPS II) based on a European/North American multicenter study Jama 1993; 270:2957-63. W. A. Knaus EAD, D. P. Wagner, J. E. Zimmerman APACHE II: a severity of disease classification system. Critical care medicine 1985;13:818-29. Davoodi RM, M. H. Mortality prediction in intensive care units (ICUs) using a deep rule-based fuzzy classifier. J Biomed Inform.2018;79:48-59. https://doi.org/10.1016/j.jbi.2018.02.008. Pirracchio R, Petersen, Maya L, Carone, Marco Rigon, Matthieu Resche Chevret, Sylvie van der Laan, Mark J. Mortality prediction in intensive care units with the Super ICU Learner Algorithm (SICULA): a population-based study. The Lancet Respiratory Medicine.2015;3:42-52. https://doi.org/10.1016/s2213-2600(14)70239-5. Yu R, Zheng, Y, Zhang, R,Jiang, Y. Poon, C. C. Y. Using a Multi-task Recurrent Neural Network with Attention Mechanisms to Predict Hospital Mortality of Patients. IEEE J Biomed Health Inform.2019. https://doi.org/10.1109/JBHI.2019.2916667. Harutyunyan H, Khachatrian, H,Kale, D. C,Ver Steeg, G,Galstyan, A. Multitask learning and benchmarking with clinical time series data. Sci Data.2019;6:96. https://doi.org/10.1038/s41597-019-0103-9. Potes CC, Bryan Xu-Wilson, Minnan Newth, Christopher Inwald, David Frassica, Joseph. A clinical prediction model to identify patients at high risk of hemodynamic instability in the pediatric intensive care unit. Critical Care.2017;21. https://doi.org/10.1186/s13054-017-1874-z. Christine K. Lee MS, Ira Hofer, Eilon Gabel, Pierre Baldi, Maxime Cannesson. Development and Validation of a Deep Neural Network Model for Prediction of Postoperative In-hospital Mortality. Anesthesiology.2018;129:649-62. https://doi.org/10.1097/aln.0000000000002186>. Kim S, Kim, W,Park, R. W. A Comparison of Intensive Care Unit Mortality Prediction Models through the Use of Data Mining Techniques. Healthc Inform Res.2011;17:232-43. https://doi.org/10.4258/hir.2011.17.4.232. Silva I, Moody G, Scott DJ, et al. Predicting In-Hospital Mortality of ICU Patients: The PhysioNet/Computing in Cardiology Challenge 2012. Comput Cardiol (2010).2012;39:245-8. Hochreiter S, Schmidhuber, J. Long short-term memory. Neural Comput.1997;9:1735-80. Dey R, Salemt,FM. . Gate-variants of Gated Recurrent Unit (GRU) neural networks. IEEE 60th International Midwest Symposium on Circuits and Systems (MWSCAS)2017. p. 1597-600. Kaji DA, Zech, J. R,Kim, J. S,Cho, S. K, Dangayach, N. S, Costa, A. B,, Oermann EK. An attention based deep learning model of clinical events in the intensive care unit. PLoS One.2019;14:e0211057. https://doi.org/10.1371/journal.pone.0211057. Huan Song DR, Jayaraman J. Thiagarajan, Andreas Spanias. Attend and diagnose Clinical time series analysis using attention. Association for the Advancement of Artificial Intelligence2018. Shaojie Bai JZK, Vladlen Koltun An Empirical Evaluation of Generic Convolutional and Recurrent Networks. 2018. https://doi.org/ 10.1038/s41598-019-42516-z. Saeed M VM, Reisner AT, Clifford G, Lehman LW, Moody G, Heldt T, Kyaw TH, Moody B, Mark RG. Multiparameter Intelligent Monitoring in Intensive Care II: a public-access intensive care unit database. Crit Care Med.2011;39:952-60. https://doi.org/10.1097/CCM.0b013e31820a92c6. Xia XJT, R. Sohel, F. Huang, D. Random forest classification based acoustic event detection utilizing contextual-information and bottleneck features. Pattern Recognition.2018;81:1-13. https://doi.org/10.1016/j.patcog.2018.03.025. Rivera-Fernández R V-MG, Bravo M, Aguayo-Hoyos E, Zimmerman J, Wagner D, Knaus W. The apache III prognostic system customized mortality predictions for Spanish ICU patients. Intensive Care Med.1998;24:574-81. Bennett CEW, R. S.,Jentzer, J. Gajic, O. Murphree, D. H. Murphy, J. G. Mankad, S. V. Wiley, B. M.,Bell, M. R.,Barsness, G. W. Severity of illness assessment with application of the APACHE IV predicted mortality and outcome trends analysis in an academic cardiac intensive care unit. J Crit Care.2019;50:242-6. https://doi.org/10.1016/j.jcrc.2018.12.012. Raith EP UA, Bailey M, McGloughlin S, MacIsaac C, Bellomo R, Pilcher DV. Prognostic Accuracy of the SOFA Score, SIRS Criteria, and qSOFA Score for In-Hospital Mortality Among Adults With Suspected Infection Admitted to the Intensive Care Unit. Jama.2017;317:290-300. https://doi.org/10.1001/jama.2016.20328 Fernando SM, Tran, A.,Taljaard, M.,Cheng, W.,Rochwerg, B.,Seely, A. J. E.,Perry, J. J. Prognostic Accuracy of the Quick Sequential Organ Failure Assessment for Mortality in Patients With Suspected Infection: A Systematic Review and Meta-analysis. Ann Intern Med.2018;168:266-75. https://doi.org/10.7326/M17-2820. Calvert JM, Q. Hoffman, J. L. Jay, M. Desautels, T. Mohamadlou, H. Chettipally, U. Das, R. Using electronic health record collected clinical variables to predict medical intensive care unit mortality. Ann Med Surg (Lond).2016;11:52-7. https://doi.org/10.1016/j.amsu.2016.09.002. Le Gall JR NA, Hemery F, Bleriot JP, Fulgencio JP, Garrigues B, Gouzes C, Lepage E, Moine P, Villers D. Mortality prediction using SAPS II: an update for French intensive care units. . Crit Care. 2005;9:645–52. https://doi.org/10.1186/cc3821 Awad AB-E-D, Mohamed McNicholas, James Briggs, Jim. Early hospital mortality prediction of intensive care unit patients using an ensemble learning approach. International Journal of Medical Informatics.2017;108:185-95. https://doi.org/10.1016/j.ijmedinf.2017.10.002. Sadeghi RB, Tanvi Romine, William. Early hospital mortality prediction using vital signals. Smart Health.2018;9-10:265-74. https://doi.org/10.1016/j.smhl.2018.07.001. Hong-yan Hao,Yan Wang,Yu-di Xia,Jian Zhao F-rS. Temporal Convolutional Attention-based Network For Sequence Modeling. 2020. Annoni FDA, A. M. Franchi, F. Creteur, J. Scolletta, S. Vincent, J. L. Taccone, F. S. The impact of diastolic blood pressure values on the neurological outcome of cardiac arrest patients. Resuscitation.2018;130:167-73. https://doi.org/10.1016/j.resuscitation.2018.07.017. Ameloot K DDC, Ferdinande B, Dupont M, Palmers PJ, Petit T, Eertmans W, Moonen C, Belmans A, Lemmens R, Dens J, Janssens S. Mean arterial pressure of 65 mm Hg versus 85-100 mm Hg in comatose survivors after cardiac arrest: Rationale and study design of the Neuroprotect post-cardiac arrest trial. Am Heart J.2017;191:91-8. https://doi.org/10.1016/j.ahj.2017.06.010 Houwink AP RS, Bosman RJ, van der Voort PH. The association between lactate, mean arterial pressure, central venous oxygen saturation and peripheral temperature and mortality in severe sepsis: a retrospective cohort analysis. Crit Care Mar. 2016;12:20:. https://doi.org/10.1186/s13054-016-1243-3 Tables Please see the supplementary files section to view the tables. Supplementary Files Supplementarymaterials.docx Tables.docx Cite Share Download PDF Status: Posted Version 2 posted You are reading this latest preprint version Show more versions Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-44310","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Research article","associatedPublications":[],"authors":[{"id":1367485,"identity":"f15fc18c-8d2b-49d5-a4f3-0fb88981131f","order_by":0,"name":"Yu-wen Chen","email":"","orcid":"","institution":"Chengdu Institue of Computer Applications, Chinese Academy of Sciences","correspondingAuthor":false,"submittingAuthor":false,"prefix":"","firstName":"Yu-wen","middleName":"","lastName":"Chen","suffix":""},{"id":1367486,"identity":"a36f7ade-ab75-4196-ab88-3335972b25d6","order_by":1,"name":"Yu-jie Li","email":"","orcid":"","institution":"Department of Anaesthesiology, Southwest Hospital, Third Military Medical University","correspondingAuthor":false,"submittingAuthor":false,"prefix":"","firstName":"Yu-jie","middleName":"","lastName":"Li","suffix":""},{"id":1367487,"identity":"347f8c77-4c6c-4a62-a094-bd6ec582eaa7","order_by":2,"name":"Zhi-yong Yang","email":"","orcid":"","institution":"Department of Anaesthesiology, Southwest Hospital, Third Military Medical University","correspondingAuthor":false,"submittingAuthor":false,"prefix":"","firstName":"Zhi-yong","middleName":"","lastName":"Yang","suffix":""},{"id":1367488,"identity":"7b499ac3-f5c9-4392-b0e2-0388c4b4376a","order_by":3,"name":"Kun-hua Zhong","email":"","orcid":"","institution":"Chengdu Institute of Computer Applications, Chinese Academy of Science","correspondingAuthor":false,"submittingAuthor":false,"prefix":"","firstName":"Kun-hua","middleName":"","lastName":"Zhong","suffix":""},{"id":1367489,"identity":"91b6ac4e-286c-4c33-848f-47578c7f8846","order_by":4,"name":"Li-ge Zhang","email":"","orcid":"","institution":"Chengdu Institute of Computer Applications, Chinese Academy of Science","correspondingAuthor":false,"submittingAuthor":false,"prefix":"","firstName":"Li-ge","middleName":"","lastName":"Zhang","suffix":""},{"id":1367490,"identity":"075e7b69-7a3d-4bdd-b6a3-6c727468485d","order_by":5,"name":"Yang Chen","email":"","orcid":"","institution":"Department of Anaesthesiology, Southwest Hospital, Third Military Medical University","correspondingAuthor":false,"submittingAuthor":false,"prefix":"","firstName":"Yang","middleName":"","lastName":"Chen","suffix":""},{"id":1367491,"identity":"a8681fb3-cd26-4e23-a8f1-eaf3d292df66","order_by":6,"name":"Hong-yu Zhi","email":"","orcid":"","institution":"Department of Anaesthesiology, Southwest Hospital,Third Military Medical University Southwest Hospital","correspondingAuthor":false,"submittingAuthor":false,"prefix":"","firstName":"Hong-yu","middleName":"","lastName":"Zhi","suffix":""},{"id":1367492,"identity":"8702b409-3dde-4c83-a88b-5ca6b12a51bc","order_by":7,"name":"Peng Deng","email":"","orcid":"","institution":"Department of Anaesthesiology, Southwest Hospital, Third Military Medical University","correspondingAuthor":false,"submittingAuthor":false,"prefix":"","firstName":"Peng","middleName":"","lastName":"Deng","suffix":""},{"id":1367493,"identity":"f26cd665-7b7a-44eb-8141-f7637e98d897","order_by":8,"name":"Dan-dan Wang","email":"","orcid":"","institution":"Department of Anaesthesiology, Southwest Hospital, Third Military Medical University","correspondingAuthor":false,"submittingAuthor":false,"prefix":"","firstName":"Dan-dan","middleName":"","lastName":"Wang","suffix":""},{"id":1367494,"identity":"e5de64ed-56f3-4d4a-9527-4785973702f7","order_by":9,"name":"Jian-teng Gu","email":"","orcid":"","institution":"Department of Anaesthesiology, Southwest Hospital, Third Military Medical University","correspondingAuthor":false,"submittingAuthor":false,"prefix":"","firstName":"Jian-teng","middleName":"","lastName":"Gu","suffix":""},{"id":1367495,"identity":"309bfbf0-8858-4694-b402-78d967cafea7","order_by":10,"name":"Jiao-lin Ning","email":"","orcid":"","institution":"Department of Anaesthesiology, Southwest Hospital, Third Military Medical University","correspondingAuthor":false,"submittingAuthor":false,"prefix":"","firstName":"Jiao-lin","middleName":"","lastName":"Ning","suffix":""},{"id":1367496,"identity":"8b2a7bbf-bed5-4cfc-a70e-c7d792ac1c40","order_by":11,"name":"Kai-zhi Lu","email":"","orcid":"","institution":"Department of Anaesthesiology, Southwest Hospital, Third Military Medical University","correspondingAuthor":false,"submittingAuthor":false,"prefix":"","firstName":"Kai-zhi","middleName":"","lastName":"Lu","suffix":""},{"id":1367497,"identity":"ca181af3-74cf-4dc2-b6ff-eb0e977b0d91","order_by":12,"name":"Ju Zhang","email":"","orcid":"","institution":"Chongqing Institute of Green and Intelligent Technology, Chinese Academy of Science","correspondingAuthor":false,"submittingAuthor":false,"prefix":"","firstName":"Ju","middleName":"","lastName":"Zhang","suffix":""},{"id":1367498,"identity":"52c43637-7660-462f-accf-68e2b4e050ae","order_by":13,"name":"Zheng-yuan Xia","email":"","orcid":"","institution":"Department of Anaesthesiology, Li Ka Shing Faculty of Medicine, the University of Hongkong","correspondingAuthor":false,"submittingAuthor":false,"prefix":"","firstName":"Zheng-yuan","middleName":"","lastName":"Xia","suffix":""},{"id":1367499,"identity":"b50f92c8-1790-43d2-85db-2309f6e34aeb","order_by":14,"name":"Bin Yi","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAxUlEQVRIiWNgGAWjYDACZh6GAwwGNvWN7Y2NDz8Qr6UgjbG553CzsQRx1vAA8YfDjO0z0tsEeIjRYHCc9+DhAoPDzLwzH7YxSDDYyek2ENJymC/h8AyDdDbJ2YltDwoYko3NDhDUwgNC1jyGsxPbDSQYDiRuI1ILs4T9zYNtEjwkaHE2YJzBSKQWSZBfeAzSEhh7EoGBbECEX/jOnz38meePTQJj+/GHDz9U2MkR1KKAqsCAgHIQkG8gQtEoGAWjYBSMcAAAwD5EnL420gAAAAAASUVORK5CYII=","orcid":"https://orcid.org/0000-0001-5840-2086","institution":"Third Military Medical University Southwest Hospital","correspondingAuthor":true,"submittingAuthor":false,"prefix":"","firstName":"Bin","middleName":"","lastName":"Yi","suffix":""}],"badges":[],"createdAt":"2020-07-16 11:33:49","currentVersionCode":2,"declarations":"","doi":"10.21203/rs.3.rs-44310/v2","doiUrl":"https://doi.org/10.21203/rs.3.rs-44310/v2","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":1933519,"identity":"219046e8-24cd-4ac4-9992-c26cae14e89f","added_by":"auto","created_at":"2020-08-14 18:05:38","extension":"png","order_by":1,"title":"Figure 1","display":"","copyAsset":false,"role":"figure","size":64142,"visible":true,"origin":"","legend":"Data partition and verification. ","description":"","filename":"1.PNG","url":"https://assets-eu.researchsquare.com/files/rs-44310/v2/1.PNG"},{"id":1933520,"identity":"72aebba3-f470-4944-bf11-12418caffe42","added_by":"auto","created_at":"2020-08-14 18:05:38","extension":"png","order_by":2,"title":"Figure 2","display":"","copyAsset":false,"role":"figure","size":96225,"visible":true,"origin":"","legend":"The structure of the attention-based TCN model for prediction of mortality risk in ICU. ","description":"","filename":"2.PNG","url":"https://assets-eu.researchsquare.com/files/rs-44310/v2/2.PNG"},{"id":1933521,"identity":"601bdf48-988f-4cd0-9cbb-aaa7b35fa3cb","added_by":"auto","created_at":"2020-08-14 18:05:38","extension":"png","order_by":3,"title":"Figure 3","display":"","copyAsset":false,"role":"figure","size":82720,"visible":true,"origin":"","legend":"The ROC curves of different AI methods and the typical visualization of attention weight. (A) The ROC curves for predicting ICU patients’ in-hospital mortality 48h after admission based on different AI methods. (B) The typical heatmap for attention weight of variables and time points for the non-survival patient. (C) The typical heatmap for attention weight of variables and time points for the survival patient. AI, artificial intelligence; TCN, temporal convolution network; DT, Decision Tree; LR, Logistic Regression; RF, Random Forest; SVM, Support Vector Machine; TCN, temporal convolution network.","description":"","filename":"3.PNG","url":"https://assets-eu.researchsquare.com/files/rs-44310/v2/3.PNG"},{"id":1933522,"identity":"33a1878d-67c0-465b-870b-e646ab2b0579","added_by":"auto","created_at":"2020-08-14 18:05:38","extension":"png","order_by":4,"title":"Figure 4","display":"","copyAsset":false,"role":"figure","size":47465,"visible":true,"origin":"","legend":"The diagrammatic view of dynamically prediction of mortality risk of ICU patients by attention-based TCN. (A) Data flow and dynamic prediction are briefly explained by timelines. (B) The instructions of predicting the mortality risk of a new critical patient during the treatment in ICU. T is determined by patient’s main diagnosis and specific condition; P is defined as the prediction of mortality risk at different time point. H, high mortality risk; L, Low mortality risk; IC, Intensive Monitoring and Intensive Treatment; IR, Intensive Monitoring and Routine Treatment.","description":"","filename":"4.PNG","url":"https://assets-eu.researchsquare.com/files/rs-44310/v2/4.PNG"},{"id":13575201,"identity":"2845a503-bbab-4c8d-8fc4-607da619c4dc","added_by":"auto","created_at":"2021-09-17 04:02:19","extension":"pdf","order_by":0,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":611066,"visible":true,"origin":"","legend":"","description":"","filename":"manuscript.pdf","url":"https://assets-eu.researchsquare.com/files/rs-44310/v2/69adcb21-b1b8-4983-8665-82fd6ca3ee03.pdf"},{"id":1933524,"identity":"93db57c4-6b8d-49a3-9386-52f89b0081ef","added_by":"auto","created_at":"2020-08-14 18:05:39","extension":"docx","order_by":1,"title":"","display":"","copyAsset":false,"role":"supplement","size":354325,"visible":true,"origin":"","legend":"","description":"","filename":"Supplementarymaterials.docx","url":"https://assets-eu.researchsquare.com/files/rs-44310/v2/Supplementarymaterials.docx"},{"id":1933525,"identity":"c89deda7-bce9-4380-83c9-4e8dfc5d168b","added_by":"auto","created_at":"2020-08-14 18:05:39","extension":"docx","order_by":2,"title":"","display":"","copyAsset":false,"role":"supplement","size":63128,"visible":true,"origin":"","legend":"","description":"","filename":"Tables.docx","url":"https://assets-eu.researchsquare.com/files/rs-44310/v2/Tables.docx"}],"financialInterests":"","formattedTitle":"Learning to Predict in-hospital mortality risk in intensive care unit with attention-based Temporal convolution network","fulltext":[{"header":"Background","content":"\u003cp\u003eThe in-hospital mortality of patients in intense care unit (ICU) is relatively high, which ranged from 6.7% to 44.0% worldwide (\u003ca href=\"#_ENREF_1\"\u003e1\u003c/a\u003e,\u003ca href=\"#_ENREF_2\"\u003e2\u003c/a\u003e). With the development of critical care medicine, larger amounts of data helped doctors to make decisions, however sometimes overwhelm doctors in reverse. Thus, tools which help doctors make decisions based on large amounts of monitoring and clinical data are badly needed.\u003c/p\u003e\n\u003cp\u003eIn the past, score-based models, such as simplified acute physiology score (SAPS II), Acute Physiology and Chronic Health Evaluation II (APACHE II), were commonly used for patients\u0026rsquo; evaluation based on prediction of mortality risk (\u003ca href=\"#_ENREF_3\"\u003e3\u003c/a\u003e,\u003ca href=\"#_ENREF_4\"\u003e4\u003c/a\u003e). When applied to larger populations, the diagnostic performances of score-based models are relatively poor (\u003ca href=\"#_ENREF_1\"\u003e1\u003c/a\u003e,\u003ca href=\"#_ENREF_2\"\u003e2\u003c/a\u003e,\u003ca href=\"#_ENREF_5\"\u003e5-8\u003c/a\u003e). Recently, methods based on artificial intelligence (AI), including conventional machine learning (ML) methods and deep learning methods have been applied to help doctors decision-making by predicting patients\u0026rsquo; mortality risk (\u003ca href=\"#_ENREF_9\"\u003e9-11\u003c/a\u003e). Comparing with statistical score-based models, methods based on AI usually had better model performance, which may be related to that AI methods had the advantages of dealing with complex non-linear relationships between variables and patients\u0026rsquo; outcome.\u003c/p\u003e\n\u003cp\u003eHowever, there are some limitations of the referred researches. One of the biggest problems were that the worst records of a period time or statistical variables (maximum, minimal or others) replaced the repeated measured variables such as vital signs to predict the mortality risk. In ICU reality, overall trend and coupling of changes between different physiological variables may provide prognostic information, which will also help to elevate the accuracy of prediction model(\u003ca href=\"#_ENREF_12\"\u003e12\u003c/a\u003e). The ideal tool to help doctors\u0026rsquo; decision-making requires optimum use of all the associated routine variables especially time series data and realizing dynamic prediction. However, due to the complex of the time series data, studies about dynamic prediction using temporal clinical data are limited.\u003c/p\u003e\n\u003cp\u003eThe challenges of predicting mortality risk in ICU were summarized by Ikaro et al (\u003ca href=\"#_ENREF_12\"\u003e12\u003c/a\u003e): First, measurements of time series data vary from each patient meanwhile the time interval is irregular; Secondly, the choice of measurements and the trends of time series data correlate with each other. As for time series deep learning models, the Long Short-Term Memory (LSTM) (\u003ca href=\"#_ENREF_13\"\u003e13\u003c/a\u003e) and its derivatives Gated-Recurrent Unit (GRU) (\u003ca href=\"#_ENREF_14\"\u003e14\u003c/a\u003e), were used to predict the mortality risk of ICU patients which achieved better area under Receiver Operating Characteristic (AUCROC) and area under Precision-Recall curve (AUC-PR) than conventional score-based models. However, due to that data is processed sequentially over time, the LSTM and GRU had the shortcomings of enormous computing, time consuming, high hardware requirements and vanishing gradients which result in difficulties of dealing with big data and applying to clinical popularization. It is widely accepted that deep learning has the shortcomings of lower explanation and large computing. Attention mechanism simulates the data processing of the human brain, and nowadays were combined with LSTM or other deep learning methods to improve computational efficiency or the interpretability (\u003ca href=\"#_ENREF_7\"\u003e7\u003c/a\u003e,\u003ca href=\"#_ENREF_15\"\u003e15\u003c/a\u003e,\u003ca href=\"#_ENREF_16\"\u003e16\u003c/a\u003e). However, the limitations of inefficient particularly when processing long sequences stilled existed due to the characteristics of the method itself. A better deep learning method overcomes the current limitations is seriously needed. Recently, a new deep learning method, temporal convolution network (TCN) was developed, with the characteristics of parallelism, fixed gradient, and smaller memory of training. Furthermore, Bai et al (\u003ca href=\"#_ENREF_17\"\u003e17\u003c/a\u003e) reported that the TCN has even better performance than LSTM or GRU. Developing attention-based TCN model may not only elevate the interpretability, reduce the computation complexity, but also extend the clinical use due to its higher efficiency for long sequences. Therefore, we aimed to develop an attention-based TCN model to predict the in-hospital mortality risk 48h after admission in ICUs with time series data and compare the model performances with conventional ML methods, namely random forest (RF), logistic regression (LR), decision tree and support vector machine (SVM).\u003c/p\u003e"},{"header":"Methods","content":"\u003cp style=\"line-height: 200%;\"\u003e\u003cstrong\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003eEthics and data extraction\u003c/span\u003e\u003c/strong\u003e\u003c/p\u003e\n\u003cp style=\"margin: 0in; text-align: justify; text-justify: inter-ideograph; text-indent: 21.0pt;\"\u003e\u003cspan style=\"font-size: 10.5pt; line-height: 200%;\"\u003eEthical approval for this study was approved after completion of the National Institute of Health(NIH) web-based training course named \u0026ldquo;Protecting Human Research Participants\u0026rdquo; by the author Yu-wen Chen (Certification Number: 28341490). Data used for the prediction of mortality risk were extracted from the Multi-parameter Intelligent Monitoring in Intensive Care (MIMIC) database. A\u003c/span\u003e\u003cspan style=\"font-size: 10.5pt; line-height: 200%;\"\u003ell\u003c/span\u003e \u003cspan style=\"font-size: 10.5pt; line-height: 200%;\"\u003ethe\u003c/span\u003e\u003cspan style=\"font-size: 10.5pt; line-height: 200%;\"\u003e data from the \u003c/span\u003e\u003cspan style=\"font-size: 10.5pt; line-height: 200%;\"\u003edatabase\u003c/span\u003e\u003cspan style=\"font-size: 10.5pt; line-height: 200%;\"\u003e had been treated with data masking to protect patients\u0026rsquo; privacy. So, there was no requirement for written informed consent in the current study. \u003c/span\u003e\u003cspan style=\"font-size: 10.5pt; line-height: 200%;\"\u003eThere were 61532 records of ICU stays in Beth Israel Deaconess Medical Center ICUs, including clinical notes, physiological waveforms, laboratory measurements, and nurse-verified numerical data\u003c/span\u003e\u003cspan style=\"font-size: 10.5pt; line-height: 200%;\"\u003e(\u003c/span\u003e\u003ca href=\"#_ENREF_18\"\u003e\u003cspan style=\"font-size: 10.5pt; line-height: 200%; color: windowtext; text-decoration: none; text-underline: none;\"\u003e18\u003c/span\u003e\u003c/a\u003e\u003cspan style=\"font-size: 10.5pt; line-height: 200%;\"\u003e)\u003c/span\u003e\u003cspan style=\"font-size: 10.5pt; line-height: 200%;\"\u003e. The exclusion criteria were as following: any hospital admission with multiple ICU stays or transfers between different ICUs or wards, \u003c/span\u003e\u003cspan style=\"font-size: 10.5pt; line-height: 200%;\"\u003ewhich\u003c/span\u003e\u003cspan style=\"font-size: 10.5pt; line-height: 200%;\"\u003e would reduce the ambiguity of outcomes associated with hospital admissions rather than ICU stays; patients younger than 16; patients\u0026rsquo; whose initial ICU stay was missing or less than 48 hours; ICU events with no events in the initial 48 hoursThere were 18094 were for final analysis. As shown in Fig.1, In order to avoid overfitting, we split the dataset into training set (15331patients, 17917 ICU stays) and testing set (2763 patients, 3222 ICU stays). Five-fold cross-validation was performed on the training set to determine the model parameters. We obtained the best model parameters after cross-validation on the training set and got the score of the model on the testing set. \u003c/span\u003e\u003c/p\u003e\n\u003cp style=\"margin: 0in; text-align: justify; text-justify: inter-ideograph;\"\u003e\u003cstrong\u003e\u003cspan style=\"font-size: 10.5pt; line-height: 200%;\"\u003eData preprocessing\u003c/span\u003e\u003c/strong\u003e\u003c/p\u003e\n\u003cp style=\"text-indent: 21.0pt; line-height: 200%; text-autospace: none;\"\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003eWe use 17 physiologic variables (shown in Tab.1) representing a subset from the Physionet/CinC Challenge 2012\u003c/span\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003e(\u003c/span\u003e\u003ca href=\"#_ENREF_12\"\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif; color: windowtext; text-decoration: none; text-underline: none;\"\u003e12\u003c/span\u003e\u003c/a\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003e)\u003c/span\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003e. Up to 17 variables were recorded at least once during the first 48 hours after admission. Not all variables were available in all cases. We used all raw values for time series measurements included in the score. For Glasgow Comma Score (GCS), we included GCS (Verbal response), GCS (\u003cspan style=\"color: black; background: white;\"\u003eMotor response\u003c/span\u003e), GCS (\u003cspan style=\"color: black; background: white;\"\u003eEye opening\u003c/span\u003e) and GCS (total) as different features. The rest of the variables included weight, height,\u003cspan style=\"color: black; background: white;\"\u003e temperature, respiratory rate (RR),\u003c/span\u003e \u003cspan style=\"color: black; background: white;\"\u003eheart rate (HR), diastolic blood pressure (DBP),\u003c/span\u003e Mean blood pressure(MBP), systolic blood pressure(SBP), \u003cspan style=\"color: black; background: white;\"\u003efraction inspired oxygen (FiO\u003csub\u003e2\u003c/sub\u003e),\u003c/span\u003e \u003cspan style=\"color: black; background: white;\"\u003eoxygen saturation (OS), \u003c/span\u003epH, glucose, and capillary refill rate (CRR). When value was more than three standard deviations away from each individual mean value, it would be removed. Twelve of them were continuous and five discrete. All the time series variables were re-sampled into hourly rate starting from ICU admission. When there was a continuous variable that was missing at a point in time, we filled the data with the nearest neighbor value. When the indicator had no record data during the observation time,we assumed that the nurse did not measure the attribute and that the indicator was considered normal so that we filled the data using the normal value of the attribute. . For discrete variables, we performed one-hot encoding. For continuous variables, we performed Z-score normalization to scale the feature values. Each patient\u0026rsquo;s record was summarized into a visualization data matrix 59\u0026times;48 for 48-hour observation period as the input for deep learning. \u003c/span\u003e\u003c/p\u003e\n\u003cp style=\"line-height: 200%; text-autospace: none;\"\u003e\u003cstrong\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003eModel construction for Attention-based TCN\u003c/span\u003e\u003c/strong\u003e\u003c/p\u003e\n\u003cp style=\"text-indent: 21.0pt; line-height: 200%;\"\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif; color: black; background: white;\"\u003eIn this work, we developed an attention-based TCN model to predict the mortality risk of ICU patients with time series and static data. The TCN is convolutional network, which is composed of causal convolution, diluted convolution, and residual connections. The causal convolution makes the TCN a strict temporal model by using data from time t and earlier in the previous step to predict the status at time t when model trained. TCN allows the input of convolution to be sampled at intervals to broaden the field of perception (make the most of information) due to use of the dilated convolution. The residual connections enable the network to transmit information across layers, which are usually used to train deep network. In addition, TCN adds Dropout to each hole in the residual module to achieve regularization. Attention mechanism was introduced into the TCN model to elevate the efficiency and the interpretability. \u003c/span\u003e\u003c/p\u003e\n\u003cp style=\"text-indent: 21.0pt; line-height: 200%;\"\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003eThe structure of attention-based TCN model was shown in Fig.2: patients\u0026rsquo; raw data were preprocessed as data flow for model in-put; The TCN (Temporal Convolutional Network) \u003c/span\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003e(\u003c/span\u003e\u003ca href=\"#_ENREF_17\"\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif; color: windowtext; text-decoration: none; text-underline: none;\"\u003e17\u003c/span\u003e\u003c/a\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003e)\u003c/span\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003e was directly applied to process the ICU patient's temporal data. The network was referenced to the basic structure of the literature\u003c/span\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003e(\u003c/span\u003e\u003ca href=\"#_ENREF_17\"\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif; color: windowtext; text-decoration: none; text-underline: none;\"\u003e17\u003c/span\u003e\u003c/a\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003e)\u003c/span\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003e without corresponding structural optimization. Since the number of kernels was 3 and the number of attributes for the patients was 59, the stacked temporal convolutional attention layer was set to 7. When the network layer was set to 7, the receptive field of the network exactly covered all the patients' input data.\u003c/span\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003e The patient's vital signs data are extracted by 7-level TCN, then connected to the attention layer; finally, the mortality risk were predicted by linear layer. Implementation parameters of TCN are batch_size=32, dropout=0.2, kernel size=3, levels of TCN =7, initial learning rate=0.02, number of hidden units per layer=59, optimization algorithm=Adam. The loss function used is Binary Cross Entropy: \u003c/span\u003e\u003c/p\u003e\n\u003cp style=\"line-height: 200%;\"\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003etemporal convolutional network\u003c/span\u003e\u003c/p\u003e\n\u003cp style=\"line-height: 200%;\"\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003e\u003cimg src=\"data:image/png;base64,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\" alt=\"\" width=\"413\" height=\"96\" /\u003e\u003c/span\u003e\u003c/p\u003e\n\u003cp style=\"text-indent: 10.5pt; line-height: 200%;\"\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003epred: prediction tensor with arbitrary shape\u003c/span\u003e\u003c/p\u003e\n\u003cp style=\"text-indent: 10.5pt; line-height: 200%;\"\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003elabel: target tensor with values in range\u0026nbsp;[0, 1]. Must have the same size as\u0026nbsp;pred. \u003c/span\u003e\u003c/p\u003e\n\u003cp style=\"line-height: 200%;\"\u003e\u003cstrong\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003eNon-time series model construction\u003c/span\u003e\u003c/strong\u003e\u003c/p\u003e\n\u003cp style=\"text-indent: 21.0pt; line-height: 200%;\"\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003eWe also predicted the mortality risk by non-time series ML methods such as RF \u003c/span\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003e(\u003c/span\u003e\u003ca href=\"#_ENREF_19\"\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif; color: windowtext; text-decoration: none; text-underline: none;\"\u003e19\u003c/span\u003e\u003c/a\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003e)\u003c/span\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003e, LR, Decision Tree (DT) and SVM. Due to the limitation of these ML methods, the in-put for these models were not time series data but results of feature extraction (statistical variables, such as the minimum, maximum, average of the variables). \u003c/span\u003e\u003c/p\u003e\n\u003cp style=\"line-height: 200%;\"\u003e\u0026nbsp;\u003c/p\u003e\n\u003cp style=\"text-indent: 21.0pt; line-height: 200%;\"\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003eModel performance was assessed by overall performance, discrimination, and calibration. The overall performance is determined by the F1 score. The F1 score is defined as the harmonic mean of accuracy and recall, which considers both the precision and the recall equally. Discrimination is the capability to distinguish between those who survival and those who do not 48h after admission in ICU by AUCROC and the area under the Precision-Recall curve (AUC-PR). The AUC-PR is sensitive for the imbalance distribution of the negative and positive data especially for an extreme small portion of positive data. Calibration is assessed by Brier score via calculating the averaged squared deviation between the predicted probability and the actual outcome. \u003c/span\u003e\u003c/p\u003e\n\u003cp style=\"line-height: 200%;\"\u003e\u003cstrong\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003eStatistical analysis\u003c/span\u003e\u003c/strong\u003e\u003c/p\u003e\n\u003cp style=\"text-indent: 21.0pt; line-height: 200%;\"\u003e\u003cspan style=\"line-height: 200%; font-family: 'Times New Roman',serif;\"\u003eThe statistical analyses were carried out using SPSS software for Windows, V.19.0 (SPSS). Quantitative variables are presented using basic descriptive statistics: mean and SD (for normal distribution data), or median and IQR (for non-normal distribution data). Comparisons among datasets were performed using the chi-square test or Fisher's exact test, or Kruskal-Wallis test. All statistical tests were two sided, and \u003cem\u003eP \u003c/em\u003evalues less than 0.05 indicated statistical significance.\u003c/span\u003e\u003c/p\u003e"},{"header":"Results","content":"\u003cp\u003e\u003cstrong\u003eData distribution\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eFinally, there were 18094 patients for analysis. Patient demographics and characteristics of the three datasets were presented in Tab.3\u003cstrong\u003e.\u003c/strong\u003e There were no statistically significant differences in age, gender, and ICU length of stay between them. The mortality rate of our cohort was 15.4%. Though the mortality rate of patients in the testing dataset was significantly lower than that of training datasets, the mortality rate of patients in test dataset was similar to that of patients in our whole cohort.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eModel performance of time series and non-time series models\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eWe evaluated the new model in 3 aspects. First, we compared attention-based TCN with traditional score-based methods, secondly compared with models which do not use time series data, and finally compared with LSTM which used time series data. The purpose of the comparison with traditional ML models was not to use complex models to compare with simple models, but to show that models based on patient time series data are effective in improving the accuracy of predictions compared to models not using time series data. The purpose of the comparison with traditional machine learning models was not to use complex models to compare with simple models, but to show that models based on patient time series data are effective in improving the accuracy of predictions compared to models not using time series data. As shown in Tab.4 and Fig.3 A, comparing with the statistical methods, AI methods had larger AUCROC and AUC-PR which indicated a better capacity of discrimination. Though the AUCROC and AUC-PR of attention-based TCN were smaller than that of non-time series ML methods, which also had an acceptable ability of discrimination. Furthermore, comparing with non-time series ML methods, the attention-based TCN had the highest sensitivity (67.1%) and F1 score (0.46). Models with high specificity but lower sensitivity, resulting in missing patients potentially at risk, which would violate our initial purpose of helping doctors dynamically evaluating the mortality risk of patients. As for other time series methods, the sensitivity of attention-based TCN was much higher than that of model by LSTM (46.1%) based on the same database (\u003ca href=\"#_ENREF_7\"\u003e7\u003c/a\u003e), with only a little difference in the AUC-PRs between them. It indicated that models developed by attention-based TCN had higher accuracy and lower omission diagnose rate than those by LSTM, which may be related to the difference between the input variables. As for model calibration, the brier score of attention-based TCN was higher than that of the other conventional ML models, which may be associated with the high dimension of time series data. Taking the purpose and clinical application into consideration, due to the high sensitivity, F1 score and relative satisfied ability of discrimination, model performance of attention-based TCN was the best among the listed methods in Tab.4.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eVisualization of attention weights at different time points \u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eBy visualizing the attention weight, we could clearly see that what the variable and time points were paid attention to when predicting the risk of death. The typical heatmaps for attention weight of non-survival and survival patients were shown in Fig.3 B and C. The larger portion of the colored area in the heatmap of non-survival patient suggested that the patient was less instable. The value of the variable at the time point represented by these colored areas contributed more than other values to the patient\u0026rsquo;s death. The time point with most of the variables colored may correspond to rescue in the clinical reality. Except for the good model performance, the attention-based TCN methods may also have the potential advantage of better interpretability.\u003c/p\u003e"},{"header":"Discussion","content":"\u003cp\u003eThere are several score-based models for predicting the mortality risk, such as SAPS (\u003ca href=\"#_ENREF_3\"\u003e3\u003c/a\u003e), APACHE (\u003ca href=\"#_ENREF_20\"\u003e20\u003c/a\u003e), OASIS (\u003ca href=\"#_ENREF_21\"\u003e21\u003c/a\u003e) and Sequential Organ Failure Assessment (SOFA) (\u003ca href=\"#_ENREF_22\"\u003e22\u003c/a\u003e). These models are all non-time series and based on statistical methods, the input data are static data or statistical data, such as comorbidities and the minimum of systolic pressure in the first 24h, which make it impossible to predict the mortality risk in the first 24h or to update data for predicting long-term mortality risk. Despite the AUCROCs of the score-based models were satisfied, either the sensitivity or the specificity was poor (\u003ca href=\"#_ENREF_23\"\u003e23\u003c/a\u003e,\u003ca href=\"#_ENREF_24\"\u003e24\u003c/a\u003e). It\u0026rsquo;s not suprising that these models have been modified several times to improve their predictive performance since they first being published (\u003ca href=\"#_ENREF_25\"\u003e25\u003c/a\u003e). Recently, for the complex, non-linear relationship between clinical variables and the outcome, non-time series AI methods, such as Artifical neural work (ANN), SVM, DT , RF, Naive Bayes, projective adaptive resonance theory (PART) and AutoTriage, were used to predict the mortality risk of patients in ICUs (\u003ca href=\"#_ENREF_5\"\u003e5\u003c/a\u003e,\u003ca href=\"#_ENREF_11\"\u003e11\u003c/a\u003e,\u003ca href=\"#_ENREF_24\"\u003e24\u003c/a\u003e,\u003ca href=\"#_ENREF_26\"\u003e26\u003c/a\u003e,\u003ca href=\"#_ENREF_27\"\u003e27\u003c/a\u003e) with relatively satisfied model performance. However, due to the non-time series methods, all the variables are static or extracted from time series data, which makes it impossible to realize dynamic prediction. Herein, the AUCROCs and AUC-PRs of attention-based TCN model were larger than that of conventional score-based models in the same database according to Harutyunyan et al\u0026rsquo;s study (\u003ca href=\"#_ENREF_8\"\u003e8\u003c/a\u003e). It is a pity that Harutyunyan et al did not show the sensitivity and specificity of conventional models. Regardless of the slight difference in AUCROCs and AUC-PRs among attention-based TCN and other non-time series ML methods, the sensitivity of attention-based TCN was much higher than that of the others. In clinical work, when decision-making happens, doctors should take medical history, physical examination and trend of vital signs into consideration. The ideal model for predicting mortality risk is taking both time series and static clinical data into consideration, moreover simultaneously realize dynamic prediction. Furthermore, due to the instable status of ICU patients, the sensitivity seemed more important than the specificity, for missing the potential patients at risk might be fatal. In brief, attention-based TCN method was preferable to non-time series methods in predicting the motarlity risk of ICU patients. In addition, Hao et al (\u003ca href=\"#_ENREF_28\"\u003e28\u003c/a\u003e) tried to apply attention-based TCN to language models resulting a significant elevation of model performance, which suggests attention-based TCN is a promissing method for sequence modeling.\u003c/p\u003e\n\u003cp\u003eRecently, Yu et al (\u003ca href=\"#_ENREF_7\"\u003e7\u003c/a\u003e), Harutyunyan et al (\u003ca href=\"#_ENREF_8\"\u003e8\u003c/a\u003e) and Song et al (\u003ca href=\"#_ENREF_16\"\u003e16\u003c/a\u003e) combined two AI methods (including one time series method) to predict the mortality risk of ICU patients with large AUCROCs and AUC-PRs but lower sensitivity (the variables and sensitivity were not presented in Harutyunyan\u0026rsquo;s study). Despite the low sensitivity, there were other shortcomings of these studies. At first, Yu et al\u0026rsquo;s and Harutyunyan\u0026rsquo;s methods were based on LSTM, which deals with time series data sequentially from beginning to end, while TCN can do parallel processing by causal convolutions in the architecture (\u003ca href=\"#_ENREF_17\"\u003e17\u003c/a\u003e). Due to the limitations of LSTM, attention-based TCN methods would be more proper for higher dimension and amounts of data and require less in hardware, which would be more appropriate for clinical extension. Secondly, Yu et al\u0026rsquo;s study included vital signs, namely, HR, SBP and temperature, while ours included RR, HR, DBP, MBP, SBP and temperature. Nowadays MBP and DBP are widely accepted as important predictors for ICU patients (\u003ca href=\"#_ENREF_29\"\u003e29-31\u003c/a\u003e). So, it may be insufficient to predict the mortality risk without MBP and DBP. Moreover, some of the variables such as urinary output in Yu et al\u0026rsquo;s study, which are sum or mean of clinical data in a set period time and have a longer acquisition time interval than that of vital signs. Vital signs in our study were more reasonable and easier to obtain than those in Yu et al\u0026rsquo;s, meanwhile variables more frequently collected would help more for dynamic prediction. Thirdly, Harutyunyan et al\u0026rsquo;s and Song et al\u0026rsquo;s study focused on the algorithms, the clinical value was a bit overlooked. Fourthly, these three studies combined attention mechanism was mainly intended to elevate the efficiency of computing rather than interpretability. Comparing with time series methods combined with other AI methods for predicting mortality risk of ICU patients, our attention-based TCN method also had advantages of higher efficiency, better interpretability and easier for promotion.\u003c/p\u003e\n\u003cp\u003eAs shown in Fig.4, we drew a diagram for clinical use of predicting the mortality risk of ICU patients by attention-based TCN methods: For a new critical patient, patient\u0026rsquo;s baseline information and monitoring data would be put into the attention-based TCN model as data flow after automatically data preprocessing; Then the mortality risk will be predicted at different time points according to the patient\u0026rsquo;s specific condition (here we predict the mortality risk 48h after ICU admission); If the estimated mortality risk is high, the patient will receive intensive monitoring and intensive treatment; if the estimated mortality risk is low, the patient will receive intensive monitoring and routine treatment. In brief, the whole process is Warning \u0026rarr;Intervention \u0026rarr;Warning \u0026rarr;Intervention\u0026rarr;\u0026hellip;\u0026hellip;\u0026rarr;Patient outcome.\u003c/p\u003e\n\u003cp\u003eThere are several limitations in this study. First of all, though the variables in our study were routine and most of them were time series, some more routine and frequently collected variables, such as lactic acid and results of arterial blood gas analysis, should be included to help elevate the prediction accuracy. Secondly, clinical data are extracted from one medical center, so the generalization ability of the model and its possibility of clinical application is not validated. Prospective multi-center studies should be carried out to investigate the clinical value of combing TCN with attention mechanism to predict patient\u0026rsquo;s mortality risk using temporal clinical data.\u003c/p\u003e"},{"header":"Conclusion","content":"\u003cp\u003eAttention-based TCN methods achieved better performance in predicting mortality risk with time series data than non-time series models, which suggested it might be potential for decision-making in ICU by dynamic prediction of mortality risk with continuous data flow.\u003c/p\u003e"},{"header":"Abbreviations","content":"\u003cp\u003eAI: Artificial Intelligence; ICU: Intensive Care Unit; DNN: Deep Neural Network; SVM: support vector machine; GCS: Glasgow Comma Score; ML: Machine learning; DBP: Diastolic Blood Pressure; HR: Heart Rate; TCN: Temporal Convolution Network; APS: Acute Physiology Score; SAPS II: Simplified Acute Physiology Score\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; CRR: Capillary Refill Rate; LSTM: Long Short-Term; Memory\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; OS: Oxygen Saturation; RNN: Recurrent Neural Network; RF: Random Forest; SBP: Systolic Blood Pressure; RR: Respiratory Rate; MBP: Mean Blood Pressure; LR: Logistic Regression; SOFA: Sequential Organ Failure Assessment; ANN: Artifical neural work; OASIS: Oxford Acute Severity of Illness Score;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; FiO2: Fraction Inspired Oxygen; AUCROC: Area Under The Receiver Operating Characteristic Curve; APACHE II: Acute Physiology and Chronic Health Evaluation II; MIMIC: Multi-parameter Intelligent Monitoring in Intensive Care.\u003c/p\u003e"},{"header":"Declarations","content":"\u003cp\u003e\u003cstrong\u003eAcknowledgments\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eNone.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eAuthors\u0026rsquo; contributions\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eConceptualization: BY, JZ and ZX; Methodology: YwC, YL, KZ and LZ; Formal analysis: ZY, YC, HZ; Writing - Original Draft: YwC and YL; Visualization: PD, DW; Project administration: JG, JN and KL.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eFunding\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eThe project was supported by National Key R\u0026amp;D Program of China [No.2018YFC0116702 and No.2018YFC00116704], National Natural Science Foundation of China [No.81870422 and 81600035], Medical Innovation Capacity Improvement Program for Medical Staff of the First Affiliated Hospital of the Third Military Medical University [No. SWH2018QNKJ-27]; Technology innovation and application research and development project of Chongqing city [cstc2019jscx-msxmX0237].\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eAvailability of data and materials\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eThe data that support the findings of this study are available from MIMIC III dataset but restrictions apply to the availability of these data, which were used under license for the current study, and so are not publicly available. Data are however available from the MIMIC III dataset with permission of Massachusetts Institute of Technology Affiliates.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eEthics approval and consent to participate\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eNot applicable.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eConsent for publication\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eNot applicable.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eCompeting interests\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eThe authors declare that they have no competing interests.\u003c/p\u003e"},{"header":"References","content":"\u003col\u003e\n\u003cli\u003eWeigl WA, J. Gorynski, P. Kanski, A. Hultstrom, M. ICU mortality and variables associated with ICU survival in Poland: A nationwide database study. Eur J Anaesthesiol.2018;35:949-54. https://doi.org/10.1097/EJA.0000000000000889.\u003c/li\u003e\n\u003cli\u003eWeigl W AJ, Goryński P, Kański A, Hultstr\u0026ouml;m M,. Mortality rate is higher in Polish intensive care units than in other European countries. Intensive Care Med.2017;43:1430\u0026ndash;2. https://doi.org/ 10.1007/s00134-017-4804-2.\u003c/li\u003e\n\u003cli\u003eJ.-R. Le Gall SL, F. Saulnier. A new simplified acute physiology score (SAPS II) based on a European/North American multicenter study Jama 1993; 270:2957-63.\u003c/li\u003e\n\u003cli\u003eW. A. Knaus EAD, D. P. Wagner, J. E. Zimmerman APACHE II: a severity of disease classification system. Critical care medicine 1985;13:818-29.\u003c/li\u003e\n\u003cli\u003eDavoodi RM, M. H. Mortality prediction in intensive care units (ICUs) using a deep rule-based fuzzy classifier. J Biomed Inform.2018;79:48-59. https://doi.org/10.1016/j.jbi.2018.02.008.\u003c/li\u003e\n\u003cli\u003ePirracchio R, Petersen, Maya L, Carone, Marco Rigon, Matthieu Resche Chevret, Sylvie van der Laan, Mark J. Mortality prediction in intensive care units with the Super ICU Learner Algorithm (SICULA): a population-based study. The Lancet Respiratory Medicine.2015;3:42-52. https://doi.org/10.1016/s2213-2600(14)70239-5.\u003c/li\u003e\n\u003cli\u003eYu R, Zheng, Y, Zhang, R,Jiang, Y. Poon, C. C. Y. Using a Multi-task Recurrent Neural Network with Attention Mechanisms to Predict Hospital Mortality of Patients. IEEE J Biomed Health Inform.2019. https://doi.org/10.1109/JBHI.2019.2916667.\u003c/li\u003e\n\u003cli\u003eHarutyunyan H, Khachatrian, H,Kale, D. C,Ver Steeg, G,Galstyan, A. Multitask learning and benchmarking with clinical time series data. Sci Data.2019;6:96. https://doi.org/10.1038/s41597-019-0103-9.\u003c/li\u003e\n\u003cli\u003ePotes CC, Bryan Xu-Wilson, Minnan Newth, Christopher Inwald, David Frassica, Joseph. A clinical prediction model to identify patients at high risk of hemodynamic instability in the pediatric intensive care unit. Critical Care.2017;21. https://doi.org/10.1186/s13054-017-1874-z.\u003c/li\u003e\n\u003cli\u003eChristine K. Lee MS, Ira Hofer, Eilon Gabel, Pierre Baldi, Maxime Cannesson. Development and Validation of a Deep Neural Network Model for Prediction of Postoperative In-hospital Mortality. Anesthesiology.2018;129:649-62. https://doi.org/10.1097/aln.0000000000002186\u0026gt;.\u003c/li\u003e\n\u003cli\u003eKim S, Kim, W,Park, R. W. A Comparison of Intensive Care Unit Mortality Prediction Models through the Use of Data Mining Techniques. Healthc Inform Res.2011;17:232-43. https://doi.org/10.4258/hir.2011.17.4.232.\u003c/li\u003e\n\u003cli\u003eSilva I, Moody G, Scott DJ, et al. Predicting In-Hospital Mortality of ICU Patients: The PhysioNet/Computing in Cardiology Challenge 2012. Comput Cardiol (2010).2012;39:245-8.\u003c/li\u003e\n\u003cli\u003eHochreiter S, Schmidhuber, J. Long short-term memory. Neural Comput.1997;9:1735-80.\u003c/li\u003e\n\u003cli\u003eDey R, Salemt,FM. . Gate-variants of Gated Recurrent Unit (GRU) neural networks. IEEE 60th International Midwest Symposium on Circuits and Systems (MWSCAS)2017. p. 1597-600.\u003c/li\u003e\n\u003cli\u003eKaji DA, Zech, J. R,Kim, J. S,Cho, S. K, Dangayach, N. S, Costa, A. B,, Oermann EK. An attention based deep learning model of clinical events in the intensive care unit. PLoS One.2019;14:e0211057. https://doi.org/10.1371/journal.pone.0211057.\u003c/li\u003e\n\u003cli\u003eHuan Song DR, Jayaraman J. Thiagarajan, Andreas Spanias. Attend and diagnose Clinical time series analysis using attention. Association for the Advancement of Artificial Intelligence2018.\u003c/li\u003e\n\u003cli\u003eShaojie Bai JZK, Vladlen Koltun An Empirical Evaluation of Generic Convolutional and Recurrent Networks. 2018. https://doi.org/ 10.1038/s41598-019-42516-z.\u003c/li\u003e\n\u003cli\u003eSaeed M VM, Reisner AT, Clifford G, Lehman LW, Moody G, Heldt T, Kyaw TH, Moody B, Mark RG. Multiparameter Intelligent Monitoring in Intensive Care II: a public-access intensive care unit database. Crit Care Med.2011;39:952-60. https://doi.org/10.1097/CCM.0b013e31820a92c6.\u003c/li\u003e\n\u003cli\u003eXia XJT, R. Sohel, F. Huang, D. Random forest classification based acoustic event detection utilizing contextual-information and bottleneck features. Pattern Recognition.2018;81:1-13. https://doi.org/10.1016/j.patcog.2018.03.025.\u003c/li\u003e\n\u003cli\u003eRivera-Fern\u0026aacute;ndez R V-MG, Bravo M, Aguayo-Hoyos E, Zimmerman J, Wagner D, Knaus W. The apache III prognostic system customized mortality predictions for Spanish ICU patients. Intensive Care Med.1998;24:574-81.\u003c/li\u003e\n\u003cli\u003eBennett CEW, R. S.,Jentzer, J. Gajic, O. Murphree, D. H. Murphy, J. G. Mankad, S. V. Wiley, B. M.,Bell, M. R.,Barsness, G. W. Severity of illness assessment with application of the APACHE IV predicted mortality and outcome trends analysis in an academic cardiac intensive care unit. J Crit Care.2019;50:242-6. https://doi.org/10.1016/j.jcrc.2018.12.012.\u003c/li\u003e\n\u003cli\u003eRaith EP UA, Bailey M, McGloughlin S, MacIsaac C, Bellomo R, Pilcher DV. Prognostic Accuracy of the SOFA Score, SIRS Criteria, and qSOFA Score for In-Hospital Mortality Among Adults With Suspected Infection Admitted to the Intensive Care Unit. Jama.2017;317:290-300. https://doi.org/10.1001/jama.2016.20328\u003c/li\u003e\n\u003cli\u003eFernando SM, Tran, A.,Taljaard, M.,Cheng, W.,Rochwerg, B.,Seely, A. J. E.,Perry, J. J. Prognostic Accuracy of the Quick Sequential Organ Failure Assessment for Mortality in Patients With Suspected Infection: A Systematic Review and Meta-analysis. Ann Intern Med.2018;168:266-75. https://doi.org/10.7326/M17-2820.\u003c/li\u003e\n\u003cli\u003eCalvert JM, Q. Hoffman, J. L. Jay, M. Desautels, T. Mohamadlou, H. Chettipally, U. Das, R. Using electronic health record collected clinical variables to predict medical intensive care unit mortality. Ann Med Surg (Lond).2016;11:52-7. https://doi.org/10.1016/j.amsu.2016.09.002.\u003c/li\u003e\n\u003cli\u003eLe Gall JR NA, Hemery F, Bleriot JP, Fulgencio JP, Garrigues B, Gouzes C, Lepage E, Moine P, Villers D. Mortality prediction using SAPS II: an update for French intensive care units. . Crit Care. 2005;9:645\u0026ndash;52. https://doi.org/10.1186/cc3821\u003c/li\u003e\n\u003cli\u003eAwad AB-E-D, Mohamed McNicholas, James Briggs, Jim. Early hospital mortality prediction of intensive care unit patients using an ensemble learning approach. International Journal of Medical Informatics.2017;108:185-95. https://doi.org/10.1016/j.ijmedinf.2017.10.002.\u003c/li\u003e\n\u003cli\u003eSadeghi RB, Tanvi Romine, William. Early hospital mortality prediction using vital signals. Smart Health.2018;9-10:265-74. https://doi.org/10.1016/j.smhl.2018.07.001.\u003c/li\u003e\n\u003cli\u003eHong-yan Hao,Yan Wang,Yu-di Xia,Jian Zhao F-rS. Temporal Convolutional Attention-based Network For Sequence Modeling. 2020.\u003c/li\u003e\n\u003cli\u003eAnnoni FDA, A. M. Franchi, F. Creteur, J. Scolletta, S. Vincent, J. L. Taccone, F. S. The impact of diastolic blood pressure values on the neurological outcome of cardiac arrest patients. Resuscitation.2018;130:167-73. https://doi.org/10.1016/j.resuscitation.2018.07.017.\u003c/li\u003e\n\u003cli\u003eAmeloot K DDC, Ferdinande B, Dupont M, Palmers PJ, Petit T, Eertmans W, Moonen C, Belmans A, Lemmens R, Dens J, Janssens S. Mean arterial pressure of 65 mm Hg versus 85-100 mm Hg in comatose survivors after cardiac arrest: Rationale and study design of the Neuroprotect post-cardiac arrest trial. Am Heart J.2017;191:91-8. https://doi.org/10.1016/j.ahj.2017.06.010\u003c/li\u003e\n\u003cli\u003eHouwink AP RS, Bosman RJ, van der Voort PH. The association between lactate, mean arterial pressure, central venous oxygen saturation and peripheral temperature and mortality in severe sepsis: a retrospective cohort analysis. Crit Care Mar. 2016;12:20:. https://doi.org/10.1186/s13054-016-1243-3\u003c/li\u003e\n\u003c/ol\u003e"},{"header":"Tables","content":"\u003cp\u003ePlease see the supplementary files section to view the tables."}],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":true,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"hideJournal":true,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":false,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":false,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"In-hospital mortality risk, ICU, Temporal Convolution Network, Attention Mechanism, time series, Artificial Intelligence","lastPublishedDoi":"10.21203/rs.3.rs-44310/v2","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-44310/v2","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eBackground: Dynamic prediction of patients’ mortality risk in ICU with time series data is limited due to the high dimensionality, uncertainty with sampling intervals, and other issues. New deep learning method, temporal convolution network (TCN), makes it possible to deal with complex clinical time series data in ICU. We aimed to develop and validate it to predict mortality risk using time series data from MIMIC III dataset. \u003c/p\u003e\u003cp\u003eMethods: 21139 records of ICU stays were analyzed and in total 17 physiological variables from the MIMIC III dataset were used to predict mortality risk. Then we compared the model performances of attention-based TCN with traditional artificial intelligence (AI) method. \u003c/p\u003e\u003cp\u003eResults: Area Under Receiver Operating Characteristic (AUCROC) and Area Under Precision-Recall curve (AUC-PR) of attention-based TCN for predicting the mortality risk 48h after ICU admission were 0.837(0.824 -0.850) and 0.454. The sensitivity and specificity of attention-based TCN were 67.1% and 82.6%, compared to the traditional AI method yield low sensitivity (\u0026lt;50%). \u003c/p\u003e\u003cp\u003eConclusions: Attention-based TCN model achieved better performance in prediction of mortality risk with time series data than traditional AI methods and conventional score-based models. Attention-based TCN mortality risk model has the potential for helping decision-making in critical patients.\u003c/p\u003e","manuscriptTitle":"Learning to Predict in-hospital mortality risk in intensive care unit with attention-based Temporal convolution network","msid":"","msnumber":"","nonDraftVersions":[{"code":2,"date":"2020-08-14 18:05:37","doi":"10.21203/rs.3.rs-44310/v2","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}},{"code":1,"date":"2020-07-24 14:55:52","doi":"10.21203/rs.3.rs-44310/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"430da89f-0678-4540-b9bf-6eed9911b126","owner":[],"postedDate":"August 14th, 2020","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[{"id":199259,"name":"Medical Informatics"}],"tags":[],"updatedAt":"2020-09-17T16:56:06+00:00","versionOfRecord":[],"versionCreatedAt":"2020-08-14 18:05:37","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v2","identity":"rs-44310","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-44310","identity":"rs-44310","version":["v2"]},"buildId":"-HB7Z8yhvgn0wM9Nzuekk","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.