Skip to content
Open access

A Lightweight Conformer-Based Framework for Medical Image Classification

Jul 2026 · Journal of Imaging · Vol 12, pp. 344 · 0 citations · 29 references
Medicine

TL;DR

A pretrained lightweight Conformer model tailored for medical image classification that integrates convolutional layers for capturing fine-grained spatial features with transformer blocks that capture long-range dependencies, creating a unified architecture capable of robust representation learning.

Abstract

Medical image analysis has undergone transformative progress with the application of deep learning models. However, existing architectures often struggle to effectively balance local feature extraction with global contextual understanding, which is crucial for complex diagnostic tasks such as Retinopathy of Prematurity (ROP) detection. In this study, we present a pretrained lightweight Conformer model tailored for medical image classification. The model integrates convolutional layers for capturing fine-grained spatial features with transformer blocks that capture long-range dependencies, creating a unified architecture capable of robust representation learning. We evaluate the model across multiple benchmark medical imaging datasets, including ROP, BloodMNIST, RetinalMNIST and other MedMNIST benchmark datasets. With 93.61% accuracy on the ROP dataset and 99.12% accuracy on BloodMNIST, experimental results show competitive classification performance while lowering model complexity to 12.4 million parameters and 3.2 GFLOPs. Experimental results demonstrate that the comparative studies versus CNN-based and transformer-based architectures, such as ResNet50, Swin-Tiny, ConvNeXt-Tiny, Vision Transformer, and MedViT. The findings show that in clinical settings with limited resources, the suggested lightweight Conformer offers a practical and computationally efficient alternative for medical image interpretation. Furthermore, the lightweight design ensures computational efficiency, making it suitable for deployment in resource-constrained healthcare environments. These findings validate the lightweight Conformer model’s potential for scalable, accurate, and real-time medical image classification.

Read PDF

Similar papers

Open access Aug 2026

A medical image classification algorithm based on a hierarchical and complementary attention-enhanced Swin Transformer model

Comparisons across all datasets confirm that the proposed framework exhibits strong robustness and generalization capability when processing multiple medical imaging modalities, thereby providing reliable technical support for computer-aided medical diagnosis systems.

Ya-Chao Si, Yi Zhang, Ming-Zhan Zhao · 1 citation
Open access Sep 2026

A Hybrid CNN–Transformer Framework for Enhanced Medical Image Classification

Medical image classification is important for computer-aided disease diagnosis due to its potential in identifying diseases from clinical images. Convolutional Neural Networks have been proved capable of modelling local spatial and textural features but are believed to be weak in capturing long-range dependencies. On t...

Shubham Vashishtha, Shiwangi Choudhary · 0 citations
Open access Aug 2026

CENet: A lightweight context-enhanced network for efficient and accurate medical image classification

Extensive experiments across three medical imaging benchmarks, two brain tumor classification datasets (SARTAJ, Br35H) and dental radiography analysis demonstrate that CENet variants achieve state-of-the-art efficiency-accuracy trade-off.

Amina Benabid, Kangjie Cheng, Yun-Feng Liu et al. · 0 citations
Open access Aug 2026

Hybrid CNN–transformer architecture for content based medical image retrieval

A hybrid Neural Network-Transformer encoder trained on four complimentary datasets maintains competitive accuracy across all four datasets while producing more retrieval-relevant embeddings and much more consistent performance under degraded queries suggests that the model may serve as a promising foundation for future...

Namita Bhatt, Alongbar Wary, Ritika Kumari · 0 citations
Aug 2026

Comparative Study of CNN, Hybrid, and Transformer Architectures in Medical Image Classification.

The results show that larger models and larger pretraining datasets do not automatically lead to better downstream performance, and transfer effectiveness in medical imaging is driven primarily by architectural inductive biases, pretraining strategy, and domain relevance.

Dina A. Elkholy, Mohamed S. Shehata, John W. Braun · 0 citations
Open access Sep 2026

Classification performance of Vision Transformer models on medical cancer image datasets: An investigation on a multi-image set

The purpose of this study is to systematically examine the performance boundaries and characteristic behaviors of six prominent Vision Transformer models (ViT, DEiT, Swin, BEiT, PVT, and CvT) in the deep learning landscape, with the goal of optimizing the classification accuracy and computational efficiency of medical...

Muhammed Özbey, Ediz Şaykol · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.