Time-Aware Contrastive Transformer for Longitudinal Patient Representation Learning
Heinolainen, A.; Tran, L.; Arora, A.; Silen, S.; Renkonen, R.; Koskinen, M.
Show abstract
Learning high-quality longitudinal patient representations from irregular electronic health records (EHRs) is essential for understanding heterogeneity in time-evolving diseases such as cancer. Longitudinal patient representation learning methods often rely on external labels for downstream tasks or do not model the temporal dynamics between medical events explicitly, reducing the clinical applicability of learned disease trajectories. In this work, we propose the Time-Aware-Contrastive-Transformer (TACT), a transformer-based model that integrates explicit temporal modeling with a fully self-supervised contrastive learning framework. We introduce a sampling-based data augmentation workflow that leverages hierarchical taxonomies of diagnoses and medications to enrich representation learning. Evaluated on a large real-world dataset, TACT demonstrates robust performance across patient representation and event embedding metrics and outperforms two time-aware transformer comparison models. Unlike the comparison models, TACT successfully bridges contrastive learning with medical hierarchies, allowing it to track precise disease trajectories and discover clinically actionable patient phenotypes. Consequently, this approach establishes a comprehensive framework for characterizing patient heterogeneity through the identification of potentially clinically meaningful subgroups with distinct progression profiles.
Matching journals
The top 4 journals account for 50% of the predicted probability mass.
Similar papers in this journal
Similar papers in this journal
- Deep representation learning for clustering longitudinal survival data from electronic health records 96%
- CellFM: a large-scale foundation model pre-trained on transcriptomics of 100 million human cells 94%
- Learning interpretable cellular and gene signature embeddings from single-cell transcriptomic data 94%
Similar papers in this journal
- COSIME: Cooperative multi-view integration with Scalable and Interpretable Model Explainer 95%
- Estimating Treatment Effects for Time-to-Treatment Antibiotic Stewardship in Sepsis 94%
- Inferring spatial single-cell-level interactions through interpreting cell state and niche correlations learned by self-supervised graph transformer 94%
Similar papers in this journal
Similar papers in this journal
- Obtaining Spatially Resolved Tumor Purity Maps Using Deep Multiple Instance Learning In A Pan-cancer Study 94%
- Generating hard-to-obtain information from easy-to-obtain information: applications in drug discovery and clinical inference 94%
- Bi-level Graph Learning Unveils Prognosis-Relevant Tumor Microenvironment Patterns in Breast Multiplexed Digital Pathology 94%
"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.