DiPrompT: Disentangled Prompt Tuning for Multiple Latent Domain Generalization in Federated Learning
Sikai Bai,Jie ZHANG,Song Guo,Shuaicheng Li,Jingcai Guo,Jun Hou,Tao Han,Xiaocheng Lu
DOI: https://doi.org/10.1109/cvpr52733.2024.02576
2024-01-01
Computer Vision and Pattern Recognition
Abstract:Federated learning (FL) has emerged as a powerful paradigm for learning fromdecentralized data, and federated domain generalization further considers thetest dataset (target domain) is absent from the decentralized training data(source domains). However, most existing FL methods assume that domain labelsare provided during training, and their evaluation imposes explicit constraintson the number of domains, which must strictly match the number of clients.Because of the underutilization of numerous edge devices and additionalcross-client domain annotations in the real world, such restrictions may beimpractical and involve potential privacy leaks. In this paper, we propose anefficient and novel approach, called Disentangled Prompt Tuning (DiPrompT), amethod that tackles the above restrictions by learning adaptive prompts fordomain generalization in a distributed manner. Specifically, we first designtwo types of prompts, i.e., global prompt to capture general knowledge acrossall clients and domain prompts to capture domain-specific knowledge. Theyeliminate the restriction on the one-to-one mapping between source domains andlocal clients. Furthermore, a dynamic query metric is introduced toautomatically search the suitable domain label for each sample, which includestwo-substep text-image alignments based on prompt tuning withoutlabor-intensive annotation. Extensive experiments on multiple datasetsdemonstrate that our DiPrompT achieves superior domain generalizationperformance over state-of-the-art FL methods when domain labels are notprovided, and even outperforms many centralized learning methods using domainlabels.