Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Med.

Sec. Precision Medicine

Volume 12 - 2025 | doi: 10.3389/fmed.2025.1635796

This article is part of the Research TopicDeep Learning in Healthcare: Revolutionizing Diagnostics and Clinical PracticeView all articles

Brain Tumor Classification Using GAN-Augmented Data with Autoencoders and Swin Transformers

Provisionally accepted
Abdullah  AlmuhaimeedAbdullah Almuhaimeed1Anas  BilalAnas Bilal2Abdulkareem  AlzahraniAbdulkareem Alzahrani3Malek  AlrashidiMalek Alrashidi4Mansoor  Al- GhamdiMansoor Al- Ghamdi4Raheem  SarwarRaheem Sarwar5*
  • 1King Abdulaziz City for Science And Technology, Riyadh, Saudi Arabia
  • 2Hainan Normal University, Haikou, China
  • 3Albaha University, Al Aqiq, Saudi Arabia
  • 4University of Tabuk, Tabuk, Saudi Arabia
  • 5Manchester Metropolitan University, Manchester, United Kingdom

The final, formatted version of the article will be published soon.

Brain tumor classification remains one of the most challenging tasks in medical image analysis, with diag-nostic errors potentially leading to severe consequences. Existing methods often fail to fully exploit all relevant features, focusing on a limited set of deep features that may miss the complexity of the task. In this paper, we propose a novel deep learning model combining a Swin Transformer and AE-cGAN augmentation to overcome challenges such as data imbalance and feature extraction. AE-cGAN generates synthetic im-ages, enhancing dataset diversity and improving the model's generalization. The model achieved impressive accuracy rates of 99.54% and 98.9% on two publicly available datasets, Figshare and Kaggle, outperforming state-of-the-art methods. The Swin Transformer excels at capturing both local and global dependencies, while AE-cGAN generates synthetic data that enables classification of multiple brain tumor morphologies. Our results demonstrate significant improvements in classification, sensitivity, and specificity. Future work will focus on real-time clinical deployment and expanding the model’s application to various medical im-aging tasks.

Keywords: Brain tumour classification, Conditional GAN, synthetic data, swin transformer, Autoencoders

Received: 27 May 2025; Accepted: 29 Jul 2025.

Copyright: © 2025 Almuhaimeed, Bilal, Alzahrani, Alrashidi, Al- Ghamdi and Sarwar. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence: Raheem Sarwar, Manchester Metropolitan University, Manchester, United Kingdom

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.