arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.09771cs.LG
收藏

联邦提示学习中协调泛化与个性化

Harmonizing Generalization and Personalization in Federated Prompt Learning

ShanghaiTech University(上海科技大学)

Tianyu Cui, Hongxia Li, Jingya Wang, Ye Shi

AI总结:

针对联邦提示学习中个性化与泛化难以平衡的问题,本文提出 FedPGP 方法,通过 CLIP 知识引导和低秩个性化自适应实现二者协调,并在多数据集上验证了其优越性。

摘要:

联邦提示学习(FPL)通过提示微调将大型预训练视觉-语言模型(VLM)引入联邦学习。VLM 的可迁移表示和卓越泛化能力使其与联邦学习的集成高度兼容。解决联邦学习中的数据异质性需要个性化,但过度关注各客户端的个性化可能会损害模型有效泛化的能力。为了保持 VLM 令人瞩目的泛化能力,在 FPL 中取得个性化与泛化之间的平衡至关重要。为应对这一挑战,我们提出了具有 CLIP 泛化和低秩个性化的联邦提示学习(FedPGP),该方法利用预训练的 CLIP 为全局提示提供知识引导以提升泛化能力,并引入低秩自适应项对全局提示进行个性化。此外,FedPGP 集成了提示级对比损失,以同时实现知识引导和个性化自适应,从而在 FPL 中实现个性化与泛化之间的和谐平衡。我们在多个数据集上进行了广泛实验,在具有异构数据的类别级和领域级场景中探索基类到新类的泛化,结果表明 FedPGP 在平衡泛化与个性化方面具有优越性。

英文摘要:

Federated Prompt Learning (FPL) incorporates large pre-trained Vision-Language models (VLM) into federated learning through prompt tuning. The transferable representations and remarkable generalization capacity of VLM make them highly compatible with the integration of federated learning. Addressing data heterogeneity in federated learning requires personalization, but excessive focus on it across clients could compromise the model's ability to generalize effectively. To preserve the impressive generalization capability of VLM, it is crucial to strike a balance between personalization and generalization in FPL. To tackle this challenge, we proposed Federated Prompt Learning with CLIP Generalization and low-rank Personalization (FedPGP), which employs pre-trained CLIP to provide knowledge-guidance on the global prompt for improved generalization and incorporates a low-rank adaptation term to personalize the global prompt. Further, FedPGP integrates a prompt-wise contrastive loss to achieve knowledge guidance and personalized adaptation simultaneously, enabling a harmonious balance between personalization and generalization in FPL. We conduct extensive experiments on various datasets to explore base-to-novel generalization in both category-level and domain-level scenarios with heterogeneous data, showing the superiority of FedPGP in balancing generalization and personalization.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑