Representation Learning with Autoencoders for Electronic Health Records: A Comparative Study

Najibesadat Sadati, Milad Zafar Nezhad, Ratna Babu Chinnam, Dongxiao Zhu · DOI

TL;DR

This paper tackles the challenge of extracting meaningful insights from complex Electronic Health Records (EHRs) by comparing various deep autoencoder architectures for feature representation. They find that for small datasets, sparse autoencoders excel, while for larger datasets, variational autoencoders offer superior performance, highlighting the crucial role of architecture choice in EHR predictive modeling.

What Problem Does This Paper Address?

Electronic Health Records (EHRs) are a treasure trove of patient data, offering immense potential for advancing healthcare through advanced analytics. However, this data is notoriously high-dimensional, sparse, and complex, making it difficult to extract actionable insights. Traditional data science approaches often rely on feature learning to create more robust and informative representations before applying supervised learning models. A significant challenge in healthcare is the scarcity of labeled data, while unlabeled data is often abundant. This paper addresses the need for effective feature representation techniques that can leverage this abundant unlabeled data to improve predictive modeling accuracy in healthcare. Specifically, it aims to compare different deep learning-based autoencoder architectures for this purpose and provide guidance on selecting the most appropriate method based on dataset size.

Methods

The authors propose a three-step "Deep Integrated Predictive" (DIP) framework:

  1. Preprocessing and Word Embedding: This initial step involves standard data cleaning techniques like outlier detection and imputation. Crucially, categorical and text-based EHR features are transformed into numerical vectors using the GloVe word embedding algorithm. This allows for the representation of discrete data in a continuous vector space, a common practice in natural language processing but applied here to EHR features.
  2. Feature Representation using Deep Learning: This is the core of the study. Four distinct deep autoencoder architectures are employed to learn higher-level feature representations from the preprocessed data:
  3. Stacked Sparse Autoencoder (SSAE): A deep network composed of multiple autoencoders, trained layer-wise. Sparsity constraints are imposed to encourage activation of only a small number of neurons, aiming for more interpretable features and better generalization on smaller datasets.
  4. Deep Belief Network (DBN): A graphical model built by stacking Restricted Boltzmann Machines (RBMs). DBNs are trained in a greedy layer-wise unsupervised manner.
  5. Variational Autoencoder (VAE): A generative probabilistic model that learns a latent representation by assuming a distribution over the latent variables. VAEs aim to learn the true distribution of input features and are known for their ability to model complex data distributions.
  6. Adversarial Autoencoder (AAE): A probabilistic autoencoder that uses a generative adversarial network (GAN) framework. AAEs match the aggregated posterior of latent variables to an arbitrary prior distribution, aiming for flexible representation learning.
  7. Supervised Learning: Once features are extracted by the autoencoders, standard supervised learning models (Random Forests, Lasso, and Support Vector Machines) are applied to these representations for predictive tasks. The performance is evaluated using Root Mean Squared Error (RMSE).

The study emphasizes a comparative approach, iteratively evaluating and selecting the best deep architecture for feature learning based on predictive performance.

Datasets

The study utilizes three distinct EHR datasets:

  1. DMC Dataset (Small Dataset): This dataset focuses on cardiovascular disease and contains 172 features for 91 African-American patients with hypertension. The goal is to predict heart damage risk level. This dataset serves as a benchmark for evaluating performance on smaller, high-dimensional data.
  2. eICU Collaborative Research Database (Large Datasets): This publicly available database, provided by MIT and Philips, was used to create two large datasets:
  3. Cardiac-eICU: Features from cardiovascular patients.
  4. Neuro-eICU: Features from neurological patients. These datasets contain over 150 features each, with approximately 7000 and 8000 records, respectively. The objective here is to predict patient length of stay (LOS) in the Intensive Care Unit (ICU).

Key Insights and Ideas

  • Representation Matters: The study strongly reinforces the idea that feature representation is paramount for successful predictive modeling with EHR data. Different deep learning architectures yield significantly different results.
  • Dataset Size is a Key Differentiator: The performance of autoencoder architectures is highly dependent on the size of the dataset. This is a critical insight for practitioners.
  • Sparsity for Small Data: For smaller, high-dimensional datasets like the DMC cardiovascular data, sparsity regularization (as in SSAE) proves beneficial. This likely helps prevent overfitting and encourages more generalizable features.
  • Generative Models for Large Data: For larger, more complex datasets like those from eICU, generative autoencoders (VAE and AAE) demonstrate superior performance. Their ability to learn the underlying data distribution and capture complex relationships is advantageous.
  • Beyond Original Features: The proposed representation learning approach consistently outperforms using raw, unrepresented features across various supervised learning models and datasets.

Key Results

  • Small Dataset (DMC): Stacked Sparse Autoencoder (SSAE) combined with Random Forests achieved the lowest RMSE (6.89), significantly outperforming other autoencoder-supervised learning combinations and the baseline using original features (RMSE 11.08).
  • Large Datasets (eICU): Variational Autoencoder (VAE) consistently achieved the lowest RMSE across all supervised learning models for both Cardiac-ICU and Neuro-ICU datasets. For instance, VAE with Lasso achieved an RMSE of 2.83 on the Cardiac-ICU dataset, while the original features with Lasso yielded an RMSE of 4.14. AAE also performed very well. SSAE and DBN did not improve accuracy as much as VAE and AAE on these large datasets.
  • Comparison to Baseline: The study also compared its results to the APACHE approach for predicting ICU length of stay, finding that their machine learning approaches (both original and represented data) significantly outperformed APACHE.

Limitations and Future Work

  • Interpretability Trade-off: While deep learning models offer powerful feature representation, their interpretability can be a challenge, especially for complex generative models. The paper acknowledges that shallow feature learning methods offer better interpretability.
  • Computational Cost: Training deep learning models, particularly autoencoders, can be computationally expensive and requires careful hyperparameter tuning.
  • Scenario Exploration: The authors suggest future work should systematically compare generative models (AAE, VAE) with regular autoencoders (SSAE, DBN) across four specific scenarios defined by the number of instances (n) and features (p) in the dataset (large n/large p, large n/small p, small n/large p, small n/small p). This would provide more granular insights into architecture selection.
  • Broader Application: While the study focuses on two specific predictive tasks (heart failure risk and ICU length of stay), future work could explore a wider range of clinical prediction problems.

Summary updated

BibTeX
@misc{sadati2019representation,
  author = {Najibesadat Sadati and Milad Zafar Nezhad and Ratna Babu Chinnam and Dongxiao Zhu},
  title = {{Representation Learning with Autoencoders for Electronic Health Records: A Comparative Study}},
  year = {2019},
  eprint = {1908.09174},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1908.09174},
}
Figure