COPER: Continuous Patient State Perceiver

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

Abstract

Electronic Health Records (EHRs) are inherently characterized by irregular time-series (ITS), driven by the unpredictable nature of patient health dynamics, varying hospital visit frequencies, and the diverse clinical necessity of vital sign measurements. Traditional machine learning models often struggle with these irregularities as they typically assume a coherent, fixed-dimensional feature space. This paper introduces COPER (COntinuous patient state PERceiver), a novel architecture designed to handle ITS by integrating the Perceiver model with Neural Ordinary Differential Equations (ODEs). COPER learns continuous-time dynamics for both input and output spaces, allowing it to generate regularized representations from sparse data. Evaluated on the MIMIC-III dataset for in-hospital mortality prediction, COPER demonstrates significant efficacy and robustness compared to standard baselines, particularly as data irregularity increases.

Introduction: The Challenge of Irregularity

In clinical settings, data is rarely collected at perfectly synchronized intervals. Instead, Electronic Health Records are composed of observations recorded when a nurse visits, when a specific lab is ordered, or when a patient’s condition fluctuates. This leads to "Irregular Time-Series" (ITS), where missing data can exceed 90% in datasets like MIMIC-III.

Standard deep learning architectures, such as LSTMs or Transformers, generally require data to be mapped to a fixed-dimensional grid. While researchers often use "imputation" (filling gaps with averages or previous values) to force data into these grids, such methods can introduce bias and fail to capture the underlying continuous physiological dynamics of a patient. COPER addresses this by treating time as a truly continuous variable rather than a series of discrete buckets.

The COPER Architecture

COPER utilizes a "double engine" approach to maintain continuity across the model pipeline:

  1. Embedding Layer: Raw clinical features are first projected into a latent space using a Multi-Layer Perceptron (MLP).
  2. Input Neural ODE: Rather than passing raw embeddings directly to a sequence model, COPER employs a Neural ODE to learn the continuous dynamics of the patient's state. This layer "fills in" missing time steps by solving a differential equation, effectively creating a regularized time-series for the subsequent stage.
  3. Perceiver Core: The regularized data is processed by a Perceiver architecture. Unlike standard Transformers, which face quadratic complexity relative to input length, the Perceiver uses cross-attention to map high-dimensional inputs to a smaller, fixed-size latent bottleneck. This allows for the efficient processing of long, multi-modal clinical sequences.
  4. Output Neural ODE: A second Neural ODE is applied to the Perceiver’s output. This ensures that the output space remains continuous, theoretically allowing the model to predict a patient's condition at any arbitrary point in time.
  5. Classification: A final linear layer maps the continuous representation to the target outcome, such as in-hospital mortality.

Experimental Setup

The model was evaluated using the MIMIC-III (Medical Information Mart for Intensive Care) dataset, focusing on in-hospital mortality prediction based on the first 48 hours of ICU admission. The dataset included 76 variables (vitals and lab results) across approximately 21,000 samples.

To test the model's resilience to real-world data gaps, the researchers simulated varying levels of data loss. They removed 25%, 50%, and 75% of time steps in "chunks," mimicking the irregular gaps often found between hospital visits or clinical observations.

Key Results and Insights

COPER was compared against a standard LSTM and a standalone Perceiver (utilizing simple "carry-forward" imputation).

  • Robustness to Data Loss: While the LSTM performed adequately at low levels of missing data (25% removal), its predictive accuracy plummeted as the data became sparser. In contrast, COPER and the Perceiver-baseline maintained significantly higher performance at 50% and 75% data removal.
  • Stability: COPER exhibited the lowest percentage drop in performance as irregularity increased. This suggests that the integration of Neural ODEs provides a stabilizing effect, allowing the model to maintain a coherent internal representation of the patient even when observations are scarce.
  • Continuous Dynamics: The authors argue that learning patient states via ODEs is often more efficient than the hidden state dynamics of an RNN. Because physiological states generally change slowly and continuously, the ODE framework is a natural fit for medical modeling.

Limitations and Future Directions

While COPER proved highly stable, the authors noted that it performed slightly lower than the standalone Perceiver at 0% irregularity (full data). This is likely due to the optimization complexity of training a model where two Neural ODEs are wrapped around a Perceiver core. The complex training landscape suggests that further refinement of the optimization process is required.

Future work will focus on validating the COPER framework across more diverse clinical datasets and exploring how the continuous patient states learned by the model can be applied to long-term disease progression modeling.

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