Abstract
Automatic radiology report generation has attracted enormous research interest due to its practical value in reducing the workload of radiologists. However, simultaneously establishing global correspondences between the image (e.g., Chest X-ray) and its related report and local alignments between image patches and keywords remains challenging. To this end, we propose an Unify, Align and then Refine (UAR) approach to learn multi-level cross-modal alignments and introduce three novel modules: Latent Space Unifier (LSU), Cross-modal Representation Aligner (CRA) and Text-to-Image Refiner (TIR). Specifically, LSU unifies multimodal data into discrete tokens, making it flexible to learn common knowledge among modalities with a shared network. The modality-agnostic CRA learns discriminative features via a set of orthonormal basis and a dual-gate mechanism first and then globally aligns visual and textual representations under a triplet contrastive loss. TIR boosts token-level local alignment via calibrating text-to-image attention with a learnable mask. Additionally, we design a two-stage training procedure to make UAR gradually grasp cross-modal alignments at different levels, which imitates radiologists’ workflow: writing sentence by sentence first and then checking word by word. Extensive experiments and analyses on IU-Xray and MIMIC-CXR benchmark datasets demonstrate the superiority of our UAR against varied state-of-the-art methods.
Introduction: Addressing the Modality Gap
Generating a radiology report is more than just describing an image; it involves identifying critical abnormalities within a vast amount of "normal" anatomical data. While AI has advanced in general image captioning, medical reports present unique challenges that hinder effective model training.
The authors identify three primary obstacles in this domain:
- The Modality Gap: Images are continuous signals, whereas reports are discrete textual data.
- Lack of Cross-Modal Interaction: Traditional models often encode modalities separately, leading to a representation gap.
- Data Deviation: Medical reports are often dominated by standard, repetitive language, making it difficult for models to learn fine-grained alignments for sparse, critical findings.
The UAR Framework: Multi-Level Alignment
To overcome these challenges, researchers from Peking University and Peng Cheng Laboratory introduced the Unify, Align and then Refine (UAR) framework. This approach moves beyond simple encoder-decoder models to explicitly bridge the gap between visual perception and textual generation at multiple levels.
Core Modules
- Latent Space Unifier (LSU): LSU addresses the modality gap by using a discrete Variational Autoencoder (dVAE) to "tokenize" images. By converting a raw grid of pixels into a sequence of discrete visual tokens, the model can treat the image similarly to a textual sequence, facilitating the learning of shared knowledge.
- Cross-modal Representation Aligner (CRA): This modality-agnostic module utilizes a set of orthonormal bases and a dual-gate mechanism to ensure visual and textual features are highly discriminative. It employs a triplet contrastive loss to align matching image-report pairs globally within the latent space.
- Text-to-Image Refiner (TIR): During the report generation phase, TIR employs a learnable mask to calibrate the model's attention. This ensures the model "looks" at the correct anatomical regions when generating specific keywords, reducing hallucinations and reliance on generic templates.
The framework is trained using a two-stage procedure. The first stage focuses on coarse-grained global alignment, while the second stage introduces the learnable mask to refine fine-grained, word-level accuracy, mimicking a radiologist's workflow of drafting and then verifying.
Experimental Evaluation
The UAR framework was evaluated on two benchmark datasets: IU-Xray (7,470 images) and MIMIC-CXR (over 473,000 images).
The results demonstrate significant improvements over previous state-of-the-art (SOTA) methods:
- IU-Xray: Achieved a BLEU-4 score of 0.200 and a CIDEr score of 0.501, marking a 15% absolute improvement in CIDEr over previous benchmarks.
- MIMIC-CXR: Showed superior performance in generating diverse and semantically accurate reports.
- Qualitative Analysis: Heatmaps confirmed that the TIR module successfully directs the model's attention to relevant anatomical regions (e.g., lung bases or shoulders) corresponding to the generated text.
Discussion and Conclusion
The UAR framework represents a significant step forward in automating radiology report generation by unifying the representation of pixels and words. By ensuring orthogonality in feature space and mimicking human workflows, UAR achieves more precise semantic alignment. Future work may involve domain-specific pre-training for the dVAE and a deeper evaluation of the model's clinical efficacy in identifying specific pathologies.
Summary updated