Abstract
Automated medical report generation is a critical frontier in healthcare AI, aiming to alleviate the administrative burden on radiologists while reducing diagnostic errors. This paper presents RepsNet, a novel encoder-decoder architecture that reformulates report generation as a Visual Question Answering (VQA) task. By leveraging contrastive learning to align multi-modal features and a retrieval-augmented generation mechanism to incorporate prior clinical context, RepsNet addresses the core challenges of data scarcity and complex medical terminology. Our evaluation on the VQA-Rad and IU-Xray benchmarks demonstrates state-of-the-art performance, highlighting the efficacy of unified vision-language frameworks in clinical settings.
1. Introduction
In modern healthcare, the generation of radiology reports represents a significant bottleneck. For experienced clinicians, documenting findings is a repetitive and time-consuming task; for trainees, it is a high-stakes process prone to interpretive errors. While deep learning has excelled at image classification, the transition to generating full, natural-language reports remains difficult.
Three primary obstacles hinder progress in this field:
- Data Scarcity: Rare abnormalities lack sufficient examples for models to learn robust visual-textual associations.
- Narrative Complexity: Medical reports are not merely labels but structured narratives requiring specific terminology and stylistic consistency.
- Weak Alignment: Standard models often fail to map specific pixels in a medical scan to the corresponding descriptive phrases in a report.
RepsNet addresses these issues by treating the report generation process as a structured dialogue between the image and the model.
2. Methodology
RepsNet utilizes a sophisticated encoder-decoder framework designed to bridge the gap between visual perception and linguistic expression.
2.1 The Encoder: Vision and Language Fusion
The model employs a dual-backbone system: ResNeXt-101 for extracting high-dimensional image features and BERT for processing textual queries. Rather than simple concatenation, RepsNet utilizes a Bilinear Attention Network (BAN) to exhaustively mix these features. This allows the model to dynamically attend to specific image regions based on the context of the question being asked.
To further strengthen the relationship between modalities, the authors implement Contrastive Learning. During training, the model is incentivized to pull matching image-report pairs closer in a shared latent space while pushing mismatched pairs apart. This ensures that the model learns a deep semantic alignment rather than superficial correlations.
2.2 The Decoder: Retrieval-Augmented Generation
The generation phase is handled by a modified GPT-2 architecture. A key innovation here is the Prior Context Retrieval mechanism. Using FAISS (a fast similarity search library), the system identifies the most similar reports from the training set to serve as a reference. This "prior context" provides the decoder with a blueprint of clinical jargon and stylistic norms, significantly improving the accuracy and fluency of the generated text.
2.3 VQA Formulation
By framing report generation as a VQA task, RepsNet creates a unified framework. It can handle both closed-ended classification (e.g., "Is there a fracture?") and open-ended descriptive tasks (e.g., "Describe the findings in the lower lobe") within a single model architecture.
3. Datasets and Evaluation
The model was rigorously tested on two primary benchmarks:
- VQA-Rad (2018–2021): A specialized dataset of radiology images paired with expert-generated questions and answers.
- IU-Xray: A public chest X-ray dataset from Indiana University containing full clinical reports, including findings and impressions.
4. Results and Discussion
RepsNet established new state-of-the-art (SOTA) benchmarks across multiple metrics:
- VQA-Rad 2018: The model achieved 81.08% classification accuracy, a substantial improvement over previous SOTA methods which typically reached approximately 72.7%.
- IU-Xray: The model achieved a 0.58 BLEU-1 score, outperforming established models such as VTI and PPKED.
Ablation studies confirmed that both contrastive learning and prior context retrieval are essential. Removing either component resulted in a measurable decline in both diagnostic accuracy and the linguistic quality of the reports.
5. Conclusion and Future Directions
RepsNet demonstrates that combining retrieval mechanisms with contrastive vision-language alignment can significantly advance automated medical reporting. However, challenges remain regarding rare abnormalities where visual-textual links are inherently weak.
Future work will focus on three areas:
- External Knowledge Integration: Incorporating medical knowledge graphs and patient histories to improve diagnostic reasoning.
- Temporal Context: Extending the model to handle medical videos, such as ultrasound or gastroenterology procedures.
- Explainability: Developing enhanced attention map visualizations to provide clinicians with clear justifications for the model's generated findings, a prerequisite for clinical adoption.
Summary updated