Federated Vision Transformer with Adaptive Focal Loss for Medical Image Classification
Not on the map. Why?
Abstract (arXiv)
While deep learning models like Vision Transformer (ViT) have achieved significant advances, they typically require large datasets. With data privacy regulations, access to many original datasets is restricted, especially medical images. Federated learning (FL) addresses this challenge by enabling global model aggregation without data exchange. However, the heterogeneity of the data and the class imbalance that exist in local clients pose challenges for the generalization of the model. This study proposes a FL framework leveraging a dynamic adaptive focal loss (DAFL) and a client-aware aggregation strategy for local training. Specifically, we design a dynamic class imbalance coefficient that adjusts based on each client's sample distribution and class data distribution, ensuring minority classes receive sufficient attention and preventing sparse data from being ignored. To address client heterogeneity, a weighted aggregation strategy is adopted, which adapts to data size and characteristics to better capture inter-client variations. The classification results on three public datasets (ISIC, Ocular Disease and RSNA-ICH) show that the proposed framework outperforms DenseNet121, ResNet50, ViT-S/16, ViT-L/32, FedCLIP, Swin Transformer, CoAtNet, and MixNet in most cases, with accuracy improvements ranging from 0.98% to 41.69%. Ablation studies on the imbalanced ISIC dataset validate the effectiveness of the proposed loss function and aggregation strategy compared to traditional loss functions and other FL approaches. The codes can be found at: https://github.com/AIPMLab/ViT-FLDAF.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 31 of its 60 references that are in the map. First posted on arXiv 2 Feb 2026.
Builds on
31 of 60 references.
References · 31
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,592
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2018Federated Optimization in Heterogeneous Networkscited by 2,971
- 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,838
- 2019Class-Balanced Loss Based on Effective Number of Samplescited by 1,239
- 2019Learning Imbalanced Datasets with Label-Distribution-Aware Margin Losscited by 987
- 2019Decoupling Representation and Classifier for Long-Tailed Recognitioncited by 806
- 2021Model-Contrastive Federated Learningcited by 762
- 2020Long-tail learning via logit adjustmentcited by 605
- 2021CoAtNet: Marrying Convolution and Attention for All Data Sizescited by 566
19 more
- 2021Federated Learning Based on Dynamic Regularizationcited by 555
- 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
- 2021Exploiting Shared Representations for Personalized Federated Learningcited by 537
- 2019Agnostic Federated Learningcited by 451
- 2019Fair Resource Allocation in Federated Learningcited by 389
- 2019BCN20000: Dermoscopic Lesions in the Wildcited by 224
- 2022LViT: Language meets Vision Transformer in Medical Image Segmentationcited by 110
- 2019MixConv: Mixed Depthwise Convolutional Kernelscited by 108
- 2023FedCLIP: Fast Generalization and Personalization for CLIP in Federated Learningcited by 70
- 2022Tackling Data Heterogeneity in Federated Learning with Class Prototypescited by 66
- 2022FedDM: Iterative Distribution Matching for Communication-Efficient Federated Learningcited by 65
- 2022Learning Imbalanced Data with Vision Transformerscited by 34
- 2023A survey of the Vision Transformers and their CNN-Transformer based Variantscited by 33
- 2022Fed-CBS: A Heterogeneity-Aware Client Sampling Mechanism for Federated Learning via Class-Imbalance Reductioncited by 32
- 2024Relaxed Contrastive Learning for Federated Learningcited by 32
- 2020Fed-Focal Loss for imbalanced data classification in Federated Learningcited by 26
- 2023FedPerfix: Towards Partial Model Personalization of Vision Transformers in Federated Learningcited by 21
- 2024Exploring the Synergies of Hybrid CNNs and ViTs Architectures for Computer Vision: A surveycited by 13
- 2024FACMIC: Federated Adaptative CLIP Model for Medical Image Classificationcited by 7
Built on by
Not cited yet.