Large language models improve transferability of electronic health record-based predictions across countries and coding systems
Variation in medical practices and reporting standards across healthcare systems limits the transferability of prediction models based on structured electronic health record data. Prior studies have demonstrated that embedding medical codes into a shared semantic space can help address these discrepancies, but real-world applications remain limited. Here, we show that leveraging embeddings from a large language model alongside a transformer-based prediction model provides an effective and scalable solution to enhance generalizability. We call this approach GRASP and apply it to predict the onset of 21 diseases and all-cause mortality in over one million individuals. Trained on the UK Biobank (UK) and evaluated in FinnGen (Finland) and Mount Sinai (USA), GRASP achieved an average ΔC-index that was 88% and 47% higher than language-unaware models, respectively. GRASP also showed significantly higher correlations with polygenic risk scores for 62% of diseases, and maintained robust performance even when datasets were not harmonized to the same data model.
Authors
- Robin P. van de Water (ORCID: https://orcid.org/0000-0002-2895-4872)
- Matthias Kirchler (ORCID: https://orcid.org/0000-0003-0616-2740)
- Andrea Ganna (ORCID: https://orcid.org/0000-0002-8147-240X)
- Veronica Lorenzini
- Matteo Ferro
- Christoph Lippert
- Christoph Lippert
Institutions
- University of Helsinki (FI)
- Hasso Plattner Institute (DE)
- University of Potsdam (DE)
- Massachusetts General Hospital (US)
- Institute for Molecular Medicine Finland (FI)
- Icahn School of Medicine at Mount Sinai (US)
Publication Details
- Journal
- npj Digital Medicine
- Published
- 2026-01-22
- DOI
- https://doi.org/10.1038/s41746-026-02363-5
- Citations
- 1
- Primary Topic
- Machine Learning in Healthcare
- Type
- article
- Field-Weighted Citation Impact
- 52.10