MMTN: Multi-Modal Memory Transformer Network for Image-Report Consistent Medical Report Generation

Yiming Cao, Lizhen Cui, Lei Zhang, Fuqiang Yu, Zhen Li, Yonghui Xu

Introduction

Automatic medical report generation is a critical task in clinical AI, aiming to reduce the administrative burden on clinicians by accurately describing findings in modalities like gastrointestinal endoscopy or chest X-rays. However, existing models frequently suffer from "hallucinations"—generating text that is fluent but clinically inconsistent with the visual evidence. Researchers from Shandong University and Qilu Hospital address this by proposing the Multi-Modal Memory Transformer Network (MMTN), a framework designed to ensure high clinical consistency between images and generated reports.

Methods

The MMTN architecture is designed to exploit the "tri-modal" nature of medical data: images, clinical terminology (knowledge), and narrative reports.

The MMTN architecture featuring the Grid Module, Terminology BERT, and the Memory Augment Module.

The system consists of three primary components:

  1. MMTN Encoder: This module processes two parallel streams. A Grid Module (using DenseNet-121) extracts spatial visual features, while a Terminology BERT extracts semantic features from a predefined corpus of medical findings. These are integrated via a Memory Augment Module, which uses learnable memory matrices to associate specific visual patterns with clinical keywords, acting as a persistent "look-up table" for the model.
  2. MMTN Decoder: A stack of Transformer decoders utilizes the enriched features from the encoder to predict the report's word sequence.
  3. Multi-Modal Fusion Layer: This layer adaptively weighs visual versus linguistic features during word prediction, ensuring the model remains grounded in the image data rather than relying solely on learned language patterns.

Datasets

The model was evaluated on three distinct datasets:

  • GE (Gastrointestinal Endoscope): A private dataset of 15,345 images and 3,069 Chinese reports, utilizing 126 expert-defined terminologies.
  • IU-CX: A public chest X-ray dataset with 2,896 reports.
  • MIMIC-CXR: A large-scale public chest X-ray dataset containing over 142,000 images and 71,000 reports.

Results and Discussion

MMTN demonstrated state-of-the-art performance across all three datasets. On the GE dataset, it achieved a BLEU-4 score of 0.589 and a CIDEr score of 0.703, significantly outperforming standard Transformer baselines.

Visualization of attention maps showing MMTN grounding specific medical terms in the image.

Qualitative analysis via attention maps confirms that the model correctly localizes clinical findings. For instance, when generating terms like "hemispheric polyp" or "ascending colon," the model's attention is precisely focused on the corresponding visual region. In human evaluations involving 10 medical experts, MMTN was rated as the most accurate and consistent model in 24.8% of cases, surpassing other competitive frameworks like PPKED (19.2%).

Ablation studies highlighted that the Memory Augment Module and the Terminology module are the most vital components; their removal led to the most significant performance degradation, proving that explicit clinical association "memory" is superior to general attention mechanisms for this task.

Conclusion

The MMTN framework successfully bridges the gap between visual features and medical prose by using terminology as a semantic bridge. While the model currently relies on predefined terminologies, future work may involve more scalable, automated knowledge extraction or graph-based representations to further enhance consistency across diverse medical specialties.

Summary updated

BibTeX
@inproceedings{cao2023mmtn,
  author = {Yiming Cao and Lizhen Cui and Lei Zhang and Fuqiang Yu and Zhen Li and Yonghui Xu},
  title = {{MMTN: Multi-Modal Memory Transformer Network for Image-Report Consistent Medical Report Generation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i1.25100},
}
Figure