Is it Time to Replace CNNs with Transformers for Medical Images?
Not on the map. Why?
Abstract (arXiv)
Convolutional Neural Networks (CNNs) have reigned for a decade as the de facto approach to automated medical image diagnosis. Recently, vision transformers (ViTs) have appeared as a competitive alternative to CNNs, yielding similar levels of performance while possessing several interesting properties that could prove beneficial for medical imaging tasks. In this work, we explore whether it is time to move to transformer-based models or if we should keep working with CNNs - can we trivially switch to transformers? If so, what are the advantages and drawbacks of switching to ViTs for medical image diagnosis? We consider these questions in a series of experiments on three mainstream medical image datasets. Our findings show that, while CNNs perform better when trained from scratch, off-the-shelf vision transformers using default hyperparameters are on par with CNNs when pretrained on ImageNet, and outperform their CNN counterparts when pretrained using self-supervision.
Key facts. Cited by 60 papers in the map (data through 7 Oct 2026). Builds on 18 of its 26 references that are in the map. First posted on arXiv 20 Aug 2021.
Builds on
18 of 26 references.
References · 18
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,590
- 2015Learning Deep Features for Discriminative Localizationcited by 2,430
- 2021Vision Transformers for Dense Predictioncited by 1,789
6 more
- 2021TransUNet: Transformers Make Strong Encoders for Medical Image Segmentationcited by 1,552
- 2021Transformers in Vision: A Surveycited by 1,009
- 2017Skin Lesion Analysis Toward Melanoma Detection: A Challenge at the 2017 International Symposium on Biomedical Imaging (ISBI), Hosted by the International Skin Imaging Collaboration (ISIC)cited by 549
- 2019Transfusion: Understanding Transfer Learning for Medical Imagingcited by 366
- 2021Big Self-Supervised Models Advance Medical Image Classificationcited by 320
- 2021ViT-V-Net: Vision Transformer for Unsupervised Volumetric Medical Image Registrationcited by 87
Built on by
Citing papers per year: 2021: 2; 2022: 21; 2023: 17; 2024: 12; 2025: 5; 2026: 3.
60 papers.
Sort:
By area:
- 2022Transformers in Medical Imaging: A Surveycited by 245
- 2022Delving into Masked Autoencoders for Multi-Label Thorax Disease Classificationcited by 65
- 2022What Makes Transfer Learning Work For Medical Images: Feature Reuse & Other Factorscited by 61
- 2022Swin Transformer for Fast MRIcited by 56
- 2023Are Natural Domain Foundation Models Useful for Medical Image Classification?cited by 44
- 2022Transformers in Medical Image Analysis: A Reviewcited by 41
- 2022Transforming medical imaging with Transformers? A comparative review of key properties, current progresses, and future perspectivescited by 32
- 2022Explainable Deep Learning Methods in Medical Image Classification: A Surveycited by 31
- 2022PatchDropout: Economizing Vision Transformers Using Patch Dropoutcited by 28
- 2023Large-scale Long-tailed Disease Diagnosis on Radiology Imagescited by 17
- 2024Multi-modal Deep Learningcited by 15
- 2023Pretrained ViTs Yield Versatile Representations For Medical Imagescited by 13
38 more
- 2022Transformers Improve Breast Cancer Diagnosis from Unregistered Multi-View Mammogramscited by 11
- 2024Vision transformers in domain adaptation and domain generalization: a study of robustnesscited by 11
- 2022Self-Supervised Learning of Phenotypic Representations from Cell Images with Weak Labelscited by 9
- 2022SSiT: Saliency-guided Self-supervised Image Transformer for Diabetic Retinopathy Gradingcited by 9
- 2022Vision Transformers in Medical Imaging: A Reviewcited by 8
- 2022Metadata-guided Consistency Learning for High Content Imagescited by 8
- 2022Fast MRI Reconstruction: How Powerful Transformers Are?cited by 7
- 2023Efficiently Training Vision Transformers on Structural MRI Scans for Alzheimer's Disease Detectioncited by 7
- 2025Evaluating Visual Explanations of Attention Maps for Transformer-based Medical Imagingcited by 7
- 2022Automatic Segmentation of Head and Neck Tumor: How Powerful Transformers Are?cited by 6
- 2022CASS: Cross Architectural Self-Supervision for Medical Image Analysiscited by 6
- 2023SwinCross: Cross-modal Swin Transformer for Head-and-Neck Tumor Segmentation in PET/CT Imagescited by 5
- 2024Transformer-Based Approaches for Sensor-Based Human Activity Recognition: Opportunities and Challengescited by 4
- 2022How Well Do Vision Transformers (VTs) Transfer To The Non-Natural Image Domain? An Empirical Study Involving Art Classificationcited by 3
- 2023MultiNet with Transformers: A Model for Cancer Diagnosis Using Imagescited by 3
- 2023TranSOP: Transformer-based Multimodal Classification for Stroke Treatment Outcome Predictioncited by 3
- 2023MGMT promoter methylation status prediction using MRI scans? An extensive experimental evaluation of deep learning modelscited by 3
- 2024FissionFusion: Fast Geometric Generation and Hierarchical Souping for Medical Image Analysiscited by 3
- 2024Evaluating the Efficacy of Prompt-Engineered Large Multimodal Models Versus Fine-Tuned Vision Transformers in Image-Based Security Applicationscited by 3
- 2024Sparsity- and Hybridity-Inspired Visual Parameter-Efficient Fine-Tuning for Medical Diagnosiscited by 3
- 2024Classification of Endoscopy and Video Capsule Images using CNN-Transformer Modelcited by 3
- 2025MedFormer: Hierarchical Medical Vision Transformer with Content-Aware Dual Sparse Selection Attentioncited by 3
- 2021Dispensed Transformer Network for Unsupervised Domain Adaptationcited by 2
- 2022Introducing Vision Transformer for Alzheimer's Disease classification task with 3D inputcited by 2
- 2023Vision Transformer for Efficient Chest X-ray and Gastrointestinal Image Classificationcited by 2
- 2023Efficient Representation Learning for Healthcare with Cross-Architectural Self-Supervisioncited by 2
- 2024Evaluating Self-Supervised Learning in Medical Imaging: A Benchmark for Robustness, Generalizability, and Multi-Domain Impactcited by 2
- 2022Deep is a Luxury We Don't Havecited by 1
- 2022Masked autoencoders are effective solution to transformer data-hungrycited by 1
- 2022Investigation of Network Architecture for Multimodal Head-and-Neck Tumor Segmentationcited by 1
- 2023Self-Supervised Curricular Deep Learning for Chest X-Ray Image Classificationcited by 1
- 2023Connectional-Style-Guided Contextual Representation Learning for Brain Disease Diagnosiscited by 1
- 2023Hardwiring ViT Patch Selectivity into CNNs using Patch Mixingcited by 1
- 2023Video and Synthetic MRI Pre-training of 3D Vision Architectures for Neuroimage Analysiscited by 1
- 2025Comparative Analysis of Vision Transformers and Convolutional Neural Networks for Medical Image Classificationcited by 1
- 2021RA V-Net: Deep learning network for automated liver segmentationcited by 0
- 2023Cross-Architectural Positive Pairs improve the effectiveness of Self-Supervised Learningcited by 0
- 2023A Comprehensive Study of Modern Architectures and Regularization Approaches on CheXpert5000cited by 0
50 most cited of 60 All 60 (JSON)
- 2026NoduLoCC2026: Lung Nodule Localization and Classification Contest from Chest X-Ray Images19 Jun 2026
- 2026Tumor-aware augmentation with task-guided attention analysis improves rectal cancer segmentation from magnetic resonance images6 May 2026
- 2026Comparative Analysis of Deep Learning Architectures for Multi-Disease Classification of Single-Label Chest X-rays11 Mar 2026
- 2025Privacy-Preserving Federated Vision Transformer Learning Leveraging Lightweight Homomorphic Encryption in Medical AI26 Nov 2025
- 2025Comparative Analysis of Vision Transformers and Convolutional Neural Networks for Medical Image Classification24 Jul 2025
- 2025MedFormer: Hierarchical Medical Vision Transformer with Content-Aware Dual Sparse Selection Attention3 Jul 2025
- 2025Efficient Self-Supervised Adaptation for Medical Image Analysis24 Mar 2025
- 2025Evaluating Visual Explanations of Attention Maps for Transformer-based Medical Imaging12 Mar 2025
- 2024Evaluating Self-Supervised Learning in Medical Imaging: A Benchmark for Robustness, Generalizability, and Multi-Domain Impact26 Dec 2024
- 2024Random Token Fusion for Multi-View Medical Diagnosis21 Oct 2024
- 2024Transformer-Based Approaches for Sensor-Based Human Activity Recognition: Opportunities and Challenges17 Oct 2024
- 2024Ophthalmic Biomarker Detection with Parallel Prediction of Transformer and Convolutional Architecture26 Sep 2024
38 more
- 2024Classification of Endoscopy and Video Capsule Images using CNN-Transformer Model20 Aug 2024
- 2024Deep multimodal saliency parcellation of cerebellar pathways: linking microstructure and individual function through explainable multitask learning21 Jul 2024
- 2024Sparsity- and Hybridity-Inspired Visual Parameter-Efficient Fine-Tuning for Medical Diagnosis28 May 2024
- 2024MR-Transformer: Vision Transformer for Total Knee Replacement Prediction Using Magnetic Resonance Imaging5 May 2024
- 2024Vision transformers in domain adaptation and domain generalization: a study of robustness5 Apr 2024
- 2024Evaluating the Efficacy of Prompt-Engineered Large Multimodal Models Versus Fine-Tuned Vision Transformers in Image-Based Security Applications26 Mar 2024
- 2024FissionFusion: Fast Geometric Generation and Hierarchical Souping for Medical Image Analysis20 Mar 2024
- 2024Multi-modal Deep Learning6 Mar 2024
- 2023Large-scale Long-tailed Disease Diagnosis on Radiology Images26 Dec 2023
- 2023Are Natural Domain Foundation Models Useful for Medical Image Classification?30 Oct 2023
- 2023MVC: A Multi-Task Vision Transformer Network for COVID-19 Diagnosis from Chest X-ray Images30 Sep 2023
- 2023Video and Synthetic MRI Pre-training of 3D Vision Architectures for Neuroimage Analysis9 Sep 2023
- 2023Efficient Representation Learning for Healthcare with Cross-Architectural Self-Supervision19 Aug 2023
- 2023Hardwiring ViT Patch Selectivity into CNNs using Patch Mixing30 Jun 2023
- 2023Connectional-Style-Guided Contextual Representation Learning for Brain Disease Diagnosis8 Jun 2023
- 2023Vision Transformer for Efficient Chest X-ray and Gastrointestinal Image Classification23 Apr 2023
- 2023MGMT promoter methylation status prediction using MRI scans? An extensive experimental evaluation of deep learning models3 Apr 2023
- 2023Efficiently Training Vision Transformers on Structural MRI Scans for Alzheimer's Disease Detection14 Mar 2023
- 2023Pretrained ViTs Yield Versatile Representations For Medical Images13 Mar 2023
- 2023A Comprehensive Study of Modern Architectures and Regularization Approaches on CheXpert500013 Feb 2023
- 2023SwinCross: Cross-modal Swin Transformer for Head-and-Neck Tumor Segmentation in PET/CT Images8 Feb 2023
- 2023Cross-Architectural Positive Pairs improve the effectiveness of Self-Supervised Learning27 Jan 2023
- 2023TranSOP: Transformer-based Multimodal Classification for Stroke Treatment Outcome Prediction25 Jan 2023
- 2023Self-Supervised Curricular Deep Learning for Chest X-Ray Image Classification25 Jan 2023
- 2023MultiNet with Transformers: A Model for Cancer Diagnosis Using Images21 Jan 2023
- 2022Metadata-guided Consistency Learning for High Content Images22 Dec 2022
- 2022Investigation of Network Architecture for Multimodal Head-and-Neck Tumor Segmentation21 Dec 2022
- 2022Masked autoencoders are effective solution to transformer data-hungry12 Dec 2022
- 2022Vision Transformers in Medical Imaging: A Review18 Nov 2022
- 2022Delving into Masked Autoencoders for Multi-Label Thorax Disease Classification23 Oct 2022
- 2022SSiT: Saliency-guided Self-supervised Image Transformer for Diabetic Retinopathy Grading20 Oct 2022
- 2022Introducing Vision Transformer for Alzheimer's Disease classification task with 3D input3 Oct 2022
- 2022Self-Supervised Learning of Phenotypic Representations from Cell Images with Weak Labels16 Sep 2022
- 2022Deep is a Luxury We Don't Have11 Aug 2022
- 2022PatchDropout: Economizing Vision Transformers Using Patch Dropout10 Aug 2022
- 2022How Well Do Vision Transformers (VTs) Transfer To The Non-Natural Image Domain? An Empirical Study Involving Art Classification9 Aug 2022
- 2022Transformers Improve Breast Cancer Diagnosis from Unregistered Multi-View Mammograms21 Jun 2022
- 2022CASS: Cross Architectural Self-Supervision for Medical Image Analysis8 Jun 2022
50 newest of 60 All 60 (JSON)
- 2022Transformers in Medical Imaging: A Surveycited by 245
- 2022Delving into Masked Autoencoders for Multi-Label Thorax Disease Classificationcited by 65
- 2022What Makes Transfer Learning Work For Medical Images: Feature Reuse & Other Factorscited by 61
- 2022Swin Transformer for Fast MRIcited by 56
- 2023Are Natural Domain Foundation Models Useful for Medical Image Classification?cited by 44
- 2022Transformers in Medical Image Analysis: A Reviewcited by 41
- 2022Transforming medical imaging with Transformers? A comparative review of key properties, current progresses, and future perspectivescited by 32
- 2022Explainable Deep Learning Methods in Medical Image Classification: A Surveycited by 31
- 2022PatchDropout: Economizing Vision Transformers Using Patch Dropoutcited by 28
- 2023Large-scale Long-tailed Disease Diagnosis on Radiology Imagescited by 17
- 2024Multi-modal Deep Learningcited by 15
- 2023Pretrained ViTs Yield Versatile Representations For Medical Imagescited by 13
12 most cited of 59 All 59 (JSON)
- 2026NoduLoCC2026: Lung Nodule Localization and Classification Contest from Chest X-Ray Images19 Jun 2026
- 2026Tumor-aware augmentation with task-guided attention analysis improves rectal cancer segmentation from magnetic resonance images6 May 2026
- 2026Comparative Analysis of Deep Learning Architectures for Multi-Disease Classification of Single-Label Chest X-rays11 Mar 2026
- 2025Privacy-Preserving Federated Vision Transformer Learning Leveraging Lightweight Homomorphic Encryption in Medical AI26 Nov 2025
- 2025Comparative Analysis of Vision Transformers and Convolutional Neural Networks for Medical Image Classification24 Jul 2025
- 2025MedFormer: Hierarchical Medical Vision Transformer with Content-Aware Dual Sparse Selection Attention3 Jul 2025
- 2025Efficient Self-Supervised Adaptation for Medical Image Analysis24 Mar 2025
- 2025Evaluating Visual Explanations of Attention Maps for Transformer-based Medical Imaging12 Mar 2025
- 2024Evaluating Self-Supervised Learning in Medical Imaging: A Benchmark for Robustness, Generalizability, and Multi-Domain Impact26 Dec 2024
- 2024Random Token Fusion for Multi-View Medical Diagnosis21 Oct 2024
- 2024Transformer-Based Approaches for Sensor-Based Human Activity Recognition: Opportunities and Challenges17 Oct 2024
- 2024Ophthalmic Biomarker Detection with Parallel Prediction of Transformer and Convolutional Architecture26 Sep 2024
12 newest of 59 All 59 (JSON)