Early Sepsis Prediction Using Ensemble Learning with Features Extracted from LSTM Recurrent Neural Network

Zhengling He, Xianxiang Chen, Zhen Fang, Weidong Yi, Chenshuo Wang, Li Jiang, Zhongkai Tong, Zhongrui Bai, Yueqi Li, Yichen PanComputing 2019

Abstract

Early prediction of sepsis can help to identify potential risks in time and help take necessary measures to prevent more dangerous situations from occurring. In PhysioNet/Computing in Cardiology Challenge 2019, we integrate Long Short Term Memory (LSTM) recurrent neural network and ensemble learning to achieve early sepsis prediction. Specifically, we tackle the problem of class imbalance and data missing firstly, and then we manually extract features according to the prior knowledge from the medical field. In addition, we regard the prediction of sepsis as a time series prediction problem and pre-train LSTM-based models as feature extractors to obtain the "deep" features on time series that might be related to the onset of sepsis. Manual features and "deep" features are then used to train prediction models under the framework of ensemble learning, including Extreme Gradient Boosting (XGBoost) and Gradient Boosting Decision Tree (GBDT) regressor. The final normalized utility score our team (UCAS_DataMiner) have obtained was 0.313 on full hidden test set.

Introduction

Sepsis is a life-threatening condition caused by a dysregulated host response to infection, often leading to organ failure and death. Because the window for effective intervention is narrow, early prediction is critical for patient survival. However, predicting sepsis from Electronic Health Records (EHRs) presents two major technical hurdles: significant data imbalance, where sepsis cases are rare compared to non-sepsis cases, and missing data, as clinical measurements are often taken at irregular intervals.

This paper proposes a hybrid approach to bridge the gap between traditional clinical scoring systems—which are interpretable but can be slow to react—and modern deep learning, which captures complex temporal patterns but often lacks transparency.

Methodology

The authors developed a multi-stage pipeline to process hourly physiological data, focusing on robust feature engineering and ensemble modeling.

Preprocessing & Imputation

To handle missing values, a "prior adjacent value" filling method (forward-filling) was used. To combat class imbalance, the authors performed aggressive downsampling of the majority (non-sepsis) class during the training phase.

Feature Engineering

The core of the approach is a hybrid feature set:

  • Manual Features: Features were calculated based on the SOFA (Sequential Organ Failure Assessment) and SIRS (Systemic Inflammatory Response Syndrome) criteria. This included binarizing parameters and calculating ratios between current values and baselines.
  • Deep Features: A multi-layer LSTM network was trained to capture sequential dependencies. Instead of using the LSTM for final prediction, the authors used it as a feature extractor, taking the output of the last hidden layer as a "deep feature" vector. A masking layer was implemented to handle variable ICU stay lengths.

Ensemble Learning

The final prediction is made by a "Level-2 Regressor" ensemble consisting of XGBoost and GBDT models. The team trained multiple models using various feature subsets and averaged their outputs to produce the final sepsis probability.

The hybrid model architecture combining LSTM feature extraction with ensemble learning.

Results and Evaluation

The study utilized the official dataset from the PhysioNet/Computing in Cardiology Challenge 2019, containing data from over 40,000 subjects. The primary metric was a "normalized utility score," which rewards early, accurate predictions.

Internal cross-validation showed that while individual models using only raw data or clinical scores performed decently, the ensemble of XGBoost and GBDT consistently outperformed single-model approaches. The integration of deep features from the LSTM provided a significant boost to the model's ability to generalize across temporal patterns.

Performance comparison of different feature subsets and the final ensemble model.

The team (UCAS_DataMiner) achieved a final normalized utility score of 0.313 on the full hidden test set. On internal 5-fold cross-validation, the ensemble model reached a score of 0.401.

Discussion and Conclusion

The results highlight the efficacy of treating LSTMs as sophisticated dimensionality reduction tools rather than end-to-end classifiers. By feeding temporal "summaries" into gradient boosting models, the system remains robust for tabular-style clinical data.

Future work will focus on increasing feature depth by integrating a wider array of medical domain knowledge and exploring more sophisticated imputation methods, such as GAN-based imputation, to better handle the high sparsity of real-world EHR data.

Summary updated

BibTeX
@inproceedings{he2019early,
  author = {Zhengling He and Xianxiang Chen and Zhen Fang and Weidong Yi and Chenshuo Wang and Li Jiang and Zhongkai Tong and Zhongrui Bai and Yueqi Li and Yichen Pan},
  title = {{Early Sepsis Prediction Using Ensemble Learning with Features Extracted from LSTM Recurrent Neural Network}},
  booktitle = {Computing},
  year = {2019},
  doi = {10.22489/cinc.2019.269},
}
Figure