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
. 2017 Mar 1;24(2):361-370.
doi: 10.1093/jamia/ocw112.

Using recurrent neural network models for early detection of heart failure onset

Affiliations

Using recurrent neural network models for early detection of heart failure onset

Edward Choi et al. J Am Med Inform Assoc. .

Abstract

Objective: We explored whether use of deep learning to model temporal relations among events in electronic health records (EHRs) would improve model performance in predicting initial diagnosis of heart failure (HF) compared to conventional methods that ignore temporality.

Materials and methods: Data were from a health system's EHR on 3884 incident HF cases and 28 903 controls, identified as primary care patients, between May 16, 2000, and May 23, 2013. Recurrent neural network (RNN) models using gated recurrent units (GRUs) were adapted to detect relations among time-stamped events (eg, disease diagnosis, medication orders, procedure orders, etc.) with a 12- to 18-month observation window of cases and controls. Model performance metrics were compared to regularized logistic regression, neural network, support vector machine, and K-nearest neighbor classifier approaches.

Results: Using a 12-month observation window, the area under the curve (AUC) for the RNN model was 0.777, compared to AUCs for logistic regression (0.747), multilayer perceptron (MLP) with 1 hidden layer (0.765), support vector machine (SVM) (0.743), and K-nearest neighbor (KNN) (0.730). When using an 18-month observation window, the AUC for the RNN model increased to 0.883 and was significantly higher than the 0.834 AUC for the best of the baseline methods (MLP).

Conclusion: Deep learning models adapted to leverage temporal relations appear to improve performance of models for detection of incident heart failure with a short observation window of 12-18 months.

Keywords: deep learning; electronic health records; heart failure prediction; patient progression model; recurrent neural network.

PubMed Disclaimer

Figures

Figure 1.
Figure 1.
(A) One-hot vector encoding of clinical events. t in (B) indicates the time at which the event occurs, assuming we make the prediction at time t7. We appended the time duration feature at the end of the one-hot vector, as shown in (C).
Figure 2.
Figure 2.
The GRU model architecture (A), and building blocks (B). Note that vectors are denoted in bold lowercase, matrices in bold uppercase, and scalars in plain lowercase letters.
Figure 3.
Figure 3.
Two experimental settings where we alternately changed the length of the prediction window and the observation window. In (A), the prediction window was fixed at 6 months, while we varied the length of the observation window. In (B), the observation length was fixed at 9 months, while we varied the length of the prediction window.
Figure 4.
Figure 4.
Heart failure prediction performance of the GRU and baseline models. All models were trained and tested using the dataset created from the 12-month observation window and the 6-month prediction window. The values of the AUC and the standard error are provided in the supplementary section.
Figure 5.
Figure 5.
Heart failure prediction performance of the GRU and baseline models. All models were trained and tested using the dataset created from the 18-month observation window and 0-month prediction window. The values of the AUC and the standard error are provided in the supplementary section.
Figure 6.
Figure 6.
Training time vs number of patients.

References

    1. Roger VL, Weston SA, Redfield MM, et al. Trends in heart failure incidence and survival in a community-based population. JAMA 2004;292(3):344–350. - PubMed
    1. Murphy SL, Xu J, Kochanek KD. Deaths: final data for 2010. Natl Vital Stat Rep 2010;61(4):1–117. - PubMed
    1. Investigators SOLVD. Effect of enalapril on mortality and the development of heart failure in asymptomatic patients with reduced left ventricular ejection fractions. N Engl J Med 1992;327:685–691. - PubMed
    1. Arnold J, Yusuf S, Young J, et al. Prevention of heart failure in patients in the Heart Outcomes Prevention Evaluation (HOPE) study. Circulation 2003;107(9):1284–1290. - PubMed
    1. Sciarretta S, Palano F, Tocci G, Baldini R, Volpe M. Antihypertensive treatment and development of heart failure in hypertension: a Bayesian network meta-analysis of studies in patients with hypertension and high cardiovascular risk. Arch Int Med 2011;171(5):384–394. - PubMed

LinkOut - more resources