PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
October 10, 2025Journal of the American Medical Informatics Association4 citationsOpen Access

Zero-shot medical event prediction using a generative pretrained transformer on electronic health records

View Full Paper
EREkaterina RedekopZWZichen WangRKRushikesh Kulkarni

Key Points

  • The model achieved an average top-1 precision of 0.614, demonstrating effective medical event prediction.
  • Evaluated using precision and recall metrics, the model maintained low false positives across 12 diagnostic conditions.
  • This analysis introduces a novel pipeline for zero-shot forecasting of clinical outcomes without extensive labeled data.
  • Zero-shot prediction enhances healthcare scalability, revealing the model's strengths in diverse conditions like liver cancer.

Abstract

Abstract Objectives Longitudinal data in electronic health records (EHRs) represent an individual’s clinical history through a sequence of codified concepts, including diagnoses, procedures, medications, and laboratory tests. Generative pretrained transformers (GPT) can leverage this data to predict future events. While fine-tuning of these models can enhance task-specific performance, it becomes costly when applied to many clinical prediction tasks. In contrast, a pretrained foundation model can be used in zero-shot forecasting setting, offering a scalable alternative to fine-tuning separate models for each outcome. Materials and Methods This study presents the first comprehensive analysis of zero-shot forecasting with GPT-based foundational models in EHRs, introducing a novel pipeline that formulates medical concept prediction as a generative modeling task. Unlike supervised approaches requiring extensive labeled data, our method enables the model to forecast the next medical event purely from a pretraining knowledge. We evaluate performance across multiple time horizons and clinical categories, demonstrating model’s ability to capture latent temporal dependencies and complex patient trajectories without task supervision. Results The model’s performance in predicting the next medical concept was evaluated using precision and recall metrics, achieving an average top-1 precision of 0.614 and recall of 0.524. For 12 major diagnostic conditions, the model demonstrated strong zero-shot performance, achieving high true positive rates while maintaining low false positives. Discussion We demonstrate the power of a foundational EHR GPT model in capturing diverse phenotypes and enabling robust, zero-shot forecasting of clinical outcomes. This capability highlights both its versatility across conditions like liver cancer and SLE, and its limitations in more ambiguous settings such as depression, while also revealing meaningful latent clinical structure. Conclusion This capability enhances the versatility of predictive healthcare models and reduces the need for task-specific training, enabling more scalable applications in clinical settings.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Redekop et al. (2025) studied this question.

synapsesocial.com/papers/68e861a57ef2f04ca37e47b8https://doi.org/10.1093/jamia/ocaf160
Ask AI
Helpful
Bookmark
Share
View Full Paper

Also Consider

Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context:

  1. 1Foresight—a generative pretrained transformer for modelling of patient timelines using electronic health records: a retrospective modelling study2024 · 108 citations
  2. 2Measuring Diagnoses: ICD Code Accuracy2005 · 1,140 citations
  3. 3Cognition in multiple sclerosis2011 · 412 citations
  4. 4THE SIGNIFICANCE OF THE LEWY BODY IN THE DIAGNOSIS OF IDIOPATHIC PARKINSON'S DISEASE1989 · 321 citations
  5. 5The frequency of bowel and bladder problems in multiple sclerosis and its relation to fatigue: A single centre experience2019 · 41 citations