Development and Validation of a Large Language Model for Generating Fully-Structured Radiology Reports

Chuang Niu, Md Sayed Tanveer, Md Zabirul Islam, Parisa Kaviani, Qing Lyu +3 more
9/26/2024
cs.AIcs.CL

No official code found. Best implementation: niuchuangnn/vllm_structure (4 stars, Apache-2.0, last commit 2024-10-04).

Abstract

Current LLMs for creating fully-structured reports face the challenges of formatting errors, content hallucinations, and privacy leakage issues when uploading data to external servers.We aim to develop an open-source, accurate LLM for creating fully-structured and standardized LCS reports from varying free-text reports across institutions and demonstrate its utility in automatic statistical analysis and individual lung nodule retrieval. With IRB approvals, our retrospective study included 5,442 de-identified LDCT LCS radiology reports from two institutions. We constructed two evaluation datasets by labeling 500 pairs of free-text and fully-structured radiology reports and one large-scale consecutive dataset from January 2021 to December 2023. Two radiologists created a standardized template for recording 27 lung nodule features on LCS. We designed a dynamic-template-constrained decoding method to enhance existing LLMs for creating fully-structured reports from free-text radiology reports. Using consecutive structured reports, we automated descriptive statistical analyses and a nodule retrieval prototype. Our best LLM for creating fully-structured reports achieved high performance on cross-institutional datasets with an F1 score of about 97%, with neither formatting errors nor content hallucinations. Our method consistently improved the best open-source LLMs by up to 10.42%, and outperformed GPT-4o by 17.19%. The automatically derived statistical distributions were consistent with prior findings regarding attenuation, location, size, stability, and Lung-RADS. The retrieval system with structured reports allowed flexible nodule-level search and complex statistical analysis. Our developed software is publicly available for local deployment and further research.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Dynamic Template-Constrained LLM Inference for Eliminating Formatting Errors and Hallucinations

40C, C++Sep 26, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{niu2024development,
  title  = {Development and Validation of a Large Language Model for Generating Fully-Structured Radiology Reports},
  author = {Chuang Niu and Md Sayed Tanveer and Md Zabirul Islam and Parisa Kaviani and Qing Lyu and Mannudeep K. Kalra and Christopher T. Whitlow and Ge Wang},
  year   = {2024},
  eprint = {2409.18319},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.18319v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.18319.svg)](https://codeofpaper.com/paper/2409.18319)

Discussion