A Federated Vision Transformer to a Lightweight CNN–Transformer Hybrid for Multi-Source Brain Tumor MRI Classification

Authors

  • Sangeeta Giri
  • Manivel Kandasamy

Keywords:

Brain tumor classification, Federated learning, Vision transformer, Lightweight CNN–Transformer, Communication cost, Data leakage, MRI

Abstract

Purpose: Federated learning lets hospitals train a shared brain tumor classifier without moving patient scans, but the model that is most accurate is not always one that hospitals can afford to exchange every round. This study asks how much accuracy a federated Vision Transformer actually buys, and whether a much smaller hybrid model can come close to it on more realistic, multi-source data.Methods: The work has two stages. In Study 1, a federated ViT-B/16 was compared with six CNNs (ResNet18, ResNet50, VGG19, EfficientNet-B0, MobileNetV2 and a custom CNN) on the four-class Nickparvar MRI dataset (7,023 images), with three simulated hospitals under IID and Dirichlet (α = 0.5) partitions. In Study 2, three public datasets (Nickparvar, BDNeuro-MRI and PMRAM; 14,451 images) were merged after a perceptual-hash duplicate check, split so that copies of one scan never fall on both sides, and used to train a 4.68 M-parameter hybrid of MobileNetV2 and a four-layer Transformer with dual-path fusion. All experiments used one FedAvg pipeline, three seeds and McNemar’s test.Results: In Study 1, ViT-B/16 gave the highest IID accuracy (99.19 ± 0.29%) and was never significantly outperformed, but it exchanged 2,059 MB per round. In Study 2, the hybrid reached 98.47 ± 0.11% against 99.07 ± 0.07% for ViT-B/16 while exchanging 113 MB per round, about one eighteenth; it was statistically level with MobileNetV2 in two of three seeds and slightly below ResNet18 and EfficientNet-B0. The duplicate check found 1,484 near-identical pairs across the official Nickparvar train/test split and thousands of shared scans between the public datasets. Conclusion: A compact hybrid recovers most of the transformer’s accuracy at a small fraction of its communication cost, and merging public MRI datasets is only reliable when duplicates are grouped before splitting.

Downloads

Published

2026-11-28

How to Cite

Giri, S., & Kandasamy, M. (2026). A Federated Vision Transformer to a Lightweight CNN–Transformer Hybrid for Multi-Source Brain Tumor MRI Classification. Adolescência E Saúde, 21(13s), 526–538. Retrieved from https://adolescenciaesaude.com/index.php/aes/article/view/3831

Issue

Section

Original Articles