π€ AI Summary
Current AI models struggle to effectively capture the temporal ordering of events and individualized timing patterns in electronic health records (EHRs), limiting causal inference and prediction in precision medicine. To address this, this work proposes LITT, a novel Timing-Transformer architecture that, for the first time, treats event timing as a computable dimension. LITT introduces a virtual βrelative time axisβ to temporally align event sequences and incorporates a timing-centric attention mechanism. By integrating relative time encoding, survival analysis, and temporal alignment, the method accurately predicts the onset time of cardiotoxicity-related cardiac events in real-world EHR data from 3,276 breast cancer patients and significantly outperforms existing benchmarks and state-of-the-art survival analysis approaches across multiple public datasets.
π Abstract
Automatically discovering personalized sequential events from large-scale time-series data is crucial for enabling precision medicine in clinical research, yet it remains a formidable challenge even for contemporary AI models. For example, while transformers capture rich associations, they are mostly agnostic to event timing and ordering, thereby bypassing potential causal reasoning. Intuitively, we need a method capable of evaluating the"degree of alignment"among patient-specific trajectories and identifying their shared patterns, i.e., the significant events in a consistent sequence. This necessitates treating timing as a true \emph{computable} dimension, allowing models to assign ``relative timestamps''to candidate events beyond their observed physical times. In this work, we introduce LITT, a novel Timing-Transformer architecture that enables temporary alignment of sequential events on a virtual ``relative timeline'', thereby enabling \emph{event-timing-focused attention} and personalized interpretations of clinical trajectories. Its interpretability and effectiveness are validated on real-world longitudinal EHR data from 3,276 breast cancer patients to predict the onset timing of cardiotoxicity-induced heart disease. Furthermore, LITT outperforms both the benchmark and state-of-the-art survival analysis methods on public datasets, positioning it as a significant step forward for precision medicine in clinical AI.