TrajGPT: Irregular Time-Series Representation Learning for Health Trajectory Analysis
Authors:
Preprint
Abstract
In many domains, such as healthcare, time-series data is often irregularly sampled with varying intervals between observations. This poses challenges for classical time-series models that require equally spaced data. To address this, we propose a novel time-series Transformer called Trajectory Generative Pre-trained Transformer (TrajGPT). TrajGPT employs a novel Selective Recurrent Attention (SRA) mechanism, which utilizes a data-dependent decay to adaptively filter out irrelevant past information based on contexts. By interpreting TrajGPT as discretized ordinary differential equations (ODEs), it effectively captures the underlying continuous dynamics and enables time-specific inference for forecasting arbitrary target timesteps. Experimental results demonstrate that TrajGPT excels in trajectory forecasting, drug usage prediction, and phenotype classification without requiring task-specific fine-tuning. By evolving the learned continuous dynamics, TrajGPT can interpolate and extrapolate disease risk trajectories from partially-observed time series. The visualization of predicted health trajectories shows that TrajGPT forecasts unseen diseases based on the history of clinically relevant phenotypes (i.e., contexts).Keywords
All Related Versions
This publication has 11 references indexed in Scilit:
- A Survey on Time-Series Pre-Trained ModelsIEEE Transactions on Knowledge and Data Engineering, 2024
- RoFormer: Enhanced transformer with Rotary Position EmbeddingNeurocomputing, 2023
- The shaky foundations of large language models and foundation models for electronic health recordsnpj Digital Medicine, 2023
- Deep learning prediction models based on EHR trajectories: A systematic reviewJournal of Biomedical Informatics, 2023
- A Transformer-based Framework for Multivariate Time Series Representation Learning2021
- Deep learning for electronic health records: A comparative review of multiple deep neural architecturesJournal of Biomedical Informatics, 2020
- Recurrent Neural Networks for Multivariate Time Series with Missing ValuesScientific Reports, 2018
- PopHR: a knowledge‐based platform to support integration, analysis, and visualization of population health dataAnnals of the New York Academy of Sciences, 2016
- Systematic comparison of phenome-wide association study of electronic medical record data and genome-wide association study dataNature Biotechnology, 2013
- PheWAS: demonstrating the feasibility of a phenome-wide scan to discover gene–disease associationsBioinformatics, 2010