AlignTransformer: Hierarchical Alignment of Visual Regions and Disease Tags for Medical Report Generation

Di You, Fenglin Liu, Shen Ge, Xiaoxia Xie, Jing Zhang, Xian Wu · DOI · OpenReview

TL;DR

This paper introduces AlignTransformer, a novel framework for automatically generating medical reports from images. It tackles the challenges of data bias (normal regions dominating abnormal ones) and long report sequences by hierarchically aligning visual regions with predicted disease tags, creating disease-grounded features. This approach leads to more accurate and comprehensive reports, outperforming existing methods and impressing radiologists.

What Problem Does This Paper Address?

Generating descriptive medical reports from images is crucial for diagnosis but is a time-consuming and error-prone task for human radiologists. While deep learning has shown promise in image captioning, medical report generation presents unique challenges:

  1. Data Bias: Medical image datasets often have a significant imbalance. Normal visual regions tend to dominate images, and reports describing normal findings are far more common than those detailing rare abnormalities. This bias leads existing models to generate generic reports that miss critical abnormal findings.
  2. Long Sequences: Medical reports are not single sentences but rather long, coherent paragraphs that describe multiple observations. Standard image captioning models, often based on LSTMs, struggle to effectively model such long and complex sequences due to issues like vanishing gradients.

The paper aims to develop a system that can automatically generate accurate, detailed, and long medical reports, specifically addressing the data bias and long sequence problems.

Methods

The proposed AlignTransformer framework consists of two main modules:

  1. Align Hierarchical Attention (AHA): This module acts as the encoder, responsible for extracting visual features.
  2. Disease Tag Prediction: It first predicts disease tags from the input medical image.
  3. Hierarchical Alignment: It then uses these predicted disease tags to guide the alignment with visual regions. This is done in a "coarse-to-fine" manner. Initially, disease tags are used to find relevant visual regions, generating disease-grounded visual features. Subsequently, these visual features are used to refine the disease tags, filtering out irrelevant ones. This iterative alignment process helps focus on salient abnormal regions, mitigating the data bias.
  4. Multi-Grained Features: By performing this alignment hierarchically, the AHA module extracts multi-grained visual features that are more representative of abnormal findings.
  5. Multi-Grained Transformer (MGT): This module acts as the decoder, responsible for generating the report.
  6. Transformer Architecture: It leverages the Transformer architecture, known for its effectiveness in handling long sequences.
  7. Adaptive Exploiting Attention (AEA): The MGT adaptively exploits the multi-grained disease-grounded visual features extracted by the AHA. This allows it to weigh the importance of different levels of visual information for generating each word in the report.

The overall framework combines these two modules to produce a final report.

Datasets

The paper evaluates its approach on two publicly available datasets:

  • IU-Xray: A widely-used benchmark dataset for medical report generation, containing 7,470 chest X-ray images and 3,955 associated reports.
  • MIMIC-CXR: A recently released, large-scale dataset comprising 377,110 chest X-ray images and 227,835 reports from 64,588 patients.

The authors used standard data splits for training, validation, and testing.

Key Insights and Ideas

  • Disease Tags as Guides: Using predicted disease tags to guide the alignment between visual regions and report generation is a powerful way to overcome data bias. It forces the model to pay attention to specific abnormalities rather than just the dominant normal features.
  • Hierarchical Alignment for Granularity: The hierarchical nature of the AHA module is crucial. It allows for a progressive refinement of visual features, moving from broader region-disease associations to more specific ones, capturing multi-grained information.
  • Transformer for Long Sequences: The adoption of the Transformer architecture in the MGT module is a natural fit for generating long, coherent medical reports, addressing a key limitation of previous LSTM-based models.
  • Radiologist Validation: The inclusion of human evaluation by professional radiologists is a strong indicator of the clinical relevance and practical utility of the generated reports.

Key Results

  • Competitive Performance: The AlignTransformer achieves competitive results with state-of-the-art methods on both the IU-Xray and MIMIC-CXR datasets across standard metrics like BLEU, METEOR, and ROUGE-L. For instance, on MIMIC-CXR, it achieves a BLEU-1 score of 0.378, and on IU-Xray, it achieves 0.484.
  • Human Preference: In human evaluations conducted with two professional radiologists, the AlignTransformer's generated reports were preferred over those from the R2Gen model, winning a significant percentage of the time (54% on MIMIC-CXR and 63% on IU-Xray in terms of "pick-up percentages").
  • Ablation Study: An ablation study demonstrated that both the AHA module (improving performance significantly, especially BLEU-4) and the MGT module (further boosting performance) contribute positively to the overall framework.

Limitations and Future Work

  • Data Bias Mitigation: While the paper effectively addresses data bias, the inherent imbalance in medical datasets remains a fundamental challenge. Future work could explore more advanced techniques for handling rare disease detection and reporting.
  • Interpretability: While the alignment process offers some interpretability, further research into visualizing and understanding the model's decision-making process, especially the hierarchical alignment, could be beneficial.
  • Generalization: While tested on two large datasets, evaluating the framework's generalization capabilities across different imaging modalities (e.g., CT, MRI) and rarer diseases would be valuable.
  • Clinical Workflow Integration: The paper highlights the potential for assisting radiologists. Future work could focus on integrating such systems into existing clinical workflows and assessing their impact on efficiency and diagnostic accuracy in real-world settings.

Summary updated

Abstract

Recently, medical report generation, which aims to automatically generate a long and coherent descriptive paragraph of a given medical image, has received growing research interests. Different from the general image captioning tasks, medical report generation is more challenging for data-driven neural models. This is mainly due to 1) the serious data bias: the normal visual regions dominate the dataset over the abnormal visual regions, and 2) the very long sequence. To alleviate above two problems, we propose an AlignTransformer framework, which includes the Align Hierarchical Attention (AHA) and the Multi-Grained Transformer (MGT) modules: 1) AHA module first predicts the disease tags from the input image and then learns the multi-grained visual features by hierarchically aligning the visual regions and disease tags. The acquired disease-grounded visual features can better represent the abnormal regions of the input image, which could alleviate data bias problem; 2) MGT module effectively uses the multi-grained features and Transformer framework to generate the long medical report. The experiments on the public IU-Xray and MIMIC-CXR datasets show that the AlignTransformer can achieve results competitive with state-of-the-art methods on the two datasets. Moreover, the human evaluation conducted by professional radiologists further proves the effectiveness of our approach.
BibTeX
@inproceedings{you2021aligntransformer,
  author = {Di You and Fenglin Liu and Shen Ge and Xiaoxia Xie and Jing Zhang and Xian Wu},
  title = {{AlignTransformer: Hierarchical Alignment of Visual Regions and Disease Tags for Medical Report Generation}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2021},
  doi = {10.1007/978-3-030-87199-4\_7},
}
Figure