English

FLIP: Towards Comprehensive and Reliable Evaluation of Federated Prompt Learning

Machine Learning 2025-03-31 v1 Computer Vision and Pattern Recognition

Abstract

The increasing emphasis on privacy and data security has driven the adoption of federated learning, a decentralized approach to train machine learning models without sharing raw data. Prompt learning, which fine-tunes prompt embeddings of pretrained models, offers significant advantages in federated settings by reducing computational costs and communication overheads while leveraging the strong performance and generalization capabilities of vision-language models such as CLIP. This paper addresses the intersection of federated learning and prompt learning, particularly for vision-language models. In this work, we introduce a comprehensive framework, named FLIP, to evaluate federated prompt learning algorithms. FLIP assesses the performance of 8 state-of-the-art federated prompt learning methods across 4 federated learning protocols and 12 open datasets, considering 6 distinct evaluation scenarios. Our findings demonstrate that prompt learning maintains strong generalization performance in both in-distribution and out-of-distribution settings with minimal resource consumption. This work highlights the effectiveness of federated prompt learning in environments characterized by data scarcity, unseen classes, and cross-domain distributional shifts. We open-source the code for all implemented algorithms in FLIP to facilitate further research in this domain.

Keywords

Cite

@article{arxiv.2503.22263,
  title  = {FLIP: Towards Comprehensive and Reliable Evaluation of Federated Prompt Learning},
  author = {Dongping Liao and Xitong Gao and Yabo Xu and Chengzhong Xu},
  journal= {arXiv preprint arXiv:2503.22263},
  year   = {2025}
}

Comments

https://github.com/0-ml/flip