Time-Aware Attention for Enhanced Electronic Health Records Modeling

Junhan Yu, Zhunyi Feng, Junwei Lu, Tianxi Cai, Doudou Zhou
7/20/2025
cs.LG

No confident code implementation found for this paper.

Abstract

Electronic Health Records (EHR) contain valuable clinical information for predicting patient outcomes and guiding healthcare decisions. However, effectively modeling Electronic Health Records (EHRs) requires addressing data heterogeneity and complex temporal patterns. Standard approaches often struggle with irregular time intervals between clinical events. We propose TALE-EHR, a Transformer-based framework featuring a novel time-aware attention mechanism that explicitly models continuous temporal gaps to capture fine-grained sequence dynamics. To complement this temporal modeling with robust semantics, TALE-EHR leverages embeddings derived from standardized code descriptions using a pre-trained Large Language Model (LLM), providing a strong foundation for understanding clinical concepts. Experiments on the MIMIC-IV and PIC dataset demonstrate that our approach outperforms state-of-the-art baselines on tasks such as disease progression forecasting. TALE-EHR underscores the benefit of integrating explicit, continuous temporal modeling with strong semantic representations provides a powerful solution for advancing EHR analysis.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yu2025timeaware,
  title  = {Time-Aware Attention for Enhanced Electronic Health Records Modeling},
  author = {Junhan Yu and Zhunyi Feng and Junwei Lu and Tianxi Cai and Doudou Zhou},
  year   = {2025},
  eprint = {2507.14847},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.14847v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.14847.svg)](https://codeofpaper.com/paper/2507.14847)

Discussion