Learning Unsupervised Representations for ICU Timeseries

Addison Weatherhead, Robert Greer, Michael-Alice Moga, Mjaye Mazwi, Danny Eytan, Anna Goldenberg, Sana TonekaboniCHIL 2022

Abstract

The Intensive Care Unit (ICU) generates vast amounts of high-frequency physiological data, yet the lack of precise clinical labels hinders the development of effective predictive models. We present TRACE (TempoRal AutoCorrelation Encoding), an unsupervised learning framework designed to extract meaningful "patient state" representations from noisy, multivariate ICU time series. By utilizing autocorrelation to define temporal neighborhoods, TRACE achieves robustness against missing data and irregular sampling. Our evaluation on large-scale ICU datasets demonstrates that TRACE-learned representations can predict critical clinical events hours in advance, outperforming existing unsupervised methods and providing a foundation for early warning systems.

Introduction: The Labeling Bottleneck in the ICU

Clinicians in the ICU are often overwhelmed by continuous streams of vital signs from bedside monitors. While machine learning offers a potential solution for real-time monitoring, traditional supervised approaches are limited by a "labeling bottleneck." Defining precise clinical states (e.g., the exact onset of sepsis) is difficult, and expert disagreement is common. Furthermore, ICU data is characterized by noise and frequent missing values, which complicates existing unsupervised methods that rely on fragile statistical tests for stationarity.

The TRACE Framework

TRACE builds upon the Temporal Neighborhood Coding (TNC) framework, employing contrastive learning to map time series windows into a latent representation space. The core assumption is that windows close in time likely share the same underlying physiological state.

Autocorrelation-Based Neighborhoods

A primary innovation of TRACE is the use of autocorrelation to define temporal neighborhoods. Unlike the Augmented Dickey-Fuller (ADF) test used in previous models, which is computationally expensive and sensitive to missing data, TRACE utilizes the absolute value of the autocorrelation score. This approach is approximately 100 times faster and significantly more robust to the irregularities of real-world clinical data.

Figure 2: TRACE defines temporal neighborhoods using autocorrelation and lag to identify windows representing similar physiological states.

In addition to neighborhood definition, TRACE incorporates Automatic Dimension Pruning to optimize representation size by removing redundant, highly correlated dimensions during training. The architecture utilizes Dilated Causal Encoders to process multivariate signals while strictly adhering to temporal causality, preventing data leakage from the future.

Experimental Setup

The framework was validated on two diverse datasets:

  1. HiRID Dataset: Comprising over 33,000 adult admissions with 712 physiological variables from Bern University Hospital.
  2. SickKids Pediatric ICU Dataset: A high-resolution private dataset from Toronto, featuring vitals like end-tidal CO2 and heart rate sampled at high frequencies over five years.

Results and Discussion

TRACE consistently demonstrated superior performance across various downstream clinical tasks. On the HiRID dataset, TRACE achieved an AUROC of 0.80 for 12-hour mortality prediction, surpassing the baseline TNC model (0.77).

Figure 3: Performance comparison of TRACE against other unsupervised methods on the HiRID dataset for mortality prediction.

On the pediatric dataset, the model reached an exceptional AUROC of 0.98 for predicting cardiopulmonary arrest (CPA). Qualitative analysis further revealed that TRACE's learned "risk scores" often spiked up to 10 hours before circulatory failure, suggesting a substantial window for preventative intervention.

Physiology as a Trajectory

By visualizing the learned representations, researchers observed that patients follow distinct "trajectories" toward high-risk clusters. This unsupervised discovery allowed for the identification of physiological sub-phenotypes, such as different signatures of cardiac arrest (e.g., bradycardic vs. pulseless), which align with established clinical categories.

Conclusion and Future Directions

TRACE represents a significant advancement in unsupervised representation learning for clinical time series. By replacing complex stationarity tests with robust autocorrelation measures, it enables the processing of messy, real-world ICU data at scale. Future work will focus on improving the interpretability of these latent representations—moving from "black box" risk scores to explainable clinical insights—and exploring the deployment of TRACE in real-time clinical settings for early warning and knowledge discovery.

Summary updated

BibTeX
@inproceedings{weatherhead2022learning,
  author = {Addison Weatherhead and Robert Greer and Michael-Alice Moga and Mjaye Mazwi and Danny Eytan and Anna Goldenberg and Sana Tonekaboni},
  title = {{Learning Unsupervised Representations for ICU Timeseries}},
  booktitle = {CHIL},
  year = {2022},
}
Figure