XTSFormer: Cross-Temporal-Scale Transformer for Irregular-Time Event Prediction in Clinical Applications

Authors

  • Tingsong Xiao Department of Computer and Information Science and Engineering, University of Florida, Gainesville, FL, USA
  • Zelin Xu Department of Computer and Information Science and Engineering, University of Florida, Gainesville, FL, USA
  • Wenchong He Department of Computer and Information Science and Engineering, University of Florida, Gainesville, FL, USA
  • Zhengkun Xiao Department of Computer and Information Science and Engineering, University of Florida, Gainesville, FL, USA
  • Yupu Zhang Department of Computer and Information Science and Engineering, University of Florida, Gainesville, FL, USA
  • Zibo Liu Department of Computer and Information Science and Engineering, University of Florida, Gainesville, FL, USA
  • Shigang Chen Department of Computer and Information Science and Engineering, University of Florida, Gainesville, FL, USA
  • My T. Thai Department of Computer and Information Science and Engineering, University of Florida, Gainesville, FL, USA
  • Jiang Bian Department of Biostatistics and Health Data Science, Indiana University, Indianapolis, IN, USA Regenstrief Institute, Indianapolis, IN, USA
  • Parisa Rashidi J. Crayton Pruitt Family Department of Biomedical Engineering, University of Florida, Gainesville, FL, USA
  • Zhe Jiang Department of Computer and Information Science and Engineering, University of Florida, Gainesville, FL, USA

DOI:

https://doi.org/10.1609/aaai.v39i27.35073

Abstract

Adverse clinical events related to unsafe care are among the top ten causes of death in the U.S. Accurate modeling and prediction of clinical events from electronic health records (EHRs) play a crucial role in patient safety enhancement. An example is modeling de facto care pathways that characterize common step-by-step plans for treatment or care. However, clinical event data pose several unique challenges, including the irregularity of time intervals between consecutive events, the existence of cycles, periodicity, multi-scale event interactions, and the high computational costs associated with long event sequences. Existing neural temporal point processes (TPPs) methods do not effectively capture the multi-scale nature of event interactions, which is common in many real-world clinical applications. To address these issues, we propose the cross-temporal-scale transformer (XTSFormer), specifically designed for irregularly timed event data. Our model consists of two vital components: a novel Feature-based Cycle-aware Time Positional Encoding (FCPE) that adeptly captures the cyclical nature of time, and a hierarchical multi-scale temporal attention mechanism, where different temporal scales are determined by a bottom-up clustering approach. Extensive experiments on several real-world EHR datasets show that our XTSFormer outperforms multiple baseline methods.

Downloads

Published

2025-04-11

How to Cite

Xiao, T., Xu, Z., He, W., Xiao, Z., Zhang, Y., Liu, Z., … Jiang, Z. (2025). XTSFormer: Cross-Temporal-Scale Transformer for Irregular-Time Event Prediction in Clinical Applications. Proceedings of the AAAI Conference on Artificial Intelligence, 39(27), 28502–28510. https://doi.org/10.1609/aaai.v39i27.35073