Federated Domain Generalization with Domain-specific Soft Prompts Generation
By: Jianhan Wu , Xiaoyang Qu , Zhangcheng Huang and more
Potential Business Impact:
Helps AI learn from different data sources.
Prompt learning has become an efficient paradigm for adapting CLIP to downstream tasks. Compared with traditional fine-tuning, prompt learning optimizes a few parameters yet yields highly competitive results, especially appealing in federated learning for computational efficiency. engendering domain shift among clients and posing a formidable challenge for downstream-task adaptation. Existing federated domain generalization (FDG) methods based on prompt learning typically learn soft prompts from training samples, replacing manually designed prompts to enhance the generalization ability of federated models. However, these learned prompts exhibit limited diversity and tend to ignore information from unknown domains. We propose a novel and effective method from a generative perspective for handling FDG tasks, namely federated domain generalization with domain-specific soft prompts generation (FedDSPG). Specifically, during training, we introduce domain-specific soft prompts (DSPs) for each domain and integrate content and domain knowledge into the generative model among clients. In the inference phase, the generator is utilized to obtain DSPs for unseen target domains, thus guiding downstream tasks in unknown domains. Comprehensive evaluations across several public datasets confirm that our method outperforms existing strong baselines in FDG, achieving state-of-the-art results.
Similar Papers
FedDEAP: Adaptive Dual-Prompt Tuning for Multi-Domain Federated Learning
CV and Pattern Recognition
Helps AI learn from many pictures without sharing them.
Domain Generalization for Face Anti-spoofing via Content-aware Composite Prompt Engineering
CV and Pattern Recognition
Makes fake faces harder to trick cameras.
DP2FL: Dual Prompt Personalized Federated Learning in Foundation Models
Distributed, Parallel, and Cluster Computing
Helps AI learn from new, private data faster.