MedSpectralNet: A lightweight convolutional neural network architecture for multi-modal image classification

N Nabilah Afrin M Masud An-Nur Islam Fahim W Wasan Alamro Y Yazan M. Allawi A Ahmad Abadleh S Salman Md Sultan E Ersin Elbasi A Aymen I. Zreikat

Abstract

Medical image classification requires models that effectively capture both fine-grained local patterns and global anatomical structures while maintaining computational efficiency for clinical deployment. Although state-of-the-art models such as MedMamba utilize State-Space Models (SSMs) to balance accuracy and efficiency, their sequential operations limit parallelism and increase runtime. To overcome these limitations, we propose MedSpectralNet, a lightweight Convolutional Neural Network (CNN) architecture that approximates self-attention with linear complexity to efficiently extract multi-frequency features. The model introduces a dual-stream feature extractor that processes global and local information in parallel, and a ContextGate block that adaptively fuses multi-scale representations. MedSpectralNet is evaluated across six benchmark datasets from MedMNIST (including BloodMNIST, BreastMNIST, DermaMNIST, PneumoniaMNIST, OrganCMNIST, and OrganSMNIST), MedSpectralNet achieves an average accuracy of 93.7% on OrganCMNIST and 98.0% on BloodMNIST, showing 1–4.3% relative accuracy gains when compared to larger transformer-based models. Importantly, it delivers this performance with only 8.5 million parameters, representing approximately 60% fewer parameters than MedMamba-T, which requires 14.5 million parameters. MedSpectralNet has also achieved high AUC values up to 0.999 across multiple classes, demonstrating state-of-the-art accuracy with substantially reduced computational cost and improved parallelization, which makes MedSpectralNet well-suited for real-time and resource-constrained classification-based medical applications.

Article Details

Journal PLoS ONE
Volume / Issue Vol. 21, Issue 4
Published April 27, 2026
Pages e0346128
ISSN 1932-6203
Publisher Public Library of Science

Journal Info

PLoS ONE

Public Library of Science

ISSN: 1932-6203 Open Access Health Sciences

Authors (8)

N

Nabilah Afrin

M

Masud An-Nur Islam Fahim

W

Wasan Alamro

Y

Yazan M. Allawi

A

Ahmad Abadleh

S

Salman Md Sultan

E

Ersin Elbasi

A

Aymen I. Zreikat