Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Global and Local Prompts Cooperation via Optimal Transport for Federated Learning

About

Prompt learning in pretrained visual-language models has shown remarkable flexibility across various downstream tasks. Leveraging its inherent lightweight nature, recent research attempted to integrate the powerful pretrained models into federated learning frameworks to simultaneously reduce communication costs and promote local training on insufficient data. Despite these efforts, current federated prompt learning methods lack specialized designs to systematically address severe data heterogeneities, e.g., data distribution with both label and feature shifts involved. To address this challenge, we present Federated Prompts Cooperation via Optimal Transport (FedOTP), which introduces efficient collaborative prompt learning strategies to capture diverse category traits on a per-client basis. Specifically, for each client, we learn a global prompt to extract consensus knowledge among clients, and a local prompt to capture client-specific category characteristics. Unbalanced Optimal Transport is then employed to align local visual features with these prompts, striking a balance between global consensus and local personalization. By relaxing one of the equality constraints, FedOTP enables prompts to focus solely on the core regions of image patches. Extensive experiments on datasets with various types of heterogeneities have demonstrated that our FedOTP outperforms the state-of-the-art methods.

Hongxia Li, Wei Huang, Jingya Wang, Ye Shi• 2024

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-100 (test)
Accuracy74.81
3518
Image ClassificationCIFAR-10 (test)
Accuracy94.38
3381
Image ClassificationTiny ImageNet (test)
Accuracy53.13
265
Image ClassificationOffice-31
Average Accuracy88.96
261
Image ClassificationOffice-Home (test)
Mean Accuracy87.61
199
Image ClassificationDTD (test)
Accuracy89.84
181
Image ClassificationDomainNet
Accuracy (ClipArt)98.93
161
Image ClassificationCaltech101 (test)
Accuracy97.02
121
Image ClassificationFood101 (test)
Accuracy90.71
87
Image ClassificationFlowers102 (test)
Accuracy97.51
68
Showing 10 of 26 rows

Other info

Code

Follow for update