The Use of Autoencoders for Discovering Patient Phenotypes

Harini Suresh, Peter Szolovits, Marzyeh GhassemiarXiv 2017

Abstract

In the Intensive Care Unit (ICU), patient data is high-dimensional, irregular, and of varying duration, making it difficult for clinicians to move beyond static acuity scores. Researchers from MIT CSAIL demonstrate that recurrent autoencoders, specifically those utilizing Long Short-Term Memory (LSTM) cells, can effectively compress complex ICU time-series data into low-dimensional "phenotypes." These unsupervised embeddings capture the evolving state of a patient’s health more accurately than traditional methods, providing a robust foundation for personalized medicine and improved clinical intervention timing.

Introduction

Clinicians in the ICU frequently make high-stakes decisions regarding life-sustaining interventions, such as mechanical ventilation or dialysis. Often, these decisions rely on clinical intuition or static "acuity scores" like SAPS, which provide only a snapshot of a patient's condition at a single point in time. However, human physiology is dynamic—a "movie" rather than a snapshot. Electronic Health Record (EHR) data is notoriously difficult to model because it is high-dimensional, sampled at irregular intervals, and varies significantly in length across different patient stays.

The objective of this research is to move beyond manual, static scoring systems by employing deep learning to discover latent representations—or "phenotypes"—of a patient's underlying health state that account for temporal evolution.

Methodology

The researchers evaluated three distinct autoencoder architectures to determine their efficacy in reconstructing physiological signals from compressed representations.

Schematics of the three autoencoder architectures evaluated: (a) single-layer, (b) two-layer, and (c) recurrent sequence-to-sequence.
  1. Single-Layer Autoencoder: A basic architecture with one hidden layer that processes a flattened vector of all features across all timesteps.
  2. Two-Layer Autoencoder: A deeper variant of the fixed-length approach designed to capture more complex non-linear relationships.
  3. Recurrent Sequence-to-Sequence Autoencoder: This model utilizes LSTM cells. The encoder processes the sequence hourly to generate a fixed-length embedding, which the decoder then uses to reconstruct the original sequence.

Experimental Workflow

The input consisted of 30 physiological features (e.g., vitals and laboratory results) sampled hourly. Missing values were addressed using backfilling or population means. To ensure the discovery of essential features, the models were required to compress the input data by a factor of 10x (where $n$ is the input length and $m = n/10$).

Data and Experimental Setup

The study utilized the MIMIC III (Medical Information Mart for Intensive Care) dataset, comprising data from approximately 35,500 unique patients across various ICU units (Medical, Cardiac, Surgical, and Trauma). The cohort included patients older than 15 with ICU stays ranging from 12 to 2,000 hours.

Key Insights

  • Handling Variable Sequence Lengths: A significant finding was the LSTM model's superior handling of varying stay lengths. Fixed-length models often require "zero-padding" for shorter stays, which can lead to reconstruction errors where the signal erroneously trails toward zero. The recurrent model proved far more robust to these variations.
  • Unsupervised Feature Discovery: Unlike traditional scores that require expert-defined variables, autoencoders learn salient features autonomously by minimizing reconstruction error. This allows for the discovery of non-obvious dependencies between physiological measurements.
  • Cross-Unit Robustness: Performance remained stable even when models trained on specific units (e.g., the Cardiac Care Unit) were compared against those trained on the general population, suggesting the models learn fundamental physiological patterns that transcend specific hospital departments.

Results

The sequential (LSTM) autoencoder consistently outperformed the fixed-length models, achieving a lower Mean Squared Error (MSE) across all tested time intervals (4, 16, 32, and 64 hours). Furthermore, the LSTM model generalized better on smaller patient subsets, maintaining an MSE below 0.08. Qualitative analysis showed that the sequential model produced smoother, more realistic reconstructions of features like Glucose and Creatinine, closely following actual patient trajectories.

Conclusion and Future Work

This research establishes a foundational framework for using autoencoders to derive meaningful patient phenotypes from messy ICU data. While the current focus is on reconstruction accuracy, future work will involve:

  • Downstream Predictive Tasks: Applying these embeddings to predict actionable events, such as optimal weaning times for dialysis.
  • Architectural Enhancements: Exploring bidirectional LSTMs and deeper recurrent structures.
  • Clinical Validation: Directly comparing learned phenotypes against raw data for predicting mortality and intervention outcomes.

Summary updated

BibTeX
@misc{suresh2017use,
  author = {Harini Suresh and Peter Szolovits and Marzyeh Ghassemi},
  title = {{The Use of Autoencoders for Discovering Patient Phenotypes}},
  year = {2017},
  eprint = {1703.07004},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1703.07004},
}
Figure