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

CLAMP:对比语言模型提示微调

CLAMP: Contrastive LAnguage Model Prompt-tuning

Boston University(波士顿大学);University of Central Florida(中佛罗里达大学)

Piotr Teterwak, Ximeng Sun, Bryan A. Plummer, Kate Saenko, Ser-Nam Lim

AI总结:

本文提出CLAMP方法,用对比式图像-描述匹配目标轻量微调大语言模型,使其在保持生成能力的同时实现图像分类,性能比最先进多模态LLM高13%。

摘要:

大语言模型(LLMs)已成为许多机器学习问题的强大通用接口。近期工作已使用相对少量的指令微调数据将LLMs适配到图像描述、视觉问答和视觉聊天等生成式视觉任务。在本文中,我们探索现代LLMs是否也能被适配用于将图像分类到一组类别中。首先,我们评估了针对生成任务微调的多模态LLMs在零样本图像分类上的表现,发现其性能远低于CLIP等专用模型。随后,我们提出一种使用与CLIP相同的对比式图像-描述匹配目标对LLMs进行轻量微调的方法。我们的结果表明,LLMs在以此方式适配后确实能够取得良好的图像分类性能。我们的方法比最先进的mLLMs高出13%,并略优于使用自定义文本模型的对比学习,同时保留了LLM的生成能力。LLM初始化似乎特别有助于在视觉预训练数据中代表性不足的领域进行分类。

英文摘要:

Large language models (LLMs) have emerged as powerful general-purpose interfaces for many machine learning problems. Recent work has adapted LLMs to generative visual tasks like image captioning, visual question answering, and visual chat, using a relatively small amount of instruction-tuning data. In this paper, we explore whether modern LLMs can also be adapted to classifying an image into a set of categories. First, we evaluate multimodal LLMs that are tuned for generative tasks on zero-shot image classification and find that their performance is far below that of specialized models like CLIP. We then propose an approach for light fine-tuning of LLMs using the same contrastive image-caption matching objective as CLIP. Our results show that LLMs can, indeed, achieve good image classification performance when adapted this way. Our approach beats state-of-the-art mLLMs by 13% and slightly outperforms contrastive learning with a custom text model, while also retaining the LLM's generative abilities. LLM initialization appears to particularly help classification in domains under-represented in the visual pre-training data.

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

↑