Abstract
FAA-CLIP is a novel federated learning framework designed to adapt large Vision-Language Models (VLMs) like CLIP to private, heterogeneous datasets. By utilizing a frozen backbone, a lightweight Feature Adaptation Module (FAM), and adversarial domain alignment, FAA-CLIP achieves state-of-the-art performance on natural and medical imaging tasks while reducing communication overhead by approximately 140x compared to full fine-tuning. This approach effectively bridges the gap between general-purpose foundation models and specialized domains like medical imaging.
Introduction
Federated Learning (FL) enables collaborative model training across multiple organizations without sharing raw data, making it ideal for privacy-sensitive fields like healthcare. However, deploying modern Vision-Language Models (VLMs) in FL environments presents significant challenges. First, the massive size of models like CLIP (>100M parameters) leads to prohibitive communication costs. Second, data heterogeneity across clients (domain shift) often degrades the performance of a single global model. Finally, CLIP’s pre-training on natural internet images often fails to generalize to specialized medical features, such as subtle lesions.
Methodology
To address these hurdles, the authors propose FAA-CLIP (Federated Adversarial Adaptation of CLIP). The framework employs a three-pronged strategy to ensure efficiency and robustness:
- Frozen Backbone: The heavy CLIP image and text encoders remain frozen throughout training, eliminating the need to compute or transmit gradients for millions of parameters.
- Feature Adaptation Module (FAM): Instead of full-model tuning, a lightweight 5-layer MLP is inserted to generate task-specific attention masks. These masks filter CLIP features to focus on relevant regions. Transmitting only these small FAM parameters reduces communication costs by roughly 140x (2.5MB vs. 345MB for full CLIP).
- Adversarial Domain Adaptation (DA): To mitigate domain shift, clients train local domain classifiers to distinguish between private data and a global, unlabeled reference dataset. The FAM is trained to "fool" these classifiers, encouraging the learning of domain-invariant features.
Experimental Setup
The model was evaluated across six diverse datasets to test its versatility in both natural and medical domains:
- Natural Images: OfficeHome, ModernOffice31, and Multi-OF (a custom version of OfficeHome simulating extreme data imbalance).
- Medical Images: Brain Tumor (BT), Multi-source Skin Cancer (SC), and HyperKvasir (HK).
Results and Discussion
FAA-CLIP consistently outperformed state-of-the-art FL methods, including FedCLIP, PromptFL, and LoRA. On the Skin Cancer dataset, it achieved a performance boost of over 10% in both accuracy and F1-score compared to FedCLIP.
Beyond raw accuracy, the framework demonstrated improved reliability. The Expected Calibration Error (ECE) was significantly lower than competing methods, meaning the model's confidence scores more accurately reflect real-world frequencies—a critical requirement for clinical decision-making. Furthermore, Decision Curve Analysis (DCA) indicated a higher "Net Benefit" for FAA-CLIP, suggesting it is more suitable for actual medical application than traditional FL approaches.
Conclusion
FAA-CLIP provides a highly efficient and effective pathway for adapting large foundation models to specialized, distributed data. By focusing on lightweight feature adaptation and adversarial alignment rather than full-model retraining, it overcomes the primary barriers of communication cost and domain shift. Future work may explore adapting the text encoder for specialized terminology and developing strategies to better handle extreme class imbalances in rare disease detection.
Summary updated