CATNet: Cross-event attention-based time-aware network for medical event prediction

Sicen Liu, Xiaolong Wang, Yang Xiang, Hui Xu, Hui Wang, Buzhou Tang

Introduction

Predicting a patient's clinical trajectory—ranging from future diagnoses and medication needs to mortality risk—is a cornerstone of modern health informatics. However, Electronic Medical Record (EMR) data presents significant challenges for standard machine learning models. EMR data is inherently heterogeneous, comprising diverse data types like lab results, procedures, and medications, and it is temporally irregular, as patient visits occur at inconsistent intervals.

In "CATNet: Cross-event Attention-based Time-aware Network for Medical Event Prediction," Sicen Liu and colleagues propose a novel deep learning architecture that addresses these complexities. By treating temporal intervals as a distinct type of medical event within a cross-attention framework, CATNet effectively models information decay and inter-event correlations to provide more accurate clinical predictions.

Methodology

The CATNet architecture is designed to unify heterogeneous clinical data and irregular temporal information into a cohesive predictive model through several key components.

Unified Embedding and Time as an Event

A central innovation of CATNet is its approach to temporal data. Traditional models often use manual decay functions to account for the fading relevance of past events. CATNet, instead, embeds the temporal interval ($\Delta t$) between visits into the same dense vector space as medical codes (diagnoses, procedures, etc.). By treating time as a "new type" of medical event, the model allows the attention mechanism to learn the specific decay rates of different clinical features dynamically without requiring a pre-defined mathematical decay function.

Cross-event Attention

The core of the network is the Cross-event Attention mechanism. Unlike standard self-attention, which treats all inputs uniformly, cross-event attention specifically learns the relationships between different event types and the intervening time intervals. This allows the model to capture how a specific diagnosis might influence a future medication choice, adjusted for the time that has elapsed since that diagnosis was recorded.

Task-Adaptive Variants

Recognizing that different clinical tasks require different focuses, the authors developed two variants of the architecture:

  • CATNet-I (Task-unaware): Designed for general outcome predictions, such as mortality. This variant attends to all historical events with equal priority to capture a holistic view of patient health.
  • CATNet-II (Task-aware): Tailored for specific predictions, such as future medications. It prioritizes "primary events" (e.g., historical medication data) while utilizing other data types (e.g., lab tests) as "auxiliary events" to provide necessary context.

Global Time Converter

To complement the visit-level (local) attention, CATNet incorporates a Global Time Converter. This component scores the impact of events across the patient's entire longitudinal history, ensuring the model captures long-term disease progression alongside recent acute changes.

Experimental Evaluation

The researchers evaluated CATNet using two prominent ICU datasets:

  1. MIMIC-III: A dataset of over 58,000 ICU stays. The study focused on a subset of 5,438 patients with multiple visits to test medication, diagnosis, lab test, procedure, and mortality prediction.
  2. eICU Collaborative Research Database: A multi-center database covering over 200,000 patients. A cohort of 9,215 patients was used to validate medication and lab test predictions.

Results and Discussion

CATNet demonstrated superior performance compared to established baselines, including DoctorAI, T-LSTM, and HiTANet, across metrics such as AUC, AUPR, and Top-$k$ recall.

Performance Highlights

  • Medication Prediction: On the MIMIC-III dataset, CATNet-II achieved an AUC of 86.21%, significantly outperforming the Transformer-based HiTANet (83.48%).
  • Mortality Prediction: CATNet-I reached an AUC of 0.6821, surpassing the next best model, HiTANet, which scored 0.6660.
  • Ablation Studies: The authors confirmed the necessity of their architectural choices through ablation. Removing the cross-event attention or the global converter resulted in a measurable performance decline, validating that both inter-event correlation modeling and global temporal context are vital for accuracy.

Conclusion

CATNet represents a significant advancement in Medical Event Prediction by successfully integrating temporal irregularity and event heterogeneity. By treating time as an intrinsic part of the event stream rather than an external variable, the model achieves a more nuanced understanding of clinical history. While future work is needed to enhance the interpretability of these models for bedside use and to test their efficacy on sparser outpatient data, CATNet provides a robust framework for the next generation of clinical decision support systems.

Summary updated

BibTeX
@article{liu2022catnet,
  author = {Sicen Liu and Xiaolong Wang and Yang Xiang and Hui Xu and Hui Wang and Buzhou Tang},
  title = {{CATNet: Cross-event attention-based time-aware network for medical event prediction}},
  journal = {Artif. Intell. Medicine},
  year = {2022},
  doi = {10.1016/j.artmed.2022.102440},
}
Figure