Large Language Models for Electronic Health Record De-Identification in English and German
Open Access
- 6 February 2025
- journal article
- research article
- Published by MDPI AG in Information
- Vol. 16 (2) , 112
Abstract
Electronic health record (EHR) de-identification is crucial for publishing or sharing medical data without violating the patient’s privacy. Protected health information (PHI) is abundant in EHRs, and privacy regulations worldwide mandate de-identification before downstream tasks are performed. The ever-growing data generation in healthcare and the advent of generative artificial intelligence have increased the demand for de-identified EHRs and highlighted privacy issues with large language models (LLMs), especially data transmission to cloud-based LLMs. In this study, we benchmark ten LLMs for de-identifying EHRs in English and German. We then compare de-identification performance for in-context learning and full model fine-tuning and analyze the limitations of LLMs for this task. Our experimental evaluation shows that LLMs effectively de-identify EHRs in both languages. Moreover, in-context learning with a one-shot setting boosts de-identification performance without the costly full fine-tuning of the LLMs.Keywords
Funding Information
- Austrian Ministry of Transport, Innovation and Technology (BMVIT)
- BMK and BMAW
This publication has 64 references indexed in Scilit:
- Towards trustworthy LLMs: a review on debiasing and dehallucinating in large language modelsArtificial Intelligence Review, 2024
- Transformer Models in Healthcare: A Survey and Thematic Analysis of Potentials, Shortcomings and RisksJournal of Medical Systems, 2024
- How to keep text private? A systematic review of deep learning methods for privacy-preserving natural language processingArtificial Intelligence Review, 2022
- Estimating the state of epidemics spreading with graph neural networksNonlinear Dynamics, 2022
- Re-identification attacks—A systematic literature reviewInternational Journal of Information Management, 2016
- Automatic detection of protected health information from clinic narrativesJournal of Biomedical Informatics, 2015
- Automated systems for the de-identification of longitudinal clinical narratives: Overview of 2014 i2b2/UTHealth shared task Track 1Journal of Biomedical Informatics, 2015
- The MITRE Identification Scrubber Toolkit: Design, training, and assessmentInternational Journal of Medical Informatics, 2010
- A de-identifier for medical discharge summariesArtificial Intelligence in Medicine, 2008
- Support-vector networksMachine Learning, 1995