Skip to main navigation Skip to search Skip to main content

Creating, anonymizing and evaluating the first medical language model pre-trained on Dutch Electronic Health Records: MedRoBERTa.nl

  • Stella Verkijk*
  • , Piek Vossen
  • *Corresponding author for this work

Research output: Contribution to Journal › Article › Academic › peer-review

Abstract

Electronic Health Records (EHRs) contain written notes by all kinds of medical professionals about all aspects of well-being of a patient. When adequately processed with a Large Language Model (LLM), this enormous source of information can be analyzed quantitatively, which can lead to new insights, for example in treatment development or in patterns of patient recovery. However, the language used in clinical notes is very idiosyncratic, which available generic LLMs have not encountered in their pre-training. They therefore have not internalized an adequate representation of the semantics of this data, which is essential for building reliable Natural Language Processing (NLP) software. This article describes the development of the first domain-specific LLM for Dutch EHRs: MedRoBERTa.nl. We discuss in detail why and how we built our model, pre-training it on the notes in EHRs using different strategies, and how we were able to publish it publicly by thoroughly anonymizing it. We evaluate our model extensively, comparing it to various other LLMs. We also illustrate how our model can be used, discussing various studies that built medical text mining technology on top of our model.

Original languageEnglish
Article number103148
Pages (from-to)1-13
Number of pages13
JournalArtificial Intelligence in Medicine
Volume167
Early online date23 May 2025
DOIs
Publication statusPublished - Sept 2025

Bibliographical note

Publisher Copyright:
© 2025 The Authors

Keywords

  • Clinical Large Language Models
  • Electronic Health Records
  • Large Language Models
  • Natural Language Processing
  • Privacy
  • Text mining

Fingerprint

Dive into the research topics of 'Creating, anonymizing and evaluating the first medical language model pre-trained on Dutch Electronic Health Records: MedRoBERTa.nl'. Together they form a unique fingerprint.

Cite this