hh.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
A Masked Language Model for Multi-Source EHR Trajectories Contextual Representation Learning
Halmstad University, School of Information Technology.ORCID iD: 0000-0002-1999-8435
Halmstad University, School of Information Technology. Lund University, Lund, Sweden.ORCID iD: 0000-0003-1145-4297
Halmstad University, School of Information Technology.ORCID iD: 0000-0003-2006-6229
Lund University, Lund, Sweden.
Show others and affiliations
2023 (English)In: Caring is Sharing – Exploiting the Value in Data for Health and Innovation: Proceedings of MIE 2023 / [ed] Maria Hägglund; Madeleine Blusi; Stefano Bonacina; Lina Nilsson; Inge Cort Madsen; Sylvia Pelayo; Anne Moen; Arriel Benis; Lars Lindsköld; Parisis Gallos, Amsterdam: IOS Press, 2023, Vol. 302, p. 609-610Conference paper, Published paper (Refereed)
Abstract [en]

Using electronic health records data and machine learning to guide future decisions needs to address challenges, including 1) long/short-term dependencies and 2) interactions between diseases and interventions. Bidirectional transformers have effectively addressed the first challenge. Here we tackled the latter challenge by masking one source (e.g., ICD10 codes) and training the transformer to predict it using other sources (e.g., ATC codes). © 2023 European Federation for Medical Informatics (EFMI) and IOS Press.

Place, publisher, year, edition, pages
Amsterdam: IOS Press, 2023. Vol. 302, p. 609-610
Series
Studies in Health Technology and Informatics, ISSN 0926-9630, E-ISSN 1879-8365 ; 302
Keywords [en]
deep learning, disease prediction, electronic health records, Masked language model, patient trajectories, representation learning
National Category
Computer Sciences
Research subject
Health Innovation, IDC; Health Innovation, IDC
Identifiers
URN: urn:nbn:se:hh:diva-51734DOI: 10.3233/SHTI230217PubMedID: 37203760Scopus ID: 2-s2.0-85159757442ISBN: 978-1-64368-389-8 (print)OAI: oai:DiVA.org:hh-51734DiVA, id: diva2:1801836
Conference
The 33rd Medical Informatics Europe Conference, MIE2023, Gothenburg, Sweden, 22-25 May, 2023
Available from: 2023-10-03 Created: 2023-10-03 Last updated: 2026-02-19Bibliographically approved
In thesis
1. Learning More from Less: Accurate and Trustworthy Foundation Models for Patient Trajectories
Open this publication in new window or tab >>Learning More from Less: Accurate and Trustworthy Foundation Models for Patient Trajectories
2026 (English)Doctoral thesis, comprehensive summary (Other academic)
Abstract [en]

Electronic health records (EHRs) contain longitudinal traces of patients’ interactions with the healthcare system. These patient trajectories—sequences of diagnoses, medications, and other events over time—offer opportunities to predict adverse outcomes early to intervene. In practice, however, EHR data are heterogeneous, temporally complex, and often available only in limited-sized cohorts with scarce labels. This thesis, Learning More from Less: Accurate and Trustworthy Foundation Models for Patient Trajectories, investigates how to build foundation-style models for such data.

The work is guided by the question: How can we improve prediction and provide trustworthy explanations for adverse health outcomes by modeling longitudinal EHR trajectories? It follows two tracks: (i) robust EHR-specific representation learning, and (ii) trustworthy modeling. 

First, the thesis enriches self-supervised pretraining for structured EHR. A trajectory-order objective (TOO-BERT) teaches models to distinguish true temporal order from plausible permutations, while a source-masked objective model cross-sources dependencies. These objectives exploit the structure already present in trajectories, yielding stronger representations and improved prediction of incident outcomes.

Second, the thesis targets robust adaptation under label scarcity. Adaptive Noise-Augmented Attention (ANAA) perturbs and smoothly augments attention scores during fine-tuning, broadening overly sharp attention patterns and improving performance.

Third, the thesis develops explanation methods tailored to multimodal transformers EHR telemetry models. A manifold-aware baseline for Integrated Gradients keeps attribution paths in high-density regions of the representation space, improving faithfulness. Group-Sparse IG further adjusts the path schedule to produce sparse, token-level explanations that are more concise. Building on these methods, the thesis also proposes an approach to aggregate individual-level attributions into population-level insights for greater actionability, and applies it to identify key drivers of longevity and early mortality in the Malmö Diet and Cancer cohort

Finally, the thesis explores uncertainty estimation in small, sequence-based datasets through a Gaussian process model with a decoupled global alignment kernel for peptide permeability prediction. This demonstrates how structured sequence kernels can provide better accuracy and calibrated uncertainty when data are limited.

Overall, the thesis shows that in complex, data-scarce EHR settings, ``learning more from less'' requires making the pretraining, fine-tuning, and explanation stages explicitly reflect the structure of patient trajectories, leading to more accurate and trustworthy models for clinical risk prediction.

Place, publisher, year, edition, pages
Halmstad: Halmstad University Press, 2026. p. 46
Series
Halmstad University Dissertations ; 141
National Category
Electrical Engineering, Electronic Engineering, Information Engineering
Identifiers
urn:nbn:se:hh:diva-58472 (URN)978-91-90123-03-4 (ISBN)978-91-90123-04-1 (ISBN)
Public defence
2026-03-26, S3030, Kristian IV:s väg 3, Halmstad, 13:00 (English)
Opponent
Supervisors
Funder
Swedish Research Council, 2019-00198Knowledge Foundation, 20200208 01 H
Available from: 2026-02-26 Created: 2026-02-19 Last updated: 2026-02-26Bibliographically approved

Open Access in DiVA

No full text in DiVA

Other links

Publisher's full textPubMedScopus

Authority records

Amirahmadi, AliOhlsson, MattiasEtminani, Kobra

Search in DiVA

By author/editor
Amirahmadi, AliOhlsson, MattiasEtminani, KobraBjörk, Jonas
By organisation
School of Information Technology
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar

doi
pubmed
isbn
urn-nbn

Altmetric score

doi
pubmed
isbn
urn-nbn
Total: 395 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf