Privacy-preserving large language models for structured medical information retrieval

Isabella C. Wiest(Heidelberg University), Dyke Ferber(Heidelberg University), Jiefu Zhu(University Hospital Carl Gustav Carus), Marko van Treeck(University Hospital Carl Gustav Carus), Sonja K. Meyer(Universitätsklinikum Würzburg), Radhika Juglan(University Hospital Carl Gustav Carus), Zunamys I. Carrero(University Hospital Carl Gustav Carus), Daniel Paech(German Cancer Research Center), Jens Kleesiek(TU Dortmund University), Matthias Ebert(European Molecular Biology Organization), Daniel Truhn(Universitätsklinikum Aachen), Jakob Nikolas Kather(Heidelberg University)
npj Digital Medicine
September 20, 2024
Cited by 93Open Access
Full Text

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.


Related Papers

No related papers found

Powered by citation graph analysis