Open LLM-based actionable incidental finding extraction from [18F]fluorodeoxyglucose PET-CT radiology reports

Stephen H. Barlow, Sugama Chicklore, Yulan He, Sébastien Ourselin, Thomas Wagner, Anna Barnes, Gary J. R. CookFrontiers Digit. Health 2025

Introduction

In clinical radiology, identifying "actionable incidental findings" (AIFs)—significant health issues unrelated to the primary reason for a scan—is a critical but labor-intensive task. Missing these findings, such as an unexpected aortic aneurysm during a lung cancer screening, can lead to delayed interventions and poor patient outcomes. While Large Language Models (LLMs) offer a solution for automating information extraction from free-text reports, the use of proprietary models like GPT-4 presents significant hurdles regarding data privacy and institutional security. This study explores the use of fine-tuned, open-source LLMs to create a local, privacy-preserving pipeline for AIF extraction.

Methodology

The researchers developed a pipeline based on the Llama-3.1-8B model, chosen for its balance of performance and efficiency. To adapt the model to the specialized domain of nuclear medicine, they employed QLoRA (4-bit Quantized Low-Rank Adaptation), allowing for high-quality fine-tuning on consumer-grade hardware like the NVIDIA RTX 3090.

A core component of the methodology was the comparison of different prompt engineering strategies. The study evaluated "Standard" prompts against Chain-of-Thought (CoT) prompts, which require the model to articulate its reasoning before providing a final classification. Furthermore, they tested the impact of requesting structured JSON outputs versus plain text.

The four prompt templates used for training: Standard-JSON, CoT-JSON, Standard, and CoT.

The CoT-JSON approach proved most effective, as the reasoning step helped the model distinguish between the primary clinical focus (e.g., lung cancer progression) and truly incidental findings requiring separate follow-up.

Data and Evaluation

The models were trained and validated on a multi-site dataset of PET-CT reports annotated by expert physicians:

  • Internal Dataset: 2,497 reports from King’s College London and Guy’s and St Thomas’.
  • External Test Set: 460 reports from the Royal Free Hospital, used to test generalization across different institutional reporting styles.

Analysis of these datasets revealed significant differences in report length and structure. Internal reports typically followed a priority-based style, while external reports often utilized a more verbose anatomical "head-to-toe" format.

Box-and-whisker plots showing the distribution of token counts per report across the internal and external datasets.

As shown in Figure 3, the external test set contained significantly longer reports (higher token counts), which presented a greater challenge for the LLM's context window and extraction accuracy.

Key Results

The fine-tuned Llama-3.1-8B model using CoT-JSON achieved impressive performance:

  • Internal Performance: A document-level F1 score of 0.917, outperforming the clinical baseline model, GatorTron.
  • External Performance: An F1 score of 0.79, indicating robust generalization despite the differences in reporting styles.
  • Reliability: Crucially, the model exhibited zero hallucinations; every extracted AIF sentence was a direct quote from the source report.

Qualitative review suggested that many "errors" identified by automated metrics were "soft" errors—minor variations in sentence boundaries that did not diminish the clinical utility of the extracted information.

Conclusion and Future Directions

This research demonstrates that fine-tuned open-source LLMs can match the performance of proprietary systems for complex clinical tasks while ensuring patient data remains within hospital firewalls. The success of the Llama-3.1-8B model suggests that specialized reasoning (CoT) and structured output (JSON) are more critical than sheer model size.

Future work will focus on expanding the model's scope to other scan types (e.g., brain MRI) using "Mixture-of-Experts" LoRA adapters and developing human-in-the-loop protocols to integrate these AI alerts into clinical workflows without causing alert fatigue.

Summary updated

BibTeX
@article{barlow2025open,
  author = {Stephen H. Barlow and Sugama Chicklore and Yulan He and Sébastien Ourselin and Thomas Wagner and Anna Barnes and Gary J. R. Cook},
  title = {{Open LLM-based actionable incidental finding extraction from [18F]fluorodeoxyglucose PET-CT radiology reports}},
  journal = {Frontiers Digit. Health},
  year = {2025},
  doi = {10.3389/fdgth.2025.1702082},
}
Figure