Abstract
Radiology report summarization—the process of distilling detailed "Findings" into a concise "Impression"—is a critical but labor-intensive task in clinical workflows. While Large Language Models (LLMs) like ChatGPT show promise in general summarization, their performance in specialized medical domains is often limited by a lack of domain-specific context and precision. We present ImpressionGPT, a novel framework that bridges this gap through dynamic, similarity-based prompting and an automated iterative optimization loop. By "localizing" the LLM using clinically relevant examples and a self-correcting feedback mechanism, ImpressionGPT achieves state-of-the-art performance on major benchmarks without requiring expensive model fine-tuning.
Introduction
In clinical radiology, reports are typically divided into two primary sections: the Findings, which provide a comprehensive description of observations from medical imaging, and the Impression, which synthesizes these observations into a diagnosis or actionable summary. Manually generating impressions is time-consuming and prone to variability among practitioners.
Existing automated solutions often rely on fine-tuning smaller models (e.g., BERT-based architectures). However, these models require vast amounts of labeled data and often struggle to generalize across different clinical settings. Conversely, general-purpose LLMs like ChatGPT possess vast linguistic knowledge but lack the specific technical nuances of radiology. ImpressionGPT addresses these challenges by implementing a "plug-and-play" framework that optimizes LLM outputs through in-context learning and iterative refinement.
Methodology
The ImpressionGPT framework consists of two primary components: a dynamic context retriever and an iterative optimization engine.
Dynamic Prompting via Semantic Similarity
Rather than using static instructions, ImpressionGPT selects contextually relevant examples from a report corpus to guide the LLM. To ensure clinical relevance, the system utilizes the CheXpert labeler to transform the "Findings" section into a discrete 14-dimensional vector representing specific medical observations (e.g., pleural effusion, pneumonia). By calculating the similarity between these vectors, the system retrieves the most clinically similar historical reports to serve as "in-context" samples for the prompt. This ensures that the model sees examples with similar pathology, even if the phrasing differs.
Iterative Optimization Loop
A key innovation of ImpressionGPT is its self-correction mechanism. The system does not rely on a single inference pass. Instead, it evaluates the generated impression against the ground truth of the retrieved similar reports using the ROUGE-1 metric.
As shown in the iterative prompt structure, the system constructs a feedback loop where the LLM is presented with its own previous attempts. By explicitly labeling these attempts as "good" or "bad" based on their similarity to reference standards, the model learns to avoid specific errors and emulate successful patterns. The authors found that approximately 17 iterations provided the optimal balance between performance and computational cost.
Experimental Setup and Datasets
The framework was rigorously evaluated on two widely recognized public radiology datasets:
- MIMIC-CXR: A large-scale dataset comprising over 227,000 reports. The study utilized 122,014 reports for the reference corpus and 1,606 for testing.
- OpenI: A dataset from the Indiana University hospital system, using 2,400 reports for the corpus and 576 for testing.
Results and Discussion
ImpressionGPT demonstrated significant improvements over both baseline LLMs and previous state-of-the-art (SOTA) specialized models. The results highlight several key insights:
- Contextual Localization: In-context learning with highly relevant samples can outperform traditional fine-tuning, even on highly technical tasks. ImpressionGPT achieved a ROUGE-1 score of 54.45 on MIMIC-CXR, surpassing the previous best of 49.13.
- The Value of Negative Feedback: The inclusion of "bad examples" in the iterative loop proved highly effective. Instructing the model on what to avoid is often as valuable as providing positive templates.
- Factual Accuracy: The model showed a massive jump in factual consistency (FC-F1 score) on MIMIC-CXR, reaching 80.09, whereas the base ChatGPT model only scored 45.23. This indicates that the framework significantly reduces hallucinations, a common issue in medical LLM applications.
Conclusion and Future Work
ImpressionGPT provides a robust pathway for deploying general-purpose LLMs in specialized clinical environments. By automating the prompt engineering process through similarity search and iterative refinement, the system achieves high accuracy with minimal data requirements. Future research will focus on integrating external knowledge bases, such as medical knowledge graphs, and exploring "human-in-the-loop" configurations where radiologists provide real-time feedback to the optimization engine.
Summary updated