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

面向视觉-语言模型的概念码本学习

Conceptual Codebook Learning for Vision-Language Models

Harbin Institute of Technology(哈尔滨工业大学);Southern University of Science and Technology(南方科技大学);University of California San Diego(加利福尼亚大学圣迭戈分校);University of Missouri(密苏里大学)

Yi Zhang, Ke Yu, Siqi Wu, Zhihai He

AI总结:

针对小样本微调下视觉-语言模型泛化能力提升难题,提出以视觉概念为键、概念提示为值的CoCoLe概念码本学习方法,搭配手工概念缓存正则缓解过拟合,增强多模态对齐,在多类泛化任务上性能优于现有SOTA方法。

摘要:

本文提出概念码本学习(Conceptual Codebook Learning,CoCoLe),这是一种面向视觉-语言模型(vision-language models, VLMs)的新型微调方法,旨在解决小样本场景下对VLMs进行下游任务微调时提升其泛化能力的挑战。我们发现,纹理、形状、颜色等视觉概念天然具备跨域可迁移性,在泛化任务中发挥着关键作用。受这一有趣发现启发,我们学习一个以视觉概念为键、概念提示为值的概念码本,该码本充当图像编码器输出与文本编码器输入之间的桥梁。具体而言,对于给定图像,我们利用该码本识别与类别嵌入关联度最高的概念提示,以执行分类任务。此外,我们引入手工构建的概念缓存作为正则项,以缓解小样本场景下的过拟合问题。我们观察到,这种概念码本学习方法能够增强视觉模态与语言模态之间的对齐效果。大量实验结果表明,在基类到新类泛化、跨数据集评估、域泛化任务等多种评估设置下,我们的CoCoLe方法均显著优于现有最先进方法。详细的消融实验进一步证实了CoCoLe中各组件的有效性。

英文摘要:

In this paper, we propose Conceptual Codebook Learning (CoCoLe), a novel fine-tuning method for vision-language models (VLMs) to address the challenge of improving the generalization capability of VLMs while fine-tuning them on downstream tasks in a few-shot setting. We recognize that visual concepts, such as textures, shapes, and colors are naturally transferable across domains and play a crucial role in generalization tasks. Motivated by this interesting finding, we learn a conceptual codebook consisting of visual concepts as keys and conceptual prompts as values, which serves as a link between the image encoder's outputs and the text encoder's inputs. Specifically, for a given image, we leverage the codebook to identify the most relevant conceptual prompts associated with the class embeddings to perform the classification. Additionally, we incorporate a handcrafted concept cache as a regularization to alleviate the overfitting issues in low-shot scenarios. We observe that this conceptual codebook learning method is able to achieve enhanced alignment between visual and linguistic modalities. Extensive experimental results demonstrate that our CoCoLe method remarkably outperforms the existing state-of-the-art methods across various evaluation settings, including base-to-new generalization, cross-dataset evaluation, and domain generalization tasks. Detailed ablation studies further confirm the efficacy of each component in CoCoLe.

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

↑