Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Aug 20:4:e71247.
doi: 10.2196/71247.

A Real-Time Signal-Based Wavelet Long Short-Term Memory Method for Length-of-Stay Prediction for the Intensive Care Unit: Development and Evaluation Study

Affiliations

A Real-Time Signal-Based Wavelet Long Short-Term Memory Method for Length-of-Stay Prediction for the Intensive Care Unit: Development and Evaluation Study

Yiqun Jiang et al. JMIR AI. .

Abstract

Background: Efficient allocation of health care resources is essential for long-term hospital operation. Effective intensive care unit (ICU) management is essential for alleviating the financial strain on health care systems. Accurate prediction of length-of-stay in ICUs is vital for optimizing capacity planning and resource allocation, with the challenge of achieving early, real-time predictions.

Objective: This study aimed to develop a predictive model, namely wavelet long short-term memory model (WT-LSTM), for ICU length-of-stay using only real-time vital sign data. The model is designed for urgent care settings where demographic and historical patient data or laboratory results may be unavailable; the model leverages real-time inputs to deliver early and accurate ICU length-of-stay predictions.

Methods: The proposed model integrates discrete wavelet transformation and long short-term memory (LSTM) neural networks to filter noise from patients' vital sign series and improve length-of-stay prediction accuracy. Model performance was evaluated using the electronic ICU database, focusing on 10 common ICU admission diagnoses in the database.

Results: The results demonstrate that WT-LSTM consistently outperforms baseline models, including linear regression, LSTM, and bidirectional long short-term memory, in predicting ICU length-of-stay using vital sign data, achieving significant improvements in mean square error. Specifically, the wavelet transformation component of the model enhances the overall performance of WT-LSTM. Removing this component results in an average decrease of 3.3% in mean square error; such a phenomenon is particularly pronounced in specific patient cohorts. The model's adaptability is highlighted through real-time predictions using only 3-hour, 6-hour, 12-hour, and 24-hour input data. Using only 3 hours of input data, the WT-LSTM model delivers competitive results across the 10 most common ICU admission diagnoses, often outperforming Acute Physiology and Chronic Health Evaluation IV, the leading ICU outcome prediction system currently implemented in clinical practice. WT-LSTM effectively captures patterns from vital signs recorded during the initial hours of a patient's ICU stay, making it a promising tool for early prediction and resource optimization in the ICU.

Conclusions: Our proposed WT-LSTM model, based on real-time vital sign data, offers a promising solution for ICU length-of-stay prediction. Its high accuracy and early prediction capabilities hold significant potential for enhancing clinical practice, optimizing resource allocation, and supporting critical clinical and administrative decisions in ICU management.

Keywords: ICU management; convolutional layer; healthcare resource optimization; intensive care unit; real-time vital signs; signal processing; urgent care.

PubMed Disclaimer

Conflict of interest statement

Conflicts of Interest: None declared.

Figures

Figure 1.
Figure 1.. Alterations in vital sign series during level 2 discrete wavelet transform filter bank application.
Figure 2.
Figure 2.. Wavelet long short-term memory model network structure.
Figure 3.
Figure 3.. Predicted distribution of wavelet long short-term memory model with 3 h of vital signs versus Acute Physiology and Chronic Health Evaluation IV. CA: cardiac arrest; CABG: coronary artery bypass grafting; CVA: cerebrovascular accident or stroke; DK: diabetic ketoacidosis; EB: emphysema or bronchitis; HF: heart failure; MI: myocardial infarction; RD: rhythm disturbance; SR: sepsis, renal; SP: sepsis, pulmonary.
Figure 4.
Figure 4.. Predicted distribution of wavelet long short-term memory model with 24 hours of vital signs versus Acute Physiology and Chronic Health Evaluation IV. CA: cardiac arrest; CABG: coronary artery bypass grafting; CVA: cerebrovascular accident or stroke; DK: diabetic ketoacidosis; EB: emphysema or bronchitis; HF: heart failure; MI: myocardial infarction; RD: rhythm disturbance; SR: sepsis, renal; SP: sepsis, pulmonary.

Similar articles

References

    1. Weissman C. Analyzing intensive care unit length of stay data: problems and possible solutions. Crit Care Med. 1997 Sep;25(9):1594–1600. doi: 10.1097/00003246-199709000-00031. doi. Medline. - DOI - PubMed
    1. Chalfin DB, Cohen IL, Lambrinos J. The economics and cost-effectiveness of critical care medicine. Intensive Care Med. 1995 Nov;21(11):952–961. doi: 10.1007/BF01712339. doi. Medline. - DOI - PubMed
    1. Halpern NA, Bettes L, Greenstein R. Federal and nationwide intensive care units and healthcare costs: 1986-1992. Crit Care Med. 1994 Dec;22(12):2001–2007. Medline. - PubMed
    1. Verburg IWM, Atashi A, Eslami S, et al. Which models can I use to predict adult ICU length of stay? A systematic review. Crit Care Med. 2017 Feb;45(2):e222–e231. doi: 10.1097/CCM.0000000000002054. doi. Medline. - DOI - PubMed
    1. Azari A, Janeja VP, Mohseni A. Healthcare data mining: predicting hospital length of ltay (PHLOS) Int J Knowl Discov Bioinforma. 2012 Jul 1;3(3):44–66. doi: 10.4018/jkdb.2012070103. doi. - DOI

LinkOut - more resources