Abstract
Background: The goal of automated radiology report generation is to help radiologists in their task of creating descriptive reports from chest radiographs. However, the process of creating coherent and contextually accurate reports has been challenging, mainly due to the intricacies of medical language and the need to correlate visual data with textual descriptions. Methods: This study presents LLaMA-XR, a novel framework that integrates Meta LLaMA 3.1 Large Language Model with DenseNet-121-based image embeddings and Quantized Low-Rank Adaptation (QLoRA) fine-tuning. Results: The experiment conducted on the IU X-ray dataset demonstrates that LLaMA-XR outperforms a range of state-of-the-art methods. It achieves an ROUGE-L score of 0.433 and a METEOR score of 0.336, establishing new performance benchmarks in the domain. Conclusions: These results underscore LLaMA-XR’s potential as an effective artificial intelligence system for automated radiology reporting, offering enhanced performance.
1. Introduction
Medical imaging plays a crucial role in diagnosing diseases by providing detailed visual representations of internal structures [1]. Among various radiological imaging modalities, chest X-ray (CXR) is one of the most commonly used techniques for diagnosing a wide range of pulmonary and cardiovascular conditions [2]. Given its widespread use in clinical practice, CXR reports are essential for accurately interpreting specific abnormalities and guiding treatment decisions [3]. However, generating these reports is a labor-intensive process that demands meticulous analysis of radiological images, making it both time-consuming and susceptible to errors [4].
With the advancement of deep neural networks, automatic radiology report generation has emerged as a promising tool to assist radiologists [5]. This approach requires models to generate accurate, coherent, and medically precise reports based on radiological images, significantly reducing workload and improving efficiency. Early studies [6,7] in automated radiology report generation were largely inspired by recurrent neural network (RNN)-based image captioning architectures. While these methods achieved initial success, they struggled with handling long and complex sentences [8,9], which are crucial for generating detailed and clinically relevant reports.
To overcome these challenges, recent advances have focused on the use of large language models (LLMs), such as GPT [10] and LLaMA [11], which have benefited from extensive pre-training on diverse datasets and demonstrate strong performance in generating radiology reports [12,13,14,15,16,17,18,19]. In the radiology of chest X-rays, the latest multimodal foundation models aim to combine visual understanding and clinical language generation, covering abnormal assessment and report generation [20,21]. LLM-based approaches have shown significant promise in capturing intricate medical contexts and producing high-quality reports. However, earlier versions of these models, such as GPT-2 (up to 1.5 B parameters) and BERT-Large (340 M parameters), often lacked the capacity to effectively handle the complexity of medical data due to their relatively smaller scale. This limitation underscores the need for a more advanced framework to better align with the demands of medical report generation.
In this study, we propose a novel framework for automated chest X-ray report generation that addresses the challenge of effectively handling the complexity of medical data. Our approach takes advantage of the LLaMA 3.1 8 B parameter model [22], which offers superior performance in generating coherent, contextually rich, and medically precise reports. Compared to its predecessors, LLaMA 3.1 benefits from enhanced training data and a significantly larger parameter scale, enabling it to better capture the nuances of medical language [23,24]. To extract visual features from CXR images, several techniques can be employed, including convolutional neural networks (CNNs) such as DenseNet, ResNet, and Vision Transformers. In this study, we utilize DenseNet-121 [25], a CNN architecture known for its ability to reuse features across layers and provide detailed image embeddings [23,26]. However, this choice is flexible, and other architectures, such as ResNet, EfficientNet, or Vision Transformers, can be incorporated depending on specific requirements. By combining DenseNet-121 with LLaMA 3.1, our framework effectively bridges the gap between visual data and textual report generation.
Furthermore, we employ fine-tuning techniques such as QLoRA [27], which enables efficient adaptation of large language models by significantly reducing memory requirements through low-rank adaptation, allowing us to fine-tune LLaMA 3.1 on medical datasets without the high computational cost of full fine-tuning. We use Supervised Fine-Tuning (SFT) to adapt LLaMA 3.1 to medical datasets, ensuring that the generated reports are accurate and clinically relevant. For this study, we used the IU X-ray dataset [28], a widely used benchmark dataset that contains chest X-ray images paired with the corresponding radiology reports. This dataset enables effective model training and evaluation by providing diverse medical cases with detailed annotations. This fine-tuning process not only improves the quality of report generation, but also reduces the time and computational resources required for training. Our framework is designed to be scalable and efficient, making it suitable for real-world applications where accuracy and interpretability are paramount. The key contributions of this study are as follows:
- We propose a novel framework for automated chest X-ray report generation that leverages LLaMA 3 as the core language model, enhanced through parameter-efficient QLoRA and supervised fine-tuning (SFT).
- We perform an extensive comparison with prior works, demonstrating superior performance in the ROUGE-L and METEOR metrics.
- We further assess the clinical quality of the generated reports, demonstrating their strong factual accuracy, semantic alignment, and clinical relevance.
2. Related Work
Automated radiology report generation has garnered significant attention in recent years, with a wide array of deep learning architectures being proposed to enhance diagnostic accuracy, linguistic coherence, and computational efficiency. This section reviews the evolution of this field, focusing on methods applicable to generate chest X-ray reports. We categorize recent work into four main classes: graph-based models, reward-based learning approaches, transformer-based architectures, and large language models (LLMs).
2.1. CNN-RNN Based Methods
The roots of radiology report generation lie in image captioning, a foundational computer vision task designed to produce descriptive sentences for visual input. Early models typically utilized CNN-RNN frameworks, where Convolutional Neural Networks (CNNs) extracted spatial features and Recurrent Neural Networks (RNNs) generated the corresponding captions [29,30,31]. However, these approaches often struggled with long-range dependencies and lacked contextual depth. One of the earliest tailored approaches for radiology reports is Tm-HRNN [32], which introduced a topic modeling-based hierarchical RNN framework. It used DenseNet for image feature extraction, followed by a CNN-RNN-based decoder that generates reports in a sentence-by-sentence fashion, guided by topic vectors. This hierarchical structure mimicked how radiologists organize findings into coherent paragraphs, laying an early foundation for structure-aware generation. Despite its innovative structure, the model relied on heuristic topic assignments and lacked explicit medical knowledge modeling.
To address these limitations, later enhancements like anchor-caption mechanisms [33], human-like control techniques [34], and self-attention networks [35] were introduced. While effective in general contexts, their reliance on object annotations made them less suitable for medical imaging tasks, where such annotations are scarce or unavailable. This led to the development of medical imaging captioning models that employed image embeddings combined with large language models (LLMs) to extract richer semantic features without extensive supervision. The transition from captioning to report generation marked a shift from surface-level description to clinical reasoning and structured reporting, requiring models to understand complex visual cues and their clinical implications.
2.2. Graph- and Reward-Based Methods
To better capture the interdependencies between anatomical entities and clinical findings, researchers have turned to graph neural networks (GNNs). These models encode the relationships between observed pathologies and anatomical locations to improve report coherence. For example, Zhang et al. [36] introduced SentSAT+KG, which combines DenseNet-121 features with a knowledge graph to guide the generation process. Similarly, Li et al. [37] proposed DCL, a ViT-based approach that leverages dynamic graphs to represent complex entity relationships for improved interpretability and performance. However, these models require the construction and maintenance of complex medical knowledge graphs, which can be labor-intensive and often depend on domain expertise. Moreover, their performance is highly sensitive to the quality and completeness of the graph, making them less robust in diverse clinical scenarios.
To optimize report generation beyond traditional supervised objectives, reinforcement learning (RL) has been explored. These methods employ task-specific reward functions that promote diagnostic relevance and linguistic quality. Notably, Li et al. [38] proposed the H-Agent model, leveraging DenseNet-based image features with a reward-based training strategy. Building on this, Jing et al. [39] introduced CMAS-RL, which uses ResNet-50 as the backbone and incorporates domain-specific rewards to refine output quality. Further enhancing this line of research, Qin and Song [40] presented CMM+RL, which applies a more powerful ResNet-101 encoder and a reinforcement learning framework to improve factual correctness and report coherence. Nonetheless, reinforcement learning-based models often face challenges such as unstable training dynamics, sensitivity to reward function design, and high computational overhead, which hinder their practical deployment in real-world clinical systems.
2.3. Transformer and Large Language Models Based Methods
The transformative success of self-attention mechanisms in NLP has inspired numerous transformer-based models for radiology. These models can better contextualize spatial and semantic features across the image–report pipeline, with the original Transformer model [41] laying the foundation for this architecture class. R2Gen [42], PPKED [43], and R2GenCMN [44] adopted custom transformer designs on top of ResNet-based image encoders to generate structured reports. Models such as SGF [45], PGT [46], JPG [47], and ITA [48] further refine this paradigm by integrating domain-specific priors, knowledge embeddings, or training schemes such as curriculum learning, as used in CMCL [49]. Variational approaches like VTI [50] and vision–language alignment methods such as UAR [51] demonstrate the versatility of transformer-based architectures in balancing generation fidelity and clinical accuracy. However, these models often struggle with generating detailed and accurate descriptions, especially when handling complex sentence structures and mitigating data biases, largely because they are not pre-trained on large-scale, diverse datasets to effectively capture the nuanced relationships between visual features and textual descriptions.
The application of LLMs, such as GPT and LLaMA, has revolutionized medical report generation by providing powerful pre-trained language priors. These models can generate coherent, factually accurate reports using multimodal cues. Nicolson et al. [23] introduced CvT-DistilGPT2, combining CvT-21 image features with a lightweight DistilGPT2 language model to enhance generation efficiency while preserving quality. This model exemplifies how compact transformer variants can be used effectively in resource-constrained environments. Another notable approach is MCSAM by Tao et al. [24], which uses MedCLIP for visual encoding and integrates it with BERT for report generation. This memory-compressed alignment model leverages semantic consistency across image–text pairs, highlighting the value of aligning cross-modal embeddings. However, despite its efficiency, the reduced model size limits its capacity to capture complex medical terminologies and relationships, potentially affecting the depth and accuracy of the generated reports.
In summary, existing research on the generation of chest radiographs has mainly relied on earlier transformer models, resulting in notable performance improvements. However, these models still encounter limitations in generating highly relevant and medically precise reports. A key gap in the literature is the underutilization of larger LLMs, such as LLaMA-3, which have the potential to enhance both the accuracy and contextual understanding necessary for clinical applications. We address this gap by leveraging the LLaMA-3.1 8B model, which offers improved performance and better contextual comprehension to generate more accurate and medically relevant reports.
3. Methodology
3.1. LLaMA-XR Framework
Our framework involves two primary components: one for visual information extraction from CXRs and the other for generating reports using LLMs. For visual information extraction, we utilized DenseNet-121 and, to generate reports, we employed LLaMA 3. Figure 1 provides an illustration of this framework.
Figure 1.
Overview of the proposed framework for automated radiology report generation. (a) anteroposterior (AP) and lateral (LAT) X-ray images are processed through DenseNet-121 to produce a combined 36-dimensional confidence vector. (b) The vector, together with the corresponding radiology report, is converted into Alpaca-style prompts, and the resulting prompts along with QLoRA-generated outputs are passed to LLaMA 3.1 8B for radiology report generation, where the adapter weights guide and enhance the model’s generation process. (c) QLoRA enables low-rank adaptation of a quantized base model by introducing a small set of trainable adapter parameters, updating only a minimal subset of parameters during fine-tuning.
The “DenseNet121-res224-all” model [25] was pre-trained on a broad collection of public CXR datasets that includes the IU X-ray dataset. Although the visual extractor is kept completely frozen (no gradients are back-propagated) and is used only to produce fixed 36-dimensional embeddings, we acknowledge that pre-training on IU X-ray may introduce a potential source of bias. In particular, the model may generate higher-quality embeddings for images drawn from a familiar distribution, which could slightly inflate performance compared to entirely unseen datasets. This limitation is consistent with prior work using large-scale pre-trained CXR models and should be considered when interpreting the results. In the model name, DenseNet-121 refers to the architecture, res224 indicates the resolution of pixels, and ‘all’ signifies that the model was trained on all available chest X-ray datasets. DenseNet-121 is a convolutional neural network known for its dense connectivity pattern, which enables feature reuse across layers and promotes the learning of compact and informative image representations [23,26]. This model extracts detailed visual features from chest radiographs and outputs confidence scores for 18 different medical conditions: Atelectasis, Cardiomegaly, Consolidation, Edema, Effusion, Emphysema, Enlarged Cardiomediastinum, Fibrosis, Fracture, Hernia, Infiltration, Lung Lesion, Lung Opacity, Mass, Nodule, Pleural Thickening, Pneumonia, and Pneumothorax. These scores serve as semantically rich embeddings for the report generation module, guiding the language model in producing clinically meaningful narratives. We chose to use a small 36-dimensional vector of 18-condition confidence scores instead of larger high-dimensional vectors. This allows us to obtain clinically interpretable priors, reduce the dimensionality of the input for the LLM, and align with radiology terminology.
This approach has the benefits of reducing computational costs without compromising on strong semantic performance. We also have plans for an ablation study involving a comparison against late-layer CNN/ViT embeddings, and the modularity makes this very accessible. Although DenseNet-121 was selected due to its strong performance and efficient parameter usage in medical imaging tasks, our framework is modular and flexible, allowing alternative architectures such as ResNet, EfficientNet, or Vision Transformers to be substituted based on specific needs or experimental goals. Figure 2 illustrates the output classes of the multi-label classification, as determined by the pre-trained DenseNet classifier. Figure 3 then adds a heatmap to the chest X-ray image, indicating the parts of the image that were considered most relevant during the classification process. These heatmaps are based on the DenseNet feature extractor and should not be considered as an explanation of the report generation process of the LLaMA component. These visualizations enhance interpretability by linking model decisions to specific image regions, thereby supporting transparent and informed clinical use.
Figure 2.
Illustration of the “DenseNet121-res224-all” output classes.
Figure 3.
The heatmap highlights the critical regions in a chest X-ray image that influenced the Densenet-121 model’s classification decision. Warmer colors indicate higher importance in the model’s feature extraction process. The probability distribution illustrates the confidence score of each abnormality, and 18 colors represent 18 abnormalities.
LLaMA 3’s architecture is a part of the LLaMA series, which are transformer-based models. The LLaMA series models are trained on vast amounts of textual data to predict the next token in a sequence, making them highly effective for tasks such as text generation, translation, and summarization. Specifically, the “LLaMA 3.1 8B” [22] model has 8 billion parameters, which makes it capable of understanding and generating complex and contextually accurate text. The architecture of LLaMA 3 is illustrated in Figure 1, consisting of multiple layers of transformer blocks, each containing self-attention mechanisms and feedforward neural networks. These layers enable the model to capture long-range dependencies in the text, making it adept at understanding context and generating coherent and relevant text based on the given input. The model uses a tokenization process to convert input text into tokens, which are then processed through the transformer layers. The output is a sequence of tokens which are converted back into readable text, resulting in detailed and contextually accurate reports.
For generating reports, we used the “LLaMA 3.1 8B 4-bit quantized” model [22], implemented via the Unsloth (https://unsloth.ai/, accessed on 5 December 2025) framework alongside two fine-tuning strategies: SFT and QLoRA [27]. The LLaMA 3.1 8B model was selected for its strong performance in language understanding and generation, offering a robust balance between model size and capability. The 8 B parameter scale is large enough to capture complex medical semantics while remaining computationally feasible. The 4-bit quantization significantly reduces memory use and accelerates inference, but does so with little impact to model performance. As such, it is a good candidate for practical use, especially in resource-constrained settings. Unsloth was used because of its highly optimized implementation for quantized models, enabling faster and more memory-efficient training. SFT improves the ability of the model to generalize in domain-specific tasks by training it on labeled radiology report data. Meanwhile, QLoRA enables low-rank adaptation of a quantized base model, updating only a small, learnable subset of parameters. This approach improves efficiency, reduces overfitting, and reduces overall training cost. Together, this configuration allows us to fine-tune the model up to two times faster and with approximately 60% less memory usage [27], making the entire system scalable and accessible for wider real-world applications in the generation of medical reports.
3.2. QLoRA
The QLoRA framework [27] is a significant advancement over the Low-Rank Adaptation (LoRA) [52] technique, specifically designed to make fine-tuning LLMs more efficient in terms of memory usage and computational cost. QLoRA builds upon the core concept of LoRA, which freezes the pre-trained weight matrix, , during fine-tuning to prevent computationally expensive updates. Instead, LoRA introduces two trainable low-rank matrices, and , where r is the rank hyperparameter, representing a trade-off between efficiency and model expressiveness. The weight updates in QLoRA are similarly represented as in Equation (1), offering a low-rank approximation of the necessary adjustments to the original weights.
where and represent the low-rank matrices, and is the update to the original weights.
At inference, the combined weight matrix W is computed by merging the frozen pre-trained weights and the learned updates, as shown in Equation (2).
where is the frozen pre-trained weight matrix, and is the learned update from the low-rank matrices.
The forward pass in QLoRA is expressed as:
where x is the input data, and h is the hidden representation. This decomposition enables the model to retain the general knowledge encoded in while incorporating task-specific information through A and B. The QLoRA model was configured with the following hyperparameters: rank r = 16, alpha scaling factor = 32, and dropout rate = 0.05. LoRA adapters were applied to the q_proj, k_proj, v_proj, and o_proj modules of the transformer. The adapters were implemented using the Unsloth framework with 4-bit quantization.
QLoRA [27] further improves upon LoRA [52] by introducing 4-bit quantization for the pre-trained weight matrix . Quantization is a technique that reduces the precision of numerical representations, enabling computation with lower memory and faster execution speeds. In QLoRA, the pre-trained weights are quantized to 4 bits, significantly reducing the memory footprint of the model by approximately 60%. Despite the reduction in precision, this quantization minimally affects model accuracy because remains frozen and is complemented by the precise updates provided by the full-precision low-rank matrices A and B. This hybrid approach ensures that task-specific adaptations are handled with high fidelity while general pre-trained knowledge is retained in a compressed form.
Another critical component is the rank hyperparameter (r) in the low-rank matrices. By adjusting r, practitioners can balance the trade-off between model performance and computational efficiency. A lower rank results in fewer parameters to update, which reduces memory and accelerates training, while a higher rank increases the model’s capacity to learn complex task-specific patterns.
These innovations in QLoRA lead to substantial performance gains. By restricting updates to the smaller matrices A and B and leveraging quantized pre-trained weights, QLoRA achieves up to twice the training speed of traditional fine-tuning methods. This requirement is reduced considerably, and it is possible to fine-tune large-scale models such as LLaMA 65B on a single 48 GB GPU [27]. This efficiency does not compromise the model’s ability to produce high-quality, task-specific outputs, making QLoRA a practical solution for deploying LLMs in resource-constrained environments.
3.3. Dataset Description
We evaluated our approach using the IU-Xray [28] dataset, which consists of 7470 chest X-ray images and 3955 corresponding radiology reports. Each report is paired with both a frontal and a lateral X-ray image or contains one image only. In the IU X-ray dataset, approximately 12.4% of cases contain only a single view. These single-view cases were proportionally distributed across the patient-level 70% training, 10% validation, and 20% test splits, ensuring a consistent data distribution across all subsets. For such cases, the 18 confidence scores from the available view are duplicated to maintain the required 36-dimensional input representation. This approach preserves architectural consistency without introducing additional preprocessing complexity. Given the relatively small proportion of single-view cases, their overall impact on model performance is expected to be limited, and no significant deviation in training dynamics or evaluation metrics was observed. Table 1 presents two patients’ X-ray images from the dataset along with their associated reports.
Table 1.
Examples from the IU-Xray dataset, showing chest X-ray images (frontal and lateral views) paired with their corresponding radiology reports.
3.4. Dataset Preparation
Our dataset preparation process is divided into two key steps. The first step focuses on preparing the data for the visual information extractor, which extracts useful features from the X-ray images. The second step involves using these extracted features to fine-tune the LLM for medical report generation.
3.4.1. Image Preparation
In the first step, we used DenseNet121-res224-all [25] as the visual information extractor. To prepare the images for this model, we first resized all X-ray images to a consistent dimension of pixels. This resizing ensures that the input images meet the required size for the DenseNet-121 model. After resizing, we normalized the images to scale the pixel values, making them consistent and aiding the model’s performance. Since X-ray images are typically grayscale, we also converted the images to a single color channel to ensure that only the relevant intensity information is used during feature extraction. Once processed, the images were fed into the DenseNet-121 network, which outputs a 36-dimensional vector representing classification scores for 18 different medical conditions across two views: frontal and lateral, as illustrated in Figure 1. These vectors are critical for the subsequent steps in the report generation process.
3.4.2. Prompt Generation
In the second step, we used the extracted visual information to construct a dataset for fine-tuning the LLM. For this purpose, we employed Unsloth: https://unsloth.ai/(acessed on 5 December 2025) and QLoRA [27] techniques, along with a structured Alpaca prompt system to format the input data appropriately. We use the Alpaca prompt format for instruction tuning because it is simple, has a consistent task-response structure, and is compatible with QLoRA fine-tuning, which is important for the inclusion of radiology-specific instruction prompts. The Alpaca prompt format, as shown in Figure 4, begins with a general instruction that describes the task at hand. This is followed by a specific instruction that provides detailed context about the input data, which in this case consists of a 36-dimensional vector, 18 values from the frontal view and 18 values from the lateral view. The input part of the prompt contains these classification scores, while the corresponding response contains the relevant findings based on the medical conditions associated with the scores.
Figure 4.
Example prompt for fine-tuning.
During the testing phase, the response portion of the prompt remains empty. This allows the model to generate the medical report based on the input data, as it will be expected to fill in the response with the appropriate findings for the given classification scores.
3.5. Fine-Tuning LLaMA
For fine-tuning the LLaMA 3.1 model, we used Google Colab equipped with an A100 GPU, which provided the computational resources necessary to efficiently handle large-scale fine-tuning tasks. The training process was implemented using the SFTTrainer from the trl library. To achieve an effective balance between computational efficiency and gradient stability, the batch size was set to 8, with gradient accumulation steps of 4, effectively simulating a batch size of 32. The model was trained for three complete epochs, which was sufficient for convergence demonstrated in Figure 5, given the size of the training dataset and the complexity of the task. A learning rate of was used, optimized using the AdamW 8-bit optimizer (optim = “adamw_8bit”), which significantly reduces memory overhead by quantizing the optimizer states without compromising performance. Mixed precision training (fp16) was enabled to take advantage of the A100 GPU’s capabilities, accelerating training while reducing memory usage. The fine-tuning involved a total of 41,943,040 trainable parameters, enabling the model to adapt to the target domain while preserving its pre-trained knowledge.
Figure 5.
Training and validation loss curves showing consistent convergence and stable generalization across training iterations.
A linear learning rate scheduler (lr_scheduler_type = “linear”) was employed to ensure smooth and controlled adjustments to the learning rate during training, while warmup steps (warmup_steps = 30) facilitated a gradual ramp-up to the optimal learning rate, mitigating potential instabilities during the initial training phase. A weight decay of 0.01 was applied to regularize the model, preventing overfitting by penalizing large weight magnitudes. To further enhance training robustness, early stopping was implemented, thereby avoiding unnecessary computations and overfitting. Model checkpoints were periodically saved, with the best-performing model automatically restored at the end of training (load_best_model_at_end = True). Evaluations were conducted at regular intervals to track performance metrics and ensure the model was progressing as expected.
3.6. Evaluation Metrics
BiLingual Evaluation Understudy (BLEU) [53] is a metric that compares human-generated output with machine-generated output based on n-gram. It evaluates how accurately the machine has generated the report by comparing it with the reference report. The BLEU score is defined in Equation (4), where is the brevity penalty as shown in Equation (5), is the precision of n-grams given in Equation (6), and is the weights for n-grams as shown in Equation (7).
The ROUGE-L (Recall-Oriented Understudy for Gisting Evaluation—Longest Common Subsequence) [54] score is calculated based on the longest common subsequence (LCS) between a reference text and a candidate text. The ROUGE-L score considers precision, recall, and an F-measure based on the LCS and is defined in Equation (8). The precision and recall are computed using Equations (9) and Equation (10), respectively. Here, LCS is the length of the longest common subsequence between the candidate and reference sequences, is a weighting factor (commonly set to 1 to equally weight precision and recall), and is the harmonic mean of precision and recall.
The Metric for the Evaluation of Translation with Explicit ORdering (METEOR) [55] score evaluates the similarity between a candidate sentence and a reference sentence using, and (a harmonic mean of precision and recall) and penalty P, as defined in Equation (11). Precision and recall are calculated using Equation (12) and Equation (13), respectively. is the harmonic mean of precision and recall controlled by the parameter , as shown in Equation (14). Furthermore, the penalty function to handle excessive fragmentation is defined in Equation (15).
To fine-tune the METEOR metric, is used, enhancing the correlation between human and machine translation evaluation. and are parameters that control the severity of the penalty (typically and ), Chunks refers to contiguous matched segments in the candidate sentence, and Matched unigrams is the number of unigram matches between the candidate and reference sentences. The METEOR score penalizes fragmented matches to improve alignment quality and ensures a balanced combination of precision and recall.
Although formal confidence intervals are not explicitly reported, the evaluation was conducted over the full test set, which reduces variance associated with small sample evaluations. The observed improvements in ROUGE-L and METEOR are consistent across qualitative and quantitative analyses, suggesting that the gains are not driven by isolated examples but reflect a general trend in performance.
4. Results
Table 2 presents a comparative evaluation of our proposed method, LLaMA-XR, against existing methods previously benchmarked on the IU X-ray dataset. LLaMA-XR demonstrates leading performance in terms of ROUGE-L [54] and METEOR [55] on the IU X-ray dataset, two widely used metrics that emphasize semantic fidelity and syntactic fluency. In particular, LLaMA-XR achieves a 4.34% improvement in ROUGE-L over the result of SGF method [45]. This significant gain is primarily attributed to the incorporation of a larger pre-trained language model (LLM) within our architecture, which enhances the model’s ability to generate radiology reports that are both contextually relevant and clinically coherent. Although formal confidence intervals are not explicitly reported, the evaluation was conducted over the full test set, which reduces variance associated with small sample evaluations. The observed improvements in ROUGE-L and METEOR are consistent across qualitative and quantitative analyses, suggesting that the gains are not driven by isolated examples but reflect a general trend in performance. Moreover, LLaMA-XR surpasses the VTI [50] and UAR [51] methods in the METEOR metric by an impressive 54.13%, underscoring its strength in capturing synonym variability and maintaining semantic alignment with the reference reports. Whereas LLaMA-XR performs slightly below some recent methods in terms of BLEU-4 scores, it achieves competitive BLEU-4 performance while substantially outperforming all baselines on ROUGE-L and METEOR, suggesting its outputs are more semantically rich but less lexically precise than template-heavy approaches. In the context of radiology reporting, where semantic accuracy and clinical relevance are paramount, metrics like ROUGE-L and METEOR provide a more meaningful assessment of model quality. In the test environment with a single A100 GPU, it takes 1.86 s on average to generate a chest X-ray report.
Previous research has demonstrated that METEOR is more effective than BLEU in capturing semantic accuracy and linguistic fluency, particularly in specialized domains where precise terminology and structured language are critical, such as medical reporting [56]. In a similar vein, ROUGE-L has been widely recognized as a more suitable metric for assessing textual coherence and semantic fidelity, especially in tasks involving summarization and natural language generation within healthcare contexts [54]. Given that medical reports demand factual correctness, structured completeness, and linguistic coherence, the use of METEOR and ROUGE-L provides a more clinically meaningful and domain-appropriate evaluation of model performance than surface-level n-gram matching metrics.
To rigorously assess the performance of our model and highlight that, despite a marginally lower BLEU-4 score, our ROUGE-L and METEOR scores reflect better linguistic coherence and clinical relevance, we conducted a comparative analysis against CvT-DistilGPT2 [23], a model incorporating a pretrained GPT architecture with a substantial parameter count. The results of this qualitative performance comparison between our proposed LLaMA-XR framework and CvT-DistilGPT2 are presented in Table 3. Although LLaMA-XR yields a slightly lower BLEU-4 score, it achieves notable improvements in both ROUGE-L and METEOR. This distinction is particularly important in the domain of medical report generation, where lexical overlap alone, as measured by BLEU-4, is often inadequate for evaluating the semantic integrity and clinical accuracy of generated text [57]. These findings underscore the relevance of using metrics that prioritize meaningful content alignment over surface-level word matching when assessing models in the clinical NLP domain.
Table 2.
Comparison with existing studies. All results are taken from the respective published works. Boldface denotes the highest score, and underlined values indicate the second-highest score for each evaluation metric. The last column reports the performance difference (, , and ) of each method compared to the second-best performing baseline.
Table 3.
Qualitative and metric-level comparison of reports generated by LLaMA-XR and CvT-DistilGPT2.
In order to understand the performance of the modest BLEU-4 score of 0.180, we analyzed the reports both qualitatively and quantitatively. Based on quantitative analysis on the test set, LLaMA-XR generates reports with a mean length of tokens (), where the mean represents the average report length and the standard deviation reflects variability across samples. This enhances the variety of lexicons through clinically precise synonyms and paraphrased sentences, such as “cardiomediasinal silhouette is unremarkable” becoming “heart size and mediastinal contours appear within normal limits.” This decreases n-gram overlap, hence reducing BLEU-4, even though semantic content and fidelity are enhanced, as reflected in the improved ROUGE-L and METEOR scores. LLaMA-XR’s BLEU-4 remains greater than 22/31, staying competitive with other recent LLM-based approaches such as R2GenGPT (0.173) and Med-LLM (0.168). Although BLEU-4 is still an important metric, clinical report generation focuses on semantic and factual content.
Our LLaMA-XR framework consistently outperforms CvT-DistilGPT2 in terms of both METEOR and ROUGE-L, underscoring its superior capability in generating semantically accurate and coherent medical texts. The METEOR metric, which accounts for synonymy, stemming, and semantic matching, is particularly well-suited for the medical domain, where multiple terminologies may describe the same condition or finding. In contrast, ROUGE-L evaluates the longest common subsequence (LCS), making it highly effective for assessing the preservation of structured medical content, such as causal relationships and anatomical consistency [54]. Although CvT-DistilGPT2 achieves a higher BLEU-4 score, its outputs tend to prioritize lexical overlap over true semantic alignment, often producing more generic reports that lack the specificity and clinical precision required in radiological interpretation. The 54% relative METEOR improvement over the previous best baseline (0.218 → 0.336) is due to the enormous pre-trained knowledge base of LLaMA 3.1 (8 B parameters) and its ability to handle synonyms and semantic paraphrasing better than the smaller transformer-based approaches in previous works. These results highlight the limitations of relying solely on BLEU-based metrics and emphasize the importance of clinically informed evaluation frameworks in medical text generation.
5. Discussion
5.1. Qualitative Analysis
Table 4 presents a qualitative comparison between reports generated by CvT-DistilGPT2 and our proposed LLaMA-XR framework. The results reveal that LLaMA-XR consistently produces reports with enhanced linguistic coherence and clinical relevance. In contrast, CvT-DistilGPT2 [23] frequently introduces extraneous content not present in the reference report, which may compromise the reliability of its outputs in clinical settings due to the risk of hallucinated or inaccurate findings. However, it is worth noting that when such additional observations are clinically accurate, they could potentially offer supplementary value to clinicians by highlighting findings that may have been overlooked in the original interpretation. Nevertheless, distinguishing between helpful augmentation and unreliable hallucination remains a critical challenge for safe and trustworthy AI deployment in medical contexts. To quantify this, we report a term-level analysis on qualitative samples, yielding a 15% hallucination rate when comparing generated pathology mentions against reference reports.
Table 4.
Comparison of reference and generated reports from CvT-DistilGPT2 and LLaMA-XR.
LLaMA-XR appears to retain key clinical details such as normal heart size and pulmonary vascularity in the generated report. Additionally, it appears to include some findings that are not present in the CvT-DistilGPT2 output, such as the absence of pneumonia, pleural effusion, and pulmonary edema. These observations suggest that LLaMA-XR may have a tendency to preserve more relevant clinical details in the generated report. However, formal validation by radiologists would be necessary to draw conclusive comparisons regarding clinical accuracy and reliability.
Table 5 presents a qualitative comparison between LLaMA-XR and the PGT model. In the observed outputs, LLaMA-XR appears to generate reports with relatively higher fluency and completeness. While PGT produces some correct descriptions, it tends to omit certain findings that are present in the reference reports. For example, in the first case, PGT does not mention focal consolidation, which appears in the LLaMA-XR output. In the second case, LLaMA-XR also includes additional observations such as bronchovascular crowding. These differences suggest that LLaMA-XR may tend to generate more complete outputs in these examples, though formal radiologist validation would be needed to confirm clinical alignment and diagnostic reliability.
Table 5.
Comparison of reference and generated reports from PGT and LLaMA-XR.
5.2. Findings and Observations
In this study, several key findings and observations were made regarding the use of various models for medical report generation. After fine-tuning of LLaMA 3.1 [22], a large autoregressive decoder-only transformer with 8 billion parameters, it demonstrated strong performance on the IU X-ray benchmark in generating medical reports. This model benefits from being trained on a substantial amount of diverse data, allowing it to effectively capture the patterns required for generating clinically relevant text. Another important observation is that classification models such as DenseNet-121 [25], when used as an embedding, can achieve excellent performance in generating medical reports when provided with clear and meaningful instructions. In this study, we used a pre-trained version of DenseNet-121, fine-tuned on the same domain of medical imaging data, which likely contributed to its strong performance. This pre-training allows the model to better understand the specific nuances of medical images, enhancing its ability to interpret and generate relevant medical text. In addition, the use of Unsloth, which supports QLoRA [27] 4-bit quantization, has significantly improved the efficiency of the report generation process in terms of both speed and memory consumption. Unsloth’s ability to perform quantization reduces the model’s memory requirements, enabling faster processing without compromising the quality of the generated reports.
5.3. Limitations and Future Work
While our study utilized IU-Xray [28], one of the two widely recognized benchmark datasets, we selected it due to its high relevance and suitability for the research objectives. Its well-curated structure and established use in prior work make it a robust foundation for evaluating our approach. Nonetheless, future work could benefit from extending the analysis to the MIMIC-CXR [71] dataset to further validate and generalize the findings.
Among the various pre-trained models available for image embedding, we employed DenseNet-121 due to its demonstrated strong performance and efficient parameter utilization in medical imaging tasks. The use of a DenseNet-121 model pre-trained on datasets including IU X-ray may introduce bias, as familiarity with the data distribution could slightly inflate performance despite the extractor being frozen. Nevertheless, the choice reflects a balance between computational efficiency and representational power, while also acknowledging potential dataset-specific advantages inherent in pre-training. Importantly, our framework is designed to be modular and architecture-agnostic, allowing for seamless integration of alternative backbone models such as ResNet, EfficientNet, or Vision Transformers. Future studies may explore these and other architectures within our framework to assess their comparative effectiveness, mitigate potential pre-training biases, and adapt the model to diverse application requirements.
Additionally, we focused exclusively on QLoRA as our fine-tuning method, chosen for its efficiency and effectiveness in resource-constrained settings. Future work may investigate other fine-tuning strategies, including LoRA, Prefix Tuning, or Full Parameter Fine-Tuning, to assess their relative impact and broaden the applicability of our approach across various model sizes and domains.
Ablation studies were not conducted in this work due to the computational cost associated with retraining the 8B-parameter LLaMA 3.1 model with the Colab A100 environment. Nevertheless, the LLAMA-XR architecture’s modularity means that the following ablation studies can be conducted in future work: (a) single-view (frontal only) versus dual-view 36-dimensional embeddings, (b) 18-condition confidence scores versus higher-dimensional late-layer CNN or ViT embeddings, (c) full fine-tuning versus QLoRA, and (d) smaller versus 8B-parameter LLaMA models.
From a clinical radiology perspective, the integration of LLaMA-XR into radiologist workflows requires further exploration, particularly in terms of real-world deployment and validation [72]. While the framework demonstrates improved semantic and linguistic performance, its clinical utility hinges on how it supports or augments human interpretation [73]. For instance, LLaMA-XR could be deployed to draft preliminary reports for radiologist review in settings with limited specialist availability, such as rural or resource-constrained environments [74]. The model’s attention heatmaps may support transparency and clinician trust by visually linking predictions to image regions of interest [75], though their practical interpretability in diagnostic workflows still needs to be assessed. Since LLaMA-XR generates narrative reports, future development should explore alignment with structured reporting frameworks such as RSNA templates or BI-RADS to enhance consistency, completeness, and data interoperability [76]. Additionally, broader validation using clinical datasets, including cases with incidental findings, medical devices, or less common pathologies, is essential for robust performance [77]. Ongoing radiologist feedback and real-world evaluation will be critical to ensure safety, relevance, and integration into clinical practice [73].
Building on these system-level considerations, further validation should focus on the clinical content and safety of the generated reports. The generated reports were evaluated on IU X-ray dataset using BLEU, ROUGE-L, and METEOR, following standard practice and allowing comparison with previous studies; while these metrics capture semantic and syntactic quality, they do not fully assess whether key clinical findings are correctly identified or whether critical abnormalities are omitted or hallucinated [13,77]. Clinical metrics, including RadGraph F1 and CheXbert label-based scores, assess the accuracy of entities and relations, and we aim to incorporate these clinically grounded metrics in future evaluations. A small-scale qualitative review by radiologists, such as case-based annotations comparing generated reports to reference standards, could offer valuable insight into clinical accuracy, safety, and interpretability [74]. This type of human evaluation would help determine whether the model supports diagnostic decision-making or introduces risks through omission or irrelevant information [73].
Furthermore, it is important to acknowledge that the comparison between LLaMA-XR and most prior methods is architecturally asymmetric. LLaMA-XR utilizes a large language model with 8 billion parameters, whereas the majority of baseline models employ sub-1 B parameter architectures. A portion of the performance gains observed in ROUGE-L and METEOR may therefore reflect differences in model scale, in addition to the proposed architectural contributions. For instance, LLaMA-XR achieves a METEOR score of 0.336, representing a 54% improvement over the next best-performing baseline (0.218 for VTI/UAR). However, as the baseline studies do not report parameter counts, a precise quantitative comparison of model scale is not feasible, and the relative differences in model capacity may vary. Future comparisons with models of comparable parameter sizes would help to isolate the specific contributions of the proposed framework.
In addition, the model’s ability to recognise uncommon or incidental findings requires further exploration. Chest radiographs frequently contain incidental nodules, bony lesions, or devices such as central lines and pacemakers, which may be underrepresented in training datasets. These elements are clinically important but can be overlooked by automated systems that rely on frequent or highly visible patterns [77]. Understanding how LLaMA-XR handles such low-prevalence features is critical for deployment in real-world practice. Future studies should include cases with atypical pathologies and radiological devices to assess whether the model can accurately identify, interpret, or appropriately omit these findings based on clinical context [73,76]. Confidence intervals and statistical significance testing (e.g., via bootstrap resampling) are not included in the current study, and these analyses can be considered in future work.
6. Conclusions
In this study, we proposed LLaMA-XR, a novel framework for automated radiology report generation that combines DenseNet-121 for visual feature extraction with LLaMA 3.1 for text generation and structured text completion. By leveraging multi-view X-ray embeddings and prompt-based conditioning, our model bridges the semantic gap between visual and textual modalities more effectively than previous approaches. LLaMA-XR achieved top-tier performance on the IU X-ray dataset, attaining a ROUGE-L score of 0.433 and a METEOR score of 0.336, indicating its ability to generate semantically accurate and clinically coherent reports. Although BLEU scores were slightly lower than some baselines, they remained competitive, while ROUGE-L and METEOR indicate stronger semantic richness and clinical coherence. The use of structured prompts and optimized fine-tuning strategies contributed to enhanced report quality and computational efficiency. This underscores the effectiveness of our framework in producing reliable medical narratives with reduced memory and processing overhead. Overall, this work demonstrates the promise of combining advanced vision and language models for AI-assisted radiology, contributing to the advancement of AI-assisted systems for supporting clinical decision-making.
Author Contributions
Conceptualization, M.Z.B.J., M.A.K., S.A. and I.J.; methodology, M.Z.B.J. and M.A.K.; software, M.Z.B.J.; validation, M.A.K. and M.C.; formal analysis, M.Z.B.J.; investigation, M.Z.B.J.; resources, M.A.K.; data curation, M.Z.B.J., S.A. and I.J.; writing—original draft preparation, M.Z.B.J., M.A.K., S.A. and I.J.; writing—review and editing, M.A.K. and M.C.; visualization, M.Z.B.J., M.A.K., S.A. and I.J.; supervision, M.A.K.; project administration, M.A.K. and M.C. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The study used a secondary dataset available at https://openi.nlm.nih.gov/faq?download=true (accessed on 23 May 2025). The source code is available at https://github.com/zihadbinjahangir/LLaMA-XR (accessed on 5 December 2025).
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Wang, X.; Peng, Y.; Lu, L.; Lu, Z.; Summers, R.M. Tienet: Text-image embedding network for common thorax disease classification and reporting in chest x-rays. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2018; pp. 9049–9058. [Google Scholar] [CrossRef] [Scilit]
- Tovar Pérez, M.; Rodríguez Mondéjar, M.R. Acquired heart disease in adults: What can a chest X-ray tell us? Radiologia 2017, 59, 446–459. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Bahl, S.; Ramzan, T.; Maraj, R. Interpretation and documentation of chest X-rays in the acute medical unit. Clin. Med. 2020, 20, s73. [Google Scholar] [CrossRef] [Scilit]
- Liu, G.; Hsu, T.M.H.; McDermott, M.; Boag, W.; Weng, W.H.; Szolovits, P.; Ghassemi, M. Clinically accurate chest x-ray report generation. In Proceedings of the Machine Learning for Healthcare Conference; PMLR: Cambridge, MA, USA, 2019; pp. 249–269. [Google Scholar]
- Sloan, P.; Clatworthy, P.; Simpson, E.; Mirmehdi, M. Automated Radiology Report Generation: A Review of Recent Advances. IEEE Rev. Biomed. Eng. 2024, 18, 368–387. [Google Scholar] [CrossRef] [Scilit]
- You, Q.; Jin, H.; Wang, Z.; Fang, C.; Luo, J. Image captioning with semantic attention. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2016; pp. 4651–4659. [Google Scholar] [CrossRef] [Scilit]
- Liu, F.; Ren, X.; Liu, Y.; Wang, H.; Sun, X. simNet: Stepwise Image-Topic Merging Network for Generating Detailed and Comprehensive Image Captions. arXiv 2018, arXiv:1808.08732. [Google Scholar]
- Vinyals, O.; Toshev, A.; Bengio, S.; Erhan, D. Show and tell: A neural image caption generator. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2015; pp. 3156–3164. [Google Scholar] [CrossRef] [Scilit]
- Iftikhar, S.; Naz, I.; Zahra, A.; Zaidi, S.z.Y. Report Generation of Lungs Diseases From Chest X-Ray Using NLP. Int. J. Innov. Sci. Technol. 2022, 3, 223–233. [Google Scholar] [CrossRef] [Scilit]
- Radford, A.; Narasimhan, K.; Salimans, T.; Sutskever, I. Improving language understanding by generative pre-training. OpenAI 2018, preprint. [Google Scholar]
- Touvron, H.; Lavril, T.; Izacard, G.; Martinet, X.; Lachaux, M.A.; Lacroix, T.; Rozière, B.; Goyal, N.; Hambro, E.; Azhar, F.; et al. Llama: Open and efficient foundation language models. arXiv 2023, arXiv:2302.13971. [Google Scholar] [CrossRef] [Scilit]
- Ranjit, M.; Ganapathy, G.; Manuel, R.; Ganu, T. Retrieval augmented chest x-ray report generation using openai gpt models. In Proceedings of the Machine Learning for Healthcare Conference; PMLR: Cambridge, MA, USA, 2023; pp. 650–666. [Google Scholar]
- Adams, L.C.; Truhn, D.; Busch, F.; Kader, A.; Niehues, S.M.; Makowski, M.R.; Bressem, K.K. Leveraging GPT-4 for post hoc transformation of free-text radiology reports into structured reporting: A multilingual feasibility study. Radiology 2023, 307, e230725. [Google Scholar] [CrossRef] [Scilit]
- Buckley, T.; Diao, J.; Adam, R.; Manrai, A. Accuracy of a Vision-Language Model on Challenging Medical Cases. arXiv 2023, arXiv:2311.05591. [Google Scholar] [CrossRef] [Scilit]
- Liu, Z.; Huang, Y.; Yu, X.; Zhang, L.; Wu, Z.; Cao, C.; Dai, H.; Zhao, L.; Li, Y.; Shu, P.; et al. DeID-GPT: Zero-shot Medical Text De-Identification by GPT-4. arXiv 2023, arXiv:2303.11032. [Google Scholar]
- Kung, T.H.; Cheatham, M.; Medenilla, A.; Sillos, C.; De Leon, L.; Elepaño, C.; Madriaga, M.; Aggabao, R.; Diaz-Candido, G.; Maningo, J.; et al. Performance of ChatGPT on USMLE: Potential for AI-assisted medical education using large language models. PLoS Digit. Health 2023, 2, e0000198. [Google Scholar] [CrossRef] [Scilit]
- Tanida, T.; Müller, P.; Kaissis, G.; Rueckert, D. Interactive and explainable region-guided radiology report generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2023; pp. 7433–7442. [Google Scholar] [CrossRef] [Scilit]
- Xu, M. MedicalGPT: Training Medical GPT Model. 2023. Available online: https://github.com/shibing624/MedicalGPT (accessed on 5 December 2025).
- Li, Y.; Liu, Y.; Wang, Z.; Liang, X.; Liu, L.; Wang, L.; Zhou, L. S-RRG-Bench: Structured Radiology Report Generation with Fine-Grained Evaluation Framework. Meta-Radiol. 2025, 3, 100171. [Google Scholar] [CrossRef] [Scilit]
- Chen, Z.; Varma, M.; Xu, J.; Paschali, M.; Veen, D.V.; Johnston, A.; Youssef, A.; Blankemeier, L.; Bluethgen, C.; Altmayer, S.; et al. A Vision-Language Foundation Model to Enhance Efficiency of Chest X-ray Interpretation. arXiv 2024, arXiv:2401.12208. [Google Scholar]
- Lee, S.; Youn, J.; Kim, H.; Kim, M.; Yoon, S.H. CXR-LLaVA: A multimodal large language model for interpreting chest X-ray images. Eur. Radiol. 2025, 35, 4374–4386. [Google Scholar] [CrossRef] [Scilit]
- Dubey, A.; Jauhri, A.; Pandey, A.; Kadian, A.; Al-Dahle, A.; Letman, A.; Mathur, A.; Schelten, A.; Yang, A.; Fan, A.; et al. The llama 3 herd of models. arXiv 2024, arXiv:2407.21783. [Google Scholar] [CrossRef] [Scilit]
- Nicolson, A.; Dowling, J.; Koopman, B. Improving chest X-ray report generation by leveraging warm starting. Artif. Intell. Med. 2023, 144, 102633. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Tao, Y.; Ma, L.; Yu, J.; Zhang, H. Memory-based Cross-modal Semantic Alignment Network for Radiology Report Generation. IEEE J. Biomed. Health Inform. 2024, 28, 4145–4156. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Cohen, J.P.; Viviano, J.D.; Bertin, P.; Morrison, P.; Torabian, P.; Guarrera, M.; Lungren, M.P.; Chaudhari, A.; Brooks, R.; Hashir, M.; et al. TorchXRayVision: A library of chest X-ray datasets and models. In Proceedings of the International Conference on Medical Imaging with Deep Learning; PMLR: Cambridge, MA, USA, 2022; pp. 231–249. [Google Scholar]
- Nguyen, H.T.N.; Nie, D.; Badamdorj, T.; Liu, Y.; Zhu, Y.; Truong, J.; Cheng, L. Automated Generation of Accurate & Fluent Medical X-ray Reports. arXiv 2021, arXiv:2108.12126. [Google Scholar]
- Dettmers, T.; Pagnoni, A.; Holtzman, A.; Zettlemoyer, L. Qlora: Efficient finetuning of quantized llms. In Advances in Neural Information Processing Systems 36; Neural Information Processing Systems Foundation, Inc.: San Diego, CA, USA, 2024; Volume 36. [Google Scholar]
- Demner-Fushman, D.; Kohli, M.D.; Rosenman, M.B.; Shooshan, S.E.; Rodriguez, L.; Antani, S.; Thoma, G.R.; McDonald, C.J. Preparing a collection of radiology examinations for distribution and retrieval. J. Am. Med. Inform. Assoc. 2016, 23, 304–310. [Google Scholar] [CrossRef] [Scilit]
- Islam, S.; Dash, A.; Seum, A.; Raj, A.H.; Hossain, T.; Shah, F.M. Exploring video captioning techniques: A comprehensive survey on deep learning methods. SN Comput. Sci. 2021, 2, 120. [Google Scholar] [CrossRef] [Scilit]
- Suresh, K.R.; Jarapala, A.; Sudeep, P. Image captioning encoder–decoder models using CNN-RNN architectures: A comparative study. Circuits Syst. Signal Process. 2022, 41, 5719–5742. [Google Scholar] [CrossRef] [Scilit]
- Zhang, K.; Li, P.; Wang, J. A Review of Deep Learning-Based Remote Sensing Image Caption: Methods, Models, Comparisons and Future Directions. Remote Sens. 2024, 16, 4113. [Google Scholar] [CrossRef] [Scilit]
- Yin, C.; Qian, B.; Wei, J.; Li, X.; Zhang, X.; Li, Y.; Zheng, Q. Automatic generation of medical imaging diagnostic report with hierarchical recurrent neural network. In Proceedings of the 2019 IEEE International Conference on data Mining (ICDM); IEEE: Piscataway, NJ, USA, 2019; pp. 728–737. [Google Scholar] [CrossRef] [Scilit]
- Xu, G.; Niu, S.; Tan, M.; Luo, Y.; Du, Q.; Wu, Q. Towards accurate text-based image captioning with content diversity exploration. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2021; pp. 12637–12646. [Google Scholar] [CrossRef] [Scilit]
- Chen, L.; Jiang, Z.; Xiao, J.; Liu, W. Human-like controllable image captioning with verb-specific semantic roles. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2021; pp. 16846–16856. [Google Scholar] [CrossRef] [Scilit]
- Tran, A.; Mathews, A.; Xie, L. Transform and tell: Entity-aware news image captioning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2020; pp. 13035–13045. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Y.; Wang, X.; Xu, Z.; Yu, Q.; Yuille, A.; Xu, D. When radiology report generation meets knowledge graph. In Proceedings of the AAAI Conference on Artificial Intelligence; IEEE: Piscataway, NJ, USA, 2020; Volume 34, pp. 12910–12917. [Google Scholar] [CrossRef] [Scilit]
- Li, M.; Lin, B.; Chen, Z.; Lin, H.; Liang, X.; Chang, X. Dynamic graph enhanced contrastive learning for chest x-ray report generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2023; pp. 3334–3343. [Google Scholar] [CrossRef] [Scilit]
- Li, Y.; Liang, X.; Hu, Z.; Xing, E.P. Hybrid retrieval-generation reinforced agent for medical image report generation. Adv. Neural Inf. Process. Syst. 2018, 31, 1537–1547. [Google Scholar]
- Jing, B.; Wang, Z.; Xing, E. Show, describe and conclude: On exploiting the structure information of chest x-ray reports. arXiv 2020, arXiv:2004.12274. [Google Scholar] [CrossRef] [Scilit]
- Qin, H.; Song, Y. Reinforced cross-modal alignment for radiology report generation. In Proceedings of the Findings of the Association for Computational Linguistics: ACL 2022; Association for Computational Linguistics: Stroudsburg, PA, USA, 2022; pp. 448–458. [Google Scholar] [CrossRef] [Scilit]
- Vaswani, A. Attention is all you need. In Advances in Neural Information Processing Systems; NeurIPS: San Diego, CA, USA, 2017. [Google Scholar]
- Chen, Z.; Song, Y.; Chang, T.H.; Wan, X. Generating radiology reports via memory-driven transformer. arXiv 2020, arXiv:2010.16056. [Google Scholar]
- Liu, F.; Wu, X.; Ge, S.; Fan, W.; Zou, Y. Exploring and distilling posterior and prior knowledge for radiology report generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2021; pp. 13753–13762. [Google Scholar] [CrossRef] [Scilit]
- Chen, Z.; Shen, Y.; Song, Y.; Wan, X. Cross-modal Memory Networks for Radiology Report Generation. arXiv 2022, arXiv:2204.13258. [Google Scholar] [CrossRef] [Scilit]
- Li, J.; Li, S.; Hu, Y.; Tao, H. A self-guided framework for radiology report generation. In Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention; Springer: Berlin/Heidelberg, Germany, 2022; pp. 588–598. [Google Scholar] [CrossRef] [Scilit]
- Yan, B.; Pei, M.; Zhao, M.; Shan, C.; Tian, Z. Prior guided transformer for accurate radiology reports generation. IEEE J. Biomed. Health Inform. 2022, 26, 5631–5640. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- You, J.; Li, D.; Okumura, M.; Suzuki, K. Jpg-jointly learn to align: Automated disease prediction and radiology report generation. In Proceedings of the 29th International Conference on Computational Linguistics; International Committee on Computational Linguistics: New York, NY, USA, 2022; pp. 5989–6001. [Google Scholar]
- Wang, L.; Ning, M.; Lu, D.; Wei, D.; Zheng, Y.; Chen, J. An inclusive task-aware framework for radiology report generation. In Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention; Springer: Berlin/Heidelberg, Germany, 2022; pp. 568–577. [Google Scholar] [CrossRef] [Scilit]
- Liu, F.; Ge, S.; Zou, Y.; Wu, X. Competence-based multimodal curriculum learning for medical report generation. arXiv 2022, arXiv:2206.14579. [Google Scholar]
- Najdenkoska, I.; Zhen, X.; Worring, M.; Shao, L. Variational topic inference for chest x-ray report generation. In Proceedings of the Medical Image Computing and Computer Assisted Intervention–MICCAI 2021: 24th International Conference, Strasbourg, France, 27 September –1 October 2021; Proceedings, Part III 24; Springer: Berlin/Heidelberg, Germany, 2021; pp. 625–635. [Google Scholar] [CrossRef] [Scilit]
- Li, Y.; Yang, B.; Cheng, X.; Zhu, Z.; Li, H.; Zou, Y. Unify, align and refine: Multi-level semantic alignment for radiology report generation. In Proceedings of the IEEE/CVF International Conference on Computer Vision; IEEE: Piscataway, NJ, USA, 2023; pp. 2863–2874. [Google Scholar] [CrossRef] [Scilit]
- Hu, E.J.; Shen, Y.; Wallis, P.; Allen-Zhu, Z.; Li, Y.; Wang, S.; Wang, L.; Chen, W. LoRA: Low-Rank Adaptation of Large Language Models. arXiv 2021, arXiv:2106.09685. [Google Scholar]
- Papineni, K.; Roukos, S.; Ward, T.; Zhu, W.J. Bleu: A Method for Automatic Evaluation of Machine Translation. In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics; Isabelle, P., Charniak, E., Lin, D., Eds.; Association for Computational Linguistics: Philadelphia, PA, USA, 2002; pp. 311–318. [Google Scholar] [CrossRef] [Scilit]
- Lin, C.Y. Rouge: A package for automatic evaluation of summaries. In Proceedings of the Text Summarization Branches Out; Association for Computational Linguistics: Philadelphia, PA, USA, 2004; pp. 74–81. [Google Scholar]
- Denkowski, M.; Lavie, A. Meteor 1.3: Automatic metric for reliable optimization and evaluation of machine translation systems. In Proceedings of the Sixth Workshop on Statistical Machine Translation; Association for Computational Linguistics: Philadelphia, PA, USA, 2011; pp. 85–91. [Google Scholar]
- Banerjee, S.; Lavie, A. METEOR: An automatic metric for MT evaluation with improved correlation with human judgments. In Proceedings of the Acl Workshop on Intrinsic and Extrinsic Evaluation Measures for Machine Translation and/or Summarization; Association for Computational Linguistics: Philadelphia, PA, USA, 2005; pp. 65–72. [Google Scholar]
- Nguyen, D.; Chen, C.; He, H.; Tan, C. Pragmatic radiology report generation. In Proceedings of the Machine Learning for Health (ML4H); PMLR: Cambridge, MA, USA, 2023; pp. 385–402. [Google Scholar]
- Wang, Z.; Liu, L.; Wang, L.; Zhou, L. R2GenGPT: Radiology report generation with frozen llms. Meta-Radiol. 2023, 1, 100033. [Google Scholar] [CrossRef] [Scilit]
- Wang, Z.; Liu, L.; Wang, L.; Zhou, L. Metransformer: Radiology report generation by transformer with multiple learnable expert tokens. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: Piscataway, NJ, USA, 2023; pp. 11558–11567. [Google Scholar]
- Liu, R.; Li, M.; Zhao, S.; Chen, L.; Chang, X.; Yao, L. In-context learning for zero-shot medical report generation. In Proceedings of the 32nd ACM International Conference on Multimedia; Association for Computing Machinery: New York, NY, USA, 2024; pp. 8721–8730. [Google Scholar] [CrossRef] [Scilit]
- Shen, H.; Pei, M.; Liu, J.; Tian, Z. Automatic radiology reports generation via memory alignment network. In Proceedings of the AAAI Conference on Artificial Intelligence; Association for Computing Machinery: New York, NY, USA, 2024; Volume 38, pp. 4776–4783. [Google Scholar]
- Xue, Y.; Tan, Y.; Tan, L.; Qin, J.; Xiang, X. Generating radiology reports via auxiliary signal guidance and a memory-driven network. Expert Syst. Appl. 2024, 237, 121260. [Google Scholar] [CrossRef] [Scilit]
- Liu, C.; Tian, Y.; Chen, W.; Song, Y.; Zhang, Y. Bootstrapping large language models for radiology report generation. In Proceedings of the AAAI Conference on Artificial Intelligence; AAAI Press: Washington, DC, USA, 2024; Volume 38, pp. 18635–18643. [Google Scholar]
- Tan, Y.; Li, C.; Qin, J.; Xue, Y.; Xiang, X. Medical image description based on multimodal auxiliary signals and transformer. Int. J. Intell. Syst. 2024, 2024, 6680546. [Google Scholar] [CrossRef] [Scilit]
- Zhang, D.; Tan, Y.; Qin, J.; Xiang, X. Automatic Radiology Report Generation Based on State-Space Model. IEEE J. Biomed. Health Inform. 2025, 30, 527–538. [Google Scholar] [CrossRef] [Scilit]
- Chen, W.; Liu, Y.; Wang, C.; Zhu, J.; Li, G.; Liu, C.L.; Lin, L. Cross-Modal Causal Representation Learning for Radiology Report Generation. IEEE Trans. Image Process. 2025, 34, 2970–2985. [Google Scholar] [CrossRef] [Scilit]
- Tang, Y.; Yuan, Y.; Tao, F.; Tang, M. Cross-Modal Augmented Transformer for Automated Medical Report Generation. IEEE J. Transl. Eng. Health Med. 2025, 13, 33–48. [Google Scholar] [CrossRef] [Scilit]
- Liu, X.; Xin, J.; Dai, B.; Shen, Q.; Huang, Z.; Wang, Z. Label correlated contrastive learning for medical report generation. Comput. Methods Programs Biomed. 2025, 258, 108482. [Google Scholar] [CrossRef] [Scilit]
- Sun, Y.; Lee, Y.Z.; Woodard, G.A.; Zhu, H.; Lian, C.; Liu, M. R2gen-mamba: A selective state space model for radiology report generation. In Proceedings of the 2025 IEEE 22nd International Symposium on Biomedical Imaging (ISBI); IEEE: Piscataway, NJ, USA, 2025. [Google Scholar]
- Usman, M.; Ma, Z.; Yijia, Z. Mwcl: Memory-driven and mapping alignment with weighted contrastive learning for radiology reports. Multimed. Syst. 2025, 31, 462. [Google Scholar] [CrossRef] [Scilit]
- Johnson, A.E.; Pollard, T.J.; Berkowitz, S.J.; Greenbaum, N.R.; Lungren, M.P.; Deng, C.y.; Mark, R.G.; Horng, S. MIMIC-CXR, a de-identified publicly available database of chest radiographs with free-text reports. Sci. Data 2019, 6, 317. [Google Scholar] [CrossRef] [Scilit]
- Kim, S.; Lee, C.k.; Kim, S.s. Large language models: A guide for radiologists. Korean J. Radiol. 2024, 25, 126. [Google Scholar] [CrossRef] [Scilit]
- Dikici, E.; Bigelow, M.; Prevedello, L.M.; White, R.D.; Erdal, B.S. Integrating AI into radiology workflow: Levels of research, production, and feedback maturity. J. Med. Imaging 2020, 7, 016502. [Google Scholar] [CrossRef] [Scilit]
- Guo, L.; Xia, L.; Zheng, Q.; Zheng, B.; Jaeger, S.; Giger, M.L.; Fuhrman, J.; Li, H.; Lure, F.Y.; Li, H.; et al. Can AI generate diagnostic reports for radiologist approval on CXR images? A multi-reader and multi-case observer performance study. J.-X-Ray Sci. Technol. 2024, 32, 1465–1480. [Google Scholar] [CrossRef] [Scilit]
- Watanabe, A.; Ketabi, S.; Namdar, K.; Khalvati, F. Improving disease classification performance and explainability of deep learning models in radiology with heatmap generators. Front. Radiol. 2022, 2, 991683. [Google Scholar] [CrossRef] [Scilit]
- Granata, V.; De Muzio, F.; Cutolo, C.; Dell’Aversana, F.; Grassi, F.; Grassi, R.; Simonetti, I.; Bruno, F.; Palumbo, P.; Chiti, G.; et al. Structured reporting in radiological settings: Pitfalls and perspectives. J. Pers. Med. 2022, 12, 1344. [Google Scholar] [CrossRef] [Scilit]
- Ahluwalia, M.; Abdalla, M.; Sanayei, J.; Seyyed-Kalantari, L.; Hussain, M.; Ali, A.; Fine, B. The subgroup imperative: Chest radiograph classifier generalization gaps in patient, setting, and pathology subgroups. Radiol. Artif. Intell. 2023, 5, e220270. [Google Scholar] [CrossRef] [Scilit] [PubMed]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.











