COPER: Continuous Patient State Perceiver

Vinod Kumar Chauhan, Anshul Thakur, Odhran O'Donoghue, David A. Clifton

TL;DR

COPER (COntinuous patient state PERceiver) is a novel deep learning architecture designed to handle the messy, irregularly sampled time-series data common in Electronic Health Records (EHRs). By combining Neural Ordinary Differential Equations (ODEs) with the Perceiver architecture, COPER models patient health as a continuous trajectory, maintaining high predictive accuracy even when up to 75% of data points are missing.

What Problem Does This Paper Address?

Machine learning models typically thrive on "regular" data—think of a spreadsheet where every cell is filled and every observation happens at a fixed interval. Real-world healthcare data is the opposite. In Electronic Health Records, patient visits are sporadic, and different vital signs (heart rate, blood pressure, lab results) are measured at different times. This creates Irregular Time-Series (ITS) with massive amounts of missing data—often exceeding 85% in datasets like MIMIC-III.

Standard approaches like "carry-forward" imputation (assuming the last measured value stays the same) or mean imputation are biased and fail to capture the underlying dynamics of a patient's health. The authors aim to bridge this gap by creating a model that treats patient states as continuous functions of time rather than a sequence of discrete, incomplete snapshots.

Methods

COPER introduces a "double engine" approach to continuity, integrating two specific technologies:

  1. Neural Ordinary Differential Equations (ODEs): Instead of defining hidden states through discrete layers, Neural ODEs parameterize the derivative of the state. This allows the model to calculate a patient's state at any arbitrary point in time, effectively "filling in" the gaps in irregular data with a learned continuous flow.
  2. Perceiver Architecture: Standard Transformers scale quadratically with input length, making them expensive for long EHR records. The Perceiver uses a small set of "latent" vectors to attend to the input, creating a bottleneck that allows it to process large-scale, multi-modal data much more efficiently.

The COPER Pipeline: * Embedding: Raw features are mapped to a latent space. * Input Neural ODE: Learns the continuous dynamics of the input, generating a regularized time-series from the irregular raw data. * Perceiver: Learns temporal dependencies and cross-feature correlations from the regularized input. * Output Neural ODE: Learns the continuous dynamics of the Perceiver’s output, allowing the model to predict patient deterioration at any future time point.

![Fig.

  1. Dynamics of COPER: Neural ODE generates a continuous space from the ITS with missing steps.](/figures/art_e03177a3d3f5474b9c4ec3c467ba7aa8)

Datasets

The model was evaluated using the MIMIC-III (Medical Information Mart for Intensive Care) dataset.

  • Task: In-hospital mortality prediction (a binary classification task).
  • Data Scope: The first 48 hours of ICU admission.
  • Features: 76 variables (vitals, labs, etc.).
  • Sample Size: Approximately 21,000 patient records split into training, validation, and test sets.

Key Insights and Ideas

  • Continuity is Key: By using ODEs for both input and output, COPER doesn't just impute missing values; it learns the "physics" of how a patient's state evolves over time.
  • Perceiver as a Transformer Alternative: The paper demonstrates that the Perceiver architecture is a highly effective alternative to Recurrent Neural Networks (like LSTMs) for processing clinical time-series, especially when dealing with long contexts.
  • Robustness to Sparsity: The most striking insight is how the models degrade. While LSTMs perform well on complete data, their performance collapses as irregularity increases. COPER, however, remains remarkably stable.

Key Results

The authors compared COPER against a standard LSTM and a standalone Perceiver (using carry-forward imputation) across different levels of data removal (0%, 25%, 50%, and 75%).

  • High Irregularity Performance: At 50% and 75% data removal, COPER significantly outperformed the LSTM baseline.
  • Stability: While the LSTM’s AUROC (Area Under the Receiver Operating Characteristic curve) dropped sharply as data became sparser, COPER’s performance drop was much shallower.
  • Baseline Comparison: Interestingly, the standalone Perceiver with carry-forward was also quite robust, suggesting the Perceiver's attention mechanism is inherently well-suited for healthcare data.

![Fig.

  1. Comparison of COPER with baselines – COPER copes comparatively with irregularity.](/figures/art_ac474923989641f2933d93f20293fffc)

Limitations and Future Work

  • Optimization Complexity: COPER performed slightly worse than the pure Perceiver when data was 100% complete (0% irregularity). The authors attribute this to the increased difficulty of optimizing a model with two attached Neural ODE layers.
  • Generalization: The study was limited to a single dataset (MIMIC-III) and a single task (mortality prediction).
  • Future Directions: The authors plan to conduct more extensive testing across diverse datasets and explore ways to simplify the optimization process for the "double ODE" architecture.

Summary updated

BibTeX
@inproceedings{chauhan2022coper,
  author = {Vinod Kumar Chauhan and Anshul Thakur and Odhran O'Donoghue and David A. Clifton},
  title = {{COPER: Continuous Patient State Perceiver}},
  booktitle = {BHI},
  year = {2022},
  url = {https://openreview.net/forum?id=W8IJmSNrt45},
}
Figure