arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2312.08212cs.CV
收藏

LAMM:面向多模态提示学习的标签对齐

LAMM: Label Alignment for Multi-Modal Prompt Learning

School of Electronic Information and Electrical Engineering, Shanghai Jiao Tong University(上海交通大学电子信息与电气工程学院);School of Computer Science and Engineering, Southeast University(东南大学计算机科学与工程学院)

Jingsheng Gao, Jiacheng Ruan, Suncheng Xiang, Zefang Yu, Ke Ji, Mingye Xie, Ting Liu, Yuzhuo Fu

AI总结:

针对视觉-语言模型与下游任务的标签表征差距问题,提出LAMM标签对齐方法及分层损失,在少样本和持续学习场景下均提升了多模态提示学习性能,且可与现有方法协同增效。

摘要:

随着CLIP等预训练视觉-语言(VL)模型在视觉表征任务中取得成功,将预训练模型迁移至下游任务已成为一种重要范式。近年来,受自然语言处理(NLP)启发的提示调优范式在VL领域取得了显著进展。然而,现有方法主要聚焦于为文本和视觉输入构建提示模板,忽略了VL模型与下游任务之间在类别标签表征上的差距。为解决这一挑战,我们提出了一种名为LAMM的创新标签对齐方法,该方法可通过端到端训练动态调整下游数据集的类别嵌入。此外,为获得更合理的标签分布,我们提出了一种分层损失,涵盖参数空间、特征空间和logits空间的对齐。我们在11个下游视觉数据集上开展了实验,结果表明,在少样本场景下,我们的方法显著提升了现有多模态提示学习模型的性能:在16样本设置下,与当前最优方法相比,平均准确率提升了2.31%。此外,与其他提示调优方法相比,我们的方法在持续学习中表现出优越性。重要的是,我们的方法与现有提示调优方法具有协同性,可在其基础上进一步提升性能。我们的代码和数据集将公开发布于https://github.com/gaojingsheng/LAMM。

英文摘要:

With the success of pre-trained visual-language (VL) models such as CLIP in visual representation tasks, transferring pre-trained models to downstream tasks has become a crucial paradigm. Recently, the prompt tuning paradigm, which draws inspiration from natural language processing (NLP), has made significant progress in VL field. However, preceding methods mainly focus on constructing prompt templates for text and visual inputs, neglecting the gap in class label representations between the VL models and downstream tasks. To address this challenge, we introduce an innovative label alignment method named \textbf{LAMM}, which can dynamically adjust the category embeddings of downstream datasets through end-to-end training. Moreover, to achieve a more appropriate label distribution, we propose a hierarchical loss, encompassing the alignment of the parameter space, feature space, and logits space. We conduct experiments on 11 downstream vision datasets and demonstrate that our method significantly improves the performance of existing multi-modal prompt learning models in few-shot scenarios, exhibiting an average accuracy improvement of 2.31(\%) compared to the state-of-the-art methods on 16 shots. Moreover, our methodology exhibits the preeminence in continual learning compared to other prompt tuning methods. Importantly, our method is synergistic with existing prompt tuning methods and can boost the performance on top of them. Our code and dataset will be publicly available at https://github.com/gaojingsheng/LAMM.

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

↑