Abstract
With the development of medical informatization, electronic medical records are important in hospital information systems, and their use for patient mortality prediction can contribute to further improvement of clinical auxiliary diagnosis decision-making systems. Existing models for mortality risk prediction achieve good performance; however, data utilisation is limited predominantly to a single aspect. In this study, a scalable two-layer attention mechanism neural network is proposed to predict patient mortality by focusing on the patient diagnostic code, drug code, surgical code, and global condition. The first layer of the attention network uses three independent long short-term memory networks to learn the attention features of diagnosis, medication, and surgery of a patient single admission, and output three feature matrices. The feature matrix output of the first layer of the attention network is spliced and input for use, and the second layer of the attention network uses the transformer encoder. Finally, a fully connected layer is used to obtain the mortality prediction of the patient. The feasibility of the model is demonstrated by comparison with baseline methods and ablation experiments. In conclusion, the proposed model can comprehensively consider the information of patient diagnosis, medication, and surgery, and has good practicability and scalability.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
MIT Critical Data: Secondary Analysis of Electronic Health Records. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-43742-2
Chaudhari, S., Mithal, V., Polatkan, G., et al.: An attentive survey of attention models. ACM Trans. Intell. Syst. Technol. (TIST) 12(5), 1–32 (2021)
Hao, S., Lee, D.-H., Zhao, D.: Sequence to sequence learning with attention mechanism for short-term passenger flow prediction in large-scale metro system. Transp. Res. Part C: Emerg. Technol. 107, 287–300 (2019)
Che, Z., Purushotham, S., Cho, K., et al.: Recurrent neural networks for multivariate time series with missing values. arXiv e-prints (2016)
Hewamalage, H., Bergmeir, C., Bandara, K.: Recurrent neural networks for time series forecasting: current status and future directions. Int. J. Forecast. 37, 388–427 (2021)
Baytas, I.M., Cao, X., Xi, Z., et al.: Patient subtyping via time-aware LSTM networks. In: ACM SIGKDD International Conference on Knowledge Discovery & Data Mining. ACM (2017)
Maragatham, G., Devi, S.: LSTM model for prediction of heart failure in big data. J. Med. Syst. 43, 1–13 (2019)
Lu, W., Ma, L., Chen, H., et al.: A clinical prediction model in health time series data based on long short-term memory network optimized by fruit fly optimization algorithm. IEEE Access 8, 136014–136023 (2020)
Khoshnevisan, F., Ivy, J., Capan, M., Arnold, R., Huddleston, J., Chi, M.: Recent temporal pattern mining for septic shock early prediction. In: 2018 IEEE International Conference on Healthcare Informatics (ICHI) (2018)
Park, H.J., Jung, D.Y., Ji, W., et al.: Detection of bacteremia in surgical in-patients using recurrent neural network based on time series records: development and validation study. J. Med. Internet Res. 22(8), e19512 (2020)
Reddy, B.K., Dursun, D.: Predicting hospital readmission for lupus patients: an RNN-LSTM-based deep-learning methodology. Comput. Biol. Med. 101, 199–209 (2018)
Yang, Y., Fasching, P.A., Tresp, V.: Predictive modeling of therapy decisions in metastatic breast cancer with recurrent neural network encoder and multinomial hierarchical regression decoder. In: 2017 IEEE International Conference on Healthcare Informatics (ICHI). IEEE (2017)
Hung, C.Y., Chen, W.C., Lai, P.T., et al.: Comparing deep neural network and other machine learning algorithms for stroke prediction in a large-scale population-based electronic medical claims database. In: 2017 39th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC). IEEE (2017)
Choi, E., Bahadori, M.T., Sun, J., et al.: RETAIN: an interpretable predictive model for healthcare using reverse time attention mechanism. In: Advances in Neural Information Processing Systems, vol. 29 (2016)
Li, Y., Rao, S., Solares, J.R.A., et al.: BEHRT: transformer for electronic health records. Sci. Rep. 10(1), 1–12 (2020)
Shahid, F., Zameer, A., Muneeb, M.: Predictions for COVID-19 with deep learning models of LSTM, GRU and Bi-LSTM. Chaos Solitons Fractals 140, 110212 (2020)
Thorsen-Meyer, H.C., Nielsen, A.B., Nielsen, A.P., et al.: Dynamic and explainable machine learning prediction of mortality in patients in the intensive care unit: a retrospective study of high-frequency data in electronic patient records. Lancet Digit. Health 2(4), e179–e191 (2020)
Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9, 1735–1780 (1997)
Vaswani, A., Shazeer, N., Parmar, N., et al.: Attention is all you need. arXiv (2017)
Lin, T.-Y., Goyal, P., Girshick, R., He, K., Dollár, P.: Focal loss for dense object detection. In: IEEE International Conference on Computer Vision (ICCV), Venice, Italy, pp. 2999–3007 (2017)
Johnson, A.E.W., et al.: MIMIC-III, a freely accessible critical care database. Sci. Data 3, 160035 (2016)
Breiman, L.: Random forests. Mach. Learn. 45, 5–32 (2001)
Author information
Authors and Affiliations
Corresponding authors
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Wang, L. et al. (2023). Patient Mortality Prediction Based on Two-Layer Attention Neural Network. In: Huang, DS., Premaratne, P., Jin, B., Qu, B., Jo, KH., Hussain, A. (eds) Advanced Intelligent Computing Technology and Applications. ICIC 2023. Lecture Notes in Computer Science, vol 14088. Springer, Singapore. https://doi.org/10.1007/978-981-99-4749-2_20
Download citation
DOI: https://doi.org/10.1007/978-981-99-4749-2_20
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-99-4748-5
Online ISBN: 978-981-99-4749-2
eBook Packages: Computer ScienceComputer Science (R0)