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

为视觉语言模型学习提示您的领域

Learning to Prompt Your Domain for Vision-Language Models

Johns Hopkins University(约翰斯·霍普金斯大学)

Guoyizhe Wei, Feng Wang, Anshul Shah, Rama Chellappa

AI总结:

本文提出了一种新颖的领域感知提示学习方法 ADAPT,通过在联邦学习中促进域内和域间提示,解决不同客户端间的领域差距问题,仅共享0.08M参数即在DomainNet上提升CLIP准确率14.8%。

摘要:

提示学习最近已成为 Contrastive Language Image Pretraining (CLIP) 模型的一种非常高效的迁移学习范式。与微调整个编码器相比,提示学习仅需优化少量参数即可获得极具竞争力的结果,这为优先考虑通信效率的联邦学习应用带来了显著优势。然而,在这项工作中,我们发现将提示学习方法直接转移到联邦学习中并不能产生良好的结果,因为模型在不同客户端之间经常面临相当大的领域差距。为了解决这个问题,我们提出了 ADAPT,一种新颖的领域感知提示学习方法,它在联邦参与者之间促进域内和域间提示。ADAPT 的基本思想是,经过提示的 CLIP 应该在预测其类别之前检测输入图像的领域对应关系。ADAPT 的大量实验证明了其在联邦学习中的显著效率和有效性。例如,通过仅学习和共享 0.08M 参数,我们的 ADAPT 在 DomainNet 数据集的六个领域上达到了 68.4% 的平均准确率,将原始 CLIP 大幅提升了 14.8%。

英文摘要:

Prompt learning has recently become a very efficient transfer learning paradigm for Contrastive Language Image Pretraining (CLIP) models. Compared with fine-tuning the entire encoder, prompt learning can obtain highly competitive results by optimizing only a small number of parameters, which presents considerably exciting benefits for federated learning applications that prioritizes communication efficiency. However, in this work, we identify that directly transferring prompt learning approaches into federated learning does not yield favorable results since the model often suffers from considerable domain gaps across different clients. To address this issue, we propose ADAPT, a novel domain-aware prompt learning approach that facilitates both intra- and inter-domain prompts across federated participants. The basic idea of ADAPT is that the prompted CLIP should detect the input image's domain correspondence and before making the prediction of its category. Extensive experiments of ADAPT demonstrate its significant efficiency and effectiveness in federated learning. For example, by learning and sharing only 0.08M parameters, our ADAPT attains a 68.4% average accuracy over six domains in the DomainNet dataset, which improves the original CLIP by a large margin of 14.8%.

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

↑