Preprint
Large Language Models

TransMed: Transformers Advance Multi-Modal Medical Image Classification

Yin Dai(Northeastern University), Yifan Gao(Northeastern University), Fayu Liu(China Medical University)
July 31, 2021Diagnostics467 citations

467

Citations

16

Influential Citations

Diagnostics

Venue

2021

Year

Abstract

Over the past decade, convolutional neural networks (CNN) have shown very competitive performance in medical image analysis tasks, such as disease classification, tumor segmentation, and lesion detection. CNN has great advantages in extracting local features of images. However, due to the locality of convolution operation, it cannot deal with long-range relationships well. Recently, transformers have been applied to computer vision and achieved remarkable success in large-scale datasets. Compared with natural images, multi-modal medical images have explicit and important long-range dependencies, and effective multi-modal fusion strategies can greatly improve the performance of deep models. This prompts us to study transformer-based structures and apply them to multi-modal medical images. Existing transformer-based network architectures require large-scale datasets to achieve better performance. However, medical imaging datasets are relatively small, which makes it difficult to apply pure transformers to medical image analysis. Therefore, we propose TransMed for multi-modal medical image classification. TransMed combines the advantages of CNN and transformer to efficiently extract low-level features of images and establish long-range dependencies between modalities. We evaluated our model on two datasets, parotid gland tumors classification and knee injury classification. Combining our contributions, we achieve an improvement of 10.1% and 1.9% in average accuracy, respectively, outperforming other state-of-the-art CNN-based models. The results of the proposed method are promising and have tremendous potential to be applied to a large number of medical image analysis tasks. To our best knowledge, this is the first work to apply transformers to multi-modal medical image classification.

Analysis

Why This Paper Matters

This paper addresses a critical gap in medical image analysis: the inability of CNNs to capture long-range dependencies in multi-modal medical images. While CNNs excel at local feature extraction, they struggle with global context, which is essential for tasks like tumor classification where relationships across different imaging modalities (e.g., MRI and CT) are crucial. The authors propose TransMed, a hybrid architecture that combines the strengths of CNNs and transformers, marking the first application of transformers to multi-modal medical image classification.

The significance lies in its potential to improve diagnostic accuracy in medical imaging, where datasets are often small and pure transformers fail due to data hunger. By leveraging a CNN for feature extraction and a transformer for modeling long-range dependencies, TransMed achieves state-of-the-art performance on two challenging datasets, demonstrating that transformers can be effectively adapted to medical imaging with limited data.

Technical Contributions

  • Hybrid Architecture: TransMed integrates a CNN backbone (e.g., ResNet) to extract local features, followed by a transformer encoder to capture global dependencies across modalities. This design mitigates the data-hungry nature of pure transformers.
  • Multi-Modal Fusion: The model processes multiple imaging modalities (e.g., T1, T2, and contrast-enhanced MRI) by concatenating features and feeding them into the transformer, enabling effective cross-modal interaction.
  • First-of-its-Kind: The paper claims to be the first to apply transformers to multi-modal medical image classification, setting a precedent for future research.
  • Efficient on Small Datasets: By using a pre-trained CNN as a feature extractor, TransMed reduces the need for large-scale training data, making it practical for medical imaging.

Results

TransMed was evaluated on two datasets: parotid gland tumors and knee injury classification. On the parotid gland tumor dataset, it achieved an average accuracy improvement of 10.1% over state-of-the-art CNN models. For knee injury classification, the improvement was 1.9%. These gains are substantial, especially for the parotid gland task, indicating the model's ability to leverage long-range dependencies and multi-modal fusion effectively.

The results highlight that the hybrid approach outperforms pure CNN models, which are limited by local receptive fields. The consistent improvements across both datasets suggest that TransMed generalizes well to different medical imaging tasks, though the smaller gain on knee injury may reflect the complexity of that dataset or the presence of other factors.

Significance

TransMed's success demonstrates that transformers can be effectively applied to medical imaging, even with limited data, by combining them with CNNs. This opens up new avenues for research in multi-modal medical image analysis, where capturing long-range dependencies is crucial. The architecture could be extended to other tasks such as segmentation or detection, and its principles could inform the design of future hybrid models.

Moreover, the paper's emphasis on multi-modal fusion is timely, as clinical practice increasingly relies on multiple imaging modalities for diagnosis. By improving classification accuracy, TransMed has the potential to enhance clinical decision-making and patient outcomes. Its impact extends beyond medical imaging, offering insights into how transformers can be adapted to other domains with small datasets and multi-modal inputs.