Privacy-preserving large language models for structured medical information retrieval

Most clinical information is encoded as free text, not accessible for quantitative analysis. This study presents an open-source pipeline using the local large language model (LLM) "Llama 2" to extract quantitative information from clinical text and evaluates its performance in identifying features of decompensated liver cirrhosis. The LLM identified five key clinical features in a zero- and one-shot manner from 500 patient medical histories in the MIMIC IV dataset. We compared LLMs of three sizes and various prompt engineering approaches, with predictions compared against ground truth from three blinded medical experts. Our pipeline achieved high accuracy, detecting liver cirrhosis with 100% sensitivity and 96% specificity. High sensitivities and specificities were also yielded for detecting ascites (95%, 95%), confusion (76%, 94%), abdominal pain (84%, 97%), and shortness of breath (87%, 97%) using the 70 billion parameter model, which outperformed smaller versions. Our study successfully demonstrates the capability of locally deployed LLMs to extract clinical information from free text with low hardware requirements.

Authors

Institutions

Publication Details

Journal
npj Digital Medicine
Published
2024-09-20
DOI
https://doi.org/10.1038/s41746-024-01233-2
Citations
82
Primary Topic
Machine Learning in Healthcare
Type
article
Field-Weighted Citation Impact
28.49

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Privacy-preserving large language models for structured medical information retrieval

Daniel Truhn, Jens Kleesiek, Isabella C. Wiest, Jiefu Zhu et al.
82 citations
npj Digital Medicine
Machine Learning in Healthcare
28.49
article

Privacy-preserving large language models for structured medical information retrieval

Daniel Truhn, Jens Kleesiek, Isabella C. Wiest, Jiefu Zhu, Marko van Treeck, Dyke Ferber, Zunamys I. Carrero, Jakob Nikolas Kather, Daniel Paech, Radhika Juglan, Matthias Ebert, Sonja K. Meyer
article en
82 citations

Abstract

Most clinical information is encoded as free text, not accessible for quantitative analysis. This study presents an open-source pipeline using the local large language model (LLM) "Llama 2" to extract quantitative information from clinical text and evaluates its performance in identifying features of decompensated liver cirrhosis. The LLM identified five key clinical features in a zero- and one-shot manner from 500 patient medical histories in the MIMIC IV dataset. We compared LLMs of three sizes and various prompt engineering approaches, with predictions compared against ground truth from three blinded medical experts. Our pipeline achieved high accuracy, detecting liver cirrhosis with 100% sensitivity and 96% specificity. High sensitivities and specificities were also yielded for detecting ascites (95%, 95%), confusion (76%, 94%), abdominal pain (84%, 97%), and shortness of breath (87%, 97%) using the 70 billion parameter model, which outperformed smaller versions. Our study successfully demonstrates the capability of locally deployed LLMs to extract clinical information from free text with low hardware requirements.

npj Digital MedicineVol. 7(1)
European Molecular Biology Organization (DE), German Cancer Research Center (DE), TU Dortmund University (DE), Heidelberg University (DE), University Hospital Bonn (DE), University Hospital Heidelberg (DE), Institut für Medizinische Informatik, Biometrie und Epidemiologie (DE), National Center for Tumor Diseases (DE), Universitätsklinikum Aachen (DE), Universitätsklinikum Würzburg (DE), University Medical Centre Mannheim (DE), West German Heart and Vascular Center Essen (DE), University Hospital Carl Gustav Carus (DE)
National Institute for Health and Care Research, Department of Health and Social Care, European Commission, Deutscher Akademischer Austauschdienst, Bundesministerium für Bildung und Forschung, Deutsche Krebshilfe, Gemeinsame Bundesausschuss, National Institutes of Health, Horizon 2020 Framework Programme, HORIZON EUROPE Framework Programme, Leeds Biomedical Research Centre
Openalex Percentile: Top 0%
Machine Learning in Healthcare
28.49
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.