[Paper Review] Simple Recurrent Neural Networks is all we need for clinical events predictions using EHR data
This study evaluates a wide range of recurrent neural network (RNN) architectures for predicting clinical events using electronic health record (EHR) data. It finds that simple, unidirectional Gated Recurrent Units (GRU) achieve the best performance on two real-world EHR prediction tasks—heart failure risk and 30-day early readmission—outperforming more complex models and traditional machine learning methods, suggesting that architectural simplicity with proper hyperparameter tuning is sufficient for high performance in EHR-based clinical prediction.
Recently, there is great interest to investigate the application of deep learning models for the prediction of clinical events using electronic health records (EHR) data. In EHR data, a patient's history is often represented as a sequence of visits, and each visit contains multiple events. As a result, deep learning models developed for sequence modeling, like recurrent neural networks (RNNs) are common architecture for EHR-based clinical events predictive models. While a large variety of RNN models were proposed in the literature, it is unclear if complex architecture innovations will offer superior predictive performance. In order to move this field forward, a rigorous evaluation of various methods is needed. In this study, we conducted a thorough benchmark of RNN architectures in modeling EHR data. We used two prediction tasks: the risk for developing heart failure and the risk of early readmission for inpatient hospitalization. We found that simple gated RNN models, including GRUs and LSTMs, often offer competitive results when properly tuned with Bayesian Optimization, which is in line with similar to findings in the natural language processing (NLP) domain. For reproducibility, Our codebase is shared at https://github.com/ZhiGroup/pytorch_ehr.
Motivation & Objective
- To evaluate the performance of diverse RNN architectures for predicting clinical events using longitudinal EHR data.
- To determine whether complex RNN innovations improve predictive performance over simpler models in clinical settings.
- To benchmark RNN-based models against traditional machine learning methods like random forest and logistic regression.
- To assess the impact of hyperparameter tuning and optimization strategies on model performance in EHR prediction.
- To provide a comprehensive, empirically grounded evaluation of RNN models for clinical risk prediction, similar to evaluations in NLP.
Proposed method
- The study evaluates 12 RNN-based architectures, including vanilla RNN, LSTM, GRU, Bi-directional, Dilated, QRNN, and T-LSTM, using PyTorch v0.4.
- Three cell types (vanilla RNN, LSTM, GRU) and three connection types (standard, bidirectional, dilated) are combined to form 9 core RNN variants.
- Two additional models, Quasi-RNN (QRNN) and Time-aware LSTM (T-LSTM), are included for comparison.
- A non-deep learning baseline is established using logistic regression (LR) and random forest (RF).
- Hyperparameters such as embedding dimension, hidden size, learning rate, weight decay, and tolerance are optimized using Bayesian optimization across 7 optimizers (Adam, Adamax, Adagrad, Adadelta, RMSprop, ASGD, SGD).
- The model evaluation uses a 7:1:2 train-validation-test split, with AUROC as the primary metric on two EHR cohorts from the Cerner Healthfacts® database.
Experimental results
Research questions
- RQ1Does a simple RNN architecture like GRU outperform more complex RNN variants in predicting clinical events from EHR data?
- RQ2To what extent do architectural innovations such as bidirectional or dilated connections improve predictive performance in EHR-based clinical modeling?
- RQ3How do deep learning RNN models compare to traditional machine learning models like random forest and logistic regression in EHR prediction tasks?
- RQ4Is the performance gain from complex RNN architectures justified given the computational cost and tuning effort?
- RQ5Can hyperparameter optimization alone achieve state-of-the-art performance without architectural complexity?
Key findings
- The unidirectional GRU achieved the highest AUROC of 84.8 on the heart failure prediction task, outperforming all other RNN variants and traditional models.
- For early readmission prediction, the GRU achieved an AUROC of 75.5, the highest among all models tested, including Bi-GRU and Bi-LSTM.
- The vanilla RNN and GRU models performed competitively, with AUROCs of 83.3 and 84.8 on the HF task, respectively, indicating that simple architectures are highly effective.
- Bidirectional and dilated variants of RNNs showed mixed results, with Bi-GRU achieving 84.5 AUROC on HF and 74.4 on readmission, slightly below the unidirectional GRU.
- The inclusion of ensemble methods (GRU + LR) did not improve performance, suggesting that the GRU alone is already optimal for the given tasks.
- Traditional models like random forest (78.8 AUROC) and logistic regression (79.0 AUROC) underperformed the best RNN models, especially on the readmission task.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.