Abstract
Automating radiology report generation is critical for reducing clinician workload and minimizing diagnostic errors. However, current methods either lack the generative sophistication of Large Language Models (LLMs) or require prohibitive computational resources. This paper presents a lightweight framework that utilizes a frozen medical vision encoder and a frozen LLM, bridged by a compact, trainable mapping network. By employing prefix tuning, the model achieves a Bleu-1 score of 34.2 on the MIMIC-CXR dataset while requiring only 2GB of VRAM—a significant reduction compared to existing 7B-parameter models requiring 25GB—while maintaining competitive performance.
Introduction
The generation of radiology reports from medical imaging is a time-intensive task prone to human error. While deep learning has shown promise in automating this process, researchers face a "Goldilocks" dilemma. Traditional architectures like LSTMs often fail to capture the nuanced, long-form narrative required for medical reports. Conversely, modern LLMs excel at text generation but demand immense GPU resources for fine-tuning and deployment. For instance, a 7-billion-parameter model typically requires upwards of 25GB of VRAM, making it inaccessible for many clinical environments. This research proposes a "middle way": a framework that harnesses the power of LLMs through a resource-efficient architecture.
Methodology
The proposed architecture is designed to be modular and efficient, consisting of three primary components:
- Medical Vision Encoder (MedCLIP): To ensure visual features are clinically relevant, the system uses MedCLIP, a vision-language model pre-trained on medical data. This encoder is kept frozen during training.
- Frozen Large Language Model (LLM): The framework utilizes pre-trained LLMs like Qwen1.5-0.5B. Crucially, the LLM's parameters are not updated, preserving its general linguistic capabilities while avoiding the high cost of full fine-tuning.
- Trainable Mapping Network: This is the only active learning component. It is a lightweight transformer-based module that translates visual embeddings from MedCLIP into "prefix embeddings" compatible with the LLM.
The core training strategy is Prefix Tuning. The mapping network generates a sequence of continuous vectors (prefixes) based on the input X-ray. These prefixes are prepended to the LLM's input, effectively "steering" the frozen model to generate a report tailored to the specific visual evidence.
Experimental Results
The model was evaluated on the MIMIC-CXR dataset, focusing on 243,334 image-report pairs from standard chest X-ray views.
Performance and Efficiency
A key finding of this study is that massive parameter counts are not a prerequisite for high-quality medical text generation. The Qwen1.5-0.5B based model achieved a Bleu-1 score of 34.2, outperforming larger models while maintaining a minimal memory footprint.
As shown in the comparison table, the proposed method ("Ours") achieves superior Bleu-1, Bleu-2, and Bleu-3 scores compared to the 7B-parameter RaDialog-INS model, despite using 1/11th of the parameters and approximately 1/12th of the VRAM (2GB vs 25GB).
Prefix Tuning vs. Fine-Tuning
The researchers observed that prefix tuning (Bleu-1: 34.2) actually outperformed full fine-tuning of the LLM (Bleu-1: 33.6). This suggests that maintaining the integrity of the LLM's pre-trained weights while providing task-specific context via prefixes is a more robust approach for specialized domains like medicine.
Conclusion
This work demonstrates that high-quality medical report generation can be achieved with modest hardware. By freezing the primary vision and language components and only training a small mapping network, the framework significantly lowers the barrier to deploying advanced AI in clinical settings. Future research will focus on incorporating explicit medical knowledge graphs to improve clinical accuracy and testing the model's generalizability across different imaging modalities.
Summary updated