Privacy-Preserving Information Extraction Framework for Diverse Imaging Reports using Large Language Models

Dabin Min, So Yeon Kim, Sangheum Hwang, Kwang Nam Jin, S.y. Bang, Won Gi Jeong, Jinwook Choi, Jung Min Chang, Chang Min ParkResearch Square 2025

Abstract

Efficient extraction of structured information from unstructured radiology reports remains a critical challenge in healthcare. We introduce the Radiology Report Information Extraction Framework (RRIEF), a privacy-preserving approach utilizing parameter-efficient fine-tuning of open-source large language models (LLMs). We validated RRIEF across chest X-ray (CXR), mammography, and coronary CT angiography (CCTA) reports, evaluating its performance against specialized methods and proprietary LLMs (GPT-4o, Gemini-1.5-Flash, Claude-3.5-Sonnet). For CXR, RRIEF-LLaMA1-65B achieved F1 scores of 0.87 and 0.85 in internal and external tests, significantly outperforming CheXpert Labeler (0.70 and 0.69, P < .001), CheXbert (0.72 and 0.69, P < .001), and all proprietary LLMs (Claude-3.5-Sonnet: 0.69 and 0.62, P < .001). For mammography, RRIEF-LLaMA1-30B/65B reached F1 scores of 0.91 and 0.99 in internal and external tests, exceeding all proprietary LLMs (0.86 and 0.92, P = .002). For CCTA, using only 100 training reports, RRIEF-LLaMA3-8B significantly outperformed Gemini-1.5-Flash in stenosis severity (0.87 vs 0.83, P = .02), GPT-4o in external testing (0.83 vs 0.68, P < .001), and all proprietary models for modifiers in external testing (1.00 vs 0.93, P = .004). Notably, RRIEF-LLaMA3-8B achieved superior performance on CXR with only 200 training samples compared to all baselines including CheXbert and proprietary LLMs (P < .001). Our locally deployable framework enables high-performance information extraction from different types of radiology reports, facilitating large-scale research and clinical practice.

Introduction

In modern healthcare, approximately 80% of clinical information is stored in unstructured free-text formats. Radiology reports, while rich in diagnostic insights, present a significant challenge for automated analysis due to institutional variations in reporting styles, the use of shorthand, and diverse anatomical focuses. Existing solutions often suffer from modality silos (e.g., tools specialized only for chest X-rays) or privacy risks associated with cloud-based proprietary Large Language Models (LLMs).

Examples of diverse reporting styles in CXR and Mammography datasets, illustrating the challenge of unstructured text.

Methods

We propose the Radiology Report Information Extraction Framework (RRIEF), a locally deployable system designed to transform unstructured reports into structured data while maintaining patient privacy. RRIEF utilizes QLoRA (Quantized Low-Rank Adaptation) for parameter-efficient fine-tuning of open-source models like LLaMA. By updating less than 0.1% of model weights, RRIEF allows for the training of massive 70B parameter models on consumer-grade hardware (e.g., a single 48GB GPU) in under six hours. This approach ensures that sensitive medical data remains within the institution's secure infrastructure.

Datasets and Evaluation

RRIEF was validated across three distinct imaging modalities:

  • Chest X-ray (CXR): MIMIC-CXR and Open-i.
  • Mammography: SiteA-MMG (private) and CDD-CESM (public).
  • Coronary CT Angiography (CCTA): SiteB-CCTA and SiteC-CCTA (private), featuring complex, structured reporting.
Detailed examples of structured CCTA reports and a summary of reporting style differences across modalities.

Results

RRIEF consistently outperformed both specialized baselines and general-purpose proprietary models:

  • CXR Extraction: RRIEF-LLaMA1-65B achieved an F1 score of 0.87, significantly outperforming CheXpert (0.70) and GPT-4o (0.59).
  • Mammography: The framework achieved near-perfect F1 scores (up to 0.99) in external testing, surpassing proprietary models like Claude-3.5-Sonnet.
  • CCTA: With a minimal training set of 100 reports, RRIEF-LLaMA3-8B outperformed Gemini-1.5-Flash in identifying stenosis severity.
  • Data Efficiency: The framework demonstrated extreme efficiency, with performance surpassing specialized baselines using as few as 200 training samples.

Discussion

The success of RRIEF suggests that for specialized medical domains, "small and specialized" fine-tuned models can beat "massive and general" proprietary giants. The ability to generalize across modalities—from the narrative style of CXR to the measurement-heavy structure of CCTA—without architectural changes highlights the flexibility of the LLM-based approach. While limited by small test sets and class imbalances for rare findings, RRIEF provides a scalable, privacy-preserving solution for clinical information extraction.

The implementation code is publicly available to facilitate adoption and further research in the medical AI community.

Summary updated

BibTeX
@inproceedings{min2025privacy,
  author = {Dabin Min and So Yeon Kim and Sangheum Hwang and Kwang Nam Jin and S.Y. Bang and Won Gi Jeong and Jinwook Choi and Jung Min Chang and Chang Min Park},
  title = {{Privacy-Preserving Information Extraction Framework for Diverse Imaging Reports using Large Language Models}},
  booktitle = {Research Square},
  year = {2025},
  doi = {10.21203/rs.3.rs-6267208/v1},
}
Figure