TrajGPT: Irregular Time-Series Representation Learning of Health Trajectory
- 1 May 2026
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Journal of Biomedical and Health Informatics
- Vol. 30 (5) , 3888-3899
Abstract
In the healthcare domain, time-series data are often irregularly sampled with varying intervals through outpatient visits, posing challenges for existing models designed for equally spaced sequential data. To address this, we propose Trajectory Generative Pre-trained Transformer (TrajGPT) for representation learning on irregularly-sampled healthcare time series. TrajGPT introduces a novel Selective Recurrent Attention (SRA) module that leverages a data-dependent decay to adaptively filter irrelevant past information. As a discretized ordinary differential equation (ODE) framework, TrajGPT captures underlying continuous dynamics and enables a time-specific inference for forecasting arbitrary target timesteps without auto-regressive prediction. Experimental results based on the longitudinal EHR data PopHR from Montreal health system and eICU from PhysioNet showcase TrajGPT's superior zero-shot performance in disease forecasting, drug usage prediction, and sepsis detection. The inferred trajectories of diabetic and cardiac patients reveal meaningful comorbidity conditions, underscoring TrajGPT as a useful tool for forecasting patient health evolution.Keywords
All Related Versions
Funding Information
- Nature et technologies
- NOVA-FRQNT-NSERC (FRQ-NT 2023-NOVA-328677)
- Canada Research Chairs
- Machine Learning for Genomics and Healthcare (CRC-2021-00547)
- Natural Sciences and Engineering Research Council of Canada (RGPIN-2016-05174)
This publication has 25 references indexed in Scilit:
- 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
- MIMIC-IV, a freely accessible electronic health record datasetScientific Data, 2023
- Psychiatric comorbidity and treatment outcomes in patients with opioid use disorder: Results from a multisite trial of buprenorphine-naloxone and methadoneDrug and Alcohol Dependence, 2021
- Trends in Prevalence of Comorbidities in Heart Failure Clinical TrialsEuropean Journal of Heart Failure, 2020
- Deep learning for electronic health records: A comparative review of multiple deep neural architecturesJournal of Biomedical Informatics, 2020
- Comorbidities in chronic heart failure: An update from Italian Society of Cardiology (SIC) Working Group on Heart FailureEuropean Journal of Internal Medicine, 2020
- Recurrent Neural Networks for Multivariate Time Series with Missing ValuesScientific Reports, 2018
- Systematic comparison of phenome-wide association study of electronic medical record data and genome-wide association study dataNature Biotechnology, 2013