Sequential Multi-Dimensional Self-Supervised Learning for Clinical Time Series

Aniruddh Raghu, Payal Chandak, Ridwan Alam, John V. Guttag, Collin M. Stultz

Introduction

In the Intensive Care Unit (ICU), patients generate a continuous stream of heterogeneous data. These "clinical trajectories" consist of high-frequency physiological waveforms, such as electrocardiograms (ECGs) sampled hundreds of times per second, alongside structured clinical data like laboratory results and vital signs recorded at hourly intervals.

While self-supervised learning (SSL) has shown immense promise in learning representations from unlabeled data, most existing methods are unimodal and focus on a single scale. They either analyze a standalone high-dimensional signal (e.g., a 10-second ECG) or a sequence of low-dimensional tabular features. However, clinical reality is both multimodal and hierarchical. A single timestep in a patient’s stay is a complex object, and the relationship between fine-grained physiological details and long-term clinical progression is vital for accurate prognosis. This paper, presented at ICML 2023, introduces Sequential Multi-Dimensional Self-Supervised Learning (SMD SSL) to bridge this gap.

The SMD SSL Framework

The core contribution of this work is a hierarchical approach to SSL designed specifically for clinical trajectories. The authors formalize a patient's journey as a sequence of timesteps, where each step contains both structured features and a corresponding high-dimensional signal.

Architecture

The model architecture is designed to process these multi-dimensional sequences through three primary components:

  1. Signal Encoder: A 1D ResNet that transforms high-frequency waveforms into latent embeddings.
  2. Structured Data Encoder: A Multi-Layer Perceptron (MLP) that processes tabular clinical features.
  3. Sequence Processor: A Gated Recurrent Unit (GRU) that integrates the combined embeddings over time to capture the patient's temporal evolution.

Hierarchical Loss Function

The "multi-dimensional" aspect of the framework refers to a two-level loss function that ensures the model captures features at different granularities:

  • Component Loss ($L_C$): This loss is applied to individual high-dimensional signals at each specific timestep. It forces the signal encoder to retain the nuances of physiological waveforms.
  • Global Loss ($L_G$): This loss is applied to the embedding of the entire multi-hour trajectory, encouraging the model to recognize long-term physiological trends and patient-level outcomes.

The total pre-training loss is a weighted sum: $L_{PT} = \alpha L_G + \beta L_C$. A significant advantage of this framework is that it is loss-agnostic; it can be implemented with contrastive objectives like SimCLR or non-contrastive objectives like VICReg.

Experimental Evaluation

The authors evaluated SMD SSL on two large-scale clinical datasets:

  • MGH Dataset (Private): Data from 9,605 heart failure patients at Massachusetts General Hospital, including 4-channel ECGs (240 Hz) and 30 structured features.
  • MIMIC-III (Public): A cohort of 5,689 patients including 1-channel ECGs (125 Hz) and 13 structured features.

The framework was tested on two critical downstream tasks: detecting Elevated Mean Pulmonary Artery Pressure (mPAP)—a key hemodynamic marker—and predicting 24-hour Mortality.

Results and Key Insights

The Necessity of Multi-Scale Supervision

The experiments revealed that global sequence-level supervision alone is insufficient for high-dimensional clinical data. Without the component-level loss ($L_C$), the complex features of physiological signals tend to be "washed out" during the optimization of the long-term trajectory. By enforcing local signal representation, the model retains the fine-grained details necessary for accurate clinical assessment.

Performance Gains

SMD SSL consistently outperformed unimodal and single-level baselines:

  • mPAP Detection: On the MGH dataset, SMD SSL (using SimCLR) achieved an AUROC of 69.9, significantly higher than the 65.0 achieved by a randomly initialized model and the 68.1 of a standard global-only SSL approach.
  • Mortality Prediction: On the MIMIC-III dataset, the multimodal SMD SSL approach reached a 90.7 AUROC, compared to the 87.8 baseline.

Representational Specialization

Using Centered Kernel Alignment (CKA) analysis, the authors investigated how the different losses affect the model's internal representations. They found that the component loss primarily influences the earlier layers of the signal encoder, while the global loss has a greater impact on the later layers. This suggests the model naturally learns a hierarchy: identifying "what is this signal?" in early stages and "how does this signal fit into the patient's history?" in later stages.

Conclusion and Future Work

SMD SSL provides a robust framework for learning from the complex, hierarchical nature of clinical data. By jointly optimizing for local signal features and global temporal trends, the method achieves superior performance in predicting patient outcomes.

While the current study focused on ECGs and tabular data, the authors note that the framework could be extended to include other modalities such as medical imaging or clinical notes. Future research may also address the challenges of variable-length trajectories and the development of more physiologically informed data augmentation strategies to further enhance the model's predictive power in real-world clinical settings.

Summary updated

BibTeX
@inproceedings{raghu2023sequential,
  author = {Aniruddh Raghu and Payal Chandak and Ridwan Alam and John V. Guttag and Collin M. Stultz},
  title = {{Sequential Multi-Dimensional Self-Supervised Learning for Clinical Time Series}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=WhRLdsDTBD},
}
Figure